Commit Graph

19377 Commits

Author SHA1 Message Date
Eliseu Amaro 021583ea05
[CSS][TWIG] Left panel HTML nesting to better aid screen readers.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:36 +01:00
Eliseu Amaro 4afaa6858b
[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-07-28 11:52:36 +01:00
Eliseu Amaro ab7d1b0370
[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-07-28 11:52:36 +01:00
Eliseu Amaro 38225dfa6e
[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-07-28 11:52:36 +01:00
Eliseu Amaro 154025090c
[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-07-28 11:52:30 +01:00
Eliseu Amaro 8ec17086a0
[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-07-28 11:46:14 +01:00
Eliseu Amaro 18f2823e14
[CSS] Fixed incorrect Chromium based browsers improper main content view. Flex item order (shouldn't be a problem, but it was) and padding for the container class was the root issue.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:46:13 +01:00
Eliseu Amaro 7dd23f3f2c
[CSS] Main container 'order' attribute was somehow a problem in Chromium. 2021-07-28 11:46:13 +01:00
Eliseu Amaro a34f0c2534
[CSS] Fixed top content margin. 2021-07-28 11:46:13 +01:00
Eliseu Amaro 7d15ec1620
[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-07-28 11:46:13 +01:00
Eliseu Amaro 2d253ee5ad
[TWIG][CSS][ICONS] New profile and notice creation panel, alternative text set correctly for header icons. WIP in base styling and panels. 2021-07-28 11:46:12 +01:00
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 86e92fedc2
[MEDIA][Thumbnail] Fix non-instantiated variable 2021-07-26 21:19:40 +01:00
Diogo Peralta Cordeiro 8ef6aceb6a
[DOCS][Dev] Write paradigms 2021-07-26 20:38:23 +01:00
Hugo Sales bf01e97533
[SECURITY] Remove aggressive normalization of nicknames. This will be moved to a plugin in the future and we'll open an RFC, as discussed 2021-07-26 17:12:42 +00:00
Hugo Sales 835a3c6701 [TOOLS] Fix pre commit hook to allow for partial file commits (git add -p/git reset -p) 2021-07-26 15:46:20 +00:00
Diogo Peralta Cordeiro cc0ef73799 [MEDIA][AttachmentThumbnail] Add mimetype to Entity 2021-07-22 21:17:23 +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
Diogo Peralta Cordeiro 832a5c0bd9 [Media] Support any kind of thumbnails in the Core
Sanitize Attachments instead of Validate (part 1)
Ensure the intended filetypes and mimetypes during Vips conversions (part 1)
Various bug fixes
2021-07-22 21:10:45 +01:00
Diogo Peralta Cordeiro 143ecea376 [Media] File quota should be triggered by the Core 2021-07-22 21:10:45 +01:00
Diogo Peralta Cordeiro 0eebcdbd51 [POSTING] Make it possible for plugins to change the placeholder string 2021-07-22 13:02:09 +01:00
Diogo Peralta Cordeiro aada96beb7 [MEDIA] We need permissions to run chmod in directories
It's better to have in the filename data that we couldnt't otherwise rapidly retrieve
2021-07-22 12:32:52 +01:00
Diogo Peralta Cordeiro 218bec1826 [MEDIA] Fix database misses on thumbnail retrieval
We were storing the real scaling values instead of the predictions, but the core is never able to pre-compute the real values generated by the encoding plugins so, we have to rely on our own aproximation function ported from v2
2021-07-20 23:47:27 +01:00
Diogo Peralta Cordeiro 4d2131808a [FILE][TemporaryFile] Fix various issues now that we also have Symfony's file abstractions 2021-07-20 23:46:18 +01:00
Diogo Peralta Cordeiro 4ef400f509 [DOCS][Developer] Adopt a top-down approach
Minor corrections to the overview
2021-07-20 12:41:48 +01:00
Diogo Peralta Cordeiro 086754d95b [CORE][GNUsocial] Fix undefined property typo 2021-07-20 11:48:29 +01:00
Diogo Peralta Cordeiro 5e9cd21db5 [DOCS][User][SysAdmin] Add thomask as an author as we're starting this from his unofficial docs 2021-07-20 11:48:07 +01:00
Eliseu Amaro 65c2c42790 [DOCS] Add designer book. 2021-07-20 10:56:51 +01:00
Eliseu Amaro d6f31ad4b4 [DOCKER][nginx] Removing default nginx config through docker/nginx/domain.sh. The default config conflicts with 'localhost' server_name. 2021-07-20 10:56:51 +01:00
Diogo Peralta Cordeiro 8f7e0f2131 [DOCS] Elaborate initial architecture page 2021-07-20 09:41:30 +01:00
Diogo Peralta Cordeiro 3af3526b5c [CORE] Proxies: constant HEADER_X_FORWARDED_ALL is deprecated
Give ENV preference over SERVER
2021-07-19 15:24:12 +01:00
Hugo Sales a46140fc00 [UTIL] Add utility to flatten the result of note queries 2021-05-23 19:59:42 +00:00
Hugo Sales eecef99372 [TESTS] Raise test coverage for App\Controller\Network to 100% and fixup related code 2021-05-23 19:56:45 +00:00
Hugo Sales 5543f65ce9 [UI] Remove margin in timeline container 2021-05-12 19:40:47 +00:00
Hugo Sales 818a31a690 [UTIL] Provide static access to current request and utilities in Common 2021-05-12 19:33:03 +00:00
Hugo Sales 9b862d6a26 [CORE] Throw more meaningfull error when method doesn't exist in Security and Entity 2021-05-12 15:44:09 +00:00
Hugo Sales f8107c86c5 [TESTS] Raise App\Core\DB\DB test coverage to 100% and fix issues found 2021-05-11 21:04:15 +00:00
Hugo Sales ce98e80836 [TESTS] Raise App\Core\DB\UpdateListener test coverage to 100% 2021-05-06 21:57:06 +00:00
Hugo Sales 75adf2e59f [TESTS] Change relevant tests to use GNUsocialTestCase, so they can access all the needed features 2021-05-06 21:56:28 +00:00
Hugo Sales 31518f97ee [CORE] Clarify message when calling non existent method in Entity 2021-05-06 21:54:50 +00:00
Hugo Sales dab822037c [TESTS] Merge datafixtures to allow for using the correct ID in notes, and add group_inbox 2021-05-06 21:54:50 +00:00
Hugo Sales 79644d1e2b [TESTS] Add GNUsocialTestCase, which initializes our infrastructure when bootKernel is called 2021-05-06 21:54:50 +00:00
Hugo Sales 5f9b61f4bf [AUTOGENERATED] Update autogenerated code 2021-05-05 16:03:03 +00:00
Hugo Sales 3a6a1b71d6 [TOOLS][TESTS] Add coverage ignore tag to autogenerated code 2021-05-05 15:56:03 +00:00
Hugo Sales f25494cd83 [TOOLS][TESTS] Add a data fixture with example notes, for testing 2021-05-05 13:37:43 +00:00