462 Commits

Author SHA1 Message Date
189c304a08
Add example script for running server in dev 2023-11-15 19:03:33 +01:00
273768ea69
Add Dockerfile 2023-11-01 16:21:34 +01:00
648c3943e8
Add redis db config 2023-10-26 17:31:52 +02:00
9aed3f7cca
Update README 2023-10-26 16:25:07 +02:00
044bf1c3eb
Remove purdytest, update Minitest class name 2023-10-26 16:17:52 +02:00
53eb5461fe
Add ENV vars to config file, switch to ERB template 2023-10-26 16:17:49 +02:00
e90ed70002
Remove Webrick method in favor of stdlib 2023-10-26 15:58:04 +02:00
5b8c1f1e9d
Update tested Redis versions 2023-10-26 15:57:23 +02:00
49614544db
Update dependencies
Requires Ruby 2.7+
2023-10-26 15:54:22 +02:00
285073f7a7
Merge pull request #151 from 5apps/dependabot/bundler/rack-2.2.3.1
Bump rack from 2.2.3 to 2.2.3.1
2022-05-27 19:52:49 +02:00
dependabot[bot]
7fc86fe9ae
Bump rack from 2.2.3 to 2.2.3.1
Bumps [rack](https://github.com/rack/rack) from 2.2.3 to 2.2.3.1.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.3...2.2.3.1)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 16:42:50 +00:00
38b8a4d3eb
Merge pull request #150 from 5apps/feature/cors_preflight_max_age
Allow clients to cache OPTIONS results for 2 hours
2022-05-13 19:21:08 +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
f956501dba
Merge pull request #149 from 5apps/chore/deprecation_warnings
Fix deprecation warnings
2022-05-13 13:58:56 +02:00
9c560eb978
Fix circular require 2022-05-13 13:55:16 +02:00
ce7ebff73b
Fix deprecation warnings in specs 2022-05-13 13:52:21 +02:00
0dd63bf833
Merge pull request #148 from 5apps/chore/update_dependencies
Update dependencies
2022-05-13 13:47:10 +02:00
be9f304960
Update dependencies 2022-05-13 13:44:41 +02:00
f6d8514534
Update build status badge 2022-05-13 13:35:47 +02:00
f1111cb296
Remove Travis CI configs 2022-05-13 13:34:36 +02:00
94211c0371
Finish CI setup 2022-05-13 13:33:54 +02:00
772d7f4ee9
Merge pull request #147 from 5apps/chore/remove_swift_adapter
Remove Swift storage adapter
2022-05-13 13:23:51 +02:00
936158d0a3
Don't test on Ruby 3.0 2022-05-13 13:20:10 +02:00
dabbb5aa93
Set up CI via Actions 2022-05-13 13:16:43 +02:00
b56eb30180
Remove Swift storage adapter 2022-05-13 13:07:50 +02:00
Greg Karékinian
c9d69c706d
Merge pull request #140 from 5apps/dependabot/bundler/rack-2.2.3
Bump rack from 2.0.8 to 2.2.3
2020-06-25 16:02:00 +02:00
dependabot[bot]
8da13cb2e5
Bump rack from 2.0.8 to 2.2.3
Bumps [rack](https://github.com/rack/rack) from 2.0.8 to 2.2.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.0.8...2.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-24 22:54:09 +00:00
153176fb15
Merge pull request #138 from 5apps/feature/137-validate_content-type_put
Validate the Content-Type on PUT requests
2020-04-15 15:09:27 +02:00
Greg Karékinian
c2d5fc9e07 Move the Content-Type format validation with the other validations 2020-04-15 14:23:12 +02:00
Greg Karékinian
71d138894e Validate the Content-Type on PUT requests
Return a 415
(https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415) when the
Content-Type does not look like a valid MIME type (in the type/subtype
format)

Refs #137
2020-04-15 13:49:33 +02:00
ab673f1d43
Merge pull request #134 from 5apps/feature/82-content_range_poc
Content-Range support
2020-01-08 14:53:10 -05:00
Greg Karékinian
1824766a03 Implement Range support for the Swift provider, with specs 2020-01-06 14:03:26 +01:00
Greg Karékinian
331fdbe1c7 Add specs for public resources, including getting partial content 2020-01-03 18:17:19 +01:00
Greg Karékinian
8c95e804ca Add support for partial responses
Set the Content-Range response header and return a 206 status if it is a
partial response (a Range was passed)
2020-01-02 18:24:12 +01:00
Greg Karékinian
da7f077300 Pass the Range HTTP header to GET requests if present 2020-01-02 18:23:47 +01: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
a5691c0660
Merge pull request #132 from 5apps/chore/update_gems
Update gems and remove global expectations from the specs
2020-01-02 16:35:26 +01:00
Greg Karékinian
585465f37b Do not test on Ruby 2.4 anymore
activesupport 6 requires Ruby 2.5
2019-12-19 11:46:03 +01:00
Greg Karékinian
1694e3cdc3 Merge branch 'master' into chore/update_gems 2019-12-19 11:45:39 +01:00
f1b66d3bac
Merge pull request #133 from 5apps/dependabot/bundler/rack-2.0.8
Bump rack from 2.0.7 to 2.0.8
2019-12-19 10:37:49 +01:00
dependabot[bot]
12b9a0d68b
Bump rack from 2.0.7 to 2.0.8
Bumps [rack](https://github.com/rack/rack) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.0.7...2.0.8)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-19 00:33:36 +00:00
Greg Karékinian
01927fd5ca Remove global expectations that were deprecated in minitest 5.12.0
They will be removed from minitest 6

Changelog:
https://github.com/seattlerb/minitest/blob/master/History.rdoc#5120--2019-09-22
2019-11-13 16:36:29 +01:00
Greg Karékinian
01a4712187 Update gems 2019-11-13 16:32:38 +01:00
Greg Karékinian
500af513e8 Update gems (#131)
* Update the redis gem

Redis 4.1.1 includes https://github.com/redis/redis-rb/pull/829 which
fixing trying to connect to slaves marked as down

* Update the rainbows gem

* Update the mime-types and mime-types-data gems

* Update the webmock, rack-test and rake gems

* Update the sentry-raven gem

* Update the activesupport gem

* Update the backports gem

* Update the domain_name gem

* Update the method_source gem
2019-07-31 11:51:33 +02:00
Greg Karékinian
7da2431ccc
Merge pull request #130 from 5apps/feature/more_rubies_specs
Run the specs on Ruby 2.5 and 2.6 too
2019-01-31 12:02:50 +01:00
Greg Karékinian
00c17743b6 Run the specs on Ruby 2.5 and 2.6 too 2019-01-31 11:51:16 +01:00
Greg Karékinian
a161302522
Merge pull request #129 from 5apps/gem_update
Update sinatra and rack gems
2019-01-16 17:14:43 +01:00
Greg Karékinian
01737f8b58 Update sinatra and rack gems
Security updates
2019-01-16 17:11:23 +01:00
0b1a62f49a
Merge pull request #127 from 5apps/bugfix/fix_get_request_headers
Set the response headers from Redis metadata on GET requests
2018-11-26 12:11:47 +01:00
Garret Alfert
394c802ec2 Fix spec
ETag is used from Redis metadata now, not from the storage server's
response.
2018-11-26 11:57:41 +01:00