Commit Graph

19649 Commits

Author SHA1 Message Date
d398456be8 [TESTS] Fix namespace on Controller Security test 2021-08-20 11:34:08 +01:00
3288d48b8a [TESTS] Fix broken tests and expand tests around Attachments 2021-08-20 11:34:07 +01:00
94edde001c [TESTS] Fix Common test 2021-08-20 11:34:06 +01:00
41d759428f [TESTS][DataFixtures] Use Temporary file instead of an ad-hoc solution to copy the upload files 2021-08-20 11:32:49 +01:00
469cd97b9b [Posting] Respect process_links setting 2021-08-19 19:37:56 +01:00
8a01224feb [FileQuota] Update plugin to respect the new entities 2021-08-19 19:37:56 +01:00
61d558b371 [CORE] Fix path configuration 2021-08-19 01:58:29 +01:00
8c5486ba13 [FIXTURES] Catch any exception, we don't have VIPS-related only 2021-08-19 01:58:29 +01:00
a7d4a56b14 [TESTS][Forms] Respect new naming conventions 2021-08-19 01:57:19 +01:00
bef23f20bc [TESTS] remove accidentally duplicate sample upload 2021-08-19 01:07:51 +01:00
22ad2bd5cc [VideoEncoder] Port plugin to v3 properly 2021-08-18 23:38:03 +01:00
968a425459 [DOCS][Developer] Paradigms: Update is_null based on poll votes
Everything around the use we give to php's null is about the state of having a value or not. Thus, using `is_null` always is the less bad option.
2021-08-18 23:38:03 +01:00
30975111d9 [ImageEncoder] Make plugin respect instance config and use the new core interface 2021-08-18 23:38:03 +01:00
7c85d312ed [ENTITY][AttachmentThumbnail] Improve the way EncoderPlugins participate in the thumbnail process 2021-08-18 23:38:03 +01:00
c50e3324ef [TWIG][Attachments] Don't throw event with mimetype in its name 2021-08-18 23:38:02 +01:00
aebc5358b5 [Core][GSFile] Improve the way EncoderPlugins participate in the file sanitization process 2021-08-18 23:38:02 +01:00
24b3e22f73 [ENTITY][Attachment] Respect rfc6838#section-4.2 mimetype length 2021-08-18 23:38:02 +01:00
6e9cde8a5c [TESTS][Controller][AdminTest] Update int tests to use attachment file_quota instead, as we deleted attachment max width 2021-08-18 23:37:57 +01:00
4089fc692d [CONFIG] Add setting for attachment sanitization 2021-08-18 22:17:40 +01:00
f25759d60b [CONTROLLER][Attachment] Some attachments may not have dimensions 2021-08-18 22:17:39 +01:00
a383021992 [DOCUMENTATION] Update documentation regarding route accept formats 2021-08-18 21:40:08 +01:00
d6e6e56814 [ROUTER][UTIL] Allow specifying the Accept format for a route 2021-08-18 21:33:07 +01:00
9afa265c30 [DOCKER] Update PHP docker container to include ffmpeg, for the VideoEncoderPlugin 2021-08-18 21:20:25 +01:00
027c9a9324 [MODULES][PLUGINS] Move noteActionHandle utility to NoteHandlerPlugin which plugins which handle actions on notes should extend 2021-08-18 19:14:24 +01:00
2c10ce5cfc [UI] Rename all forms to more specific names, to avoid form name collisions 2021-08-18 18:38:54 +01:00
c03c6f1bb5 [UTIL][Form] Disallow using very generic form names, as they can collide with other forms in the same page 2021-08-18 18:35:03 +01:00
be5328cdc5 [TESTS] Fix LocalUserTest, i forgor to boot the kernel 2021-08-18 18:09:26 +01:00
4a781d483a [TESTS] Fix tests broken with rebased commits 2021-08-18 17:40:37 +01:00
5bcabbb025 [TESTS] Raise test coverage for Link to 100% 2021-08-18 17:35:10 +01:00
b6cd58d501 [TESTS] Raise test coverage of LocalGroup to 100% 2021-08-18 17:35:10 +01:00
2ba6f66b7f [TESTS] Raise test coverage of LocalUser to 100% 2021-08-18 17:35:10 +01:00
152beb5798 [TESTS] Raise GSActor test coverage to 100% 2021-08-18 17:35:10 +01:00
96612fcd43 [TESTS][Attachment][AttachmentThumbnail][GSFile] Reorganize tests and raise test coverage to 100% 2021-08-18 17:35:10 +01:00
4cda3fc645 [ATTACHMENTS][AttachmentThumbnail] Fix implementation of predictScalingValues and small fixes 2021-08-18 17:35:10 +01:00
b72fcd2a05 [TESTS] Add code coverage annotations to entities 2021-08-18 17:35:10 +01:00
9018b1301a [TESTS] Raise test coverage for Note to 100% 2021-08-18 17:35:10 +01:00
20901d26df [Note] Fix scope check for group notes, move away from SQL, to DQL 2021-08-18 17:35:10 +01:00
0b3ebf841d [TESTS][DataFixtures] Add user, self follows, group member and group scope note 2021-08-18 17:35:09 +01:00
fd1bd9838d [TOOLS] Disable command echo in Makefile 2021-08-18 17:35:09 +01:00
7320c6834f [UI][Attachment] Use Attachment methods to get the proper URL, rather than crafting it in a template 2021-08-18 17:35:09 +01:00
9c533a54a7 [ATTACHMENTS] Ensure thumbnail dimensions are bounded and change way cropping is implemented 2021-08-18 17:35:09 +01:00
5be4c6a22e [VideoEncoder] Add plugin composer dependency php-ffmpeg/php-ffmpeg 2021-08-18 14:46:49 +01:00
61500c5223 [Embed] Move composer dependency embed/embed from core to plugin 2021-08-18 14:46:49 +01:00
f7c426e81c [ENTITY][Link] self urls can't be considered a remote url 2021-08-18 14:34:49 +01:00
40f2f5f977 [Embed][StoreRemoteMedia] Re-add {white,black}list check config 2021-08-18 14:15:53 +01:00
b7b54b8a07 [Posting] Fix wrong usage of DB::findBy 2021-08-18 12:23:36 +01:00
a6e41d3bd8 [DOCS][Developer] Recommend reading the tests cases for when the doc doesn't cover 2021-08-17 23:39:45 +01:00
d4ad0cc3d4 [DOCS][Developer] Update storage documentation 2021-08-17 23:37:19 +01:00
3af33d1317 [ImageEncoder] Fix ImageSanitization, it should never modify the input image 2021-08-17 23:35:35 +01:00
2448d83ace [CSS] Hotfix: Figure captions do not overflow. 2021-08-17 21:59:54 +01:00