Diogo Peralta Cordeiro
|
5ac764f3e5
move to plugin
|
3 years ago |
Diogo Peralta Cordeiro
|
4ad1de2616
some logic
|
3 years ago |
Diogo Peralta Cordeiro
|
7959ea497b
[PLUGIN][OAuth2] Add OAuth2 support
|
3 years ago |
Hugo Sales
|
da6d3bd351
[COMPONENT][Collection] Use current locale
|
3 years ago |
Diogo Peralta Cordeiro
|
0d1ab2c9cf
[SECURITY][Register] New users should have their current browser language set as first language preference
|
3 years ago |
Diogo Peralta Cordeiro
|
5a0bbfc795
[UTIL][Common][I18N] Use actor's preferred language for _m and utility to retrieve current language even when no actor is logged in
|
3 years ago |
Hugo Sales
|
b1262919da
[TOOLS] Fix (most) issues found by PHPStan
|
3 years ago |
Hugo Sales
|
b4ce77320e
[TESTS] Fix remaining tests, back to 100% passed. Some minor semantic changes
|
3 years ago |
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
|
3 years ago |
Hugo Sales
|
839fa070c7
[CORE][Posting] Default Posting language to site language, if the user hasn't selected one
|
3 years ago |
Diogo Peralta Cordeiro
|
712d1739e4
[UTIL][Formatting] Make local mentions great again
|
3 years ago |
Eliseu Amaro
|
8038fdbce9
[UTIL][Common] Added Common::getUploadLimit().
|
3 years ago |
Hugo Sales
|
9109c61af5
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types
|
3 years ago |
Diogo Peralta Cordeiro
|
071b769997
[CORE][Util][Common] Correct behaviour for absense of value
|
3 years ago |
Diogo Peralta Cordeiro
|
67d62cf37b
[TWIG] Remove kludge event TwigPopulateVars
|
3 years ago |
Diogo Peralta Cordeiro
|
941cbe6599
[Actor] Refactor GSActor into Actor
|
3 years ago |
Hugo Sales
|
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
|
3 years ago |
Hugo Sales
|
b74d944ae3
[TOOLS][PHPStan] Raise PHPStan level to 3 and fix new errors
|
3 years ago |
Hugo Sales
|
cbbef90752
[UTIL][CONFIG] Ensure `setConfig` uses a `locals` key
|
3 years ago |
Hugo Sales
|
141f919ca7
[CONFIG][TESTS] Fix error found by AdminPanel test
|
3 years ago |
Hugo Sales
|
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
|
3 years ago |
Diogo Peralta Cordeiro
|
63cbf4052f
[UTIL] Common::config wasn't a proper port from v2, it has to accept one argument only as well
|
3 years ago |
Hugo Sales
|
687b2e2bc7
[UTIL] Add utility to flatten the result of note queries
|
3 years ago |
Hugo Sales
|
86400ce815
[UTIL] Provide static access to current request and utilities in Common
|
3 years ago |
Hugo Sales
|
abda73b8e3
[TESTS] Raise App\Util\Common test coverage to 100%
|
3 years ago |
Hugo Sales
|
60a9085e56
[FORMATTING] Add utilities to remove affixes from strings
|
3 years ago |
Hugo Sales
|
94edad43d9
[UTIL] Add method to validate url
|
3 years ago |
Diogo Peralta Cordeiro
|
0eaccc32fe
[ATTACHMENTS] Further refactoring
|
3 years ago |
Hugo Sales
|
e2e561e663
[DB][FKEY] Temporarily disable foreign key mapping, as there seems to be a bug in doctrine, which is under investigation
|
3 years ago |
Hugo Sales
|
78548365da
[WEB] Fix translations and small inconsistency when opening on web
|
3 years ago |