Commit Graph

6201 Commits

Author SHA1 Message Date
Marcus Hill
747baf5548 Add role-based access control 2022-03-27 15:47:30 +01:00
Marcus Hill
a6a7bf1f30 Restrict user (agent) create/edit/delete actions to admins only 2022-03-27 15:39:27 +01:00
Marcus Hill
e6a314d233 Prevent tech/accountant from performing certain tasks as per access matrix 2022-03-27 15:32:40 +01:00
Marcus Hill
42d917a0f4 Comments 2022-03-26 18:11:03 +00:00
Marcus Hill
fb4da53026 Show who else is viewing the same open ticket as you 2022-03-26 18:05:20 +00:00
johnnyq
139bb6fd73 Set item_view to 0 when sharing a link 2022-03-26 11:10:27 -04:00
johnnyq
25f973d3a5 Additional Standardization of logging actions use Upload instead of Uploaded same with Download and Email 2022-03-26 10:27:11 -04:00
Johnny
057c5bb1f0 Merge pull request #409 from wrongecho/api
API
2022-03-26 10:15:26 -04:00
johnnyq
5f451dceef Standardize logging actions use Create instead of Created same with Modify and Delete 2022-03-26 10:12:40 -04:00
Marcus Hill
09b4eab1c3 Correct insert ID for create endpoint. Add contact create API endpoint 2022-03-26 13:39:43 +00:00
johnnyq
5db7ab3d73 Fix recurring broken breadcrumb links under recurring invoice 2022-03-25 20:26:37 -04:00
Johnny
1e8638818b Merge pull request #405 from wrongecho/delete-client
Delete client - post.php
2022-03-25 16:09:15 -04:00
Johnny
6f6920ce59 Merge pull request #406 from wrongecho/ticket-ui
Hide edit/delete buttons for closed tickets
2022-03-25 16:07:17 -04:00
Marcus Hill
3019f6a5d4 Hide edit/delete buttons for closed tickets 2022-03-24 21:04:20 +00:00
Marcus Hill
e4d2d0c699 Prevent deletion of client unless user role is 3 (admin) 2022-03-24 20:52:26 +00:00
Marcus Hill
fd589c53fa Delete scheduled tickets when client is deleted 2022-03-24 20:45:58 +00:00
Marcus Hill
a598e9d42e Remove non-existant delete query that prevents client being deleted properly on some installs 2022-03-24 20:41:26 +00:00
Johnny
7874acaa65 Merge pull request #404 from jlcfly/master
Just a few minor fixes
2022-03-22 17:32:43 -04:00
Joe Clark
654b7adf6c Initialize variable to avoid PHP undefined error 2022-03-22 13:07:11 -07:00
Joe Clark
9a04ff5341 Check if path exists before attempting to remove 2022-03-22 13:06:39 -07:00
Joe Clark
e54eae13a7 Fix bug with initializing variable name 2022-03-22 13:06:14 -07:00
Johnny
66d4ebc482 Merge pull request #402 from aftechro/patch-6
Update calendar_events.php
2022-03-22 14:55:46 -04:00
Johnny
b9b1fd6c76 Merge pull request #401 from wrongecho/contact-auth
Client Portal small edits
2022-03-22 14:54:39 -04:00
AFTECH.RO
5b57f415f7 Update calendar_events.php
Added clickable URL to events
2022-03-21 21:47:01 +00:00
Marcus Hill
61cf50cad0 Make ticket assigned to filter select2 to make filterable 2022-03-21 21:41:33 +00:00
Marcus Hill
9378b3eec4 Remove bad reference to session user id for portal post new ticket logging 2022-03-21 21:25:03 +00:00
Marcus Hill
c974251e93 Fix new ticket link 2022-03-21 21:17:50 +00:00
Marcus Hill
4b149edfd9 Fix client portal link 2022-03-21 21:12:57 +00:00
Marcus Hill
d937d0ccec Add fields for contact portal auth 2022-03-21 21:05:08 +00:00
Johnny
9b542726a6 Merge pull request #400 from wrongecho/portal
Client portal updates
2022-03-20 22:34:27 -04:00
Marcus Hill
433d0b751b Remove debug & tidy 2022-03-20 16:10:46 +00:00
Marcus Hill
34d6caa016 Client portal updates 2022-03-20 16:02:58 +00:00
Johnny
84803c3c6f Merge pull request #399 from wrongecho/ip-addr
Default get_ip to REMOTE_ADDR
2022-03-20 10:28:16 -04:00
Marcus Hill
e09ea58bd4 Default get_ip to REMOTE_ADDR, option to set it to 2022-03-20 07:51:42 +00:00
Johnny
7be4685ea4 Merge pull request #398 from wrongecho/portal
Client portal initial - add functionality to post ticket replies
2022-03-19 16:47:22 -04:00
Marcus Hill
76cad07566 Client portal initial - add functionality to post ticket replies 2022-03-19 19:10:36 +00:00
johnnyq
e391027a46 Merge fix part 2 2022-03-14 20:56:32 -04:00
johnnyq
d38f20c8ba Fix client_overview conflict 2022-03-14 20:47:51 -04:00
johnnyq
8537bc7b98 Modifications to client overview 2022-03-14 20:33:26 -04:00
Johnny
7b816e0879 Merge pull request #393 from wrongecho/domains
Domain fetch A records
2022-03-14 19:46:59 -04:00
Johnny
c6fb3466cf Merge pull request #394 from wrongecho/client-overview
Client overview
2022-03-14 19:46:51 -04:00
Johnny
60e3eb901c Merge pull request #396 from wrongecho/portal
Add basic portal functionality
2022-03-14 19:46:07 -04:00
Marcus Hill
1d84fade63 Add basic portal functionality 2022-03-13 18:35:29 +00:00
Marcus Hill
8bea883fa6 Change note outline to primary 2022-03-13 11:29:21 +00:00
Marcus Hill
bdef68ddf5 Add notes to client overview 2022-03-13 11:27:23 +00:00
Marcus Hill
81e67f4ed3 Comment client_name as not returned in sql query. Comment client_id as we already have it 2022-03-13 10:54:55 +00:00
Marcus Hill
3a6b893f4f Attempt to parse the expiry date for .com/.org/.net domains - hacky 2022-03-13 10:28:17 +00:00
Marcus Hill
ead895aad5 Fetch A record details for domain when added 2022-03-13 09:32:08 +00:00
Marcus Hill
438e7ac838 Add database field for A record, correct other DNS record fields 2022-03-13 09:31:28 +00:00
johnnyq
5b274b09e6 Clicking client links take you to client overview by default 2022-03-12 13:38:30 -05:00