Commit Graph

30 Commits

Author SHA1 Message Date
johnnyq
af9ec9ca85 Fix broken portal login and password reset due to the timezone set before the session was initiated, now we set the timezone after session has started 2024-11-06 17:55:46 -05:00
johnnyq
f2dedbf8e8 Cmplete Migrate Contact Users to Users 2024-10-22 23:53:14 -04:00
johnnyq
7a2e063bde Fix Broken Reset Password due to incorrect timezone path 2024-04-17 14:05:43 -04:00
johnnyq
888552724a Set Timezone in all places and it needs to be set in and sperated it into a seperate include 2024-04-17 12:53:11 -04:00
Marcus Hill
7171289f26 Client Portal
- Remove old fake send delay as reset links now go via mail queue
- Small tidy
2024-04-07 10:14:37 +01:00
johnnyq
01b717615e Added favicon condition everywhere 2024-02-03 13:18:20 -05:00
johnnyq
0ca50bf6de Switch from ~ to -- in signature footer 2024-01-21 00:27:01 -05:00
johnnyq
cb1b6e4231 Fix client portal reset password 2024-01-20 23:37:12 -05:00
johnnyq
bd8c93cb71 Update client portal login reset for the new mail function and made some minor UI / Code changes 2024-01-20 23:28:00 -05:00
johnnyq
b2dc9a123c Do not allow archived client contacts to reset their passwords 2023-12-28 22:25:57 -05:00
johnnyq
58c7dfe2c8 Fix Client Self Service Password Reset due to new mail queue system change 2023-12-27 22:06:19 -05:00
johnnyq
08a6d1d9be Update in more places 2023-12-21 02:10:09 -05:00
o-psi
98f731b4d4 Remove any "Send Single Email" declarations except in mail queue.
All emails go through the mail queue, using the addToMailQueue() function.
2023-12-19 23:02:05 +00:00
o-psi
53c11edc8c Update constructs to not have parenthesis. 2023-10-20 15:25:52 -05:00
Marcus Hill
a966bf0282 Adjust content security policy 2023-06-17 16:13:02 +01:00
johnnyq
25f85486d4 Client Portal can now be enabled or disabled in settings > Modules > Enable Client Portal, it is enabled by default 2023-06-14 19:07:39 -04:00
johnnyq
ccf0d3ab77 Replace all instances of htmlentities() with the new function nullable_htmlentities() thanks @bhopkins0 2023-05-11 18:23:36 -04:00
johnnyq
48fe49cf77 BREAKING CHANGES - MAKE FULL BACKUP BEFORE PROCEEDING - Requires Manual Intervention on files see Forum Post Make sure you run the Database update directly after update. This Removes Multi-Company Functionality. Fixes issues with Reponsive tables and bunch of other UI and small Fixes 2023-03-11 16:16:46 -05:00
johnnyq
f7552cd25a Finished up santizeInput Conv and UI updates 2023-02-23 16:09:37 -05:00
Marcus Hill
c219324bb8 General cleanup/formatting 2023-02-09 11:42:57 +00:00
Johnny
4fd6d752c6 Merge pull request #580 from wrongecho/function-standardise
Convert custom function names to camelCase
2023-01-26 18:20:33 -05:00
Marcus Hill
531bd25f27 Convert custom function names to camelCase 2023-01-26 22:03:31 +00:00
Marcus Hill
10362f86ef Convert custom function names to camelCase 2023-01-26 21:58:27 +00:00
Marcus Hill
23e3a2e8fc - Create custom function (randomString()) for generating cryptographically (and URL) safe strings.
- Replace usages of keygen and bin2hex(random_bytes()) with this function.
2023-01-26 21:35:06 +00:00
Marcus Hill
4b10a2ac68 Improve security of password reset token for client portal 2023-01-02 15:38:40 +00:00
Marcus Hill
dd00f48e5b Portal code style tidy 2023-01-01 16:05:48 +00:00
Marcus Hill
6746edda1a Misc tidying code spacing & formatting in accordance with SonarCloud/PSR 2023-01-01 15:41:21 +00:00
Marcus Hill
1ea081a175 Move email sending to a function for better error handling and code-deduplication 2022-12-18 14:24:47 +00:00
Marcus Hill
6529ff8bbf Allow portal contacts to reset their passwords via email 2022-10-01 21:32:19 +01:00
Marcus Hill
851ca7fae5 Always set a random password for new portal users. This isn't an issue at the moment as we don't allow logins with empty passwords but better to be safe. 2022-10-01 19:32:40 +01:00