Commit Graph

  • 4ecdeac6a3
    [CORE][Entity] Compare with object properties when creating/updating, instead of class Diogo Peralta Cordeiro 2021-08-11 23:46:02 +01:00
  • 75f70f8182
    [ENTITY][Posting] Remove GSActorToRemoteURL, Fix URL database store Diogo Peralta Cordeiro 2021-08-11 23:42:51 +01:00
  • fbbbde4275
    [AttachmentShowRelated] Bug fix after re-introduction of NoteActions Diogo Peralta Cordeiro 2021-08-11 23:42:08 +01:00
  • df62d7e4f4
    [CSS][Assets] Minified header icons. Reverted footer links position due to Firefox's corageous interpretation of a fixed element's position. Eliseu Amaro 2021-08-11 20:45:59 +00:00
  • 5de0704de2
    [Favourite][TWIG][CSS] Favourite shows alt-text and properly sets colours. Titles translated on the right panel. Eliseu Amaro 2021-08-11 18:42:15 +01:00
  • f5175cc59d
    [ATTACHMENTS] Always store in the same location Diogo Peralta Cordeiro 2021-08-10 20:24:11 +01:00
  • 3f61537140
    [ENTITY] Split Attachment in various new entities Remove Attachment Scope Fixed some minor bugs Diogo Peralta Cordeiro 2021-08-14 16:47:45 +01:00
  • a7c8da0534
    [FileQuota] We'll get back to this plugin later Diogo Peralta Cordeiro 2021-08-14 16:17:15 +01:00
  • 39006fb6b5
    [DB][Attachments] Use count function rathar than fetch and count, rename to refCount, rather than countDepencies Hugo Sales 2021-08-10 08:04:03 +00:00
  • 8880405dee
    [DEPENDENCIES] Update dependencies Hugo Sales 2021-08-10 07:30:04 +00:00
  • 809bf00aa9
    [TemporaryFile][TESTS] Throw on attempt to write to null resource and fix tests Hugo Sales 2021-08-08 01:05:45 +00:00
  • c24c32334d
    [TESTS] Add test for JSON response and invalid accept format Hugo Sales 2021-08-08 00:40:25 +00:00
  • 6728dd40b0
    [ENTITY] Add JsonSerializable interface to Entity base class and implement it for the Note class Hugo Sales 2021-08-08 00:39:39 +00:00
  • 2851b899b8
    [TESTS] Add test annotations to core classes Hugo Sales 2021-08-08 00:37:02 +00:00
  • 21a5bbe639
    [CORE][Controller] Fix JSON response and add test annotations Hugo Sales 2021-08-08 00:35:27 +00:00
  • 061a85d6b3
    [EVENTS] Change FormatNoteList do separate in and out arguments Hugo Sales 2021-08-07 21:52:00 +00:00
  • 57f43108bb
    [TESTS] Fix Entity test in accordance with the changes to createOrUpdate Hugo Sales 2021-08-07 18:46:49 +00:00
  • b5de80303a
    [TEST] Raise test coverage for UserPanel to 100% Hugo Sales 2021-08-04 20:11:01 +00:00
  • 480665afc8
    [CONTROLLER][UserPanel] Finish implementation of ::notifications so it actually saves the values in the database Hugo Sales 2021-08-07 18:25:10 +00:00
  • cdf3426567
    [CONTROLLR][UserPanel][PLUGINS] Add submit button to notification settings for each transport Hugo Sales 2021-08-07 18:24:11 +00:00
  • afbcb179b2
    [CONTROLLER][AdminPanel] Further ensure form validity Hugo Sales 2021-08-07 18:22:25 +00:00
  • 38a331220f
    [CORE][Log] Add Log::unexpected_exception utility which logs and throws a ServerException Hugo Sales 2021-08-07 18:21:20 +00:00
  • 085e880631
    [CORE][Entity] Fix implementation of createOrUpdate so it doesn't throw NotFoundException if trying to create an object Hugo Sales 2021-08-07 18:19:01 +00:00
  • 662ad8e9cf
    [TESTS] Update PHPUnit config to start executing tests by last failure. This doens't seem to actually work currently, though Hugo Sales 2021-08-07 18:16:44 +00:00
  • 11e52bcb27
    [TOOLS] Add utility commands to the Makefile Hugo Sales 2021-08-06 11:14:03 +00:00
  • 1b623a85ae
    [UTIL][FormFields] Move FormFields class to Util\Form namespace Hugo Sales 2021-08-06 11:12:10 +00:00
  • 1647c5391f
    [Favourite][TWIG][CSS] Favourite now works. Eliseu Amaro 2021-08-11 02:49:23 +01:00
  • e15044fe36
    [CSS] Overall typography resizing to provide proper text hierarchy. Radio buttons polish, notes author box is now smaller. Better organization of CSS rules according to their filename and thus, their aim. Eliseu Amaro 2021-08-10 21:05:47 +01:00
  • 1962a004aa
    [CSS] Fixed top margin, footer elements are now actually footer elements. Eliseu Amaro 2021-08-10 18:36:52 +01:00
  • e180143e20
    [TWIG][CSS] Buttons are now the correct size in all contexts. Right panel create a notice section re-structure. Eliseu Amaro 2021-08-09 18:27:24 +01:00
  • cb21599cef
    [TWIG][CSS] Feedback provided to active page. Removed top accent border on notes. Eliseu Amaro 2021-08-09 18:06:45 +01:00
  • 68cf6dee65
    [FAQ][CSS] All FAQ pages stylized, minor structure changes throughout. Eliseu Amaro 2021-08-09 13:25:08 +01:00
  • 10f930ad4b
    [TWIG][CSS] Left panel text hierarchy fix (no <hr> element between timeline navigation and its items). Default CSS fixes for buttons and input file selectors. Eliseu Amaro 2021-08-05 22:47:03 +01:00
  • 0f032c257b
    [CSS] Input file elements polish. It should resize properly and provide feedback when selected (not a thing in Firefox ESR yet). Eliseu Amaro 2021-08-05 17:30:45 +01:00
  • bac6d2a490
    [CSS] Base CSS polish, reset CSS additions for better cross-browser compatibility. Eliseu Amaro 2021-08-05 14:46:17 +01:00
  • a77f51dd06
    [Avatar] Delete attachment only if safe Diogo Peralta Cordeiro 2021-08-05 13:49:59 +01:00
  • 21362d1e4d
    [ATTACHMENTS] Add dependencies counter Diogo Peralta Cordeiro 2021-08-05 13:46:28 +01:00
  • 95fd86f8dc
    [CSS] Fixed background incorrect sizing. Eliseu Amaro 2021-08-05 13:09:18 +01:00
  • d0b2cccb63
    [CSS] Mesh gradient works as intended with no banding. Eliseu Amaro 2021-08-04 21:12:59 +01:00
  • 0c612bddbe
    [Avatar] Store as regular attachments Diogo Peralta Cordeiro 2021-08-05 03:15:07 +01:00
  • b355f0d590
    [DEV] Add PsySH REPL Diogo Peralta Cordeiro 2021-08-04 20:15:33 +01:00
  • 3334aca7b9
    [Avatar] Move entity from core to component Diogo Peralta Cordeiro 2021-08-04 19:12:37 +01:00
  • fb6aa78ae8
    [CORE][GSFile] Allow storing files under /file Diogo Peralta Cordeiro 2021-08-04 19:26:48 +01:00
  • e688bf8aed
    [TESTS] Ignore coverage of ResetPasswordRequest, as it uses mailing functionality. We may want to introduce this test in the future Hugo Sales 2021-08-04 20:09:31 +00:00
  • 9ad2cb5e66
    [UTIL][FormFields] Allow specifying whether a password is required and provide placeholder text Hugo Sales 2021-08-04 20:08:28 +00:00
  • 5aedf64e5b
    [ROUTES] Remove individual settings pages, as they got merged Hugo Sales 2021-08-04 20:07:37 +00:00
  • 27f2fbdade
    [ENTITY] Refactor LocalUser::changePassword for easier use Hugo Sales 2021-08-04 20:06:58 +00:00
  • 19318b3163
    [UTIL][EXCEPTION] Add AuthenticationException, representing an auth error, status code 401 unauthorized Hugo Sales 2021-08-04 20:06:07 +00:00
  • a1592656e0
    [TESTS] Change format of data fixtures to allow creating more users Hugo Sales 2021-08-04 20:05:11 +00:00
  • 2dd3511149
    [CORE][DB] Specify desired case in array_change_case, for clarity Hugo Sales 2021-08-04 20:04:18 +00:00
  • 0ae67d96ea
    [TESTS] Raise test coverage for AdminPanel to 100% Hugo Sales 2021-08-04 20:03:21 +00:00
  • b77e35ef09
    [SECURITY] Do not require email when in development Diogo Peralta Cordeiro 2021-08-04 17:48:00 +01:00
  • e8ef777fb2
    [DOCS][Dev] Add Debugging and Testing Diogo Peralta Cordeiro 2021-08-04 16:55:53 +01:00
  • 8240591bd4
    [TESTS] Fixup Security controller tests to match new UI Hugo Sales 2021-08-03 19:37:11 +00:00
  • fe7c2b5115
    [TESTS] Raise test coverage for AdminPanel controller to 100% Hugo Sales 2021-08-03 17:56:25 +00:00
  • e0a0df502e
    [TESTS] Raise test coverage for Attachment controller to 100% Hugo Sales 2021-08-03 17:53:58 +00:00
  • 29d77b446f
    [TESTS] Add a sample image to the test dataset Hugo Sales 2021-08-03 17:51:58 +00:00
  • 647e4c03b3
    [CORE][GSFile] Ensure files are stored inside the configured storage folder, with a relative filename in the database Hugo Sales 2021-08-03 17:51:23 +00:00
  • 51f8f004b3
    [CORE][CONTROLLER] Add TODO to Controller base class as to where our custom exception pages would be implemented Hugo Sales 2021-08-03 17:48:17 +00:00
  • 0b80727769
    [CORE][ENTITY] Allow create'ing will null values Hugo Sales 2021-08-03 17:47:25 +00:00
  • 77742c56c3
    [ImageEncoder] Don't print_r the exception as that leads to an OOM error Hugo Sales 2021-08-03 17:46:39 +00:00
  • 4aee27d3a6
    [CONFIG] Ensure consistency in config file Hugo Sales 2021-08-03 17:44:58 +00:00
  • 229a516fd2
    [TESTS] Make PHPUnit exit on first fail and some other tweaks Hugo Sales 2021-08-03 17:44:22 +00:00
  • 855d427442
    [UTIL][FORM] Create a utility class that defines common form fields, such as passwords Hugo Sales 2021-08-03 10:24:45 +00:00
  • dfc97d2607
    [TESTS] Raise test coverage for Controller/Security to 100% Hugo Sales 2021-08-03 10:24:01 +00:00
  • dc2b9f940e
    [CORE][GSFile] Assert that the destination folder where to store the attachment is inside the INSTALLDIR and store the filepath in the database Hugo Sales 2021-08-03 10:22:55 +00:00
  • 8139a21eb9
    [TESTS] Add coverage ignore to TemplateController and ResetPassword (as it requires sending emails) Hugo Sales 2021-08-03 10:14:11 +00:00
  • 518995d155
    [CONTROLLER][Attachment] Assert that the supplied is positive and add documentation Hugo Sales 2021-08-03 10:13:01 +00:00
  • 88dd9e542f
    [CORE][GSFile] Change actor_id paramenter of validateAndStoreFileAsAttachment to optional and reorder them and their usages Hugo Sales 2021-08-03 10:11:48 +00:00
  • 7bd88bd101
    [AUTOGENERATED] Update entity fields for ResetPasswordRequest entity Hugo Sales 2021-07-29 17:47:58 +00:00
  • 471dc52c92
    [CORE] Add repositories, as needed by the Reset Password Bundle Hugo Sales 2021-07-29 17:45:42 +00:00
  • 0c54a3297f
    [UTIL] Add a class that defines commonly used form fields Hugo Sales 2021-07-29 17:27:01 +00:00
  • ccd5ebf8e4
    [CORE] Add passowrd reset and forgot password functionality Hugo Sales 2021-07-29 17:26:14 +00:00
  • c3d2f04841
    [DEPENDENCIES] Add symfonycasts/reset-password-bundle as a dependency Hugo Sales 2021-07-29 17:23:19 +00:00
  • 769fff2448
    [CORE][SECURITY][EMAIL] Move email confirmation functionality to it's own static wrapper, in preparation for adding password reset functionality Hugo Sales 2021-07-29 15:03:52 +00:00
  • 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 Hugo Sales 2021-07-28 21:38:27 +00:00
  • 32ca61e214
    [TESTS][Queue] Add @codeCoverageIgnore to select queueing functions Hugo Sales 2021-07-28 21:33:05 +00:00
  • 41e4e2de0e
    [TESTS][Router] Add tests for Router and use named paramenters, as we can since PHP8 Hugo Sales 2021-07-28 21:36:24 +00:00
  • 6d22932092
    [ENTITY][LocalUser] Add method 'findByNicknameOrEmail' Hugo Sales 2021-07-28 21:30:09 +00:00
  • e6d20bd30d
    [CORE][Controller][TESTS] Fix issue that arrises in tests where the Accept header is not specified Hugo Sales 2021-07-28 21:29:27 +00:00
  • d07cb79844
    [EXCEPTION] Add Email related exceptions Hugo Sales 2021-07-28 21:28:23 +00:00
  • e250edf7fd
    [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 Hugo Sales 2021-07-28 21:27:48 +00:00
  • 1521d0d823
    [UI] Add TODO annotation to login template, since it's possible to login using email, so the fonrm field names should be updated Hugo Sales 2021-07-28 21:26:25 +00:00
  • f904b76ce7
    [TESTS][DataFixtures] Add password and email to created test user Hugo Sales 2021-07-28 21:25:07 +00:00
  • efacf6da56
    [TESTS][Twig] Add @codeCoverageIgnore to select methods, as these are simple wrappers Hugo Sales 2021-07-28 21:24:11 +00:00
  • 1d40c5cdb3
    [TESTS][DB] Update test to reflec fact that GSActor no longer has a normalized_nickname field Hugo Sales 2021-07-28 21:23:28 +00:00
  • 6b4b3e90fb
    [TESTS][Nickname] Update tests to reflect new usage. Normalization functionality will be moved to a plugin Hugo Sales 2021-07-28 21:22:31 +00:00
  • adf0897527
    [TESTS][TemporaryFile] Update test to reflect new usage Hugo Sales 2021-07-28 21:21:34 +00:00
  • e77498ac19
    [ENTITY] Remove 'normalized_nickname' field from GSActor as that feature will be moved to a plugin Hugo Sales 2021-07-28 21:20:32 +00:00
  • 2f69579ddb
    [TESTS][DOCUMENTATION][Module] Add documentation and exclude method from testing in Module base class Hugo Sales 2021-07-28 21:19:16 +00:00
  • 7a2574eafb
    [CORE][TemporaryFile] Add option to specify attempts and better handle when reaching the attemp limit without being able to create a file Hugo Sales 2021-07-28 21:16:18 +00:00
  • f5fb4ed3c3
    [TESTS] Add tests for GSFile Hugo Sales 2021-07-28 21:10:32 +00:00
  • af5526d720
    [DB] Refactor findOneBy method Hugo Sales 2021-07-28 21:09:12 +00:00
  • 7263752b18
    [TESTS][DOCUMENTATION] Add documenation for the list events command and exclude it from unit testing Hugo Sales 2021-07-28 21:08:07 +00:00
  • 1c09aefd5a
    [CONFIG] Make password length limits configurable Hugo Sales 2021-07-28 21:06:10 +00:00
  • 6a74102d52
    [TESTS] Exclude Data Fixtures from testing, as that happens before testing Hugo Sales 2021-07-28 21:03:27 +00:00
  • de5650e98e
    [TESTS] Exclude class Security from testing, as it's a simple wrapper Hugo Sales 2021-07-22 12:35:43 +00:00
  • d609dafdbc
    [TESTS] Raise test coverage for ModuleManager to 100% Hugo Sales 2021-07-22 12:36:16 +00:00
  • bd321f05a7
    [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 Hugo Sales 2021-07-22 12:34:59 +00:00
  • 2ee99e5176
    [TESTS] Raise test coverage for Form to 100% Hugo Sales 2021-07-22 12:31:19 +00:00