From d58da4055078125cae07c679b6b6c9e4d38dcb94 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Wed, 15 Jul 2020 15:15:28 +0200 Subject: [PATCH] Upgrade wms-core and remove useless settings --- config/default.ts | 1 - config/production.ts | 1 - yarn.lock | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/default.ts b/config/default.ts index ccc50c5..0fca77e 100644 --- a/config/default.ts +++ b/config/default.ts @@ -18,7 +18,6 @@ export default Object.assign(require("wms-core/config/default").default, { magic_link: { validity_period: 20 }, - gitlab_webhook_token: 'secret', newlyGeneratedSlugSize: 3, default_file_ttl: 30, // 30 seconds max_upload_size: 1, // MB diff --git a/config/production.ts b/config/production.ts index 5aafd65..756f6cd 100644 --- a/config/production.ts +++ b/config/production.ts @@ -12,7 +12,6 @@ export default Object.assign(require("wms-core/config/production").default, { magic_link: { validity_period: 900 }, - gitlab_webhook_token: 'CHANGEME', newlyGeneratedSlugSize: 5, default_file_ttl: 30 * 24 * 3600, // 30 days max_upload_size: 8192, // MB diff --git a/yarn.lock b/yarn.lock index faf3665..81f737d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9837,9 +9837,9 @@ widest-line@^3.1.0: string-width "^4.0.0" wms-core@^0: - version "0.15.5" - resolved "https://registry.toot.party/wms-core/-/wms-core-0.15.5.tgz#40784c8dae3e5b2d1a71f78410233557dc885a2b" - integrity sha512-c/zrvs7otF+a2/KFBWQN3bJi0Gtd/FlX31CdKlrUl98bdfLwtmGfGfKhP6DNROvzznw9sUWOFEqPrG08KhqgGA== + version "0.16.0" + resolved "https://registry.toot.party/wms-core/-/wms-core-0.16.0.tgz#2c73b5c5af35ae2a53dd4b2eac12ec0961633960" + integrity sha512-NdJ1LrTyfJ41u/npOVfvmwkDEUGFzqczPwO6/R+KaAXE1GQlSRVLbNm/XoyZVF0ceDCwjp58a+zS3KumUI5faA== dependencies: argon2 "^0.26.2" compression "^1.7.4"