johnnyq
|
a5a43e37ac
|
Audit logs stage 3: failed sign-ins say why and are logged against the account they were for - wrong password, no account with that email, disabled, archived or invited account, client archived, portal turned off, a wrong MFA or two-step code after the right password - with failed Microsoft 365 portal sign-ins logged too and marked Their account in the audit log; the IP lockout counts portal failures as well; the first sign-in from an IP address is badged New IP in the audit lists and quick look; new Admin > Sign-ins under Access with People and IP addresses views, search, date filter, sortable columns and paging; admins get a notification and an email on a run of failed sign-ins or turned-away API calls from one address or against one account, set in Settings > Security (10 to start, 5, 20, 50 or never), each in the audit log Security view and in Mail > Previews; API calls counted per key, day and endpoint, with a 30-day calls column and last IP on API Keys and a usage window, expired-key calls logged against the key, and usage deleted with the key and after the log retention; database 3.3.2 drops the unused auth_logs table and adds settings.config_login_alert_failures and api_key_usage; new functions/sign_in.php, admin/sign_ins.php and admin/modals/api/api_key_usage.php; the license template page no longer warns when view is missing
|
2026-10-19 00:56:52 -04:00 |
|
johnnyq
|
0a4aabbf9a
|
Emails stage 2: agent and staff emails in the shared email layout with an Open in ITFlow button - assigned to you (assignee pick, Bulk Action, New Ticket and Edit, several at once as one list, recurring tickets the same way, nothing when assigning yourself), new ticket to the new-ticket address (portal, email or scheduled, with what they wrote), client replied to the assigned agent (portal or email, with the reply), SLA at risk and missed to the SLA alert address and the assigned agent, scheduled work and its cancellation to the agent, contact and watchers with the calendar file, a new agent's sign in details, account changes, new device and failed MFA sign in alerts, a login sent back through a shared link, the Admin > Mail test email and the portal's saved card confirmation; nothing is queued when outgoing mail is not set up; fixes backslashes before apostrophes in the parser's new ticket and reply emails, emails skipped when no SMTP host was set for Microsoft 365 or Google mail, and the saved card email's wording; adds emailSettings(), emailReady() and cal_str to functions/email.php, the ticket agent email functions, userMailNewAccount() and userMailSignInAlert(), a new sendSlaAlert() signature, removes userQueueMail() and updates the changelog
|
2026-10-17 22:47:52 -04:00 |
|
johnnyq
|
e29369926f
|
Client portal stage 4: accounts - Your account rebuilt with details and an ask-us link, phone numbers, ticket email choices, password change needing the current password and 8 characters with an email notice, two-step sign-in with an authenticator app set up from a QR code, remembered browsers with Forget them, phone PIN and recent sign-ins with the device; activity rebuilt with signing-in and changes tabs and paging; sign-in asks portal users with two-step sign-in for a code, remembers the browser on request and locks an account after five wrong codes in ten minutes, matching portal users by contact_user_id; Admin > Client Portal can require two-step sign-in, sending anyone without it to set it up first, and agents can turn it off for a contact from the contact page; password links stored as SHA-256 and running out after an hour for Forgot password and a week for invites, the nightly run clearing only run-out links, Forgot password limited to one email per account every five minutes and ten requests per address in ten minutes, the reset page rebuilt with the password typed twice and a confirmation email, fixing the empty-token check that let anyone trigger the reset email; contacts choose every ticket email or replies and fixes only, and primary and technical contacts can hear about new tickets at their company or every update, honoured by agent, portal, email parser and recurring ticket emails; announcements for every client or one with tone and start and end dates on the portal home page, managed in Admin > Client Portal; View as contact opens the portal read only as a contact from the agent contact page, audited, with billing shown only when the agent's role reads sales and financial, nothing written or paid while viewing; agent contact page shows two-step status, last sign-in and ticket email choices; database 3.1.0 adds portal_announcements, contact ticket email columns and config_client_portal_require_mfa and hashes outstanding links; new functions/portal.php; changelog updated
|
2026-10-17 12:05:55 -04:00 |
|
johnnyq
|
1bebd2d578
|
Fix Light mode Initialization flash when in dark mode
|
2026-08-26 22:09:29 -04:00 |
|
johnnyq
|
bcc73737e4
|
Apply custom css across the board including client portal and guest
|
2026-08-15 17:53:10 -04:00 |
|
johnnyq
|
bbbfff7413
|
All Jquery removed replaced with stand JS and non jqery dependent libs
|
2026-08-14 17:28:06 -04:00 |
|
johnnyq
|
dc6b191eed
|
Update Font, Migrated away from JQUERY dependent libs: toastr to bootstrap5 toasts, daterangepicker to flatpickr, select2 to Tom Select, InputMask to IMask
|
2026-08-14 17:08:40 -04:00 |
|
johnnyq
|
a084e37c39
|
Initial migration from AdminLTE 3 to 4, bootstrap 4 to 5
|
2026-08-14 13:22:11 -04:00 |
|
johnnyq
|
b3f959ac55
|
Use Short echo tags across the code
|
2026-07-28 18:47:52 -04:00 |
|
johnnyq
|
7327ebb37c
|
Stop parallel login attempts from bypassing the rate limits
|
2026-07-28 01:01:43 -04:00 |
|
johnnyq
|
c64c76c577
|
Rotate session ID on login and fix client portal Entra SSO
|
2026-07-27 23:49:09 -04:00 |
|
johnnyq
|
a4fdced10f
|
Rate limit 2FA code attempts and narrow the TOTP acceptance window
|
2026-07-27 18:36:43 -04:00 |
|
johnnyq
|
565aff35f6
|
Set SameSite=Lax on the session cookie
Applied at all seven session_start sites. keepalive.php and guest_post.php
had no cookie flags at all and now set httponly and secure too.
|
2026-07-24 14:09:52 -04:00 |
|
johnnyq
|
f1836c70cd
|
Replace Function logAction() with logAudit()
|
2026-07-14 17:35:23 -04:00 |
|
johnnyq
|
b57ddc0e5c
|
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
|
2026-07-14 17:17:50 -04:00 |
|
johnnyq
|
7bc47a58fe
|
Replace Function nullable_htmlentities() with just escapeHtml() and update all instances throughout
|
2026-07-14 17:10:45 -04:00 |
|
johnnyq
|
8da3a107fb
|
Rename plugins to libs and update all file references
|
2026-07-10 13:24:20 -04:00 |
|
johnnyq
|
a819dff19a
|
Mail: Update mail configuration check to use smtp_provider instead of smtp_host as host is blank upon using oath2
|
2026-06-24 12:47:41 -04:00 |
|
johnnyq
|
300a1aff9f
|
Login: Uodate Email text field to email type
|
2026-06-07 13:01:28 -04:00 |
|
johnnyq
|
c1f0b63101
|
Fix login not passing master key if agent is client and agent and if MFA is enabled
|
2026-01-17 17:07:22 -05:00 |
|
johnnyq
|
687920743d
|
Fix user_id not being set in audit logs for agent and client logins, also fix issie where user_id wasnt being set in client portal.
|
2026-01-15 12:28:20 -05:00 |
|
johnnyq
|
e02a6fc5e6
|
Use mysqli_fetch_assoc in login
|
2026-01-12 12:30:12 -05:00 |
|
johnnyq
|
78040573d1
|
Fix Remove Powered by ITFlow on Login Screen when WhiteLabel is enabled
|
2026-01-12 12:27:44 -05:00 |
|
wrongecho
|
30499123f1
|
Bugfix: Portal not showing contact user id in session
|
2026-01-09 13:50:46 +00:00 |
|
johnnyq
|
f784b659e8
|
Remove extra agent client wording
|
2025-12-20 15:05:47 -05:00 |
|
johnnyq
|
e60a7a59f9
|
Fix Login flow where user agent and client exists and agent has MFA but will not let them continue, also update some wording and button colors. Also dont show email password fields again after success and login as agent and client is shown.
|
2025-12-20 14:30:57 -05:00 |
|
johnnyq
|
a79ce23ae5
|
Fix randomString() to generate cryptographically secure URL-safe tokens, reduced url keys to 32 Characters for performance and easy copy and paste and compatibility while still mainitaining ubreakable cryptographic keys
|
2025-12-18 14:24:53 -05:00 |
|
johnnyq
|
32f996d034
|
If login key is set and it is not provided show Client Email instead of just Email for placeholder
|
2025-12-14 13:42:38 -05:00 |
|
johnnyq
|
312eb4dffc
|
Allow use of login key only for agents
|
2025-12-14 13:16:54 -05:00 |
|
johnnyq
|
1916456c84
|
Fix White Label not displaying on the login page
|
2025-12-14 13:04:53 -05:00 |
|
johnnyq
|
871ad2ea7e
|
Update legacy client login links to use the new unified login method
|
2025-12-10 12:21:12 -05:00 |
|
johnnyq
|
58d6ab7342
|
Unify Agent and Client login, if same user exists as a client and an agent then offer a selection of client portal or agent portal
|
2025-12-09 13:39:16 -05:00 |
|
johnnyq
|
416a8d9a94
|
Fix to properly redirect to the setup page if config_enable_setup is not set or is 1
|
2025-10-06 14:19:49 -04:00 |
|
wrongecho
|
d8803aaac2
|
prevent open redirects upon agent login
|
2025-10-06 16:32:42 +01:00 |
|
johnnyq
|
e6bcf0e12f
|
Started updating href paths to absolute paths instead of relative paths as itflow should be installed in document root anyway and not a sub-directory
|
2025-09-24 12:56:01 -04:00 |
|
johnnyq
|
50f790dd6c
|
Fix MFA Enforcement
|
2025-09-23 20:30:25 -04:00 |
|
johnnyq
|
edabc5c33f
|
rename /user/ to /agent/ and update links to use agent/ instead
|
2025-09-23 18:04:23 -04:00 |
|
johnnyq
|
7e55808a05
|
add some redirect to login.php, fix ticket post
|
2025-08-04 18:16:13 -04:00 |
|
johnnyq
|
95950700d8
|
Moved user items to user directory
|
2025-07-28 17:57:06 -04:00 |
|
johnnyq
|
7150b1545a
|
Moved files check_login.php, get_settings.php, settings_localization_array.php, inc_set_timezone.php into the includes folder, we also moved /client/check_login.php into client/includes/
|
2025-03-13 17:55:31 -04:00 |
|
johnnyq
|
9b6ea851e7
|
Removed the prepended user_ from the fields in the user_roles table, moved user_role_id from user_settings directly to users table, rename table user_permissions to user_client_permissions, removed unused Sessions vars in login. This upedate will require to update using update_cli.php --db_update
|
2025-03-10 15:57:16 -04:00 |
|
johnnyq
|
22a5c90d21
|
Reworked MFA Enforcement page to use login page style for smoother transition
|
2025-01-29 11:35:14 -05:00 |
|
johnnyq
|
033a5d1f4f
|
Remove comment
|
2025-01-28 19:25:29 -05:00 |
|
johnnyq
|
52ad2ba322
|
Reworked the MFA Enforcement
|
2025-01-28 18:57:04 -05:00 |
|
wrongecho
|
20a862f020
|
Fix redirect to /client if no login key is set
|
2025-01-28 11:24:08 +00:00 |
|
johnnyq
|
f29d122376
|
Move totp.php out of functions folder into plugins then removed functions folder
|
2025-01-24 21:07:01 -05:00 |
|
johnnyq
|
8e04e10753
|
Combine base32static.php and rfc6238.php into 1 file called totp.php and place it into the functions folder
|
2025-01-24 20:26:46 -05:00 |
|
johnnyq
|
d80d4803db
|
Moved TOTP dependent files rfc6238.php and base32static.php to /includes folder and updated links in pages
|
2025-01-24 19:20:49 -05:00 |
|
johnnyq
|
5f76a7989b
|
Move portal to client and rename and reorganize some client portal files
|
2025-01-23 17:12:11 -05:00 |
|
johnnyq
|
2c51289d75
|
Remove mysqli connection vars when passing mail data to addToMailQueue Function
|
2025-01-22 20:56:24 -05:00 |
|