Go to file
Hugo Sales fa0d02a9ac
[PLUGIN][OAuth2] Start adding OAuth2 support with client registration
This hardcodes the user, and has some other issues, so it is not yet
complete.

We follow mastodon's spec for automatic client registration, available
at both `/api/v1/apps` and a more reasonable `/oauth/client`. This
accepts a JSON POST with the client info and returns JSON with a
`client_id` and a `client_secret`, to be used with `/oauth/authorize`
and `/oauth/token`. It also, seemingly, requires returning an `id`
with unclear purpose.

The `/oauth/token` endpoint doesn't currently return a `me` field.
2022-01-25 13:35:44 +00:00
bin [TOOLS] Update autocode, allow for abstract entity classes, derive namespace from file rather than using 'get_declared_classes' 2022-01-25 13:35:44 +00:00
components [TWIG] Various fixes related to header elements hierarchy 2022-01-23 19:46:47 +00:00
config [PLUGIN][OAuth2] Start adding OAuth2 support with client registration 2022-01-25 13:35:44 +00:00
docker [TOOLS][AYY1] Improve accesibility testing to save images and compare the differences against a reference (tests/screenshots/ 2022-01-21 21:03:09 +00:00
docs [CSS] .section-widget class and derivatives replaced as .frame-section, since a widget implies a simple element with a specific function 2022-01-21 22:05:33 +00:00
DOCUMENTATION [UI][CONTROLLER][ENTITY][DOCS] Refactor term 'timeline' into 'feed' 2021-11-26 13:05:23 +00:00
extlib [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types 2021-10-27 04:19:28 +01:00
plugins [PLUGIN][OAuth2] Start adding OAuth2 support with client registration 2022-01-25 13:35:44 +00:00
public [CSS] .note-info text will automatically crop when no space is available, on hover will show contents 2022-01-25 00:02:38 +00:00
scripts [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types 2021-10-27 04:19:28 +01:00
src [CORE][I18n] Fixing 'file_get_contents(): Argument #1 () must be of type string, Symfony\Component\Finder\SplFileInfo given' error by using Symfony's Finder to iterate through existing files 2022-01-23 19:07:39 +00:00
templates [CSS] .note-info text will automatically crop when no space is available, on hover will show contents 2022-01-25 00:02:38 +00:00
tests [TOOLS][AYY1] Improve accesibility testing to save images and compare the differences against a reference (tests/screenshots/ 2022-01-21 21:03:09 +00:00
translations [I18N] Remove incomplete autogenerated translation file, to be fixed later 2021-09-14 13:05:42 +01:00
.dir-locals.el [TOOLS][PHPStan] Make a standalone phpstan executable, which executes inside the docker container 2021-10-27 04:19:31 +01:00
.env [QUEUE] Add queueing wrapper, default configuration and example usage 2021-09-14 13:05:33 +01:00
.env.test [TOOLS][TESTS] Adjust configuration for testing environment 2021-09-14 13:12:59 +01:00
.gitignore [TOOLS] Update PHP CS fixer and adjust configuration 2021-10-27 04:19:27 +01:00
.php-cs-fixer.php [TOOLS][CS-FIXER] Fix incorrect transformation 2021-10-27 04:19:28 +01:00
codeception.yml [DEPENDENCIES][TOOL] Add codeception and bootstrap it for acceptance and accessibility testing 2022-01-09 14:42:16 +00:00
composer.json [DEPENDENCIES] Add symfony/psr-http-message-bridge 2022-01-21 22:05:34 +00:00
composer.lock [PLUGIN][OAuth2] Start adding OAuth2 support with client registration 2022-01-25 13:35:44 +00:00
CREDITS.md [DOCUMENTATION] Document All The Things! 2021-09-14 13:04:33 +01:00
docker-compose.yaml.default [DOCKER] Update configuration script to include the worker container 2021-12-20 20:39:54 +00:00
INSTALL.md [DOCUMENTATION] Add documentation on installing with Docker 2021-09-14 13:10:21 +01:00
Makefile [TOOLS][AYY1] Improve accesibility testing to save images and compare the differences against a reference (tests/screenshots/ 2022-01-21 21:03:09 +00:00
phpstan.neon [TOOLS][PHPStan] Ignore errors due to lack of namespace in CodeCeption acceptance tester 2022-01-21 21:03:06 +00:00
phpunit.xml.dist [TOOLS] Exclude src/PHPStan from test coverage 2021-11-25 20:37:53 +00:00
social.yaml [PLUGIN][OAuth2] Start adding OAuth2 support with client registration 2022-01-25 13:35:44 +00:00
symfony.lock [PLUGIN][OAuth2] Start adding OAuth2 support with client registration 2022-01-25 13:35:44 +00:00