]> Raphaël G. Git Repositories - userbundle/log
userbundle
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

3 years agoSet mail, password as optional field
Raphaël Gertz [Wed, 11 Aug 2021 18:39:45 +0000 (20:39 +0200)]
Set mail, password as optional field
Add repeated password option
Enable all field by default

3 years agoSet civility as optional
Raphaël Gertz [Wed, 11 Aug 2021 18:38:11 +0000 (20:38 +0200)]
Set civility as optional

3 years agoAdd LogoutSuccessHandler
Raphaël Gertz [Wed, 11 Aug 2021 18:37:54 +0000 (20:37 +0200)]
Add LogoutSuccessHandler

3 years agoAdd LogoutSuccessHandler
Raphaël Gertz [Wed, 11 Aug 2021 18:37:34 +0000 (20:37 +0200)]
Add LogoutSuccessHandler

3 years agoRemove slugger utils (moved in rapsys_pack)
Raphaël Gertz [Wed, 11 Aug 2021 18:36:58 +0000 (20:36 +0200)]
Remove slugger utils (moved in rapsys_pack)

3 years agoAdd locale
Raphaël Gertz [Sun, 8 Aug 2021 17:47:06 +0000 (19:47 +0200)]
Add locale
Translate title
Merge global context in view contexts
Prevent error when translate key is not set
Restrict alternate and canonical link to view context
Add confirm and edit feature
Change recover to handle link with mail, pass and hash directly
Remove recoverMail action
Change register to generate a mail with confirmation link
Confirm now create user and fill extra fields or guess them form mail
Register log new user in emergency log with mail, locale and confirm
Remove flatten moved to Rapsys\PackBundle\Util\SluggerUtil

3 years agoChange class to anonymous array to allow extra classes
Raphaël Gertz [Sun, 8 Aug 2021 17:44:44 +0000 (19:44 +0200)]
Change class to anonymous array to allow extra classes

3 years agoEnable all fields by default
Raphaël Gertz [Sun, 8 Aug 2021 17:43:35 +0000 (19:43 +0200)]
Enable all fields by default

3 years agoAdd extra field on confirm url
Raphaël Gertz [Sun, 8 Aug 2021 17:42:09 +0000 (19:42 +0200)]
Add extra field on confirm url
Add mail and hash field on login url
Add pass field on recover url
Rename fields to field

3 years agoRemove slugger service
Raphaël Gertz [Sun, 8 Aug 2021 13:09:14 +0000 (15:09 +0200)]
Remove slugger service

3 years agoAdd confirm and edit route
Raphaël Gertz [Sun, 8 Aug 2021 13:07:31 +0000 (15:07 +0200)]
Add confirm and edit route
Improve recover and register route
Resort routes
Cleanup

3 years agoAdd option to enable each field individualy
Raphaël Gertz [Sun, 8 Aug 2021 13:05:27 +0000 (15:05 +0200)]
Add option to enable each field individualy
Add note about civility
Add strict types
Improve documentation
Cleanup

3 years agoAdd password field
Raphaël Gertz [Sun, 8 Aug 2021 13:02:28 +0000 (15:02 +0200)]
Add password field
Add option to enable each field individualy

3 years agoAdd confirm and edit route
Raphaël Gertz [Sun, 8 Aug 2021 12:57:57 +0000 (14:57 +0200)]
Add confirm and edit route
Add global context
Add edit context
Use full locale
Remove recover_mail
Add strict types
Improve documentation
New tree layout
Cleanup

3 years agoUpdate mail address
Raphaël Gertz [Sun, 8 Aug 2021 12:48:16 +0000 (14:48 +0200)]
Update mail address
Update composer requires

3 years agoLast version before drop
Raphaël Gertz [Sun, 8 Aug 2021 12:38:02 +0000 (14:38 +0200)]
Last version before drop

3 years agoRename contact.name to contact.title
Raphaël Gertz [Wed, 28 Jul 2021 06:55:10 +0000 (08:55 +0200)]
Rename contact.name to contact.title

3 years agoSwitch to new full locale naming 0.1.9
Raphaël Gertz [Wed, 28 Jul 2021 06:17:43 +0000 (08:17 +0200)]
Switch to new full locale naming

