Commit Graph
104 Commits
Author SHA1 Message Date
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
Umputun 9cacdb1497 client-side caching for avatars 2018-05-12 13:03:01 -05:00
Umputun 5d8a3ea78b lint: test shadowing 2018-05-12 11:42:34 -05:00
Umputun 3635921191 typos in comments 2018-05-09 16:12:02 -05:00
Umputun 1268a8f7c5 hard body limit, encode disqus imported ID 2018-05-08 16:31:23 -05:00
Umputun a3df144e4d rollback double-provider in id 2018-05-06 15:21:48 -05:00
Umputun 304f148752 add provider name before encode 2018-05-06 15:16:28 -05:00
Umputun 0bc88c606b remove profile 2018-05-06 15:07:20 -05:00
Umputun 84acf6ed0d remove avatar default 2018-05-01 21:09:03 -05:00
Umputun b8a3671ef9 add admins 2018-04-06 14:06:55 -05:00
Umputun 2c355e009d add preparation for disqus oauth2 2018-03-25 17:53:07 -05:00
Umputun 1e395456da user tests, incapsulate user id settter 2018-03-21 01:46:24 -05:00
Umputun 7c41eec3b6 remove use of static external urls in avatar tests 2018-03-21 00:46:37 -05:00
Umputun d3b2ad33d4 fix avatar tests 2018-03-20 02:03:03 -05:00
Umputun 6a647f6f63 fix incorrect default avatar url 2018-03-20 01:54:21 -05:00
Umputun bb185a0a3c optimize avatar partitioning, cover with test 2018-03-19 01:38:38 -05:00
Umputun e3601629c8 revert avatar optional encoding 2018-03-07 22:28:53 -06:00
Umputun ac78dde639 lint: err shadoing in avatar encoder 2018-03-07 22:19:26 -06:00
Umputun 438652630d fix id encoding 2018-03-07 22:16:25 -06:00
Umputun 2a16609bf7 avoud double encoding 2018-03-07 22:11:58 -06:00
Umputun 1955e20f93 encode user id 2018-03-07 21:59:48 -06:00
Umputun 86de8d5fa4 add comments 2018-03-04 02:03:01 -06:00
Umputun 94dbca0006 don't retrun ww-auth header 2018-02-22 13:21:01 -06:00
Umputun c96042cdf2 fix basic enforced in dev mode 2018-02-22 02:54:49 -06:00
Umputun a565e40a06 prevent basic enforced in dev mode 2018-02-22 02:45:30 -06:00
Umputun 58e2949740 clean avatar related from disqus import, extend missing 2018-02-17 22:40:08 -06:00
Umputun 9e1c0d0640 avatar defaults to import from disqus 2018-02-17 18:52:31 -06:00
Umputun bb0e0a05b0 test for full path avatars 2018-02-17 18:30:07 -06:00