8f0a3e4977
[UI] Add mechanism for rendering note contents in different formats. Implement plaintext rendering. Use rendered field for note content, rather than the content itselfHugo Sales2021-09-14 13:40:50 +01:00
f344ed376c
[ATTACHMENTS][Embed][UI] Allow plugins to provide a title for an attachment, if a note has none, implement such a mechanism in Embed and cache the result, since it is potentially costlyHugo Sales2021-09-15 16:49:29 +01:00
15a2a69274
[ROUTER] Add option is_system_path, to allow specifying that a route, such as gsactor_view_nickname should not be considered a system path, when checking for the collision of nicknamesHugo Sales2021-09-15 16:36:14 +01:00
e563c393f8
[ROUTER] Add mechanism for sorting the order in which core routes are loadedHugo Sales2021-09-15 15:13:30 +01:00
e9d809d441[Security][Exception] Security exception handling, login and register. TODO EmailNotFoundException and NicknameNotFoundException.Eliseu Amaro2021-09-15 14:47:29 +01:00
26af284353[CONTROLLER][SECURITY] Registration feedback. The flashError works. However, Symfony's Exception error page is viewed upon trying to register.Eliseu Amaro2021-09-15 00:25:16 +01:00
2cbdd43660[TWIG][BASE] Using preload for main stylesheets. This ensures they are available earlier and are less likely to block the page's render, improving performance.Eliseu Amaro2021-09-15 00:20:41 +01:00
0f1bce67a1[CSS][FONTS] Added a lighter font, mobile optimizations were needed. All icons are more consistent in size. Forms are more consistent in margins, paddings and grouping.Eliseu Amaro2021-09-15 00:15:51 +01:00
1f3a6fe6ac
[TESTS] Fix and/or temporarily disable failing tests. We'll get back to thisHugo Sales2021-09-14 13:36:30 +01:00
bebf4fdbce
[I18n][Posting] Move ':' to inside the translate callHugo Sales2021-09-13 14:17:58 +01:00
1adde913c6
[PHPStan] Only run custom PHPStan extensions if environment vairable PHPSTAN_BOOT_KERNEL is defined (since it requires having the whole social setup available)Hugo Sales2021-09-13 13:52:44 +01:00
404442ebda
[BASE] Importing fonts through CSS instead, minimizing content blocking. Removed legibility optimizations in font rendering. Removed unused font rules.Eliseu Amaro2021-09-11 21:31:56 +01:00
8887efe305
[THEME][DARK] Background image is 73% smaller, added noise to diminish the banding in Firefox.Eliseu Amaro2021-09-11 21:15:16 +01:00
b74d944ae3
[TOOLS][PHPStan] Raise PHPStan level to 3 and fix new errorsHugo Sales2021-09-09 01:08:45 +01:00
9d7f43cd28
[TOOLS][PHPStan][TESTS][Docker] Rework testing Docker container into a more generic tooling container. Keep services up and run coverage and phpstan as commands, for performance and ease of useHugo Sales2021-09-09 00:40:34 +01:00
9742a07bae
[TOOLS][git] Add option to skip pre-commit steps by defining one of SKIP_ALL, SKIP_CS_FIX, SKIP_DOC_CHECK, SKIP_PHPSTAN variables before the git commit commandHugo Sales2021-09-08 20:57:30 +01:00
f81bf4a257
[TOOLS][PHPStan] Add mechanism for initializing the whole applicationHugo Sales2021-09-08 19:37:33 +00:00
ddb9702b1c
[TOOLS][PHPStan] Add support for deducing the correct entity type from a table name. Needs refactoring and can only run inside container, as it connects to the database itselfHugo Sales2021-09-07 20:16:47 +00:00
4e30e5aad9
[TOOLS] Fix all issues found by PHPStan level 2Hugo Sales2021-09-06 23:47:28 +01:00
4b1780a2ee
[ActivityStreamsTwo] Introduce a structure for data representation in ActivityStreams 2.0 Type factory borrowed from landrok/activitypubDiogo Peralta Cordeiro2021-08-24 20:29:26 +01:00
26aec5f626
[BASE][NOTE][CSS] Further screen reader cues for note replies.Eliseu Amaro2021-09-08 21:33:35 +01:00
9e051273f7
[BASE][NOTE][CSS] Notes are now clearly delimited to visually impaired users. Screen readers will notify when a note begins as well as each reply. Focused elements now provide the same feedback everywhere.Eliseu Amaro2021-09-08 20:09:38 +01:00
60af533fa4
[BASE][CSS] Accessibility menu fix when logged out. Proper selector for accesskey used now, ".accessibility-target".Eliseu Amaro2021-09-08 17:27:28 +01:00
c4b328c03b
[LEFT][CSS] Fix scrolling when tabbing, navigating through notes is more obvious now. Timeline navigation fix for screen readers to know that the navigation title matters.Eliseu Amaro2021-09-07 20:34:45 +01:00
3abf71b707
[CSS] There's no need to tab again after selecting accessibility menu!Eliseu Amaro2021-09-07 20:07:46 +01:00
3c1a9ba3fa
[CSS] Fixed tabbing through accessibility menu. Was invisible when going throught it without a previous target.Eliseu Amaro2021-09-07 16:27:23 +01:00
b0b3ae237a
[TWIG][BASE] Fixed taborder, Orca will continue to read the whole header though. Navigation should be more clear for each timeline.Eliseu Amaro2021-09-07 15:59:19 +01:00
61071a6821
[PLUGINS][Reply][Repeat][Favourite] Base template semantic rework. Reply, repeat and favourite respective classes are now assigned in their NoteHandlerPlugin.Eliseu Amaro2021-09-07 15:23:41 +01:00
e8ae0b74e0
[CORE][Controller] Switch order for content negotiation: allow events to take precedence. Bring back default JSON responseHugo Sales2021-09-06 14:29:07 +01:00
727133b6ed
[IMAGES][CSS] Dropdown image added for use in select boxes background. Fixed select box background color from being the one used by the system, dark theme inconsistencies found.Eliseu Amaro2021-09-06 14:22:36 +01:00
e6449bfe96
[CONFIG][TWIG] Selected a new default form theme. Forms shouldn't have class-less divs now.Eliseu Amaro2021-09-06 14:19:45 +01:00
1f792a0183
[CSS] Links should be aligned with content now. Underlined in main content by default. Highlighted when focused.Eliseu Amaro2021-09-06 13:08:27 +01:00
bdde047dfa
[PLUGINS][Embed] Embed references a table that does not exist. It seems to mean attachment_embed, rather than link_to_attachmentHugo Sales2021-09-05 20:42:40 +01:00
cd89106fc0
[EXCEPTION][RedirectException] Add prevention for open redirects by default and ensure we can redirect to the same pageHugo Sales2021-09-05 20:04:28 +01:00
16cde6dfd7
[PLUGINS][Reply] Redirect back to previous URL on note reply. Move controller to own classHugo Sales2021-09-05 18:25:53 +01:00
0a7fd9c460
[CORE][MODULES][NoteHandlerPlugin] Add missing import for EventHugo Sales2021-09-05 19:42:01 +01:00
1d5fd1aefa
[CORE][Controller] Fix Controller::__invoke so it actually passes on the route parameters to the controller method. Add Controller->string, which gets a query parameter as a string value, or null if not setHugo Sales2021-09-05 19:41:06 +01:00
330143e549
[ROUTER][DOCUMENTATION] Add Router::isAbsolute, add documentation to Router::url and `s/setRouter/serServices/Hugo Sales2021-09-05 19:23:14 +01:00
61d95265a9
[PLUGINS][Repeat] Delete note repeat rather than the original Note. Don't fetch when we want a simple countHugo Sales2021-09-05 17:56:03 +01:00
be27a10244
[EVENTS] Rename event RouteInFormat to ControllerResponseInFormatHugo Sales2021-09-01 23:50:45 +01:00
6fdec483cd
[Reply] RedirectionException wasn't allowing other handlers to do their job.Eliseu Amaro2021-09-05 16:16:42 +01:00
85db9464ca
[Reply] Fixed reply plugin action, there was no need to query the database when handling.Eliseu Amaro2021-09-05 15:56:32 +01:00
f000532b7e
[Favourite][Reply][Repeat] The respective svg for note actions is assigned. Repeat note handler needs work. "An exception has been thrown during the rendering of a template ("No value in table note matches the requested criteria")." exception thrown on repeat.Eliseu Amaro2021-09-05 14:34:30 +01:00
983e0303a5
[ROUTER] Sort routes so that the one with a smaller list of Accept types matches firstHugo Sales2021-09-01 15:54:13 +01:00
45734d882c
[CONFIG] Make it possible to write module configuration in a config.{php,yml,yaml,xml} file and set each value as properties in the module objectHugo Sales2021-08-21 22:30:24 +01:00
6ef07e04d1
[Posting][CSS] Right panel form uses a select box instead of radio buttons. Hover and focus of <a> elements using just an underline. Note author and actions padding redone. File-picker font is now correct. Left panel hierarchy should now be more clear.Eliseu Amaro2021-08-31 18:33:58 +01:00
7dc390ca1c
[TWIG][CSS] Shortcuts now work in small screen sizes. Header icons further polish. Profile navigation structural rework.Eliseu Amaro2021-08-30 21:01:32 +01:00
ca2eff2906
[CSS] Visual feedback from shortcuts polished.Eliseu Amaro2021-08-30 19:16:48 +01:00
414b33f97b
[TWIG][CSS] Shortcut menu done. Can access various panel with proper visual feedback.Eliseu Amaro2021-08-30 17:56:59 +01:00
e73af2b887
[TWIG][CSS] Left and Right panels now using a checkbox trick to control their visibility. Details element couldn't be properly controlled by CSS without breaking accessibility.Eliseu Amaro2021-08-28 21:23:25 +01:00
6e6b2ea87b
[CSS][Icons] Icons width and height wasn't consistent, problem lied within the SVGs themselves.Eliseu Amaro2021-08-22 16:26:19 +01:00
b8bb845e24
[TWIG][CSS][Accessibility] Note view accessibility improvements. Left and right panels icon rework (width and height weren't correct, position needs further work).Eliseu Amaro2021-08-21 07:05:54 +01:00
d2760f1250
[TWIG][CSS][Accessibility] Base template accessibility improvements. Applying more semantic HTML5 tags and aria to describe content actions.Eliseu Amaro2021-08-19 20:37:16 +01:00
671e2d6a9d
[CSS] Fixed Favourite button background size and colour. Fixed right panel incorrect font size.Eliseu Amaro2021-08-18 22:37:34 +01:00
8880af8197
[ActivityStreamsTwo] Introduce a structure for data representation in ActivityStreams 2.0 Type factory borrowed from landrok/activitypubDiogo Peralta Cordeiro2021-08-24 20:29:26 +01:00
fd3b57dc24
[CORE][Controller] Make it possible for plugins to add different content-types to existing routesDiogo Peralta Cordeiro2021-08-24 05:30:54 +01:00
626f50080b
[MODULES] Use snake_case for module config keysHugo Sales2021-08-22 20:46:58 +01:00
033c4db914
[MODULES] Add function to defer module initialization and cleanup to plugin and component. Add example in Avatar componentHugo Sales2021-08-22 13:33:27 +01:00
bda839be7b
[MODULES] Add InitiializeModule and CleanupModule events, similar to v2Hugo Sales2021-08-22 13:11:46 +01:00
141f919ca7
[CONFIG][TESTS] Fix error found by AdminPanel testHugo Sales2021-08-22 12:57:37 +01:00
4d3da08b1e
[CONFIG] Add example module configurationHugo Sales2021-08-21 22:30:59 +01:00
c71a4b06ef
[CONFIG] Make it possible to write module configuration in a config.{php,yml,yaml,xml} file and set each value as properties in the module objectHugo Sales2021-08-21 22:30:24 +01:00