Commit Graph

206 Commits

Author SHA1 Message Date
ErickSkrauch
45101d6453 Completely restored authorization_code grant for user side.
Reworked oauth_sessions table.
Added extension to use MariaDB's JSON columns.
Rewritten tests for authorization_code grant for client side.
Deprecate some old shit.
[skip ci]
2019-09-18 02:15:12 +03:00
ErickSkrauch
0b63dc2d84 Upgrade oauth2-server to 8.0.0 version, rewrite repositories and entities, start rewriting tests. Intermediate commit [skip ci] 2019-08-23 11:28:04 +03:00
ErickSkrauch
89f7195a37 Fix index usage for OauthSessions relation from Account model 2019-08-08 02:47:36 +03:00
ErickSkrauch
d9f2b1a8c9 Upgrade PHPUnit to 8. Replace codeception/base with codeception/codeception due to release bug in the base version. 2019-08-02 15:57:17 +03:00
ErickSkrauch
7b11366a5a Fix rbac generator 2019-08-02 03:36:24 +03:00
ErickSkrauch
f2ab7346aa Fixed almost everything, but all functional tests are broken at the last minute :( 2019-08-02 03:29:20 +03:00
ErickSkrauch
6bd054e743 Fix some tests 2019-08-01 19:58:18 +03:00
ErickSkrauch
45c2ed601d Replace emarref/jwt with lcobucci/jwt
Refactor all JWT-related components
Replace RS256 with ES256 as a preferred JWT algorithm
2019-08-01 12:17:12 +03:00
valik
445c234360 Added jwt public and private key path params to user component 2019-07-26 11:11:09 +03:00
valik
3f9ee42539 Implemented Rs256 jwt encryption algorithm 2019-07-25 16:29:08 +03:00
ErickSkrauch
3dbf29d34c Translate all code comments from Russian to English [skip ci] 2019-07-15 01:59:56 +03:00
ErickSkrauch
31069562b3 Update Yii2 framework to the latest version 2019-06-18 02:37:04 +03:00
ErickSkrauch
d5cb0f304c Add tests for emails renderer api client and Yii2 wrapper component 2019-06-18 01:19:07 +03:00
ErickSkrauch
70d1999d55 Refactor emails models objects, rework related tests 2019-06-16 23:59:19 +03:00
ErickSkrauch
1bf249030f Removed ely/email-renderer package and implemented new emails renderer client [skip ci] 2019-06-07 02:16:13 +03:00
ErickSkrauch
75fdd5d1ba Upgrade Codeception to 3 version. Remove codeception/verify. 2019-05-14 02:12:49 +03:00
ErickSkrauch
73988855c4 Fixes ACCOUNTS-5G9. Manually cast Guzzle response to string 2019-05-13 21:00:17 +03:00
ErickSkrauch
a9453aae67 Fixes ACCOUNTS-5GP. Use container rather then components map to obtain Mojang's API 2019-05-13 20:50:15 +03:00
ErickSkrauch
194a7acd2a Fixes ACCOUNTS-5FF. Handle 204 response from Chrly. 2019-05-13 19:39:11 +03:00
Arslan
85d4d465fb Implemented "ely/mojang-api" 2019-05-09 04:23:49 +03:00
ErickSkrauch
e13b6f0d94 Upgrade PHP to 7.3 and fix some related code errors. Disable self_accessor fixer for PHP-CS-Fixer 2019-04-06 04:15:23 +02:00
ErickSkrauch
b20825a051 Update ely/php-code-style and run updated CS fixer 2019-02-26 02:26:02 +03:00
ErickSkrauch
1cafa36b98 Fix codestyle 2019-02-23 02:27:38 +03:00
ErickSkrauch
b05dc6816e Rework tests structure. Upgrade codeception to 2.5.3. Merge params configuration into app configuration. 2019-02-20 22:58:52 +03:00
ErickSkrauch
a0d88e8a8f Allow any valid locale for account lang 2018-07-08 22:21:33 +03:00
ErickSkrauch
7f42aadfcf Fix code style 2018-07-08 18:55:53 +03:00
ErickSkrauch
c0aa78d156 Implemented WebHooks delivery queue.
Completely removed usage of the RabbitMQ. Queue now based on Redis channels.
Worker process now extracted as separate docker container.
Base image upgraded to the 1.8.0 version (PHP 7.2.7 and pcntl extension).
2018-07-08 18:20:19 +03:00
ErickSkrauch
6751eb6591 Implemented webhooks database structure and console command register webhooks 2018-07-07 15:01:18 +03:00
ErickSkrauch
03bd5ec144 #398: implement idna domain conversion for emails 2018-04-21 16:07:09 +03:00
ErickSkrauch
02ea7346a8 Implemented PHP-CS-Fixer support 2018-04-17 23:47:25 +03:00
ErickSkrauch
4ee8544355 Fix 403 error on not exists application.
Remove countUsers from minecraft server application type.
2018-03-25 22:21:22 +03:00
ErickSkrauch
b743cc69aa Remove version definition from the application and pass it on build time 2018-03-17 19:14:02 +03:00
ErickSkrauch
a2c73e1d17 Upgrade php to 7.2. Fix Yii2 Object usages. 2018-03-15 00:11:42 +03:00
ErickSkrauch
673429e577 Implementation of the backend for the OAuth2 clients management 2018-02-28 01:27:35 +03:00
ErickSkrauch
b9db22e8bf 1.1.25-dev [skip ci] 2018-01-28 13:43:25 +03:00
ErickSkrauch
2f4b8b6249 1.1.24 [skip ci] 2018-01-28 13:41:49 +03:00
ErickSkrauch
01850bb2d6 Fixes ACCOUNTS-34Y
После перехода на utf8mb4_unicode_ci забыли обновить кодировку
подключения к БД
2018-01-12 13:50:19 +03:00
ErickSkrauch
3f5b34fc1f Учитываем вероятность получения null-евого значения в нашу реализацию trim 2018-01-09 01:23:11 +03:00
ErickSkrauch
fb5baa1866 Добавлена кастомная trim функция для обрезания всех UTF-8 пробелов 2018-01-07 19:08:40 +03:00
ErickSkrauch
27983ef730 1.1.24-dev [skip ci] 2018-01-04 02:10:16 +03:00
ErickSkrauch
74224bd27b 1.1.23 [skip ci] 2018-01-04 02:08:37 +03:00
ErickSkrauch
c6d18f49e7 Улучшено логгирование метрик в statsd 2018-01-02 20:45:04 +03:00
ErickSkrauch
fc05257535 1.1.23-dev [skip ci] 2018-01-01 23:38:00 +03:00
ErickSkrauch
f328cb47e1 1.1.22 [skip ci] 2018-01-01 23:32:07 +03:00
ErickSkrauch
33091aaefa Переход на yii2-queue с amqp-interop реализацией для RabbitMQ 2018-01-01 16:53:53 +03:00
ErickSkrauch
3138a74a7f Исправлен NPE в AccountOwner 2017-12-23 01:10:54 +03:00
ErickSkrauch
ee68e373f4 Пересмотрены висящие TODO 2017-12-02 22:15:00 +03:00
ErickSkrauch
b8049e8899 Обновлены тесты для всех форм, что отправляли письма 2017-11-28 14:40:24 +03:00
ErickSkrauch
88175fea48 Отправка всех email вынесена в очередь 2017-11-28 14:33:48 +03:00
ErickSkrauch
42b6bc561e Добавлен Yii2 компонент для отправки событий в statsd 2017-11-22 22:47:34 +03:00