Commit graph

1549 commits

Author SHA1 Message Date
balumahendran
a038b31c40 [Legacy] Email Compose field styling fixes 2022-10-04 13:13:19 +01:00
balumahendran
996980a77b [Legacy] Project Resources Styling Fixes 2022-10-04 13:13:19 +01:00
Clemente Raposo
8011432998 [Legacy] Adjust PasswordManager input alignment 2022-10-04 13:13:19 +01:00
Clemente Raposo
fc5158b041 [Legacy] Re-enable legacy ldap configuration
- Re-enable legacy ldap configuration to allow to use ldap in legacy v4 api
2022-10-04 13:13:19 +01:00
Clemente Raposo
45488f3e98 Redirect session timeouts to logged-out page for SAML
- When SAML is active, SuiteCRM side session timeouts redirect to logged out page
2022-10-04 13:13:19 +01:00
Clemente Raposo
e854b6c6e8 Add config driven redirect for session expiry
- Get redirect route from system config
- Add exception handling for invalid XSRF token
2022-10-04 13:13:19 +01:00
Clemente Raposo
027e2f5d8f Add system config for session expired redirect
- Inject new system config
- Set Login page as default for redirect
2022-10-04 13:13:19 +01:00
Clemente Raposo
8a1123ab1a Set logged-out view as failure_path for saml 2022-10-04 13:13:19 +01:00
Clemente Raposo
4fd29a4e95 Add logged-out backend route 2022-10-04 13:13:19 +01:00
Clemente Raposo
e853c1088f Add logged-out front end route
- Add support for logged-out route
-- Always goes to logged out page
2022-10-04 13:13:19 +01:00
Clemente Raposo
4d8a253c0c Add logout view component
- Add component
- Expose site_url in configs to allow to re-direct to login
- Add need styling
-- Make some existing styling more generic
2022-10-04 13:13:19 +01:00
Clemente Raposo
991d0d2e24 [Legacy] Add logged out page labels 2022-10-04 13:13:19 +01:00
Clemente Raposo
7a612a0685 Add saml user auto-creation
- Add option to auto-create user upon login
- Add support for mapping fields from Idp to SuiteCRM
2022-10-04 13:13:19 +01:00
Clemente Raposo
0179d916a9 Add auth logging channel
- Add channel for authentication logs to be easier to debug authentication problems
2022-10-04 13:13:19 +01:00
Clemente Raposo
ebf73018c9 Add standard app logging trait 2022-10-04 13:13:19 +01:00
Clemente Raposo
317d276d02 Add legacy user mapper 2022-10-04 13:13:19 +01:00
Clemente Raposo
a7f1f5f4a7 [Legacy] Add missing user field declarations 2022-10-04 13:13:19 +01:00
balumahendran
f78be946b3 User Profile Settings Signature Styling Fixes 2022-10-04 13:13:19 +01:00
Jack Anderson
20d69ea188 [Legacy] Add system name to config 2022-10-04 13:13:19 +01:00
Jack Anderson
8da0355c36 Fix system name to now show
- expose system name
- add it to app initializer
2022-10-04 13:13:19 +01:00
Clemente Raposo
c42ddd6fbd Fix #61 - Add null check 2022-09-29 10:26:54 +01:00
Jack Anderson
cfb2165756 Fix #61 - Update luxon package 2022-09-29 10:26:54 +01:00
Clemente Raposo
5d17bf33ea Fix #61 - [Legacy] Disable datetime timezone conversion in list data retrieval
- Do not format list datetimes to user format/timezone. Always send in system timezone
2022-09-29 10:26:54 +01:00
Jack Anderson
b0069250ce Fix #61 - Disable date format for record view
- Do not format list datetimes to user format/timezone. Always send in system timezone
2022-09-29 10:26:54 +01:00
Clemente Raposo
b385439c26 Fix #61 - Add timezone conversion on datetime picker init
- Convert the value from internal timezone to user timezone
- Initialize the time picker with the user timezone
2022-09-29 10:26:54 +01:00
Jack Anderson
0bff60cf40 Fix #61 - Add mapper for time format
- move all mapper files to new directory
- update test file to new directory
2022-09-29 10:26:54 +01:00
Jack Anderson
0ffc23443d Fix #61 - Fix user time zone 2022-09-29 10:26:54 +01:00
Jack Anderson
3011d4d359 SuiteCRM 8.2.0-beta.2 Release 2022-09-14 13:12:57 +01:00
Jack Anderson
d16669e466 [Legacy] Update files md5 2022-09-14 13:12:57 +01:00
Jack Anderson
64efcd1751 [Legacy] Bump version to 8.2.0-beta.2 2022-09-14 13:01:29 +01:00
Clemente Raposo
252d88e13f Fix migration logging
- Call log method, which will initialize upgradeLogger
2022-09-14 12:32:40 +01:00
Clemente Raposo
6f7f1435b7 Clear cache on upgrade finalize
- Clear symfony cache
- Clear opcache
- Clear apcu cache
2022-09-13 11:22:28 +01:00
Clemente Raposo
57f26b8bd6 Add migration to add missing auth env properties
- Add AUTH_TYPE if missing
- Add LDAP configs if missing
- Add SAML configs if missing
- Add LOGIN_THROTTLING_MAX_ATTEMPTS if missing
2022-09-12 13:11:24 +01:00
Clemente Raposo
e664f27619 Add env handling migration trait
- Add trait to handle env file manipulation methods
2022-09-12 13:11:24 +01:00
Clemente Raposo
49add20c8a Add base migration
- Move common migration handling methods to BaseMigration class
2022-09-12 13:11:24 +01:00
Clemente Raposo
8d310bf017 Fallback to native login when ldap user has missing fields
- Allow falling back to native login if the user does not have all extra_fields in ldap
- This is only allowed if user already exists in the crm
2022-09-09 15:15:51 +01:00
Clemente Raposo
b4b715b97d Fix #149 - Change InstallExtensionAssets constructor
- Change constructor signature to be compliant with php8.1
2022-09-09 13:05:34 +01:00
Clemente Raposo
7e0a5f37a3 Fix #151 - Check if update feedback is defined
- fix null pointer exception
2022-09-09 13:04:57 +01:00
Jack Anderson
305203840f Add migration to add LOCK_DSN to env 2022-09-09 12:46:23 +01:00
Jack Anderson
1b29b7f0f6 Fix finder to include dot files 2022-09-09 12:46:23 +01:00
Clemente Raposo
a4dbc76d37 Set saml config option to use target_path
- Set always_use_default_target_path
- Avoids login redirect loops
2022-09-09 12:46:23 +01:00
Jack Anderson
6023f81e2a Add contact empty statistic response 2022-09-09 12:46:23 +01:00
Jack Anderson
83852a5e2a [Legacy] Add hideValueIfEmpty configuration to legacy 2022-09-09 12:46:23 +01:00
Jack Anderson
89f7ac51cb Add hide if empty value to top widgets 2022-09-09 12:46:23 +01:00
Clemente Raposo
e056f2f86a Redirect to base path after native auth
- auth path only really required to access the native login screen
- After login it is best to just the base path, as there may be issues when opening links on separate tabs.
2022-09-09 12:46:23 +01:00
Clemente Raposo
53549e0ae3 Adjust frontend calls to support native auth
- Support native auth paths.
- For login, logout and session-status, adjust them to the native auth path.
2022-09-09 12:46:23 +01:00
Clemente Raposo
38e131a4e0 Add native auth routes 2022-09-09 12:46:23 +01:00
Clemente Raposo
c3e02d8113 Add native auth security config
- Configure firewall for native auth
- Add shared context between the two firewalls
- Add access control restrictions for native auth paths
2022-09-09 12:46:23 +01:00
Clemente Raposo
e4e3c009f2 Init legacy session on index for saml
- Init session if user is authenticated but legacy session is not initialized
2022-09-09 12:46:23 +01:00
Clemente Raposo
4e4b43e92e Add base saml configuration
- Allow enabling saml configuration
- Make security.access_control dynamic, depending on the auth_type
- Add saml specific access_control configuration
- Add saml routes configuration
- Enable auth.logout.redirect for saml
- Add template configuration for hslavich_onelogin_saml
2022-09-09 12:46:23 +01:00