]> Raphaël G. Git Repositories - userbundle/log
userbundle
12 months agoRemove mail and hash possible leak from failure_path context
Raphaël Gertz [Mon, 11 Dec 2023 02:27:51 +0000 (03:27 +0100)]
Remove mail and hash possible leak from failure_path context
Add disabled and unactivated user handling
Add flash error for not enabled user
Send confirm mail on unactivated user
Cleanup

12 months agoUse register inherited forms
Raphaël Gertz [Mon, 11 Dec 2023 02:19:40 +0000 (03:19 +0100)]
Use register inherited forms

12 months agoAdd password_repeated option
Raphaël Gertz [Mon, 11 Dec 2023 02:16:42 +0000 (03:16 +0100)]
Add password_repeated option
Add active and enable fields
Reorder options

12 months agoAdd default admin role
Raphaël Gertz [Mon, 11 Dec 2023 02:15:05 +0000 (03:15 +0100)]
Add default admin role
Add edit admin field entry
Use proper separated forms
Add index entry

12 months agoAdd ROLE_ related note
Raphaël Gertz [Mon, 11 Dec 2023 02:14:16 +0000 (03:14 +0100)]
Add ROLE_ related note

12 months agoAdd is enabled check
Raphaël Gertz [Mon, 11 Dec 2023 02:13:56 +0000 (03:13 +0100)]
Add is enabled check

12 months agoRename default controller to user controller
Raphaël Gertz [Mon, 11 Dec 2023 02:12:20 +0000 (03:12 +0100)]
Rename default controller to user controller

12 months agoRename default controller to user controller
Raphaël Gertz [Mon, 11 Dec 2023 02:10:42 +0000 (03:10 +0100)]
Rename default controller to user controller
Remove field, hash and mail from register
Sort by route name

12 months agoRename default controller to user controller
Raphaël Gertz [Mon, 11 Dec 2023 02:10:05 +0000 (03:10 +0100)]
Rename default controller to user controller
Add mailer and stack member to AuthenticationFailureHandler
Add checker and security member to UserController
Add repository factory

12 months agoCleanup
Raphaël Gertz [Mon, 11 Dec 2023 01:58:35 +0000 (02:58 +0100)]
Cleanup

12 months agoAdd index function
Raphaël Gertz [Mon, 11 Dec 2023 01:42:05 +0000 (02:42 +0100)]
Add index function
Remove field, hash and mail from register context
Use checker isGranted member function
Use security getUser member function
Cleanup
Set edit form field from admin or user set
Add disabled and sent query parameter to login context
Cleanup recover function
Cleanup register function
Fix user constructor arguments
Set register form field from admin or user set
Fix translation of context

12 months agoAdd checker, limit, page and security members
Raphaël Gertz [Mon, 11 Dec 2023 01:39:30 +0000 (02:39 +0100)]
Add checker, limit, page and security members
Fix canonical key

12 months agoAdd doctrine, mailer, stack and translation members
Raphaël Gertz [Sun, 3 Dec 2023 23:20:12 +0000 (00:20 +0100)]
Add doctrine, mailer, stack and translation members
Add addFlash member function
Integrate enable and active checks on login failure handler

12 months agoSet strict type
Raphaël Gertz [Sun, 3 Dec 2023 22:54:52 +0000 (23:54 +0100)]
Set strict type
Add twig service
Use languages keys instead of dropped config locales
Move alternates to head subkey
Add render function

12 months agoReplace disabled with enable
Raphaël Gertz [Sun, 3 Dec 2023 22:53:31 +0000 (23:53 +0100)]
Replace disabled with enable

12 months agoReplace disabled with enable
Raphaël Gertz [Sun, 3 Dec 2023 22:52:20 +0000 (23:52 +0100)]
Replace disabled with enable

12 months agoFix Addess argument naming
Raphaël Gertz [Wed, 29 Nov 2023 16:55:04 +0000 (17:55 +0100)]
Fix Addess argument naming

12 months agoAdd twig service to default controller constructor
Raphaël Gertz [Wed, 29 Nov 2023 16:53:28 +0000 (17:53 +0100)]
Add twig service to default controller constructor
Add required arguments to auth failure handler

