From 824d2eaef184723c679afe81b1c653e4e2278dc8 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sat, 27 Jun 2020 18:07:58 +0200 Subject: [PATCH 1/3] Update mail settings --- config/default.ts | 6 ++++-- package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/default.ts b/config/default.ts index 731014e..2d97df0 100644 --- a/config/default.ts +++ b/config/default.ts @@ -1,7 +1,7 @@ export default Object.assign(require("wms-core/config/default").default, { app: { name: 'Example App', - contact_email: 'noreply@example.net' + contact_email: 'contact@example.net' }, log_level: "DEV", db_log_level: "ERROR", @@ -34,7 +34,9 @@ export default Object.assign(require("wms-core/config/default").default, { secure: false, username: "", password: "", - allow_invalid_tls: true + allow_invalid_tls: true, + from: 'contact@example.net', + from_name: 'Example App', }, view: { cache: false diff --git a/package.json b/package.json index 1ae5253..aec7d2a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "Example App", + "name": "example-app", "version": "0.1.0", "description": "Example App based on wms-core", "repository": "git@gitlab.com:ArisuOngaku/wms-boilerplate.git", From ddf40ef9a5faee9afd7989694e9407060561c6fe Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sat, 27 Jun 2020 18:08:24 +0200 Subject: [PATCH 2/3] Upgrade wms-core and use new email settings --- config/default.ts | 6 ++++++ config/production.ts | 4 ++++ views/auth.njk | 2 +- yarn.lock | 6 +++--- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/config/default.ts b/config/default.ts index 5fc9d36..46e389d 100644 --- a/config/default.ts +++ b/config/default.ts @@ -24,6 +24,12 @@ export default Object.assign(require("wms-core/config/default").default, { max_upload_size: 1, // MB approval_mode: false, mail: { + host: "127.0.0.1", + port: "1025", + secure: false, + username: "", + password: "", + allow_invalid_tls: true, from: 'contact@ily.li', from_name: 'ily.li', }, diff --git a/config/production.ts b/config/production.ts index fa2fb94..a820f21 100644 --- a/config/production.ts +++ b/config/production.ts @@ -17,4 +17,8 @@ export default Object.assign(require("wms-core/config/production").default, { default_file_ttl: 30 * 24 * 3600, // 30 days max_upload_size: 8192, // MB approval_mode: true, + mail: { + secure: true, + allow_invalid_tls: false + }, }); \ No newline at end of file diff --git a/views/auth.njk b/views/auth.njk index 3a6c7d3..3e4e380 100644 --- a/views/auth.njk +++ b/views/auth.njk @@ -2,7 +2,7 @@ {% import 'macros.njk' as macros %} {% set title = 'Authentication / Registration' %} -{% set decription = 'Join Watch My Stream and power up your streams!' %} +{% set decription = 'Join ' + app.name + ' and share your files!' %} {% set h1 = 'Authentication and registration' %} {% block body %} diff --git a/yarn.lock b/yarn.lock index e1b3976..ca903e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9825,9 +9825,9 @@ widest-line@^3.1.0: string-width "^4.0.0" wms-core@^0: - version "0.10.16" - resolved "https://registry.toot.party/wms-core/-/wms-core-0.10.16.tgz#55dc66d6443b2cab82f0bfb7db9673d4ab07c45e" - integrity sha512-NY4PKzcf9rEWmYznTR9qI+CofW7Bfut+djCBQ/GBVzEI/tW9RAudtLhfYrYvHJYPOyLWMdoP7KNxROyt37TzLg== + version "0.10.18" + resolved "https://registry.toot.party/wms-core/-/wms-core-0.10.18.tgz#450bf5be19f1a5872230199b04353169e3cfe2aa" + integrity sha512-x4+FgnfovJHLpAKYKmh5+rM9Zovklya8mZC+KnrQ65y2v3vw3i9hDRjXeums5OvyQsBA7X4OObEffTbClLNCTQ== dependencies: "@types/express" "^4.17.6" "@types/express-session" "^1.17.0" From e10332d0bdfd1fd5a8ea851e4ec6529f99ff8eb1 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sat, 27 Jun 2020 18:17:54 +0200 Subject: [PATCH 3/3] Version 0.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8f071d1..3ec58d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ily.li", - "version": "0.3.0", + "version": "0.3.1", "description": "Self-hosted file pusher", "repository": "git@gitlab.com:ArisuOngaku/ily.li.git", "author": "Alice Gaudon ",