Commit Graph

559 Commits

Author SHA1 Message Date
johnnyq e45b543ff8 Format Payment for currenct in alerting 2024-11-12 15:16:57 -05:00
johnnyq b305758152 Finished Updating invoice post to use new logAction function, and appNotify function tidy and added more details to logging 2024-11-12 15:09:55 -05:00
johnnyq 808b190c8d Fix broken AI Settings 2024-11-12 11:01:24 -05:00
johnnyq e91c0b09b7 wording, fix 2024-11-11 17:46:10 -05:00
johnnyq c61ec7def6 Partially Updated invoice post to use new logAction function, tidy and added more details to logging 2024-11-11 17:39:18 -05:00
johnnyq 1b8722eb90 Updated folder post to use new logAction function, tidy and added more details to logging 2024-11-11 16:13:44 -05:00
johnnyq 2a5945816d Updated file post to use new logAction function, tidy and added more details to logging 2024-11-10 14:37:02 -05:00
johnnyq e58bf3d558 Updated epenses post to use new logAction function, tidy and added more details to logging 2024-11-10 13:32:42 -05:00
johnnyq 5d147c0d7a Replaced old logging with new logging function in domain event post along with tidy, wording updates and better logging and replaced one line with appNotify function 2024-11-10 12:16:30 -05:00
johnnyq bd8ef62133 Replaced old logging with new logging function in domain post along with tidy, wording updates and better logging 2024-11-09 19:14:53 -05:00
johnnyq 51a6f7fa8f Removed left over old logging functionality in document post 2024-11-09 18:10:58 -05:00
johnnyq 93c64c7467 more wording updates 2024-11-09 18:08:19 -05:00
johnnyq 9e9c1100f8 wording update 2024-11-09 18:04:00 -05:00
johnnyq 0917633848 Replaced old logging with new logging function in document post along with tidy, wording updates and better logging 2024-11-09 18:01:59 -05:00
johnnyq ae06ddb068 Replaced old logging with new logging function in credential post along with tidy, wording updates 2024-11-09 15:07:55 -05:00
johnnyq 60a0ebeeb6 added domain name in client creation logging 2024-11-09 13:23:40 -05:00
johnnyq 659aa7a788 Replaced old logging with new logging function in client post along with tidy, wording updates 2024-11-09 13:19:57 -05:00
johnnyq cc97331676 Replaced old logging with new logging function in certificate post 2024-11-09 12:41:24 -05:00
johnnyq ac2bbd55a7 Replaced old logging with new logging function in budget post 2024-11-09 12:29:15 -05:00
johnnyq 59cf67814a Functionalize Logging and tidy Asset Posts 2024-11-08 18:07:22 -05:00
johnnyq 365cd6dcae Functionlized logging for account post and wording tidy updates to account post as well 2024-11-08 16:37:05 -05:00
johnnyq 119b2d0fbc Functionalized logging for contact post and some tidying there as well 2024-11-08 16:23:24 -05:00
johnnyq 7b4dda0ad6 Functionalize logging, replaced old logging in contact add with new logging function 2024-11-08 14:40:14 -05:00
johnnyq 3d5e1a1811 Bulk Logic update for files to mimic document bulk deletion 2024-11-08 13:06:42 -05:00
johnnyq e2f7537517 Add Bulk Document Deletion 2024-11-08 13:02:03 -05:00
johnnyq 1090794f7f Added Bulk File Delete support, Added new user role / permission enforcement on the file posts 2024-11-08 12:20:18 -05:00
johnnyq 5211ba73d5 Moved Create Edit User code block towards the top of edit contact user to reduce the query by 1 2024-11-02 16:45:59 -04:00
johnnyq 593f09f6fd Fix issue with creating a contact without a user and then trying to create a user by editing the contact. 2024-11-02 16:25:50 -04:00
Marcus Hill 13f89d2118 Ticketing updates
- Allow changing ticket status without adding a reply (just leave the response blank)
- Bugfix: Contact change email didn't include URL key
- Make it clearer when nobody is assigned to a ticket
2024-11-02 10:22:31 +00:00
johnnyq 3cc9c0720d FEATURE: Files now shows File Size, Mime Type, and who uploaded the file. These fields will only populate on newly uplaoded files, existing ones will show 0 or blank 2024-10-30 18:39:00 -04:00
johnnyq a6ac215f8d FEATURE: Added Bulk Tag Assignment to Credentials 2024-10-30 15:07:51 -04:00
johnnyq 873df63c76 FEATURE: Added Credential Tagging Support 2024-10-30 14:40:02 -04:00
johnnyq 219028c6d1 Updated Anon and Archive Function to archive the user and set names to Archived - UnixTimeStamp 2024-10-30 11:41:39 -04:00
johnnyq 11f68a59f3 Fix Archive Contact, removed unused fields 2024-10-30 11:26:07 -04:00
johnnyq 990335838e Added First Asset History Item, Asset Created, also delete asset history when you delete an asset 2024-10-29 19:00:02 -04:00
johnnyq af123d3978 Fix Only show Document Folders, Removed Create Subfolder as this is now merged into Create Folder Dependign on what folder you are in 2024-10-28 22:12:45 -04:00
Johnny 5f708f6003
Merge pull request #1094 from itflow-org/force-mfa
Force setup of MFA on login
2024-10-28 18:21:32 -04:00
johnnyq 77fce6a69d FEATURE: Implemented SubFolders within Documents UI 2024-10-28 17:53:44 -04:00
wrongecho 334829c23e Force setup of MFA on login 2024-10-28 21:01:55 +00:00
johnnyq ae561d3195 FEATURE: New Invoice Status Non-Billable 2024-10-25 14:33:12 -04:00
johnnyq aa2e0ed5c5 carry over the Task Completion estimate When creating a new ticket from a template 2024-10-23 14:13:05 -04:00
johnnyq 636c74dbb0 FEATURE: Added Task Completion Estimate to the UI 2024-10-23 14:06:41 -04:00
johnnyq 808fdf5f76 When Archiving, Unarchiving, Deleting and Bulk Actions also update the associated user as well 2024-10-23 12:40:32 -04:00
Johnny 0a63ed2cd6
Merge pull request #1091 from itflow-org/bugfix-tck-schd-notif
Bugfix: Ticket scheduling emails
2024-10-23 00:29:00 -04:00
johnnyq f2dedbf8e8 Cmplete Migrate Contact Users to Users 2024-10-22 23:53:14 -04:00
wrongecho 30738ed9fd Bugfix: Ticket scheduling emails
Scheduling a ticket should only send an email if config_ticket_client_general_notifications is enabled
2024-10-22 19:42:40 +01:00
johnnyq c214c12d00 FEATURE: Auto Populate Create Ticket when selecting a template, remove old ticket mail parser code 2024-10-20 14:34:09 -04:00
johnnyq fccc8ab8fd Fix adding a device to a rack: Unit Start number cannot be higher than Unit End number 2024-10-19 16:34:03 -04:00
johnnyq 8dca7bc183 Simplify Ticket Creation and Edit Model by removing unessesary tabs and combining fields to fewer tabs 2024-10-18 15:40:17 -04:00
johnnyq 6c1c5d6523 Simplify Ticket Template Creation by putting all fields into 1 modal tab instead of multiple and removing the ability to ass tasks via add ticket template, this should be done in the details 2024-10-18 15:11:54 -04:00
johnnyq d01d912154 Move logout to a file logout.php in /post fixes issue where one cant logout if in admin section, also redirect to login page with or without login key if set 2024-10-18 00:12:08 -04:00
johnnyq 5bc260e0c0 Wording Fix 2024-10-11 12:31:55 -04:00
johnnyq 4963f2f385 Add Ticket Category to New Ticket and Bulk add Tickets through assets 2024-10-10 01:38:21 -04:00
johnnyq a9ebc1395c Fix Repeating ticket number when adding bulk tickets via assets 2024-10-10 01:08:12 -04:00
johnnyq 134f4f9ad3 FEATURE: Create Ticket for each asset in Bulk 2024-10-09 15:24:40 -04:00
wrongecho 987cd59764 Tidying
- Move more things to new permissions system
- Deduplicate assets post logic into model
- Swap out some "SELECT *" queries when only a couple of rows are actually needed
2024-10-08 23:08:05 +01:00
wrongecho a9de75aa99 Invoices - Send email notif when paid 2024-10-06 20:59:54 +01:00
Johnny c948ccff5c
Merge pull request #1084 from itflow-org/budget-perms
Budget - CSRF + Perms
2024-10-03 16:52:28 -04:00
wrongecho f8c6a5ef19 Budget - CSRF + Perms 2024-10-03 20:52:37 +01:00
wrongecho 18889d228a Move account/asset post logic to new permissions system 2024-10-03 19:42:48 +01:00
Johnny 11230d655f
Merge pull request #1079 from itflow-org/custom-actions
Add custom event handler
2024-10-02 12:34:45 -04:00
wrongecho 4a625183fb Certificates - perms and model
Move certificates to the new permissions system
Deduplicate add/edit using a model
2024-10-02 11:26:58 +01:00
wrongecho 1c404b9cf1 Add custom event handler to be triggered by some actions affecting tickets/quotes/invoices/contacts 2024-10-02 11:26:13 +01:00
wrongecho 4e9afd3e6b Certificates - perms and model
Move certificates to the new permissions system
Deduplicate add/edit using a model
2024-10-02 08:32:42 +01:00
johnnyq 6a55abaf50 Fix Error 500 when adding or editing network 2024-10-01 22:50:30 -04:00
wrongecho 10a223b5b8 Projects
- Add archive and unarchive ability
- Improve logic around Open > Close > Archive > Delete
- Change to new perms system
- TODO: CSRF
2024-09-30 21:27:42 +01:00
wrongecho 81844cea2e
Update credential.Php - model fix path 2024-09-30 18:47:22 +01:00
wrongecho 478d81b0f9 Add guest ticket URL to emails 2024-09-29 22:00:15 +01:00
Marcus Hill 0c0cf2f427 Refactor POST handling.
- Split into admin and user handlers, each admin page gets its own file now
- Enforce role access once for admin POST requests
- Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
- Add support for using custom POST handlers
2024-09-29 19:08:59 +01:00
Marcus Hill 6363d265ca Refactor POST handling.
- Split into admin and user handlers, each admin page gets its own file now
- Enforce role access once for admin POST requests
- Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
- Add support for using custom POST handlers
2024-09-29 19:02:28 +01:00
wrongecho 928d723a77 More enforcing user permissions 2024-09-28 20:07:54 +01:00
wrongecho 654b590033 More enforcing user permissions 2024-09-28 20:04:33 +01:00
Johnny 26e4dc5fb3
Merge pull request #1064 from itflow-org/roles-enforce-2
Permissions - clients and tickets
2024-09-20 16:16:59 -04:00
wrongecho 23f776efa3 Permissions - clients and tickets
Enforce new permissions model in clients and tickets
2024-09-20 21:10:24 +01:00
johnnyq 42ffa9b4ab Move /post/settings.php into /post/admin.php 2024-09-20 15:23:50 -04:00
Johnny 5a20c7fdbe
Merge pull request #1056 from itflow-org/client-import
Client import - resiliency
2024-09-20 11:43:42 -04:00
wrongecho 0886a6c41d Client import - resiliency
- Add some resiliency to the client import function to better account for blank fields (may also fix some import errors)
- Fix the default settings page not loading due to the removal of account types
2024-09-20 11:38:15 +01:00
wrongecho 677d80d770 Fix deleting tags 2024-09-20 10:44:22 +01:00
johnnyq 8c4b021168 Added UI elements for the new custom link fields, new tab, order and location 2024-09-18 21:25:59 -04:00
Johnny 62a2ed7430
Merge pull request #1052 from itflow-org/perms-2
Permissions overhaul - Define permissions in the database
2024-09-18 14:20:05 -04:00
johnnyq eaee42f1f5 Add the ability to edit ticket reply types to puiblic or internal, note there is no client email option here 2024-09-17 14:55:02 -04:00
johnnyq 7b2566b654 Remove all reminense of Account Types next is deleting the DB Tables for account types 2024-09-17 13:59:58 -04:00
johnnyq a2766bd67f Allow Techs to remove units from a rack 2024-09-17 13:24:08 -04:00
wrongecho c65db3431d Tidying 2024-09-14 23:43:54 +01:00
wrongecho 271019b16b Permissions overhaul - Define permissions in the database
2nd attempt at this one!
Similar to #1008 but separately defining the roles, modules and associated permissions in the database.
Also has admin being a defined role automatically having full access.