12 months agoAdapt entity and user checker to match with symfony classes and interfaces
Raphaël Gertz [Wed, 29 Nov 2023 15:21:48 +0000 (16:21 +0100)]
Adapt entity and user checker to match with symfony classes and interfaces

13 months agoCleanup 0.3.0
Raphaël Gertz [Fri, 10 Nov 2023 11:26:40 +0000 (12:26 +0100)]
Cleanup

13 months agoStrict types
Raphaël Gertz [Fri, 10 Nov 2023 11:26:11 +0000 (12:26 +0100)]
Strict types

13 months agoStrict types
Raphaël Gertz [Fri, 10 Nov 2023 11:25:49 +0000 (12:25 +0100)]
Strict types

13 months agoStrict types
Raphaël Gertz [Fri, 10 Nov 2023 11:24:44 +0000 (12:24 +0100)]
Strict types
Constructor with possible arguments

13 months agoRemove locales key
Raphaël Gertz [Fri, 10 Nov 2023 11:22:30 +0000 (12:22 +0100)]
Remove locales key

13 months agoRemove container member defined in BaseAbstractController
Raphaël Gertz [Fri, 10 Nov 2023 11:19:22 +0000 (12:19 +0100)]
Remove container member defined in BaseAbstractController

23 months agoUpdate composer requires 0.2.3
Raphaël Gertz [Fri, 13 Jan 2023 02:18:07 +0000 (03:18 +0100)]
Update composer requires

23 months agoSet mail as optional 0.2.2
Raphaël Gertz [Fri, 13 Jan 2023 02:16:05 +0000 (03:16 +0100)]
Set mail as optional

2 years agoAdd contribute 0.2.1
Raphaël Gertz [Mon, 3 Oct 2022 03:46:36 +0000 (05:46 +0200)]
Add contribute
Update composer configuration
Cleanup

2 years agoRemove unnecessary dev requirement
Raphaël Gertz [Mon, 3 Oct 2022 03:45:39 +0000 (05:45 +0200)]
Remove unnecessary dev requirement

2 years agoImplement Serializable interface
Raphaël Gertz [Mon, 3 Oct 2022 00:17:00 +0000 (02:17 +0200)]
Implement Serializable interface

2 years agoAdd note about normalisation prevention
Raphaël Gertz [Mon, 3 Oct 2022 00:16:18 +0000 (02:16 +0200)]
Add note about normalisation prevention

3 years agoTransform default scalar prototype in variable prototype to allow custom defaults 0.2.0
Raphaël Gertz [Wed, 15 Sep 2021 15:34:49 +0000 (17:34 +0200)]
Transform default scalar prototype in variable prototype to allow custom defaults

3 years agoAdd requirement
Raphaël Gertz [Wed, 15 Sep 2021 15:32:55 +0000 (17:32 +0200)]
Add requirement

3 years agoHandle null mail and password on new User entity
Raphaël Gertz [Wed, 15 Sep 2021 15:32:12 +0000 (17:32 +0200)]
Handle null mail and password on new User entity

3 years agoCheck form submission and validity
Raphaël Gertz [Wed, 15 Sep 2021 15:30:54 +0000 (17:30 +0200)]
Check form submission and validity
Reorder fields
Cleanup

3 years agoReorder fields
Raphaël Gertz [Wed, 15 Sep 2021 15:30:33 +0000 (17:30 +0200)]
Reorder fields
Cleanup

3 years agoMakes forename and surname nullable
Raphaël Gertz [Wed, 15 Sep 2021 15:20:59 +0000 (17:20 +0200)]
Makes forename and surname nullable
Specify required fields
Cleanup

3 years agoMakes forename and surname nullable
Raphaël Gertz [Wed, 15 Sep 2021 15:02:29 +0000 (17:02 +0200)]
Makes forename and surname nullable

3 years agoAdd symfony 5.3 required PasswordAuthenticatedUserInterface interface
Raphaël Gertz [Wed, 15 Sep 2021 15:01:32 +0000 (17:01 +0200)]
Add symfony 5.3 required PasswordAuthenticatedUserInterface interface
Makes forename and surname nullable

3 years agoRevert change as getUsername is abstract and thus required
Raphaël Gertz [Wed, 8 Sep 2021 16:39:06 +0000 (18:39 +0200)]
Revert change as getUsername is abstract and thus required

