Commit Graph

1503 Commits

Author SHA1 Message Date
Marcus Hill 5bb4049f6d Add pagination 2022-04-24 16:57:30 +01:00
Marcus Hill cfce11c18f Reposition service asset selects 2022-04-24 16:48:42 +01:00
Marcus Hill fda40055f8 Adjust RFC6283 getTokenCode to only show one token at a time.
Remove the tokens from client_logins.php and replace with a mouseover/hover to show mechanism using ajax.php
2022-04-24 13:48:27 +01:00
Marcus Hill dcd772c5f6 Only show extension options if tech/admin 2022-04-24 12:43:11 +01:00
Marcus Hill edcdf9a0a8 Only set encryption/extension key if user is tech/admin 2022-04-24 12:35:14 +01:00
Marcus Hill 013b153078 Remove created_at DB references - these are automatic now 2022-04-24 12:24:00 +01:00
Marcus Hill a792498b5b Add IP/User agent to all logs 2022-04-24 12:13:07 +01:00
Marcus Hill 13c12dad3a Remove log_created_at now references, as this is now automatic 2022-04-24 11:52:16 +01:00
Marcus Hill 1bea42c273 Fix role check, minor comments 2022-04-24 11:50:44 +01:00
Marcus Hill 6f4a2d0385 Tidy 2022-04-24 11:50:27 +01:00
Marcus Hill 76b965ec20 Adjust brute force notification to be in notifications, not alerts 2022-04-24 10:52:05 +01:00
Marcus Hill 599b82a73c Exclude archived agents from ticket assignment 2022-04-24 10:31:11 +01:00
Marcus Hill 30e7114555 Adjust domain/warranty/stale ticket logic. No longer shows blank expiry. Stale tickets now only show after 14 days. 2022-04-24 10:29:09 +01:00
Marcus Hill 7be6121408 Remove leftover references to mesh central 2022-04-24 10:20:30 +01:00
Marcus Hill 4dd5aa1ea2 Add IP address logging to document create/update/deletes 2022-04-24 10:12:59 +01:00
Johnny fee69c51a3
Merge pull request #449 from wrongecho/center
Replace deprecated <center> tag with CSS
2022-04-19 20:22:11 -04:00
Johnny 50931c633f
Merge pull request #448 from wrongecho/remove-meshcentral
Remove MeshCentral integration
2022-04-19 18:15:02 -04:00
Marcus Hill af8c7fac25 Replace depreciated <center> tag with CSS
SonarCloud bugs.
2022-04-19 23:13:44 +01:00
johnnyq 7d901e7fef deprecate the old API system in favor of the new and improve API 2022-04-19 17:55:04 -04:00
Marcus Hill f5f033fed4 Remove MeshCentral integration
As per recent discussions about the API & scripts being a better way forward for all integration, removing the MeshCentral integration that was added.
2022-04-19 22:42:38 +01:00
johnnyq 1186e5b5a1 use () to show the archived date 2022-04-19 16:48:01 -04:00
johnnyq 28572d80a5 Show archived datenext to the assigned to select under edit asset if the contact was archived 2022-04-19 16:45:49 -04:00
Johnny 7cdd25eaf1
Merge pull request #447 from wrongecho/api
API
2022-04-18 19:13:03 -04:00
Marcus Hill 2d6e7dbb37 Add clients/read.php API endpoint.
Adjust asset create/update so that they function without all attributes being provided. Update will default to using the value currently in the database, rather than overwriting blank.
2022-04-18 15:59:09 +01:00
Johnny 6ff6cb7c19
Merge pull request #445 from wrongecho/sql
created/updated timestamp update
2022-04-17 22:07:47 -04:00
Johnny fce20d1a74
Merge pull request #444 from wrongecho/master
Small ticketing / client portal changes
2022-04-17 22:05:39 -04:00
Marcus Hill 467784cb2a Define the number regex as a constant and use that instead 2022-04-17 23:30:10 +01:00
Marcus Hill a6833ac3a4 created/updated timestamp update
Convert all created_at and modified_at fields to default to current timestamp/update timestamp.
We can cleanup the SQL code in post.php (and other places) to no longer manually set these values at a later date, but it will work fine for now
2022-04-17 23:16:36 +01:00
Marcus Hill a74dea8c22 Replace <center> tags with CSS 2022-04-16 13:38:45 +01:00
Marcus Hill 5f5e023afe Fix contact title & improve logging on client portal
Hyperlink ticket on client overview page
2022-04-16 12:51:15 +01:00
Marcus Hill 0a483cf13a Only show active/non-archived agents for new ticket assignment 2022-04-16 12:32:23 +01:00
wrongecho 6091d373bc
Remove redundant jump/return 2022-04-16 12:13:18 +01:00
wrongecho ce6b200168
Update SECURITY.md 2022-04-16 00:10:14 +01:00
wrongecho 4a87abda52
Update README.md 2022-04-16 00:08:06 +01:00
Johnny 2fea7b36a2
Merge pull request #443 from wrongecho/misc
Misc Changes
2022-04-15 21:13:38 +00:00
Johnny 633ce5d342
Fix License Var 2022-04-15 15:37:37 -04:00
Marcus Hill 945288dfbd Replace center with css text align 2022-04-15 17:54:23 +01:00
Marcus Hill e55622827d Add support for client-specific API keys
Refactoring API. Added a contact update endpoint.
Small misc changes.
2022-04-15 17:43:06 +01:00
Marcus Hill bdd00c843d Change wording to reflect that the module is just "hidden", not necessarily disabled. 2022-04-15 17:00:47 +01:00
Marcus Hill fca1627c33 Remove delete user post.php code. Deleting users means we'll lose all tickets/replies which isn't great.
Correct user archive behaviour so when users are archived they can no longer login. Need to add ability for quick disable/enable of user accounts, as using archive as permanent.
Refactor "You are not permitted to do that!" wording into a constant instead.
2022-04-15 13:29:27 +01:00
Marcus Hill 779153e099 Adjust scheduled ticket behaviour in cron to account for cron being run at 1 AM rather than 11 PM. This is also better for daylight saving 2022-04-15 12:03:52 +01:00
Marcus Hill f707098d37 Redirect to ticket after creation 2022-04-15 12:02:13 +01:00
Marcus Hill ac42cb82a8 Fix closed by being in caps 2022-04-15 12:00:41 +01:00
Marcus Hill 6aa06b4389 Add full text index & search for document contents (related to #440) 2022-04-15 11:42:50 +01:00
johnnyq 9a48bfae49 Changed Cron wording to run time from 11PM to 1AM Daily 2022-04-14 23:29:29 -04:00
johnnyq f191daf389 oops Forgot to add mysqli_query 2022-04-14 23:05:46 -04:00
johnnyq fd8188095e New Feature Enable/Disable ITFlow Modules now using the automated DB updater 2022-04-14 22:59:36 -04:00
johnnyq 344276ca33 Add more reverse sort orders 2022-04-14 19:46:59 -04:00
Johnny 087de8242e
Merge pull request #442 from wrongecho/tidy
Code tidy/cleanups
2022-04-14 22:27:00 +00:00
Marcus Hill 17f97ff7bc Deduplicate API GET check into single file 2022-04-14 20:05:15 +01:00