Commit Graph

18804 Commits

Author SHA1 Message Date
Hugo Sales 576d6eb11c
[UTIL][NICKNAME][FIX] Add self to constant 2021-09-14 13:05:44 +01:00
Hugo Sales 8b7dd48344
[UI][USERPANEL] Add prefilled fields, mark some as optional and handle self tags in the profile settings page 2021-09-14 13:05:44 +01:00
Hugo Sales 207eeb39ca
[SELFTAGS] Add Profile::{set,get}SelfTags 2021-09-14 13:05:43 +01:00
Hugo Sales 1e911f1ba4
[FORM] Add Form::isRequired 2021-09-14 13:05:43 +01:00
Hugo Sales 6adb527fe0
[DATABASE] Refactor DB.php and make findBy always return an array, instead of a doctrine collection 2021-09-14 13:05:43 +01:00
Hugo Sales 040c400bfe
[UTIL] Update Formatting::{toString,toArray} to allow spliting by either space or comma 2021-09-14 13:05:43 +01:00
Alexei Sorokin 66c38d777a
[SECURITY] Update way passwords are checked and update 2021-09-14 13:05:43 +01:00
rainydaysavings ea131d03e1
[TWIG][ROUTES] Footer links routes and pages added 2021-09-14 13:05:43 +01:00
rainydaysavings fa613b7098
[UI][ROUTES] Footer links added 2021-09-14 13:05:43 +01:00
rainydaysavings 6d4f6b5109
[UI] Fixing problem due to Firefox's autofill filter 2021-09-14 13:05:43 +01:00
rainydaysavings 51f79242b7
[UI] Login template small fix 2021-09-14 13:05:43 +01:00
rainydaysavings 0dc3d3023e
[UI] Left panel template and Login page CSS work done 2021-09-14 13:05:42 +01:00
Hugo Sales 3ba46a9a60
[SECURITY][CONTROLLER] Remove unreachable code from the Security controller 2021-09-14 13:05:42 +01:00
Hugo Sales c26ffe09b6
[CONTROLLER][ADMIN][CONFIG] Fix form to use static strings as keys and add labels seperately; convert input from string to appropriate type 2021-09-14 13:05:42 +01:00
Hugo Sales b772702895
[LIB][Util] Update Common::setConfig to throw an exception if appropriate, add Formatting::{toString,toArray} 2021-09-14 13:05:42 +01:00
Hugo Sales 647fd421ee
[I18N] Remove incomplete autogenerated translation file, to be fixed later 2021-09-14 13:05:42 +01:00
Hugo Sales 91af1be470
[AUTOGENERATED] Update all entity fields 2021-09-14 13:05:42 +01:00
Hugo Sales e0cc125907
[SECURITY] Small refactor in Authenticator.php, to remove unused services 2021-09-14 13:05:42 +01:00
Hugo Sales c973517397
[USER][UI][AUTHENTICATION] Add registration form 2021-09-14 13:05:42 +01:00
Hugo Sales 17dc298dfa
[UTIL][NICKNAME] Small refactor and remove the check between user nickname and group_alias, as these will have different semantics 2021-09-14 13:05:42 +01:00
Hugo Sales 5b578b9519
[DATABASE] Fix typos in user_notification_prefs 2021-09-14 13:05:42 +01:00
Hugo Sales 6e6c7ede1e
[DATABASE] Fix typo in profile table and add a constructor 2021-09-14 13:05:41 +01:00
Hugo Sales 7c6112b887
[FORM][WRAPPER] Merge argument options, not replace 2021-09-14 13:05:41 +01:00
Hugo Sales a85fc2d0bd
[DATABASE] Update LocalUser table to not have a numerical id, add is_email_verified and fix getProfile accordingly 2021-09-14 13:05:41 +01:00
Hugo Sales 7a7f7d3ae1
[MAILER][WRAPPER] Add mailer wrapper that respects the configuration 2021-09-14 13:05:41 +01:00
Hugo Sales 7c35fde8bc
[FIX] Fix bug in DATABASE.php, since findBy can return different types 2021-09-14 13:05:41 +01:00
Hugo Sales 72bf62adc3
[TOOLS] Update generate fields script to output default values 2021-09-14 13:05:41 +01:00
Hugo Sales 672e2b80eb
[DEPENDENCY] Add symfonycasts/verify-email-bundle 2021-09-14 13:05:41 +01:00
Hugo Sales c0da90bd3e
[COMMON][SECURITY][WRAPPER] Added security service static wrapper and Common::getUser 2021-09-14 13:05:41 +01:00
Hugo Sales 97fd7620e7
[CORE][ROUTES] Small refactor on entrypoint and RouteLoader 2021-09-14 13:05:41 +01:00
Hugo Sales 1572261617
[TWIG] Add twig function to output the active tag if the current route matches a given one 2021-09-14 13:05:40 +01:00
Hugo Sales cac00dd6d4
[CONTROLLER][ROUTES] Refactor the base Controller to not reinvent the wheel too much and rely on Symfony's events 2021-09-14 13:05:40 +01:00
Hugo Sales a1c90f2e15
[ROUTES] Change name of admin and settings routes and refactor the way they're specified 2021-09-14 13:05:40 +01:00
Hugo Sales 56f74fffe8
[CONTROLLER][ROUTES] Refactor controllers to use the new base class and remove controller from the class name 2021-09-14 13:05:40 +01:00
Hugo Sales 2796ac5228
[NOTIFICATION][DATABASE] Update user notification prefs table, implementation of Notification and define a base class for notification transport 2021-09-14 13:05:40 +01:00
Hugo Sales df4d246ede
[CONTROLLER] Remove example enqueue 2021-09-14 13:05:40 +01:00
Hugo Sales 59fcd042e9
[DEFAULTS] Add password hashing algorithm default settings 2021-09-14 13:05:40 +01:00
Hugo Sales 0eba267a73
[LOGIN] Implement password checking and related systems 2021-09-14 13:05:40 +01:00
Hugo Sales f3ccdf8017
[USER] Add UserRoles 2021-09-14 13:05:40 +01:00
Hugo Sales 5a74354703
[DATABASE] Add role collumn to profile table 2021-09-14 13:05:39 +01:00
Hugo Sales 8ce0f05371
[UTIL] Update Common::config to ensure the values queried exist 2021-09-14 13:05:39 +01:00
Hugo Sales ae373c7d96
[DEFAULTS][FIX] Fix logic error that kept reloading the table when the file wasn't modified 2021-09-14 13:05:39 +01:00
Hugo Sales 3313897671
[UI][SESSION] Add login and logout pages 2021-09-14 13:05:39 +01:00
Hugo Sales fb53700be2
[LIB][Util] Remove Functional::arity as it got merged upstream as Functional\ary 2021-09-14 13:05:39 +01:00
Hugo Sales d6cd52cede
[LIB][Util] Make Common::config return the unserialized value instead of the entity 2021-09-14 13:05:39 +01:00
Hugo Sales 284fbe2c5b
[CORE] Refactor GNUsocial.php so it initializes itself as a service 2021-09-14 13:05:39 +01:00
Hugo Sales e482ecfb87
[I18N] Remove support for context until it proves necessary, as it broke the code 2021-09-14 13:05:39 +01:00
Hugo Sales 028d7c929f
[TOOLS] Update shebang on scripts to use the correct php executable 2021-09-14 13:05:39 +01:00
Hugo Sales f246667fe5
[AUTOGENERATED] Update autogenerated code 2021-09-14 13:05:38 +01:00
Hugo Sales 7c8ab40e3a
[DATABASE] Rename user table to local_user, since doctrine shits itself otherwise ._. 2021-09-14 13:05:38 +01:00