3 years agoUse Transliterator from root namespace
Raphaël Gertz [Wed, 28 Jul 2021 06:16:38 +0000 (08:16 +0200)]
Use Transliterator from root namespace

3 years agoCleanup
Raphaël Gertz [Wed, 28 Jul 2021 06:16:11 +0000 (08:16 +0200)]
Cleanup

3 years agoContextualize mail and password field 0.1.7 0.1.8
Raphaël Gertz [Sat, 8 May 2021 02:52:12 +0000 (04:52 +0200)]
Contextualize mail and password field

3 years agoAdd preUpdate life cycle callback
Raphaël Gertz [Sat, 8 May 2021 02:51:24 +0000 (04:51 +0200)]
Add preUpdate life cycle callback

3 years agoAdd security context service 0.1.6
Raphaël Gertz [Tue, 23 Feb 2021 23:14:37 +0000 (00:14 +0100)]
Add security context service

3 years agoRename title in civility
Raphaël Gertz [Tue, 23 Feb 2021 23:10:35 +0000 (00:10 +0100)]
Rename title in civility

3 years agoRename title in civility
Raphaël Gertz [Tue, 23 Feb 2021 23:10:14 +0000 (00:10 +0100)]
Rename title in civility

3 years agoRename title in civility
Raphaël Gertz [Tue, 23 Feb 2021 23:09:58 +0000 (00:09 +0100)]
Rename title in civility

3 years agoRename title in civility
Raphaël Gertz [Tue, 23 Feb 2021 23:09:43 +0000 (00:09 +0100)]
Rename title in civility

3 years agoRename title in civility
Raphaël Gertz [Tue, 23 Feb 2021 23:08:37 +0000 (00:08 +0100)]
Rename title in civility

3 years agoAdd rapsys_user translate, locales and languages config keys 0.1.5
Raphaël Gertz [Mon, 28 Dec 2020 07:01:25 +0000 (08:01 +0100)]
Add rapsys_user translate, locales and languages config keys
Implement the possibility to translate subkey in context
Document fonctions

3 years agoMove recover global form error message to mail entity 0.1.4
Raphaël Gertz [Mon, 7 Dec 2020 22:56:44 +0000 (23:56 +0100)]
Move recover global form error message to mail entity
Prefill title on registration action
Add every group to user where group's title is in rapsys_user.default.group

3 years agoAdd default title and group
Raphaël Gertz [Mon, 7 Dec 2020 22:56:05 +0000 (23:56 +0100)]
Add default title and group

3 years agoAdd optional prefill of title
Raphaël Gertz [Mon, 7 Dec 2020 22:53:09 +0000 (23:53 +0100)]
Add optional prefill of title

3 years agoAdd classname alias to avoid argument binding failure
Raphaël Gertz [Mon, 7 Dec 2020 22:52:27 +0000 (23:52 +0100)]
Add classname alias to avoid argument binding failure

3 years agoRemove default ROLE_USER role from user entity, group(s), by title(s), (is|are) now...
Raphaël Gertz [Mon, 7 Dec 2020 22:11:46 +0000 (23:11 +0100)]
Remove default ROLE_USER role from user entity, group(s), by title(s), (is|are) now added from rapsys_user.default.group array at registration

4 years agoPrefix with bundle name slugger alias to avoid conflict 0.1.3
Raphaël Gertz [Sun, 29 Nov 2020 07:44:44 +0000 (08:44 +0100)]
Prefix with bundle name slugger alias to avoid conflict

4 years agoRemove dot and extension cleaning
Raphaël Gertz [Sun, 29 Nov 2020 07:37:04 +0000 (08:37 +0100)]
Remove dot and extension cleaning

4 years agoUse ICU Transliterator transliterate feature when available
Raphaël Gertz [Sun, 29 Nov 2020 07:34:11 +0000 (08:34 +0100)]
Use ICU Transliterator transliterate feature when available

4 years agoDefine slugger class before the class requiring it
Raphaël Gertz [Sun, 29 Nov 2020 07:33:23 +0000 (08:33 +0100)]
Define slugger class before the class requiring it

