Joachim Van Herwegen
98f5d8fb73
refactor: Prevent negated conditions
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
c9e4c7041c
refactor: Prevent for-each calls
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
20d4a0c3af
refactor: Prevent reduce calls
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
990184dbb5
refactor: Use node protocol when importing builtins
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
def0b5c732
refactor: Enable consistent newlines in lists
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
3bb3004abb
refactor: Bring lint config back to original strictness
2023-11-02 09:49:17 +01:00
Joachim Van Herwegen
6248ed0938
refactor: Replace linting configurations
...
The previous package was outdated, preventing us from updating TS.
This one also lints YAML and JSON,
and applies many more rules to the test files,
explaining all the changes in this PR.
2023-11-02 09:49:17 +01:00
Wouter Termont
58daeb684f
feat: pass requestedModes metadata on 401
...
* feat: pass requestedModes metadata on 401
* fix: bundle modes per target bnode
* fix: use custom instance check for HttpError
2023-10-27 09:23:36 +02:00
Joachim Van Herwegen
fedd9e04d8
feat: Allow ConditionalHandler to set the expected value
2023-10-06 12:54:26 +02:00
Joachim Van Herwegen
a47f5236ef
feat: Full rework of account management
...
Complete rewrite of the account management and related systems.
Makes the architecture more modular,
allowing for easier extensions and configurations.
2023-10-06 11:04:40 +02:00
Joachim Van Herwegen
c95198285c
Merge branch 'main' into versions/next-major
2023-10-05 14:28:06 +02:00
Joachim Van Herwegen
71e55690f3
feat: Track binary size of resources when possible
2023-10-05 10:07:49 +02:00
Joachim Van Herwegen
3e9adef4cf
feat: Add support for range headers
2023-10-05 10:07:49 +02:00
Joachim Van Herwegen
661357c985
chore: Remove eslint rule about deleting dynamic keys
2023-09-26 09:42:39 +02:00
Joachim Van Herwegen
baa64987c6
fix: Return ETag in 304 responses
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
5ec6eddbfa
refactor: Move condition classes to separate folder
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
b608080d5f
feat: Store ETag in metadata
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
7505f07f2f
fix: Add missing error causes
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
f373dff1d7
feat: Add metadata to errors
2023-08-28 09:06:39 +02:00
Joachim Van Herwegen
9c2c5edaf5
feat: Ignore invalid header parts
...
* patch: initial ideas around how to ignore invalid accept header parts. not fully tested, plenty of cleanup to do
* patch: finish removing commented code. finalize unit tests for headerUtil methods that now ignore bad header parts rather than throwing as before
* patch: remove @throws comments in HeaderUtil and update some comments to account for changes to returned values
* feat: Give option for header parsing to be strict
---------
Co-authored-by: Charlie Blevins <blevins.charlie@gmail.com >
2023-07-20 15:27:20 +02:00
Joachim Van Herwegen
c0a881b980
fix: Use correct type for Webhook notifications
2023-06-13 08:14:11 +02:00
Joachim Van Herwegen
fdee4b334f
fix: Prevent illegal file paths from being generated
2023-06-09 09:03:37 +02:00
Joachim Van Herwegen
5347025720
fix: Make sure locker allows reentrant lock acquisition
2023-05-02 09:27:31 +02:00
Joachim Van Herwegen
0d5d072f79
fix: Make aggregated errors prettier
2023-05-02 09:26:42 +02:00
Joachim Van Herwegen
d6be724a12
Merge branch 'main' into versions/6.0.0
...
# Conflicts:
# config/ldp/authorization/readers/access-checkers/agent-group.json
2023-04-24 11:21:59 +02:00
Joachim Van Herwegen
d59a1595d5
feat: Replace WebHookSubscription2021 with WebHookChannel2023
2023-04-24 11:00:54 +02:00
Joachim Van Herwegen
134237a80f
feat: Support Add/Remove notifications on containers
2023-04-20 15:42:04 +02:00
Joachim Van Herwegen
9e1e65cdb9
refactor: Rename internal activity vocabulary
...
The original URL does not exist so should use an internal value for now.
Renamed to `activity` as predicates tend to be lower case.
2023-04-20 15:42:04 +02:00
Joachim Van Herwegen
702e8f5f59
feat: Replace WebSocketSubscription2021 with WebSocketChannel2023
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
c36f15e2da
feat: Generalize and extend notification channel type behaviour
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
10980e90a3
feat: Use notification v0.2 features in discovery
2023-04-20 14:32:13 +02:00
Joachim Van Herwegen
0a30be55ef
fix: Use EqualReadWriteLocker with file locker to prevent deadlocks
2023-04-19 09:35:11 +02:00
Joachim Van Herwegen
c3f48ddb97
fix: Ensure the ETag is representation specific
2023-04-18 10:41:48 +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
Joachim Van Herwegen
63fd062f16
fix: Output required OAuth error fields
2023-03-07 08:36:58 +01:00
Joachim Van Herwegen
9b15b1d7e1
feat: Allow CachedHandler to cache on multiple object fields
2022-11-18 16:08:06 +01:00
Joachim Van Herwegen
f54c34d1e0
feat: Add support for WebHookSubscription2021
2022-11-15 15:50:05 +01:00
Joachim Van Herwegen
cbc07c6ef3
feat: Add support for the Notification specification
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
be7af277bb
feat: Create a CachedHandler that caches AsyncHandler results
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
df2f69f532
feat: Expose a storage description resource for storage containers
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
da99ff30f6
feat: Create an ArrayUnionHandler which flattens the sources results
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
764ce3cc28
feat: Create a GenericEventEmitter interface
...
This allows us to have typed EventEmitters.
2022-11-09 09:10:00 +01:00
Joachim Van Herwegen
3328f8dea6
Merge branch 'main' into versions/6.0.0
2022-11-07 09:45:22 +01:00
Arthur Joppart
79fa83a07a
feat: add additional redis settings to redis locker
...
* feat: add additional redis settings to redis locker
* fix: unfinished doc
2022-11-02 10:48:30 +01:00
Thomas Dupont
d690cc7ed0
feat: add support for key namespacePrefixes in a RedisLocker instance
2022-10-31 14:23:27 +01:00
Joachim Van Herwegen
a1e916b73a
feat: Support async default values in getDefault
2022-10-06 09:36:04 +02:00
Joachim Van Herwegen
fa1dee573e
feat: Add required ACP headers
2022-10-06 09:36:04 +02:00
Joachim Van Herwegen
40f2c8ea42
feat: Update templates and generators to support ACP
2022-10-06 09:36:04 +02:00
Joachim Van Herwegen
a6409ad00d
feat: Create AcpReader
2022-10-06 09:36:04 +02:00
Wannes Kerckhove
cf74ce3d2a
fix: Convert TemplateEngine to AsyncHandlers
2022-09-26 09:42:18 +02:00