Umputun and GitHub
776b9117fc
CI changes ( #457 )
...
* make tests more resilient
* adjust drone for v1.x and dev-box, remove travis support
* add backend build step on branch for drone
* fix from email
* change notif email
* less demanding test wait
* add settings section to drone plugins
* adjust branch build
* convert all drone ci docker confs
* rename drone targets
2019-10-31 20:20:18 -05:00
Vdimir and Umputun
b7045d9771
Add bolt image storage ( #449 )
...
* Add bolt image store support
* Fix lint errors
* Use separate bolt buckets for staging and commited
* Comment bolt store public entities
* Fix spelling
2019-10-22 02:35:48 -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
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
Umputun
6bdbcb8351
lint: missing check for header load error
2019-04-13 14:48:47 -05:00
Umputun
d72154b3c8
make shorted image uids, check image type and restrict to png, gif and jpeg only #285
2019-04-13 14:27:40 -05:00
Umputun
c52e5b3920
expose max image size via config rest #307
2019-04-12 10:13:14 -05:00
Umputun
0f433722da
disable picture upload for anonymous
2019-04-04 01:53:47 -05:00
Umputun
4f67afffb1
adjust partition tests
2019-03-25 02:45:59 -05:00
Umputun
2a64a71eb8
lint: missing err check in test
2019-03-25 01:15:51 -05:00
Umputun
ded10dde6c
integration test for create comment with images
2019-03-24 00:23:46 -05:00
Umputun
8aa24341c3
make image ids extraction safe for pos-edits, delays comment parsing
2019-03-23 23:30:53 -05:00
Umputun
db3f22d9fd
change image submit to single goroutine with active wait. flush all submitted on close
2019-03-23 19:13:58 -05:00
Umputun
58ec50e613
wire image submit to store.Service
2019-03-23 18:33:19 -05:00
Umputun
c990b05c21
add image service with delayed commit. Move cleanup loop to service
2019-03-23 14:54:45 -05:00
Umputun
de292a4146
add extraction of image ids
2019-03-23 03:47:07 -05:00
Umputun
b49e242891
wire image staging and image cleanup
2019-03-23 03:06:24 -05:00
Umputun
eb79c3d9f9
implement two-stage image commit with background cleanup
2019-03-23 02:56:58 -05:00
Umputun
debd914e39
adjust image comments
2019-03-22 03:12:54 -05:00
Umputun
eb3dd467ad
change image location to user based, make random uuid for file name
2019-03-22 03:03:41 -05:00
Umputun
bc714480d4
lint: multiple shadowed errors, missed comments for exported methods
2019-03-19 20:54:05 -05:00
Umputun
3c3097cf77
add more image tests, generalize prep for those tests
2019-03-11 14:09:28 -05:00
Umputun
00d3930981
image hashing to sha256
2019-03-11 01:36:54 -05:00
Umputun
3dc20bcbb5
image comments
2019-03-11 01:18:36 -05:00
Umputun
639f6c15f3
wire image save/load to rest and cmd
2019-03-11 01:16:25 -05:00
Umputun
a1450cff57
add image storage
2019-03-10 19:40:14 -05:00