Clemente Raposo
20de647d5f
Fix #180 - Adjust XSRF token handling
...
- Do not generate a new token on api requests. Use an existing one
-- this was causing problems, as sometimes a new token was being generated, causing the next request to fail
- Add configuration to specify in which requests the new token cookie should be added
2023-01-24 10:10:05 +00:00
Clemente Raposo
f44fae20bd
Configure bulk-actions for ExternalOAuthProvider
2022-12-21 19:25:23 +00:00
Clemente Raposo
8d2657b8e7
Configure bulk-actions for ExternalOAuthConnection
2022-12-21 19:25:23 +00:00
Clemente Raposo
ea0b9a5d7c
Configure bulk-actions for OutboundEmailAccounts
2022-12-21 19:25:23 +00:00
Clemente Raposo
66d64793a8
Configure bulk-actions for InboundEmails
2022-12-21 19:25:23 +00:00
Clemente Raposo
cdfe29646c
Declare icons for new OutboundEmailAccounts menu entries
2022-12-21 17:26:30 +00:00
Clemente Raposo
5a38700dfb
Declare icons for new ExternalOAuthConnection menu entries
2022-12-21 17:26:30 +00:00
Clemente Raposo
db8e6bd059
Declare icons for new ExternalOAuthProvider menu entries
2022-12-21 17:26:30 +00:00
Clemente Raposo
c1147f4674
Declare icons for new InboundEmail menu entries
2022-12-21 17:26:30 +00:00
Clemente Raposo
110af6915e
Add module routing definitions for new modules
2022-12-21 16:30:41 +00:00
Clemente Raposo
040d2d5d67
Redirect to logged-out page when username attribute is misconfigured
...
- Extend SamlAuthenticator to catch RuntimeException and throw an Authentication exception
- Authentication exception should be caught and then redirected to failure_path
- Dynamically set 'app.saml.authenticator on the container
2022-12-21 11:41:39 +00: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
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
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
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
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
Jack Anderson
305203840f
Add migration to add LOCK_DSN to env
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
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
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
Jack Anderson
640c13220e
Update security groups label
...
sw
2022-09-09 12:46:22 +01:00
Clemente Raposo
06172843d7
Configure login throttling
...
- Set default of 3 attempts
- Make configurable in .env
2022-09-09 12:46:22 +01:00
Clemente Raposo
487a010d52
Add symfony/rate-limiter dependency
2022-09-09 12:46:22 +01:00
Clemente Raposo
b055761675
Remove extension config folder from class autoload
2022-09-09 12:46:22 +01:00
Clemente Raposo
8c669180c5
Add ldap login fallback to native login
...
- Allow falling back to native login if ldap fails
- Read configuration to enable / disable the fallback
2022-09-09 12:46:22 +01:00
Clemente Raposo
db6afc52fc
Allow switching between native and ldap login
...
- Add base ldap service configuration
- Add dynamic login configuration selection based on env
- Add default env options for ldap
2022-09-09 12:46:22 +01:00
Clemente Raposo
0c79491581
Use new symfony authenticator mechanism
...
- Add auth success listener to initialize legacy session
- Add password encoder to support legacy style encoding
- Add xsrf-token check to json_login
- enable authenticator_manager
2022-09-09 12:46:22 +01:00
Clemente Raposo
381e111fd9
Add system config provider service alias
2022-09-09 12:46:21 +01:00
Clemente Raposo
ff087f4852
Add extra files to keep on upgrades
2022-09-09 12:46:21 +01:00
Clemente Raposo
e7c9d00aa7
Add Upgrade toKeep ignore option
...
- Add way to define files/folders to not be considered as toKeep
2022-09-09 12:46:21 +01:00
Clemente Raposo
533ce665af
Add Upgrade Finalize Stage
...
- Split upgrade into 2 stages: install, finalize
-- This is required as the container needs to be re-loaded before running the final step
- From now on 2 commands will need to be executed
2022-09-09 12:46:21 +01:00
Clemente Raposo
38a030e029
Add SetupLegacyMigration command
2022-09-09 12:46:20 +01:00
Clemente Raposo
96803a827c
Enable CSRF token validation on api requests
...
- Do no check csrf token on get requests.
-- Angular does not send token on get or header requests
2022-09-09 12:46:20 +01:00
Clemente Raposo
84aa865a68
Update login to use only symfony
...
- Add Suite 8 side only login
- Do not login on legacy, only initialize session
- This enables the usage of other symfony login mechanisms
2022-09-09 12:46:20 +01:00
Clemente Raposo
4803239b76
Fix #87 - Only allow selecting enabled languages
...
- Retrieve disabled_languages in system configs
- Filter disabled languages from the list of selectable languages
- If store languages is disabled reset to default language
2022-05-12 14:44:24 +01:00
Clemente Raposo
8ee2c7dee7
Fix #90 - Properly reset legacy session cookie after logout
2022-05-11 13:11:31 +01:00
Clemente Raposo
1e825bff9d
Add module builder actions to cache reset actions
2022-03-15 16:52:58 +00:00
Clemente Raposo
6eee580b11
Map wysiwyg and textblock fields to html
2022-03-15 16:52:58 +00:00
Clemente Raposo
25d8743b57
Set knowledge record view to display in suite 8 view
2022-03-15 16:52:58 +00:00
Clemente Raposo
d98c6faf04
Add tinymce html field
...
- Add edit and detail mode implementation
- Add tinymce config to field medatada
- Add base tinymce ui configuration
2022-03-15 16:52:58 +00:00
Clemente Raposo
4045d5ea25
Add support for bottom widgets in record view
...
- Allow configuring bottom widgets in record view
- Read from new entry in detailviewdefs
2022-03-10 14:34:33 +00:00
Clemente Raposo
b63e82f307
Add delayed loading spinner strategy
...
- add config based full page loading spinner delay
- Replace full spinner with table spinner in list view table
2022-03-09 12:25:14 +00:00