ErickSkrauch
17f1794a4e
Covered all cases, fixed CS, added a new TODO
2020-06-13 01:55:02 +03:00
ErickSkrauch
0183e54442
Implemented account deletion. Not all cases covered with tests [skip ci]
2020-06-12 00:27:02 +03:00
ErickSkrauch
053e591c3b
Implemented deploy stage, allow to manually specify the environment for the Sentry
2020-06-11 01:33:06 +03:00
ErickSkrauch
c18052c323
Upgrade dependencies
2020-06-10 17:38:05 +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
43a4a58053
Remove usage of codeception/specify and fzaninotto/faker
2019-12-21 02:26:06 +03:00
ErickSkrauch
666213afc7
Rework email_activation model, get rid of behaviors, use json column to store additional data
2019-12-21 01:23:58 +03:00
ErickSkrauch
b9b62ead12
Fixes ACCOUNTS-5Z8. Use correct relation column for OauthSession
2019-12-15 18:27:31 +03:00
ErickSkrauch
3b00e36816
Fixes ACCOUNTS-5Y5. Also idna escape login part of the email.
2019-12-15 18:13:47 +03:00
ErickSkrauch
e8b71d33d0
Get rid of mockery library. Still have some troubles with functional tests for api
2019-12-14 00:16:05 +03:00
ErickSkrauch
d9ef27b745
Cleanup code, improve typings
2019-12-13 22:27:13 +03:00
ErickSkrauch
830a17612b
Get rid of ThisShouldNotHappenException
2019-12-13 20:48:13 +03:00
ErickSkrauch
26f7d6213f
Update dependencies
2019-12-13 20:37:37 +03:00
ErickSkrauch
9da58beccf
Add deprecation notices
2019-12-11 14:24:31 +03:00
ErickSkrauch
d27070630c
Fix revokation validation. Add additional tests cases
2019-12-10 22:51:11 +03:00
ErickSkrauch
016a193263
Introduce revokation mechanism
2019-12-10 01:38:09 +03:00
ErickSkrauch
ba7fad84a0
Remove refresh_token from OAuth2 result. Return the same access_token as a refresh_token in case when it's requested. Make access_tokens to live forever.
2019-12-09 19:31:54 +03:00
ErickSkrauch
25f1ca912c
Fix tests
2019-12-05 00:52:36 +03:00
ErickSkrauch
a9a56c9e1d
Extract encryption key into the configuration param
2019-12-04 13:24:30 +03:00
ErickSkrauch
72cbf16c97
Merge branch 'master' into oauth_jwt_tokens
...
# Conflicts:
# api/components/OAuth2/Entities/AccessTokenEntity.php
# api/components/OAuth2/Entities/RefreshTokenEntity.php
# api/components/OAuth2/Grants/RefreshTokenGrant.php
# api/components/OAuth2/Storage/SessionStorage.php
# api/components/User/OAuth2Identity.php
2019-12-04 01:17:12 +03:00
ErickSkrauch
db8e13d749
Hotfix to handle Chrly's long responses
2019-11-09 17:46:27 +03:00
ErickSkrauch
2beacd0827
Add tests for the legacy tokens, fix some tests cases [skip ci]
2019-09-23 01:03:36 +03:00
ErickSkrauch
a148da2ecf
Add tests for the legacy tokens
2019-09-23 00:53:13 +03:00
ErickSkrauch
cf62c686b1
Rework identity provider for the legacy OAuth2 tokens [skip ci]
2019-09-22 19:24:22 +03:00
ErickSkrauch
c722c46ad5
Add support for the legacy refresh tokens, make the new refresh tokens non-expire [skip ci]
2019-09-22 02:42:08 +03:00
ErickSkrauch
5536c34b9c
Restore full functionality of OAuth2 server [skip ci]
2019-09-22 00:19:11 +03:00
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