Commit Graph

18 Commits

Author SHA1 Message Date
176d604abb
[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-08-03 19:22:54 +00:00
d34155c743
[CONFIG] Make password length limits configurable 2021-08-03 19:13:29 +00:00
84399a76e3 [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-05-05 12:46:08 +00:00
b82658e345 [SECURITY][DB] Make user register 'atomic', by using a single transaction for inserting all objects, to avoid partial inserts 2021-04-23 12:54:25 +00:00
d6414e51a2 [CORE] Rename NoteScope to VisibilityScope, as it will be used for attachment visbility too 2021-04-16 20:28:39 +01:00
d0fd0e6c6c [DB] Remove unique constraint from GSActor.nickname and fix register and related functionality 2021-04-14 15:37:24 +00:00
637c25d5fe [WEB] Fix translations and small inconsistency when opening on web 2021-04-14 15:37:24 +00:00
João Brandão
5e26359783 [UI][TIMELINES] Refactored query for public stream 2021-04-14 15:37:23 +00:00
Hugo Sales
5cced1c9ed [DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup 2021-04-14 15:37:23 +00:00
Hugo Sales
dd8fe29a98 [REGISTER] Add self follow when registering, fixing the '-1 followers' bug 2021-04-14 15:37:23 +00:00
Hugo Sales
749bec5d52 [EXCEPTION][UI][UX] Add RedirectException, which can be thrown anywhere to redirect somewhere, and an exception handler 2021-04-14 15:37:22 +00:00
Hugo Sales
d66ec9d85c [SECURITY] Fix error in user registering where password wasn't hashed 2021-04-14 15:37:22 +00:00
Hugo Sales
0508886fc4 [CORE][DB] Fix uses of db tables after previous restructure 2021-04-14 15:37:22 +00:00
Hugo Sales
56c4309cb8 [SECURITY] Refactor 2021-04-14 15:37:22 +00:00
Hugo Sales
81e45e3ace [SECURITY][CONTROLLER] Remove unreachable code from the Security controller 2021-04-14 15:37:21 +00:00
Hugo Sales
f081d58e2b [USER][UI][AUTHENTICATION] Add registration form 2021-04-14 15:37:21 +00:00
Hugo Sales
1b2c308808 [CONTROLLER][ROUTES] Refactor the base Controller to not reinvent the wheel too much and rely on Symfony's events 2021-04-14 15:37:21 +00:00
Hugo Sales
a075d35c8c [CONTROLLER][ROUTES] Refactor controllers to use the new base class and remove controller from the class name 2021-04-14 15:37:21 +00:00