Commit Graph

23 Commits

Author SHA1 Message Date
Hugo Sales fb861ed41f
[UTIL][EXCEPTIONS] Introduce NotStoredLocallyException 2021-08-16 17:06:02 +01:00
Hugo Sales a590ddd85e
[UTIL][EXCEPTION] Add AuthenticationException, representing an auth error, status code 401 unauthorized 2021-08-04 20:11:47 +00:00
Hugo Sales 6deac21960
[EXCEPTION] Add Email related exceptions 2021-08-03 19:21:34 +00:00
Diogo Peralta Cordeiro 3c0f6b294f
[DOCS] Write exceptions chapter 2021-07-28 21:06:55 +01:00
Hugo Sales e5ee31a2fe [UTIL] Add option for setting a file suffix on TemporaryFile constructor and add missing TemporaryFileException 2021-04-30 23:08:08 +01:00
Hugo Sales 4649ee9e71 [DB] Make DB::findOneBy throw a different exception if two values are found 2021-04-27 18:10:18 +00:00
Hugo Sales d0fd0e6c6c [DB] Remove unique constraint from GSActor.nickname and fix register and related functionality 2021-04-14 15:37:24 +00:00
Hugo Sales 637c25d5fe [WEB] Fix translations and small inconsistency when opening on web 2021-04-14 15:37:24 +00:00
Hugo Sales f3c2048c62 [NICKNAME] Add nickname min length config and check it in Nickname::normalize 2021-04-14 15:37:24 +00:00
Hugo Sales aa58c3520c Duplicate src/Util/Exception/NicknameTooLongException.php history in src/Util/Exception/NicknameTooShortException.php history. 2021-04-14 15:37:24 +00:00
Hugo Sales f11f9040b1 [TESTS] Add App\Core\Cache test 2021-04-14 15:37:24 +00:00
Diogo Machado 1abc3e3e7d [STATIC ANALYSIS] Started removal process for the errors found by PHPStan 2021-04-14 15:37:23 +00:00
Hugo Sales 256169a3c4 [GIT] Change my email to the new one in all files and bump copyright year 2021-04-14 15:37:23 +00:00
Hugo Sales 7e7bfd1958 [EXCEPTION] Make findOne return NotFoundException 2021-04-14 15:37:22 +00:00
Hugo Sales 9f4a53dbbd [EXCEPTION] Add base class to invalid form exception and add URL arguments to redirect exception 2021-04-14 15:37:22 +00:00
Hugo Sales 1c37eb7c72 [UI] Display error when submitted form is invalid 2021-04-14 15:37:22 +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 5cf7050008 [Media] Display images and videos inline in notes 2021-04-14 15:37:22 +00:00
Hugo Sales 736fb672a5 [EXCEPTION] Fix exceptions not being translated 2021-04-14 15:37:22 +00:00
Hugo Sales e13e763d5c [NOTE][UI] Add note replying and UI displaying 2021-04-14 15:37:22 +00:00
Hugo Sales 37f21b516d [EXCEPTION] Add ServerException and inherit previous throwable
imported from v2/5ea5d3007563f76a77efbfb66936315441922542
2021-04-14 15:37:22 +00:00
Hugo Sales 459a60d789 [MEDIA][EXCEPTIONS] Fix errors and deprecations 2021-04-14 15:37:22 +00:00
Hugo Sales d5b5d97bc1 [UTIL][NICKNAME] Import nickname utilities and exceptions from v2 2021-04-14 15:37:21 +00:00