Commit Graph

7222 Commits

Author SHA1 Message Date
Wrongecho
491d459619 Make client delete modal even clearer 2026-09-01 15:03:31 +00:00
Wrongecho
7b986ed196 Bugfix: Client update API would error out if client_lead/client_is_lead was not specified 2026-09-01 14:47:44 +00:00
Wrongecho
450f2492ea Tickets API - add close endpoint (simplify) 2026-09-01 13:18:30 +00:00
Wrongecho
e95b3c1977 API - Add app logging when auth is fine but queries fail 2026-09-01 13:18:02 +00:00
Wrongecho
7fe0f8638c Tickets API - add close endpoint 2026-09-01 13:13:10 +00:00
Wrongecho
d21d4c7fc0 Hide option to delete ticket when it is closed as we treat closed tickets as immutable 2026-09-01 12:23:00 +00:00
Wrongecho
f947da6aff Bump security version 2026-09-01 11:15:27 +00:00
Wrongecho
fd81c17cd6 rm mention of GH Issues 2026-09-01 11:07:36 +00:00
johnnyq
36ea4a9a80 API: allow reads to filter by client_id on top of RBAC client scoping
The RBAC rework dropped the client_id read filter along with per-key client scope, so an all-clients key could no longer narrow to one client. apiClientScopeSql() now appends the filter after the scope fragment, so it can only narrow, never widen. Reads only - writes take client_id as their target client.
2026-08-31 18:30:09 -04:00
johnnyq
b0c12ac89d More Syntax Fixes 2026-08-31 17:58:02 -04:00
johnnyq
bcdfab996c Fix approval Syntax 2026-08-31 17:52:44 -04:00
wrongecho
7442e0c2c8 Move interface deletion inside delete check otherwise the count is of the interfaces not the asset 2026-08-31 21:42:07 +01:00
johnnyq
68f18064c6 Fix Syntax error in name, update contributing 2026-08-31 16:27:30 -04:00
johnnyq
c89e3a90d4 Add Proper footers to Guest Area and client portal 2026-08-31 13:24:32 -04:00
johnnyq
364c9e2134 Use built in sticky footer css class for The ITFlow footer in admin 2026-08-31 13:12:50 -04:00
johnnyq
accc1948be Fix Color Class 2026-08-31 12:46:00 -04:00
johnnyq
dd1936c4d8 Added some Margin bottom to guest task approval card 2026-08-31 12:32:23 -04:00
johnnyq
271d780f50 Added some Margin bottom to guest stripe pay invoice fixes mobile view 2026-08-31 12:30:11 -04:00
johnnyq
c07c10c610 Fix Guest Approve Modal Offscreen issue, added guest header and spruced up the UI a bit 2026-08-31 12:22:55 -04:00
Wrongecho
d9cb0251b0 Small payment bugfixes 2026-08-30 23:15:16 +01:00
Wrongecho
16b46c1f1a Stripe Invoice Payments
- Add ability to refund Stripe payments rather than just deleting & manually refunding
- Limit refunding / deleting payments to Full/3 Sales&Financial permissions, as this is a delete rather than modify action
2026-08-30 22:54:01 +01:00
Wrongecho
5a925f8784 Move payment provider post vars to a model to reduce repetition 2026-08-30 15:12:14 +01:00
Wrongecho
318eb7cf77 Stripe - Warn the user if the secret key is not valid during provider add/edit 2026-08-30 15:06:32 +01:00
Wrongecho
401f0dfce3 Stripe ID creation/linking for guest flows 2026-08-30 14:09:44 +01:00
Wrongecho
f83dc8a28e Fix idiot copy/paste 2026-08-30 12:58:22 +01:00
Wrongecho
9bc0bf0b7b Stripe ID creation/linking for guest flows (wip) 2026-08-30 12:42:12 +01:00
Marcus Hill
231651b603 Make saved payment wording clearer 2026-08-30 11:10:11 +01:00
johnnyq
d98b8bc427 Add ps-3 to table columns that don't have a checkbox and made sure all table listings conform 2026-08-29 19:45:28 -04:00
johnnyq
20b406c5b0 Add margin bottom to the ticket filter 2026-08-29 17:27:41 -04:00
johnnyq
06d6d4b23b Bump ITFlow App Version to from 26.08.2 to 26.09, updated changelog 2026-08-29 16:06:22 -04:00
johnnyq
f395d224fa Collapsable Client Top Head collapsable is remembered upon navigation 2026-08-29 00:59:49 -04:00
johnnyq
f6e03b2196 Add Chevron to show top client collapse 2026-08-29 00:46:30 -04:00
johnnyq
087c75f3d7 Dont show the reply card in ticket until a reply button is clicked 2026-08-29 00:21:40 -04:00
johnnyq
950d02d6ab Fix: Six ajax modals had dead JS - DOMContentLoaded had already fired before their scripts were injected. New itflowReady() helper restores jQuery .ready() semantics. Fixes notification pagination, asset OS autocomplete, contact auth toggle, AI ticket summary, AI document template generation 2026-08-28 19:41:00 -04:00
johnnyq
3277567b87 Demo Data Take 6 2026-08-28 19:23:36 -04:00
johnnyq
8d25337774 Added More Client to Demo Seed, even better relations, filled out more missing data spots etc 2026-08-28 19:09:42 -04:00
johnnyq
bfa53dfd66 Rewrite of the demo data seed includes more alternative products including FOSS more accurate historical relations, break fix mix with managed clients and services 2026-08-28 18:17:36 -04:00
johnnyq
bd7f67aa5b Enhancement: Files: Document and Files are easily distinguashable now with the option to choose all docs or just files. Thumbnails view now shows all files, Previews now available for documents, pdfs, txts etc, List view and Thumbnail view now retain in search param when navigating folders 2026-08-28 17:33:04 -04:00
johnnyq
d66e26d910 DB Update 2026-08-28 16:40:09 -04:00
johnnyq
156c51224d Fix client portal review findings: PIN wipe, log indexing, statement currency (db 2.7.8)
Setting a PIN containing < or > silently cleared it: the length check ran before escapeSql(), whose strip_tags() then emptied the value, and the UPDATE stored the blank while flashing success. Length is now checked after sanitising.

