Umputun
133f5fc3f2
image removal from staging increased to 5*EditTTL
...
this is needed in case if user worked on the comment for long time
until submitting in order to avoid false-positive cleanup from the
staging
2019-06-08 21:54:00 -05:00
Umputun and GitHub
3a266111fa
Merge pull request #338 from Reeywhaar/update-deps-2019-06
...
Update deps 2019 06
2019-06-05 16:33:59 -05:00
Vyrtsev Mikhail
9140e87152
fix lint-staged ignoring warnings
2019-06-05 23:36:24 +03:00
Vyrtsev Mikhail
c8d39a9286
update frontend deps
2019-06-05 23:28:57 +03:00
Umputun
20764b7b4e
enclose streamer in rest's struct
2019-06-05 02:14:34 -05:00
Umputun
a8b2dee85c
update deps
2019-06-04 23:32:23 -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
d1cf9aecb3
make stream refresh slower, every 5s
2019-06-03 13:02:12 -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
bddb287e68
copy licence and readme to the curr directory #335
2019-05-26 22:03:27 -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
0142a65441
consolidate engine interfaces
2019-05-18 01:48:11 -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 and GitHub
7b8bc80468
Merge pull request #331 from umputun/alter
...
Alter
2019-05-17 02:50:32 -05:00
Umputun
00166fe57c
add test to alter comment
2019-05-17 02:40:38 -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
b9c80e64d0
add engine mock
2019-05-16 21:06:48 -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
Misha Vyrtsev and Umputun
61e594786c
Define remark host in runtime ( #325 )
...
* convert closest-polyfill to ts
* make remark respect host property in client setup
v1.3.2
2019-05-13 10:51:17 -05:00
Misha Vyrtsev and Umputun
53f2f82e05
Fix "delete me" feature ( #326 )
...
* wip: fix "delete me" feature
* minor fixes
2019-05-13 09:52:28 -05:00
Umputun
7d01165d1e
overwrite default "token" for auth ta avoid conflict with deleteme #324
2019-05-12 21:24:59 -05:00
Umputun
3d7f08457a
mod files after revendor
2019-05-12 21:23:41 -05:00
Umputun
489b8a36e3
revendor with 0.5.2 of auth, with ability to redefine token query
2019-05-12 21:23:13 -05:00
Umputun
4cf9bf2b63
add deleteme rest example
2019-05-12 13:26:47 -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
1616f43f0c
clean empty staging directory
v1.3.1
2019-05-04 12:39:24 -05:00
Umputun
cc49ee0946
fix uninitialized imageapi pattern string
2019-05-04 12:10:39 -05:00
Umputun
a9a368e02d
lint: typos
backend/v1.3.0
2019-04-28 13:13:12 -05:00
Umputun and GitHub
02b27d2c12
Merge pull request #317 from Reeywhaar/mv-web-to-frontend
...
Rename "web" to "frontend"
v1.3.0
2019-04-28 12:07:50 -05:00
Vyrtsev Mikhail
24860e124e
mv web -> frontend
2019-04-28 19:27:36 +03:00
Umputun and GitHub
f7d2bf976e
Merge pull request #316 from Reeywhaar/fix-comment-input-top-margin
...
Fix comment input top margin in editing or replying mode
2019-04-21 16:03:22 -05:00
Vyrtsev Mikhail
b7ece816a4
fix comment input top margin in editing or replying mode
2019-04-21 23:13:30 +03:00
Umputun and GitHub
f4b0e0ca5f
Merge pull request #315 from Reeywhaar/handle-error-http-code
...
Handle specific rest status codes in fetcher
2019-04-21 15:04:32 -05:00
Vyrtsev Mikhail
a37761fe9e
handle specific rest status codes in fetcher
2019-04-21 22:52:44 +03:00
Umputun
6b31741fa3
fix cache enabled for pictures
2019-04-21 01:26:51 -05:00