Commit Graph

40 Commits

Author SHA1 Message Date
johnnyq 6f0017d90b Dedup More Pagination code you now only have to define Sortby column and its order, also fixed issue when searching by date it would close on the first query 2023-02-24 20:22:57 -05:00
johnnyq f7552cd25a Finished up santizeInput Conv and UI updates 2023-02-23 16:09:37 -05:00
Marcus Hill 5bb4296f14 Adjust core files to 4 spaces 2023-02-12 14:40:10 +00:00
Marcus Hill 615f317d2b General cleanup/formatting 2023-02-09 12:29:12 +00:00
Marcus Hill f92dc108e2 Tidy
- Move some scripts to their own js files
- Move some duplicate code blocks to functions
- General tidy & spacing cleanups (#538)
2023-02-04 22:09:56 +00:00
Marcus Hill f482809b2a Re-word deprecated notice, add to the new company modal 2023-01-31 11:28:36 +00:00
Marcus Hill bd1ac7708c Adjust setting related pages to require inc_all_settings rather than include 2023-01-23 21:31:54 +00:00
Marcus Hill 2c3ebb3bbb Tidy codestyle - spaces between parenthesis and curly braces 2023-01-21 17:09:39 +00:00
Marcus Hill 5460825ece Replace stripslashes with strip_tags 2023-01-02 14:44:46 +00:00
Marcus Hill 93cb97f630 Add deprecated notice to companies module and associated functionality (#532) 2022-12-29 21:41:53 +00:00
johnnyq 2a16b6d2ae Remove some tags there and here some more output formatting all thanks to the great security researcher @indevi0us for pointing these out to us. 2022-12-21 21:31:51 -05:00
johnnyq b6e540825f Format output for the proper code syntax, this should fix many various issues with output formatting and page breakage 2022-12-02 19:58:21 -05:00
johnnyq e5a4451bb9 Update settings File naming consistancy to match the rest of ITFlow naming 2022-09-21 12:30:04 -04:00
Marcus Hill 61777116a9 CSRF Token
Upon login, issue the user a CSRF token (in their session). This token should be provided when completing sensitive actions (e.g. deleting companies/clients, changing their password, etc.)

Ref: https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#synchronizer-token-pattern
2022-05-01 18:43:53 +01:00
Marcus Hill b4f2fdd03d Code deduplication/tidying
- Move default pagination/sort/search query variable mapping to pagination_head.php
- Remove user_logs.php
2022-04-14 19:49:18 +01:00
johnnyq 71b7f60aeb Reworked Admin Settings Menu, moved items to their own side nav and removed settings from the main side nav and moved it to the user drop down on the top nav 2022-02-22 01:26:15 -05:00
johnnyq 1829c7299e Made the php includes much more modular and simpler by lumping them all in 1 file inc_all.php instead of all over the place 2022-02-22 00:29:39 -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
johnnyq 278b243e7c Finished File Entity Renaming process 2022-02-05 13:24:57 -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 a939588cf2 New File upload logic complete Breaking changes New db dump 2021-09-21 22:22:55 -04:00
johnnyq 2e5e1aee52 Phone numbers are all now formatted correctly per their length 2021-09-11 22:41:50 -04:00
johnnyq ffc6ce00ca Deletes and Archivs are now red text 2021-08-11 17:45:11 -04:00
johnny@pittpc.com 6a1021bb75 Fix Invoice Prefix not beign applied to alert 2021-02-18 12:49:17 -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 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 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 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 1ede4bc795 Shrunk the card header down to a more reasonable size which made a big difference the card header are not so over bearing 2021-02-06 02:35:58 -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 4324391e83 Removed Delete button from edit modals 2021-01-25 23:25:04 -05:00
johnny@pittpc.com 7b4618c16f Number of Records per page is now configurable 2021-01-15 19:51:40 -05:00
johnny@pittpc.com 1c98e61cf8 Added initial country support for Canada 2020-03-30 20:01:59 -04:00
johnny@pittpc.com 341f1c37a2 updated initial sorting order for some lists 2019-11-29 14:08:32 -05:00
johnny@pittpc.com 3439058053 Added more values to company edit and add 2019-09-14 23:34:11 -04:00
johnny@pittpc.com 7f3cdd975f Added a no records placeholder to all tables 2019-09-01 21:49:13 -04:00
johnny@pittpc.com 9050f4b03a More Security fixes escaping search and sortby GET vars 2019-08-31 15:38:16 -04:00
root b2746ddfa5 Another Fix setup where user_companies was not creating a record due to user_id being out of the loop 2019-08-16 00:12:47 -04:00
johnny@pittpc.com 5ca8d201b0 Remove some old files, updated guest urls to work with the new multi company features, and some other multi company update 2019-08-15 18:29:28 -04:00