Commit Graph

5535 Commits

Author SHA1 Message Date
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
a889f7d879 Add back api/v1/assets/read.php somehow got wiped during the big update also added the ability to query asset by MAC address 2023-03-11 17:15:46 -05:00
johnnyq
0ad86ab053 Fix Company File Upload Regression 2023-03-11 17:02:53 -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
wrongecho
75da31d991 Merge pull request #643 from wrongecho/master
Documents
2023-03-11 20:05:53 +00:00
Marcus Hill
90bba73aac Documents
- Properly escape HTML in the edit modal
- Tidy
2023-03-11 19:55:38 +00:00
wrongecho
4344a4fcca Update ticket_reply_edit_modal.php
Sanitize any potential HTML output in ticket reply edit modal to summernote editor
2023-03-06 21:12:58 +00:00
johnnyq
b9112ddded tidy 2023-03-05 20:33:05 -05:00
johnnyq
a711bed38c Add sme more htmlemtities for consistency 2023-03-05 20:06:42 -05:00
wrongecho
9a3266190c Merge pull request #642 from wrongecho/stricter-input-validation-theme-tags
Add stronger input validation/output escaping
2023-03-05 19:31:22 +00:00
Marcus Hill
2210ad9f3e Add stronger input validation/output escaping for theme, tags and categories vars 2023-03-05 19:25:24 +00:00
Marcus Hill
feb0267002 Add stronger input validation/output escaping for theme, tags and categories vars 2023-03-05 19:13:48 +00:00
Johnny
ff18e704c8 Merge pull request #641 from wrongecho/cert-multi-select
Add bulk actions (delete) for client certificates.
2023-03-05 11:58:09 -05:00
johnnyq
cdf97ec83b Fix clients being duplicated when multiple tags are assigned to them 2023-03-05 11:40:20 -05:00
Marcus Hill
1c18599372 Add bulk actions (delete) for client certificates. 2023-03-05 16:20:09 +00:00
johnnyq
5640a22c18 Remove some more log created at and updated at as the DB does this for us 2023-03-04 16:17:29 -05:00
johnnyq
c0af8e8eab Add '' to the date vars under API assets if not empty so they dont error out when inserted into the DB 2023-03-04 16:13:38 -05:00
johnnyq
e01dea2fd0 Fix Assets API Missing $ on var and use NULL instead of 0000-00-00 when inserting into the DB similar to POST 2023-03-04 15:58:34 -05:00
johnnyq
426b07a093 Fix issue with ulauts in the subject field of tickets opened using email parser. Removed htmlentities on subject replaced with the new inputSanitize See https://forum.itflow.org/d/111-umlauts-are-replaced-in-the-subjects 2023-03-03 12:14:29 -05:00
johnnyq
7228d8b6e6 Fix #640 2023-03-02 16:20:03 -05:00
johnnyq
7445cf1910 oops somehow dahsboard_technical got removed put it back 2023-03-01 16:28:11 -05:00
johnnyq
e42095a85e Tidy code 2023-03-01 16:26:41 -05:00
johnnyq
45b686dafc Fix issue with cron not sending recurring emails due to a misspelling 2023-03-01 14:09:58 -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
b7c855a67d Fix #639 2023-03-01 11:07:56 -05:00
johnnyq
b2deebfa42 Reverted still causing issues with duplicate clients 2023-03-01 01:11:25 -05:00
johnnyq
58e08c1e60 Still getting dupes in clients with multiple tags redid the query 2023-03-01 01:09:14 -05:00
johnnyq
d50397f291 Add back additional Groupby in Client oops 2023-03-01 01:03:40 -05:00
johnnyq
373df5c4d1 Merge branch 'master' of github.com:itflow-org/itflow 2023-03-01 00:59:30 -05:00
johnnyq
3783fcfef6 Converting 0000-00-00 date values to NULL as this is best practice and compitible with MySQL 2023-03-01 00:59:14 -05:00
johnnyq
1a5bffd2e0 Updated the client inc to remove date 0000-00-00 format to fix issue with MySQL 2023-02-28 23:52:20 -05:00
johnnyq
99dc294145 rewrite income by client report SQL query to join as a single query instead of multiple
;
2023-02-28 23:04:25 -05:00
johnnyq
47dbd46bf3 rewrite the Recurring Incpome by Client report into 1 Query instead of multiple 2023-02-28 22:41:24 -05:00
johnnyq
94c020f689 Fix issue clients listing being broken with MySQL server due to not specifiying all non aggregate columns be in the GROUP BY Field, this was not an issue with mariaDB 2023-02-28 22:15:09 -05:00
johnnyq
e14fe2474c Updated Multi Action UI and some logic 2023-02-28 20:16:07 -05:00
johnnyq
cdfb61b294 Added a helper if no tags exist when attempting to add them to a client, Added some santizeInput tags to API 2023-02-28 11:58:08 -05:00
johnnyq
2acb5e0b7b Possible fix for MYSQL Date not handling 0000-00-00 2023-02-27 12:35:41 -05:00
johnnyq
a79e4b496c Fix regression in client listing which broke searching between dates 2023-02-27 12:26:46 -05:00
johnnyq
18a8122d4c Merge branch 'master' of github.com:itflow-org/itflow 2023-02-26 22:39:54 -05:00
johnnyq
fdb34b2613 Toyed with the idea of showing Which Column is being sorted and if its ASC or DESC in dismissed notifications 2023-02-26 22:39:34 -05:00
johnnyq
fbc30248de Toyed with the idea of showing Which Column is being sorted and if its ASC or DESC in dismissed notifications 2023-02-26 22:37:30 -05:00
johnnyq
0269f416a5 Toyed with the idea of showing Which Column is being sorted and if its ASC or DESC in dismissed notifications 2023-02-26 22:36:12 -05:00
Johnny
b9b383cbd2 Merge pull request #631 from wrongecho/532-remove-add-company
Remove ability to add new companies
2023-02-26 21:58:07 -05:00
Johnny
412e4eaf78 Merge pull request #635 from wrongecho/api-asset-no-errors
Asset API - Prevent Undefined variable errors
2023-02-26 19:55:35 -05:00
Johnny
b221e8fc80 Merge pull request #634 from wrongecho/bulk-update
Add bulk delete option for scheduled tickets
2023-02-26 19:53:59 -05:00
Marcus Hill
6374524cfb Prevent 'Undefined variable: asset_row' errors when adding/updating assets via API 2023-02-26 21:55:24 +00:00
Marcus Hill
87a1373b6d Tidy formatting 2023-02-26 15:13:20 +00:00
Marcus Hill
4b02247a6f Use require_once instead 2023-02-26 15:09:42 +00:00
Marcus Hill
4a500324f2 Default asset and contact IDs to 0 if blank 2023-02-26 15:08:35 +00:00