1331 Commits

Author SHA1 Message Date
Joachim Van Herwegen
f149e3d884 chore: Update date in templates 2023-04-04 11:46:02 +02:00
zg009
f0596c2eb8
feat: Support conditions for GET/HEAD requests
* fix: updated WrappedExpiringStorage tests and timer.unref calls

* fix: removed finalizable configs and inheritors that only used timer

* fix: updated test function to test setSafeInterval and timer.unref

* fix: added NotModifiedHttpError class

* fix: added 304 error test to HttpError test file

* fix: 304 errors when making read request with matching ETag

* Update src/util/errors/NotModifiedHttpError.ts

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

* fix: updated tests

* fix: try notMatchesEtag in test

* fix: DataAccessorBasedStore test passes

* fix: removed conditions check and added extra test

---------

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
2023-03-28 09:24:15 +02:00
dependabot[bot]
2780e88acf chore(deps): bump actions/checkout from 3.4.0 to 3.5.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 09:00:03 +02:00
Pieter Heyvaert
50bb8cf923
docs: add responses when client credentials are incorrect
* docs: add responses when client credentials are incorrect

* fix: comment Joachim

* Revert "fix: comment Joachim"

This reverts commit aac6c738318e874101be044523a7679d53b74617.

* fix: my own damn mess
2023-03-24 13:45:49 +01:00
dependabot[bot]
b5106ceaee chore(deps): bump actions/stale from 7 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 08:28:55 +01:00
dependabot[bot]
d5c8d9e2ff chore(deps): bump actions/checkout from 3.3.0 to 3.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 09:19:56 +01:00
zg009
b6faed0db3
fix: Updated WrappedExpiringStorage to use timer.unref
* fix: updated WrappedExpiringStorage tests and timer.unref calls

* fix: removed finalizable configs and inheritors that only used timer

* fix: updated test function to test setSafeInterval and timer.unref
2023-03-13 08:30:42 +01:00
Joachim Van Herwegen
63fd062f16 fix: Output required OAuth error fields 2023-03-07 08:36:58 +01:00
Joachim Van Herwegen
7eb938044d chore: Update caniuse-lite dependency 2023-02-27 11:13:30 +01:00
Joachim Van Herwegen
bb7427842c fix: Do not add port 80 to default base URL 2023-02-13 10:11:42 +01:00
Joachim Van Herwegen
c332412074
feat: Provide clear error message for unknown clients
* feat: Provide clear error message for unknown clients

* docs: Rephrase error message.

* docs: Update error message to reference local storage

