Commit Graph

474 Commits

Author SHA1 Message Date
a5da2fbd40 Add Gitea action for CI
All checks were successful
Tests / test (6, 2.7) (pull_request) Has been cancelled
Tests / test (6, 3.0) (pull_request) Has been cancelled
Tests / test (6, 3.1) (pull_request) Has been cancelled
Tests / test (7, 2.7) (pull_request) Has been cancelled
Tests / test (7, 3.0) (pull_request) Has been cancelled
Tests / test (7, 3.1) (pull_request) Has been cancelled
2023-11-21 15:45:13 +01:00
df1a3e6512 Add Drone CI config
Some checks failed
continuous-integration/drone Build is failing
2023-11-21 15:38:15 +01:00
8b6f201a0b Merge pull request 'Switch to AWS v4 signatures' (#5) from feature/aws_v4_signatures into master
All checks were successful
Tests / test (6, 2.7) (push) Has been cancelled
Tests / test (6, 3.0) (push) Has been cancelled
Tests / test (6, 3.1) (push) Has been cancelled
Tests / test (7, 2.7) (push) Has been cancelled
Tests / test (7, 3.0) (push) Has been cancelled
Tests / test (7, 3.1) (push) Has been cancelled
Reviewed-on: #5
2023-11-21 14:19:38 +00:00
209fcca5ea Make headers argument optional 2023-11-21 15:18:13 +01:00
589dcf7fa2 Update example config 2023-11-16 12:39:46 +01:00
91cadbf228 Switch Docker image back to Ruby 3.1 2023-11-16 11:45:07 +01:00
d09c6e7a39 Use production env for Docker image 2023-11-16 11:41:57 +01:00
93fd1ecd5f Merge pull request 'Add Dockerfile' (#2) from dev/add_dockerfile into master
Reviewed-on: #2
2023-11-16 10:40:51 +00:00
024f516a9d Expose Content-Type header 2023-11-16 11:39:33 +01:00
96417e3884 Use development env and Webrick in dev run script 2023-11-16 11:27:15 +01:00
b7ff3e7d42 Remove debug output, rescue 2023-11-16 10:27:58 +01:00
02820203f0 Switch to AWS V4 signatures 2023-11-15 19:05:21 +01:00
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