Umputun
07b16c46dc
unescape quotes from user name #415
2019-08-20 00:07:13 -05:00
Umputun and GitHub
2e90b6172b
Votes ip ( #416 )
...
* change vote params to request
* limit voting for the same ip
* limit same ip vote duration
* add same ip vote check for directions
* wire RestrictVoteIP and duration
* add votes-ip and votes-ip-time description
2019-08-19 14:04:12 -05:00
Umputun
9a5684de71
rename Blocked to better named BlockedUsers
2019-08-19 01:37:56 -05:00
Umputun
17baa0cff6
fix admin.admins call
2019-08-01 01:49:09 -05:00
Umputun
3d883ba4bb
clean rpc leftovers
2019-07-31 22:49:50 -05:00
Umputun
3c21cba9c1
switch core to go-pkgz/jrpc
2019-07-31 18:38:53 -05:00
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
8759facb27
adjust alterComment test for #377
2019-07-21 11:35:45 -05:00
Umputun
a60072564e
temporary blocking doesn't need to delete/hide comments #377
2019-07-21 11:30:11 -05:00
Umputun
dfaf4d13d3
add parent summary to rss description #339
2019-07-14 00:00:02 -05:00
Umputun
8ddfa56b82
add unescape table processing after md parsing #354
2019-06-30 12:45:15 -05:00
Umputun
c224676ccd
enable Smartypants for md rendering
2019-06-29 21:58:50 -05:00
Umputun
b95179303b
enforce empty [] response on flag's list instead of null #356
2019-06-29 12:01:55 -05:00
Umputun
c09eaa6e00
rename remote to rpc
2019-06-27 14:29:46 -05:00
Umputun
06bac880cb
lint: more test warns
2019-06-25 20:06:30 -05:00
Umputun
f6e69e86bb
lint: test warnings
2019-06-25 20:06:30 -05:00
Umputun
01bdf4d839
clear mongo leftovers
2019-06-25 20:06:30 -05:00
Umputun
82ce19fd3c
larger limit for remote srv throttler
2019-06-25 20:06:30 -05:00
Umputun
348bede009
fix recreation of bdb in delete
2019-06-25 20:06:30 -05:00
Umputun
126d2d93da
adjust remote tests, remove legacy mongo tests
2019-06-25 20:06:30 -05:00
Umputun
db6c387fe9
support remote server group handler
2019-06-25 20:06:30 -05:00
Umputun
f30937c55e
fix empty (no args) remote calls
2019-06-25 20:06:30 -05:00
Umputun
b30492556f
add remote implementation of admin store
2019-06-25 20:06:30 -05:00
Umputun
988206bed4
change remote interface to struct requests
2019-06-25 20:06:30 -05:00
Umputun
bab09effa2
error responses of json api with json, time out on remote server close
2019-06-25 20:06:30 -05:00
Umputun
e307722901
switch list flag to struct param
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
9f875394e8
remote server covered with tests
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
375e4a6dec
initial ver of remote server
2019-06-25 20:06:30 -05:00
Umputun
d8a2bb2f7b
split remote to common protocol package and engine implemetation
2019-06-25 20:06:30 -05:00
Umputun
c2b56eae30
remote client adjusted to new engine flavour
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
92d9b7703d
restore all service coverage with new engine
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
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
350cca894d
move reply retrieval to service, fix incorrect RSS title for reply
2019-05-19 12:56:47 -05:00
Umputun
0142a65441
consolidate engine interfaces
2019-05-18 01:48:11 -05:00
Umputun
00166fe57c
add test to alter comment
2019-05-17 02:40:38 -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
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
2019-05-04 12:39:24 -05:00
Umputun
cc49ee0946
fix uninitialized imageapi pattern string
2019-05-04 12:10:39 -05:00
Umputun
619e9fec3b
clean image tests leftovers from tmp
2019-04-17 13:38:29 -05:00
Umputun
15a8fb946d
lint: err shadowing
2019-04-17 13:36:16 -05:00
Umputun
c46a21af72
simplify image Save logic by switching to loaded []byte
...
note: resize loaded to memory anyway
2019-04-17 13:35:41 -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
2a53a54a78
allow image/webp
...
https://github.com/umputun/remark/pull/307#issuecomment-482873793
2019-04-13 14:52:21 -05:00