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
Dmitry Verkhoturov and Umputun
e922fc31a2
enable gocritic linter and fix found issues
2020-04-26 17:05:34 -05:00
Dmitry Verkhoturov and Umputun
71dcb13a71
commit proxy images same way as normally uploaded ones
2020-04-25 12:15:26 -05:00
Dmitry Verkhoturov and Umputun
5579bd1a88
close response.Body in image proxy tests
2020-04-24 14:16:01 -05:00
Dmitry Verkhoturov and Umputun
b71e0be095
move cachedImgID and sha1Str from rest.proxy to store.image
2020-04-24 14:16:01 -05:00
Dmitry Verkhoturov
8cb274934e
add DataService.ResubmitStagingImages function call on server start
2020-04-23 00:55:13 +02:00
Dmitry Verkhoturov
5ae6dcf652
introduce image.Service commitTTL and cleanupTTL properties
...
This allows having separate values of TTL for Commit and Cleanup
and moving them apart in time, also clarifying their connection
to EditTime which was previously outside of the package level.
2020-04-23 00:54:30 +02:00
Dmitry Verkhoturov
c7f73a6c84
add image.Store.Info() function
2020-04-23 00:52:36 +02:00
Dmitry Verkhoturov
3a0529e51b
enable golangci-lint for tests, fix discovered problems
2020-04-21 12:01:10 +02:00
Dmitry Verkhoturov
318feb8ed2
golangci-lint fixes for memory_store tests
2020-04-21 11:47:15 +02:00
Umputun
b4a6cc5473
format comment for UserDetail
2020-04-21 02:40:24 -05:00
Dmitry Verkhoturov and Umputun
513c8f353d
sticter golangci config, fix discovered issues
2020-04-19 16:21:09 -05:00
Dmitry Verkhoturov and Umputun
2acb00d424
rename image.Store.SaveWithID to Save
2020-04-19 16:21:09 -05:00
Dmitry Verkhoturov and Umputun
36cee9cc66
simplify image.Store interface
2020-04-19 16:21:09 -05:00
Dmitry Verkhoturov and Umputun
381ca75126
#614 serve proxified images disregarding if saving is enabled
2020-04-15 20:05:13 -05:00
Dmitry Verkhoturov and Umputun
c3896934c9
don't use cache in rest tests which don't utilize it
2020-04-14 13:47:27 -05:00
Umputun
3cb07b9cd6
fix incorrect sinceTime for comments stream
2020-04-14 03:40:10 -05:00
Dmitry Verkhoturov
828669ac95
remove t.Log from test server.Run in memory_store
2020-04-14 00:20:42 +02:00
Dmitry Verkhoturov and Umputun
4605d567ae
make image.Close wait for all images Submit completion
2020-04-13 16:01:51 -05:00
Dmitry Verkhoturov and Umputun
afc94adc1b
remove log package usage from tests, sort imports
2020-04-13 16:01:51 -05:00
Umputun
360f47e16b
go mod for memory_store example
2020-04-13 14:31:58 -05:00
Umputun
ee559e7deb
remake modules.txt with go 1.14
2020-04-13 14:30:48 -05:00
荒野無燈 and Umputun
9459a2a2f5
notify/email.go: fixup smtp.NewClient second param
2020-04-13 14:02:00 -05:00