Commit Graph

1488 Commits

Author SHA1 Message Date
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
Marcus Hill b4f2fdd03d Code deduplication/tidying
- Move default pagination/sort/search query variable mapping to pagination_head.php
- Remove user_logs.php
2022-04-14 19:49:18 +01:00
Marcus Hill ca629801af Change all "AND" / "OR" to && / || 2022-04-14 18:40:51 +01:00
Johnny ea041a0371
Merge pull request #441 from wrongecho/small-tidy
Small code cleanups
2022-04-14 12:25:29 -04:00
Marcus Hill a3ca268fcf Small code cleanups 2022-04-14 07:54:40 +01:00
wrongecho 57afcc0423
Update README.md
Add about link, change v1 release estimate to December
2022-04-13 22:15:55 +01:00
Johnny 9ed03b428f
Merge pull request #439 from wrongecho/delete-client
Force client name to be typed upon delete attempt
2022-04-11 19:09:02 -04:00
Marcus Hill 6ef72ec1df Force client name to be typed upon delete attempt 2022-04-10 23:08:07 +01:00
Johnny 6327223fa0
Merge pull request #438 from wrongecho/sch-tickets
Scheduled ticket improvements
2022-04-10 10:45:01 -04:00
Johnny 09c2533b05
Merge pull request #437 from wrongecho/433_add-client
Prompt user to provide a primary contact when adding a new client
2022-04-10 10:44:51 -04:00
Marcus Hill cc4c2e6bf7 - Enforce role check when editing/deleting scheduled tickets
- Add scheduled tickets to client view
- Add search and pagination to scheduled tickets
- Populate scheduled ticket edit modals dynamically
- Minor typos
2022-04-10 13:42:47 +01:00
wrongecho bba077360d
Update README.md
Add HTML Purifier
2022-04-10 10:30:37 +01:00
Marcus Hill 5f40bc215e Prompt user to provide a primary contact when adding a new client 2022-04-09 15:36:08 +01:00
Johnny fe8fe10492
Merge pull request #436 from wrongecho/ticket-reassign
Ticket assign/reassign improvement
2022-04-07 21:16:02 -04:00
Johnny 36fabb2d88
Merge pull request #435 from wrongecho/ticket-contact-fix
Only run contact ticket stats if contact id is not null
2022-04-07 21:15:49 -04:00
Johnny 87e229de9d
Merge pull request #434 from wrongecho/client-logs
Default client logs to sort same as main logs
2022-04-07 21:15:30 -04:00