Commit Graph

525 Commits

Author SHA1 Message Date
johnnyq 165bd572a9 DB Update added contact_id to files, documents and logins Added Related Items Modal to Client Contacts still more work to do 2022-03-04 00:24:58 -05:00
johnnyq ecb628cad8 Fix Add Software 2022-03-03 23:28:16 -05:00
Marcus Hill bf909a71f8 Fix HTML Purifier removing images 2022-03-02 20:23:19 +00:00
johnnyq dec7f9be67 When Deleting software delete the relations asset licneses and user licneses. Fix post issue on adding software with defined asset or user licenses 2022-03-02 12:13:54 -05:00
Marcus Hill 8fcb854e91 Storing the secret in plaintext so we can use it during cron eventually 2022-02-26 21:59:01 +00:00
Marcus Hill e4dc22a0ce Add functionality to pull/sync assets & info from MeshCentral 2022-02-26 21:51:37 +00:00
johnnyq 79afb05298 Merge branch 'master' of github.com:johnnyq/itflow 2022-02-26 11:16:57 -05:00
johnnyq 112efbc314 DB Update tip_user_id added to the trips tables. Updated Trips to include the driver. WIP limit users to the session_company 2022-02-26 11:16:33 -05:00
Marcus Hill 0fac1f3039 Move ajax logic to ajax.php 2022-02-26 11:16:53 +00:00
Johnny 3bd79635ec
Merge pull request #376 from wrongecho/cert-parse
SSL Parse - escape issued_by
2022-02-24 15:42:58 -05:00
Marcus Hill 9837549fac Escape certificate issuer when parsed from public key, values like [Let's Encrypt] break it otherwise 2022-02-24 20:27:03 +00:00
Marcus Hill ee2d9e1b08 Dynamically load certificate edit modal with ajax, fix certificate details fetch error 2022-02-24 16:03:00 +00:00
johnnyq 3b615d2f3a UI updates mainly icon swaps etc 2022-02-22 14:41:48 -05:00
johnnyq a724807782 DB Structure Update - Added Extension to contact on export PDF, finished contact departments 2022-02-22 13:14:17 -05:00
johnnyq 1ed20217d1 Added Department name on client PDF Export and contact CSV export 2022-02-22 11:42:08 -05:00
johnnyq 7af0c11720 Updated Email template footers to include department and Email for Ticket replies, Invoices, Payment Receipts, Quotes, etc 2022-02-21 23:42:58 -05:00
johnnyq 315bfd55d7 Added notification_dismissed_by 2022-02-21 21:23:32 -05:00
johnnyq 05e7b160b1 DB Structure Update table name alerts is now notifications also update the fields accordingly to the notifications table - Reworked Notifications a bit 2022-02-21 21:21:13 -05:00
johnnyq e6167ffaa3 Merged table Document and Document Template and just added a new field to differentiate, can save a document as a template now more to come, also added folder selection not quite ready yet 2022-02-20 17:02:48 -05:00
Marcus Hill 36a24f5603 Add file & login sharing functionality & ip/ua view tracking 2022-02-20 17:16:28 +00:00
Johnny 7a7d165aba
Merge pull request #364 from wrongecho/sharing
Add document sharing via link
2022-02-19 16:36:06 -05:00
johnnyq 06cde1a119 Cleaned up the new JS edit Modal sperating Javascript vars with camelCase and php var with seperate_words 2022-02-19 16:17:07 -05:00
Marcus Hill 6f6f5a0217 Add document sharing via link #315 2022-02-19 20:02:14 +00:00
Johnny af4e09f534
Merge pull request #363 from wrongecho/services-certs
Add functionality to link certificates to services
2022-02-18 18:00:18 -05:00
johnnyq e00d4f693f Finished Adding Assigning Licenses to Device or Users under software 2022-02-18 17:58:11 -05:00
johnnyq f95a228141 Updated DB Structure, Added Seperate From Name and From Email to Invoices / Quotes and Tickets, seperated Quote and Invoice to their own settings pane 2022-02-18 15:26:16 -05:00
johnnyq 16968e0b97 Added Locale option for company, this works in conjunction with the way the currency is displayed 2022-02-18 11:14:14 -05:00
Marcus Hill ccb4aa3c22 Add functionality to link certificates to services 2022-02-18 08:35:32 +00:00
johnnyq ab973457b9 Added Seats Expire and Purchase dates to Software 2022-02-18 01:09:16 -05:00
johnnyq 0aec371ccd Add Software Licnee Version and License Type as well as the beginnings to assign licneses to devices and or users 2022-02-18 00:27:00 -05:00
johnnyq a9346845ab Refactored Currency Display using PHP numfmt_format_currency() function as this is best practice and will put the right currency symbol in the right place based off locale and currency type 2022-02-17 22:20:59 -05:00
johnnyq f2f9f22545 Started using new php function for Currency formatting as this is best preactice, removed Client Access and removed certian user roles 2022-02-17 17:41:30 -05:00
johnnyq 626a8f8205 Seperate Assets in client documentation, also fixed width issue on client vendors when pagination is was active 2022-02-15 14:12:47 -05:00
johnnyq b3ebb21989 Do not show table fields and header if data doesnt exist, also removed the client footer on export Client IT Documentaiton 2022-02-15 12:59:57 -05:00
johnnyq 0dec751f67 Fix Export Client Documentation via PDF 2022-02-14 09:29:30 -05:00
Marcus Hill 6860a87c59 Move network edit modal data processing to AJAX 2022-02-13 18:15:51 +00:00
johnnyq e9b239f9a9 Bump AdminLTE from 3.1 to 3.2, Bump plugins Summernote, phpMailer, clipboardjs, bootstrap, fontawesome-free, fullcalendar, inputmask, JQuery, moment, pdfmake, and more. Removed Unnessesary files from from plugins directories to reduce app size 2022-02-07 19:20:56 -05:00
johnnyq 94faa6934a Merge branch 'master' of github.com:johnnyq/itflow 2022-02-05 18:55:51 -05:00
johnnyq 56f0f7d08e More Audit Loggings 2022-02-05 18:55:20 -05:00
Johnny 4068d604f4
Merge pull request #347 from wrongecho/html-purifier
Filter dangerous html tags out of ticket & documents using HTML Purifier
2022-02-05 18:54:01 -05:00
Marcus Hill 4f68073223 Implement html purifier for tickets & documents 2022-02-05 22:18:53 +00:00
johnnyq 5dd576fe20 Removed Legacy AES Password conversion and old AES key from database 2022-02-05 16:41:21 -05:00
johnnyq c8600033f5 opp forgot switch companies start page 2022-02-05 13:45:15 -05:00
Marcus Hill 7b23c04d78 Add functionality to edit scheduled tickets. Small other fixes 2022-02-05 12:59:07 +00:00
johnnyq 6dda8ce0d6 Added Duplicate checking support for import assets 2022-02-04 18:05:19 -05:00
johnnyq 6e9f2534d4 Renamed contact display field on client assets to Assigned To to match export and import assets 2022-02-04 17:38:53 -05:00
johnnyq 75117c2f2e You can now import contact and locaiton of assets as long as the name appears in locaitons or contacts 2022-02-04 17:36:05 -05:00
johnnyq b1d09e6b56 Removed old API Key from Settings api.php now uses api_keys and a key is no longer generated upon setup, Also autogen an API key upon creation. 2022-02-04 15:59:51 -05:00
johnnyq b58696f079 Added API List, Create, Update Delete Interface 2022-02-03 19:12:10 -05:00
johnnyq 4074b62d59 Merge branch 'master' of github.com:johnnyq/itflow 2022-02-01 16:17:57 -05:00
johnnyq 1d4d3be434 Start working on HTMLPurfier for WYSIWYG Input 2022-02-01 16:17:30 -05:00
Marcus Hill 3bac0188e6 Add backup note to services module 2022-01-31 20:24:47 +00:00
Johnny 980f4137fa
Merge pull request #329 from wrongecho/ticket-email
Send email to client on public ticket update
2022-01-29 10:15:58 -05:00
Marcus Hill d84ec0519e Add functionality to allow associating a domain to a certificate 2022-01-29 13:53:54 +00:00
Marcus Hill 149002e7ea Send email to client on public ticket update 2022-01-29 13:28:01 +00:00
Johnny c3b7f28057
Merge pull request #326 from wrongecho/services
Services
2022-01-28 20:40:18 -05:00
johnnyq dd9fcd57d2 Fix guest invoice caused issues with the alert Query on certain client names, will need reworking and testing in other areas of the code as well 2022-01-28 20:38:48 -05:00
Marcus Hill 1db6582a4e Add logging 2022-01-28 22:34:27 +00:00
Marcus Hill f92dc13311 Add service edit functionality 2022-01-28 22:20:40 +00:00
Marcus Hill 780e8354c7 Better handling of empty linked assets 2022-01-28 22:10:34 +00:00
Marcus Hill e509cc5719 Add functionality to delete service 2022-01-27 22:21:58 +00:00
Marcus Hill 301e6d94cd Add service logic. Removing URLs for now 2022-01-27 21:48:26 +00:00
johnnyq 21a0feb625 Removed circle from edit location and client photo, fixed location phone number not saving when you add a client 2022-01-25 15:28:57 -05:00
johnnyq 5170a221c2 Now you can assign contacts to locations 2022-01-25 13:39:48 -05:00
johnnyq b34f602639 Added Location Column to client networks, more work on Campaigns 2022-01-25 13:22:26 -05:00
johnnyq ba75378f9b Finished Campaign Test Email and some other fixups 2022-01-24 22:07:50 -05:00
johnnyq 039e374cd6 Partial Mailling list campaign tracker currently tracks opens using a 1x1 image, some more UI work to campaigns etc 2022-01-24 18:27:12 -05:00
johnnyq fd77569bf1 Added more placeholder headers to mailing list, added modal for edit mail campaign, added status colors and status buttons 2022-01-23 01:08:19 -05:00
johnnyq 2fc80d9b78 More work on Mass Mailing List, almost complete 2022-01-22 23:52:15 -05:00
johnnyq ee8739c763 Added Custom Export Modal to trips 2022-01-22 18:08:21 -05:00
Johnny 73d9f461af
Merge pull request #319 from wrongecho/scheduled-tickets
Add functionality to delete scheduled tickets
2022-01-22 16:46:09 -05:00
johnnyq a3c63b0649 Added Export Expenses Records with custom from and to Date, Fixed Advanced Search under expenses some other minor code formatting fixups 2022-01-22 14:37:45 -05:00
Marcus Hill aaa8682d00 Add functionality to delete scheduled tickets 2022-01-22 18:52:00 +00:00
johnnyq e277289ed6 Added Assets Sample Template Download Link on import assets and cleaned up import assets 2022-01-21 12:40:44 -05:00
Marcus Hill 4c2b91155d Add support to link asset to ticket at creation, if on client ticket page 2022-01-20 21:23:04 +00:00
Johnny f77df06004
Merge pull request #299 from wrongecho/ssl
Fetch SSL data/cert on add/update modal
2022-01-18 15:29:58 -05:00
Marcus Hill 4eed8be0aa Add fetch button to retrieve certifiate from domain provided #289 2022-01-18 20:04:00 +00:00
Marcus Hill e9a6fa4436 Redirect back to main quote/invoice page after emailing a quote / invoice. #275 2022-01-17 20:17:38 +00:00
johnnyq 43791435bc Fix Edit Asset Password was not using the new encrypt method causing the password to blank out fixes #294 2022-01-17 11:32:04 -05:00
johnnyq 0d306e961e Changed product cost to product price as it makes more sense, some cleanup on the new product auto complete feature, added JQueryUI as a local asset instead of a remote asset 2022-01-16 15:29:52 -05:00
Marcus Hill 24b5ffa09c Rem debugging 2022-01-15 23:19:09 +00:00
Marcus Hill c69fb5a7db Add ability to turn on extension access (cookie) 2022-01-15 23:16:17 +00:00
Marcus Hill 2b3a7171b3 Session management 2022-01-15 21:26:22 +00:00
johnnyq 7b6598a63a Updated the old default_currency code VAR to the new session company currency code VAR this was causig currency codes to be empty in many areas 2022-01-14 15:24:47 -05:00
johnnyq f8e9c2ee5d replicated currency symbol across email communication, updated currency code to reflect the current invoice and or quote's currency code instead of the clients currency code 2022-01-14 14:58:27 -05:00
Marcus Hill 6d20a518b7 Add client currency to invoice email 2022-01-14 16:33:09 +00:00
Marcus Hill 7823c02bf3 Add client currency to quote email 2022-01-14 16:29:41 +00:00
johnnyq 8b90286bad Finished adding event description 2022-01-13 15:52:58 -05:00
johnnyq d02a121dfa Updated New Client form with location phone number, renamed address tab to location, moved website from contact tab to Details tab, along with other UI cleanup 2022-01-13 15:47:13 -05:00
Marcus Hill 4897c46cd5 Add merge ticket functionality 2022-01-12 19:01:17 +00:00
Marcus Hill e45202d133 Redirect user to tickets main page post deletion, rather than to a random ticket. 2022-01-12 15:37:33 +00:00
Marcus Hill 2a4d42de09 Encryption changes 2022-01-11 20:42:46 +00:00
Marcus Hill fccae5dedb Typo in user id variable 2022-01-11 19:22:06 +00:00
Marcus Hill 82107679cc More. 2022-01-11 19:16:49 +00:00
Marcus Hill 8e0334aab1 More encryption updates 2022-01-11 19:03:33 +00:00
Marcus Hill 6c6b7e2255 Correct password reset 2022-01-11 18:40:08 +00:00
Marcus Hill c66f96ae1d More encryption related changes 2022-01-11 18:28:55 +00:00
Marcus Hill d3d39ca8ad r 2022-01-11 18:22:45 +00:00
Marcus Hill 951b03f712 Allow for encryption scheme upgrade 2022-01-11 14:03:34 +00:00
Marcus Hill 51edb7a648 Allow backing up master key 2022-01-11 00:13:18 +00:00
Marcus Hill aac50bdfdb More changes re encryption 2022-01-10 22:55:08 +00:00
Marcus Hill 49d895040a Add per-user password encryption using master key 2022-01-10 22:07:26 +00:00
Marcus Hill 33d76f556b Check file is CSV when importing assets 2022-01-09 15:34:28 +00:00
Marcus Hill 7a5f8b425f Delete tag associations for document when it is deleted 2022-01-09 14:47:34 +00:00
Marcus Hill cc52295698 Add note when ticket is closed (to easily show who closed it) 2022-01-08 21:08:21 +00:00
Marcus Hill a83f3377bd Include time worked db field. 2022-01-08 16:47:17 +00:00
Marcus Hill c98be4c344 Add support for public/internal updates, using the existing 'email update to client' checkbox 2022-01-08 16:40:04 +00:00
Marcus Hill 8406779b3b Add time tracking to ticket 2022-01-08 16:12:04 +00:00
johnnyq 5d1848694d Moved import CSV logging out of the loop I accidentally moved it there while fixing a merge conflict, Add more to the logging and some basic code ordering 2022-01-07 22:41:16 -05:00
Johnny 04ad831053
Merge pull request #254 from wrongecho/scheduled-tickets
Scheduled tickets
2022-01-07 22:03:52 -05:00
Marcus Hill de152c84ca Add scheduled ticket functionality to cron 2022-01-07 23:56:22 +00:00
johnnyq ee5ae53a41 Updated ticket details layout and added some additional functionality thanks to @aftechro 2022-01-07 18:20:16 -05:00
Marcus Hill d83c5f4176 Add frontend/backend for adding scheduled new tickets 2022-01-07 22:32:23 +00:00
johnnyq 3de0ef51ec Small fix when I tryed to resolve a merge conflict 2022-01-07 14:47:47 -05:00
Johnny 00a7fdb6f7
Merge pull request #252 from wrongecho/files
File uploads
2022-01-07 14:39:41 -05:00
Johnny 96510364e2
Merge branch 'master' into asset-csv 2022-01-07 14:38:04 -05:00
johnnyq adf1dbe76e Cleanups 2022-01-07 14:25:35 -05:00
Marcus Hill d0483f2472 Allow csv file upload 2022-01-07 18:36:55 +00:00
Marcus Hill c5e976d995 Add index.php files to upload directories to prevent file traversal 2022-01-07 18:35:23 +00:00
Marcus Hill 3eff9e3d48 Add count to asset import via csv 2022-01-07 16:01:30 +00:00
Marcus Hill 5dc9eb4d1d Add basic asset import functionality 2022-01-07 00:58:38 +00:00
Marcus Hill d37dd77637 Update ticket status in database after a ticket reply. 2022-01-06 22:59:23 +00:00
Marcus Hill 77d7e7ba0d Add tag functionality to documents 2022-01-05 21:58:10 +00:00
Marcus Hill f6900ae993 Allow linking of asset to a ticket via edit modal 2022-01-04 20:22:27 +00:00
Marcus Hill ae98902a96 Add support for storing client certificate public key 2022-01-04 03:32:50 +00:00
johnnyq de883f9ff5 Fixed Add Recurring and Edit Recurring Invoices going to a blank screen after submit this was due to a missing history_status var, Removed Activate and Deactivate from recurring list and the buttons from recurring details as this can be modified using edit recurring, Removed Redundant Force Send action on recurring list views, this can be accessed by going to the recurring details. 2022-01-02 13:39:25 -05:00
johnnyq 5ecac729a8 Fixed add ticket logging 2022-01-02 01:43:44 -05:00
johnnyq 466b7a51e4 removed logging client id key for global vendor 2022-01-02 00:58:50 -05:00
johnnyq b2cef73dad Removed Old Logging function under edit vendor 2022-01-02 00:56:28 -05:00
johnnyq ebb37c0f06 Fix Spelling mistake 2022-01-02 00:28:38 -05:00
johnnyq cf3c0a6410 Fixed a vulnerability in the setup.php file and other code cleanups. Thanks to the person that wishes to remain anonymous for reporting and providing a patch Also added a notice to readme to not use this web app during beta for production use 2022-01-01 17:02:31 -05:00
johnnyq a70105e731 Started Adding Detailed Assets more alert and audit logging work 2022-01-01 15:26:31 -05:00
johnnyq ff0ce6077a Removed Redundant Contact and location under edit client. 2021-12-31 16:24:28 -05:00
johnnyq e978cd142e More Audit Logging work, fixed a bunch of small bugs along the way 2021-12-31 15:33:41 -05:00
johnnyq cd7ecc9593 More Audit Logging and alerts cleanup 2021-12-28 22:13:53 -05:00
johnnyq 119e491865 Added Refferal Datasets on new company 2021-12-28 20:54:17 -05:00
johnnyq 05702c4a1b More Audit logging fixes and added proper permissions and added common datasets when a company is added 2021-12-28 18:53:48 -05:00
johnnyq 33400894d5 Updates and Fixings to Audit Logs, added client tag selection for mass email campaigns 2021-12-28 18:16:54 -05:00
johnnyq c04353f284 Added not bull on db structure update for tag_type 2021-12-27 12:14:56 -05:00
johnnyq 484d4fff82 Added Tag Type to allow expansion of tagging support for other entities in the future 2021-12-27 12:06:37 -05:00
johnnyq d23d455cd9 DB update The long awaited Client Tag support is finally complete along with icon support and color badges this has replaced the user maintenance field to allow further customization, fixed tickets as it was using the old permission system. 2021-12-27 11:42:13 -05:00
johnnyq 25b5cb3d40 Moved Functions above check login so that check login can use some of the functions, Moved Fingerprinting to check login instead of in functions as its a more appropriate place 2021-12-22 17:24:54 -05:00
johnnyq 610eeca0a1 DB Update More work on client tags 2021-12-22 14:34:45 -05:00
johnnyq 40c3587789 Remove Outdated DB Changes upon update as ITFlow requires a full reinstallation as of 12-22-2021 will add more as code changes 2021-12-22 14:10:52 -05:00
johnnyq ba584a57e0 BREAKING CHANGES - Many DB Updates - NOT POSSIBLE TO EASILY UPGRADE TO THIS - Completely reworked User Company Access Permssions, started working on Client Role so Clients can access their data and a bunch of other small fixes 2021-12-22 13:08:24 -05:00
johnnyq 4604280efe This Update will break your login as we updated the password hash from MD5 to a salted hash using hash_password and password_verify techniques, fixed an unauthenticated persistent XSS Vulnerbility which would affect if someone spoofed their IP with a javascript code and then a logged in read the logs. The flaw was discovered by @bambilol #214 also fixed some other bugs. 2021-12-13 12:21:55 -05:00
johnnyq cf0946439e Broked it now fixed it 2021-12-12 16:16:58 -05:00
johnnyq 17833fb6dd More Code Fixups and blips to resolve continuing to comb through the code 2021-12-12 16:09:51 -05:00
johnnyq b3b1a44228 Forgot the SQL Connection 2021-12-12 01:27:35 -05:00
johnnyq 9e9bb50db0 Fixed a SQL injection could only work if you had a login thanks disclosure5 for pointing this out from reddit/r/msp 2021-12-12 01:22:39 -05:00