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
8a1d7148d0
Implemented public scopes repository. Fix some auth cases [skip ci]
2019-09-13 01:19:03 +03:00
ErickSkrauch
4dc2a3025b
Rewrite tests for OAuth2 validate and auth code complete steps [skip ci]
2019-09-06 02:33:16 +03:00
ErickSkrauch
6c4ce8cb8d
Increase cleanup timout for minecraft access tokens
2019-09-01 23:16:13 +03:00
ErickSkrauch
29fc267148
Do not delete minecraft access token after its validation
2019-09-01 23:10:47 +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
23a220637c
Define default value for AUTHSERVER_HOST
2019-08-08 02:49:04 +03:00
ErickSkrauch
89f7195a37
Fix index usage for OauthSessions relation from Account model
2019-08-08 02:47:36 +03:00
ErickSkrauch
25df1c711a
Slightly improved configuration for gitlab-ci [skip ci]
2019-08-03 22:49:17 +03:00
ErickSkrauch
663cfd9dbc
Improve caching for the build step
2019-08-03 22:20:13 +03:00
ErickSkrauch
d333798919
Define VERSION env variable as a step
2019-08-03 21:50:34 +03:00
ErickSkrauch
80b99db0f8
Use 2-spaces for gitlab-ci.yml definitions
2019-08-03 16:16:08 +03:00
ErickSkrauch
492118a0c0
Improve gitlab-ci configuration
2019-08-03 16:15:17 +03:00
ErickSkrauch
c90331c372
Fixes ACCOUNTS-5J2. Ensure, that JWT certs has correct owners.
2019-08-03 02:26:46 +03:00
ErickSkrauch
6cfefcebc8
Fix dist docker-compose configuration for dev environment
2019-08-03 02:21:28 +03:00
ErickSkrauch
fff358e038
Merge branch 'jwt-encryption-algorithm' into 'master'
...
Implemented Rs256 jwt encryption algorithm
See merge request elyby/accounts!7
2019-08-02 21:27:07 +00:00
ErickSkrauch
7f5cf76488
Merge branch 'change-skin-scope' into 'master'
...
Implemented change skin scope
See merge request elyby/accounts!8
2019-08-02 21:03:14 +00:00
ErickSkrauch
34bb8da936
Merge branch 'reafactor-tokens-system' into jwt-encryption-algorithm
2019-08-02 23:47:15 +03:00
ErickSkrauch
6ad66b28cf
Generate keys pair if they aren't exists
2019-08-02 19:16:34 +03:00
ErickSkrauch
967d8b11a0
Improve tests coverage
2019-08-02 18:32:08 +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
b2bd267eda
Removed change skin scope from refresh code
2019-07-31 15:23:01 +03:00
ErickSkrauch
4c2a9cc172
Cleanup User Component, update tests
2019-07-26 17:04:57 +03:00
valik
e23c3aeaed
Implemented change skin scope
2019-07-26 12:49:48 +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
e4804e0cdd
Fix build for nginx image
2019-06-18 01:45:40 +03:00
ErickSkrauch
9319e42a1c
Merge branch 'new_emails_renderer_integration'
2019-06-18 01:19:52 +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
7b14b92a10
Integrate new renderer via docker-compose configuration and nginx [skip ci]
2019-06-06 02:14:29 +03:00
ErickSkrauch
75fdd5d1ba
Upgrade Codeception to 3 version. Remove codeception/verify.
2019-05-14 02:12:49 +03:00
ErickSkrauch
5dacd66fb7
Upgrade ely/email-renderer and some other non-breaking dependencies
2019-05-14 01:13:07 +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
ErickSkrauch
02a7d3815d
Fix MariaDB performance schema installer configuration
2019-05-13 14:15:32 +03:00
ErickSkrauch
d58c245ecf
Merge branch 'dev' into 'master'
...
Implemented "ely/mojang-api"
See merge request elyby/accounts!6
2019-05-09 22:34:22 +00:00
Arslan
85d4d465fb
Implemented "ely/mojang-api"
2019-05-09 04:23:49 +03:00