Commit Graph

338 Commits

Author SHA1 Message Date
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