Commit Graph
142 Commits
Author SHA1 Message Date
Umputun 47586e372e rollback proxy mock 2018-06-19 00:16:18 -05:00
Umputun b3b26c0484 add avatar proxy mock to test provider 2018-06-18 23:41:08 -05:00
Umputun 8db933f9c7 lint: minor warns on tests 2018-06-18 15:31:58 -05:00
Umputun 67baf50b6e lint: minor warn 2018-06-08 14:18:09 -05:00
Umputun 12bf50bb96 add admin email #73 2018-06-06 14:26:04 -05:00
Anatoly Milkov 24fc291c4f add Yandex OAuth provider, refactor GitHub provider #34 2018-06-04 14:56:21 -05:00
Anatoly Milkov 077877ed54 refactor Github OAuth provider 2018-06-03 01:27:36 -05:00
Umputun 194ece1fa0 add /deleteme request #47 2018-06-03 00:49:37 -05:00
Umputun 7ae4a09f6b ability to use session cookie in login #47 2018-06-02 13:39:14 -05:00
Umputun ba42e804f7 remove unused code 2018-05-30 18:19:38 -05:00
UmputunandGitHub 0363fc4cd9 feature/verified (#61)
* add store methods for verification

* add verify rest and auth

* lint: fix double conversion of userID key

* test for middleware, fix log without auth info

* make all scripts with -e
2018-05-29 23:07:50 -05:00
Umputun b3dc433ec9 WIP: start to implement hard delete to all user's comments #47 2018-05-26 02:03:03 -05:00
Umputun b3876006c1 fix google provider test, default name for missing 2018-05-25 20:13:05 -05:00
Umputun 4f6aa06d9b switch google id to sub 2018-05-25 20:07:37 -05:00
Umputun 14ef36ac96 switch google oauth to userinfo.profile 2018-05-25 19:54:54 -05:00
Umputun 40db7c459c try no–scope for github 2018-05-25 19:41:32 -05:00
Umputun bbb514b17c reduce github oauth scope to read:user 2018-05-25 19:36:35 -05:00
Umputun e8838f475e reduce dbg level of failed auth msg 2018-05-25 17:08:21 -05:00
Umputun 38095ec3b5 comments and dbg 2018-05-24 23:33:12 -05:00
Umputun 01ba236e40 fix test on time 2018-05-24 20:35:43 -05:00
Umputun 43771edf62 restore admin login test 2018-05-24 20:24:47 -05:00
Umputun 7037fb5396 fix providers conflict 2018-05-24 19:38:46 -05:00
Umputun 092625839f remove pointers confusion from providers 2018-05-24 18:55:25 -05:00
Umputun e1f19c22d9 put auth flag to jwt, dbl check in auth 2018-05-24 18:43:24 -05:00
Umputun 1d3900ffa7 simplify providers initialization 2018-05-24 17:49:06 -05:00
Umputun 5f6a329609 move avatar proxy to rest 2018-05-23 12:07:45 -05:00
Umputun 71f141d364 add providers mapping tests 2018-05-23 11:23:03 -05:00
Umputun 5837110964 add xsrf test for jwt cookie 2018-05-23 10:39:03 -05:00
Umputun 1cde3bcb74 more tests 2018-05-23 01:48:07 -05:00
Umputun d7d90eeb4e lint: bunch of minor warnings 2018-05-22 20:56:52 -05:00
Umputun bc92154e58 skip img prox if not hosted on https 2018-05-22 00:55:52 -05:00
Umputun d7fc68d721 fix to many jwt refreshes 2018-05-22 00:03:03 -05:00
Umputun 189b741301 hide warn with xsrf values 2018-05-21 23:54:26 -05:00
Umputun cb93aab664 fix protocol mismatch for jwt logout 2018-05-21 23:47:58 -05:00
Umputun 6ab30fc9b6 lint: duration conv 2018-05-21 23:06:35 -05:00
Umputun 27ab745521 add jwt refresh 2018-05-21 22:59:01 -05:00
Umputun 1ccbc4175d lint: convetion warn for time and typo in double []byte 2018-05-21 19:30:39 -05:00
Umputun 07ea6e5b4e switch session store to jwt, no refresh yet #30 2018-05-21 19:16:16 -05:00
Umputun fdd0290fe7 simplify logger middleware 2018-05-18 12:25:39 -05:00
Umputun e15c276124 extract checkXsrf to simplify Auth middleware 2018-05-18 12:19:24 -05:00
Umputun 8b1ebfdf4f add optional img proxy 2018-05-18 01:52:29 -05:00
Umputun 7df0ae5235 migrate all rest tests to httptest 2018-05-17 21:19:41 -05:00
Umputun dfe6d644ae clear import aliases 2018-05-16 21:52:05 -05:00
Umputun 9638d95279 refactor store to isolate service and engine levels 2018-05-16 18:03:08 -05:00
Umputun 5f6134b390 add test for admin-only auth 2018-05-15 12:14:10 -05:00
Umputun ae782722f1 add auth tests 2018-05-15 11:59:29 -05:00
Umputun e3449c7eaa add delay to test auth server 2018-05-14 14:54:32 -05:00
Umputun 0964cbd973 logout test, possible port conflict 2018-05-14 14:50:09 -05:00
Umputun e8bc7e7137 extract avatar proxy to separate package 2018-05-13 19:19:47 -05:00
Umputun a8e0fe832a add very basic RSS update feed for post's comments #15 2018-05-13 15:45:25 -05:00