Commit Graph

399 Commits

Author SHA1 Message Date
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
johnnyq efb6372190 Fix #210 Password output under client logins 2021-12-10 13:35:48 -05:00
johnnyq f02e94d585 Started adding IP and User agent to audit logs, log when a user logs out, Merged logout into post.php 2021-12-09 16:12:57 -05:00
johnnyq a5a8fbc319 Fix a bunch of PHP Errors regarding various variable issues non existent vars, cleaned up client export documentation and export assets etc 2021-12-09 15:26:21 -05:00
johnnyq d78a24f3a5 Added git ids to the db structure update under updates 2021-12-09 11:15:19 -05:00
johnnyq 610875a3b3 Fix Alter Query Syntax for updating Table structure 2021-12-09 11:11:50 -05:00
johnnyq 16447709d8 added DB Structure changes during update 2021-12-09 11:07:54 -05:00
johnnyq c88e6b851a DB Structure Change - Removed the useless Low Account Balance alert 2021-12-08 22:32:05 -05:00
johnnyq 85cdc42d0f DB Structure update, Hide Passwords under client logins until eyeball is clicked to reveal password, prevent the looking over your shoulder type attack, Added Install Date to Assets, reworked client assets listing to include Operating System and Install Date 2021-12-08 22:15:20 -05:00
johnnyq c8d83ca09c Fixed broken Client Print, added option to export client documentation with and without password 2021-12-04 12:12:14 -05:00
johnnyq c9065e8348 Added Array Tagging to Add Client also added Tag Icon Field 2021-11-24 22:56:55 -05:00
johnnyq ee1230e18a Added Tags CRUD and added to Side Menu 2021-11-24 21:53:21 -05:00
johnnyq f939ca41aa More work on Campaign Mailing List, started adding space in between Currency symbol and number 2021-11-21 12:24:40 -05:00
johnnyq 627edc92b1 Added Update Successful message and auto redirect back 2021-11-20 16:45:50 -05:00
johnnyq 5aa02e346a update will now pull down the latest changes via git next up is schema upgrades between commits 2021-11-20 16:43:03 -05:00
johnnyq 1551ea7c9b Initial work on making the update function functionable 2021-11-20 16:36:55 -05:00
johnnyq 0976a08730 Removed default currency and default country under settings added a company currency to the company table. Now currency default and country default uses company country and currency, updated the currency symbol to use companies currency under dashboard, expenses, profit loss reports 2021-11-19 20:45:57 -05:00
johnnyq 6c80fa177d DB Update, reworked upcoming tagging feature in SQL, Added Province and Postal Code to address labels, changed the field document_details to document_content in SQL 2021-11-08 18:07:36 -05:00
johnnyq 7257664ae2 Allow uploading of .txt files under client files 2021-10-17 15:02:02 -04:00
johnnyq 6c7155f4ac Fixed an issue under edit user where it would update a blank password if none was entered 2021-09-22 10:10:10 -04:00
johnnyq e772f107e7 Fix Client File Link 2021-09-21 23:48:55 -04:00
johnnyq 3a5ba00a52 Fix Add Photo under add location 2021-09-21 23:44:45 -04:00
johnnyq c7edadfd46 Fix Add Photo under add contact 2021-09-21 23:38:15 -04:00
johnnyq a939588cf2 New File upload logic complete Breaking changes New db dump 2021-09-21 22:22:55 -04:00
johnnyq 1d3cf6fd96 Updated to new file upload logic on locations as well this will break location photos 2021-09-20 22:39:37 -04:00
johnnyq 22d3564f04 BREAKING CHANGE New file upload method for contacts to not specify full path in database to reduce the db load and size as well as give better error control 2021-09-20 22:10:57 -04:00
johnnyq 6908bdcd30 Bumped PHPMailer from 6.4.0 to 6.5.1 2021-09-20 18:33:00 -04:00
johnnyq 2e5e1aee52 Phone numbers are all now formatted correctly per their length 2021-09-11 22:41:50 -04:00
root 55a2a7a96a Fixed Synatx error in post 2021-09-10 10:55:38 -04:00
johnnyq b7d0549ede Initial start to mailing list support 2021-09-09 23:15:39 -04:00
johnnyq 2ec79ef014 Did the same as previous commit for edit Quote Invoice Recurring 2021-08-29 22:12:16 -04:00
johnnyq 209bd7da4d Remove Currency Selection from invoice, quote and recurring as this will be determined by your company currency in settings, the payment is what matters as this is where it will be converted 2021-08-29 22:07:46 -04:00
johnnyq 94577379d4 Fixed Edit Client Contact Title it was missing 2021-08-29 14:01:04 -04:00
johnnyq 09c62eb359 Fix delete Invoice Item not updating balance 2021-08-28 19:48:06 -04:00
johnnyq 3b3e6a0166 UI Update on Trip Forms contact forms and location forms also Contact / Location under add /edit contact now add or edit the primary location and contact 2021-08-28 16:07:31 -04:00
johnnyq 735ccc2602 Adding Tickets under client details now shows a selectable contact also when adding a ticket it will automatically choose the primary_contact of the client if none are selected 2021-08-28 12:47:50 -04:00
johnnyq 3a9ea1d67e Fixed Post Redirection on edit and archive in categories 2021-08-28 11:58:29 -04:00
johnnyq 94c0ac2dd1 Removed dead comment code 2021-08-28 11:46:51 -04:00
johnnyq 7031fd4e59 Fix Alert Settings failing to apply 2021-08-28 11:46:15 -04:00
johnnyq 439fc87551 Fix item_tax_id var in force recurring invoice 2021-08-28 01:44:12 -04:00
johnnyq 3cc90e9b42 Fixed Transfer Account 2021-08-28 00:54:07 -04:00
johnnyq 1e8f852f73 Missing $ for var in POST 2021-08-27 23:55:23 -04:00
johnnyq f3053ffbd4 BREAKING CHANGES: Major Backend Code Changes Updated Foreign keys to prepend their table names ex invoice_client_id, switched most queries over to JOIN instead of = Combined contacts and location into client removed client email, phone etc fields, tons of small bug fixes, and other small UI changes all across the board 2021-08-27 23:14:06 -04:00
johnnyq 24fcb04411 Moved Support to colored handshake icon boldered client name and only mark balance red instead of both balance and paid red 2021-08-22 20:31:06 -04:00
johnnyq 9a82ce4c1f More work on IT Documentation 2021-08-21 21:25:11 -04:00
johnnyq 3c322e1f2c Added IT Documentation PDF Export to client 2021-08-21 21:05:28 -04:00
johnnyq 6f33e3379c Updated all Client Data Listings and added CSV Exports to Client Data 2021-08-21 16:37:40 -04:00
johnnyq 13365c70af Added more CSV Exporting initial modification to client data listings UI starting with contacts 2021-08-21 14:30:49 -04:00
johnnyq 1dfa5de130 Redirect to dashboard when switching companies 2021-08-21 01:24:08 -04:00
johnnyq 61710eecf6 Added the Ability to assign a contact from client in tickets 2021-08-21 00:42:06 -04:00
johnnyq 5c46e57a21 Added Edit and delete ticket updates funtionality 2021-08-20 23:10:48 -04:00
johnnyq 11a932194a Added Updatd by User to each ticket update 2021-08-20 22:37:01 -04:00
johnnyq 131e04915b Added the ability to assign or unassign tickets 2021-08-20 22:12:29 -04:00
johnnyq ef7bfd3c90 Introduced Custom Extenal Links on main side Nav DB Structure updated Thanks @aftechno 2021-08-19 12:25:32 -04:00
johnnyq cdcd22ae6f Added TOTP Key 2FA Function to client logins 2021-08-18 22:29:22 -04:00
johnnyq 63c986ab3c Added Support Type option to clients, added date added field in client listing, added client_accessed_at and sorted clients listing by recently accessed by default within client listing 2021-08-10 20:12:58 -04:00
johnnyq 83f2550d81 Got Export to CSV to work in Trips will add some more customizations to it 2021-08-10 15:52:37 -04:00
johnnyq 4f8759162e Added more beginning and ending white space triming to input vars 2021-08-10 15:39:20 -04:00
johnnyq 577fd1a3b4 Removed uneeded Current PasswordHash Variable 2021-08-09 23:37:10 -04:00
johnnyq b8d8a51a3b Added Password Reveal to all password fields, also updated the password update logic 2021-08-09 23:34:34 -04:00
johnnyq 835f3fbe52 Fix Guest URL Key Generation on copied Quotes 2021-05-26 11:21:40 -04:00
johnnyq 9a4b82eb6f Bump PhpMailer from 6.2.0 to 6.4.0 2021-04-07 20:55:07 -04:00
johnny@pittpc.com a122f97b99 Initial Work on Calendar Event Repeat 2021-03-27 16:50:30 -04:00
johnny@pittpc.com 95bdc2fbd9 Added Currency Selection to Add Currency and Edit 2021-02-27 14:21:59 -05:00
johnny@pittpc.com 8f6e24b7d6 Restored Accidentally Deleted Create Recurring from Invoice Code 2021-02-27 13:53:49 -05:00
johnny@pittpc.com d98a2e2dcb Fixed Add Account Notes and fixed misspelling currency code in DB 2021-02-27 13:37:12 -05:00
johnny@pittpc.com d120fc6efd Fixed Add currency not injecting currency code due to var naming 2021-02-27 13:28:33 -05:00
johnny@pittpc.com c3fa57e3a3 Removed unnessary query from force send recurring plus add invoice prefix to force send email 2021-02-27 13:21:09 -05:00
johnny@pittpc.com afe3e4a82b Fixed add recurring causing it convert POST VAR from to string to INT 2021-02-27 13:09:57 -05:00
johnny@pittpc.com 6a1021bb75 Fix Invoice Prefix not beign applied to alert 2021-02-18 12:49:17 -05:00
johnny@pittpc.com 234442e458 Moved pdfmake js directly into invoice and quote to avoid the multiple windows and multi queries 2021-02-15 22:52:49 -05:00
johnny@pittpc.com 1ef8925774 Set Currency Code on Transfers as well and set currency code as not null field 2021-02-14 18:26:52 -05:00
johnny@pittpc.com 6f46f2ec87 More Currency Code Updates, would like to do conversions and add currency icons at a later date also set default country so it doesnt have to be selected each time 2021-02-14 18:06:32 -05:00
johnny@pittpc.com e71b851dd7 Reworded PDF to just Download added balance on PDF Invoice 2021-02-12 15:03:17 -05:00
johnny@pittpc.com 81f07a5eff Switched from mPDF to pdfmake, Updated pdfmake, still need to port over the guest pdf and quote 2021-02-10 23:26:40 -05:00
johnny@pittpc.com 66f9e2b10f Removed Records per page as a setting and added it as session variable define at 10 by default when logged in DB Structure Updated 2021-02-10 13:40:28 -05:00
johnny@pittpc.com 6ff973e7d9 Bump PHPMailer from 6.1.4 to 6.2.0 2021-02-10 11:26:46 -05:00
johnny@pittpc.com 530d46a812 Added selectable num of records on each listing page, fixed up Pagination Records UI, added new stripe library, further worked on stripe integration, fixed mispelling in client details 2021-02-10 11:21:38 -05:00
johnny@pittpc.com 5e2c016633 Added a test Email Functionality Section under settings - General - Mail 2021-02-08 22:02:01 -05:00
johnny@pittpc.com fa008d05bc Finished Ticket Number and Ticket Prefix 2021-02-08 21:29:29 -05:00
johnny@pittpc.com 5f1592e9a5 After Creating Recurring Invoice Direct to Recurring Details 2021-02-08 20:17:39 -05:00
johnny@pittpc.com 59a5d3a44f Added Recurring Auto Increment Number and Prefix DB Structure Updated 2021-02-08 20:01:08 -05:00
johnny@pittpc.com 7d9352c63d Added Invoice and Quote Prefix field to fix sorting issues 2021-02-08 16:57:29 -05:00
johnny@pittpc.com 4a291486ce Combined edit invoice, quote and recurring item into 1 edit item 2021-02-08 13:11:56 -05:00
johnny@pittpc.com 1ad28386f8 Fixed editing user profile 2021-02-07 22:38:24 -05:00
johnny@pittpc.com 639661b2fe Fixed add user not adding a user due to an unused db field 2021-02-07 22:13:30 -05:00
johnny@pittpc.com d24df2f2db Add Archive to Contacts hiding archived dropdowns in client area 2021-02-07 14:44:00 -05:00
johnny@pittpc.com 71a183993b Fix alert settings switch buttons not working 2021-02-06 19:42:45 -05:00
johnny@pittpc.com b46881299d Phase 2 - Non Destructive Deletion - Removed Delete and replaced with Archive on certain entities, post and buttons done Pending Listing 2021-02-06 17:18:02 -05:00
johnny@pittpc.com 7d2cf8ce89 Added Tax to products section Updated DB structure 2021-02-06 01:52:38 -05:00
johnny@pittpc.com d90c7e4664 Reworked Accept and Declining quote with improved logic including invoiced status 2021-02-06 01:16:59 -05:00
johnny@pittpc.com 632714cd17 Added Tax ID to each line item, also if tax % changes the new recurring will automatically get updated and sent with the right tax rate DB Structure updated 2021-02-06 00:18:37 -05:00
johnny@pittpc.com 71d5ce1c10 Updated UI on setup, fixed logo upload with add copany, better wording during setup 2021-02-05 14:17:18 -05:00
johnny@pittpc.com 6d23b87f7c Moved Company info out of settings and into the companies table, updated pdf, invoice, quotes, guest view, post, setup 2021-02-04 21:54:50 -05:00
johnny@pittpc.com f8166bdc81 Fixed more php errors empty vars updated more ui search headers 2021-02-04 17:42:21 -05:00
johnny@pittpc.com ca8405f39d Organized Config Vars, fixed missing vars in alerts, switch from int to tinyint in settings table as this is much more efficient to parse 2021-02-04 12:42:39 -05:00
johnny@pittpc.com 9d095611fb Renamed table field trip_starting_location to just trip_source added export trips as CSV in POST, new DB Dump 2021-02-02 19:11:05 -05:00
johnny@pittpc.com bb46c93790 Added Company Select Option on top of side Nav Added Client ACL Modal in users, hide side bar elements based off user permission level, if IT Contract level list only clients in users Client ACL 2021-02-02 17:09:31 -05:00
johnny@pittpc.com 88933e09f7 Rework Company user relationships initial work started on user permissions 2021-01-29 21:28:12 -05:00
johnny@pittpc.com f2ce7a9d8d Add check on edit user to see if User directory is created before Avatar upload 2021-01-29 10:35:18 -05:00
johnny@pittpc.com ddbf746995 Fixed misspelling on var 2021-01-27 15:34:17 -05:00
johnny@pittpc.com 87e54dab99 Updated Phone number POST logic eliminated some extra code and checks that were not needed 2021-01-27 15:30:51 -05:00
johnny@pittpc.com eb7d27aa4d Added domain to certificates DB Structure Updated 2021-01-27 14:22:12 -05:00
johnny@pittpc.com 6aebe260f5 Changed notes to documents DB Structure updated 2021-01-26 19:16:51 -05:00
johnny@pittpc.com 4fec4dd36b Added SSL Certicicate Documentation to Client Documentation Updated DB as well 2021-01-26 16:20:09 -05:00
johnny@pittpc.com 206c09d100 Added Ticket Status badge colors 2021-01-22 18:30:11 -05:00
johnny@pittpc.com d30481d506 Added Ticket Priority, field ticket_priority added to ticket table, New DB Sructure Dump 2021-01-22 18:06:42 -05:00
johnny@pittpc.com 9f5069e289 Added missing edit recurring invoice modal 2021-01-22 17:26:40 -05:00
johnny@pittpc.com 380d3376d1 Added Scope to recurring invoices 2021-01-22 14:21:25 -05:00
johnny@pittpc.com 2b1baa99c0 Added Quote Scope capabilities 2021-01-22 13:55:56 -05:00
johnny@pittpc.com 413d67e409 Added Invoice Scope capabilities for a quick invoice description 2021-01-22 13:28:12 -05:00
johnny@pittpc.com 60600c7861 Show Client Phone extension and mobile if applicable on invoice/quotes/recurring 2021-01-15 20:38:38 -05:00
johnny@pittpc.com 9aa978c920 Move records per page as a config option per company DB Structure has updated 2021-01-15 20:10:53 -05:00
johnny@pittpc.com ad979ac8fd Added Referral as a category option, removed Hours and Client Size undr client, rerranged client add and edit New DB Dump 2021-01-15 19:03:07 -05:00
johnny@pittpc.com 74efc339ef Fixed HTML Data input on tickets 2021-01-15 16:39:25 -05:00
johnny@pittpc.com 76b9aef9ab Added the new tax feature to quotes and recurring invoices as well as edit item 2021-01-15 15:41:47 -05:00
johnny@pittpc.com c58925f4ff Change up the tax calculation formula to get amount using percent 2021-01-15 15:28:21 -05:00
johnny@pittpc.com a2848fad09 Added seperate tax section and added the ability add taxes to invoice this update requires a new table called taxes see the db.sql file for the structure More to come 2021-01-15 15:07:27 -05:00
Johnny d169fcc357 Updated wording for Add Payment in Invoices as well as update the history log for adding payments 2020-12-09 21:25:39 -05:00
Johnny 7c9df20097 Removed Login category from post, edit and add 2020-11-24 23:13:22 -05:00
johnny@pittpc.com 8a0efb5e72 Add/edit Client Modal Moved Country to the bottom. Moved Website to More tab, Removed Duplicate Phone under details. Do not automatically add Contact and location 2020-10-30 20:30:56 -04:00
johnny@pittpc.com 79c74d39d0 Merged Invoice and Quotes Settings into one 2020-09-25 16:54:22 -04:00
johnny@pittpc.com 0255e400ed Moved Company Logo from General to Company settings Tab 2020-09-25 16:45:55 -04:00
johnny@pittpc.com 1ee9fb427c Removed search and company select from sidebar, removed unused plugins 2020-08-29 20:18:35 -04:00
johnny@pittpc.com a14ec04d5a Initial work on switching companies, added error if not able to connect to database 2020-04-04 20:55:06 -04:00
johnny@pittpc.com 1b337fe72e Fixed add user and edit as well as update user, which were not working. Added autocomplete=new-password to add/edit user and update password 2020-03-31 14:32:57 -04:00
johnny@pittpc.com 95b54d5bcf Fixed update password under user profile, added delete user functionality 2020-03-30 20:41:18 -04:00