Commit Graph

284 Commits

Author SHA1 Message Date
Eliseu Amaro c7a28876aa
[TWIG][CSS] Right panel WIP. Create a note now looks better, need to style in some way the default user agent buttons without removing features (e.g. current file chosen).
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:07 +01:00
Eliseu Amaro fc3ac1c2f4
[TWIG][CSS] Left panel profile section done.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:06 +01:00
Eliseu Amaro 14358b4b95
[TWIG][CSS] Register and Login styling done.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:06 +01:00
Eliseu Amaro d45ef53efd
[CSS][TWIG] Left panel HTML nesting to better aid screen readers.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:06 +01:00
Eliseu Amaro 1037d3397b
[CSS][TWIG] Panels icons are now hidden on desktop view to stop possible inconsistencies on window resizing. Left Panel polish.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:06 +01:00
Eliseu Amaro db8a1b125f
[CSS][TWIG] Details element is now shown by default on larger screens, and hidden on smaller screens.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:06 +01:00
Eliseu Amaro 15cdcd3344
[CSS][TWIG] Timeline navigation is now a part of the left panel, this way more items could be displayed at a time. Left panel styling WIP.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:06 +01:00
Eliseu Amaro 701b4967b4
[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-09-14 13:13:06 +01:00
Eliseu Amaro cab7ba8e79
[CSS] Fixed accessibility issues with header and panel elements. Left, instance and right elements are now properly ordered when focused.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:06 +01:00
Eliseu Amaro bfd0fa74f2
[TWIG][CSS] Accessibility improvements, all general links provide proper feedback now. Base theme CSS progress, page now looks more as it should. Panels WIP. 2021-09-14 13:13:05 +01:00
Eliseu Amaro a44e81a1ed
[TWIG][CSS][ICONS] New profile and notice creation panel, alternative text set correctly for header icons. WIP in base styling and panels. 2021-09-14 13:13:05 +01:00
Eliseu Amaro f687c7b315
[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-09-14 13:13:05 +01:00
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
Hugo Sales eb138ebdae
[STREAM][NetworkPublic] Add skeleton of public timeline and posting 2021-09-14 13:05:54 +01:00
rainydaysavings b80479dc4e
[UI] Public feed responsive CSS work 2021-09-14 13:05:53 +01:00
rainydaysavings ccd6667e2c
[UI] Feed structure done, feed CSS work 2021-09-14 13:05:53 +01:00
rainydaysavings 5f0ece177b
[UI] Polishing design, settings pages 2021-09-14 13:05:53 +01:00
rainydaysavings 46eaccb4b0
[UI] Polishing base template 2021-09-14 13:05:53 +01:00
rainydaysavings 8fe12f48b5
[UI] Right panel checkbox size fix 2021-09-14 13:05:52 +01:00
rainydaysavings 915f1dfcdb
[UI] Complete base CSS overhaul and new theme 2021-09-14 13:05:52 +01:00
rainydaysavings 565140adcf
[UI] Right panel added 2021-09-14 13:05:52 +01:00
rainydaysavings 1c7ea95b1f
[UI] Additional fixes to settings page 2021-09-14 13:05:52 +01:00
Hugo Sales cd89cf04ff
[ROUTES] Add redirect from root to main/all, link from header to root, and change parameter order on RouteLoader::connect 2021-09-14 13:05:52 +01:00
Hugo Sales bd8f4bd277
[AVATAR] Fixed avatar upload, added avatar inline download and updated template and base controller 2021-09-14 13:05:51 +01:00
Hugo Sales 5a68fd287b
[UI][SETTINGS] User notification settings with configurable transports (through plugins) 2021-09-14 13:05:50 +01:00
rainydaysavings db8e783233
[UI] Notifications settings styling finished 2021-09-14 13:05:49 +01:00
rainydaysavings bdae49718f
[UI] Notification settings tabs functional 2021-09-14 13:05:49 +01:00
rainydaysavings 884d2529d3
[UI] Notifications settings page CSS work 2021-09-14 13:05:49 +01:00
rainydaysavings ea33243b60
[UI] Accessibility improvements all around 2021-09-14 13:05:49 +01:00
rainydaysavings 54bade96ad
[UI] Fixed issue where certain form element would be on top the left panel 2021-09-14 13:05:49 +01:00
rainydaysavings 774383a3c1
[UI] Cropping avatar as a circle, proper preview done 2021-09-14 13:05:48 +01:00
rainydaysavings 574fb38225
[CONTROLLER][UI] Avatar JS cropping added 2021-09-14 13:05:48 +01:00
rainydaysavings f840d4350f
[UI] Controller and Route for FAQ page created as well as basic template structure 2021-09-14 13:05:48 +01:00
rainydaysavings 9899601777
[UI] Settings pages routes and styling done. 2021-09-14 13:05:48 +01:00
Hugo Sales b436a0641d
[CONTROLLER][UI] Add notification settings form 2021-09-14 13:05:48 +01:00
Hugo Sales fe3a3978af
[UI][CONTROLLER] Work on tabbed notification settings panel 2021-09-14 13:05:46 +01:00
rainydaysavings 6d729de07c
[UI][ROUTES][CONTROLLER] Fixing Settings navs and templates 2021-09-14 13:05:45 +01:00
rainydaysavings a9b614bbdd
[UI] Register and Login rework 2021-09-14 13:05:45 +01:00
rainydaysavings e8d03e70ea
[UI] Left panel fix 2021-09-14 13:05:44 +01:00
Hugo Sales fd36e6fa7a
[UI][ROUTES] s%settings/profile%settings/personal_info% 2021-09-14 13:05:44 +01:00
rainydaysavings ea131d03e1
[TWIG][ROUTES] Footer links routes and pages added 2021-09-14 13:05:43 +01:00
rainydaysavings fa613b7098
[UI][ROUTES] Footer links added 2021-09-14 13:05:43 +01:00
rainydaysavings 6d4f6b5109
[UI] Fixing problem due to Firefox's autofill filter 2021-09-14 13:05:43 +01:00
rainydaysavings 51f79242b7
[UI] Login template small fix 2021-09-14 13:05:43 +01:00
rainydaysavings 0dc3d3023e
[UI] Left panel template and Login page CSS work done 2021-09-14 13:05:42 +01:00
Hugo Sales c973517397
[USER][UI][AUTHENTICATION] Add registration form 2021-09-14 13:05:42 +01:00
Hugo Sales 1572261617
[TWIG] Add twig function to output the active tag if the current route matches a given one 2021-09-14 13:05:40 +01:00
Hugo Sales 3313897671
[UI][SESSION] Add login and logout pages 2021-09-14 13:05:39 +01:00
rainydaysavings d6320943ce
[UI] Settings routes refactor, avatar and misc settings added. 2021-09-14 13:05:37 +01:00
rainydaysavings 6dd966bd3f
[UI][CONTROLLER][ROUTES] UserPanel account page form added, account page CSS work 2021-09-14 13:05:37 +01:00
rainydaysavings 5a53915f80
[UI] Fixed top header spacing issue, hamburger menu weird rendering 2021-09-14 13:05:37 +01:00