Commit Graph

19478 Commits

Author SHA1 Message Date
Hugo Sales b89368bf6a
[AUTOGENERATED] Update entity fields for ResetPasswordRequest entity 2021-08-03 19:23:02 +00:00
Hugo Sales 5fc5df68f5
[CORE] Add repositories, as needed by the Reset Password Bundle 2021-08-03 19:23:02 +00:00
Hugo Sales a83d506d6c
[UTIL] Add a class that defines commonly used form fields 2021-08-03 19:22:54 +00:00
Hugo Sales 56481c8289
[CORE] Add passowrd reset and forgot password functionality 2021-08-03 19:22:54 +00:00
Hugo Sales 6d2f8daeae
[DEPENDENCIES] Add symfonycasts/reset-password-bundle as a dependency 2021-08-03 19:22:54 +00:00
Hugo Sales bdbd588de9
[CORE][SECURITY][EMAIL] Move email confirmation functionality to it's own static wrapper, in preparation for adding password reset functionality 2021-08-03 19:22:54 +00:00
Hugo Sales 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
Hugo Sales bff65afe5d
[TESTS][Queue] Add @codeCoverageIgnore to select queueing functions 2021-08-03 19:22:50 +00:00
Hugo Sales 6479b698f8
[TESTS][Router] Add tests for Router and use named paramenters, as we can since PHP8 2021-08-03 19:22:16 +00:00
Hugo Sales a01914ddac
[ENTITY][LocalUser] Add method 'findByNicknameOrEmail' 2021-08-03 19:22:16 +00:00
Hugo Sales 2e3ec15827
[CORE][Controller][TESTS] Fix issue that arrises in tests where the Accept header is not specified 2021-08-03 19:22:12 +00:00
Hugo Sales 6deac21960
[EXCEPTION] Add Email related exceptions 2021-08-03 19:21:34 +00:00
Hugo Sales c4de4cab32
[UTIL][Nickname] Refactor Nickname and extract a validate function, as we'll want to perform normalization in select cases in the future, likely as a plugin 2021-08-03 19:21:34 +00:00
Hugo Sales 75af2232dc
[UI] Add TODO annotation to login template, since it's possible to login using email, so the fonrm field names should be updated 2021-08-03 19:21:31 +00:00
Hugo Sales 988d384654
[TESTS][DataFixtures] Add password and email to created test user 2021-08-03 19:15:30 +00:00
Hugo Sales 14db5d9864
[TESTS][Twig] Add @codeCoverageIgnore to select methods, as these are simple wrappers 2021-08-03 19:15:30 +00:00
Hugo Sales e0ebef594f
[TESTS][DB] Update test to reflec fact that GSActor no longer has a normalized_nickname field 2021-08-03 19:15:30 +00:00
Hugo Sales 63d26d1295
[TESTS][Nickname] Update tests to reflect new usage. Normalization functionality will be moved to a plugin 2021-08-03 19:15:30 +00:00
Hugo Sales ed850a7763
[TESTS][TemporaryFile] Update test to reflect new usage 2021-08-03 19:15:30 +00:00
Hugo Sales e196a3577d
[ENTITY] Remove 'normalized_nickname' field from GSActor as that feature will be moved to a plugin 2021-08-03 19:15:30 +00:00
Hugo Sales c0e4dec674
[TESTS][DOCUMENTATION][Module] Add documentation and exclude method from testing in Module base class 2021-08-03 19:15:30 +00:00
Hugo Sales 88ab76c480
[CORE][TemporaryFile] Add option to specify attempts and better handle when reaching the attemp limit without being able to create a file 2021-08-03 19:14:56 +00:00
Hugo Sales 1f9acaf4ef
[TESTS] Add tests for GSFile 2021-08-03 19:13:30 +00:00
Hugo Sales 55710aa33d
[DB] Refactor findOneBy method 2021-08-03 19:13:29 +00:00
Hugo Sales 8e743eabb9
[TESTS][DOCUMENTATION] Add documenation for the list events command and exclude it from unit testing 2021-08-03 19:13:29 +00:00
Hugo Sales d34155c743
[CONFIG] Make password length limits configurable 2021-08-03 19:13:29 +00:00
Hugo Sales 0d6b4093fe
[TESTS] Exclude Data Fixtures from testing, as that happens before testing 2021-08-03 19:13:29 +00:00
Hugo Sales 400716c1b2
[TESTS] Exclude class Security from testing, as it's a simple wrapper 2021-08-03 19:13:29 +00:00
Hugo Sales 75c9ffde31
[TESTS] Raise test coverage for ModuleManager to 100% 2021-08-03 19:13:29 +00:00
Hugo Sales 4258148a03
[TESTS] Exclude HTTPClient from testing, as it's a simple wrapper and we don't want to be performing HTTP requests in tests, for speed and reliability 2021-08-03 19:13:29 +00:00
Hugo Sales 6956e6907c
[TESTS] Raise test coverage for Form to 100% 2021-08-03 19:13:29 +00:00
Hugo Sales 7ee908f4dc
[TESTS] Revert exposing Redis docker container ports, as this conflicts with the actual instance, and was intended for testing 2021-08-03 19:13:29 +00:00
Hugo Sales b2d72673c7
[TESTS][EVENTS] Raise test coverage for Event class to 100% 2021-08-03 19:13:28 +00:00
Hugo Sales b51d43e6e2
[TESTS][ENTITY] Raise test coverage for Entity class to 100% 2021-08-03 19:13:28 +00:00
Hugo Sales 5777cdeaf9
[TESTS][LOG] Raise test coverage for Log class to 100% 2021-08-03 19:13:28 +00:00
Hugo Sales b0ef7599b2
[TESTS] Ignore GNUsocial class from tests, as it simply pipes objects around 2021-08-03 19:13:28 +00:00
Hugo Sales 2c74bd7fb4
[FORM][DOCUMENTATION] Add documentation to Form class 2021-08-03 19:13:28 +00:00
Hugo Sales b9fdaa1401
[EVENT] Fixup implementation, as imformed by tests 2021-08-03 19:13:28 +00:00
Hugo Sales 88bb0c6b38
[ENTITY] Fixup implementation, as imformed by tests 2021-08-03 19:13:28 +00:00
Hugo Sales df956a5f90
[DB] Handle using methods with class name as well as table name and add lookup methods 2021-08-03 19:13:28 +00:00
Hugo Sales aa66263b92
[TESTS] Add missing tests for Common 2021-08-03 19:13:28 +00:00
Hugo Sales ae27d95509
[TESTS] Expand and fix cache tests 2021-08-03 19:13:27 +00:00
Hugo Sales 2beda0dd44
[TESTS] Add ignore annotations to code paths that serve as hooks in DependencyInjection 2021-08-03 19:13:27 +00:00
Hugo Sales b79629b6d2
[TESTS][CACHE] Fixup errors found in cache implementation by testing. Ensure the newest values are kept, in pushList with max_count 2021-08-03 19:13:27 +00:00
Hugo Sales 4f6f4aa512
[ENTITY] Fix foreign key type in Cover entity, as found by tests 2021-08-03 19:13:27 +00:00
Hugo Sales 3554a5c369
[TESTS] Exclude Routes from testing, as well as, temporarily, src/Security 2021-08-03 19:13:27 +00:00
Hugo Sales 5ca8842308
[TESTS] Use vendor/bin/simple-phpunit for running the tests, as it provides the appropriate polyfills 2021-08-03 19:13:20 +00:00
Eliseu Amaro 5bf4a68454 [LEFT][RIGHT][CSS] Panels now occupy full page in smaller screen sizes. 2021-08-03 19:02:39 +01:00
Eliseu Amaro 903e6b33ff [RIGHT][CSS] Right panel now shows an intuitive icon for other note options available. 2021-08-03 19:02:39 +01:00
Eliseu Amaro 0a0ead3081 [TWIG][CSS] Overall CSS optimizations. Image gradients are now used, 64x64 px. 2021-08-03 19:02:39 +01:00