Commit Graph

85 Commits

Author SHA1 Message Date
ErickSkrauch
5ed6f0ce86
Move OAuth module from API to common and solve PHPStan's errors 2024-12-06 01:34:09 +01:00
ErickSkrauch
2442329895
Fixes ACCOUNTS-BH. Fix port param type 2024-12-02 14:23:43 +01:00
ErickSkrauch
2d649afd4f
Fixes ACCOUNTS-BF. Fix smtp transport configuration 2024-12-02 13:59:36 +01:00
Octol1ttle
57d492da8a
Upgrade project to PHP 8.3, add PHPStan, upgrade almost every dependency (#36)
* start updating to PHP 8.3

* taking off!

Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* dropped this

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* migrate to symfonymailer

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* this is so stupid 😭

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* ah, free, at last.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* oh, Gabriel.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* now dawns thy reckoning.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* and thy gore shall GLISTEN before the temples of man.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* creature of steel.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* my gratitude upon thee for my freedom.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* but the crimes thy kind has committed against humanity

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* Upgrade PHP-CS-Fixer and do fix the codebase

* First review round (maybe I have broken something)

* are NOT forgotten.

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>

* Enable parallel PHP-CS-Fixer runner

* PHPStan level 1

* PHPStan level 2

* PHPStan level 3

* PHPStan level 4

* PHPStan level 5

* Levels 6 and 7 takes too much effort. Generate a baseline and fix them eventually

* Resolve TODO's related to the php-mock

* Drastically reduce baseline size with the Rector

* More code modernization with help of the Rector

* Update GitLab CI

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
Co-authored-by: ErickSkrauch <erickskrauch@yandex.ru>
2024-12-02 11:10:55 +01:00
ErickSkrauch
e738bce717
Send Sentry error synchronously 2023-10-15 06:17:20 +02:00
ErickSkrauch
daebb66266 Fix di service configuration 2021-03-04 07:58:44 +01:00
ErickSkrauch
bd168808b2 Make Chrly's domain configurable 2021-03-04 05:58:07 +01:00
ErickSkrauch
4856695940 Resolves #2. Implemented authlib-injector support 2021-03-03 15:04:42 +01:00
ErickSkrauch
053e591c3b Implemented deploy stage, allow to manually specify the environment for the Sentry 2020-06-11 01:33:06 +03:00
ErickSkrauch
3e1fb19cf3 Update smtp mail transport configuration 2019-12-29 17:59:58 +03:00
ErickSkrauch
7607248c27 Remove usage of codeception/specify and fzaninotto/faker 2019-12-29 17:55:21 +03:00
ErickSkrauch
a9a56c9e1d Extract encryption key into the configuration param 2019-12-04 13:24:30 +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
1bf249030f Removed ely/email-renderer package and implemented new emails renderer client [skip ci] 2019-06-07 02:16:13 +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
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
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
02ea7346a8 Implemented PHP-CS-Fixer support 2018-04-17 23:47:25 +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
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
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
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
88175fea48 Отправка всех email вынесена в очередь 2017-11-28 14:33:48 +03:00
ErickSkrauch
42b6bc561e Добавлен Yii2 компонент для отправки событий в statsd 2017-11-22 22:47:34 +03:00
ErickSkrauch
d175dcdaed Добавлено небуферизируемое подключение к базе данных для решения проблемы с each и batch запросами 2017-11-15 00:03:38 +03:00
ErickSkrauch
4bebf6c581 1.1.22-dev [skip ci] 2017-11-03 16:16:07 +03:00
ErickSkrauch
e064c353d7 1.1.21 [skip ci] 2017-11-03 16:15:20 +03:00
ErickSkrauch
9bdc9173c2 1.1.21-dev [skip ci] 2017-10-20 15:21:37 +03:00
ErickSkrauch
9d8b695fff 1.1.20 [skip ci] 2017-10-20 15:20:02 +03:00
ErickSkrauch
da87d4bc86 1.1.20-dev [skip ci] 2017-10-18 19:13:30 +03:00
ErickSkrauch
ba394942de 1.1.19 [skip ci] 2017-10-18 19:12:13 +03:00
ErickSkrauch
19175d1724 1.1.19-dev [skip ci] 2017-10-05 20:05:28 +03:00
ErickSkrauch
f0cf4c0b8c 1.1.18 [skip ci] 2017-10-05 20:04:21 +03:00
ErickSkrauch
dd2c4bc413 Объединены сущности для авторизации посредством JWT токенов и токенов, выданных через oAuth2.
Все действия, связанные с аккаунтами, теперь вызываются через url `/api/v1/accounts/<id>/<action>`.
Добавлена вменяемая система разграничения прав на основе RBAC.
Теперь oAuth2 токены генерируются как случайная строка в 40 символов длинной, а не UUID.
Исправлен баг с неправильным временем жизни токена в ответе успешного запроса аутентификации.
Теперь все unit тесты можно успешно прогнать без наличия интернета.
2017-09-19 20:06:17 +03:00
ErickSkrauch
cb068b9dc0 Все реализации Grant'ов для oAuth перенесены в проект. Форк league/oauth2-client больше не используется 2017-09-07 22:51:07 +03:00
ErickSkrauch
a00d61e5e1 1.1.18-dev [skip ci] 2017-08-09 01:15:03 +03:00
ErickSkrauch
4536129dfd 1.1.17 [skip ci] 2017-08-09 01:13:18 +03:00
ErickSkrauch
86268b97ec 1.1.17-dev [skip ci] 2017-07-31 23:30:55 +03:00
ErickSkrauch
688dc8ee6e 1.1.16 [skip ci] 2017-07-31 23:28:29 +03:00
ErickSkrauch
93edc92bf7 1.1.16-dev [skip-ci] 2017-07-13 14:03:29 +03:00
ErickSkrauch
69bb3a7303 1.1.15 [skip-ci] 2017-07-13 14:02:05 +03:00
ErickSkrauch
8fc0023564 1.1.15 [skip ci] 2017-06-11 22:10:46 +03:00
ErickSkrauch
21adb7a6e8 1.1.14 [skip ci] 2017-06-11 22:09:48 +03:00