Commit Graph

222 Commits

Author SHA1 Message Date
Eliseu Amaro b899c9fb2a
[TWIG][CSS] Panels are now animated when shown, main content width as well as panel's is now correctly configured. WIP: displaying side panels by default when space is available, "details" element state cannot be manipulated through CSS only, need a better solution. 2021-09-14 13:13:05 +01:00
Eliseu Amaro 2084ae350e
[TWIG][CSS] Panels functionality works as intended, size needs to be worked upon. 2021-09-14 13:13:05 +01:00
Eliseu Amaro 3812a2d04d
[TWIG][CSS] Complete HTML refactoring, now using details element instead of a checkbox trick per panel. Using a "grid" akin to IBM's Carbon design guidelines. 2021-09-14 13:13:05 +01:00
Eliseu Amaro ee3ed5f096
[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-09-14 13:13:05 +01:00
Eliseu Amaro d3c47a2557
[TWIG][CSS] Base template structural refactoring to accommodate true canons of page construction. CSS WIP to reflect these changes.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:04 +01:00
Diogo Peralta Cordeiro 41dcef3c7b
[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-09-14 13:13:04 +01:00
Hugo Sales 6591d78a9c
[TWIG] Remove unused Twig function 'get_note_other_content' 2021-09-14 13:13:00 +01:00
Diogo Peralta Cordeiro 5bd16a509e
[TEMPLATES] Fix identation 2021-09-14 13:12:55 +01:00
Diogo Peralta Cordeiro 8cb64ede7f
[AttachmentShowRelated] Move Attachment related to plugin 2021-09-14 13:12:55 +01:00
Diogo Peralta Cordeiro 29a215534d
[SECURITY] We can't really show a stream for this, was a nice concept, but not properly doable without requiring JS 2021-09-14 13:12:55 +01:00
Diogo Peralta Cordeiro a0b820fd76
[CSS] Refactor Right Panel style 2021-09-14 13:12:54 +01:00
Diogo Peralta Cordeiro 2d8d8ffb48
[TEMPLATES] Add dynamic blocks to right panel 2021-09-14 13:12:54 +01:00
Diogo Peralta Cordeiro 110c2572a4
[TEMPLATES] Minor refactoring, extending left was weird 2021-09-14 13:12:54 +01:00
Diogo Peralta Cordeiro 143b2460e9
[VIEWS] Minor proofreading of templates and css 2021-09-14 13:12:53 +01:00
Hugo Sales 4f6f1941da
[UI] Fix 'hide_attachments is not defined' error 2021-09-14 13:12:53 +01:00
Hugo Sales 436528172c
[ATTACHMENTS] Add controller and templates for the attachment show page, which shows extra info about an attachment, such as related notes and tags 2021-09-14 13:12:53 +01:00
Hugo Sales be91fb754d
[CORE] Typo in GSFile and slight Twig weirdness in base template 2021-09-14 13:12:52 +01:00
Hugo Sales 2d91095260
[UI] Use event 'ShowAttachment' to permit plugins like Embed to alter the representation 2021-09-14 13:12:23 +01:00
Hugo Sales 8dff0b1d0c
[Favourite] Make twig event operate on array rather than string 2021-09-14 13:12:23 +01:00
Hugo Sales a66118aee7
[AVATAR] Display avatar rounded 2021-09-14 13:12:22 +01:00
Diogo Peralta Cordeiro 3afa872cec
[UI] Use thumbnail path for thumbs 2021-09-14 13:12:22 +01:00
Hugo Sales e6c6e7afd7
[AVATAR] Fix JS cropping script and save square image, in case other themes need it 2021-09-14 13:12:22 +01:00
Diogo Peralta Cordeiro e385a9ac29
[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-09-14 13:12:18 +01:00
Hugo Sales a220d07b0f
[Directory] Move templates from core to plugin 2021-09-14 13:11:49 +01:00
Hugo Sales 1b7c48c732
[LEFT][EVENT] Add event allowing plugins to add links to the left panel 2021-09-14 13:11:49 +01:00
Diogo Peralta Cordeiro ccf3aa990a
[MODULES] Introduce the concept of abstract modules to V3
Introduce placeholder for abstract upload and thumb modules
Temporarily supress some bugs
2021-09-14 13:11:45 +01:00
Angelo D. Moura 8a48236d2d
[UI][NOTE][MARKDOWN] Add markdown support to the notes 2021-09-14 13:10:20 +01:00
Daniel 15454cab7f
[ProfileColor] Added profile color css 2021-09-14 13:10:19 +01:00
Daniel d17582094d
[ProfileColor] Visualize profile color 2021-09-14 13:10:19 +01:00
Daniel 20a5005e1d
[ProfileColor] Added plugin base, controller and settings template 2021-09-14 13:10:19 +01:00
Daniel 746bf70e7d
[REVERSEFAV] Added css to make Reverse favs label in one line 2021-09-14 13:10:19 +01:00
Daniel ec85b5b96b
[REVERSEFAV] Fixed typo 2021-09-14 13:10:19 +01:00
Daniel f04923405f
[REVERSEFAV] Added reverse favorourites stream/template 2021-09-14 13:10:19 +01:00
Daniel c36436c1a1
[UI][TIMELINES] Fix undefined main_nav_tabs in logged out view 2021-09-14 13:10:18 +01:00
Angelo D. Moura 98145f4f1a
[Directory] Actors stream now includes a link to groups stream 2021-09-14 13:10:18 +01:00
Angelo D. Moura 77d7fcc138
[Directory] Finished implementing groups stream as a plugin 2021-09-14 13:10:18 +01:00
Angelo D. Moura fe170ff508
[Directory] Finished implementing groups stream using Directory plugin 2021-09-14 13:10:18 +01:00
Angelo D. Moura 098fdb3361
[Directory] Changed the route so the plugin Directory doesn't take over - query is not working for some reason 2021-09-14 13:10:18 +01:00
Angelo D. Moura eb1ef4dd0f
[Directory] Added the route, controller and a blank template file - something is broken 2021-09-14 13:10:18 +01:00
Angelo D. Moura 505e60d89f
[Directory] Actors are no longer related with notes, and the logged in user now shows on the stream 2021-09-14 13:10:18 +01:00
Angelo D. Moura 2d91f3d0b3
[Directory] Changed the title of the template and add a css rule for actor-bio 2021-09-14 13:10:17 +01:00
Angelo D. Moura 0c5941f515
[Directory] Almost finishied creating the /actors stream - problems with the css files 2021-09-14 13:10:17 +01:00
Angelo D. Moura 517cba3510
[Directory] Add the route, controller function, and blank template file 2021-09-14 13:10:17 +01:00
Daniel 019e3d91e4
[Directory] Moved /actors stream to directory plugin 2021-09-14 13:10:17 +01:00
Daniel 6c1b1323a0
[Cover] Remove of cover form 2021-09-14 13:10:17 +01:00
Daniel fdc2bc39d0
[Cover] Input restrictions, Code cleanup 2021-09-14 13:10:17 +01:00
Daniel 4949abac9d
[Cover] Added cover css, changed cover settings route name 2021-09-14 13:10:16 +01:00
Daniel e2ce1a8070
[Cover] Added temporary css 2021-09-14 13:10:16 +01:00
Daniel aeec9149fc
[Cover] Cover route, cover now renders 2021-09-14 13:10:16 +01:00
Daniel cf8b3b7b73
[Cover] Added TWIG vars for profile plugins 2021-09-14 13:10:16 +01:00
Daniel 7739518717
[Cover] Started implementing Cover plugin: base class, route, base templates, added tabs in profile template 2021-09-14 13:10:16 +01:00
João Brandão 85666b195b
[UI] Visual restructure of login/register pages 2021-09-14 13:10:15 +01:00
João Brandão 7c7a03cfe1
[UI] Show public stream on login/register pages 2021-09-14 13:10:15 +01:00
up201706832 9351039a3b
[UI] Extracted public stream on login/register pages to a twig template 2021-09-14 13:10:15 +01:00
João Brandão ac480e5018
[UI] Visual restructure of login/register pages 2021-09-14 13:10:15 +01:00
Daniel c0d363e317
[Poll] Restructured templates, added misssing poll related css 2021-09-14 13:10:13 +01:00
Daniel 7a299162e1
[Poll] Polls now have an associated note, poll templates, start_show_styles event, started css 2021-09-14 13:10:13 +01:00
Daniel 090c593a61
[Poll] Started testing with note integration 2021-09-14 13:10:13 +01:00
Daniel cdbf7da8be
[Poll] Added templates, response counting 2021-09-14 13:10:12 +01:00
Daniel 5978a069e9
[Poll] Started porting Poll Plugin 2021-09-14 13:10:12 +01:00
Daniel 95f95d2dd8
[TESTS] Added unit tests 2021-09-14 13:10:08 +01:00
Angelo D. Moura 5acfda8ae5
[TWIG] Add SVG icon embed function 2021-09-14 13:06:58 +01:00
Diogo Machado fbc85086fd
[DB][TESTS] Implement Doctrine event listener to update timestamps on modification, and related tests 2021-09-14 13:06:58 +01:00
Hugo Sales fc015c6fdf
[NETWORK][TreeNotes] Add TreeNotes plugin which takes over the responsibility of displaying a conversation as a tree, in order to reduce the number of queries 2021-09-14 13:06:56 +01:00
Hugo Sales 6cf30f3f65
[UI] Make configured instance name show in UI, fix repeat icon 2021-09-14 13:06:54 +01:00
Hugo Sales 0a56061639
[UI] Only show note action buttons if a user is logged in 2021-09-14 13:06:52 +01:00
Hugo Sales 420b4767b2
[UI][NOTE] Add reply to in UI 2021-09-14 13:06:51 +01:00
rainydaysavings a69c9a4f25
[TWIG] Improving view template structure 2021-09-14 13:06:50 +01:00
rainydaysavings 099c4220d2
[TWIG] Adding active rules 2021-09-14 13:06:50 +01:00
rainydaysavings 492360ceeb
[CONTROLLER][ROUTE] Favourites page initial query implementation and routing 2021-09-14 13:06:50 +01:00
Hugo Sales 6165f7cd55
[Media] Display images and videos inline in notes 2021-09-14 13:06:49 +01:00
rainydaysavings a9d5f8ac5b
[UI][TWIG] Fixing note actions placement and size, more descriptive rules 2021-09-14 13:06:49 +01:00
Hugo Sales 26f01c4c92
[Posting] Fix posting form name and css 2021-09-14 13:06:49 +01:00
rainydaysavings 0649095e88
[TWIG] Making notes view more easily customizable 2021-09-14 13:06:48 +01:00
rainydaysavings 8a0418d8cf
[Favourite] Add backend support for favourite 2021-09-14 13:06:47 +01:00
rainydaysavings 4328a11eb1
[TWIG] Various routes added 2021-09-14 13:06:47 +01:00
rainydaysavings a804c5f981
[COMPONENT][CONTROLLER][TWIG] Recycle component work 2021-09-14 13:06:47 +01:00
rainydaysavings 55e468bd70
[TWIG][UI] Replies CSS fixes 2021-09-14 13:06:46 +01:00
rainydaysavings e1e3e2d9b3
[COMPONENT] Favourite initial implementation 2021-09-14 13:06:46 +01:00
rainydaysavings 59da3df28c
[UI] Checkboxes now display a custom tick 2021-09-14 13:06:46 +01:00
rainydaysavings 189da22204
[TWIG] Timeline attachment form restructure 2021-09-14 13:06:46 +01:00
Hugo Sales 0b50905ac8
[NOTE][UI] Add note replying and UI displaying 2021-09-14 13:06:45 +01:00
rainydaysavings 522f40ca2f
[TWIG] Timeline template rework 2021-09-14 13:06:45 +01:00
rainydaysavings a8e43a4867
[TWIG] Timeline structure rework 2021-09-14 13:06:44 +01:00
rainydaysavings 315a70ba0d
[UI] Links removed since they are part of a plugin 2021-09-14 13:06:44 +01:00
rainydaysavings 160e56c61e
[UI][TWIG] Better, divided form rendring of the posting form 2021-09-14 13:06:43 +01:00
rainydaysavings fe0af2caed
[UI] Fixing login and register styling, refactoring 2021-09-14 13:06:43 +01:00
rainydaysavings 396af498a2
[UI] Fixing static pages styling 2021-09-14 13:06:43 +01:00
rainydaysavings a85b5b44f1
[UI] Fixes to settings CSS 2021-09-14 13:06:42 +01:00
rainydaysavings 2c59dcefcf
[UI] Finalizing timeline structure and CSS 2021-09-14 13:06:42 +01:00
Hugo Sales 38cfec8593
[UI][TWIG] Small UI cleanup and change twig 'active' function to check for starts with, rather than equals 2021-09-14 13:05:58 +01:00
Hugo Sales 6ed89c77f4
[UI][NOTE] Post and see attachments 2021-09-14 13:05:57 +01:00
Hugo Sales e3c5d7e5dc
[UI][MEDIA] Add actor avatar in feed timeline 2021-09-14 13:05:57 +01:00
rainydaysavings 1b350d51fc
[UI] Fixing timeline notice structure and CSS 2021-09-14 13:05:57 +01:00
rainydaysavings 3def39fed3
[UI] Fix left panel new dynamic components view 2021-09-14 13:05:57 +01:00
Hugo Sales 09a2541c36
[UI][SELFTAGS] Display 'none' if the user doesn't have selftags 2021-09-14 13:05:57 +01:00
Hugo Sales b19be6be52
[UI][LEFT] Add # before selftags, and link 2021-09-14 13:05:56 +01:00
Hugo Sales 65a129aac6
[UI][CACHE][DB] Add follow counts to left panel, caching the results; change follow table 2021-09-14 13:05:56 +01:00
Hugo Sales 3c67773e59
[UI][LEFT] Add link to settings on avatar and personal info 2021-09-14 13:05:56 +01:00
Hugo Sales d548dc9284
[MODULE][Left][UI][TAGS] Add Left module which handles fetching tags and followers, fix self tags 2021-09-14 13:05:56 +01:00