Commit Graph

  • d5ab382485 [DOCS] Add designer book. Eliseu Amaro 2021-07-20 10:21:10 +01:00
  • c33a65c45e [DOCKER][nginx] Removing default nginx config through docker/nginx/domain.sh. The default config conflicts with 'localhost' server_name. Eliseu Amaro 2021-07-19 14:43:49 +01:00
  • b42128014e [DOCS] Elaborate initial architecture page Diogo Peralta Cordeiro 2021-07-19 17:33:30 +01:00
  • 9f553707ba [CORE] Proxies: constant HEADER_X_FORWARDED_ALL is deprecated Give ENV preference over SERVER Diogo Peralta Cordeiro 2021-07-19 13:50:40 +01:00
  • 687b2e2bc7 [UTIL] Add utility to flatten the result of note queries Hugo Sales 2021-05-23 19:58:15 +00:00
  • 74f477489b [TESTS] Raise test coverage for App\Controller\Network to 100% and fixup related code Hugo Sales 2021-05-23 19:56:45 +00:00
  • c5d4b7ecac [UI] Remove margin in timeline container Hugo Sales 2021-05-12 19:40:47 +00:00
  • 86400ce815 [UTIL] Provide static access to current request and utilities in Common Hugo Sales 2021-05-12 15:45:00 +00:00
  • 9198797aea [CORE] Throw more meaningfull error when method doesn't exist in Security and Entity Hugo Sales 2021-05-12 15:44:09 +00:00
  • 6d93b6fb32 [TESTS] Raise App\Core\DB\DB test coverage to 100% and fix issues found Hugo Sales 2021-05-11 21:04:15 +00:00
  • 52edaa319b [TESTS] Raise App\Core\DB\UpdateListener test coverage to 100% Hugo Sales 2021-05-06 21:57:06 +00:00
  • d49541629d [TESTS] Change relevant tests to use GNUsocialTestCase, so they can access all the needed features Hugo Sales 2021-05-06 21:56:28 +00:00
  • b9fbed2e3d [CORE] Clarify message when calling non existent method in Entity Hugo Sales 2021-05-06 21:54:10 +00:00
  • 45f54e615c [TESTS] Merge datafixtures to allow for using the correct ID in notes, and add group_inbox Hugo Sales 2021-05-06 21:53:25 +00:00
  • e1a1d01844 [TESTS] Add GNUsocialTestCase, which initializes our infrastructure when bootKernel is called Hugo Sales 2021-05-06 19:37:38 +00:00
  • d31c3b1784 [AUTOGENERATED] Update autogenerated code Hugo Sales 2021-05-05 16:03:03 +00:00
  • 10c79bcafe [TOOLS][TESTS] Add coverage ignore tag to autogenerated code Hugo Sales 2021-05-05 15:56:03 +00:00
  • de0c35d5a6 [TOOLS][TESTS] Add a data fixture with example notes, for testing Hugo Sales 2021-05-05 13:37:43 +00:00
  • fbe0f36a53 [TESTS] Expand test coverage for App\Util\Forms\ArrayTransformer, App\Util\Notification and App\Twig\Runtime Hugo Sales 2021-05-05 13:37:10 +00:00
  • 6591d78a9c [TWIG] Remove unused Twig function 'get_note_other_content' Hugo Sales 2021-05-05 13:35:02 +00:00
  • f0c6aa761b [TESTS] Add ignored files and folders to config Hugo Sales 2021-05-05 13:34:32 +00:00
  • c84fcc608f [TESTS] Raise App\Util\TemporaryFile test coverage to 100% Hugo Sales 2021-05-05 12:45:18 +00:00
  • ffa3774c46 [TOOLS][TESTS] Make tests run as www-data Hugo Sales 2021-05-05 12:44:34 +00:00
  • fc9b934bbc [UTIL] Fix App\Util\TemporaryFile, adding default options and preventing warning on not enough permission Hugo Sales 2021-05-05 12:44:07 +00:00
  • 01a659e5b3 [TESTS] Raise test coverage for NicknameTest to 100% Hugo Sales 2021-05-05 12:21:37 +00:00
  • 31b6211bd0 [TOOLS][TESTS] Add data fixtures, which populate the database with users used for testing Hugo Sales 2021-05-05 12:21:05 +00:00
  • ec1081ed43 [UTIL] Rename and rewrite isTaken to checkTaken Hugo Sales 2021-05-05 12:20:14 +00:00
  • bd249b508b [ENTITY] Add 'normalized_nickname' to GSActor, the result of Nickname::normalize, so we can make sure we don't have very similar nicknames duplicated Hugo Sales 2021-05-05 12:19:10 +00:00
  • f2727f9327 [DEPENDENCIES] Add doctrine/doctrine-fixtures-bundle, which allows populating the database in the testing environment Hugo Sales 2021-05-05 12:17:16 +00:00
  • d2020eb7d8 [TOOLS][TESTS] Adjust configuration for testing environment Hugo Sales 2021-05-05 12:15:05 +00:00
  • a49ee453ab [TESTS] Raise App\Util\HTML test coverage to 100% Hugo Sales 2021-05-02 21:02:43 +00:00
  • fbea08ca9b [TESTS] Raise App\Util\Bitmap test coverage to 100% Hugo Sales 2021-05-02 20:47:15 +00:00
  • abda73b8e3 [TESTS] Raise App\Util\Common test coverage to 100% Hugo Sales 2021-05-02 20:42:25 +00:00
  • 3fab198c04 [ENTITY] Add uniqueness constraint to Attachment::file_hash Hugo Sales 2021-05-02 15:48:06 +00:00
  • 4f936108a1 [ATTACHMENTS] Don't store an attachment if it's a dupplicate, reuse it Hugo Sales 2021-05-02 15:46:12 +00:00
  • 2b83a4b627 [UTILS][TemporaryFile] Change way TemporaryFile takes arguments and it's internal implementation Hugo Sales 2021-05-02 15:02:26 +00:00
  • 3b39046a38 [UTIL] Fix bugs found in App\Util\Formatting by tests Hugo Sales 2021-05-02 14:57:47 +00:00
  • 15a8f8ab7f [TESTS] Add tests increasing coverage of App\Util\Formatting to 100% Hugo Sales 2021-05-02 14:56:41 +00:00
  • 5d326bd18e [TESTS] Move testing container's DB and Redis to different ports, so it can be used at the same time as the regular containers Hugo Sales 2021-05-02 14:49:34 +00:00
  • ee97cc5b00 [TESTS] Add test container with Xdebug and allow for generation of coverage reports with 'make test' Hugo Sales 2021-05-02 12:39:32 +00:00
  • 091f4b5194 [ATTACHMENTS] Do not create thumbnails for attachments with mimetype different from 'image|video' Diogo Peralta Cordeiro 2021-05-02 00:50:16 +01:00
  • 6a999b8237 [Embed] Do not create AttachmenThumbnail Diogo Peralta Cordeiro 2021-05-02 00:49:10 +01:00
  • b6d7d46719 [ENTITY] Fix entity->has to access private properties with closure bindTo Diogo Peralta Cordeiro 2021-05-02 00:14:24 +01:00
  • da3754efba [CSS][Network] Minor fixes concerning attachment representation (centering and width) Diogo Peralta Cordeiro 2021-05-01 22:56:51 +01:00
  • 1e7d8cac9a [ATTACHMENTS] Follow URL redirects and don't duplicate attachments Diogo Peralta Cordeiro 2021-05-01 22:55:33 +01:00
  • adb6680a01 [ATTACHMENTS] Respect config for smart crop Diogo Peralta Cordeiro 2021-05-01 22:54:02 +01:00
  • ab060332f0 [Posting] Don't sanitize on storage Diogo Peralta Cordeiro 2021-05-01 22:53:08 +01:00
  • 8f43c8b405 [AUTOGENERATED] Update auto generated code Diogo Peralta Cordeiro 2021-05-01 22:52:14 +01:00
  • 4fcccb1d1c [CORE][ImageEncoder] Add width and height back in attachment entity and allow for differently sized thumbs Diogo Peralta Cordeiro 2021-05-01 22:48:44 +01:00
  • 1c9f807595 [Embed] Fix some bugs and change AttachmentEmbed::url to ::media_url Diogo Peralta Cordeiro 2021-05-01 22:45:47 +01:00
  • c9090e6cee [ATTACHMENTS][GSFile] Rename ValidateAndStore functions Diogo Peralta Cordeiro 2021-05-01 22:14:38 +01:00
  • a3860e6257 [Embed] Local config Diogo Peralta Cordeiro 2021-05-01 22:03:54 +01:00
  • 186e31e20d [DEPENDENCIES] Add ext-curl Diogo Peralta Cordeiro 2021-05-01 21:57:38 +01:00
  • 6d31945401 [ATTACHMENTS] In sendFile, check that file exists or show a custom exception Hugo Sales 2021-05-01 13:02:14 +00:00
  • 38cf8f8efe [ENTITY] Change foreign key definition to new format for cover and profile_color tables Hugo Sales 2021-05-01 12:48:08 +00:00
  • cfe842b487 [DOCUMENTATION] Add database diagram to developer documentation Hugo Sales 2021-05-01 12:47:29 +00:00
  • 06b236374d [CSS][Network] Improve attachment representation Part of why we have thumbnails with a specific size is so that they are in the proper theme size Diogo Peralta Cordeiro 2021-04-30 23:47:43 +01:00
  • 612c809469 [CSS][Left] Vertical scroll on left menu when it doesn't fit the screen Diogo Peralta Cordeiro 2021-04-30 23:43:34 +01:00
  • 7a2f5e352b [CSS][Network] Fix horizontal menu on smaller screens Diogo Peralta Cordeiro 2021-04-30 23:40:32 +01:00
  • 837f644458 [UTIL][Formatting] Add twigRenderFile Diogo Peralta Cordeiro 2021-04-30 22:29:42 +01:00
  • e9a96f1c9b [DOCUMENTATION] Add high level code walkthrough to developer docs Hugo Sales 2021-04-30 20:16:42 +00:00
  • 353595eb97 [Posting] Add missing default visibility option Hugo Sales 2021-04-30 13:18:58 +00:00
  • 5067bcd074 [ImageEncoder][FileQuota] Move quota enforcement to it's own plugin, so it can be easily shared and disabled Hugo Sales 2021-04-30 13:14:16 +00:00
  • 5bd16a509e [TEMPLATES] Fix identation Diogo Peralta Cordeiro 2021-04-30 02:51:03 +01:00
  • 8cb64ede7f [AttachmentShowRelated] Move Attachment related to plugin Diogo Peralta Cordeiro 2021-04-30 01:51:59 +01:00
  • 29a215534d [SECURITY] We can't really show a stream for this, was a nice concept, but not properly doable without requiring JS Diogo Peralta Cordeiro 2021-04-29 23:47:42 +01:00
  • d11615ded6 [Avatar][Embed] Change use of TemporaryFile::getPath to getRealPath Hugo Sales 2021-04-29 20:42:26 +00:00
  • aad4bddedd [ImageEncoder] Implement attachment validation for images. This limits the maximum dimensions of the file, enforces a per file, per user and per user-month size quota and fixes the title if it's a filename, by replacing the extension to the new one Hugo Sales 2021-04-29 20:31:24 +00:00
  • 7509913fcf [ENTITY] Add field size to attachments, used for quota calculations Hugo Sales 2021-04-29 20:29:21 +00:00
  • 29457ef50d [UTIL] Add option for setting a file suffix on TemporaryFile constructor and add missing TemporaryFileException Hugo Sales 2021-04-29 20:27:41 +00:00
  • a165e533bb [CONFIG] Add attachments/max_{width,height} config option, which is used as maximum dimensions when validating attachments Hugo Sales 2021-04-29 20:26:40 +00:00
  • 8ad8546aab [DEPENDENCIES] Add oroinc/doctrine-extensions, which provides cross database platform date functions Hugo Sales 2021-04-29 20:25:07 +00:00
  • a0b820fd76 [CSS] Refactor Right Panel style Diogo Peralta Cordeiro 2021-04-30 02:23:19 +01:00
  • 2d8d8ffb48 [TEMPLATES] Add dynamic blocks to right panel Diogo Peralta Cordeiro 2021-04-30 01:53:19 +01:00
  • 4bd081ad27 [CSS] Fix invisible checkboxes Diogo Peralta Cordeiro 2021-04-29 21:20:40 +01:00
  • 110c2572a4 [TEMPLATES] Minor refactoring, extending left was weird Diogo Peralta Cordeiro 2021-04-29 20:51:13 +01:00
  • e9b2b18093 [Avatar] Implement avatar deletion Hugo Sales 2021-04-29 18:12:32 +00:00
  • 2ec7059076 [AVATAR] Move avatar settings page to Avatar component Hugo Sales 2021-04-29 12:55:26 +00:00
  • ced610d942 [Embed] Use Formatting utilities rather than substr and such Hugo Sales 2021-04-29 12:53:42 +00:00
  • 9008bee558 [Embed] Add docblock to handle function to pass pre-commit hook Diogo Peralta Cordeiro 2021-04-29 17:42:31 +01:00
  • 88e5cec8fc [ENTITY][GSActor] Fix getAvatarUrl method Diogo Peralta Cordeiro 2021-04-29 17:42:06 +01:00
  • cbd383f92d [RIGHT] Introduce component abstraction Diogo Peralta Cordeiro 2021-04-29 17:40:19 +01:00
  • 143b2460e9 [VIEWS] Minor proofreading of templates and css Diogo Peralta Cordeiro 2021-04-29 17:08:09 +01:00
  • aea8639d44 [ATTACHMENTS] Restrict thumbnail generation to allowed sizes. Defaults to only configured sizes, but can be extended with the event 'GetAllowedThumbnailSizes'. The intention is to prevent DoS attacks, since handling a thumbnail request is a relatively slow process Hugo Sales 2021-04-28 21:53:02 +00:00
  • 4f6f1941da [UI] Fix 'hide_attachments is not defined' error Hugo Sales 2021-04-28 21:50:55 +00:00
  • 436528172c [ATTACHMENTS] Add controller and templates for the attachment show page, which shows extra info about an attachment, such as related notes and tags Hugo Sales 2021-04-28 21:25:35 +00:00
  • be91fb754d [CORE] Typo in GSFile and slight Twig weirdness in base template Hugo Sales 2021-04-28 20:16:59 +00:00
  • b1e514832b [Embed][ENTITY] Fix embed route and use attachment_view rather than _show. Rename Entity::have to Entity::has, because grammar Hugo Sales 2021-04-28 20:15:43 +00:00
  • 30107de079 [Embed] Fix plugin. Only attempt to show an image, if we have one Hugo Sales 2021-04-28 15:03:17 +00:00
  • 2adb3c3521 [ATTACHMENTS] Add event 'AttachmentFileInfo' to allow a plugin to override the file displayed Hugo Sales 2021-04-28 15:01:40 +00:00
  • 708a910870 [UTIL] Fix remove affix utilities, so they only try to remove an affix if the string starts/ends with it Hugo Sales 2021-04-28 15:00:04 +00:00
  • 8988d89192 [CONFIG] Add attachment related parameters to default config Hugo Sales 2021-04-28 14:59:04 +00:00
  • a7ef2babe6 [AUTOGENERATED] Update autogenerated code Hugo Sales 2021-04-27 21:24:48 +00:00
  • ece3c11e1b [DB] Fix error in config/services.yaml where the wrong namespace was used for the UpdateListener Hugo Sales 2021-04-27 21:23:47 +00:00
  • fb220e82ed [TOOLS] Use \DateTimeInterface rather than DateTimeInterface Hugo Sales 2021-04-27 21:23:00 +00:00
  • bb1ba11fcf [AUTOGENERATED] Run bin/generate_entity_fields for the Embed plugin Hugo Sales 2021-04-27 21:18:44 +00:00
  • 4cd152f640 [Embed] Review and port v2 code Hugo Sales 2021-04-27 20:56:50 +00:00
  • 7adc198a52 [ENTITY] Add meta method 'have*' to Entity base class, which checks if a field 'isset' Hugo Sales 2021-04-27 20:56:13 +00:00
  • 34059a8d3d [ATTACHMENTS][EVENT] Add onHashFile event, which can be used to deduplicate files Hugo Sales 2021-04-27 20:53:59 +00:00
  • 60a9085e56 [FORMATTING] Add utilities to remove affixes from strings Hugo Sales 2021-04-27 20:52:12 +00:00