a23f7d5aa3
[CSS] Removed 'colors.css', colors are declared within their respective classes/ids instead.Eliseu Amaro2021-11-15 13:55:23 +00:00
d5e6fd603d
[CONTROLLER][UserPanel] Fix 'could not convert IntergetType to string' errorHugo Sales2021-11-15 13:37:29 +00:00
1abd28c949
[UI][TWIG][CONTROLLER][UserPanell] Add way to expand details with a GET parameter. Implement it in UserPanelHugo Sales2021-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 avaliableHugo Sales2021-11-14 23:20:59 +00:00
a3074662b8
[TESTS] Remove 'reply_to' in note creation in data fixturesHugo Sales2021-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 domainsHugo Sales2021-11-14 23:15:24 +00:00
bf5ffe7d3d
[CACHE][TEST] Fix errors in cache implementation found by testsHugo Sales2021-10-28 18:05:28 +01:00
98352cfece
[TESTS] Properly provide both createClient and bootKernel in test base classHugo Sales2021-11-11 12:31:54 +00:00
2239845a00
[CONTROLLER][Security] Remove nickname normalization when trying to loginHugo Sales2021-11-11 12:30:42 +00:00
a1c78696f7
[CORE][Actor][Posting] Fixup Actor::getPreferredLanguageChoices following changes in how the data is cachedHugo Sales2021-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 Sales2021-11-11 12:28:03 +00:00
f39f800a8e
[TESTS] Add now-required content-type to notes created in data fixturesHugo Sales2021-11-11 12:27:10 +00:00
dea9aa4dcf
[CORE][Router] Remove duplicate service for URL generation, as that is actually the same objectHugo Sales2021-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 Sales2021-11-10 13:55:42 +00:00
d0f9fde7c2
[PLUGIN][Reply] WIP. Note complementary info now shows who has replied on the original note!Eliseu Amaro2021-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 Amaro2021-11-07 01:32:06 +00:00
98b1b7072c
[TOOLS] Fix running tests without filtersHugo Sales2021-11-08 21:49:12 +00:00
f0c532340e
[DB] Fix uses of DB::sql, to remove the deprecated second entities parameterHugo Sales2021-11-08 20:21:41 +00:00
767b2035e7
[ENTITY][ActorLanguage] Remove duplicate specification of 'not null' in table schemaHugo Sales2021-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 insteadHugo Sales2021-11-08 20:15:45 +00:00
68c6dd1ba9
[CORE][Cache] Use hashmaps to store language related itemsHugo Sales2021-11-08 15:07:29 +00:00
2eb31952bc
[ENTITY][Language] Use varchar as char leads to a padded string, which isn't helpfulHugo Sales2021-11-08 15:06:47 +00:00
2cf3a0b4e6
[COMPONENT][Posting] Display short language signifier rather than the full name for the first preffered languageHugo Sales2021-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 yetHugo Sales2021-11-08 15:05:12 +00:00
cd470cbf93
[CORE] Fix loading of settings from modulesHugo Sales2021-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 Sales2021-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::orderHugo Sales2021-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 databaseHugo Sales2021-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 isHugo Sales2021-11-01 21:04:49 +00:00
839fa070c7
[CORE][Posting] Default Posting language to site language, if the user hasn't selected oneHugo Sales2021-11-01 19:43:23 +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 Amaro2021-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 Sales2021-10-28 17:24:43 +01: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 Amaro2021-10-29 22:05:10 +01:00
7fef18e95a
[COMPONENTS][Posting] LocaleType::class doesn't have a default attribute, replaced with 'preferred_choices' instead.Eliseu Amaro2021-10-29 17:46:25 +01:00
0f358a9c5d
[CORE][Posting] Add language choice field to the note posting blockHugo Sales2021-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 sadHugo Sales2021-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 nullHugo Sales2021-10-28 17:34:01 +01:00
e6c5312025
[CORE][GSFile] Add check_is_supported_mimetype option to GSFile::storeFileAsAttachmentHugo Sales2021-10-28 17:29:57 +01:00
4d9a5aae5a
[ActivityPub] Always explicitly compare the results of Event::handle to the constants next or stopHugo Sales2021-10-28 17:28:02 +01:00
86ac5c52a1
[TESTS] Add to the supported configuration list, the mimetypes of all sample-upload filesHugo Sales2021-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 Sales2021-10-28 17:24:43 +01:00
c352e40518
[CORE][Controller] Allow plugins to override the Twig templatesHugo Sales2021-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 Sales2021-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 Amaro2021-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 Amaro2021-10-26 17:29:14 +01:00
e54e55dfbf
[EXCEPTION][RedirectException] You are now able to redirect to a specific url.Eliseu Amaro2021-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 Amaro2021-10-26 14:47:28 +01:00
45f65baf96
[PLUGINS][Embed] Polished embed template in order to better utilize space. [CSS][Feed] Embed related additions.Eliseu Amaro2021-10-24 22:45:38 +01:00
0407ac38cf
[AudioEncoder] Introduce basic audio plugin to provide an attachment template and duration metadata for audio mimetypeDiogo Peralta Cordeiro2021-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 characterHugo Sales2021-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 Amaro2021-10-24 15:12:18 +01:00
bccafd0d7b
[CORE][GSFile] Respect mimetype whitelist and extensions blacklist before saving filesDiogo Peralta Cordeiro2021-10-24 15:16:37 +01:00
b7d9da8ae6
[Posting] Add Content Length constraint to form validationEliseu Amaro2021-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 Amaro2021-10-21 14:54:32 +01:00
656c2c7812
[SECURITY][Authenticator] fix wrong route id on after login redirectionEliseu Amaro2021-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 Amaro2021-10-21 20:14:22 +01:00
a6d5752748
[TOOLS][PHPStan] Make a standalone phpstan executable, which executes inside the docker containerHugo Sales2021-10-21 15:11:00 +01:00
299e893ca9
[TOOLS][PHPStan][DocCheck] Fix errors found by PHPStan and Doc CheckHugo Sales2021-10-21 14:45:18 +01:00
769b901060
[TOOLS] Add doc-check target to MakefileHugo Sales2021-10-21 14:44:21 +01:00
dff5647b97
[DB][Note] Add langauge field to notesHugo Sales2021-10-21 13:49:41 +01:00
8a10fec31d
[CONTROLLER][UserPanel] Make all fields in settings not requiredHugo Sales2021-10-21 13:44:30 +01:00
2694d83ae4
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_typesHugo Sales2021-10-10 09:26:18 +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.eli2021-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.eli2021-10-19 20:33:01 +01:00
8544fe157b
[FreeNetwork] First steps porting webfinger/lrdd to v3, GET webfinger requests already have a basic resultDiogo Peralta Cordeiro2021-10-18 13:22:02 +01:00
5eefea7a29
[TOOLS] Update Makefile to support both the new and old container naming conventions, as of docker-compose v2Hugo Sales2021-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 updateHugo Sales2021-10-10 09:51:21 +01:00
9109c61af5
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_typesHugo Sales2021-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 Sales2021-10-10 09:23:51 +01:00
ce0cfa7a63
[COMPONENT][Search] Update Search to be able to search for either notes or actorsHugo Sales2021-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}WithHugo Sales2021-10-10 05:43:07 +01:00
99ab24ec23
[CORE][Controller] Allow routes without text/html response Improve GET gettersDiogo Peralta Cordeiro2021-10-18 13:17:08 +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 componentDiogo Peralta Cordeiro2021-10-04 17:00:58 +01:00