3 years agoFix upstream config file path
Raphaël Gertz [Wed, 8 Sep 2021 16:37:06 +0000 (18:37 +0200)]
Fix upstream config file path

3 years agoFix replacement of getUsername by getUserIdentifier in symfony 5.3+
Raphaël Gertz [Wed, 8 Sep 2021 16:36:14 +0000 (18:36 +0200)]
Fix replacement of getUsername by getUserIdentifier in symfony 5.3+

3 years agoFix encodePassword renaming in hashPassword
Raphaël Gertz [Wed, 8 Sep 2021 16:33:51 +0000 (18:33 +0200)]
Fix encodePassword renaming in hashPassword

3 years agoUse every services specified in abstract controller
Raphaël Gertz [Tue, 7 Sep 2021 13:51:48 +0000 (15:51 +0200)]
Use every services specified in abstract controller
Cleanup

3 years agoRemove dropped controller trait
Raphaël Gertz [Tue, 7 Sep 2021 13:50:40 +0000 (15:50 +0200)]
Remove dropped controller trait
Follow translator interface renaming
Specify every services in controller

3 years agoAdd note about positional replaced argument
Raphaël Gertz [Tue, 7 Sep 2021 13:49:17 +0000 (15:49 +0200)]
Add note about positional replaced argument
Cleanup indent

3 years agoFix user checker base class
Raphaël Gertz [Tue, 7 Sep 2021 13:48:11 +0000 (15:48 +0200)]
Fix user checker base class

3 years agoReplace logout success handler with default logout listener
Raphaël Gertz [Tue, 7 Sep 2021 13:47:48 +0000 (15:47 +0200)]
Replace logout success handler with default logout listener

3 years agoReplace logout success handler with default logout listener
Raphaël Gertz [Tue, 7 Sep 2021 13:46:24 +0000 (15:46 +0200)]
Replace logout success handler with default logout listener
Specify every argument in astract controller

3 years agoFix optional argument warning
Raphaël Gertz [Tue, 7 Sep 2021 13:37:41 +0000 (15:37 +0200)]
Fix optional argument warning
Fix undefined route variable

3 years agoFix reset password message display condition
Raphaël Gertz [Sat, 28 Aug 2021 11:06:32 +0000 (13:06 +0200)]
Fix reset password message display condition
Remove slug reference

3 years agoSwitch to new getRecipientName user entity function
Raphaël Gertz [Sat, 28 Aug 2021 10:38:10 +0000 (12:38 +0200)]
Switch to new getRecipientName user entity function
Cleanup

3 years agoAdd getRecipientName function
Raphaël Gertz [Sat, 28 Aug 2021 10:35:39 +0000 (12:35 +0200)]
Add getRecipientName function
Replace empty password with mail
Revert to empty forename and surname when not provided

3 years agoFix extraction of forename and surname from mail when empty
Raphaël Gertz [Sat, 28 Aug 2021 10:15:04 +0000 (12:15 +0200)]
Fix extraction of forename and surname from mail when empty

3 years agoRemove pseudonym and slug
Raphaël Gertz [Sat, 28 Aug 2021 09:09:46 +0000 (11:09 +0200)]
Remove pseudonym and slug

3 years agoCleanup
Raphaël Gertz [Sat, 28 Aug 2021 09:09:32 +0000 (11:09 +0200)]
Cleanup

3 years agoCleanup
Raphaël Gertz [Sat, 28 Aug 2021 09:09:20 +0000 (11:09 +0200)]
Cleanup

3 years agoRemove pseudonym and slug
Raphaël Gertz [Sat, 28 Aug 2021 09:08:53 +0000 (11:08 +0200)]
Remove pseudonym and slug
Cleanup

3 years agoInitialize all fields
Raphaël Gertz [Sat, 28 Aug 2021 09:08:26 +0000 (11:08 +0200)]
Initialize all fields
Cleanup

3 years agoInitialize all fields
Raphaël Gertz [Sat, 28 Aug 2021 09:08:04 +0000 (11:08 +0200)]
Initialize all fields
Cleanup

3 years agoRemove pseudonym and slug
Raphaël Gertz [Sat, 28 Aug 2021 09:06:19 +0000 (11:06 +0200)]
Remove pseudonym and slug
Add forename and surname in serializing
Set forename and surname from mail extraction
Initialize all fields

