Commit Graph

19532 Commits

Author SHA1 Message Date
d1e92a80e5 [CORE][GSFile] Assert that the destination folder where to store the attachment is inside the INSTALLDIR and store the filepath in the database 2021-08-03 19:23:02 +00:00
af951685ed [TESTS] Add coverage ignore to TemplateController and ResetPassword (as it requires sending emails) 2021-08-03 19:23:02 +00:00
9c61e92257 [CONTROLLER][Attachment] Assert that the supplied is positive and add documentation 2021-08-03 19:23:02 +00:00
4297eb71a0 [CORE][GSFile] Change actor_id paramenter of validateAndStoreFileAsAttachment to optional and reorder them and their usages 2021-08-03 19:23:02 +00:00
b89368bf6a [AUTOGENERATED] Update entity fields for ResetPasswordRequest entity 2021-08-03 19:23:02 +00:00
5fc5df68f5 [CORE] Add repositories, as needed by the Reset Password Bundle 2021-08-03 19:23:02 +00:00
a83d506d6c [UTIL] Add a class that defines commonly used form fields 2021-08-03 19:22:54 +00:00
56481c8289 [CORE] Add passowrd reset and forgot password functionality 2021-08-03 19:22:54 +00:00
6d2f8daeae [DEPENDENCIES] Add symfonycasts/reset-password-bundle as a dependency 2021-08-03 19:22:54 +00:00
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
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
bff65afe5d [TESTS][Queue] Add @codeCoverageIgnore to select queueing functions 2021-08-03 19:22:50 +00:00
6479b698f8 [TESTS][Router] Add tests for Router and use named paramenters, as we can since PHP8 2021-08-03 19:22:16 +00:00
a01914ddac [ENTITY][LocalUser] Add method 'findByNicknameOrEmail' 2021-08-03 19:22:16 +00:00
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
6deac21960 [EXCEPTION] Add Email related exceptions 2021-08-03 19:21:34 +00:00
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
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
988d384654 [TESTS][DataFixtures] Add password and email to created test user 2021-08-03 19:15:30 +00:00
14db5d9864 [TESTS][Twig] Add @codeCoverageIgnore to select methods, as these are simple wrappers 2021-08-03 19:15:30 +00:00
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
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
ed850a7763 [TESTS][TemporaryFile] Update test to reflect new usage 2021-08-03 19:15:30 +00:00
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
c0e4dec674 [TESTS][DOCUMENTATION][Module] Add documentation and exclude method from testing in Module base class 2021-08-03 19:15:30 +00:00
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
1f9acaf4ef [TESTS] Add tests for GSFile 2021-08-03 19:13:30 +00:00
55710aa33d [DB] Refactor findOneBy method 2021-08-03 19:13:29 +00:00
8e743eabb9 [TESTS][DOCUMENTATION] Add documenation for the list events command and exclude it from unit testing 2021-08-03 19:13:29 +00:00
d34155c743 [CONFIG] Make password length limits configurable 2021-08-03 19:13:29 +00:00
0d6b4093fe [TESTS] Exclude Data Fixtures from testing, as that happens before testing 2021-08-03 19:13:29 +00:00
400716c1b2 [TESTS] Exclude class Security from testing, as it's a simple wrapper 2021-08-03 19:13:29 +00:00
75c9ffde31 [TESTS] Raise test coverage for ModuleManager to 100% 2021-08-03 19:13:29 +00:00
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
6956e6907c [TESTS] Raise test coverage for Form to 100% 2021-08-03 19:13:29 +00:00
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
b2d72673c7 [TESTS][EVENTS] Raise test coverage for Event class to 100% 2021-08-03 19:13:28 +00:00
b51d43e6e2 [TESTS][ENTITY] Raise test coverage for Entity class to 100% 2021-08-03 19:13:28 +00:00
5777cdeaf9 [TESTS][LOG] Raise test coverage for Log class to 100% 2021-08-03 19:13:28 +00:00
b0ef7599b2 [TESTS] Ignore GNUsocial class from tests, as it simply pipes objects around 2021-08-03 19:13:28 +00:00
2c74bd7fb4 [FORM][DOCUMENTATION] Add documentation to Form class 2021-08-03 19:13:28 +00:00
b9fdaa1401 [EVENT] Fixup implementation, as imformed by tests 2021-08-03 19:13:28 +00:00
88bb0c6b38 [ENTITY] Fixup implementation, as imformed by tests 2021-08-03 19:13:28 +00:00
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
aa66263b92 [TESTS] Add missing tests for Common 2021-08-03 19:13:28 +00:00
ae27d95509 [TESTS] Expand and fix cache tests 2021-08-03 19:13:27 +00:00
2beda0dd44 [TESTS] Add ignore annotations to code paths that serve as hooks in DependencyInjection 2021-08-03 19:13:27 +00:00
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
4f6f4aa512 [ENTITY] Fix foreign key type in Cover entity, as found by tests 2021-08-03 19:13:27 +00:00
3554a5c369 [TESTS] Exclude Routes from testing, as well as, temporarily, src/Security 2021-08-03 19:13:27 +00:00