Umputun
af6076187f
set rss descriptions matching rss type
2019-01-27 15:08:39 -06:00
Umputun
93246aec0f
Merge remote-tracking branch 'origin/master'
2019-01-27 14:28:35 -06:00
Umputun
b106fe0fc6
increase size of last comments for reply detection to 5000 and time to 31 days #268
2019-01-27 14:28:24 -06:00
Umputun and GitHub
7712f3765f
Merge pull request #269 from nagimov/patch-1
...
do not add .git folder to a build layer
2019-01-27 14:20:34 -06:00
Ruslan Nagimov and GitHub
9870469e2e
do not add .git folder to a build layer
...
`.git` folder isn't present in tarballs pulled from releases, e.g. `wget https://github.com/umputun/remark/archive/v.1.2.1.tar.gz `, and not used during the build anyways
2019-01-27 12:03:27 -08:00
Umputun
c7468184ba
fix unexpected blocking if +1 vote in positive score only mode on 0
2019-01-26 17:05:54 -06:00
Umputun
cb5fc79dbe
add site-level positve score support #260
2019-01-26 01:38:56 -06:00
Umputun
440beb3303
make sure last returns [] list #262
v.1.2.1
2019-01-25 23:20:30 -06:00
Umputun
f7de26ef4b
enforec empty list of comments on nil response
2019-01-25 22:49:52 -06:00
Umputun
6250f2e52e
allow empty list of comments on find for fresh post without anything #262
2019-01-25 18:24:58 -06:00
Umputun
1cc09a33f6
fix lack of counter invalidation from the cache #261
2019-01-25 17:35:38 -06:00
Umputun
5a4e84550d
Merge branch 'master' of github.com:umputun/remark
2019-01-25 17:10:26 -06:00
Umputun
8f0b6a6a59
add unit test for counters #261
2019-01-25 17:10:22 -06:00
Misha Vyrtsev and Umputun
f4a616e2de
add widgets to demo page ( #263 )
...
* add widgets to demo page
* fix border color in dark mode
* demo page adjusting
* fix indentation
2019-01-25 16:43:57 -06:00
Umputun
1475060555
revendore with auth 0.4.1, fix yandex auth provider bug
2019-01-24 13:58:54 -06:00
Umputun
1761995482
skip logger pkg
2019-01-22 23:21:36 -06:00
Umputun
7aeec9535f
revendor with fixed lgr pkg option
2019-01-22 18:44:59 -06:00
Umputun
32503395ea
add caller pkg to log
2019-01-22 18:30:22 -06:00
Pavel Alimpiev and Umputun
e82a8f9824
Update README.md ( #259 )
2019-01-22 11:12:42 -06:00
Umputun
9375f250d8
switch restricted words logging to log
v1.2.0
2019-01-21 17:03:22 -06:00
Umputun
84488182a2
avloid tokenization if lister failed or an empty list of restricted words #237
2019-01-21 16:52:49 -06:00
Aleksandr Melnikov and Umputun
ab6c9a515c
Support restricted words ( #257 )
...
* prepared interfaces and naive implementation for restricted words
* fixed whitespace tokenizer last token handling
* removed unnecessary check in whitespace tokenizer last token handling
* removed unnecessary interfaces, added matcher to service
* now using more explicit naming
* added config parameter/env variable to configure restricted words
provided simple matcher and lister implementation into service
* fixed linter warnings
* fixed linter warnings (part 2)
* added functional tests for rest api
moved check for restricted words into validation stage
* fixed missing error check in rest private test
* fixed failed test that expected validation in specific order
* fixed linter warning
* removed unnecessary 'else'
* removed redundant check from 'DataStore.EditComment'
* replaced exact matching for restricted words with wildcard matching
* fixed race condition when creating wildcardTrie
removed unnecessary wildcard masks
refactored tests in a table format
* improved documentation for restricted words param
* removed wildcardTrie caching as a premature optimization
removed unnecessary validation method ValidateCommentText
moved restricted words validation into service methods that create and update comment
* fixed error name due to linter warning
2019-01-21 16:48:35 -06:00
Umputun
2c988aa226
fix tg send test
2019-01-21 13:34:42 -06:00
Umputun
1a78c6eec6
add @ prefix for non-integer tg channelID #255
2019-01-21 13:28:03 -06:00
Umputun and GitHub
dbc664e102
Merge pull request #258 from VaultVulp/feature/rework-telegram-integration
...
Remove prefixing of a `@` character to the channel name
2019-01-21 13:15:09 -06:00
Pavel Alimpiev
a9909a91f4
Remove prefixing of a @ character to the channel name
2019-01-18 12:50:13 +03:00
Umputun
62b54eb009
resort imports
2019-01-17 18:50:02 -06:00
Umputun
7fa26343bd
fix a comment
2019-01-17 15:07:47 -06:00
Umputun
97d1fa3942
add update-limit to readme options list
2019-01-17 14:57:33 -06:00
Umputun
2a3051c620
allow separate limiter for updates and posts, agressive default limit
2019-01-17 14:56:11 -06:00
Umputun
953ff03e2f
missed in last commit
2019-01-17 13:18:49 -06:00
Umputun
f7403f08b9
inject refresh cache to auth, revendor go-pkgz/auth to 0.4
2019-01-17 13:17:16 -06:00
Umputun and GitHub
6aae306be6
Merge pull request #250 from Reeywhaar/#248-frontend
...
Disable comment editing if it has reply
2019-01-17 11:27:37 -06:00
Umputun and GitHub
f7851bc5f0
Merge pull request #254 from Reeywhaar/252-fix
...
Fix wrong label on voting buttons
2019-01-17 11:27:19 -06:00
Umputun and GitHub
225cd04980
Merge pull request #251 from Arelav/master
...
Prioritize disabled arrows style over general
2019-01-17 11:15:48 -06:00
Umputun
168088445f
add caching for replied ids
2019-01-17 01:20:19 -06:00
Umputun
ff46cbd173
require authed user to perfrom logout
2019-01-16 23:28:49 -06:00
Vyrtsev Mikhail
ddd2c25498
exclude pin/unpin from last comments comment controls
2019-01-17 04:24:17 +03:00
Vyrtsev Mikhail
00bf148630
restore comments controls in last comments
2019-01-17 04:14:06 +03:00
Vyrtsev Mikhail
e42110a3ba
fix wrong label on voting buttons
2019-01-17 04:07:13 +03:00
Valery Kharshats and GitHub
5a034f4b52
Prioritize disabled arrows style over general
...
It disables hover color change for not logged in users.
2019-01-16 16:21:05 -05:00
Vyrtsev Mikhail
86fde18b7d
hide edit input if original text and edited are same
2019-01-17 00:06:04 +03:00
Vyrtsev Mikhail
7ba4518587
disable comment editing if it has reply
2019-01-16 23:39:23 +03:00
Umputun
79a8bfe453
don't exclude reply to myself from HasReply detection https://github.com/umputun/remark/issues/248#issuecomment-454882841
2019-01-16 12:20:05 -06:00
Umputun
dff266ec01
add detection of reply and disable edit for such comments #248
2019-01-15 17:05:30 -06:00
Umputun
367c3d0cc2
blocked users returns 401
2019-01-15 13:17:59 -06:00
Umputun
78debf05d9
auth 0.3.3 prevnets expired headers to pe passed in
2019-01-15 13:09:56 -06:00
Umputun
e9585dc568
pass default logger to rest
2019-01-14 16:14:02 -06:00
Umputun
177b71655d
update deps (lgr and mongo)
2019-01-14 00:06:32 -06:00
Umputun
8c8f13fd73
adopt for rest errors and revendor go-pkgz
2019-01-13 23:27:15 -06:00