Commit Graph

  • e08767cec0 [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
  • 83415b7aa6 [CONFIG] Add attachment related parameters to default config Hugo Sales 2021-04-28 14:59:04 +00:00
  • 495e66f4ae [AUTOGENERATED] Update autogenerated code Hugo Sales 2021-04-27 21:24:48 +00:00
  • 17ea4ecce1 [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
  • 1d7375b9cb [TOOLS] Use \DateTimeInterface rather than DateTimeInterface Hugo Sales 2021-04-27 21:23:00 +00:00
  • 0a69f6de8c [AUTOGENERATED] Run bin/generate_entity_fields for the Embed plugin Hugo Sales 2021-04-27 21:18:44 +00:00
  • 72cd2e7a30 [Embed] Review and port v2 code Hugo Sales 2021-04-27 20:56:50 +00:00
  • c6389c63b8 [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
  • f388554166 [ATTACHMENTS][EVENT] Add onHashFile event, which can be used to deduplicate files Hugo Sales 2021-04-27 20:53:59 +00:00
  • b4ad396cd1 [FORMATTING] Add utilities to remove affixes from strings Hugo Sales 2021-04-27 20:52:12 +00:00
  • c3473e45d2 [DEPENDENCIES] Add 'embed/embed', 'nyholm/psr7' and 'symfony/dom-crawler' Hugo Sales 2021-04-27 20:50:43 +00:00
  • 075b495f5a [ENTITY] Add utils to Attachment and AttachmentThumbnail to get the corresponding URL and html representation parameters Hugo Sales 2021-04-25 21:26:53 +00:00
  • 9b3ccac246 [UTIL] Add TemporaryFile class, courtesy of Alexei Sorokin from v2, a class that ensures files stored in /tmp are removed, as it doesn't happen in some cases Hugo Sales 2021-04-25 21:25:56 +00:00
  • 82d9326343 [PLUGINS] Remove scripts. These will need to be implemented with Commands Hugo Sales 2021-04-25 21:24:43 +00:00
  • 464406cccc [Emebed] Add Embed plugin and initial cleanup Hugo Sales 2021-04-25 21:23:46 +00:00
  • 2782aa9924 [UI] Use event 'ShowAttachment' to permit plugins like Embed to alter the representation Hugo Sales 2021-04-25 21:21:12 +00:00
  • 1df7be7e8a [UTIL] Add method to validate url Hugo Sales 2021-04-25 21:17:01 +00:00
  • 792a9f097c [HTTPClient] Add utility functions for all HTTP methods Hugo Sales 2021-04-25 21:16:24 +00:00
  • 4649ee9e71 [DB] Make DB::findOneBy throw a different exception if two values are found Hugo Sales 2021-04-25 21:15:24 +00:00
  • c1db9bd0a3 [Posting] Extract and store URLs from note content. Introduce 'AttachmentStoreNew' event Hugo Sales 2021-04-25 21:14:35 +00:00
  • cc47cda3d1 [TESTS] Fix Nickname test Hugo Sales 2021-04-23 15:38:26 +00:00
  • 1503c98f26 [Favourite] Make twig event operate on array rather than string Hugo Sales 2021-04-23 12:55:42 +00:00
  • b82658e345 [SECURITY][DB] Make user register 'atomic', by using a single transaction for inserting all objects, to avoid partial inserts Hugo Sales 2021-04-23 12:54:25 +00:00
  • 1bad2fa050 [TESTS] Fix wrong namespace in tests Hugo Sales 2021-04-22 18:26:00 +00:00
  • 926d0af663 [PLUGIN] Change base class from Module to Plugin for all plugins Hugo Sales 2021-04-19 18:51:05 +00:00
  • 0a7496de1e [AVATAR] Display avatar rounded Hugo Sales 2021-04-19 10:50:33 +00:00
  • 9814baf192 [UI] Use thumbnail path for thumbs Diogo Peralta Cordeiro 2021-04-19 12:20:10 +01:00
  • 5ec7717fa1 [ATTACHMENTS] Move thumbnail controller to core and cleanup Hugo Sales 2021-04-19 07:28:53 +00:00
  • d316f9dd6f [ImageEncoder] Change preferred type to always be WEBP Hugo Sales 2021-04-18 20:39:43 +00:00
  • 529ec19801 [AVATAR] Display avatar as round on the default theme Hugo Sales 2021-04-18 20:38:06 +00:00
  • e105889a59 [AVATAR] Fix JS cropping script and save square image, in case other themes need it Hugo Sales 2021-04-18 20:27:31 +00:00
  • c37a75cf7b [ImageEncoder] Move DB::persist call to AttachmentThumbnail Hugo Sales 2021-04-16 22:55:00 +00:00
  • a33a25983e [ImageEncoder] Fix error when not providing a width and/or height Hugo Sales 2021-04-16 22:54:22 +00:00
  • 2f137f8b44 [ATTACHMENTS] Even more further refactoring Introduce Encoder plugins Instead of abstract upload and thumb modules Diogo Peralta Cordeiro 2021-04-18 05:47:16 +01:00
  • 0f52638a80 [ATTACHMENTS] Further refactoring Diogo Peralta Cordeiro 2021-04-18 02:17:57 +01:00
  • bbc2fe1b5a [ENTITY] Cache AttachmentThumbnail query result Hugo Sales 2021-04-16 16:12:49 +00:00
  • 45a894c953 [Poll] Move tables from core to plugin Hugo Sales 2021-04-16 16:11:34 +00:00
  • c8915df31e [ImageThumbnail] Finish image thumbnailing functionality Hugo Sales 2021-04-16 15:57:25 +00:00
  • f6dea6e162 [DB] Fix bug in custom criteria format wrangling Hugo Sales 2021-04-16 15:55:50 +00:00
  • ec8ad1888a [DEPENDENCIES] Add php-vips Hugo Sales 2021-04-16 15:53:49 +00:00
  • 8a280c349f [TOOLS] In pre-commit hook, only run php-doc-check if some PHP file changed Hugo Sales 2021-04-16 15:52:47 +00:00
  • cbb36c9531 [DOCKER] Add VIPS PHP extension to Docker build Hugo Sales 2021-04-16 15:52:10 +00:00
  • acf5bd1ff5 [ImageThumbnail] Implement image resizing with Intervention/Image Hugo Sales 2021-04-16 10:46:53 +00:00
  • 6dd6491bee [ImageThumbnail] Structure of plugin to generate thumbnails for image attachments Hugo Sales 2021-04-15 22:47:33 +00:00
  • 2f65311ae6 [DB] Allow DQL queries with table name rather than entity Hugo Sales 2021-04-15 22:34:55 +00:00
  • cadd48922d [CORE] Add functionality to App\Core\Controller to get and validate GET parameters Hugo Sales 2021-04-15 22:33:37 +00:00
  • 2232f28283 [Posting] Rename file to attachment and cache result of actor tag query Hugo Sales 2021-04-15 22:30:12 +00:00
  • b639ce906c [MEDIA] Rename File to Attachment Hugo Sales 2021-04-15 22:28:28 +00:00
  • d6414e51a2 [CORE] Rename NoteScope to VisibilityScope, as it will be used for attachment visbility too Hugo Sales 2021-04-15 22:26:05 +00:00
  • 1fda65bc3d [DB] Add table map which allows using table names rather than entities in Doctrine operations Hugo Sales 2021-04-15 17:01:52 +00:00
  • a5505bf848 [AUTOGENERATED] Update autogenerated code Hugo Sales 2021-04-15 16:58:13 +00:00
  • 678d62781b [Directory] Fixup directory plugin Hugo Sales 2021-04-15 16:57:39 +00:00
  • b5ffe8a52b [DOCUMENTATION] Three books instead of only one Diogo Peralta Cordeiro 2021-04-16 20:28:02 +01:00
  • 8e9da452c6 [MEDIA] Refactor File as Attachment Diogo Peralta Cordeiro 2021-04-16 20:27:33 +01:00
  • 8fc2a83e3c [CONFIG][TWIG] Move twig config to php code to add support for placing templates in modules (plugins and components) Hugo Sales 2021-04-15 11:42:45 +00:00
  • f4e40002a4 [Directory] Move templates from core to plugin Hugo Sales 2021-04-15 11:40:48 +00:00
  • 8c6881f526 [COMPOSER][Media] Add example composer.json in plugins/Media Hugo Sales 2021-04-15 10:30:46 +00:00
  • 0802f7a9e3 [TWIG] Add way to launch events from TWIG, capture service and add way to render from a string Hugo Sales 2021-04-15 00:59:30 +00:00
  • d95e51a030 [LEFT][EVENT] Add event allowing plugins to add links to the left panel Hugo Sales 2021-04-15 00:58:09 +00:00
  • 085a98cea3 [Favourite] Move table and left panel links to plugin Hugo Sales 2021-04-15 00:57:29 +00:00
  • f7af76a1ba [DEPENDENCIES] Add wikimedia/composer-merge-plugin Hugo Sales 2021-04-14 23:40:14 +00:00
  • c5b26bcffb [FAVOURITE] Temporary commit to fix exception in timeline Hugo Sales 2021-04-14 23:31:18 +00:00
  • 244cc8dae1 [Favourite] Move controller to plugin Hugo Sales 2021-04-14 19:59:37 +00:00
  • 520733888d Rename FFmpeg to VideoThumbnail FIXME Hugo Sales 2021-04-14 23:37:49 +00:00
  • a1cac40f6a [MODULES] Introduce the concept of abstract modules to V3 Introduce placeholder for abstract upload and thumb modules Temporarily supress some bugs Diogo Peralta Cordeiro 2021-04-15 00:30:35 +01:00
  • 6bfea8a0df [NETWORK] Fix big brain bug Hugo Sales 2021-04-14 19:54:38 +00:00
  • ae29a9c00a [ENTITY] Remove extraneous File_thumbnail.php file Hugo Sales 2021-04-14 16:12:26 +00:00
  • 5ddc551fd9 [SCRIPTS] pre-commit now has variables double quoted Diogo Peralta Cordeiro 2021-04-14 15:50:19 +01:00
  • 764ff60c34 [INSTALL] Elaborate on localhost installation Diogo Peralta Cordeiro 2021-04-14 15:45:03 +01:00
  • ae91f75aeb [FFmpeg] Copy FFmpeg plugin from v2 Hugo Sales 2021-04-14 15:44:45 +00:00
  • 5d4f544a03 [TOOLS] Fix missing exported variable in bin/configure Hugo Sales 2021-04-14 15:40:14 +00:00
  • efd2719481 [Embed][StoreRemoteMedia][Media] Copy and cleanup plugins from v2 Hugo Sales 2021-04-14 15:27:37 +00:00
  • 66ed6fb658 [Media] Copy media subsystem from v2 and roughly structure it for v3 Hugo Sales 2021-04-11 20:53:23 +00:00
  • 6606a72e67 [TOOLS][DOCKER] Make sure composer doesn't require interaction when installing Hugo Sales 2021-04-11 19:57:04 +00:00
  • fc019d6a6e [ActivityPub] Remove ActivityPub plugin until we're ready to work on it, as it needs significant work Hugo Sales 2021-04-11 19:56:45 +00:00
  • 6be1622fd0 [DB][FKEY] Temporarily disable foreign key mapping, as there seems to be a bug in doctrine, which is under investigation Hugo Sales 2021-04-11 18:32:28 +00:00
  • d0fd0e6c6c [DB] Remove unique constraint from GSActor.nickname and fix register and related functionality Hugo Sales 2021-04-11 11:03:32 +00:00
  • 079d230959 [NICKNAME] Don't throw when normalizing reserved nicknames Hugo Sales 2021-04-10 22:42:13 +00:00
  • 637c25d5fe [WEB] Fix translations and small inconsistency when opening on web Hugo Sales 2021-04-10 22:32:47 +00:00
  • 051720a686 [TESTS] Add tests to all relevant methods under App\Util and fix errors that popup Hugo Sales 2021-04-10 21:57:00 +00:00
  • f3c2048c62 [NICKNAME] Add nickname min length config and check it in Nickname::normalize Hugo Sales 2021-04-10 21:54:30 +00:00
  • 988c5af6d3 [DEPENDENCIES] Add jchook/phpunit-assert-throws and update dependencies Hugo Sales 2021-04-10 21:53:11 +00:00
  • aa58c3520c Duplicate src/Util/Exception/NicknameTooLongException.php history in src/Util/Exception/NicknameTooShortException.php history. Hugo Sales 2021-04-10 20:43:30 +00:00
  • cafd9a39a0 [TESTS] Add tests of Common and fix small oddities that pop up Hugo Sales 2021-04-10 00:27:19 +00:00
  • 120011a2d0 [TESTS] Fix error when testing cold redis cache Hugo Sales 2021-04-05 13:45:39 +00:00
  • c8b2ce6694 [TESTS] Add tests for the bitmap utility and fix implementation Hugo Sales 2021-04-05 13:44:25 +00:00
  • b855dd00ac [LOG] Only try to log if setup, so logs can be disabled, in tests, for instance Hugo Sales 2021-04-05 13:43:32 +00:00
  • d082f4249c CACHE] Fix cache implementation with the help of tests and remove premature optimization for non-redis list caching Hugo Sales 2021-04-01 22:26:17 +00:00
  • f11f9040b1 [TESTS] Add App\Core\Cache test Hugo Sales 2021-04-01 22:24:39 +00:00
  • 27dbd5521a [DEPENDENCIES] Update dependencies, including redis-polyfill, to be able to implement a test Hugo Sales 2021-04-01 19:17:09 +00:00
  • 4f3b797c80 [TESTS] Update PHPUnit configuration and upgrade to version 9.5 Hugo Sales 2021-04-01 13:45:25 +00:00
  • f5df7edc6c [DOCKER][TOOLS] Add option to bin/configure to use a prebuilt PHP container (https://hub.docker.com/repository/docker/gsocial/php) Hugo Sales 2021-04-01 13:17:25 +00:00
  • 99c4e8ded5 [TESTS] Fix deprecations Hugo Sales 2021-03-31 15:12:01 +00:00
  • a8b599d213 [DOCKER] Fix default docker-compose file Hugo Sales 2021-03-31 09:55:53 +00:00
  • ffaf5da984 [TESTS] Fix unkept unit tests Hugo Sales 2021-03-31 09:54:50 +00:00
  • 49fa11ba07 [TEST] Fix translation test Hugo Sales 2021-03-30 18:00:44 +00:00
  • a1546a51cd [DEPENDENCIES] Upgrade to Symfony 5.2 to get my upstream ICU translation feature Hugo Sales 2021-03-30 17:59:05 +00:00
  • 0f0851dbf3 [DOCUMENTATION] Add documentation on installing without docker and other topics Hugo Sales 2021-03-29 22:16:00 +00:00
  • ef617819e0 [DOCUMENTATION] Add documentation on installing with Docker Hugo Sales 2021-03-29 20:50:22 +00:00
  • 636f8d1be9 [DOCTRINE][CONFIGURATION] Add new required Doctrine DBAL parameter, for testing environments Hugo Sales 2021-03-29 18:41:19 +00:00