Umputun and GitHub
eb3589869d
Find since ( #388 )
...
* support since param in bolt find for post
* add find with since to store service
* add since param to find request, plain only
2019-07-25 13:58:22 -05:00
Umputun
ad3b7c695a
expose emoji_enabled flag in /config response #378
2019-07-21 12:24:56 -05:00
Umputun
a60072564e
temporary blocking doesn't need to delete/hide comments #377
2019-07-21 11:30:11 -05:00
Umputun
d3a5151ab4
switch rss parent to blockquote only
2019-07-14 11:57:03 -05:00
Umputun
a4b24c1edb
add blockquote inside summary, some rss readers seems to ignore summary
2019-07-14 00:15:26 -05:00
Umputun
dfaf4d13d3
add parent summary to rss description #339
2019-07-14 00:00:02 -05:00
Umputun
9585bdff34
lint: multiple warnings, mostly in tests
2019-07-13 13:40:41 -05:00
Umputun
60d9f207ae
only permanent blocking delete all comments
2019-06-28 11:58:09 -05:00
Umputun
b30492556f
add remote implementation of admin store
2019-06-25 20:06:30 -05:00
Umputun
f2cecafb27
fix remote client tests with id
2019-06-25 20:06:30 -05:00
Umputun
c1d14082ca
implement DeleteUser soft mode to allow mapping for blocked users #341
2019-06-25 20:06:30 -05:00
Umputun
3aba348e87
make new engine primary, rename package
2019-06-25 20:06:30 -05:00
Umputun
690c0df9b8
wip: engine2 passing test with updates service
2019-06-25 20:06:30 -05:00
Umputun
8d7c486e96
eliminate write timeout
2019-06-18 18:29:04 -05:00
Umputun
7819c9ec4b
add keep-alive header to streamer
2019-06-18 18:14:58 -05:00
Umputun
896f67ecdc
add info and SSE streams and response example to readme
2019-06-18 12:58:50 -05:00
Umputun
64bc99fc8d
fix incorrect default since for last comments stream
2019-06-18 12:38:51 -05:00
Umputun
445aec860e
add support of "since" param (unix msec) #336 #253
2019-06-18 12:14:27 -05:00
Umputun
e1bec310cf
convert streams to SSE #336
2019-06-18 12:01:37 -05:00
Umputun
20764b7b4e
enclose streamer in rest's struct
2019-06-05 02:14:34 -05:00
Umputun
342b4052a9
add error checks to pub rest test
2019-06-04 23:20:40 -05:00
Umputun
fe46509e8e
generalize stream api, move to separate struct & file
2019-06-04 22:06:33 -05:00
Umputun
e1bd0e5104
eliminate first update on info stream on cold cache
2019-06-04 21:02:28 -05:00
Umputun
0f2298d193
externalize all stream params
2019-06-03 22:48:28 -05:00
Umputun
f4d346c25a
limit max number of active streams
2019-06-03 19:44:39 -05:00
Umputun
458eb27d8c
add stream api for /last
2019-06-03 16:44:46 -05:00
Umputun
994a97b13f
generalize event streams
2019-06-03 12:41:04 -05:00
Umputun and GitHub
ca083f451e
Info stream ( #336 )
...
* add /stream/info as a cheap way to subscribe to comment updates #253
* add check for lastTS change to allow proper info streams in no-cache mode
* check write error in info stream and terminate
* flaky info stream test
* add stream info to readme
* separate timeout middleware foe each route's group
* debug info on stream close
* fix test for streams
* stream timeout on inactivity only
* throttle streams to 500
* restore common throttle
2019-06-03 11:34:00 -05:00
Umputun
bccf716a8d
support view=user #323
2019-05-31 16:09:40 -05:00
Umputun
2d38018722
remove commented old rss code
2019-05-19 13:24:54 -05:00
Umputun
350cca894d
move reply retrieval to service, fix incorrect RSS title for reply
2019-05-19 12:56:47 -05:00
Umputun
6de89888c3
make controllers assignment explicit
2019-05-18 12:57:49 -05:00
Umputun
e8e335d104
convert rss controllers to object
2019-05-17 22:05:53 -05:00
Umputun
255b9ad9c8
move config controller to rest
2019-05-17 21:50:23 -05:00
Umputun
2b8a2a082b
move routes group setup to func
2019-05-17 21:50:06 -05:00
Umputun
6e12122e44
blocking also delete comments #332
2019-05-17 13:57:52 -05:00
Umputun
cc37fbef13
switch admin rest to interface with subset of store api
2019-05-16 23:16:08 -05:00
Umputun
622a0bdacf
move all private rest controllers to private struct, restrict store
2019-05-16 23:07:26 -05:00
Umputun
a80c62517f
wrap public rest into struct with safe/read-only interface as store
2019-05-16 21:41:25 -05:00
Umputun
0590246112
move comment alter functionality from rest and admin to store service
2019-05-16 20:49:07 -05:00
Umputun and GitHub
5218f3f37c
Support "since" parameter in "/last" query ( #330 )
...
* strip \n and spaces from retrieved title
* add "since" support to last storage and rest #329
* add info about since to readme
2019-05-16 13:58:37 -05:00
Umputun and GitHub
4adbca22b2
Refactor rest ( #320 )
...
* fresh vendor
* enforce vendor flag with env
* move tree to service package
* move controllers routing to rest.go, remove separate subrouters
* cleanup/formatting
* missing vendor packages
* move rss, img proxy, robots and getstarted to top-level routes
* simplify logger middleware usage
* randomize server test ports
* check for non-admin in admin tests
* lint: minor warns
* admin test to jwt admin
2019-05-07 01:54:19 -05:00
Umputun
6b31741fa3
fix cache enabled for pictures
2019-04-21 01:26:51 -05:00
Umputun
ace1cbc278
allow caching for /img api calls
2019-04-20 19:06:05 -05:00
Umputun
0156c5ac97
add no-cache middleware to api calls #313
2019-04-20 18:49:42 -05:00
Umputun and GitHub
68b892f5e9
Image resize ( #311 )
...
* resize uploaded images #309
* fix temp files created in current dire after image test
* update mod
* missing image test files
* fix failed goroutine test on image-resize submit
* switch to mockery
* missing in mock change
* resize by both ResizeWidth and ResizeHeight
* add IMAGE_RESIZE params to readme
* add latest features to the description
* lint: missing file close in image test
2019-04-17 02:53:35 -05:00
Umputun
3debfff93d
another test rejection due to image type check
2019-04-13 14:44:36 -05:00
Umputun
ac261940d7
fix rest test with rejected non-pic
2019-04-13 14:39:55 -05:00
Umputun
c52e5b3920
expose max image size via config rest #307
2019-04-12 10:13:14 -05:00
Umputun
cecf147fd0
add tests for URLKeys
2019-04-09 00:10:21 -05:00