Eliseu Amaro
2561823550
[PLUGIN][Repeat] Fixed corner case where the user would return to repeat form page and try to repeat the note again.
2021-11-16 19:39:03 +00:00
Eliseu Amaro
acc43a276b
[PLUGIN][Reply] User's own replies wont display their own nickname on rendering the original note.
2021-11-16 19:36:17 +00:00
Eliseu Amaro
9dbbc9e18e
[PLUGIN][Repeat] Fixed bug where checks dependant on user being logged in were attempted.
2021-11-15 19:25:52 +00:00
Eliseu Amaro
6e90e51f0c
[PLUGIN][CONTROLLER][Repeat] Fixed Repeat controller to update note_repeat table on removal.
2021-11-15 19:25:52 +00:00
Eliseu Amaro
b71e869843
[PLUGIN][Repeat] onAppendCardNote added. getNoteRepeats implemented.
2021-11-15 19:25:52 +00:00
Hugo Sales
f667b558f7
[TESTS] Fix SecurityTest
...
This test was broken by changes in the routing and in the templates.
However, this revealead a potential open redirect and duplicated code
in the Reply and Favourite plugins
2021-11-11 12:39:28 +00:00
Eliseu Amaro
d0f9fde7c2
[PLUGIN][Reply] WIP. Note complementary info now shows who has replied on the original note!
2021-11-10 15:44:28 +00:00
Eliseu Amaro
f2f1bdc145
[PLUGIN][Reply] Separated replies from Note table.
...
[PLUGIN][Repeat] Deleted unnecessary card note template, info now to
appended at the end of note.
[PLUGIN][TreeNotes] WIP to accomodate reply plugin changes.
[TWIG][Runtime] Removed getAdditionalTemplateVars event.
2021-11-10 13:29:53 +00:00
Eliseu Amaro
cf09b48e92
[PLUGINS][Repeat] Added note_repeat entity, fixed visual discrepancies, and completed the expected functionality.
...
[ENTITY][Note] Removed repeat_off from table. It is now part of the Repeat plugin.
2021-11-01 21:19:56 +00:00
Diogo Peralta Cordeiro
c862c9bf18
[ActivityPub] Make remote mentions great again
2021-11-01 12:16:46 +00:00
Eliseu Amaro
9a23e03330
[PLUGINS][Repeat] Repeat template override WIP.
2021-10-29 17:26:20 +01:00
Hugo Sales
4d9a5aae5a
[ActivityPub] Always explicitly compare the results of Event::handle
to the constants next
or stop
2021-10-28 17:28:02 +01:00
Eliseu Amaro
3388e0e8f1
[TWIG][Cards] Note template fully refactored. Template has now macros for different views for the card.
...
[PLUGINS][Repeat] WIP: Action added.
[PLUGINS][Favourite] Changes to accomodate note card template refactoring.
[CSS] Fixed textarea from being resized horizontally.
2021-10-27 20:44:51 +01:00
Eliseu Amaro
d47f125894
[PLUGINS][Favourite] Refactored redirection to previous url. User is now unable to do invalid actions (ex. favour an already favourited note).
...
[PLUGINS][ActivityPub] Fixed favour route id to be more consistent.
2021-10-27 20:44:50 +01:00
Diogo Peralta Cordeiro
51c984849f
[ActivityPub] Port Explorer
2021-10-27 04:22:19 +01:00
Eliseu Amaro
45f65baf96
[PLUGINS][Embed] Polished embed template in order to better utilize space.
...
[CSS][Feed] Embed related additions.
2021-10-27 04:19:34 +01:00
Diogo Peralta Cordeiro
0407ac38cf
[AudioEncoder] Introduce basic audio plugin to provide an attachment template and duration metadata for audio mimetype
2021-10-27 04:19:34 +01:00
Eliseu Amaro
ebf675ec59
[Plugins][FAVOURITE] Redirect added. Only redirects from the route the user came from, not the anchored note. To be added. Further corner cases fixed.
2021-10-27 04:19:33 +01:00
Diogo Peralta Cordeiro
56ba7bd845
[ImageEncoder][VideoEncoder] Properly decide when to take action
2021-10-27 04:19:33 +01:00
Eliseu Amaro
60b15ea79d
[Plugins][FAVOURITE] No longer a form, a link to a new page is provided instead. The amount of forms per page were blocking rendering for the majority of its duration.
2021-10-27 04:19:32 +01:00
Hugo Sales
299e893ca9
[TOOLS][PHPStan][DocCheck] Fix errors found by PHPStan and Doc Check
2021-10-27 04:19:31 +01:00
Diogo Peralta Cordeiro
028ea79fff
[CORE][Router] Properly act on Accept headers
2021-10-27 04:19:30 +01:00
eli
f78cfed41a
[TWIG][CSS] Template refactoring, classes and their respective CSS is now more consistent. CSS variables are back.
2021-10-27 04:19:29 +01:00
Diogo Peralta Cordeiro
8fdc52636f
[ActivityPub] Port RSA
2021-10-27 04:19:29 +01:00
Diogo Peralta Cordeiro
8544fe157b
[FreeNetwork] First steps porting webfinger/lrdd to v3, GET webfinger requests already have a basic result
2021-10-27 04:19:29 +01:00
Hugo Sales
9109c61af5
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types
2021-10-27 04:19:28 +01:00
Diogo Peralta Cordeiro
517ed953f2
[FreeNetwork] First step towards de-duplication mechanism for federation
...
Refactored AS2 inside AP; [ENTITY][Activity] went from core to AP
Webfinger plugin will be part of FreeNetwork component
2021-10-06 11:48:22 +01:00
eli
3cb6563c40
[TWIG][EndShowStyles] Route as an event argument
2021-10-06 00:34:27 +01:00
eli
78dd7137f8
[PLUGIN] ProfileColor color settings can be null.
2021-10-05 19:12:51 +01:00
eli
a268aee53a
[CSS][PLUGIN] ProfileColor now handles both the background and foreground colors. Various button CSS fixes.
2021-10-05 19:04:30 +01:00
eli
1705b543d3
[PLUGIN] Delete note action added. If the author of a note is logged in, the action will be added to that note. Once the author presses it, the note will be deleted from the DB.
2021-10-04 17:11:44 +01:00
eli
80d1be323d
[COMPONENTS][Search][CSS] Extra header forms now accessible through a details element. Re-organizing templates structure.
2021-10-04 12:17:14 +01:00
eli
d38ad60c76
[COMPONENTS][CSS] Adding components styling properly.
2021-10-01 17:25:51 +01:00
Hugo Sales
19c2a91232
[TOOLS][PHPStan][ProfileColor][ENTITY][TEST][AttachmentThumbnail] Fix issues reported by phpstan
2021-09-27 19:50:56 +01:00
Eliseu Amaro
4a17adc182
[PLUGINS][ProfileColor] Actors are now shown with their own colors for other.
2021-09-25 19:40:17 +01:00
Eliseu Amaro
7b8eb3fda9
[PLUGINS][ProfileColor] Current color is now selected by default. Not found exception is now handled.
2021-09-25 19:40:17 +01:00
Diogo Peralta Cordeiro
a681acae67
[ENTITY][AttachmentThumbnail] Every image should have width and height attributes
2021-09-25 19:40:11 +01:00
Eliseu Amaro
808da203ad
[PLUGINS][ProfileColor] Settings page render problem fixed. ColorType given data wasn't a string.
2021-09-25 12:51:25 +01:00
Eliseu Amaro
57b94af9f6
[PLUGINS][ProfileColor] Re-organized plugins templates and assets. ProfileColor plugin fixed.
2021-09-25 11:17:56 +01:00
Diogo Peralta Cordeiro
3268559f9a
[AttachmentThumbnail] Use other thumbnail when requested isn't available and there's no original file
2021-09-23 16:19:50 +01:00
Hugo Sales
bb81f1f717
[Embed] Use new attachment route format
2021-09-23 14:54:21 +01:00
Hugo Sales
6a2c3eb711
[ImageEncoder] Ensure proper memory limits are used when loading images from disk
2021-09-23 14:54:21 +01:00
Eliseu Amaro
a557ba0224
[Timelines][Plugins][Left] Plugins now provide their path ID. Feed redone as it's own independant template.
2021-09-22 16:47:06 +01:00
Diogo Peralta Cordeiro
05f16a3084
[ENTITY][AttachmentThumbnail] Now thumbnails are always only available in three sizes: small, medium, big
...
Commit jointly produced with eli (Eliseu Amaro)
Breaking change: Entity changed to only store the tinyint referring to the size stored
With this, the logic was simplified and now it's not possible to make an
instance produce unnecessary thumbs. The aspect ratio is preserved and
thus the thumbs will always look nice. New configuration was added to
maintain flexibility.
2021-09-22 15:13:46 +01:00
Diogo Peralta Cordeiro
7beb5c2995
[GSFile] Fix sanitize configuration
2021-09-22 15:13:46 +01:00
Eliseu Amaro
3f618c2674
[TWIG][Cards][Profile] Card templates! Profile now has a card template to be used everywhere you need to show quick actor information.
2021-09-22 14:11:59 +01:00
Diogo Peralta Cordeiro
9e4c43e8fd
[ActivityStreamsTwo] Further work on routes and use render event on note's content
2021-09-20 17:05:04 +01:00
Diogo Peralta Cordeiro
7813723ca1
[ActivityPub] Inbox must work without actor, specify source for AS2
2021-09-20 17:03:23 +01:00
Eliseu Amaro
543853c374
[PLUGINS][Actor][Profile] Current user profile in line with other users. Directory plugin actor template standardized.
2021-09-20 14:39:11 +01:00
Diogo Peralta Cordeiro
67d62cf37b
[TWIG] Remove kludge event TwigPopulateVars
2021-09-18 07:27:35 +01:00