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
40f2f5f977
[Embed][StoreRemoteMedia] Re-add {white,black}list check config
2021-08-18 14:15:53 +01:00
3af33d1317
[ImageEncoder] Fix ImageSanitization, it should never modify the input image
2021-08-17 23:35:35 +01:00
1e8beefb07
[PLUGINS][ENTITY][Cover][ProfileColor] Clean up after interns and move entity defintions to be inside the corresponding plugin, rather than in core
2021-08-16 17:20:33 +01:00
d23312aff9
[Embed] Add UI element and fix some bugs
2021-08-14 17:04:59 +01:00
31c5fd6da7
[ImageEncoder] Handle VIPS unsupported image type
2021-08-14 17:04:58 +01:00
c381e58d33
[ENTITY] Refactor RemoteURL entities to Link
...
RemoteURL was being an awfully confusing term.
2021-08-14 17:04:51 +01:00
333567c6a1
[Embed] Retrieve remote thumbnails and other improvements
2021-08-14 17:00:53 +01:00
632a54208d
[Embed] Fix usage of EmbedLib
...
Fix other minor bugs
2021-08-14 17:00:53 +01:00
9781ddc8e0
[AttachmentToNote][Attachment] Add title getter to Attachment
2021-08-14 17:00:52 +01:00
d13da61d30
[StoreRemoteMedia] Implement the first version of it in v3
2021-08-14 17:00:51 +01:00
eb6ff68f7a
[AttachmentShowRelated] Bug fix after re-introduction of NoteActions
2021-08-14 17:00:49 +01:00
c14718e8dd
[Favourite][TWIG][CSS] Favourite shows alt-text and properly sets colours. Titles translated on the right panel.
2021-08-14 17:00:48 +01:00
32ad5dbd74
[ENTITY] Split Attachment in various new entities
...
Remove Attachment Scope
Fixed some minor bugs
Scope will be implemented later in v3. It doesn't make sense to have
the scope handling being per attachment. Different actors can post
the same attachment with different scopes. The attachment controller
will assume the highest level of scope applied to the attachment and
the rest will be handled at the note level.
Motivation:
* Remove title from attachment, as it's part of the relation between attachment and note.
* Remove actor from attachment, many actors may publish the same attachment.
* Remove is_local from attachment, as it's part of the relation between attachment and note.
* Remove remote_url from attachment, different urls can return the same attachment.
Addition:
* Attachment now has a lives attribute, it's a reference counter with a nicer name
* GSActorToAttachment
* GSActorToRemoteURL
* RemoteURL
* RemoteURLToNote
* RemoteURLToAttachment
* AttachmentToNote now has a title attribute
2021-08-14 17:00:46 +01:00
2ea739ef61
[FileQuota] We'll get back to this plugin later
2021-08-14 16:17:15 +01:00
a4cb90ba12
[EVENTS] Change FormatNoteList do separate in and out arguments
...
This is necessary due to some weird problem which I wasn't able to figure out (but which doesn't matter)
that somehow causes the event to be called twice during testing, and thus the function was exploding
2021-08-14 16:12:58 +01:00
9a6fddb004
[CONTROLLR][UserPanel][PLUGINS] Add submit button to notification settings for each transport
2021-08-14 16:12:57 +01:00
7308e66981
[Favourite][TWIG][CSS] Favourite now works.
2021-08-14 16:12:54 +01:00
9077403f65
[ImageEncoder] Don't print_r the exception as that leads to an OOM error
2021-08-03 19:23:03 +00:00
efeb4b4ffe
[SETTINGS][PLUGIN][CONTROLLER] Populate profile tabs event added. Settings base template populated with such event for plugins and components.
...
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-08-03 19:02:39 +01:00
780d341939
[SETTINGS][ROUTES][CONTROLLER] Settings overhaul, refactoring to accommodate new global settings view. WIP, component settings aren't shown at the moment.
...
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-08-03 19:02:39 +01:00
154025090c
[TWIG] Microformats added to timeline, note's view and media. Should be backwards compatible as well.
...
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:30 +01:00
681f001f4e
[TWIG][CSS] Timeline WIP. Creating a notice is now done on the right panel. HTML structure improvements, such as the timeline divided from the navigation div.
2021-07-28 11:46:11 +01:00
cc0ef73799
[MEDIA][AttachmentThumbnail] Add mimetype to Entity
2021-07-22 21:17:23 +01:00
c3eda07521
[Media] EncoderPlugins should handle the views that concern them
...
Ensure the intended filetypes and mimetypes during Vips conversions (part 2)
Sanitize Attachments instead of Validate (part 2)
Various bug fixes
2021-07-22 21:10:45 +01:00
143ecea376
[Media] File quota should be triggered by the Core
2021-07-22 21:10:45 +01:00
4d2131808a
[FILE][TemporaryFile] Fix various issues now that we also have Symfony's file abstractions
2021-07-20 23:46:18 +01:00
5f9b61f4bf
[AUTOGENERATED] Update autogenerated code
2021-05-05 16:03:03 +00:00
b99fab00e9
[UTILS][TemporaryFile] Change way TemporaryFile takes arguments and it's internal implementation
2021-05-02 15:48:33 +00:00
6aea20db05
[Embed] Do not create AttachmenThumbnail
2021-05-02 00:49:10 +01:00
4397d12fa4
[AUTOGENERATED] Update auto generated code
2021-05-02 00:00:03 +01:00
c58d7e470a
[CORE][ImageEncoder] Add width and height back in attachment entity and allow for differently sized thumbs
...
The strategy adopted involves predicting the thumb size as we did in v2 before having vips resize
2021-05-02 00:00:02 +01:00
5a40d1f3e3
[Embed] Fix some bugs and change AttachmentEmbed::url to ::media_url
2021-05-01 23:58:49 +01:00
d5a7f2122a
[Embed] Local config
2021-05-01 23:57:51 +01:00
0629c1434d
[UTIL][Formatting] Add twigRenderFile
2021-04-30 23:08:08 +01:00
1bf5e9d117
[ImageEncoder][FileQuota] Move quota enforcement to it's own plugin, so it can be easily shared and disabled
2021-04-30 23:08:08 +01:00
c2f6665cce
[AttachmentShowRelated] Move Attachment related to plugin
2021-04-30 23:08:08 +01:00
ebfa0e2240
[Avatar][Embed] Change use of TemporaryFile::getPath to getRealPath
2021-04-30 23:08:08 +01:00
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