3 years agoRemove slug support
Raphaël Gertz [Sat, 28 Aug 2021 09:04:40 +0000 (11:04 +0200)]
Remove slug support
Remove forename, surname and pseudonym extraction from mail
Add support for configurable field

3 years agoAdd new field configuration entry
Raphaël Gertz [Sat, 28 Aug 2021 09:03:12 +0000 (11:03 +0200)]
Add new field configuration entry

3 years agoUpdate composer deps
Raphaël Gertz [Sat, 28 Aug 2021 03:19:45 +0000 (05:19 +0200)]
Update composer deps

3 years agoImprove disabled 403 status code response
Raphaël Gertz [Sat, 28 Aug 2021 03:14:24 +0000 (05:14 +0200)]
Improve disabled 403 status code response
Cleanup

3 years agoAdd slug
Raphaël Gertz [Mon, 23 Aug 2021 07:28:58 +0000 (09:28 +0200)]
Add slug

3 years agoAdd slug
Raphaël Gertz [Mon, 23 Aug 2021 07:28:29 +0000 (09:28 +0200)]
Add slug

3 years agoAdd slug
Raphaël Gertz [Mon, 23 Aug 2021 07:26:42 +0000 (09:26 +0200)]
Add slug
Cleanup

3 years agoAdd slug
Raphaël Gertz [Mon, 23 Aug 2021 07:25:47 +0000 (09:25 +0200)]
Add slug
Handle duplicate slug
Move common stuff in AbstractController
Cleanup

3 years agoAdd user abstract controller
Raphaël Gertz [Mon, 23 Aug 2021 07:24:30 +0000 (09:24 +0200)]
Add user abstract controller

3 years agoAdd doctrine preUpdate lifecycleCallbacks on civility and group
Raphaël Gertz [Mon, 23 Aug 2021 07:07:47 +0000 (09:07 +0200)]
Add doctrine preUpdate lifecycleCallbacks on civility and group

3 years agoCleanup
Raphaël Gertz [Tue, 17 Aug 2021 23:56:28 +0000 (01:56 +0200)]
Cleanup
Log submitted mail by default
Instantiate user when mail is available and force cast it as string

3 years agoAdd strict
Raphaël Gertz [Mon, 16 Aug 2021 22:58:54 +0000 (00:58 +0200)]
Add strict
Add title as Civility and Group required constructor argument
Return right type on set functions

3 years agoAdd strict
Raphaël Gertz [Thu, 12 Aug 2021 12:54:36 +0000 (14:54 +0200)]
Add strict

3 years agoAdd strict
Raphaël Gertz [Thu, 12 Aug 2021 12:54:10 +0000 (14:54 +0200)]
Add strict
Remove flatten function
Cleanup

3 years agoRemove unused form types
Raphaël Gertz [Thu, 12 Aug 2021 12:40:27 +0000 (14:40 +0200)]
Remove unused form types

3 years agoAdd strict type
Raphaël Gertz [Thu, 12 Aug 2021 12:39:50 +0000 (14:39 +0200)]
Add strict type
Cleanup

3 years agoUpdate doc
Raphaël Gertz [Thu, 12 Aug 2021 12:25:07 +0000 (14:25 +0200)]
Update doc

3 years agoAdd user checker
Raphaël Gertz [Thu, 12 Aug 2021 11:56:41 +0000 (13:56 +0200)]
Add user checker
Add authentication failure handler
Add unactivated exception

3 years agoFix variable name
Raphaël Gertz [Thu, 12 Aug 2021 11:51:27 +0000 (13:51 +0200)]
Fix variable name
Remove useless setUpdated we have doctrine preUpdate lifecycleCallbacks
Handle existing, activated and disabled user
Cleanup

3 years agoCleanup
Raphaël Gertz [Thu, 12 Aug 2021 11:37:35 +0000 (13:37 +0200)]
Cleanup

3 years agoRemove @xxx as it trigger an annotation error
Raphaël Gertz [Thu, 12 Aug 2021 11:36:39 +0000 (13:36 +0200)]
Remove @xxx as it trigger an annotation error

3 years agoSet as static
Raphaël Gertz [Thu, 12 Aug 2021 11:29:28 +0000 (13:29 +0200)]
Set as static

