Commit Graph

651 Commits

Author SHA1 Message Date
ErickSkrauch
9f645d0934 Add CSP header 2019-11-26 22:47:22 +03:00
ErickSkrauch
9eea03df73 Enable gzip and brotli for all response types 2019-11-26 22:32:26 +03:00
ErickSkrauch
885729fcde Replace nginx image to enable gzpi and brotli encoding 2019-11-26 21:30:53 +03:00
ErickSkrauch
b47522e6f9 Fix CI for bitmani mariadb image 2019-11-15 20:09:19 +03:00
ErickSkrauch
2fe3ede4ea Replace basic mariadb image with the bitnami 2019-11-15 20:04:45 +03:00
ErickSkrauch
db8e13d749 Hotfix to handle Chrly's long responses 2019-11-09 17:46:27 +03:00
ErickSkrauch
0dc8ca8c78 Define vars for cleanup step 2019-11-05 15:31:23 +03:00
ErickSkrauch
d8b68f7be0 Rename cleanup step [skip ci] 2019-11-05 15:28:18 +03:00
ErickSkrauch
6cd50f759c Fix gitlab-ci configuration 2019-11-05 15:27:07 +03:00
ErickSkrauch
80edf03b52 Upgrade PHP version to avoid CVE-2019-11043 2019-11-05 15:15:55 +03:00
ErickSkrauch
7505bc8262 Upgrade gitlab-ci 2019-11-05 15:10:37 +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
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