Commit Graph

238 Commits

Author SHA1 Message Date
johnnyq 244e1290b4 Convert service_domains to use InnoDB instead of MyISAM 2025-03-15 18:35:21 -04:00
johnnyq 5a64bd3a32 Ensure all Tables and fields use CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 2025-03-15 18:28:48 -04:00
johnnyq 09fbe4e4ad Update more multi to multi link tables to use cascading delete and foreign key relation 2025-03-14 18:18:44 -04:00
johnnyq 508af6a80f Fix some Database update logic 2025-03-14 17:15:10 -04:00
johnnyq 073f816dbd Do not allow cascade deletion for rack devices as this table is optional to reference an asset and will cause issues when adding a devoce without a selected asset 2025-03-14 15:33:00 -04:00
johnnyq 06c31e0808 Update Asset reference SQL Tables to use Foreign keys and cascading delete, and remove orphaned data from the foreign tables to prevent integrity errors during update 2025-03-13 21:35:39 -04:00
johnnyq 59bbbe4a8d Removed Patch panel tables as they share similarities with assets and assets interfaces, rename events to calendar events and event attendees to calendar even attendees 2025-03-13 16:34:38 -04:00
johnnyq e93704bbdb Completely renamed everything login to credential including tables added cascading deletion to the multi to multi tables 2025-03-12 21:28:50 -04:00
johnnyq c0db914213 Added Recurring Ticket Reference to Tickets 2025-03-12 13:56:36 -04:00
johnnyq c7f4e48a27 A Few more places to update recurring invoice vars 2025-03-11 22:38:13 -04:00
johnnyq 619b93a545 Renamed Recurring to recurring_invoices updated a large portion of code, and updated many other fields to reflect recurring_invoice and not just recurring 2025-03-11 22:08:37 -04:00
johnnyq d0b8095bba Feature: Added additional assets to Recurring Tickets as well 2025-03-11 19:36:39 -04:00
johnnyq daab1bca3d Rename the remain items from Scheduled Tickets to Recurring Tickets 2025-03-11 18:32:24 -04:00
johnnyq f61c30bd5a Started work on additional assets per ticket, added table ticket_assets, Fixed Legacy Check User Role Functions 2025-03-11 15:10:23 -04:00
johnnyq 9b6ea851e7 Removed the prepended user_ from the fields in the user_roles table, moved user_role_id from user_settings directly to users table, rename table user_permissions to user_client_permissions, removed unused Sessions vars in login. This upedate will require to update using update_cli.php --db_update 2025-03-10 15:57:16 -04:00
johnnyq 244a47efad Added Recurring Invoice Reference ID to Invoices and Product ID reference to Invoice Items 2025-03-10 12:26:14 -04:00
wrongecho 44b70d7161 Add database field for ticket_first_response_at. This can be used as part of metric reporting and also as part of SLAs in the future 2025-03-07 13:28:35 +00:00
Marcus Hill 7994c9c7a8 Add SSL certificate history tracking 2025-03-02 10:15:26 +00:00
Marcus Hill ae59aa3326 Add SSL certificate history tracking 2025-03-02 10:12:47 +00:00
Marcus Hill bece8abfe2 Prune db updates older than a year 2025-03-02 09:26:16 +00:00
johnnyq 04e624cc14 Added Purchase Reference to Software Licneses 2025-02-26 12:59:03 -05:00
johnnyq 56cbcf2921 Removed Single Link Vendor Login and single link software login. These are unused will be moved to multi to multi relationship, also added vendor_id to software to reference a vendor 2025-02-24 21:24:57 -05:00
johnnyq d8955f1f2d Added Asset Purchase reference to assets to reference an invoice or PO number 2025-02-18 17:22:22 -05:00
wrongecho a8f682286a Add DB logic for quote file upload 2025-02-17 11:14:55 +00:00
johnnyq d5a03d3afc remove cron key from the code and remove old cron script and setup and update cli scripts as they now reside in scripts directory 2025-01-25 21:44:46 -05:00
johnnyq 360974d9f4 Refactor interface linking system:
- Remove 'interface_connected_asset_interface' column usage
- Introduce 'asset_interface_links' table for one-to-one connections
- Update add/edit/delete queries and modals to handle new schema
- Exclude already-connected interfaces in dropdowns
- Improve data integrity and simplify linking logic
2025-01-18 13:04:56 -05:00
wrongecho 99c4f9b92d Add domain history 2025-01-15 18:04:56 +00:00
johnnyq e4a4687e8c Added Connected Asset Interface ID to asset interface table to eventual link to anothr assets interface/port 2025-01-14 23:50:08 -05:00
wrongecho a15081ac67 Initial add Stripe Auto-payment with saved card 2025-01-12 20:56:38 +00:00
johnnyq 5611ac103d Recurring Payments - Added Auto Pay via cron, removed auto pay amount as it uses the recurring invoice amount, next up integrate with stripe 2024-12-21 20:25:21 -05:00
johnnyq 63015ab22d Feature: Recurring Payments created DB Structure 2024-12-21 16:46:21 -05:00
johnnyq a21cb08914 DB Structure Update: Add Fax to location, Delete Vendor Contacts tables decided to merge vendor contacts and conacts as one table as contacts table already had a reference to vendor_id 2024-12-13 15:12:48 -05:00
johnnyq 32d5e333c6 Renamed error_logs to app_logs, created app logs list view and renamed function logError to logApp, updated some of the log functions in cron and ticket mail parser to use the new appLog 2024-12-10 22:06:35 -05:00
johnnyq c0928e9b68 Dropped the Vendor Templates Table decided to use the same table, added Vendor Contacts Table to allow for more than 1 contact for a vendor 2024-12-10 17:47:41 -05:00
johnnyq 1d8a78b279 Add Image Thumbnails and Previews for better image optimization update view image modal to JS and allow to move between images using previous and next arrows 2024-12-08 15:22:37 -05:00
johnnyq 6b8d02c6ef DB Update Add vendor_templates table to eventually seperate out templates from the vendors table 2024-12-07 15:38:35 -05:00
johnnyq 8050dffbb8 Enhancement: DB Structure Update: Seperate Logs into 3 seperate log tables error_logs, auth_logs, audit_logs. This will provide huge performance benefits and organization 2024-11-24 15:04:23 -05:00
johnnyq 1c0441060e FEATURE: Added Tables for Multiple Notes with note type to keep track of interactions and notes for clients, contacts, assets and vendors. UI to come next 2024-11-23 15:36:39 -05:00
wrongecho 28a0343a97 Quote notifications
- Send an internal email when quotes are accepted/declined
- Clients are prompted to confirm accept/decline with confirm-link
- Tidy
2024-11-14 11:23:28 +00:00
johnnyq 23cc47f8f5 DB Stucture Update: Added Ticket History Table to keep track of ticket events such as priority changes, ticket status, assignment, task completion etc 2024-11-04 12:21:47 -05:00
Marcus Hill d8d455e324 Prune old database update logic (2+ yrs old) 2024-11-02 09:56:09 +00:00
johnnyq 70569fc226 Scans all files and matches them with the reference file in DB then sets the file size and Mime Type. Note this update doesnt do any DB Structure changes 2024-10-30 19:17:21 -04: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 58738debc6 Fix for users on DB 1.5.9 updating to 1.6.0 check to see if login_folder_id exists before adding it and Makming sure all ticket statuses are a number 2024-10-30 12:13:26 -04:00
johnnyq c08ac330be FEATURE: Credential Tags Initial DB Structure Commit 2024-10-29 18:33:17 -04:00
johnnyq f52beed3d0 Added asset history table 2024-10-29 18:16:28 -04:00
johnnyq c3379a5576 Increase DB Field Sizes 2024-10-29 15:41:10 -04:00
johnnyq dffc97859d FEATURE: Estimated Time Completion on Tasks - Phase 1 DB Structure update 2024-10-23 13:28:46 -04:00
johnnyq f2dedbf8e8 Cmplete Migrate Contact Users to Users 2024-10-22 23:53:14 -04:00
johnnyq ba64a179c6 Add contact_user_id to contacts table to associate a contact with a user 2024-10-22 16:34:08 -04:00