Commit Graph
131 Commits
Author SHA1 Message Date
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
Umputun 849b00a452 don't restrict xsrfError check for requires auth path only 2018-05-13 13:05:50 -05:00
Umputun 3815e7dd38 import correct errors pkg 2018-05-13 13:02:52 -05:00
Umputun 57f4d8217d warn on xsrf mismatch for authed request only 2018-05-13 13:01:50 -05:00
Umputun acba478f75 dbl token leftovers 2018-05-13 12:56:14 -05:00
Umputun 98d47ac0a5 use correct xsrf for session 2018-05-13 12:47:09 -05:00
Umputun f05655a1dc fix xsrf condition check 2018-05-13 12:39:30 -05:00
Umputun 004a4fed17 lint: XSRF func 2018-05-13 12:29:46 -05:00
Umputun 214199e10f add XSRF cookie #16 2018-05-13 12:27:03 -05:00
Umputun f587af37bd lint: avatar shadow err 2018-05-12 13:17:34 -05:00
Umputun 70a3269589 use login in github name is <nil> 2018-05-12 13:14:51 -05:00
Umputun 9c498ea4c4 Etag to avatar test 2018-05-12 13:09:40 -05:00