Commit Graph

1568 Commits

Author SHA1 Message Date
Marcus Hill fc3b83d43a Allow for tickets to be unassigned after being assigned to an agent.
Hide accountants from ticket assignment list on ticket.php.
2022-05-11 20:27:18 +01:00
johnnyq 647f133f48 Fixed Edit Assign to if the asset was anything but a workstation it would blank out during an edit 2022-05-10 22:11:05 -04:00
johnnyq 06ae05f4f2 Updated DB Schema to include the beginnings of asset, contact, vendor and software related data 2022-05-10 17:12:52 -04:00
johnnyq 33b18891bc Fixed broken contact listing due to relations that no longer exist 2022-05-08 14:00:57 -04:00
johnnyq 50670d4d27 Table Field cleanup 2022-05-07 20:51:13 -04:00
johnnyq 0ac9143e47 Do no show archived clients under clients, add archive client, add undo archive client 2022-05-07 20:15:13 -04:00
johnnyq bf3f17db44 Updated Delete Client confirmation modal to include all financial associated data and logs etc 2022-05-07 17:41:14 -04:00
johnnyq c38f2378ea Updated Delete Client to delete all associated data 2022-05-07 17:37:38 -04:00
johnnyq 8d2570f688 Dropped api_key_updated_at field and unused tables contracts, messages and roles 2022-05-07 16:57:20 -04:00
johnnyq 5044dc6084 Properly delete everything related to a company when deleting a company 2022-05-07 16:46:50 -04:00
johnnyq 463fcdbe4f Fixed adding new company 2022-05-07 15:42:17 -04:00
Johnny cb22db5d65
Merge pull request #462 from wrongecho/updated-timestamp
Assorted changes
2022-05-07 15:22:52 -04:00
Marcus Hill 7bb68a36d9 Add user role in PHP Session to remove dependency on check_login - will require you to logout & back in to take effect after the update 2022-05-07 17:44:04 +01:00
Marcus Hill 5cbd0fad0d Move role validation to functions.php 2022-05-07 17:25:30 +01:00
Marcus Hill d900a7d341 Show shared item (doc/file/login) name in logs when generating a share link 2022-05-07 17:08:05 +01:00
Marcus Hill b2c0994577 Add CSRF Token validation for API key create/delete 2022-05-07 16:56:55 +01:00
Marcus Hill 53ae901f15 Remove api updated at column, as API keys can not be edited once created 2022-05-07 16:40:06 +01:00
Marcus Hill f4537ac80a Remove remaining instances of updating *updated_at - SQL DB does this now for us automatically 2022-05-07 16:39:34 +01:00
johnnyq 598f1b1aa1 Fixed issue with Account Transfers and adding Revenue, updated DB to update created_at and updated_at to the new SQL Timestamp 2022-05-06 12:04:12 -04:00
johnnyq 867f5edb8a Do not count or show archived under client overview 2022-05-05 12:41:40 -04:00
johnnyq 9ac267e831 Removed redundant client overview header 2022-05-05 12:02:04 -04:00
johnnyq f32609c29c Client Overview fixes and cleanups - Fix domains expiring, resized columns, added Assets Retiring soon with a 7 year retire window from install date 2022-05-05 12:00:12 -04:00
johnnyq 42f98479e7 Fixed Issue where if server had an IP client PDF Export would not work #395 2022-05-05 10:55:04 -04:00
Johnny 18c7c1c9a5
Merge pull request #460 from wrongecho/bugs
Bug fixes
2022-05-03 16:16:03 -04:00
Marcus Hill 6a57ae6149 Add a small newline to the end of the table, otherwise the document action edit button gets cut off 2022-05-02 21:24:57 +01:00
Marcus Hill 9e1b5f6903 Show existing asset OS when editing 2022-05-02 21:24:03 +01:00
Johnny 5b400dec9f
Merge pull request #456 from wrongecho/iframe
Prevent ITFlow being shown in an iFrame
2022-05-02 11:32:50 -04:00
Johnny ef4a4dcf33
Merge pull request #457 from wrongecho/csrf
CSRF Token
2022-05-02 11:31:52 -04:00
Johnny 5e4870df90
Merge branch 'master' into csrf 2022-05-02 11:31:42 -04:00
Johnny 44f8569b50
Merge pull request #455 from wrongecho/api
Add delete asset API endpoint
2022-05-02 11:30:02 -04:00
wrongecho f0d497fec8
Merge pull request #459 from wrongecho/db-fix
Add contact_department varchar to db.sql & deploy fix via DB updater for recent fresh installs
2022-05-01 21:51:23 +01:00
Marcus Hill d7381d5e06 Add contact_department column for anyone that installed since it was added 2022-05-01 21:46:05 +01:00
Marcus Hill 6f9439a85e Add contact department column to db.sql, remove departments table,document_tags and documents_tagged. 2022-05-01 21:21:47 +01:00
Marcus Hill fd6051646c Fix merge conflict 2022-05-01 18:51:53 +01:00
Marcus Hill 705060d1df Add clean_file_name function to fix merge conflict 2022-05-01 18:46:45 +01:00
Marcus Hill 61777116a9 CSRF Token
Upon login, issue the user a CSRF token (in their session). This token should be provided when completing sensitive actions (e.g. deleting companies/clients, changing their password, etc.)

Ref: https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#synchronizer-token-pattern
2022-05-01 18:43:53 +01:00
Marcus Hill 622290f354 Prevent ITFlow being shown in an iFrame 2022-05-01 17:48:47 +01:00
Marcus Hill c19328f3d8 Typo 2022-05-01 10:37:07 +01:00
Marcus Hill 25c610e963 Rename update_id to update_count - as it's a count, not the insert ID 2022-05-01 10:34:21 +01:00
Marcus Hill 69c1fc6cae Add asset API delete endpoint 2022-05-01 10:30:04 +01:00
johnnyq b2e9a0f5f3 Fix Department sorting under contacts 2022-04-29 18:52:57 -04:00
johnnyq 1c7bd35ad4 Invoice is now searchable by amount 2022-04-29 18:44:17 -04:00
johnnyq 099fcbe4bc Updated Side Nav header spacing from 3 to 2 removed some unnessary title headers in sidenav, this will allow for more room for other items on the side navs 2022-04-29 17:07:30 -04:00
johnnyq 0641b0bfd4 Completely remove the last bits of departments 2022-04-29 16:50:25 -04:00
johnnyq 7b35431021 Remove Departments table and remove it from the client side nav, takes up too much space, added it as a text input on contact add/edit instead 2022-04-29 16:39:15 -04:00
johnnyq d5922b25a9 Updated Licence Type var under client export pdf 2022-04-29 12:11:57 -04:00
johnnyq ba57078810 Created Sanitize file name function to fix issues with exporting PDF Documentation with clients having ' in the name ex ben's 2022-04-29 11:54:50 -04:00
johnnyq ca5ba0c6d2 Removed , before WHERE statement Fixed Edit Client 2022-04-29 11:21:46 -04:00
johnnyq 8b91be7188 Fix Software password display and edit functionality 2022-04-29 11:04:38 -04:00
Johnny 492f90fe4b
Merge pull request #453 from wrongecho/mesh
Remove meshcentral references in api
2022-04-29 11:03:58 -04:00