Commit Graph

618 Commits

Author SHA1 Message Date
johnnyq ed02c2aa3e Updated revenue post to use new logAction function, new role check function tidy and added more details to logging 2024-11-13 16:23:35 -05:00
johnnyq b408a31cde Updated rack post to use new logAction function, new role check function tidy and added more details to logging 2024-11-13 15:46:20 -05:00
johnnyq cf22f01df4 Updated quote post to use new logAction function, tidy and added more details to logging 2024-11-13 15:28:24 -05:00
johnnyq 96649af18b Updated project post to use new logAction function, tidy and added more details to logging 2024-11-12 18:50:30 -05:00
johnnyq c5aa22a832 Updated profile post to use new logAction function, tidy and added more details to logging 2024-11-12 18:26:04 -05:00
johnnyq 115640fc89 Updated product post to use new logAction function, tidy and added more details to logging and add permission check 2024-11-12 18:09:00 -05:00
johnnyq 08c8153d64 Updated network post to use new logAction function, tidy and added more details to logging 2024-11-12 17:41:56 -05:00
johnnyq 640a068026 Fix forloop regressions forgot to include POST duh 2024-11-12 17:30:53 -05:00
johnnyq b88e111c64 Updated location post to use new logAction function, tidy and added more details to logging 2024-11-12 17:22:22 -05:00
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
johnnyq 41276b55f0 Feature: Custom Links on main side nav 2024-09-05 17:08:43 -04:00
wrongecho 4458c87463 Initial implementation of whitelabelling 2024-09-05 10:31:18 +01:00
Marcus Hill 00e4e8a24b Log when client pack is exported to PDF 2024-08-30 23:05:04 +01:00
Marcus Hill aeeac12f11 Log when client pack is exported to PDF 2024-08-30 23:04:20 +01:00
Johnny c0c810764a
Merge pull request #1006 from itflow-org/bulk-merge
Add bulk merge ticket feature
2024-08-25 15:20:43 -04:00
Johnny 21a31a1fe1
Merge pull request #1002 from itflow-org/api-logins
Allow decrypting logins/credentials via the API
2024-08-25 15:18:34 -04:00
wrongecho f964d8245b Add bulk merge ticket feature 2024-08-25 19:10:06 +01:00
wrongecho c69655a5bb Add bulk merge ticket feature 2024-08-25 19:06:57 +01:00
johnnyq a10b9bf93a Removed Company Name prepended to invoice email subjects as this name should be in the From Email Name Example CompanyName Billing or Just CompanyName 2024-08-23 17:49:23 -04:00
wrongecho 0c60ecc329 WIP: Allow decrypting logins/credentials via the API 2024-08-22 17:46:58 +01:00
wrongecho d43cd0398e Bugfix: Bulk close should actually be bulk resolve 2024-08-19 21:45:03 +01:00
wrongecho 63feff03d2 Initial WIP: Allow decrypting logins/credentials via the API 2024-08-19 21:23:43 +01:00
wrongecho 0025503ff8 Ticketing updates - guest view & resolved vs closed
- Swap autclose for resolved to allow temporarily re-opening resolved tickets for 72 hrs after closure
- Add guest view URL for tickets
2024-08-17 23:42:39 +01:00
wrongecho d80334a7cf Ticketing updates - guest view & resolved vs closed
- Swap autclose for resolved to allow temporarily re-opening resolved tickets for 72 hrs after closure
- Add guest view URL for tickets
2024-08-17 23:24:15 +01:00
wrongecho ccdfd96f56 Tickets & Tasks
- Add ability to un-complete/undo a completed task
- Require CSRF verification when deleting tickets and tasks
2024-08-15 23:52:25 +01:00
Johnny 26d36e6f66
Merge pull request #992 from itflow-org/tck-eml-parse-anonymous
Add unknown/anonymous email to ticket parsing
2024-08-13 17:00:31 -04:00
wrongecho d6f30b83f8 Add anonymous email parsing
Add option to allow unknown/anonymous email parsing for unknown contacts/domains.
This will be disabled by default due to the potential for spam, but can be turned on in the settings if required.
2024-08-10 22:35:52 +01:00
wrongecho 3d3492ef27 Add move/transfer assets
Add ability to move / transfer assets between clients. Moving an asset involves the asset being archived and then re-created under the new client with most of the same information.