3 years agoReplace security.authentication.failure_handler and security.user_checker
Raphaël Gertz [Thu, 12 Aug 2021 11:28:56 +0000 (13:28 +0200)]
Replace security.authentication.failure_handler and security.user_checker

3 years agoAdd disabled member
Raphaël Gertz [Thu, 12 Aug 2021 11:28:01 +0000 (13:28 +0200)]
Add disabled member

3 years agoAdd strict
Raphaël Gertz [Thu, 12 Aug 2021 11:27:24 +0000 (13:27 +0200)]
Add strict
Add isActivated and isDisabled
Add disabled member

3 years agoCleanup
Raphaël Gertz [Thu, 12 Aug 2021 07:28:01 +0000 (09:28 +0200)]
Cleanup

3 years agoAdd strict
Raphaël Gertz [Thu, 12 Aug 2021 07:17:49 +0000 (09:17 +0200)]
Add strict
Fix edit permission check
Restrict reset to admin
Remove edit form
Add edit editForm
Cleanup

3 years agoAdd auth success handler
Raphaël Gertz [Thu, 12 Aug 2021 06:22:20 +0000 (08:22 +0200)]
Add auth success handler

3 years agoAdd strict mode
Raphaël Gertz [Thu, 12 Aug 2021 06:22:02 +0000 (08:22 +0200)]
Add strict mode

3 years agoMigrate doc to code
Raphaël Gertz [Thu, 12 Aug 2021 06:20:06 +0000 (08:20 +0200)]
Migrate doc to code

3 years agoExtends DefaultLogoutSuccessHandler
Raphaël Gertz [Thu, 12 Aug 2021 06:13:59 +0000 (08:13 +0200)]
Extends DefaultLogoutSuccessHandler
Prevent method not allowed by protecting match with a new context
Use contructor matching symfony magic
Protect route generation and matching
Cleanup

3 years agoSet AuthenticationSuccessHandler and LogoutSuccessHandler as global security handlers
Raphaël Gertz [Thu, 12 Aug 2021 06:10:59 +0000 (08:10 +0200)]
Set AuthenticationSuccessHandler and LogoutSuccessHandler as global security handlers

3 years agoRemove edit view form formType
Raphaël Gertz [Thu, 12 Aug 2021 06:09:05 +0000 (08:09 +0200)]
Remove edit view form formType
Add edit vied edit and reset formType
Cleanup

3 years agoSwitch to RapsysUserBundle::getAlias
Raphaël Gertz [Wed, 11 Aug 2021 18:51:09 +0000 (20:51 +0200)]
Switch to RapsysUserBundle::getAlias
Only activate account in confirm
Remove extra from confirm route
Add hash check on mail field in edit
Restrict edition of user to only admin and same logged user
Use common LoginType for login and recover
Prefill mail in login if available
Prefill mail in register if available
Create unactivated user in register
Log new user in emergency log
Add route arguments in register form action to allow resubmit
Use mail as default password if not provided
Existing user in register get redirected to  to user edit form on regist
Move doctrine and manager in binded method arguments
Get alias from RapsysUserBundle::getAlias
Cleanup

3 years agoSet mail as last field as it may be empty
Raphaël Gertz [Wed, 11 Aug 2021 18:47:17 +0000 (20:47 +0200)]
Set mail as last field as it may be empty
Set hash as first field as it should never be empty

3 years agoUse RapsysUserBundle::getAlias to retrieve alias
Raphaël Gertz [Wed, 11 Aug 2021 18:43:53 +0000 (20:43 +0200)]
Use RapsysUserBundle::getAlias to retrieve alias

3 years agoUse RapsysUserBundle::getAlias to retrieve alias
Raphaël Gertz [Wed, 11 Aug 2021 18:43:33 +0000 (20:43 +0200)]
Use RapsysUserBundle::getAlias to retrieve alias

3 years agoGenerate alias from class name
Raphaël Gertz [Wed, 11 Aug 2021 18:41:43 +0000 (20:41 +0200)]
Generate alias from class name

3 years agoFix civility to have default value and not forced value
Raphaël Gertz [Wed, 11 Aug 2021 18:41:17 +0000 (20:41 +0200)]
Fix civility to have default value and not forced value