Commit Graph

24 Commits

Author SHA1 Message Date
Alice Gaudon 0c00ef85b9 Add global user redirections 2021-03-06 18:38:29 +01:00
Alice Gaudon ebed818824 Respond with a 404 when requested file is not found instead of crashing 2021-03-06 18:17:49 +01:00
Alice Gaudon 6d34829263 Switch to new swaf logger 2021-03-06 18:17:21 +01:00
Alice Gaudon 7870e4aa3c Merge remote-tracking branch 'boilerplate/master' into develop 2021-03-06 18:16:46 +01:00
Alice Gaudon 5eaebd5d12 Upgrade dependencies and bump swaf to ^0.23.0 2021-01-25 13:18:49 +01:00
Alice Gaudon c519b8a884 Use send-range and mime packages to send multipart/byteranges responses 2020-11-20 15:34:17 +01:00
Alice Gaudon 18f3f93db6 Revert "Properly set content-type when Range header is present"
This reverts commit 5c002f7ff2.
2020-11-20 13:46:52 +01:00
Alice Gaudon 31601cadd0 Fix missing promise type 2020-11-20 13:42:09 +01:00
Alice Gaudon 5c002f7ff2 Properly set content-type when Range header is present 2020-11-20 13:38:47 +01:00
Alice Gaudon 00e21b27a5 Make file download unavailable while caching is in progress 2020-11-20 13:38:32 +01:00
Alice Gaudon 20d276cd10 Change redirection to caching local copy and then serving download
i.e. this allows clients to request partial downloads with range headers
2020-11-20 13:21:56 +01:00
Alice Gaudon 02db68a6f7 Serve and list older versions as well (priority is most recent version) 2020-11-17 13:35:27 +01:00
Alice Gaudon 2df7ec4e20 Fix uncaught error when browsing non-existing repo 2020-11-16 17:19:51 +01:00
Alice Gaudon 442166229e Add redirection functionality and remove unused resources 2020-11-16 16:55:04 +01:00
Alice Gaudon ba5b90a4f9 swaf rename: rename project to swaf-boilerplate 2020-11-13 10:54:35 +01:00
Alice Gaudon 04f19f5a28 Fix yarn dev script 2020-11-03 17:26:32 +01:00
Alice Gaudon 292e843cd1 Upgrade packages i.e. wms-core 2020-11-02 18:17:55 +01:00
Alice Gaudon a8bad1c8c1 Upgrade wms-core and add eslint 2020-10-05 13:38:03 +02:00
Alice Gaudon 3b124a993b main.ts: fix config path order 2020-09-03 12:59:16 +02:00
Alice Gaudon 5157b12b77 tsconfig.json: restore wms-core/types include and add test 2020-09-03 11:46:00 +02:00
Alice Gaudon 54faa5c873 Use config package's multi-directory built-in support
This avoids full object overriding when you just want to set specific fields
2020-09-03 08:29:14 +02:00
Alice Gaudon 34b0798fdf Add default config files and use it 2020-06-27 17:21:29 +02:00
Alice Gaudon 8149ecac71 Add auto update component 2020-05-05 15:26:28 +02:00
Alice Gaudon 48b82c000c Add sources 2020-04-23 18:07:55 +02:00