4 years agoReplace kernel.secret value with env APP_SECRET 0.1.2
Raphaël Gertz [Wed, 14 Oct 2020 01:38:48 +0000 (03:38 +0200)]
Replace kernel.secret value with env APP_SECRET

4 years agoReplace service Rapsys\UserBundle\Utils\Slugger with alias rapsys.slugger
Raphaël Gertz [Wed, 11 Dec 2019 03:41:48 +0000 (04:41 +0100)]
Replace service Rapsys\UserBundle\Utils\Slugger with alias rapsys.slugger

4 years agoCleanup
Raphaël Gertz [Wed, 11 Dec 2019 03:39:57 +0000 (04:39 +0100)]
Cleanup
Change arrays to php7 style
Add class_title in defaults to avoid requirement

4 years agoAdd recover form directly on login page on failure
Raphaël Gertz [Wed, 11 Dec 2019 03:37:33 +0000 (04:37 +0100)]
Add recover form directly on login page on failure

4 years agoRename field role to title
Raphaël Gertz [Wed, 11 Dec 2019 03:35:21 +0000 (04:35 +0100)]
Rename field role to title
Add getRole function that returns the role from title
Add magic method __toString that return a group representation

4 years agoAdd parameter and return types
Raphaël Gertz [Wed, 11 Dec 2019 03:31:49 +0000 (04:31 +0100)]
Add parameter and return types
Cleanup
Fix getRoles method to return a smarter array
Add getRole method that return the role for group with highest id
Add __toString magic method that returns a user representation

4 years agoRename role field in title
Raphaël Gertz [Wed, 11 Dec 2019 03:30:57 +0000 (04:30 +0100)]
Rename role field in title
Fix title length to 16

4 years agoAdd function parameter and return types
Raphaël Gertz [Wed, 11 Dec 2019 03:27:39 +0000 (04:27 +0100)]
Add function parameter and return types

4 years agoRemove Title entity short field and related methods
Raphaël Gertz [Wed, 11 Dec 2019 03:25:11 +0000 (04:25 +0100)]
Remove Title entity short field and related methods
Add __toString magic method

5 years agoSwitch from Mime\NamedAddress to Mime\Address as it do not exists anymore in symfony 4.4
Raphaël Gertz [Wed, 27 Nov 2019 16:29:08 +0000 (17:29 +0100)]
Switch from Mime\NamedAddress to Mime\Address as it do not exists anymore in symfony 4.4

5 years agoUpdate gitignore
Raphaël Gertz [Wed, 27 Nov 2019 01:13:27 +0000 (02:13 +0100)]
Update gitignore

5 years agoImport gitignore
Raphaël Gertz [Wed, 27 Nov 2019 01:11:52 +0000 (02:11 +0100)]
Import gitignore

5 years agoAdd configurations files 0.1.1
Raphaël Gertz [Tue, 26 Nov 2019 22:29:22 +0000 (23:29 +0100)]
Add configurations files

5 years agoChange homepage route to index
Raphaël Gertz [Tue, 26 Nov 2019 22:24:55 +0000 (23:24 +0100)]
Change homepage route to index
Change context node to variablePrototype
Move route leaf one rank up as it is common to view and mail now

5 years agoGenerate routes in view and mail config contexts except recover_mail which requires...
Raphaël Gertz [Tue, 26 Nov 2019 22:22:07 +0000 (23:22 +0100)]
Generate routes in view and mail config contexts except recover_mail which requires parameters
Append view context to mail context to avoid parameter duplication

5 years agoFix requirement 0.1.0
Raphaël Gertz [Thu, 14 Nov 2019 22:35:24 +0000 (23:35 +0100)]
Fix requirement
Switch to a new more extensible configuration tree
Update translator wiring
Fix uses
Switch to new TemplatedEmail

5 years agoInit path for unused flatten function
Raphaël Gertz [Thu, 14 Nov 2019 22:30:09 +0000 (23:30 +0100)]
Init path for unused flatten function

5 years agoUpdate configuration tree
Raphaël Gertz [Thu, 14 Nov 2019 22:29:27 +0000 (23:29 +0100)]
Update configuration tree

