Hugo Sales
|
eb833b62e2
|
[TOOLS] Fix all level 0 errors found by PHPStan and move constant definition to bootstrap file
|
2021-09-14 13:13:42 +01:00 |
|
Hugo Sales
|
e2e6c7a5bf
|
[TESTS] Hot-fix Security controller tests, broken with ongoing form rendering changes
|
2021-09-14 13:13:30 +01:00 |
|
Eliseu Amaro
|
87d7318de5
|
[CONTROLLER][SECURITY] Added class names. Help labels for each form element. Each form element now has a proper block prefix (the resulting HTML won't simply concatenate the form's name to the element's label).
|
2021-09-14 13:13:30 +01:00 |
|
Hugo Sales
|
1b623a85ae
|
[UTIL][FormFields] Move FormFields class to Util\Form namespace
|
2021-09-14 13:13:22 +01:00 |
|
Diogo Peralta Cordeiro
|
b77e35ef09
|
[SECURITY] Do not require email when in development
|
2021-09-14 13:13:19 +01:00 |
|
Hugo Sales
|
dfc97d2607
|
[TESTS] Raise test coverage for Controller/Security to 100%
|
2021-09-14 13:13:18 +01:00 |
|
Hugo Sales
|
0c54a3297f
|
[UTIL] Add a class that defines commonly used form fields
|
2021-09-14 13:13:17 +01:00 |
|
Hugo Sales
|
769fff2448
|
[CORE][SECURITY][EMAIL] Move email confirmation functionality to it's own static wrapper, in preparation for adding password reset functionality
|
2021-09-14 13:13:17 +01:00 |
|
Hugo Sales
|
e27823ae6c
|
[CONTROLLER][Security] Refactor and make clearer errors with duplicate nicknames and emails. Return notes as a callable, since they're not used in the default template, in the login and register pages
|
2021-09-14 13:13:17 +01:00 |
|
Hugo Sales
|
1c09aefd5a
|
[CONFIG] Make password length limits configurable
|
2021-09-14 13:13:14 +01:00 |
|
Hugo Sales
|
bd249b508b
|
[ENTITY] Add 'normalized_nickname' to GSActor, the result of Nickname::normalize, so we can make sure we don't have very similar nicknames duplicated
|
2021-09-14 13:12:59 +01:00 |
|
Hugo Sales
|
7a90e844b7
|
[SECURITY][DB] Make user register 'atomic', by using a single transaction for inserting all objects, to avoid partial inserts
|
2021-09-14 13:12:23 +01:00 |
|
Hugo Sales
|
dc5bdfa1fb
|
[CORE] Rename NoteScope to VisibilityScope, as it will be used for attachment visbility too
|
2021-09-14 13:11:50 +01:00 |
|
Hugo Sales
|
faa362e2e2
|
[DB] Remove unique constraint from GSActor.nickname and fix register and related functionality
|
2021-09-14 13:10:23 +01:00 |
|
Hugo Sales
|
78548365da
|
[WEB] Fix translations and small inconsistency when opening on web
|
2021-09-14 13:10:23 +01:00 |
|
João Brandão
|
5516a77b33
|
[UI][TIMELINES] Refactored query for public stream
|
2021-09-14 13:10:19 +01:00 |
|
Hugo Sales
|
e8feb2ae84
|
[DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup
|
2021-09-14 13:06:55 +01:00 |
|
Hugo Sales
|
0b759da780
|
[REGISTER] Add self follow when registering, fixing the '-1 followers' bug
|
2021-09-14 13:06:54 +01:00 |
|
Hugo Sales
|
b906dde059
|
[EXCEPTION][UI][UX] Add RedirectException, which can be thrown anywhere to redirect somewhere, and an exception handler
|
2021-09-14 13:06:51 +01:00 |
|
Hugo Sales
|
de22f18abf
|
[SECURITY] Fix error in user registering where password wasn't hashed
|
2021-09-14 13:05:57 +01:00 |
|
Hugo Sales
|
8716d700a6
|
[CORE][DB] Fix uses of db tables after previous restructure
|
2021-09-14 13:05:53 +01:00 |
|
Hugo Sales
|
08e5b313ce
|
[SECURITY] Refactor
|
2021-09-14 13:05:51 +01:00 |
|
Hugo Sales
|
3ba46a9a60
|
[SECURITY][CONTROLLER] Remove unreachable code from the Security controller
|
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
|
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
|
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 |
|