Commit graph

29 commits

Author SHA1 Message Date
Sergey Shevchenko
c077332721 Refactoring:
- Replaced router by gorrila/mux
- Used viper for environment variables instead of os
- Added option to forbid object deletion
- Added option to list bucket recursively
- Added option to not add donwload headers in getObject
- Added ability to download nested objects
- Object donwloading will open in a new tab

Signed-off-by: Sergey Shevchenko <sergeyshevchdevelop@gmail.com>
2022-03-28 11:37:49 +02:00
Lena Fuhrimann
e6cfc961e1 Upgrade Go to version 1.17 2021-12-30 12:09:42 +01:00
Lena Fuhrimann
2499415fea Upgrade minio-go to version 7 2021-08-17 15:44:49 +02:00
Lena Fuhrimann
8707a5373e Embed templates into Go binary 2021-04-21 11:37:38 +02:00
Lena Fuhrimann
6c5591c969 Add GoReleaser config 2021-04-21 11:02:51 +02:00
Lena Fuhrimann
fdc0ae2dd0 Refactor whole app 2017-05-08 23:29:47 +02:00
Lena Fuhrimann
1536bc9649 Use strict slash 2017-05-03 10:23:46 +02:00
Lena Fuhrimann
ac760626b3 Separate create object and copy object 2017-04-21 10:36:22 +02:00
Lena Fuhrimann
6778d23090 Separate handlers for create object 2017-04-14 19:52:16 +02:00
Lena Fuhrimann
0f521020c8 Remove unneeded index handler 2017-04-10 15:55:47 +02:00
Lena Fuhrimann
a40479a25f Return error from s3 constructor 2017-04-09 22:27:41 +02:00
Lena Fuhrimann
fb10a7ac5a Use constants 2017-04-07 10:07:23 +02:00
Lena Fuhrimann
5cba9329c3 Use constants for HTTP methods 2017-04-07 08:59:24 +02:00
Lena Fuhrimann
60ed368ea6 Add unit test cases 2017-04-03 23:52:41 +02:00
Lena Fuhrimann
4672fc2e1c Remove unneeded packages 2017-04-03 14:08:01 +02:00
Lena Fuhrimann
a9a88552d7 List objects recursively 2017-03-31 09:56:06 +02:00
Lena Fuhrimann
8f47c50f72 Restructure app with modules 2017-03-30 22:48:27 +02:00
Lena Fuhrimann
f4198ac46d Externalize error handling 2017-03-30 14:00:06 +02:00
Lena Fuhrimann
b90b1f9279 Make logger customizable 2017-03-18 01:05:21 +01:00
Lena Fuhrimann
ae39b80fe2 Remove unnecessary named import 2017-03-17 23:57:58 +01:00
Lena Fuhrimann
dadd54eb01 Export S3 client of Server 2017-03-12 16:07:59 +01:00
Lena Fuhrimann
c96a874900 Do not use strict slash 2017-03-10 11:21:46 +01:00
Lena Fuhrimann
27bc86490e Use adapter pattern for handlers 2017-03-10 11:12:20 +01:00
Lena Fuhrimann
5466c615aa Move routes to main function 2017-03-10 10:54:30 +01:00
Lena Fuhrimann
3fc3b15562 Don't use global variables 2017-03-09 21:20:40 +01:00
Lena Fuhrimann
a4088e1408 Externalize S3 config from main 2017-02-22 11:18:20 +01:00
Lena Fuhrimann
7c0ca14525 Use gorilla/mux 2016-12-20 19:47:36 +01:00
Lena Fuhrimann
b822361b35 Redirect index to /buckets 2016-12-20 19:35:27 +01:00
Lena Fuhrimann
03e9afc888 Initial commit 2016-12-18 22:54:21 +01:00