Commit Graph

19216 Commits

Author SHA1 Message Date
Hugo Sales ec8ad1888a [DEPENDENCIES] Add php-vips 2021-04-16 20:28:39 +01:00
Hugo Sales 8a280c349f [TOOLS] In pre-commit hook, only run php-doc-check if some PHP file changed 2021-04-16 20:28:39 +01:00
Hugo Sales cbb36c9531 [DOCKER] Add VIPS PHP extension to Docker build 2021-04-16 20:28:39 +01:00
Hugo Sales acf5bd1ff5 [ImageThumbnail] Implement image resizing with Intervention/Image 2021-04-16 20:28:39 +01:00
Hugo Sales 6dd6491bee [ImageThumbnail] Structure of plugin to generate thumbnails for image attachments 2021-04-16 20:28:39 +01:00
Hugo Sales 2f65311ae6 [DB] Allow DQL queries with table name rather than entity 2021-04-16 20:28:39 +01:00
Hugo Sales cadd48922d [CORE] Add functionality to App\Core\Controller to get and validate GET parameters 2021-04-16 20:28:39 +01:00
Hugo Sales 2232f28283 [Posting] Rename file to attachment and cache result of actor tag query 2021-04-16 20:28:39 +01:00
Hugo Sales b639ce906c [MEDIA] Rename File to Attachment 2021-04-16 20:28:39 +01:00
Hugo Sales d6414e51a2 [CORE] Rename NoteScope to VisibilityScope, as it will be used for attachment visbility too 2021-04-16 20:28:39 +01:00
Hugo Sales 1fda65bc3d [DB] Add table map which allows using table names rather than entities in Doctrine operations 2021-04-16 20:28:39 +01:00
Hugo Sales a5505bf848 [AUTOGENERATED] Update autogenerated code 2021-04-16 20:28:39 +01:00
Hugo Sales 678d62781b [Directory] Fixup directory plugin 2021-04-16 20:28:39 +01:00
Diogo Peralta Cordeiro b5ffe8a52b [DOCUMENTATION] Three books instead of only one
The User one is intended to illustrate the various common use cases, possibilities regarding customization and introduce the existing functionalities.

The Administrator one explains the step by step of how to install and maintain a GNU social instance, be it as node of The Free Network or as an intranet social network in a company setting.

