50 Commits

Author SHA1 Message Date
024f516a9d
Expose Content-Type header 2023-11-16 11:39:33 +01:00
53eb5461fe
Add ENV vars to config file, switch to ERB template 2023-10-26 16:17:49 +02:00
e7ac723545
Allow clients to cache OPTIONS results for 2 hours
Clients that use Fetch can cache the results of OPTIONS requests, based
on the value of `Access-Control-Max-Age`.

https://fetch.spec.whatwg.org/#http-access-control-max-age

/ht @DougReeder: https://github.com/remotestorage/armadietto/pull/86
2022-05-13 14:21:54 +02:00
b56eb30180
Remove Swift storage adapter 2022-05-13 13:07:50 +02:00
Greg Karékinian
ee16f5deb1 Add new headers
Add Range to allow headers, Content-Range to expose headers and the
Accept-Ranges header
2020-01-02 18:21:07 +01:00
Greg Karékinian
ca0127d6a6 Rename the S3 provider to just S3 2018-04-30 15:46:18 +02:00
Greg Karékinian
86dc45f444 Add support for S3 through the REST API
This is currently using the old S3 authentication
(https://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html),
in order to support Exoscale Storage

Refs #112
2018-04-26 13:17:43 +02:00
Greg Karékinian
ac6bec48c4 Remove all Riak code and its dependencies
Closes #75
2018-04-16 11:54:32 +02:00
Garret Alfert
23f0908f38 No need for Expires header anymore 2016-06-02 18:54:49 +02:00
Greg Karékinian
ad687839b0 Send token to Sentry for debugging purposes 2015-09-30 16:04:43 +02:00
Greg Karékinian
6f3b688b84 Reload token when it was read from file more than 1 hour ago 2015-09-28 17:15:03 +02:00
Greg Karékinian
898f59ba83 Handle invalid UTF8 in path
... by not using ActiveSupport's broken `String#blank?` anymore
2015-07-01 17:26:43 +02:00
Greg Karékinian
0893c544d5 Don't send 404 to Sentry 2015-05-04 15:50:40 +02:00
Greg Karékinian
3b326d6dbf Add Sentry for exception tracking 2015-04-29 20:13:04 +02:00
Greg Karékinian
35c04f85e4 Add a Swift remoteStorage provider 2015-04-29 20:13:04 +02:00
Greg Karékinian
30a21db1ad Expose Content-Length header
Refs #50
2015-03-13 11:43:35 +01:00
Garret Alfert
8073eec851 HEAD requests for directory listings 2014-01-09 20:03:34 +01:00
Garret Alfert
f8b1ad730a HEAD requests for documents 2014-01-09 19:26:36 +01:00
Garret Alfert
fd8b2059b2 Value for 'Expires' header needs to be a string 2013-12-09 01:57:26 +01:00
Garret Alfert
5ddde402a8 Set 'Expires' header to 0 for all responses 2013-12-08 22:59:03 +01:00
Garret Alfert
a470b37c2c Allow to expose ETag header via CORS 2013-10-27 22:29:06 +01:00
Garret Alfert
2a2cc0a3ec Allow If-Match and If-None-Match headers via CORS 2013-10-27 22:28:43 +01:00
Garret Alfert
6259e22442 Disable logging only for staging and production 2013-10-07 15:21:43 +02:00
Garret Alfert
6770a8cfb1 Move Rack::CommonLogger into it's own file 2013-09-19 16:09:18 +02:00
Garret Alfert
53256ecc00 Use class instead of module 2013-09-19 16:09:12 +02:00
Garret Alfert
75915556cb Simplify definition of entry points 2013-09-19 16:09:04 +02:00
Garret Alfert
1a2933bf48 Allow to put app in maintenance mode (closes #27) 2013-07-25 18:46:51 +02:00
Garret Alfert
cd8d51d8b7 Disable Rack logging completely 2013-07-16 17:13:19 +02:00
1be4020991 Use config_file, include backend module depending on config (closes #8) 2013-04-25 23:11:25 +02:00
39355ff0f2 Don't allow directory listings of the public directory without proper permissions (refs #19) 2012-10-29 14:46:11 +01:00
84b9e0561a Set Cache-Control header (closes #9) 2012-10-07 14:20:38 +02:00
daf1e4b4ac Add staging environment 2012-10-06 22:01:12 +02:00
a21bdab0fa Add support for the root directory 2012-10-01 03:12:29 +02:00
d88ad2eb20 Disable Rack-Protection 2012-09-30 21:50:14 +02:00
e815cbaaff Allow OPTIONS requests for directory listings 2012-09-28 14:46:42 +02:00
ebe499211a Support directory listings 2012-09-26 11:10:02 +02:00
3d573b51ac Support for new read/write permission system 2012-09-25 17:22:25 +02:00
956f6fd3b3 Add support for custom content types 2012-06-10 16:16:34 +02:00
202508ca95 Remove obsolete resources 2012-03-17 13:40:39 +01:00
c1d9ac39ba Add Airbrake support 2012-03-06 16:22:57 +01:00
906ab23a89 Disable logging in production 2012-03-03 17:06:11 +01:00
0c7721a710 Enable logging in production 2012-03-01 23:09:22 +01:00
967c9e34da Set access-control header to request origin header if set 2012-02-29 19:04:01 +01:00
24c5442c78 Don't authorize OPTIONS requests, allow Origin request header 2012-02-29 18:44:49 +01:00
46c230d0d7 Add OPTIONS resource, allow Content-Type header 2012-02-29 18:30:47 +01:00
30cd0536b2 Allow all headers with CORS 2012-02-29 18:18:01 +01:00
e338e93f5b Add CORS headers 2012-02-29 15:17:49 +01:00
64698b8503 Make config settable from outside the app 2012-02-29 14:08:03 +01:00
b14a715c2d Remove debug resource 2012-02-27 21:11:52 +01:00
0d15277178 Initial commit 2012-02-27 16:32:12 +01:00