5 years agoRemove deprecated AdvancedUserInterface
Raphaël Gertz [Thu, 14 Nov 2019 22:28:13 +0000 (23:28 +0100)]
Remove deprecated AdvancedUserInterface
Fix roles generation
Add symfony class uses

5 years agoChange alphabet generation
Raphaël Gertz [Thu, 14 Nov 2019 22:22:42 +0000 (23:22 +0100)]
Change alphabet generation
Fix a huge regression with recent php7 smart behaviour which resulter in data corruption
Various cleanup

5 years agoSort use classes
Raphaël Gertz [Thu, 14 Nov 2019 08:03:09 +0000 (09:03 +0100)]
Sort use classes

5 years agoRemove deprecated extension of \Symfony\Component\Security\Core\Role\Role class
Raphaël Gertz [Thu, 14 Nov 2019 08:02:24 +0000 (09:02 +0100)]
Remove deprecated extension of \Symfony\Component\Security\Core\Role\Role class

5 years agoRevert doctrine Resources/config/doctrine/*.orm.yaml files back to .orm.yml extension
Raphaël Gertz [Thu, 14 Nov 2019 08:00:36 +0000 (09:00 +0100)]
Revert doctrine Resources/config/doctrine/*.orm.yaml files back to .orm.yml extension

5 years agoRemove cannotBeEmpty() requirement on empty keys
Raphaël Gertz [Thu, 7 Nov 2019 03:52:17 +0000 (04:52 +0100)]
Remove cannotBeEmpty() requirement on empty keys

5 years agoRetrieve config in constructor
Raphaël Gertz [Thu, 7 Nov 2019 03:51:20 +0000 (04:51 +0100)]
Retrieve config in constructor
Retrieve container and translator arguments in constructor
Use central getAlias() function
Switch to new array based config

5 years agoAdd change to do 0.0.2
Raphaël Gertz [Thu, 7 Nov 2019 02:52:11 +0000 (03:52 +0100)]
Add change to do

5 years agoRename to yaml doctrine config files
Raphaël Gertz [Thu, 7 Nov 2019 02:50:07 +0000 (03:50 +0100)]
Rename to yaml doctrine config files

5 years agoMove configuration under rapsys_user key
Raphaël Gertz [Thu, 7 Nov 2019 02:49:15 +0000 (03:49 +0100)]
Move configuration under rapsys_user key
Cleanup

5 years agoMove configuration under rapsys_user key
Raphaël Gertz [Thu, 7 Nov 2019 02:48:25 +0000 (03:48 +0100)]
Move configuration under rapsys_user key

5 years agoUpdate to new symfony 4.x style
Raphaël Gertz [Mon, 28 Oct 2019 20:06:16 +0000 (21:06 +0100)]
Update to new symfony 4.x style

5 years agoRename the extension
Raphaël Gertz [Mon, 28 Oct 2019 20:04:16 +0000 (21:04 +0100)]
Rename the extension

5 years agoRemove config files moved in recipes
Raphaël Gertz [Mon, 28 Oct 2019 19:59:16 +0000 (20:59 +0100)]
Remove config files moved in recipes

5 years agoCleanup
Raphaël Gertz [Mon, 28 Oct 2019 19:49:38 +0000 (20:49 +0100)]
Cleanup
Fix requires

5 years agoRemove useless manifest
Raphaël Gertz [Mon, 28 Oct 2019 19:49:20 +0000 (20:49 +0100)]
Remove useless manifest

5 years agoFix manifest to install from package instead of recipe
Raphaël Gertz [Fri, 25 Oct 2019 17:11:23 +0000 (19:11 +0200)]
Fix manifest to install from package instead of recipe

5 years agoAdd manifest, licence, readme and composer files
Raphaël Gertz [Fri, 25 Oct 2019 14:31:16 +0000 (16:31 +0200)]
Add manifest, licence, readme and composer files

6 years agoFirst version 0.0.1
Raphaël Gertz [Sun, 1 Jul 2018 07:27:20 +0000 (09:27 +0200)]
First version