The Developer one starts by introducing the Modules system and architecture, then the plugin development process and finally the exciting internals of GNU social for those looking forward to make the most advanced contributions.
2021-04-16 20:28:23 +01:00
Diogo Peralta Cordeiro 8e9da452c6 [MEDIA] Refactor File as Attachment 2021-04-16 20:27:33 +01:00
Hugo Sales 8fc2a83e3c [CONFIG][TWIG] Move twig config to php code to add support for placing templates in modules (plugins and components) 2021-04-16 20:21:54 +01:00
Hugo Sales f4e40002a4 [Directory] Move templates from core to plugin 2021-04-16 20:21:54 +01:00
Hugo Sales 8c6881f526 [COMPOSER][Media] Add example composer.json in plugins/Media 2021-04-16 20:21:54 +01:00
Hugo Sales 0802f7a9e3 [TWIG] Add way to launch events from TWIG, capture service and add way to render from a string 2021-04-16 20:21:54 +01:00
Hugo Sales d95e51a030 [LEFT][EVENT] Add event allowing plugins to add links to the left panel 2021-04-16 20:21:54 +01:00
Hugo Sales 085a98cea3 [Favourite] Move table and left panel links to plugin 2021-04-16 20:21:54 +01:00
Hugo Sales f7af76a1ba [DEPENDENCIES] Add wikimedia/composer-merge-plugin 2021-04-16 20:21:54 +01:00
Hugo Sales c5b26bcffb [FAVOURITE] Temporary commit to fix exception in timeline 2021-04-16 20:21:54 +01:00
Hugo Sales 244cc8dae1 [Favourite] Move controller to plugin 2021-04-16 20:21:54 +01:00
Hugo Sales 520733888d Rename FFmpeg to VideoThumbnail FIXME 2021-04-16 20:21:54 +01:00
Diogo Peralta Cordeiro a1cac40f6a [MODULES] Introduce the concept of abstract modules to V3
Introduce placeholder for abstract upload and thumb modules
Temporarily supress some bugs
2021-04-16 20:21:54 +01:00
Hugo Sales 6bfea8a0df [NETWORK] Fix big brain bug 2021-04-14 19:54:38 +00:00
Hugo Sales ae29a9c00a [ENTITY] Remove extraneous File_thumbnail.php file 2021-04-14 16:12:26 +00:00
Diogo Peralta Cordeiro 5ddc551fd9 [SCRIPTS] pre-commit now has variables double quoted 2021-04-14 15:47:10 +00:00
Diogo Peralta Cordeiro 764ff60c34 [INSTALL] Elaborate on localhost installation 2021-04-14 15:47:06 +00:00
Hugo Sales ae91f75aeb [FFmpeg] Copy FFmpeg plugin from v2 2021-04-14 15:44:45 +00:00
Hugo Sales 5d4f544a03 [TOOLS] Fix missing exported variable in bin/configure 2021-04-14 15:40:14 +00:00
Hugo Sales efd2719481 [Embed][StoreRemoteMedia][Media] Copy and cleanup plugins from v2 2021-04-14 15:37:24 +00:00
Hugo Sales 66ed6fb658 [Media] Copy media subsystem from v2 and roughly structure it for v3 2021-04-14 15:37:24 +00:00
Hugo Sales 6606a72e67 [TOOLS][DOCKER] Make sure composer doesn't require interaction when installing 2021-04-14 15:37:24 +00:00
Hugo Sales fc019d6a6e [ActivityPub] Remove ActivityPub plugin until we're ready to work on it, as it needs significant work 2021-04-14 15:37:24 +00:00
Hugo Sales 6be1622fd0 [DB][FKEY] Temporarily disable foreign key mapping, as there seems to be a bug in doctrine, which is under investigation 2021-04-14 15:37:24 +00:00
Hugo Sales d0fd0e6c6c [DB] Remove unique constraint from GSActor.nickname and fix register and related functionality 2021-04-14 15:37:24 +00:00
Hugo Sales 079d230959 [NICKNAME] Don't throw when normalizing reserved nicknames 2021-04-14 15:37:24 +00:00
Hugo Sales 637c25d5fe [WEB] Fix translations and small inconsistency when opening on web 2021-04-14 15:37:24 +00:00
Hugo Sales 051720a686 [TESTS] Add tests to all relevant methods under App\Util and fix errors that popup 2021-04-14 15:37:24 +00:00
Hugo Sales f3c2048c62 [NICKNAME] Add nickname min length config and check it in Nickname::normalize 2021-04-14 15:37:24 +00:00
Hugo Sales 988c5af6d3 [DEPENDENCIES] Add jchook/phpunit-assert-throws and update dependencies 2021-04-14 15:37:24 +00:00
Hugo Sales aa58c3520c Duplicate src/Util/Exception/NicknameTooLongException.php history in src/Util/Exception/NicknameTooShortException.php history. 2021-04-14 15:37:24 +00:00
Hugo Sales cafd9a39a0 [TESTS] Add tests of Common and fix small oddities that pop up 2021-04-14 15:37:24 +00:00
Hugo Sales 120011a2d0 [TESTS] Fix error when testing cold redis cache 2021-04-14 15:37:24 +00:00
Hugo Sales c8b2ce6694 [TESTS] Add tests for the bitmap utility and fix implementation 2021-04-14 15:37:24 +00:00
Hugo Sales b855dd00ac [LOG] Only try to log if setup, so logs can be disabled, in tests, for instance 2021-04-14 15:37:24 +00:00
Hugo Sales d082f4249c CACHE] Fix cache implementation with the help of tests and remove premature optimization for non-redis list caching
This complicated the code significantly and likely didn't help that much, if at all. The recommended setup is using Redis, anyway, which is plenty optimized
2021-04-14 15:37:24 +00:00
Hugo Sales f11f9040b1 [TESTS] Add App\Core\Cache test 2021-04-14 15:37:24 +00:00