---------

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
2023-02-10 10:13:53 +01:00
dependabot[bot]
948dad7bcd chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 12:01:05 +01:00
Joachim Van Herwegen
3bb8001c72 docs: Reference correct configuration entry 2023-02-03 11:32:07 +01:00
Pasini Luca
2efc141baa feat: SeededPodInitializer log exceptions as warning instead of crashing 2023-02-03 10:27:58 +01:00
Joachim Van Herwegen
5acddcb5b2
docs: Add Zenodo badge in README 2023-02-01 15:34:53 +01:00
Joachim Van Herwegen
9a64095205 chore(release): Release version 6.0.0-alpha.0 of the npm package v6.0.0-alpha.0 2023-02-01 11:14:14 +01:00
Joachim Van Herwegen
d9c0e9b043 chore(release): Update configs to v6.0.0 2023-02-01 10:54:37 +01:00
Joachim Van Herwegen
7cc0e3fbcc Merge branch 'main' into versions/6.0.0
# Conflicts:
#	src/init/ServerInitializer.ts
#	src/server/BaseHttpServerFactory.ts
#	src/server/HttpServerFactory.ts
#	src/server/WebSocketServerFactory.ts
#	test/unit/server/BaseHttpServerFactory.test.ts
2023-02-01 10:13:04 +01:00
Joachim Van Herwegen
0d6b895df3 feat: Hash lock-related identifiers 2023-02-01 09:47:13 +01:00
Joachim Van Herwegen
163f5e8f17 chore: Remove changelog script that converts titles
The new version of commit-and-tag-version does this automatically now
2023-02-01 09:34:31 +01:00
dependabot[bot]
7dc5eede43 chore(deps-dev): bump commit-and-tag-version from 10.1.0 to 11.0.0
Bumps [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) from 10.1.0 to 11.0.0.
- [Release notes](https://github.com/absolute-version/commit-and-tag-version/releases)
- [Changelog](https://github.com/absolute-version/commit-and-tag-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/absolute-version/commit-and-tag-version/compare/v10.1.0...v11.0.0)

---
updated-dependencies:
- dependency-name: commit-and-tag-version
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 09:27:09 +01:00
dependabot[bot]
700668ee3e chore(deps): bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 10:18:18 +01:00
dependabot[bot]
aa5aaa3262 chore(deps-dev): bump simple-git from 3.15.0 to 3.16.0
Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.15.0 to 3.16.0.
- [Release notes](https://github.com/steveukx/git-js/releases)
- [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md)
- [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.16.0/simple-git)

---
updated-dependencies:
- dependency-name: simple-git
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 08:37:51 +01:00
dependabot[bot]
93464ba122 chore(deps): bump cookiejar from 2.1.3 to 2.1.4
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 11:35:27 +01:00
Joachim Van Herwegen
915140b73f chore: Fix linting issue in SECURITY.md 2023-01-23 10:38:58 +01:00
Joachim Van Herwegen
d21a10f0bc
chore: Create SECURITY.md 2023-01-23 10:06:31 +01:00
Joachim Van Herwegen
ba19a42a19 chore: Update Components.js dependency to v5.3.2 2023-01-19 11:06:06 +01:00
Joachim Van Herwegen
7422fbffe7 feat: Take preferences as input in RepresentationConvertingStore 2023-01-11 16:03:30 +01:00
Gertjan De Mulder
473902b85d
chore: Add linux/arm/v8 to docker build 2023-01-11 14:19:34 +01:00
dependabot[bot]
1e7efcaeb9 chore(deps): bump @types/uuid from 8.3.4 to 9.0.0
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.3.4 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 11:11:28 +01:00
dependabot[bot]
53fcf0117e chore(deps): bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 11:07:33 +01:00
dependabot[bot]
b59245d111 chore(deps): bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 10:55:26 +01:00
dependabot[bot]
a8b3ba0cf8 chore(deps): bump json5 from 1.0.1 to 1.0.2
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 10:54:50 +01:00
Joachim Van Herwegen
2664771133 docs: Fix API doc URL 2022-12-15 13:04:11 +01:00
dependabot[bot]
2ca3c56940 chore(deps): bump actions/checkout from 3.1.0 to 3.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 08:23:23 +01:00
Joachim Van Herwegen
f0c7c60619 docs: Add links to tutorial repo
Plus some cleanup in the main README
2022-12-13 08:12:27 +01:00
Joachim Van Herwegen
6536d90d9c chore: Build API docs after mkdocs
Building mkdocs overwrites the entire folder, thereby replacing the typedocs.
Hence the typedocs need to be written afterwards
2022-12-13 08:03:19 +01:00
Joachim Van Herwegen
84c532ba96 chore: Fix mkdocs major version issue
Includes an update to set-output as that will be deprecated in the future
2022-12-12 11:45:49 +01:00
Ruben Verborgh
1441ef9d25 docs: Fix syntax highlighting. 2022-12-09 09:52:18 +01:00
dependabot[bot]
2d5563e292 chore(deps): bump qs and formidable
Bumps [qs](https://github.com/ljharb/qs) and [formidable](https://github.com/node-formidable/formidable). These dependencies needed to be updated together.

Updates `qs` from 6.9.3 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.9.3...v6.11.0)

Updates `formidable` from 2.0.1 to 2.1.1
- [Release notes](https://github.com/node-formidable/formidable/releases)
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-formidable/formidable/commits)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: formidable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 09:18:59 +01:00
dependabot[bot]
ba7b4df5fc chore(deps-dev): bump simple-git from 3.12.0 to 3.15.0
Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.12.0 to 3.15.0.
- [Release notes](https://github.com/steveukx/git-js/releases)
- [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md)
- [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.15.0/simple-git)

---
updated-dependencies:
- dependency-name: simple-git
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 08:57:41 +01:00
Arthur Joppart
5c79e60238
feat: return clear error when multiple values for a cli flag are given
* feat: return clear error when multiple values for a cli flag are given

* chore: change function signature

* test: add testcase for array type yargs parameter
2022-12-05 13:36:54 +01:00
Jesse Wright
d61bf9bf19 feat: allow css configuration from package.json or config file 2022-11-24 14:25:33 +01:00
Joachim Van Herwegen
c46d01d3d7 feat: Remove agent/user permission differentiation
This was only used for the WAC-Allow header and greatly simplifies how we use permissions.
2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
6ad5c0c797 feat: Move WAC-Allow metadata collecting to HTTP handler
This depends on all auth related handlers to cache their results.
This allows us to remove the permission field from Operation.
2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
59e64a22ea chore: Add caching to all authorization steps 2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
2d54493485 chore: Generalize authorization configurations 2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
9b15b1d7e1 feat: Allow CachedHandler to cache on multiple object fields 2022-11-18 16:08:06 +01:00
Koen Luyten
bf0e35be37 feat: allow server to bind to Unix Domain Sockets 2022-11-18 15:41:20 +01:00
Jasper Vaneessen
0eb50891ec style: capitalize all changelog entries 2022-11-17 09:56:40 +01:00