Commit Graph

30 Commits

Author SHA1 Message Date
mappu 36b4b124f7 s3 backend support 2023-05-19 19:15:15 +12:00
mappu 15c02efe96 preview: accept context parameter 2023-05-19 19:15:15 +12:00
mappu caf521c318 contented: new option to cap the filesize for thumbnailing (default 20MiB) 2023-05-19 19:06:57 +12:00
mappu 77a4061cdd contented: move flag parsing, consts into block declaration 2023-05-19 19:06:07 +12:00
mappu 64b900d90c server: add readonly mode to block uploads 2023-05-17 19:08:24 +12:00
mappu 4294738337 albums: basic support (json array using contented/album mime-type) 2023-05-17 18:52:13 +12:00
mappu cb29cf83ac server: replace go-bindata with stdlib embed.FS 2023-05-17 17:24:47 +12:00
mappu 11003e010d vendor: update bolt v1.3.1 -> etcd.io/bbolt v1.3.7 2023-05-17 17:24:00 +12:00
mappu b08f1c33d5 thumbs: allow configuring limit on simultanous thumbs (default 16) 2018-09-09 18:41:37 +12:00
mappu c958c57794 thumb: only generate one thumbnail concurrently 2018-09-09 18:31:25 +12:00
mappu 0a338c4568 add OpenGraph meta tags, for image preview inside chat apps like Telegram 2018-06-04 17:22:28 +12:00
mappu cd60e4c855 add diskFilesWorldReadable option to control 0644/0600 choice for new files 2017-11-18 14:15:31 +13:00
mappu 930869759b add a preview page 2017-11-18 13:48:34 +13:00
mappu a6e495f74d initial thumbnailing support 2017-11-18 13:11:39 +13:00
mappu 40aa6c8917 option to disable the homepage 2017-10-15 19:16:22 +13:00
mappu 3ca73e3221 option for trustXForwardedFor 2017-10-15 19:09:14 +13:00
mappu 5b1a94c735 fix CORS 2017-10-08 17:06:24 +13:00
mappu 75c3a98f33 fix no default index page 2017-10-08 16:54:26 +13:00
mappu 74bccdbd84 build fixes for previous 2017-10-08 16:43:13 +13:00
mappu 8795db5150 rudimentary CORS support 2017-10-08 16:42:06 +13:00
mappu c7489df876 server: use embedded static resources 2017-10-08 16:34:11 +13:00
mappu effccdd21a makefile: initial commit 2017-10-08 16:30:52 +13:00
mappu 6c21e2a7fa rename /view/ to /get/, reorganise some server code 2017-10-08 16:01:41 +13:00
mappu 9e6ffc5d82 short URLs 2017-10-08 15:53:00 +13:00
mappu d9e4c9b420 server: fix truncating last IP address digit 2017-10-08 15:25:01 +13:00
mappu 7f18a3bac0 server: optional speed limit 2017-10-08 15:06:46 +13:00
mappu f6b9fd2536 server: handle multiple uploads 2017-10-08 14:10:15 +13:00
mappu 7451d39d66 move to separate static content, begin restructuring into sdk-oriented design 2017-10-07 18:05:58 +13:00
mappu dfc86893a2 separate metadata/upload into separate files, handle mime types safely, preserve names on download (only) 2017-10-06 20:19:02 +13:00
mappu 5885b58dcd initial commit 2017-10-06 20:02:57 +13:00