Commit Graph

19988 Commits

Author SHA1 Message Date
de984ac8e1
[COMPONENTS][Search][Tag] Implement basic search functionality that allows only searching through note tags, currently 2021-09-27 19:50:56 +01:00
1107d8257d
[TWIG] Add instanceof test
Use with:
{% if var is instanceof(Namespace\Class) %}
2021-09-27 19:50:56 +01:00
2d8b220e92
[CORE][Controller] Make Controller abstract, handle an optional non static method and use static::class rather than get_called_class 2021-09-27 19:50:56 +01:00
4fef97f930 [CSS] Profile text mix blend difference with background. Browser's cache
was playing tricks on me and wouldn't display the changes accordingly.
2021-09-27 19:40:34 +01:00
ab26162217 [CARDS][Profile] No longer ids, now classes (CSS). Profile info nickname for instance. The inversion filter now actually works. 2021-09-25 22:30:46 +01:00
f8c108bdf3 [CSS] Profile text color doesn't blend in anymore. 2021-09-25 21:42:23 +01:00
fdd43f4b11 [CSS] More consistent padding across input elements. 2021-09-25 21:12:07 +01:00
5249ccfc68 [Posting][CSS] Right panel form render simplified. 2021-09-25 21:02:11 +01:00
3001f91918 [CSS] Very slight shadow on key elements. 2021-09-25 20:36:07 +01:00
ff26831d1e [CSS] Note action icons back to a sane size. 2021-09-25 19:59:06 +01:00
20ae2dba5d
[CSS] Reverting desktop side margins. All margins, sizes, radius, etc were redone. 2021-09-25 19:40:18 +01:00
4a17adc182
[PLUGINS][ProfileColor] Actors are now shown with their own colors for other. 2021-09-25 19:40:17 +01:00
7b8eb3fda9
[PLUGINS][ProfileColor] Current color is now selected by default. Not found exception is now handled. 2021-09-25 19:40:17 +01:00
a681acae67
[ENTITY][AttachmentThumbnail] Every image should have width and height attributes 2021-09-25 19:40:11 +01:00
808da203ad [PLUGINS][ProfileColor] Settings page render problem fixed. ColorType given data wasn't a string. 2021-09-25 12:51:25 +01:00
57b94af9f6 [PLUGINS][ProfileColor] Re-organized plugins templates and assets. ProfileColor plugin fixed. 2021-09-25 11:17:56 +01:00
765cf66ff2 [CSS] Simplified window resize media queries. Desktop view's left and right margins were wrong. Some embedded links with empty blocks had padding on them again, fixed. 2021-09-25 09:02:13 +01:00
321d5b4be8 [CSS] Embedded width didn't conform to note's own properly. 2021-09-23 17:22:44 +01:00
fe77dc0996 [CSS] Resetting headers browser styling. Fixing embedded links styling inconsistencies. 2021-09-23 17:15:11 +01:00
3268559f9a
[AttachmentThumbnail] Use other thumbnail when requested isn't available and there's no original file 2021-09-23 16:19:50 +01:00
b6d80003d8 [CSS] Note attachments layout fix. Added a very small radius to avatars. 2021-09-23 16:18:23 +01:00
3ef1077f90
[DOCKER] TODOify mail server certificate 2021-09-23 15:47:51 +01:00
be8610a7a1 [CSS] Note attachments uses a grid layout now. 2021-09-23 15:39:14 +01:00
af3531f1c7
[CORE][GSFile] Add type annotation to the $encoders used in attachment handling 2021-09-23 14:54:21 +01:00
bb81f1f717
[Embed] Use new attachment route format 2021-09-23 14:54:21 +01:00
6a2c3eb711
[ImageEncoder] Ensure proper memory limits are used when loading images from disk 2021-09-23 14:54:21 +01:00
1c1bef76ef [Cards][Navigation] Navigation cards! Left panel now composed entirely of cards. 2021-09-23 14:46:18 +01:00
21e598d877
[ENTITY][Actor] Fix issue with deleting a self tag 2021-09-23 14:34:34 +01:00
4820a863a9
[Avatar] Fix cache usage and other minor bugs 2021-09-23 14:34:34 +01:00
64c881173b [Cards][Profile] Fixing nested anchor tags. 2021-09-23 13:53:02 +01:00
a439b7130e [Cards][Profile] Re-organizing elements. 2021-09-22 17:20:06 +01:00
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
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
7beb5c2995
[GSFile] Fix sanitize configuration 2021-09-22 15:13:46 +01:00
c1e7d486a3
[Posting] Fix bug with early DB::flush that would discard attachments relations 2021-09-22 15:13:44 +01:00
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
c6082bab10
[COMPONENT][Tag] Update tag stream to use new pagedStream format 2021-09-21 16:39:36 +01:00
69e7dc44bd
[ENTITY][Note] Change isVisibleTo to allow for not supplying an actor 2021-09-21 16:38:50 +01:00
879f54c772
[CACHE] Filter notes by scope in pagedStream
This currently does not return a fixed number of notes per page. Fixing this is left as an exercise to the reader
2021-09-21 16:37:51 +01:00
14c173df7a
[CACHE][COMPONENT][Tag] Add generic Cache::pagedStream and use it for the tag stream. Note that it doesn't respect scope yet 2021-09-21 15:35:07 +01:00
6cd86cac25
[COMPONENT][Tag] Add tag stream, with paging 2021-09-21 11:04:27 +01:00
2f3f7b8469
[COMPONENTS][Posting][Link][Tag] Pass the note, not just the id in ProcessNoteContent 2021-09-21 11:04:27 +01:00
7926f18f93
[CONFIG] Add streams:notes_per_page config value 2021-09-21 11:04:27 +01:00
6715a036e9
[CACHE] Add way to fetch limit,offset values from a list 2021-09-21 11:04:26 +01:00
15a87055a6
[DOCKER][Redis] Add way to override Redis config. Default to only one database 2021-09-21 11:04:26 +01:00
ce80065775
[DB] Add mechanism for specifying limit and offset in dql query 2021-09-21 11:04:26 +01:00
91fd7d1cfa
[CONFIG][CORE] Fix bug in overriding default config 2021-09-21 11:04:14 +01:00
8bb6285522
[ENTITY][Note] A note may have no content 2021-09-20 17:06:21 +01:00
b7298eaa44
[ENTITY] ActorTag: use getter for tag name on toString 2021-09-20 17:05:50 +01:00
9e4c43e8fd
[ActivityStreamsTwo] Further work on routes and use render event on note's content 2021-09-20 17:05:04 +01:00