Commit Graph

362 Commits

Author SHA1 Message Date
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
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
ae59aa3326 Add SSL certificate history tracking 2025-03-02 10:12:47 +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
96809c7f85 Update db.sql 2025-01-25 21:47:24 -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
Johnny
bddc406c1d Merge pull request #1151 from itflow-org/domain-history
Add domain history
2025-01-17 16:47:05 -05:00
wrongecho
99c4f9b92d Add domain history 2025-01-15 18:04:56 +00:00
wrongecho
c5058b26de Services table has a weird character set - removed
https://tasks.dev.itflow.org/task_details.php?task_id=41
2025-01-15 12:05:03 +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
johnnyq
241b0008e8 Updated DB Structure 2024-10-30 18:39:49 -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
johnnyq
499f9456f8 DB Update add user_role_type to differentiate between itflow users, client users and api permissions 2024-10-22 14:08:50 -04:00
wrongecho
a9de75aa99 Invoices - Send email notif when paid 2024-10-06 20:59:54 +01:00
johnnyq
0a1ab84140 DB Structure Update for additonal feature of custom links include nav location, order and open in new tab option 2024-09-18 18:22:37 -04:00
johnnyq
415f536cd7 DB Structure Update: Remove Account Types, Add Account Description Field, Change is admin from INT to TINYINT for performance 2024-09-18 16:30:55 -04: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
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
7edf03f79f Add DB Structure that will allow hiding specific docs from the client portal 2024-09-06 22:12:20 +01:00
johnnyq
6879300fe8 DB Structure Update for Custom Links 2024-09-05 16:23:35 -04:00