Commit Graph

19401 Commits

Author SHA1 Message Date
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
f4e40002a4 [Directory] Move templates from core to plugin 2021-04-16 20:21:54 +01:00
8c6881f526 [COMPOSER][Media] Add example composer.json in plugins/Media 2021-04-16 20:21:54 +01:00
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
d95e51a030 [LEFT][EVENT] Add event allowing plugins to add links to the left panel 2021-04-16 20:21:54 +01:00
085a98cea3 [Favourite] Move table and left panel links to plugin 2021-04-16 20:21:54 +01:00
f7af76a1ba [DEPENDENCIES] Add wikimedia/composer-merge-plugin 2021-04-16 20:21:54 +01:00
c5b26bcffb [FAVOURITE] Temporary commit to fix exception in timeline 2021-04-16 20:21:54 +01:00
244cc8dae1 [Favourite] Move controller to plugin 2021-04-16 20:21:54 +01:00
520733888d Rename FFmpeg to VideoThumbnail FIXME 2021-04-16 20:21:54 +01:00
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
6bfea8a0df [NETWORK] Fix big brain bug 2021-04-14 19:54:38 +00:00
ae29a9c00a [ENTITY] Remove extraneous File_thumbnail.php file 2021-04-14 16:12:26 +00:00
5ddc551fd9 [SCRIPTS] pre-commit now has variables double quoted 2021-04-14 15:47:10 +00:00
764ff60c34 [INSTALL] Elaborate on localhost installation 2021-04-14 15:47:06 +00:00
ae91f75aeb [FFmpeg] Copy FFmpeg plugin from v2 2021-04-14 15:44:45 +00:00
5d4f544a03 [TOOLS] Fix missing exported variable in bin/configure 2021-04-14 15:40:14 +00:00
efd2719481 [Embed][StoreRemoteMedia][Media] Copy and cleanup plugins from v2 2021-04-14 15:37:24 +00:00
66ed6fb658 [Media] Copy media subsystem from v2 and roughly structure it for v3 2021-04-14 15:37:24 +00:00
6606a72e67 [TOOLS][DOCKER] Make sure composer doesn't require interaction when installing 2021-04-14 15:37:24 +00:00
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
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
d0fd0e6c6c [DB] Remove unique constraint from GSActor.nickname and fix register and related functionality 2021-04-14 15:37:24 +00:00
079d230959 [NICKNAME] Don't throw when normalizing reserved nicknames 2021-04-14 15:37:24 +00:00
637c25d5fe [WEB] Fix translations and small inconsistency when opening on web 2021-04-14 15:37:24 +00:00
051720a686 [TESTS] Add tests to all relevant methods under App\Util and fix errors that popup 2021-04-14 15:37:24 +00:00
f3c2048c62 [NICKNAME] Add nickname min length config and check it in Nickname::normalize 2021-04-14 15:37:24 +00:00
988c5af6d3 [DEPENDENCIES] Add jchook/phpunit-assert-throws and update dependencies 2021-04-14 15:37:24 +00:00
aa58c3520c Duplicate src/Util/Exception/NicknameTooLongException.php history in src/Util/Exception/NicknameTooShortException.php history. 2021-04-14 15:37:24 +00:00
cafd9a39a0 [TESTS] Add tests of Common and fix small oddities that pop up 2021-04-14 15:37:24 +00:00
120011a2d0 [TESTS] Fix error when testing cold redis cache 2021-04-14 15:37:24 +00:00
c8b2ce6694 [TESTS] Add tests for the bitmap utility and fix implementation 2021-04-14 15:37:24 +00:00
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
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
f11f9040b1 [TESTS] Add App\Core\Cache test 2021-04-14 15:37:24 +00:00
27dbd5521a [DEPENDENCIES] Update dependencies, including redis-polyfill, to be able to implement a test 2021-04-14 15:37:24 +00:00
4f3b797c80 [TESTS] Update PHPUnit configuration and upgrade to version 9.5 2021-04-14 15:37:23 +00:00
f5df7edc6c [DOCKER][TOOLS] Add option to bin/configure to use a prebuilt PHP container (https://hub.docker.com/repository/docker/gsocial/php) 2021-04-14 15:37:23 +00:00
99c4e8ded5 [TESTS] Fix deprecations 2021-04-14 15:37:23 +00:00
a8b599d213 [DOCKER] Fix default docker-compose file 2021-04-14 15:37:23 +00:00
ffaf5da984 [TESTS] Fix unkept unit tests 2021-04-14 15:37:23 +00:00
49fa11ba07 [TEST] Fix translation test 2021-04-14 15:37:23 +00:00
a1546a51cd [DEPENDENCIES] Upgrade to Symfony 5.2 to get my upstream ICU translation feature 2021-04-14 15:37:23 +00:00
0f0851dbf3 [DOCUMENTATION] Add documentation on installing without docker and other topics 2021-04-14 15:37:23 +00:00
ef617819e0 [DOCUMENTATION] Add documentation on installing with Docker 2021-04-14 15:37:23 +00:00
636f8d1be9 [DOCTRINE][CONFIGURATION] Add new required Doctrine DBAL parameter, for testing environments 2021-04-14 15:37:23 +00:00
b8c73d2d2a [DEPENDENCIES] Update all dependencies 2021-04-14 15:37:23 +00:00
b2aff4c75e [DB] Fix Doctrine errors due to lack of column uniqueness
So, Doctrine doesn't like that `GSActorTag.tag` is not unique, even
though composite key `[tagger, tag]` is. `tag` can't unique, but
doctrine doesn't understand this. This seems like a Doctrine bug that
should be investigated. For now we'll just not mark it as a foreign
key
2021-04-14 15:37:23 +00:00
f912236114 [DOCKER][MAIL] Temporarily disable mail container 2021-04-14 15:37:23 +00:00
349df02f78 [DOCKER][MAIL] Update config and change the way mail docker handles it, so the edits aren't visible from the outside, polluting the git staging area 2021-04-14 15:37:23 +00:00