Commit Graph

  • 030f8afdf5
    [ASSETS][FONTS] Poppins and Opens Sans are now used. Better legibility for smaller sizes. Eliseu Amaro 2021-09-15 17:03:22 +01:00
  • c0c7eb32dc
    [DEPENDENCIES] Update composer dependencies Hugo Sales 2021-09-15 16:58:47 +01:00
  • 8f0a3e4977
    [UI] Add mechanism for rendering note contents in different formats. Implement plaintext rendering. Use rendered field for note content, rather than the content itself Hugo Sales 2021-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 costly Hugo Sales 2021-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 nicknames Hugo Sales 2021-09-15 16:36:14 +01:00
  • e563c393f8
    [ROUTER] Add mechanism for sorting the order in which core routes are loaded Hugo Sales 2021-09-15 15:13:30 +01:00
  • b26f3bca14
    [BOOTSTRAP] Remove duplicate constant definition Hugo Sales 2021-09-15 15:09:33 +01:00
  • e9d809d441 [Security][Exception] Security exception handling, login and register. TODO EmailNotFoundException and NicknameNotFoundException. Eliseu Amaro 2021-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 Amaro 2021-09-15 00:25:16 +01:00
  • efafc9f7eb [TWIG][NOTE] Note's author avatar size defined. Eliseu Amaro 2021-09-15 00:22:35 +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 Amaro 2021-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 Amaro 2021-09-15 00:15:51 +01:00
  • 365edbaff0
    [ActivityStreamsTwo] Initial Actor support Various bug fixes Diogo Peralta Cordeiro 2021-09-14 17:15:37 +01:00
  • 1f3a6fe6ac
    [TESTS] Fix and/or temporarily disable failing tests. We'll get back to this Hugo Sales 2021-09-14 13:36:30 +01:00
  • bebf4fdbce
    [I18n][Posting] Move ':' to inside the translate call Hugo Sales 2021-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 Sales 2021-09-13 13:52:44 +01:00
  • a21b0afb70
    [ASSETS] Removed unused fonts. Variable fonts now used. Eliseu Amaro 2021-09-13 12:12:02 +01:00
  • 7c465bba5f
    [NOTE] Add mimetype to notes Diogo Peralta Cordeiro 2021-09-09 03:46:30 +01:00
  • c69b28d894
    [CORE] Fix Undefined array key 0 in DB::filterTableName Hugo Sales 2021-09-09 08:40:35 +01:00
  • 404442ebda
    [BASE] Importing fonts through CSS instead, minimizing content blocking. Removed legibility optimizations in font rendering. Removed unused font rules. Eliseu Amaro 2021-09-11 21:31:56 +01:00
  • 8887efe305
    [THEME][DARK] Background image is 73% smaller, added noise to diminish the banding in Firefox. Eliseu Amaro 2021-09-11 21:15:16 +01:00
  • b74d944ae3
    [TOOLS][PHPStan] Raise PHPStan level to 3 and fix new errors Hugo Sales 2021-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 use Hugo Sales 2021-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 command Hugo Sales 2021-09-08 20:57:30 +01:00
  • f81bf4a257
    [TOOLS][PHPStan] Add mechanism for initializing the whole application Hugo Sales 2021-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 itself Hugo Sales 2021-09-07 20:16:47 +00:00
  • 4e30e5aad9
    [TOOLS] Fix all issues found by PHPStan level 2 Hugo Sales 2021-09-06 23:47:28 +01:00
  • 4b1780a2ee
    [ActivityStreamsTwo] Introduce a structure for data representation in ActivityStreams 2.0 Type factory borrowed from landrok/activitypub Diogo Peralta Cordeiro 2021-08-24 20:29:26 +01:00
  • 043c5da58b
    [THEME][BASE] New and better light theme. Eliseu Amaro 2021-09-08 22:32:20 +01:00
  • 26aec5f626
    [BASE][NOTE][CSS] Further screen reader cues for note replies. Eliseu Amaro 2021-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 Amaro 2021-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 Amaro 2021-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 Amaro 2021-09-07 20:34:45 +01:00
  • 3abf71b707
    [CSS] There's no need to tab again after selecting accessibility menu! Eliseu Amaro 2021-09-07 20:07:46 +01:00
  • 8123086881
    [Embed] Fix normalizeEmbedLibMetadata for thumbnails starting with '/' Diogo Peralta Cordeiro 2021-09-07 17:21:54 +01:00
  • 3c1a9ba3fa
    [CSS] Fixed tabbing through accessibility menu. Was invisible when going throught it without a previous target. Eliseu Amaro 2021-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 Amaro 2021-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 Amaro 2021-09-07 15:23:41 +01:00
  • ddd2ffe26a
    [TWIG] Add extension to check if Firefox is being used Diogo Peralta Cordeiro 2021-09-07 15:20:28 +01:00
  • 0e50f0692e
    [ACCESSIBILITY][BASE] Accessibility menu was unreachable. Eliseu Amaro 2021-09-06 23:54:14 +01:00
  • 1614b8c8fe
    [ACCESSIBILITY][BASE] Workaround Firefox amazing keybindings. Eliseu Amaro 2021-09-06 23:37:54 +01:00
  • 681144b380
    [PLUGINS][Favourite][CSS] Favourite label now shows whether it's favourited or not already. Eliseu Amaro 2021-09-06 22:39:01 +01:00
  • 0cecc67376
    [COMPONENT][Posting][Link] Create ProcessNoteContent event. Move link extraction to Link component. Cleanup Posting Hugo Sales 2021-09-06 21:01:20 +01:00
  • add8f4a52f
    [TOOLS] Fix all errors found by PHPStan level 1 Hugo Sales 2021-09-06 20:59:36 +01:00
  • 0da6ff05ed
    [TOOLS] Add config file and raise PHPStan to level 1 Hugo Sales 2021-09-06 20:58:21 +01:00
  • 277a080d7c
    [EXCEPTION] Add NotImplementedException Hugo Sales 2021-09-06 19:49:56 +01:00
  • eb833b62e2
    [TOOLS] Fix all level 0 errors found by PHPStan and move constant definition to bootstrap file Hugo Sales 2021-09-06 19:49:03 +01:00
  • 0eb0236feb
    [TOOLS] Run PHPStan on the whole codebase on each commit Hugo Sales 2021-09-06 18:45:14 +01:00
  • ecb1064d08
    [DEPENDENCIES] Add PHPStan as a dev dependency Hugo Sales 2021-09-06 18:42:11 +01:00
  • 6ac37bc7fb
    [DEPENDENCIES] Update dependencies Hugo Sales 2021-09-06 18:39:33 +01:00
  • f65e2b90f2
    [CORE] Fix use of Exception class without import Hugo Sales 2021-09-06 17:34:27 +01:00
  • cbbef90752
    [UTIL][CONFIG] Ensure setConfig uses a locals key Hugo Sales 2021-09-06 17:33:46 +01:00
  • 4916c8cbda
    [CONTROLLER][AdminPanel] Add missing Exception import Hugo Sales 2021-09-06 17:32:44 +01:00
  • bfd0acacd1
    [TESTS] Fix SecurityTest breakage following UI changes Hugo Sales 2021-09-06 14:29:50 +01:00
  • e8ae0b74e0
    [CORE][Controller] Switch order for content negotiation: allow events to take precedence. Bring back default JSON response Hugo Sales 2021-09-06 14:29:07 +01:00
  • bc5ddc52ea
    [UI] Remove stray template file foo.html.twig Hugo Sales 2021-09-06 14:26:31 +01:00
  • c612fe6df5
    [PLUGINS][Reply][CSS] Help text added. Styling reply page done. Eliseu Amaro 2021-09-06 20:51:12 +01:00
  • 9f6acc04aa
    [CSS] Light theme panels background image fix. Input elements with proper padding. Eliseu Amaro 2021-09-06 19:33:51 +01:00
  • 7a0e256557
    [CSS] Light theme! Eliseu Amaro 2021-09-06 19:06:28 +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 Amaro 2021-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 Amaro 2021-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 Amaro 2021-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_attachment Hugo Sales 2021-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 page Hugo Sales 2021-09-05 20:04:28 +01:00
  • 16cde6dfd7
    [PLUGINS][Reply] Redirect back to previous URL on note reply. Move controller to own class Hugo Sales 2021-09-05 18:25:53 +01:00
  • 0a7fd9c460
    [CORE][MODULES][NoteHandlerPlugin] Add missing import for Event Hugo Sales 2021-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 set Hugo Sales 2021-09-05 19:41:06 +01:00
  • 330143e549
    [ROUTER][DOCUMENTATION] Add Router::isAbsolute, add documentation to Router::url and `s/setRouter/serServices/ Hugo Sales 2021-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 count Hugo Sales 2021-09-05 17:56:03 +01:00
  • be27a10244
    [EVENTS] Rename event RouteInFormat to ControllerResponseInFormat Hugo Sales 2021-09-01 23:50:45 +01:00
  • f371443884
    [CSS] Note's view now properly handles replies. Eliseu Amaro 2021-09-05 17:27:36 +01:00
  • 6fdec483cd
    [Reply] RedirectionException wasn't allowing other handlers to do their job. Eliseu Amaro 2021-09-05 16:16:42 +01:00
  • 85db9464ca
    [Reply] Fixed reply plugin action, there was no need to query the database when handling. Eliseu Amaro 2021-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 Amaro 2021-09-05 14:34:30 +01:00
  • f9f4f179bb
    [Security][Right] login and register padding fix. Select boxes styling done. Eliseu Amaro 2021-09-03 11:51:29 +01:00
  • 983e0303a5
    [ROUTER] Sort routes so that the one with a smaller list of Accept types matches first Hugo Sales 2021-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 object Hugo Sales 2021-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 Amaro 2021-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 Amaro 2021-08-30 21:01:32 +01:00
  • ca2eff2906
    [CSS] Visual feedback from shortcuts polished. Eliseu Amaro 2021-08-30 19:16:48 +01:00
  • 414b33f97b
    [TWIG][CSS] Shortcut menu done. Can access various panel with proper visual feedback. Eliseu Amaro 2021-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 Amaro 2021-08-28 21:23:25 +01:00
  • 6e6b2ea87b
    [CSS][Icons] Icons width and height wasn't consistent, problem lied within the SVGs themselves. Eliseu Amaro 2021-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 Amaro 2021-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 Amaro 2021-08-19 20:37:16 +01:00
  • 671e2d6a9d
    [CSS] Fixed Favourite button background size and colour. Fixed right panel incorrect font size. Eliseu Amaro 2021-08-18 22:37:34 +01:00
  • 8880af8197
    [ActivityStreamsTwo] Introduce a structure for data representation in ActivityStreams 2.0 Type factory borrowed from landrok/activitypub Diogo Peralta Cordeiro 2021-08-24 20:29:26 +01:00
  • e4aa3ae968
    [NOTE] Add route and controller Diogo Peralta Cordeiro 2021-08-24 05:31:48 +01:00
  • fd3b57dc24
    [CORE][Controller] Make it possible for plugins to add different content-types to existing routes Diogo Peralta Cordeiro 2021-08-24 05:30:54 +01:00
  • 8e45637277
    [DOCS][User] Elaborate on what is GNU social and IndieWeb Diogo Peralta Cordeiro 2021-08-23 01:07:43 +01:00
  • 626f50080b
    [MODULES] Use snake_case for module config keys Hugo Sales 2021-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 component Hugo Sales 2021-08-22 13:33:27 +01:00
  • bda839be7b
    [MODULES] Add InitiializeModule and CleanupModule events, similar to v2 Hugo Sales 2021-08-22 13:11:46 +01:00
  • 1ee8df1494
    [DOCS][Developer] Elaborate on implementing and configuring a module Diogo Peralta Cordeiro 2021-08-22 19:58:48 +01:00
  • 141f919ca7
    [CONFIG][TESTS] Fix error found by AdminPanel test Hugo Sales 2021-08-22 12:57:37 +01:00
  • 4d3da08b1e
    [CONFIG] Add example module configuration Hugo Sales 2021-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 object Hugo Sales 2021-08-21 22:30:24 +01:00
  • 3587b8dc1d
    [CONFIG] Refactor configuration loading Hugo Sales 2021-08-21 22:27:34 +01:00
  • c94ef26617
    [TESTS] Fix namespace on Controller Security test Hugo Sales 2021-08-19 20:17:56 +01:00
  • 56e5d5c4a0
    [TESTS] Fix broken tests and expand tests around Attachments Hugo Sales 2021-08-19 19:14:37 +01:00