Parent issue: #530
2024-09-14 18:29:44 +01:00
johnnyq 07df444561 Added Bulk Delete Expenses Option 2024-09-13 13:52:47 -04:00
johnnyq 208e56e784 Added Additonal Export Options to Expenses Including Account, Vendor and Category, removed CSV Warning on Export Model 2024-09-13 12:32:16 -04:00
wrongecho 80884bab47 Allow users to clear their avatar 2024-09-12 15:34:51 +01:00
Johnny e8c27e9234
Merge pull request #1043 from itflow-org/email-send-tidy
Email Send - Tidy
2024-09-10 21:25:07 -04:00
Johnny c863b8b033
Merge pull request #1042 from itflow-org/rm-stripe-client-pays
Stripe - Client pays removal
2024-09-10 21:22:33 -04:00
wrongecho 517e8d42f0 Email Send - Tidy
- Enhance error logging in cron_mail_queue.php
- Prevent invalid sender addresses
- Prevent potential SQL injections in the sender name (admin settings and should be sanitized before being sent to queue anyway)
2024-09-10 22:34:20 +01:00
wrongecho 549868e3bf Stripe - Client pays removal
- Complete removal of client paying Stripe fees feature
- Add PHP error logging to the Stripe payment process
2024-09-10 20:26:16 +01:00
wrongecho ce1fc04468 Add resolved date to ticket export csv 2024-09-10 19:14:47 +01:00
wrongecho 24cc593162 Add resolved date to ticket export csv 2024-09-10 19:13:13 +01:00
wrongecho 64684e1248 Enforce CSRF for post/asset and post/account
Tiny bit of tidying
2024-09-08 22:52:38 +01:00
Johnny d1410ef967
Merge pull request #1037 from itflow-org/tech-loc-perms
Allow techs to manage locations
2024-09-07 12:05:11 -04:00
wrongecho 6b850553cc Allow techs to manage locations 2024-09-07 12:25:19 +01:00
wrongecho 40c400240f Add ability to choose whether document is visible in client portal 2024-09-07 11:21:36 +01:00
johnnyq 903bd47f5a Allow Bulk Adding tickets to a Project from the Main Tickets Listing Page 2024-09-06 18:44:53 -04:00
johnnyq 99c6321fbb Do not require Client for Projects, allow to add multiple tickets at once when adding tickets to a project 2024-09-06 17:53:35 -04:00