Password and PIN changes require the current password. SSO contacts are exempt - no local password to check, and the IdP already did it.

New index on logs(log_user_id, log_client_id) for the portal profile and activity pages, which were scanning the whole table twice per profile view. admin/audit_logs.php's date filter rewritten as a half-open range so KEY log_created_at is usable - DATE(log_created_at) BETWEEN made it non-sargable.

Portal statement page and PDF now render in the client's currency, matching the guest view and the emailed statement.

Quick Send asks for confirmation; confirm-link extended to submit buttons.

Portal audit entries logged an empty name - client/post.php used , which only exists agent-side.
2026-08-28 16:38:42 -04:00
johnnyq
820103460f Add Top Bottom Margin for Guest Quote and Invoice Quote 2026-08-28 16:29:58 -04:00
johnnyq
be20810d18 Use Datatables for User Activity on the client portal 2026-08-28 16:19:27 -04:00
johnnyq
10fb40f36f Feature: Major spruce up of the client portal profile page, added Department, Location, Title, Phone with Edit, editing Pin, Recent signins and recent activity along with a seperate activity page 2026-08-28 16:08:23 -04:00
johnnyq
194841e7f8 Add Empty state messages in client portal instead of just showing an empty table with the table header 2026-08-28 15:26:43 -04:00
johnnyq
c10d4eb736 Add Account Statment in Client Portal with option to download as a PDF 2026-08-28 15:22:02 -04:00
johnnyq
c53b2402e5 Spruced up the Account Statement on Guest View Invoice 2026-08-28 15:13:17 -04:00
johnnyq
6586a557ed Fix Send Client Account Statement Bug 2026-08-28 15:04:43 -04:00
johnnyq
342502073e Feature: Added Send Account Statment in Client Invoices Drop Down with Date Options and options to only include paid invoices 2026-08-28 14:50:15 -04:00
johnnyq
86ba041cdc Add Quick Send Quote / Invoice to replicate the old single click to Send Email 2026-08-28 14:40:25 -04:00
johnnyq
68b15ca49b Email Invoice Only shows Billing and Primary, Quote shows Important Billing, Primary and Technical contacts that can be selected 2026-08-28 13:43:51 -04:00