Commit Graph
160 Commits
Author SHA1 Message Date
Umputun afbddaa5ec eliminate multiple calls to counter in paginated user comments 2018-06-01 22:51:19 -05:00
Umputun 837b2ef719 find user comments to support pagination 2018-06-01 22:17:57 -05:00
Umputun c83aa6901d has logged ip for anonym and auth users 2018-05-31 23:46:04 -05:00
Anatoly Milkov 0873f05588 lint: misspell, ineffassign 2018-05-31 15:28:38 -07: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
UmputunandGitHub 6aee34bb1e feature/ts - read-only support (#57)
* extend post info with ts and add info implemenation to engine

* info controller

* remove unused

* docker froendly new test

* tree find to include post info struct

* remove leftovers from codeconv

* test for empty tree request

* add func name to error rest report

* test with disabled proxy

* add read only age and reject updates on old posts

* lint: shaddow err

* make info calls fast. needs migration!

* fix backup restore script

* increase limiter timeout

* add local exporter

* migrate list to new info

* fix rest list tests

* add manual backup script

* default backup path

* fix eait on sec change failing rss tests

* add RO status bucket and rest

* add admin RO controller test
2018-05-28 14:57:36 -05:00
Umputun bd5eaeaa2a don't hold transaction for all deleted posts, open for each one 2018-05-26 03:42:49 -05:00
Umputun b39e5e8799 test for DeleteUSer 2018-05-26 02:43:32 -05:00
Umputun f8866f882b lint: shaddow err #47 2018-05-26 02:09:29 -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 deee4a50c4 try to move bolt test files out of /tmp 2018-05-24 20:40:38 -05:00
Umputun 01ba236e40 fix test on time 2018-05-24 20:35:43 -05:00
Umputun ebe3fb8234 fix incorrect double-hash for ip 2018-05-23 14:41:31 -05:00
Umputun 3f22b919c9 test unhappy paths for bolt engine 2018-05-23 14:20:51 -05:00
Umputun 0697cd9c6c test failed import and bold ref 2018-05-23 13:30:13 -05:00
Umputun 8a7c2db645 complete score test for same values 2018-05-23 01:59:51 -05:00
Umputun e3f8e6d2dc bolt test fixed 2018-05-22 21:04:50 -05:00
Umputun 781bfca637 add test for SetDeleted 2018-05-22 12:02:50 -05:00
Umputun 6d8e8865f5 add concurrent test for votes 2018-05-18 18:44:48 -05:00
Umputun 0c9ff0a2a0 allow edit multiple times within time-window 2018-05-18 12:03:53 -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 10c92a9251 restore time sort, add active sort 2018-05-16 11:43:14 -05:00
Umputun 369e4d8be7 lint: fix lack of comment #13 2018-05-15 18:52:21 -05:00
Umputun 58e21dbc5c add orig to comment and edit request #13 2018-05-15 18:47:30 -05:00
Umputun 14f90e7039 allow code attributes in sanitizer 2018-05-13 13:48:37 -05:00
Umputun 70c910b21a count as rune 2018-05-12 12:02:49 -05:00
Umputun 8b544b0a43 move comment size validation to raw comment #3 2018-05-12 11:42:05 -05:00
Umputun 98fdd6d2de test for self-voting 2018-05-11 16:19:08 -05:00
Umputun f50713fa31 allow dev users self-voting 2018-05-11 16:14:11 -05:00
Umputun db7f4c84bf prevent user from voting for they own comments 2018-05-11 16:10:11 -05:00
Umputun 58cf373627 more tests 2018-05-10 01:10:36 -05:00
Umputun 1268a8f7c5 hard body limit, encode disqus imported ID 2018-05-08 16:31:23 -05:00
Umputun 639f89064b customizable max comment size 2018-05-06 19:15:36 -05:00
Umputun e8a59ed238 validate comment size and fields 2018-05-06 18:48:13 -05:00
Umputun f924cf76df adopt test for \n and \t allowes 2018-05-06 18:15:03 -05:00
Umputun 80bac9d951 don't clean \n and \t 2018-05-06 18:07:54 -05:00
Umputun a78b3a2d6d sanitize on preview 2018-05-06 17:29:34 -05:00
Umputun 0bc88c606b remove profile 2018-05-06 15:07:20 -05:00
Umputun 66ff83cae5 sort logging 2018-05-06 13:40:58 -05:00
Umputun a507f7864b add restore backuo script 2018-05-03 01:58:29 -05:00
Umputun a691210fd6 simplify interfaces for migrator, switch back to dataStore 2018-05-02 23:13:50 -05:00
Umputun 9b9479367a in-proc import with initial delete 2018-04-30 00:54:15 -05:00
Umputun 3d734188d4 hash ip with hmac 2018-03-25 16:42:05 -05:00
Umputun 952adde9f7 externalize bolt options 2018-03-22 23:18:44 -05:00
Umputun 9a5aa72b0d hash user ip 2018-03-22 20:11:57 -05:00
Umputun a9aeb7e4f0 comment methods ro private 2018-03-22 19:50:40 -05:00
Umputun 4138a5f05a small cleanups 2018-03-22 13:11:17 -05:00
Umputun ee4228c5d2 prep hashed ip and id 2018-03-22 02:38:49 -05:00
Umputun dadb3666af don't set predefined text in deleted 2018-03-19 01:47:22 -05:00