Commit Graph
84 Commits
Author SHA1 Message Date
UmputunandGitHub 7a6eca56b1 feature/jwtcleanup (#113)
* remove extra dmin check, add blocking check via jwt and auth middleware
* short jwt and refresh for expired
* lint: missing comment on UserFlager
* simplify user management in auth refresh
* allow custom max cookie age
* test blocked user
* reset cookie for blocked user
* move admin perm detection to data service
* customizable ttl with opts as a part of auth group
* add local auth provider dev
* main minimal test for dev auth mode
* add comments and update docs with current params
* add admin and auth_dev flags
* comments for dev compose
* lint: shadow err
2018-06-27 01:43:13 -05:00
Alex 0b36b79d16 #remove @method -rename 2018-06-23 23:13:45 +03:00
Alex 73d875f477 #unverify @method -rename 2018-06-23 23:12:31 +03:00
Alex 72f1f774f5 #verify @method -rename 2018-06-23 23:11:34 +03:00
Alex 400905c8ff #unpin @method -rename 2018-06-23 23:09:52 +03:00
Alex 7b7934e93c #pin @method -rename 2018-06-23 23:08:41 +03:00
Alex 0171fc85b5 #edit @method -rename 2018-06-23 22:57:46 +03:00
Alex 48bcadbceb #send @method -rename 2018-06-23 22:56:54 +03:00
Alex 7e27cf5060 #vote @method -rename 2018-06-23 22:53:22 +03:00
Alex 17529d0646 #counts @method -rename 2018-06-23 22:51:14 +03:00
Alex 83d3afa291 #last @method -rename 2018-06-23 22:38:55 +03:00
Alex 37f9954f11 #find @method -rename 2018-06-23 22:35:56 +03:00
konstantin krivlenia 66ca6173bb fix formatting 2018-06-23 20:30:51 +03:00
konstantin krivlenia 52d791a7b6 setup testing environment 2018-06-23 18:36:14 +03:00
igoradamenko 213437bf34 remove useless code 2018-06-23 13:47:31 +03:00
igoradamenko 833520c494 fix typo 2018-06-23 13:18:12 +03:00
konstantin krivlenia 07f82bf6a5 add eslint check 2018-06-23 01:38:03 +03:00
igoradamenko 5dcd7aea4e add possibility to get last 10 user comments 2018-06-18 23:28:29 +03:00
igoradamenko 1ac77dbf37 add verify / unverify actions to api 2018-06-11 15:15:44 +03:00
igoradamenko 5fe785490e add property max_shown_comments to settings object 2018-06-10 23:15:30 +03:00
Anatoly Milkov 24fc291c4f add Yandex OAuth provider, refactor GitHub provider #34 2018-06-04 14:56:21 -05:00
igoradamenko 1f47f51806 add show more button
close #25
2018-06-03 18:36:56 +03:00
igoradamenko e5f9961a81 save comments collapsed state
closes #43
2018-06-03 17:37:25 +03:00
igoradamenko b43f9cbb23 fix method addComment 2018-05-19 00:00:28 +03:00
igoradamenko cbc74041c6 fix adding comment to store, again 2018-05-18 23:45:25 +03:00
igoradamenko 2a1c416bb8 use value from config for critical comment score 2018-05-18 22:09:12 +03:00
igoradamenko 875d37f7d8 add url param to edit comment call 2018-05-18 19:47:12 +03:00
igoradamenko 7f18f1db16 add endpoint for editing comments 2018-05-18 19:25:57 +03:00
igoradamenko 3b83f5f80e set useless mod for comments with score <= -10 2018-05-13 00:20:07 +03:00
igoradamenko 485a99cb67 add collapse for threads 2018-05-12 23:42:49 +03:00
igoradamenko cc1894caa4 fix default sort 2018-05-12 21:42:15 +03:00
igoradamenko ab9057efa3 enhance provider names in auth line 2018-05-12 15:12:13 +03:00
igoradamenko 30650cc047 remove useless code from scroll to parent action 2018-05-12 14:57:25 +03:00
igoradamenko 3bd4edbce3 fix scroll to parent 2018-05-12 14:38:26 +03:00
igoradamenko 1b0beb2a7f add link to parent 2018-05-12 13:57:21 +03:00
igoradamenko e54d979707 don't allow user to vote for his own comment 2018-05-12 00:32:24 +03:00
igoradamenko 1511ff81a3 show available characters warning on input 2018-05-11 21:39:29 +03:00
igoradamenko 75ece05a82 add sort switcher 2018-05-06 14:35:32 +03:00
igoradamenko 154c74ec13 fix search for pinned comments 2018-05-03 00:39:42 +03:00
igoradamenko 412fc7a97d add preview support 2018-05-02 02:44:27 +03:00
igoradamenko 8070ab39ef restyle input 2018-04-30 10:24:02 +03:00
igoradamenko 2a97fa4a03 remove promise unhandledrejection stub 2018-04-17 12:21:22 +03:00
igoradamenko d29981868f fix links to comments 2018-04-17 12:08:34 +03:00
igoradamenko d3043c0ab0 replace BASE_URL by REMARK_URL in runtime 2018-04-14 21:41:51 +03:00
igoradamenko 97d6041656 remove cancel handler from fetcher 2018-03-26 16:51:13 +03:00
igoradamenko bf35ef81cf try to set BASE_URL in frontend using REMARK_URL in backend 2018-03-26 15:08:27 +03:00
igoradamenko 193baf36a0 rewrite todos 2018-03-26 14:30:26 +03:00
igoradamenko 21703d6574 add getBlocked endpoint to api 2018-03-18 23:11:53 +02:00
igoradamenko 338724121f change /count endpoint to /counts 2018-03-11 21:54:57 +03:00
igoradamenko dd1c6332f7 rewrite counter to batch request 2018-03-11 21:44:10 +03:00