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
Umputun
492f92e660
minor fixes for #247
2019-01-13 15:02:44 -06:00
Umputun and GitHub
9767bd42d2
Merge pull request #247 from saromanov/telegram-increase-coverage
...
Telegram increase coverage
2019-01-13 14:55:17 -06:00
Umputun
cfe8391da5
revendor with lgr 0.2
2019-01-11 22:51:43 -06:00
Sergey
c08a31809c
moving back assert.equal
2019-01-12 01:22:08 +05:00
Sergey
dd9b7d46ac
telegram: increase coverage
2019-01-12 01:15:50 +05:00
Umputun
8b0926a338
fix #246
2019-01-11 14:06:31 -06:00
Misha Vyrtsev and Igor Adamenko
57ffa5d491
Show post title in user comments sidebar ( #244 )
...
* show post title in user comments sidebar #241
* trim title with ellipsis
* show post title in user comments sidebar #241 : post-review
* adjust to make user comments post title the same as last comments widget style
* remove user comments post title margin
* revert to f35ecc75b0
2019-01-09 16:20:55 +02:00
Umputun
e5c8ac18de
bad import
2019-01-08 12:44:07 -06:00
Umputun
835e82a441
add guid to rss with comment id
2019-01-08 12:41:10 -06:00
Umputun
3c54c159d2
Merge branch 'master' of github.com:umputun/remark
2019-01-08 11:41:26 -06:00
Umputun and GitHub
02d94ead1d
Merge pull request #245 from umputun/lgr
...
Lgr
2019-01-08 04:01:33 -06:00