Eliseu Amaro
337fe272a3
[CSS] Re-arranged CSS rules, overall refactor to minimize duplications.
2021-11-15 19:25:51 +00:00
Eliseu Amaro
a23f7d5aa3
[CSS] Removed 'colors.css', colors are declared within their respective classes/ids instead.
2021-11-15 19:25:51 +00:00
Hugo Sales
d5e6fd603d
[CONTROLLER][UserPanel] Fix 'could not convert IntergetType to string' error
2021-11-15 19:25:51 +00:00
Hugo Sales
1abd28c949
[UI][TWIG][CONTROLLER][UserPanell] Add way to expand details with a GET parameter. Implement it in UserPanel
2021-11-15 19:25:51 +00:00
Hugo Sales
c509692102
[ENTITY][AttachmentThumbnail] Uncache when deleting, cleanup code and ensure the biggest thumbnail is used when the original is not avaliable
2021-11-15 19:25:51 +00:00
Hugo Sales
a3074662b8
[TESTS] Remove 'reply_to' in note creation in data fixtures
2021-11-15 19:25:51 +00:00
Hugo Sales
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
2021-11-15 19:25:50 +00:00
Hugo Sales
bf5ffe7d3d
[CACHE][TEST] Fix errors in cache implementation found by tests
2021-11-15 19:25:44 +00:00
Hugo Sales
98352cfece
[TESTS] Properly provide both createClient and bootKernel in test base class
2021-11-11 12:39:36 +00:00
Hugo Sales
2239845a00
[CONTROLLER][Security] Remove nickname normalization when trying to login
2021-11-11 12:39:36 +00:00
Hugo Sales
a1c78696f7
[CORE][Actor][Posting] Fixup Actor::getPreferredLanguageChoices following changes in how the data is cached
2021-11-11 12:39:36 +00:00
Hugo Sales
316723075b
[TESTS] Reload the initial table values after loading the data fixtures (as this purges the DB)
2021-11-11 12:39:36 +00:00
Hugo Sales
f39f800a8e
[TESTS] Add now-required content-type to notes created in data fixtures
2021-11-11 12:39:35 +00:00
Hugo Sales
f667b558f7
[TESTS] Fix SecurityTest
...
This test was broken by changes in the routing and in the templates.
However, this revealead a potential open redirect and duplicated code
in the Reply and Favourite plugins
2021-11-11 12:39:28 +00:00
Hugo Sales
dea9aa4dcf
[CORE][Router] Remove duplicate service for URL generation, as that is actually the same object
2021-11-11 12:38:09 +00:00
Hugo Sales
420ebcda26
[TESTS] Run tests without runuser as it's generating very weird permission errors. This is temporary (TM)
2021-11-11 12:38:09 +00:00
Eliseu Amaro
d0f9fde7c2
[PLUGIN][Reply] WIP. Note complementary info now shows who has replied on the original note!
2021-11-10 15:44:28 +00:00
Eliseu Amaro
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.
2021-11-10 13:29:53 +00:00
Hugo Sales
7d8819a3da
[DB][CONTROLLER][Network][ENTITY][Note] Fix Note::getAllNotes
2021-11-09 23:38:37 +00:00
Hugo Sales
c3705112ba
[DEPENDENCIES] Update dependencies
2021-11-09 23:38:37 +00:00
Hugo Sales
98b1b7072c
[TOOLS] Fix running tests without filters
2021-11-09 23:38:37 +00:00
Hugo Sales
f0c532340e
[DB] Fix uses of DB::sql
, to remove the deprecated second entities
parameter
2021-11-08 20:35:38 +00:00
Hugo Sales
767b2035e7
[ENTITY][ActorLanguage] Remove duplicate specification of 'not null' in table schema
2021-11-08 20:32:10 +00:00
Hugo Sales
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
2021-11-08 20:32:10 +00:00
Diogo Peralta Cordeiro
f98afd15ce
[ENTITY] Refactor Follow as Subscription
2021-11-08 16:14:23 +00:00
Hugo Sales
68c6dd1ba9
[CORE][Cache] Use hashmaps to store language related items
2021-11-08 16:08:04 +00:00
Hugo Sales
2eb31952bc
[ENTITY][Language] Use varchar as char leads to a padded string, which isn't helpful
2021-11-08 16:08:03 +00:00
Hugo Sales
2cf3a0b4e6
[COMPONENT][Posting] Display short language signifier rather than the full name for the first preffered language
2021-11-08 16:08:03 +00:00
Hugo Sales
705bf815ab
[CACHE] Add partial implmentation for caching hashmaps (non-list arrays, i.e. array<string,string>). No non-redis-fallback yet
2021-11-08 16:08:03 +00:00
Hugo Sales
cd470cbf93
[CORE] Fix loading of settings from modules
2021-11-08 16:08:03 +00:00
Hugo Sales
019ad794d1
[Posting] Add dropdown with language choice, with preferred choice according to user choice and context (group, etc)
2021-11-08 16:08:02 +00:00
Hugo Sales
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
2021-11-08 16:08:02 +00:00
Hugo Sales
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
2021-11-08 16:08:02 +00:00
Hugo Sales
1960f6944f
[CORE][DB] Fix error in regex that prevented selecting collumns that are named the same way a column is
2021-11-02 11:14:59 +00:00
Hugo Sales
839fa070c7
[CORE][Posting] Default Posting language to site language, if the user hasn't selected one
2021-11-02 11:14:59 +00:00
Diogo Peralta Cordeiro
d9265c5402
[TEMPLATES][Profile] Use URI instead of URL
2021-11-02 08:34:44 +00:00
Eliseu Amaro
c4088e221f
[CSS] Very important colour change.
2021-11-01 22:09:10 +00:00
Eliseu Amaro
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.
2021-11-01 21:19:56 +00:00
Hugo Sales
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
)
2021-11-01 12:16:50 +00:00
Diogo Peralta Cordeiro
c862c9bf18
[ActivityPub] Make remote mentions great again
2021-11-01 12:16:46 +00:00
Diogo Peralta Cordeiro
712d1739e4
[UTIL][Formatting] Make local mentions great again
2021-11-01 12:16:29 +00:00
Eliseu Amaro
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.
2021-10-29 22:05:10 +01:00
Eliseu Amaro
ac8513741d
[CSS] New themes! No images used anymore.
2021-10-29 22:01:28 +01:00
Eliseu Amaro
eb5bc36390
[CSS] Fixed widgets from overflowing.
2021-10-29 18:14:39 +01:00
Eliseu Amaro
7fef18e95a
[COMPONENTS][Posting] LocaleType::class doesn't have a default attribute, replaced with 'preferred_choices' instead.
2021-10-29 17:46:25 +01:00
Eliseu Amaro
9a23e03330
[PLUGINS][Repeat] Repeat template override WIP.
2021-10-29 17:26:20 +01:00
Hugo Sales
0f358a9c5d
[CORE][Posting] Add language choice field to the note posting block
2021-10-28 17:37:00 +01:00
Hugo Sales
44454ac28a
[UTIL][TemporaryFile] Ensure resource
is neither false
nor null
when attempting to cleanup, otherwise getRealPath
returns false
and we get sad
2021-10-28 17:36:02 +01:00
Hugo Sales
458c09485a
[CORE][ENTITY] Move preferred language setting from [LocalUser] to [Actor], make [Language] language
unique and make [Note] content_type
not null
2021-10-28 17:34:01 +01:00
Hugo Sales
e6c5312025
[CORE][GSFile] Add check_is_supported_mimetype
option to GSFile::storeFileAsAttachment
2021-10-28 17:29:57 +01:00