Information about the old & new asset is stored in the audit logs and within the asset notes. Information from the audit logs is accessible via a new History tab on the asset, subject to audit log retention.
2024-08-10 20:46:59 +01:00
johnnyq 53550e5092 Updated Client Export Fields, and added Client Import along with download client sample file 2024-07-05 15:31:01 -04:00
git-kup eead1328ef
Update invoice.php
fixed typo payed to paid
2024-07-02 17:37:34 -04:00
Marcus Hill 8db9822f63 Add audit log cleanup/retention period to cron
Audit logs will be automatically cleaned up after 90 days (new installs) or 7 years (existing installs). This is configurable in Settings > Security.
2024-06-30 11:51:39 +01:00
johnnyq fc82dc705e Add Payment Method and Reference to Payment Receipts 2024-06-28 12:20:20 -04:00
johnnyq 1c618892cc Removed WebKlex PHP-IMAP Dependency in post as it was spewing errors for people running older version of php below 8.2 - note this is still required for Mail Parser to work 2024-06-27 01:10:00 -04:00
johnnyq 30bd685dea Final path fix 2024-06-25 16:02:22 -04:00
johnnyq f7b75bb150 fix 2024-06-25 15:54:19 -04:00
johnnyq 6456dfcc67 Fix Autoloader location for WEbklex imap 2024-06-25 15:51:51 -04:00
johnnyq b0c5d43867 Remove the reliance on php-imap extension to test imap connection in setting. Also removed the check for php-imap in the mai, parser as we use fully rely on webklex 2024-06-25 15:48:56 -04:00
johnnyq 46ab6a696d Assure a Primary network interface gets added with the import of assets. Also check to see if a primary interface is present when editing an interface 2024-06-17 14:43:35 -04:00
johnnyq aca5a1ee54 Remove Rack Photo on deletion and do not remove rack_units as the DB is set to cacade delete these 2024-06-14 17:44:29 -04:00
johnnyq 5ba0315a42 Feature: You can add and remove linked devices and customer devices to the rack units 2024-06-14 17:22:16 -04:00
johnnyq 70dc64f05d Updated Budget to now include easy updating and creating and viewing Yearly budgets in one POST 2024-06-14 13:13:28 -04:00
johnnyq 5352416dbe Added backend archive, unarchive, delete capaiblities for racks 2024-06-13 17:12:34 -04:00
johnnyq 17feb98ec7 Added Client Network / Server Rack Documentation to the UI More to come 2024-06-13 17:06:09 -04:00
johnnyq e3c39e473f Fixes on Image Uploading for assets 2024-06-13 14:31:46 -04:00
johnnyq 16c2fbf6d1 Added Asset Photo and Asset Physical Location to the UI 2024-06-13 13:54:21 -04:00
johnnyq b25d21b8bf Delete Asset Interfaces related to client assets when deleting a client 2024-06-11 22:39:03 -04:00
johnnyq 1e241a9232 Quick Fix 2024-06-11 21:46:45 -04:00
johnnyq 41ac390173 MAJOR Feature Update - Backup before updating Migrated Asset Network info to a seperate table to allow for multiple interfaces per asset 2024-06-11 21:36:03 -04:00
johnnyq fc6ec8dd03 Added IPv6 field for Assets 2024-06-10 22:10:18 -04:00
johnnyq 2ce36cb14f Added Bulk Edit Category, Archive, Unarchive and Delete to Products 2024-06-10 17:26:43 -04:00
johnnyq 655f1230c2 Added Export Products CSV 2024-06-10 15:53:26 -04:00