From 7b5017f6ae57609261e4f9121be340838c31470e Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 11:58:28 +0200 Subject: [PATCH 01/85] Update settings.js --- settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settings.js b/settings.js index fd43e184..059f9662 100644 --- a/settings.js +++ b/settings.js @@ -1,8 +1,8 @@ // Change the url to the domain of your app -exports.url = 'http://localhost:3090'; +exports.url = 'https://sendgrid-subscribe.herokuapp.com/'; -exports.senderEmail = "sender@example.com"; -exports.senderName = "Sender Name"; +exports.senderEmail = "viestinta@pohjolanliikenne.fi"; +exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list // or a string with the listId to add to a specific list From bf241a81897526240dae3c1526f7e0035e8e464e Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:01:47 +0200 Subject: [PATCH 02/85] Update index.html --- server/static/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 866700a0..20a61bd7 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,17 +1,17 @@ -
@@ -60,4 +60,4 @@ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); float: right; } - \ No newline at end of file + From 15b39649e822cd4f1ba7e238f0c9f2986b712f14 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:12:30 +0200 Subject: [PATCH 03/85] Create npm-publish-github-packages.yml --- .../workflows/npm-publish-github-packages.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 00000000..dbc7f2f9 --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,36 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + - run: npm ci + - run: npm test + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} From 722bd0ba7ccf766c9e076b37dba12847a4bdd127 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:17:12 +0200 Subject: [PATCH 04/85] Update settings.js --- settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.js b/settings.js index 059f9662..c1c51e1b 100644 --- a/settings.js +++ b/settings.js @@ -14,4 +14,4 @@ exports.templateId = null; // receive an email when a new signup is confirmed exports.sendNotification = true; -exports.notificationEmail = "admin@example.com"; +exports.notificationEmail = "viestinta@pohjolanliikenne.fi"; From 33cab48902ca3e58659e176e2eeacd6f7f42fa39 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:18:19 +0200 Subject: [PATCH 05/85] Update settings.js --- settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.js b/settings.js index c1c51e1b..f0b97199 100644 --- a/settings.js +++ b/settings.js @@ -6,7 +6,7 @@ exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list // or a string with the listId to add to a specific list -exports.listId = null; +exports.listId = 57887; // set 'exports.templateId = null' to opt out of using a template // or a string with the templateId to use a template From 366dd6d1499f36c09857b76b30eac4aaf30bc41f Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:35:36 +0200 Subject: [PATCH 06/85] Update settings.js --- settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.js b/settings.js index f0b97199..5f9376be 100644 --- a/settings.js +++ b/settings.js @@ -1,7 +1,7 @@ // Change the url to the domain of your app exports.url = 'https://sendgrid-subscribe.herokuapp.com/'; -exports.senderEmail = "viestinta@pohjolanliikenne.fi"; +exports.senderEmail = "tickets@pohjolanliikenne.fi"; exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list @@ -14,4 +14,4 @@ exports.templateId = null; // receive an email when a new signup is confirmed exports.sendNotification = true; -exports.notificationEmail = "viestinta@pohjolanliikenne.fi"; +exports.notificationEmail = "tickets@pohjolanliikenne.fi"; From d506c75698b5dfdf65fc16de4cc783e5a45d38ab Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Mon, 3 Jan 2022 12:57:50 +0200 Subject: [PATCH 07/85] Update settings.js --- settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.js b/settings.js index 5f9376be..f0b97199 100644 --- a/settings.js +++ b/settings.js @@ -1,7 +1,7 @@ // Change the url to the domain of your app exports.url = 'https://sendgrid-subscribe.herokuapp.com/'; -exports.senderEmail = "tickets@pohjolanliikenne.fi"; +exports.senderEmail = "viestinta@pohjolanliikenne.fi"; exports.senderName = "Pohjolan Liikenne"; // set 'exports.listId = null' to add contact to all contacts, but no specific list @@ -14,4 +14,4 @@ exports.templateId = null; // receive an email when a new signup is confirmed exports.sendNotification = true; -exports.notificationEmail = "tickets@pohjolanliikenne.fi"; +exports.notificationEmail = "viestinta@pohjolanliikenne.fi"; From d2863360fc7adb3a63e882891a009a8dd294e587 Mon Sep 17 00:00:00 2001 From: emmuliini <97023823+emmuliini@users.noreply.github.com> Date: Tue, 4 Jan 2022 11:58:04 +0200 Subject: [PATCH 08/85] Update index.html --- server/static/index.html | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 20a61bd7..456dfe53 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -2,13 +2,13 @@