Commit Graph

5245 Commits

Author SHA1 Message Date
365a7b436f [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 2021-04-30 23:08:08 +01:00
6819dd9fb7 [TEMPLATES] Minor refactoring, extending left was weird 2021-04-29 20:36:50 +00:00
f17d4d2d92 [Embed] Use Formatting utilities rather than substr and such 2021-04-29 18:14:49 +00:00
255055d149 [Embed] Add docblock to handle function to pass pre-commit hook 2021-04-29 17:42:31 +01:00
7f765c530e [Embed][ENTITY] Fix embed route and use attachment_view rather than _show. Rename Entity::have to Entity::has, because grammar 2021-04-28 20:15:43 +00:00
e699824b1d [Embed] Fix plugin. Only attempt to show an image, if we have one 2021-04-28 15:03:17 +00:00
495e66f4ae [AUTOGENERATED] Update autogenerated code 2021-04-27 21:24:48 +00:00
0a69f6de8c [AUTOGENERATED] Run bin/generate_entity_fields for the Embed plugin 2021-04-27 21:18:44 +00:00
72cd2e7a30 [Embed] Review and port v2 code 2021-04-27 20:56:50 +00:00
82d9326343 [PLUGINS] Remove scripts. These will need to be implemented with Commands 2021-04-27 18:10:18 +00:00
464406cccc [Emebed] Add Embed plugin and initial cleanup 2021-04-27 18:10:18 +00:00
1503c98f26 [Favourite] Make twig event operate on array rather than string 2021-04-23 12:55:42 +00:00
926d0af663 [PLUGIN] Change base class from Module to Plugin for all plugins 2021-04-19 18:51:42 +00:00
9814baf192 [UI] Use thumbnail path for thumbs 2021-04-19 13:22:50 +01:00
5ec7717fa1 [ATTACHMENTS] Move thumbnail controller to core and cleanup 2021-04-19 13:22:50 +01:00
d316f9dd6f [ImageEncoder] Change preferred type to always be WEBP 2021-04-19 13:22:50 +01:00
a33a25983e [ImageEncoder] Fix error when not providing a width and/or height 2021-04-19 13:22:26 +01:00
2f137f8b44 [ATTACHMENTS] Even more further refactoring
Introduce Encoder plugins Instead of abstract upload and thumb modules

Ported attachment routes. In v3 thumbnail depends on existing attachment
so route updated accordingly.
2021-04-19 13:22:04 +01:00
0f52638a80 [ATTACHMENTS] Further refactoring
Some key points:
- Components and Plugins shouldn't extend Module directly
- Avatars should be fetched via GSActor ID, not by nickname as that isn't unique
- Avatar now is a separate Component
- Common file utilities are now to be placed in Core\GSFile, this will
  handle storage and trigger validation
- Some bug fixes
2021-04-19 13:21:32 +01:00
45a894c953 [Poll] Move tables from core to plugin 2021-04-16 20:28:39 +01:00
c8915df31e [ImageThumbnail] Finish image thumbnailing functionality 2021-04-16 20:28:39 +01:00
acf5bd1ff5 [ImageThumbnail] Implement image resizing with Intervention/Image 2021-04-16 20:28:39 +01:00
6dd6491bee [ImageThumbnail] Structure of plugin to generate thumbnails for image attachments 2021-04-16 20:28:39 +01:00
678d62781b [Directory] Fixup directory plugin 2021-04-16 20:28:39 +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
085a98cea3 [Favourite] Move table and left panel links to 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
ae91f75aeb [FFmpeg] Copy FFmpeg plugin from v2 2021-04-14 15:44:45 +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
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
up201706832
ccf4480395 [REPLY] Fixed CSS for reply form, making it now usable 2021-04-14 15:37:23 +00:00
Daniel
03aa46cf4e [ProfileColor] Added profile color css 2021-04-14 15:37:23 +00:00
Daniel
4d0f87b91b [ProfileColor] Visualize profile color 2021-04-14 15:37:23 +00:00
Daniel
a4fdb193bc [ProfileColor] Added Profile Color entity, color form and db store/load to color settings controler 2021-04-14 15:37:23 +00:00
Daniel
9ea47c5385 [ProfileColor] Added plugin base, controller and settings template 2021-04-14 15:37:23 +00:00
Angelo D. Moura
f838dbe5f3 [Directory] Lint fix - missed a coma 2021-04-14 15:37:23 +00:00
Angelo D. Moura
793e1b0417 [Directory] Finished implementing groups stream as a plugin 2021-04-14 15:37:23 +00:00
Angelo D. Moura
66875e93f8 [Directory] Finished implementing groups stream using Directory plugin 2021-04-14 15:37:23 +00:00
Daniel
e14efe86a4 [Directory] Add documentation 2021-04-14 15:37:23 +00:00
Daniel
a19b51f91e [Directory] Moved /actors stream to directory plugin 2021-04-14 15:37:23 +00:00
Daniel
35d2bdfd5e [Cover] Remove of cover form 2021-04-14 15:37:23 +00:00
Daniel
485607169f [Cover] Added cover route verifications 2021-04-14 15:37:23 +00:00
Daniel
ee039ab2e9 [Cover] Removed commented code 2021-04-14 15:37:23 +00:00
Daniel
e2df8aec10 [Cover] Input restrictions, Code cleanup 2021-04-14 15:37:23 +00:00
Daniel
0d18615fd8 [Cover] Added cover css, changed cover settings route name 2021-04-14 15:37:23 +00:00