Commit Graph

  • 337fe272a3 [CSS] Re-arranged CSS rules, overall refactor to minimize duplications. Eliseu Amaro 2021-11-15 14:07:05 +00:00
  • a23f7d5aa3 [CSS] Removed 'colors.css', colors are declared within their respective classes/ids instead. Eliseu Amaro 2021-11-15 13:55:23 +00:00
  • d5e6fd603d [CONTROLLER][UserPanel] Fix 'could not convert IntergetType to string' error Hugo Sales 2021-11-15 13:37:29 +00:00
  • 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 +00:00
  • 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 +00:00
  • a3074662b8 [TESTS] Remove 'reply_to' in note creation in data fixtures Hugo Sales 2021-11-14 23:17:36 +00:00
  • 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 +00:00
  • bf5ffe7d3d [CACHE][TEST] Fix errors in cache implementation found by tests Hugo Sales 2021-10-28 18:05:28 +01:00
  • 98352cfece [TESTS] Properly provide both createClient and bootKernel in test base class Hugo Sales 2021-11-11 12:31:54 +00:00
  • 2239845a00 [CONTROLLER][Security] Remove nickname normalization when trying to login Hugo Sales 2021-11-11 12:30:42 +00:00
  • a1c78696f7 [CORE][Actor][Posting] Fixup Actor::getPreferredLanguageChoices following changes in how the data is cached Hugo Sales 2021-11-11 12:29:55 +00:00
  • 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 +00:00
  • f39f800a8e [TESTS] Add now-required content-type to notes created in data fixtures Hugo Sales 2021-11-11 12:27:10 +00:00
  • f667b558f7 [TESTS] Fix SecurityTest Hugo Sales 2021-11-11 12:24:45 +00:00
  • dea9aa4dcf [CORE][Router] Remove duplicate service for URL generation, as that is actually the same object Hugo Sales 2021-11-10 13:59:02 +00:00
  • 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 +00:00
  • d0f9fde7c2 [PLUGIN][Reply] WIP. Note complementary info now shows who has replied on the original note! Eliseu Amaro 2021-11-10 15:44:28 +00:00
  • 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 +00:00
  • 7d8819a3da [DB][CONTROLLER][Network][ENTITY][Note] Fix Note::getAllNotes Hugo Sales 2021-11-09 23:37:46 +00:00
  • c3705112ba [DEPENDENCIES] Update dependencies Hugo Sales 2021-11-08 21:54:38 +00:00
  • 98b1b7072c [TOOLS] Fix running tests without filters Hugo Sales 2021-11-08 21:49:12 +00:00
  • f0c532340e [DB] Fix uses of DB::sql, to remove the deprecated second entities parameter Hugo Sales 2021-11-08 20:21:41 +00:00
  • 767b2035e7 [ENTITY][ActorLanguage] Remove duplicate specification of 'not null' in table schema Hugo Sales 2021-11-08 20:18:50 +00:00
  • 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 +00:00
  • f98afd15ce [ENTITY] Refactor Follow as Subscription Diogo Peralta Cordeiro 2021-11-08 13:44:35 +00:00
  • 68c6dd1ba9 [CORE][Cache] Use hashmaps to store language related items Hugo Sales 2021-11-08 15:07:29 +00:00
  • 2eb31952bc [ENTITY][Language] Use varchar as char leads to a padded string, which isn't helpful Hugo Sales 2021-11-08 15:06:47 +00:00
  • 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 +00:00
  • 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 +00:00
  • cd470cbf93 [CORE] Fix loading of settings from modules Hugo Sales 2021-11-08 15:05:55 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • 839fa070c7 [CORE][Posting] Default Posting language to site language, if the user hasn't selected one Hugo Sales 2021-11-01 19:43:23 +00:00
  • d9265c5402 [TEMPLATES][Profile] Use URI instead of URL Diogo Peralta Cordeiro 2021-11-02 08:34:08 +00:00
  • c4088e221f [CSS] Very important colour change. Eliseu Amaro 2021-11-01 22:09:10 +00:00
  • 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 +00:00
  • 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 +01:00
  • c862c9bf18 [ActivityPub] Make remote mentions great again Diogo Peralta Cordeiro 2021-11-01 12:16:46 +00:00
  • 712d1739e4 [UTIL][Formatting] Make local mentions great again Diogo Peralta Cordeiro 2021-11-01 12:16:29 +00:00
  • 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 +01:00
  • ac8513741d [CSS] New themes! No images used anymore. Eliseu Amaro 2021-10-29 22:01:28 +01:00
  • eb5bc36390 [CSS] Fixed widgets from overflowing. Eliseu Amaro 2021-10-29 18:14:39 +01:00
  • 7fef18e95a [COMPONENTS][Posting] LocaleType::class doesn't have a default attribute, replaced with 'preferred_choices' instead. Eliseu Amaro 2021-10-29 17:46:25 +01:00
  • 9a23e03330 [PLUGINS][Repeat] Repeat template override WIP. Eliseu Amaro 2021-10-29 00:33:24 +01:00
  • 0f358a9c5d [CORE][Posting] Add language choice field to the note posting block Hugo Sales 2021-10-28 17:37:00 +01:00
  • 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 +01:00
  • 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 +01:00
  • e6c5312025 [CORE][GSFile] Add check_is_supported_mimetype option to GSFile::storeFileAsAttachment Hugo Sales 2021-10-28 17:29:57 +01:00
  • 4d9a5aae5a [ActivityPub] Always explicitly compare the results of Event::handle to the constants next or stop Hugo Sales 2021-10-28 17:28:02 +01:00
  • 86ac5c52a1 [TESTS] Add to the supported configuration list, the mimetypes of all sample-upload files Hugo Sales 2021-10-28 17:26:57 +01:00
  • 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 +01:00
  • a55d60d880 [DEPENDENCIES] Update dependencies Hugo Sales 2021-10-28 14:31:56 +01:00
  • c352e40518 [CORE][Controller] Allow plugins to override the Twig templates Hugo Sales 2021-10-28 14:29:34 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • e54e55dfbf [EXCEPTION][RedirectException] You are now able to redirect to a specific url. Eliseu Amaro 2021-10-26 17:25:45 +01:00
  • 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 +01:00
  • 51c984849f [ActivityPub] Port Explorer Diogo Peralta Cordeiro 2021-10-27 04:14:01 +01:00
  • 5189269e5b [FreeNetwork] Port Discovery Diogo Peralta Cordeiro 2021-10-27 04:15:07 +01:00
  • 3cdaf6671a [CORE][HTTPClient] Add some shortcut functions inspired by pre-v3 Diogo Peralta Cordeiro 2021-10-27 04:20:22 +01:00
  • 3227e1f919 [CORE][Log] Document magic methods Diogo Peralta Cordeiro 2021-10-27 04:21:53 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • 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 +01:00
  • 56ba7bd845 [ImageEncoder][VideoEncoder] Properly decide when to take action Diogo Peralta Cordeiro 2021-10-24 15:15:21 +01:00
  • bccafd0d7b [CORE][GSFile] Respect mimetype whitelist and extensions blacklist before saving files Diogo Peralta Cordeiro 2021-10-24 15:16:37 +01:00
  • b7d9da8ae6 [Posting] Add Content Length constraint to form validation Eliseu Amaro 2021-10-24 15:32:28 +01:00
  • 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 +01:00
  • 656c2c7812 [SECURITY][Authenticator] fix wrong route id on after login redirection Eliseu Amaro 2021-10-24 15:31:28 +01:00
  • 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 +01:00
  • a6d5752748 [TOOLS][PHPStan] Make a standalone phpstan executable, which executes inside the docker container Hugo Sales 2021-10-21 15:11:00 +01:00
  • 299e893ca9 [TOOLS][PHPStan][DocCheck] Fix errors found by PHPStan and Doc Check Hugo Sales 2021-10-21 14:45:18 +01:00
  • 769b901060 [TOOLS] Add doc-check target to Makefile Hugo Sales 2021-10-21 14:44:21 +01:00
  • dff5647b97 [DB][Note] Add langauge field to notes Hugo Sales 2021-10-21 13:49:41 +01:00
  • 8a10fec31d [CONTROLLER][UserPanel] Make all fields in settings not required Hugo Sales 2021-10-21 13:44:30 +01:00
  • 2694d83ae4 [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types Hugo Sales 2021-10-10 09:26:18 +01:00
  • 028ea79fff [CORE][Router] Properly act on Accept headers Diogo Peralta Cordeiro 2021-10-19 23:46:01 +01:00
  • 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. eli 2021-10-19 21:06:23 +01:00
  • f78cfed41a [TWIG][CSS] Template refactoring, classes and their respective CSS is now more consistent. CSS variables are back. eli 2021-10-19 20:33:01 +01:00
  • 8fdc52636f [ActivityPub] Port RSA Diogo Peralta Cordeiro 2021-10-19 13:48:50 +01:00
  • 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 +01:00
  • 44cf1fa24c [UTIL][Nickname] Fix some parameters issues found with strict types Diogo Peralta Cordeiro 2021-10-18 16:48:16 +01:00
  • 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 +01:00
  • 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 +01:00
  • b65ee4c21d [TOOLS][CS-FIXER] Fix incorrect transformation Hugo Sales 2021-10-10 09:35:36 +01:00
  • 9109c61af5 [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types Hugo Sales 2021-10-10 09:26:18 +01:00
  • 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 +01:00
  • 703e66fd2e [TOOLS] Update PHP CS fixer and adjust configuration Hugo Sales 2021-10-10 08:40:06 +01:00
  • 7aad58b440 [DEPENDENCIES] Update composer dependencies Hugo Sales 2021-10-10 06:02:12 +01:00
  • ce0cfa7a63 [COMPONENT][Search] Update Search to be able to search for either notes or actors Hugo Sales 2021-10-10 05:44:10 +01:00
  • 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 +01:00
  • 99ab24ec23 [CORE][Controller] Allow routes without text/html response Improve GET getters Diogo Peralta Cordeiro 2021-10-18 13:17:08 +01:00
  • 03f6029ce5 [SECURITY] Fix nickname validation and properly allow email auth Diogo Peralta Cordeiro 2021-10-10 17:41:30 +01:00
  • 071b769997 [CORE][Util][Common] Correct behaviour for absense of value Diogo Peralta Cordeiro 2021-10-18 12:29:52 +01:00
  • 517ed953f2 [FreeNetwork] First step towards de-duplication mechanism for federation Refactored AS2 inside AP; [ENTITY][Activity] went from core to AP Webfinger plugin will be part of FreeNetwork component Diogo Peralta Cordeiro 2021-10-04 17:00:58 +01:00
  • bd5c426046 [TWIG] Removing unnecessary CSS classes. Removing network/feed CSS preloading. eli 2021-10-06 00:45:37 +01:00