Commit Graph

223 Commits

Author SHA1 Message Date
Eliseu Amaro c18879b02f
[TWIG][CSS] Found solution to show details content by default in desktop view. However, post_form is being rendered multiple times, it was already rendered in the Posting Component. Needs to be fixed. 2021-07-28 11:46:12 +01:00
Eliseu Amaro a48e699133
[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-07-28 11:46:12 +01:00
Eliseu Amaro 77675ea8c4
[TWIG][CSS] Panels functionality works as intended, size needs to be worked upon. 2021-07-28 11:46:11 +01:00
Eliseu Amaro b7b69b549e
[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-07-28 11:46:11 +01:00
Eliseu Amaro 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
Eliseu Amaro c5e5708915
[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-07-28 11:46:10 +01:00
Diogo Peralta Cordeiro 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
Hugo Sales 33cdea87ee [TWIG] Remove unused Twig function 'get_note_other_content' 2021-05-05 13:35:25 +00:00
Diogo Peralta Cordeiro aa28251c11 [TEMPLATES] Fix identation 2021-04-30 23:08:08 +01:00
Diogo Peralta Cordeiro c2f6665cce [AttachmentShowRelated] Move Attachment related to plugin 2021-04-30 23:08:08 +01:00
Diogo Peralta Cordeiro b196af5f36 [SECURITY] We can't really show a stream for this, was a nice concept, but not properly doable without requiring JS 2021-04-30 23:08:08 +01:00
Diogo Peralta Cordeiro 94b100dc06 [CSS] Refactor Right Panel style 2021-04-30 23:08:02 +01:00
Diogo Peralta Cordeiro 75c494dca1 [TEMPLATES] Add dynamic blocks to right panel 2021-04-30 23:05:39 +01:00
Diogo Peralta Cordeiro 6819dd9fb7 [TEMPLATES] Minor refactoring, extending left was weird 2021-04-29 20:36:50 +00:00
Diogo Peralta Cordeiro 22c79db540 [VIEWS] Minor proofreading of templates and css 2021-04-29 17:08:09 +01:00
Hugo Sales b2841cb5fc [UI] Fix 'hide_attachments is not defined' error 2021-04-28 21:50:55 +00:00
Hugo Sales f264cd6125 [ATTACHMENTS] Add controller and templates for the attachment show page, which shows extra info about an attachment, such as related notes and tags 2021-04-28 21:25:35 +00:00
Hugo Sales d49de9d35e [CORE] Typo in GSFile and slight Twig weirdness in base template 2021-04-28 20:16:59 +00:00
Hugo Sales 2782aa9924 [UI] Use event 'ShowAttachment' to permit plugins like Embed to alter the representation 2021-04-27 18:10:18 +00:00
Hugo Sales 1503c98f26 [Favourite] Make twig event operate on array rather than string 2021-04-23 12:55:42 +00:00
Hugo Sales 0a7496de1e [AVATAR] Display avatar rounded 2021-04-19 18:41:40 +00:00
Diogo Peralta Cordeiro 9814baf192 [UI] Use thumbnail path for thumbs 2021-04-19 13:22:50 +01:00
Hugo Sales e105889a59 [AVATAR] Fix JS cropping script and save square image, in case other themes need it 2021-04-19 13:22:50 +01:00
Diogo Peralta Cordeiro 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
Hugo Sales f4e40002a4 [Directory] Move templates from core to plugin 2021-04-16 20:21:54 +01:00
Hugo Sales d95e51a030 [LEFT][EVENT] Add event allowing plugins to add links to the left panel 2021-04-16 20:21:54 +01:00
Diogo Peralta Cordeiro 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
Angelo D. Moura ea6623f029 [UI][NOTE][MARKDOWN] Add markdown support to the notes 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 9ea47c5385 [ProfileColor] Added plugin base, controller and settings template 2021-04-14 15:37:23 +00:00
Daniel 79f0615441 [REVERSEFAV] Added css to make Reverse favs label in one line 2021-04-14 15:37:23 +00:00
Daniel 7e215d9f9e [REVERSEFAV] Fixed typo 2021-04-14 15:37:23 +00:00
Daniel 04b9c736a6 [REVERSEFAV] Added reverse favorourites stream/template 2021-04-14 15:37:23 +00:00
Daniel 493476f408 [UI][TIMELINES] Fix undefined main_nav_tabs in logged out view 2021-04-14 15:37:23 +00:00
Angelo D. Moura 54fd7eda06 [Directory] Actors stream now includes a link to groups stream 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
Angelo D. Moura 08fe5fb23f [Directory] Changed the route so the plugin Directory doesn't take over - query is not working for some reason 2021-04-14 15:37:23 +00:00
Angelo D. Moura d4038cd520 [Directory] Added the route, controller and a blank template file - something is broken 2021-04-14 15:37:23 +00:00
Angelo D. Moura f621e521f9 [Directory] Actors are no longer related with notes, and the logged in user now shows on the stream 2021-04-14 15:37:23 +00:00
Angelo D. Moura b9622e4512 [Directory] Changed the title of the template and add a css rule for actor-bio 2021-04-14 15:37:23 +00:00
Angelo D. Moura f67c41a7ac [Directory] Almost finishied creating the /actors stream - problems with the css files 2021-04-14 15:37:23 +00:00
Angelo D. Moura 19be786da8 [Directory] Add the route, controller function, and blank template file 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 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
Daniel 4f69686968 [Cover] Added temporary css 2021-04-14 15:37:23 +00:00
Daniel 777b8b55fd [Cover] Cover route, cover now renders 2021-04-14 15:37:23 +00:00
Daniel 7688cc39a8 [Cover] Added TWIG vars for profile plugins 2021-04-14 15:37:23 +00:00
Daniel 3d3c560516 [Cover] Started implementing Cover plugin: base class, route, base templates, added tabs in profile template 2021-04-14 15:37:23 +00:00
João Brandão 850f1b327e [UI] Visual restructure of login/register pages 2021-04-14 15:37:23 +00:00
João Brandão b98db96c27 [UI] Show public stream on login/register pages 2021-04-14 15:37:23 +00:00
up201706832 49b0494f28 [UI] Extracted public stream on login/register pages to a twig template 2021-04-14 15:37:23 +00:00
João Brandão 27137b4762 [UI] Visual restructure of login/register pages 2021-04-14 15:37:23 +00:00
Daniel 696ebe60e0 [Poll] Restructured templates, added misssing poll related css 2021-04-14 15:37:23 +00:00
Daniel 168b7d313a [Poll] Polls now have an associated note, poll templates, start_show_styles event, started css 2021-04-14 15:37:23 +00:00
Daniel 3a51d3ef89 [Poll] Started testing with note integration 2021-04-14 15:37:23 +00:00
Daniel 8543c8c68e [Poll] Added templates, response counting 2021-04-14 15:37:23 +00:00
Daniel b860c6bbb0 [Poll] Started porting Poll Plugin 2021-04-14 15:37:23 +00:00
Daniel 0868880d45 [TESTS] Added unit tests 2021-04-14 15:37:23 +00:00
Angelo D. Moura cacd9a574d [TWIG] Add SVG icon embed function 2021-04-14 15:37:23 +00:00
Diogo Machado 5a7b895476 [DB][TESTS] Implement Doctrine event listener to update timestamps on modification, and related tests 2021-04-14 15:37:23 +00:00
Hugo Sales 8a14222d51 [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-04-14 15:37:23 +00:00
Hugo Sales 8ef85e90e9 [UI] Make configured instance name show in UI, fix repeat icon 2021-04-14 15:37:23 +00:00
Hugo Sales c8b6db650a [UI] Only show note action buttons if a user is logged in 2021-04-14 15:37:22 +00:00
Hugo Sales 7a68ba4f05 [UI][NOTE] Add reply to in UI 2021-04-14 15:37:22 +00:00
rainydaysavings 8e17dd1829 [TWIG] Improving view template structure 2021-04-14 15:37:22 +00:00
rainydaysavings 3a4d3fc1e2 [TWIG] Adding active rules 2021-04-14 15:37:22 +00:00
rainydaysavings 40aa4fa60e [CONTROLLER][ROUTE] Favourites page initial query implementation and routing 2021-04-14 15:37:22 +00:00
Hugo Sales 5cf7050008 [Media] Display images and videos inline in notes 2021-04-14 15:37:22 +00:00
rainydaysavings af3ed18d48 [UI][TWIG] Fixing note actions placement and size, more descriptive rules 2021-04-14 15:37:22 +00:00
Hugo Sales 54e8852fb7 [Posting] Fix posting form name and css 2021-04-14 15:37:22 +00:00
rainydaysavings c423101c00 [TWIG] Making notes view more easily customizable 2021-04-14 15:37:22 +00:00
rainydaysavings 0ed0d0470c [Favourite] Add backend support for favourite 2021-04-14 15:37:22 +00:00
rainydaysavings f4e52f5e11 [TWIG] Various routes added 2021-04-14 15:37:22 +00:00
rainydaysavings 492f32c555 [COMPONENT][CONTROLLER][TWIG] Recycle component work 2021-04-14 15:37:22 +00:00
rainydaysavings b0566e7b8c [TWIG][UI] Replies CSS fixes 2021-04-14 15:37:22 +00:00
rainydaysavings 2d1200e2e6 [COMPONENT] Favourite initial implementation 2021-04-14 15:37:22 +00:00
rainydaysavings fa0612c0d1 [UI] Checkboxes now display a custom tick 2021-04-14 15:37:22 +00:00
rainydaysavings 4d0028d95f [TWIG] Timeline attachment form restructure 2021-04-14 15:37:22 +00:00
Hugo Sales e13e763d5c [NOTE][UI] Add note replying and UI displaying 2021-04-14 15:37:22 +00:00
rainydaysavings 07178e6ffa [TWIG] Timeline template rework 2021-04-14 15:37:22 +00:00
rainydaysavings be86a05ddb [TWIG] Timeline structure rework 2021-04-14 15:37:22 +00:00
rainydaysavings 655b5e36a4 [UI] Links removed since they are part of a plugin 2021-04-14 15:37:22 +00:00
rainydaysavings 253705f704 [UI][TWIG] Better, divided form rendring of the posting form 2021-04-14 15:37:22 +00:00
rainydaysavings 9442556c3e [UI] Fixing login and register styling, refactoring 2021-04-14 15:37:22 +00:00
rainydaysavings fa40bfb8dc [UI] Fixing static pages styling 2021-04-14 15:37:22 +00:00
rainydaysavings 27d292affd [UI] Fixes to settings CSS 2021-04-14 15:37:22 +00:00
rainydaysavings dc5992bebd [UI] Finalizing timeline structure and CSS 2021-04-14 15:37:22 +00:00
Hugo Sales 43665749bb [UI][TWIG] Small UI cleanup and change twig 'active' function to check for starts with, rather than equals 2021-04-14 15:37:22 +00:00
Hugo Sales 1b0cab6dc8 [UI][NOTE] Post and see attachments 2021-04-14 15:37:22 +00:00
Hugo Sales 624aef0a8e [UI][MEDIA] Add actor avatar in feed timeline 2021-04-14 15:37:22 +00:00
rainydaysavings fc6bb1ddf6 [UI] Fixing timeline notice structure and CSS 2021-04-14 15:37:22 +00:00
rainydaysavings 475e78e13f [UI] Fix left panel new dynamic components view 2021-04-14 15:37:22 +00:00
Hugo Sales 8ceeb6be80 [UI][SELFTAGS] Display 'none' if the user doesn't have selftags 2021-04-14 15:37:22 +00:00
Hugo Sales 0758b84d2c [UI][LEFT] Add # before selftags, and link 2021-04-14 15:37:22 +00:00
Hugo Sales 8276baecab [UI][CACHE][DB] Add follow counts to left panel, caching the results; change follow table 2021-04-14 15:37:22 +00:00
Hugo Sales b678ab2191 [UI][LEFT] Add link to settings on avatar and personal info 2021-04-14 15:37:22 +00:00