Commit Graph

1552 Commits

Author SHA1 Message Date
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
Johnny f5f3567d4a
Merge pull request #452 from wrongecho/folders
Define ['folder_id'] as $get_folder_id for easy reference and to fix undefined errors
2022-04-29 11:03:47 -04:00
Johnny 496a9a6e88
Merge pull request #451 from wrongecho/ticket-modal
Don't show archived users for ticket filters/assignment
2022-04-29 11:03:34 -04:00
Marcus Hill 917377ed17 Remove meshcentral references in api 2022-04-28 21:46:41 +01:00
Marcus Hill 8e16abfcbc Define ['folder_id'] as for easy reference and to fix undefined errors 2022-04-28 21:09:02 +01:00
Marcus Hill bc1426ba18 Don't show archived users for ticket filters/assignment 2022-04-28 20:52:20 +01:00
johnnyq eee7c0b204 Sort folders A to Z instead of Z to A 2022-04-27 22:32:53 -04:00
johnnyq 6310ef5aae Added Rename and Delete folder capabilities to documents and some minor UI cleanup 2022-04-27 22:31:15 -04:00
johnnyq c02edf5ca7 Added Ability to search by document name as well. 2022-04-27 16:34:23 -04:00
johnnyq ee5c820f55 Declare Int on GET client_id and document_id 2022-04-27 01:37:33 -04:00
johnnyq 00e0d1dfb3 Fix hidden documents update all documents to use document_folder_id 0 during DB Update 2022-04-27 01:22:32 -04:00
johnnyq 0fb4ff17a3 Removed the last bits of Document Tagging 2022-04-27 01:03:01 -04:00
johnnyq 1b866b75cd Added Folder support to Client Documents, partially removed legacy document tagging 2022-04-27 00:53:45 -04:00
Johnny 82f74a7a49
Merge pull request #450 from wrongecho/misc
Assorted changes/commits
2022-04-25 11:29:39 -04:00
Marcus Hill 81363e09a3 Change mouseover to mouseenter, it's a little less spammy on the requests if you move the mouse a bit 2022-04-24 17:21:50 +01:00
Marcus Hill e70bbe37a8 Add button to generate a password for you, on new login modal 2022-04-24 17:18:27 +01:00
Marcus Hill 5bb4049f6d Add pagination 2022-04-24 16:57:30 +01:00