Commit Graph

175 Commits

Author SHA1 Message Date
chanda chewe 44d84d2273 Added Missing Currencies 2023-08-24 09:25:49 +02:00
chanda chewe f2a5963d84 Added Missing Currencies 2023-08-24 09:24:46 +02:00
chanda chewe 606307d255 Added Missing Currencies 2023-08-24 09:23:39 +02:00
johnnyq bd9b5bdc2f Hopefully fixed an issue during initial setup after entering DB credentials and writing the config.php files. This was possible due to a rac condition where intially ITflow install checks to see if it can write config.php to currect directory by actually writing a config.php file then deleting it. This could sometimes interfere with the creation of the config.php file in the next step 2023-07-17 14:33:43 -04:00
johnnyq 6ccbe67b59 Fix some formatting and additonal white space before contact name in Ticket Details 2023-06-22 10:57:14 -04:00
johnnyq c1ff4f6855 Add link to Telemetry Information to our docs page on the telemetry settings section of ITFlow 2023-06-06 12:21:22 -04:00
johnnyq 48a660094c Updated setup to wotk with the automatically generated cron key used in the itflow install script 2023-06-03 20:13:17 -04:00
johnnyq 37fb696e63 Replace the remaining php files with nullable_htmlentites() 2023-05-11 18:27:48 -04:00
johnnyq c5c4813f47 Update Links referencing the new documentation URLs 2023-04-28 19:53:23 -04:00
johnnyq 6a92b132bf Missing } 2023-03-11 19:15:53 -05:00
johnnyq 6a435157c1 Another try to make sure config.php is written before going further 2023-03-11 19:11:34 -05:00
johnnyq 709516853a Remove company_id fields in Setup no longer used also rework writing the config file 2023-03-11 18:50:18 -05:00
johnnyq 8308b47295 Fix missing user_id var in Setup, removed sleep(2) as it did not fix the issues where config.php was not written instead used an if condition to check to see if config.php is written before going further 2023-03-11 18:35:15 -05:00
johnnyq e2f2960830 Fix regression that caused company setup to break because of a no longer used DB table, also attempt to check if config.php exists before moving onto the user step as sometimes during setuo it does not write the config.php file 2023-03-11 18:23:20 -05:00
johnnyq 48fe49cf77 BREAKING CHANGES - MAKE FULL BACKUP BEFORE PROCEEDING - Requires Manual Intervention on files see Forum Post Make sure you run the Database update directly after update. This Removes Multi-Company Functionality. Fixes issues with Reponsive tables and bunch of other UI and small Fixes 2023-03-11 16:16:46 -05:00
johnnyq 5114c1acc9 Fix possible Setup bug where it sometimes doesnt create the config.php and moves on. The hopeful fix is after creating config.php, sleep for 2 seconds which will wait for the file to be written fully to the filesystem before moving ahead. This issue could arrise with slow disks 2023-03-01 11:16:53 -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 6981b61f4c Add TCK as default ticket prefix during setup 2023-02-08 19:37:37 +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 b222255a78 Tidy 2023-02-01 00:20:56 +00:00
Marcus Hill 6383b5b488 Adjust wording and link to new docs 2023-02-01 00:17:46 +00:00
johnnyq 0acd19a5ce Added Telemetry to Cron if enabled in settings, many more telemetry data counts were added 2023-01-28 18:11:00 -05:00
johnnyq 0a1fb2227e Implement Installation ID for optional telemetry 2023-01-28 15:06:19 -05:00
Johnny 4fd6d752c6
Merge pull request #580 from wrongecho/function-standardise
Convert custom function names to camelCase
2023-01-26 18:20:33 -05:00
Marcus Hill 10362f86ef Convert custom function names to camelCase 2023-01-26 21:58:27 +00:00
Marcus Hill 23e3a2e8fc - Create custom function (randomString()) for generating cryptographically (and URL) safe strings.
- Replace usages of keygen and bin2hex(random_bytes()) with this function.
2023-01-26 21:35:06 +00:00
Marcus Hill d73b3cb960 Correct typos 2023-01-21 17:22:27 +00:00
Marcus Hill 2c3ebb3bbb Tidy codestyle - spaces between parenthesis and curly braces 2023-01-21 17:09:39 +00:00
Xander Luedtke cb3195a90a Moving docker $repo_branch var to config.php 2023-01-09 09:24:28 -07:00
johnnyq cb6211526c better keygen for masterkey on setup 2022-12-29 18:29:14 -05:00
Marcus Hill 7a76033e55 Tidy try catch 2022-12-24 18:35:44 +00:00
Marcus Hill 063085528c Add check of database credentials during setup before they are written to config.php 2022-12-24 18:30:14 +00:00
johnnyq 996c603826 Operation Cleanup Round 4 - Remove config_base_url from settings table in db. This should be in your config.php now, if this is not added this can break things 2022-09-17 18:04:26 -04:00
johnnyq c1ff2011a4 Set Default Invoice Net Terms to 30 from 7 During install as this is most common business practice for Invoice Net Terms 2022-07-20 17:56:21 -04:00
Marcus Hill a74dea8c22 Replace <center> tags with CSS 2022-04-16 13:38:45 +01:00
Marcus Hill 9096b091b2 Add database updater 2022-04-02 19:39:55 +01:00
Marcus Hill 9a183774cb Escape server http host/uri submitted to database during setup 2022-03-28 20:47:12 +01:00
Marcus Hill d7855c2a53 General readability edits - Move text around, remove references to API as this will be in docs instead 2022-02-26 12:15:59 +00:00
johnnyq 3038fb0672 Fix User Role on setup 2022-02-20 13:35:34 -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 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 0231cebeea Fix share_data var 2022-01-16 13:47:15 -05:00
johnnyq 16931004ec Simplified Telemetry Opt in and fixed Telemetry URL 2022-01-16 13:36:05 -05:00
johnnyq c789038d53 add proper linkage for telemetry 2022-01-16 12:43:16 -05:00
johnnyq 5fdf956eb4 Added Basic Opt In Telemetry during install to help determine the number of installs and what country of origin are using the application along with any comments 2022-01-15 22:37:46 -05:00
Marcus Hill a56d701a8a Add initial user specific encryption of site master key 2022-01-10 21:47:51 +00:00
Johnny 19ba76d0d2
Merge pull request #262 from wrongecho/setup-notes
Setup notes
2022-01-09 22:57:18 -05:00
Marcus Hill d88da60e88 Add GNU GPL notice to setup 2022-01-09 22:46:52 +00:00
Marcus Hill 25b58c21c8 Add Secure flag (HTTPS only) to cookies 2022-01-09 13:56:45 +00:00
Marcus Hill b908a13d32 Small edits, link to docs 2022-01-08 16:59:07 +00:00
Marcus Hill c5e976d995 Add index.php files to upload directories to prevent file traversal 2022-01-07 18:35:23 +00:00
johnnyq 7112463e41 Commit Tidy allow public_cert to be null and move public_cert before notes 2022-01-04 11:35:34 -05:00
Marcus Hill dfbf0c788a Check that config.php is writable at the start of setup. 2022-01-04 03:21:04 +00:00
johnnyq ebb37c0f06 Fix Spelling mistake 2022-01-02 00:28:38 -05:00
johnnyq d5fcfeb417 Setup Fixes regarding user checks 2022-01-02 00:14:48 -05:00
johnnyq 2c76573471 Fixed Syntax error under setup 2022-01-01 18:30:06 -05:00
johnnyq 02f247a047 Incorrect DBHost Var Fix 2022-01-01 17:39:49 -05:00
johnnyq 0250ac0623 Forgot full php tag 2022-01-01 17:27:31 -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 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 d752a57132 Var Fixes in setup 2021-12-22 14:00:26 -05:00
johnnyq 1983c9f373 Mis-spelling causing breakge 2021-12-22 13:48:22 -05:00
johnnyq 89242870ca Fix Setup Incorrect Table Name for User Company Relation 2021-12-22 13:41:56 -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 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 50cd239cd4 Added all country currencies 2021-11-04 00:31:19 -04:00
johnnyq 72cf61ab61 Switched State to a text field instead of select field in all areas where state exist also added all countries to the country list 2021-11-04 00:20:33 -04:00
johnnyq a939588cf2 New File upload logic complete Breaking changes New db dump 2021-09-21 22:22:55 -04:00
johnnyq d5facbfc23 Removed all Input masks for phone numbers, now need to work on formating phone numbers for display based off digit length 2021-09-11 21:51:36 -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 4f8759162e Added more beginning and ending white space triming to input vars 2021-08-10 15:39:20 -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
johnny@pittpc.com cd2ea38c5b Lowercase ty in QTY, fixed issue in setup where it would not take the selected currency type 2021-03-27 15:52:00 -04:00
johnny@pittpc.com 5b5afa772c Add Receipt link to edit Expense if one was uploaded 2021-02-15 19:56:09 -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 59a5d3a44f Added Recurring Auto Increment Number and Prefix DB Structure Updated 2021-02-08 20:01:08 -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 d2b37a8940 Added new category buttons to certian dropdowns to quickly add a category without going to setting then category also a few fixes here and there 2021-02-06 15:03:11 -05:00
johnny@pittpc.com 46e0147026 Some Small fixes in setup 2021-02-05 15:36:08 -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 88933e09f7 Rework Company user relationships initial work started on user permissions 2021-01-29 21:28:12 -05:00
johnny@pittpc.com 65ed2317dc Moved Country in Setup to bottom below address info 2021-01-20 12:34:19 -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 7203d29410 Added Auto Focus to first fields in Setup 2020-09-25 15:34:13 -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 1c98e61cf8 Added initial country support for Canada 2020-03-30 20:01:59 -04:00
johnny@pittpc.com 08c4aa1bce finished porting over to select2 2019-11-22 21:17:19 -05:00
johnny@pittpc.com c3e754466b Corrected setup for adminlte CSS framework 2019-11-19 20:04:38 -05:00
johnny@pittpc.com bc61b59244 Fixed password issue causing SQL escape characters to add slashes remove mysqli_real_escape_string as its not needs, md5 produces no sql escape characters by default so it it does not need santized 2019-09-24 14:52:53 -04:00
johnny@pittpc.com 5f51bc4cc9 Fixed base_url var in setup, added single quotes in phone number for setup removed starting_location in setup as this is not used anymore and caused the setting table not to populate remove auto increment for settings in the new db dump this should fix the login issues after setup 2019-09-23 22:18:39 -04:00
johnny@pittpc.com f4557a961d Updated Quote and Invoice GUI further adding footers to the html printables, added Quote view with details and an alert 2019-09-14 22:57:48 -04:00
johnny@pittpc.com 9050f4b03a More Security fixes escaping search and sortby GET vars 2019-08-31 15:38:16 -04:00
johnny@pittpc.com 2d44222ad9 Fixed incorrect account balance under add revenue 2019-08-26 17:14:11 -04:00