Commit Graph

178 Commits

Author SHA1 Message Date
Hugo Sales b3d5c73ab4
[FORMATTING] Update license header in SchemaDef compiler pass 2021-09-14 13:05:47 +01:00
Hugo Sales 62e093c650
[EVENT][ROUTES] Add event to allow modules to add routes, 'add_route' 2021-09-14 13:05:47 +01:00
Hugo Sales 152828ed68
[FRAMEWORK] Avoid double initializing the framework 2021-09-14 13:05:47 +01:00
Hugo Sales aac653d2bd
[EVENT] Fix event handler and rename events to snake_case 2021-09-14 13:05:47 +01:00
Hugo Sales ea7d43172a
[MODULE][COMPILER] Add compiler pass responsible for loading, instantiating and wiring enabled modules 2021-09-14 13:05:47 +01:00
Hugo Sales bc9de1c0fa
[MODULE] Added module base class 2021-09-14 13:05:47 +01:00
Hugo Sales b71eded942
[COMMAND] Fix ListEvents command to properly display the callable 2021-09-14 13:05:47 +01:00
Hugo Sales 292c9dc862
[COMPOSER][MODULE] Add autoloading rules for components and plugins 2021-09-14 13:05:46 +01:00
Hugo Sales 48252d6b8c
[UTIL][FORM] Add form transformer array <--> string 2021-09-14 13:05:46 +01:00
Hugo Sales 3e6eb114c4
[UTIL] Add Common::array_remove_keys 2021-09-14 13:05:46 +01:00
Hugo Sales fe3a3978af
[UI][CONTROLLER] Work on tabbed notification settings panel 2021-09-14 13:05:46 +01:00
Hugo Sales 04e31d273d
[MAIL] Make mailserver a required service 2021-09-14 13:05:46 +01:00
Hugo Sales 71db1870db
[SECURITY] Ensure ARGON2 constants are defined, or throw exception 2021-09-14 13:05:46 +01:00
Hugo Sales fe394e9b20
[UI][CONTROLLER] Refactor UserPanel to use the new Form::handle method and add placeholders in the password fields 2021-09-14 13:05:46 +01:00
Hugo Sales 6fc120571d
[DATABASE] Remove DATABASE::flush from Profile::setSelfTags 2021-09-14 13:05:45 +01:00
Hugo Sales b3bce3efa1
[FORMATTING] Add option to split a string to array by both a comma and a space 2021-09-14 13:05:45 +01:00
Hugo Sales 921da28884
[FORM] Add DataTransformer to and from array 2021-09-14 13:05:45 +01:00
Hugo Sales 93f576679c
[FORM] Add Form::handle which automagically creates a form, handles a request, and writes the data to the given entity and update Form::create to do some more magic as well 2021-09-14 13:05:45 +01:00
Hugo Sales 59eba851f7
[DATABASE][TOOLS] Update local_user to return the proper PhoneNumber type 2021-09-14 13:05:45 +01:00
Hugo Sales 22e292276c
[CORE][SECURITY][UX] Save previous url on /register and /logout 2021-09-14 13:05:45 +01:00
rainydaysavings 199fa0278c
[CONTROLLER][UI] Fixing controller display errors, Settings CSS fixes 2021-09-14 13:05:45 +01:00
rainydaysavings 6d729de07c
[UI][ROUTES][CONTROLLER] Fixing Settings navs and templates 2021-09-14 13:05:45 +01:00
Hugo Sales d08c4a1f62
[Controller] Update settings/avatar 2021-09-14 13:05:44 +01:00
Hugo Sales db32a5fcfc
[DATABASE][TOOLS] Update local_user, SchemaDefDriver and bin/generate_entity_fields to use the phone_number type (which maps to a varchar 35 and does validation) 2021-09-14 13:05:44 +01:00
Hugo Sales db52e282b9
[UI] Update settings/account to reflect the current values 2021-09-14 13:05:44 +01:00
Hugo Sales fd36e6fa7a
[UI][ROUTES] s%settings/profile%settings/personal_info% 2021-09-14 13:05:44 +01:00
Hugo Sales 17f854b1d9
[CORE][UX] Save previous url to redirect back after registering 2021-09-14 13:05:44 +01:00
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
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 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 c0da90bd3e
[COMMON][SECURITY][WRAPPER] Added security service static wrapper and Common::getUser 2021-09-14 13:05:41 +01:00