Commit graph

1738 commits

Author SHA1 Message Date
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
Clemente Raposo
c1577aaed5 Allow extending packages and routes config in extensions 2022-09-09 12:46:23 +01:00
Clemente Raposo
3cd6efcc3f Allow option to re-direct on logout action
- Add logout configuration
- Change auth.service.ts to re-direct instead of posting depending on configuration
2022-09-09 12:46:22 +01:00
Clemente Raposo
606d1540e3 Add hslavich/oneloginsaml-bundle dependency 2022-09-09 12:46:22 +01:00
Clemente Raposo
c5d096e945 Add configuration to enable ldap user auto create
- Allow enabling user auto create for ldap
- Add default configuration in .env
2022-09-09 12:46:22 +01:00
Clemente Raposo
8f5af3f610 Add ldap auto create user provider
- Add user provider that creates user if not yet created on the app
- Add proxy to re-use existing entity and ldap user providers
- Allow configuring mapping of ldap extra fields to user fields
- Add base mapping configuration in ldap.yaml
2022-09-09 12:46:22 +01:00
Clemente Raposo
4e945589fc Add user creation to UserHandler
- Allow creating a regular user
- Allow creating an external auth user
- Allow check if user exists
2022-09-09 12:46:22 +01:00
Clemente Raposo
796b8c0342 [Legacy] Do not generate password for external auth created users
- Users that are created by external auth mechanisms like ldap should not get a password auto generated
2022-09-09 12:46:22 +01:00
Clemente Raposo
ea9a58453c [Legacy] Add CreateUser portability service 2022-09-09 12:46:22 +01:00
balumahendran
63441b34d2 User Wizard Mobile Styling Fixes 2022-09-09 12:46:22 +01:00
balumahendran
b618b50692 Subpanel Dropdown Styling Fixes 2022-09-09 12:46:22 +01:00
balumahendran
38fe4b7f98 [Legacy] Group User Page Styling Fixes 2022-09-09 12:46:22 +01:00