Umputun
ed3cd197dd
bump deps
2021-01-03 03:55:00 -06:00
Umputun
a0b2bbf1ed
typo
2021-01-03 03:14:19 -06:00
Umputun
2a02a946e7
lint: make scopelint happy on test
2021-01-03 03:13:20 -06:00
Umputun
1e96f9a5b0
Merge remote-tracking branch 'origin/master'
2021-01-03 03:09:31 -06:00
Umputun
0cb0232fa1
escape [ ] ( ) from tg title #839
2021-01-03 03:09:21 -06:00
Umputun
eb21a05b7b
add optional frame-ancestors (Content-Security-Policy) for the list of hosts passed by user
2021-01-03 02:33:51 -06:00
Umputun
b15f07b5f7
update auth module
2021-01-03 02:22:23 -06:00
Dmitry Verkhoturov
809a7c7dbd
Clean unused stream code
...
It was supposed to solve #253 but frontend part for it in
#357 was never finished, and backend code produces false
positive test failures since day 0. The cost of just having
this code around is too high, we'll re-add it in case
frontend implementation will be finished.
2020-11-30 02:00:59 +01:00
Dmitry Verkhoturov and Umputun
6426ea154e
#819 add SendJWTHeader auth option, expose it on /config
2020-11-29 18:18:22 -06:00
Artur Mullakhmetov and Umputun
b04eba2d91
do not decrease comments count in case of repeated deletion
2020-11-05 11:00:30 -06:00
Dmitry Verkhoturov and Umputun
b447863542
add deduplication of emails in recursive notifications
2020-10-20 11:08:04 -05:00
Dmitry Verkhoturov and Umputun
4ba32141fa
add recursive email notifications up to highest parent
2020-10-20 11:08:04 -05:00
Dmitry Verkhoturov and Umputun
1ce3cf3d1f
simplify admin email notifications
2020-10-20 11:02:04 -05:00
Dmitry Verkhoturov and Umputun
6f122f93d1
extract Email.buildAndSendMessage from Email.Send
2020-10-18 17:29:44 -05:00
Dmitry Verkhoturov and Umputun
ced40b525a
move email notification logic into Email struct
2020-10-18 17:29:44 -05:00
Dmitry Verkhoturov and Umputun
c9b395f60d
separate notify.SubmitVerification from notify.Submit
2020-10-11 23:13:24 -05:00
Dmitry Verkhoturov and Umputun
1980f30666
rewrite notify.Service.do from range to select
2020-10-11 23:13:24 -05:00
Dmitry Verkhoturov and Umputun
bec6bcee0d
use template files instead of statik in dev Dockerfile
2020-10-07 19:32:39 -05:00
Dmitry Verkhoturov and Umputun
36dce6c2ac
fix golangci-lint timeout, bump email min TLS version
2020-10-07 19:32:39 -05:00
Dmitry Verkhoturov and Umputun
b974fd9cc4
add ability to set multiple admin emails for notifications
2020-09-02 15:09:46 -05:00
vdimir and Umputun
295191955a
Add function createAppFromCmd to server_test.go
2020-08-26 12:39:31 -05:00
vdimir and Umputun
14bcbfa901
Add function randomPath to rest_test.go
2020-08-26 12:39:31 -05:00
Umputun
1eedcc0eb3
don't allow anon with space prefix or suffix
2020-08-16 21:12:42 -05:00
Umputun
729b6d2d08
add --proxy-cors $PROXY_CORS disabling internal cors middleware #749
2020-07-27 16:58:47 -05:00
vdimir and Umputun
09f06f587c
Add tests for comment.Imported, refine image.SubmitAndCommit tests
2020-07-09 12:43:07 -05:00
vdimir and Umputun
d7c9aecf03
Submit images from service.Create only after creation in Engine
2020-07-09 12:43:07 -05:00
vdimir and Umputun
9957ab642b
Add Imported field to comment, do not wait image submission for such comments
2020-07-09 12:43:07 -05:00
vdimir and Umputun
1f9566bb47
Use comment timestamp for submitting image ttl
2020-07-09 12:43:07 -05:00
Dmitry Verkhoturov and Umputun
9510962e25
add redis PubSub web cache as an option
2020-06-25 23:14:50 -05:00
Dmitry Verkhoturov and Umputun
ebf379f4d6
bump go-pkgz/lcw to v0.7.1
2020-06-25 17:28:33 -05:00
Umputun
df9c05b490
add microsoft auth
2020-06-18 18:25:35 -05:00
Dmitry Verkhoturov and Umputun
42d0c67cb3
add context to server errors, properly close datastore in case of errors
2020-06-13 19:07:33 -05:00
Umputun
46f3ced83d
disable some stream tests
2020-06-08 16:10:31 -05:00
Umputun
4d0f909f0e
add reset of the same ip votes on -+ or +- changes and move same ip set and reject check up (above this reset)
2020-06-08 14:59:40 -05:00
Umputun
dc7bb5810f
typo in from_address param
2020-06-05 03:49:49 -05:00
Dmitry Verkhoturov
80f4862c9c
fix leaking goroutines and add tests for them
2020-06-01 09:58:48 +02:00
Umputun
55dd5bd25b
skip LastCommentStream test
2020-05-26 15:29:56 -05:00
Dmitry Verkhoturov and Umputun
890d7154e7
bump go modules
2020-05-24 19:00:07 -05:00
Dmitry Verkhoturov and Umputun
0d67f7e53d
bump golangci-lint version, fix discovered issues
2020-05-24 19:00:07 -05:00
Umputun
2f20b64c0f
switch lcw to stable version
2020-05-22 14:18:34 -05:00
Umputun
80854f9d40
allow anon names to inlude non-latin. Add limit (64) to max len #715
2020-05-21 13:18:10 -05:00
Umputun
d8ce444df0
move logging for protected routes to INFO level
2020-05-12 23:15:06 -05:00
Umputun
c10354584d
dbl request limit size for count query
...
for sites with a lot of posts on the page, the list of all urls can exceed the default 64k limit. I've see the request like this from news.radio-t.com
2020-05-12 22:26:45 -05:00
Umputun
11fde80d27
replace references to legacy remark url in docs
2020-05-12 12:08:18 -05:00
Umputun
6bee151b25
switch base image
2020-05-12 12:02:13 -05:00
Umputun
0895de2f7e
rename all packages from the legacy remark/ to remark42
2020-05-12 11:34:16 -05:00
Pavel Mineev and Umputun
b90d076fdf
Move html to separete files
2020-05-10 23:51:13 -05:00
Dmitry Verkhoturov
f5fcd5b254
switch from go-cache to lcw
2020-05-10 20:41:26 +02:00
Umputun
a8f3e1730b
update to lcw@master
2020-05-09 21:20:03 -05:00
Dmitry Verkhoturov and Umputun
bbfeaeb3d0
go-consistent proposed changes
2020-05-04 02:22:16 -05:00