Commit Graph

  • 774eb49af4
    [UI][CONTROLLER][UserPanel][ENTITY][ActorLanguage][Language][Actor] Add interface to allow user to select thier preferred languages and to order them. Rename ActorLanguage::order to ordering Hugo Sales 2021-11-15 17:00:58 +0000
  • 83fc31b485
    [CSS] Polished light theme. Eliseu Amaro 2021-11-15 14:50:36 +0000
  • 2d941cbb16
    [CSS] Fixed Chromium from overriding the page stylesheet on fieldset element. Eliseu Amaro 2021-11-15 14:44:24 +0000
  • 337fe272a3
    [CSS] Re-arranged CSS rules, overall refactor to minimize duplications. Eliseu Amaro 2021-11-15 14:07:05 +0000
  • a23f7d5aa3
    [CSS] Removed 'colors.css', colors are declared within their respective classes/ids instead. Eliseu Amaro 2021-11-15 13:55:23 +0000
  • d5e6fd603d
    [CONTROLLER][UserPanel] Fix 'could not convert IntergetType to string' error Hugo Sales 2021-11-15 13:37:29 +0000
  • 1abd28c949
    [UI][TWIG][CONTROLLER][UserPanell] Add way to expand details with a GET parameter. Implement it in UserPanel Hugo Sales 2021-11-15 13:34:34 +0000
  • c509692102
    [ENTITY][AttachmentThumbnail] Uncache when deleting, cleanup code and ensure the biggest thumbnail is used when the original is not avaliable Hugo Sales 2021-11-14 23:20:59 +0000
  • a3074662b8
    [TESTS] Remove 'reply_to' in note creation in data fixtures Hugo Sales 2021-11-14 23:17:36 +0000
  • eab6de3609
    [TESTS][Security] Fix SecurityTest. Remove nickname normalization on register (a plugin can handle that). Move from filter_var(FILTER_VALIDATE_EMAIL) as it does not support dotless domains Hugo Sales 2021-11-14 23:15:24 +0000
  • bf5ffe7d3d
    [CACHE][TEST] Fix errors in cache implementation found by tests Hugo Sales 2021-10-28 18:05:28 +0100
  • 98352cfece
    [TESTS] Properly provide both createClient and bootKernel in test base class Hugo Sales 2021-11-11 12:31:54 +0000
  • 2239845a00
    [CONTROLLER][Security] Remove nickname normalization when trying to login Hugo Sales 2021-11-11 12:30:42 +0000
  • a1c78696f7
    [CORE][Actor][Posting] Fixup Actor::getPreferredLanguageChoices following changes in how the data is cached Hugo Sales 2021-11-11 12:29:55 +0000
  • 316723075b
    [TESTS] Reload the initial table values after loading the data fixtures (as this purges the DB) Hugo Sales 2021-11-11 12:28:03 +0000
  • f39f800a8e
    [TESTS] Add now-required content-type to notes created in data fixtures Hugo Sales 2021-11-11 12:27:10 +0000
  • f667b558f7
    [TESTS] Fix SecurityTest Hugo Sales 2021-11-11 12:24:45 +0000
  • dea9aa4dcf
    [CORE][Router] Remove duplicate service for URL generation, as that is actually the same object Hugo Sales 2021-11-10 13:59:02 +0000
  • 420ebcda26
    [TESTS] Run tests without runuser as it's generating very weird permission errors. This is temporary (TM) Hugo Sales 2021-11-10 13:55:42 +0000
  • d0f9fde7c2
    [PLUGIN][Reply] WIP. Note complementary info now shows who has replied on the original note! Eliseu Amaro 2021-11-10 15:44:28 +0000
  • f2f1bdc145
    [PLUGIN][Reply] Separated replies from Note table. [PLUGIN][Repeat] Deleted unnecessary card note template, info now to appended at the end of note. [PLUGIN][TreeNotes] WIP to accomodate reply plugin changes. [TWIG][Runtime] Removed getAdditionalTemplateVars event. Eliseu Amaro 2021-11-07 01:32:06 +0000
  • 7d8819a3da
    [DB][CONTROLLER][Network][ENTITY][Note] Fix Note::getAllNotes Hugo Sales 2021-11-09 23:37:46 +0000
  • c3705112ba
    [DEPENDENCIES] Update dependencies Hugo Sales 2021-11-08 21:54:38 +0000
  • 98b1b7072c
    [TOOLS] Fix running tests without filters Hugo Sales 2021-11-08 21:49:12 +0000
  • f0c532340e
    [DB] Fix uses of `DB::sql`, to remove the deprecated second `entities` parameter Hugo Sales 2021-11-08 20:21:41 +0000
  • 767b2035e7
    [ENTITY][ActorLanguage] Remove duplicate specification of 'not null' in table schema Hugo Sales 2021-11-08 20:18:50 +0000
  • 1d84f1629e
    [CORE][DB] Make DB::sql not error when selecting from tables with columns of the same name and remove the second enitites paramter, calculating it internally instead Hugo Sales 2021-11-08 20:15:45 +0000
  • f98afd15ce
    [ENTITY] Refactor Follow as Subscription upstream/experimental Diogo Peralta Cordeiro 2021-11-08 13:44:35 +0000
  • 68c6dd1ba9
    [CORE][Cache] Use hashmaps to store language related items Hugo Sales 2021-11-08 15:07:29 +0000
  • 2eb31952bc
    [ENTITY][Language] Use varchar as char leads to a padded string, which isn't helpful Hugo Sales 2021-11-08 15:06:47 +0000
  • 2cf3a0b4e6
    [COMPONENT][Posting] Display short language signifier rather than the full name for the first preffered language Hugo Sales 2021-11-08 15:03:39 +0000
  • 705bf815ab
    [CACHE] Add partial implmentation for caching hashmaps (non-list arrays, i.e. array<string,string>). No non-redis-fallback yet Hugo Sales 2021-11-08 15:05:12 +0000
  • cd470cbf93
    [CORE] Fix loading of settings from modules Hugo Sales 2021-11-08 15:05:55 +0000
  • 019ad794d1
    [Posting] Add dropdown with language choice, with preferred choice according to user choice and context (group, etc) Hugo Sales 2021-11-02 11:11:51 +0000
  • 9444c34071
    [ENTITY][Actor][ActorLanguage][Language] Remove Actor::preferred_lang_id. Add ActorLanguage::order. Add Language::{short_display,long_display}. Instead of an actor having a single preffered language, the entries in ActorLanguage should be used, sorted by ActorLanguage::order Hugo Sales 2021-11-02 10:42:21 +0000
  • 2bd05fbd47
    [TOOLS][COMMAND] Add 'app:populate_initial_values' command, which inserts values into the language table if it does not yet contain values. Add database-force-nuke to Makefile, which does all the steps necessary to reset the database Hugo Sales 2021-11-02 10:40:01 +0000
  • 1960f6944f
    [CORE][DB] Fix error in regex that prevented selecting collumns that are named the same way a column is Hugo Sales 2021-11-01 21:04:49 +0000
  • 839fa070c7
    [CORE][Posting] Default Posting language to site language, if the user hasn't selected one Hugo Sales 2021-11-01 19:43:23 +0000
  • d9265c5402
    [TEMPLATES][Profile] Use URI instead of URL Diogo Peralta Cordeiro 2021-11-02 08:34:08 +0000
  • c4088e221f
    [CSS] Very important colour change. Eliseu Amaro 2021-11-01 22:09:10 +0000
  • cf09b48e92
    [PLUGINS][Repeat] Added note_repeat entity, fixed visual discrepancies, and completed the expected functionality. [ENTITY][Note] Removed repeat_off from table. It is now part of the Repeat plugin. Eliseu Amaro 2021-11-01 21:19:20 +0000
  • 73e772e576
    [TOOLS] Allow specifying a list of filters when running tests with `make`. When running `make test foobar` only the test `foobar` is executed (read the documentation for `phpunit --filter`) Hugo Sales 2021-10-28 17:24:43 +0100
  • c862c9bf18
    [ActivityPub] Make remote mentions great again Diogo Peralta Cordeiro 2021-11-01 12:16:46 +0000
  • 712d1739e4
    [UTIL][Formatting] Make local mentions great again Diogo Peralta Cordeiro 2021-11-01 12:16:29 +0000
  • 91dd6e1428
    [Controller][Security] Fullname is not setup automatically upon registering anymore. [ENTITY][Actor] Changes to accomodate fullname from potentially being null. [ENTITY][Note] Changes to accomodate fullname from potentially being null. Eliseu Amaro 2021-10-29 22:05:10 +0100
  • ac8513741d
    [CSS] New themes! No images used anymore. Eliseu Amaro 2021-10-29 22:01:28 +0100
  • eb5bc36390
    [CSS] Fixed widgets from overflowing. Eliseu Amaro 2021-10-29 18:14:39 +0100
  • 7fef18e95a
    [COMPONENTS][Posting] LocaleType::class doesn't have a default attribute, replaced with 'preferred_choices' instead. Eliseu Amaro 2021-10-29 17:46:25 +0100
  • 9a23e03330
    [PLUGINS][Repeat] Repeat template override WIP. Eliseu Amaro 2021-10-29 00:33:24 +0100
  • 0f358a9c5d
    [CORE][Posting] Add language choice field to the note posting block Hugo Sales 2021-10-28 17:37:00 +0100
  • 44454ac28a
    [UTIL][TemporaryFile] Ensure `resource` is neither `false` nor `null` when attempting to cleanup, otherwise `getRealPath` returns `false` and we get sad Hugo Sales 2021-10-28 17:36:02 +0100
  • 458c09485a
    [CORE][ENTITY] Move preferred language setting from [LocalUser] to [Actor], make [Language] `language` unique and make [Note] `content_type` not null Hugo Sales 2021-10-28 17:34:01 +0100
  • e6c5312025
    [CORE][GSFile] Add `check_is_supported_mimetype` option to `GSFile::storeFileAsAttachment` Hugo Sales 2021-10-28 17:29:57 +0100
  • 4d9a5aae5a
    [ActivityPub] Always explicitly compare the results of `Event::handle` to the constants `next` or `stop` Hugo Sales 2021-10-28 17:28:02 +0100
  • 86ac5c52a1
    [TESTS] Add to the supported configuration list, the mimetypes of all `sample-upload` files Hugo Sales 2021-10-28 17:26:57 +0100
  • 8238980395
    [TOOLS] Allow specifying a list of filters when running tests with `make`. When running `make test foobar` only the test `foobar` is executed (read the documentation for `phpunit --filter`) Hugo Sales 2021-10-28 17:24:43 +0100
  • a55d60d880
    [DEPENDENCIES] Update dependencies Hugo Sales 2021-10-28 14:31:56 +0100
  • c352e40518
    [CORE][Controller] Allow plugins to override the Twig templates Hugo Sales 2021-10-28 14:29:34 +0100
  • 18aeeb3850
    [ENTITY] Add a [Language] table, which has a char 64 field that maps to an int. This is then used in [Note], [LocalUser] and [ActorLanguage] Hugo Sales 2021-10-28 01:26:16 +0100
  • 3388e0e8f1
    [TWIG][Cards] Note template fully refactored. Template has now macros for different views for the card. [PLUGINS][Repeat] WIP: Action added. [PLUGINS][Favourite] Changes to accomodate note card template refactoring. [CSS] Fixed textarea from being resized horizontally. Eliseu Amaro 2021-10-27 20:39:34 +0100
  • d47f125894
    [PLUGINS][Favourite] Refactored redirection to previous url. User is now unable to do invalid actions (ex. favour an already favourited note). [PLUGINS][ActivityPub] Fixed favour route id to be more consistent. Eliseu Amaro 2021-10-26 17:29:14 +0100
  • e54e55dfbf
    [EXCEPTION][RedirectException] You are now able to redirect to a specific url. Eliseu Amaro 2021-10-26 17:25:45 +0100
  • 3e2fefa8af
    [TWIG][Cards] Fullname is now displayed as the note author, nickname as an identification. [CONTROLLER][Security] Fullname is set on resgistration to enable it to be shown by default in notes. [CONTROLLER][UserPanel] Fullname extra step added. [CSS] Fullname and nickname representation work. Eliseu Amaro 2021-10-26 14:47:28 +0100
  • 51c984849f
    [ActivityPub] Port Explorer Diogo Peralta Cordeiro 2021-10-27 04:14:01 +0100
  • 5189269e5b
    [FreeNetwork] Port Discovery Diogo Peralta Cordeiro 2021-10-27 04:15:07 +0100
  • 3cdaf6671a
    [CORE][HTTPClient] Add some shortcut functions inspired by pre-v3 Diogo Peralta Cordeiro 2021-10-27 04:20:22 +0100
  • 3227e1f919
    [CORE][Log] Document magic methods Diogo Peralta Cordeiro 2021-10-27 04:21:53 +0100
  • 45f65baf96
    [PLUGINS][Embed] Polished embed template in order to better utilize space. [CSS][Feed] Embed related additions. Eliseu Amaro 2021-10-24 22:45:38 +0100
  • 0407ac38cf
    [AudioEncoder] Introduce basic audio plugin to provide an attachment template and duration metadata for audio mimetype Diogo Peralta Cordeiro 2021-10-24 22:11:07 +0100
  • 364c14ef2c
    [COMPONENT][Link] Fix mistake where only the first URL was matched and the match included the preceeding whitespace character Hugo Sales 2021-10-24 21:30:47 +0100
  • ebf675ec59
    [Plugins][FAVOURITE] Redirect added. Only redirects from the route the user came from, not the anchored note. To be added. Further corner cases fixed. Eliseu Amaro 2021-10-24 15:12:18 +0100
  • 56ba7bd845
    [ImageEncoder][VideoEncoder] Properly decide when to take action Diogo Peralta Cordeiro 2021-10-24 15:15:21 +0100
  • bccafd0d7b
    [CORE][GSFile] Respect mimetype whitelist and extensions blacklist before saving files Diogo Peralta Cordeiro 2021-10-24 15:16:37 +0100
  • b7d9da8ae6
    [Posting] Add Content Length constraint to form validation Eliseu Amaro 2021-10-24 15:32:28 +0100
  • 8038fdbce9
    [UTIL][Common] Added Common::getUploadLimit(). [COMPONENT][Posting] Update Posting to warn the user of submtting attachments too large. Eliseu Amaro 2021-10-21 14:54:32 +0100
  • 656c2c7812
    [SECURITY][Authenticator] fix wrong route id on after login redirection Eliseu Amaro 2021-10-24 15:31:28 +0100
  • 60b15ea79d
    [Plugins][FAVOURITE] No longer a form, a link to a new page is provided instead. The amount of forms per page were blocking rendering for the majority of its duration. Eliseu Amaro 2021-10-21 20:14:22 +0100
  • a6d5752748
    [TOOLS][PHPStan] Make a standalone phpstan executable, which executes inside the docker container Hugo Sales 2021-10-21 15:11:00 +0100
  • 299e893ca9
    [TOOLS][PHPStan][DocCheck] Fix errors found by PHPStan and Doc Check Hugo Sales 2021-10-21 14:45:18 +0100
  • 769b901060
    [TOOLS] Add doc-check target to Makefile Hugo Sales 2021-10-21 14:44:21 +0100
  • dff5647b97
    [DB][Note] Add langauge field to notes Hugo Sales 2021-10-21 13:49:41 +0100
  • 8a10fec31d
    [CONTROLLER][UserPanel] Make all fields in settings not required Hugo Sales 2021-10-21 13:44:30 +0100
  • 2694d83ae4
    [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types Hugo Sales 2021-10-10 09:26:18 +0100
  • 028ea79fff
    [CORE][Router] Properly act on Accept headers Diogo Peralta Cordeiro 2021-10-19 23:46:01 +0100
  • 99fd2f725b
    [Core][Util] Hotfix: In App\Core\DB\DB persistWithSameId, casting the id to an int. In App\Util\HTML html, tag is now evaluated beforehand, making sure it's a string. Eliseu Amaro 2021-10-19 21:06:23 +0100
  • f78cfed41a
    [TWIG][CSS] Template refactoring, classes and their respective CSS is now more consistent. CSS variables are back. Eliseu Amaro 2021-10-19 20:33:01 +0100
  • 8fdc52636f
    [ActivityPub] Port RSA Diogo Peralta Cordeiro 2021-10-19 13:48:50 +0100
  • 8544fe157b
    [FreeNetwork] First steps porting webfinger/lrdd to v3, GET webfinger requests already have a basic result Diogo Peralta Cordeiro 2021-10-18 13:22:02 +0100
  • 44cf1fa24c
    [UTIL][Nickname] Fix some parameters issues found with strict types Diogo Peralta Cordeiro 2021-10-18 16:48:16 +0100
  • 5eefea7a29
    [TOOLS] Update Makefile to support both the new and old container naming conventions, as of docker-compose v2 Hugo Sales 2021-10-18 15:20:50 +0100
  • b524c5bc90
    [TOOLS][PHPStan] Add missing toString on the call to DB::filterName, as it seems something changed in some update Hugo Sales 2021-10-10 09:51:21 +0100
  • b65ee4c21d
    [TOOLS][CS-FIXER] Fix incorrect transformation Hugo Sales 2021-10-10 09:35:36 +0100
  • 9109c61af5
    [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types Hugo Sales 2021-10-10 09:26:18 +0100
  • 8ef2d3339f
    [COMPONENTS][Search] Slightly refactor parser, since the inline lambda was somewhat complex (and cs-fixer kept moving the comment, so doc-checker complained) Hugo Sales 2021-10-10 09:23:51 +0100
  • 703e66fd2e
    [TOOLS] Update PHP CS fixer and adjust configuration Hugo Sales 2021-10-10 08:40:06 +0100
  • 7aad58b440
    [DEPENDENCIES] Update composer dependencies Hugo Sales 2021-10-10 06:02:12 +0100
  • ce0cfa7a63
    [COMPONENT][Search] Update Search to be able to search for either notes or actors Hugo Sales 2021-10-10 05:44:10 +0100
  • d575f8aef5
    [UTIL][Formatting] Make it possible to supply string|array to either or both argument of Formatting::{starts,ends}With Hugo Sales 2021-10-10 05:43:07 +0100
  • 99ab24ec23
    [CORE][Controller] Allow routes without text/html response Improve GET getters Diogo Peralta Cordeiro 2021-10-18 13:17:08 +0100
  • 03f6029ce5
    [SECURITY] Fix nickname validation and properly allow email auth Diogo Peralta Cordeiro 2021-10-10 17:41:30 +0100