From 32fd1b685e9a1ce8f9cdab2a14938e5251333f27 Mon Sep 17 00:00:00 2001 From: Oscar Gonzalez Date: Mon, 31 Jul 2023 20:55:13 +0200 Subject: [PATCH 1/5] Remove angulartics from app module --- src/app/app.module.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/app.module.js b/src/app/app.module.js index f17fbe64..0c8f1608 100644 --- a/src/app/app.module.js +++ b/src/app/app.module.js @@ -13,8 +13,6 @@ angular.module('app', [ 'app.components', 'papa-promise', 'angularLoad', - 'angulartics', - 'angulartics.google.analytics', 'ngSanitize', 'angular-clipboard', 'ngCookies', From 0251764bbee8f6a038a2bd71371ef44ccf18f898 Mon Sep 17 00:00:00 2001 From: Oscar Gonzalez Date: Mon, 31 Jul 2023 20:55:48 +0200 Subject: [PATCH 2/5] Test adding openssl-ca to env in deploy --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ba386acc..5714da06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,6 +19,7 @@ jobs: - name: Test something (currently we have no tests) run: | npm install -g gulp-cli + export NODE_OPTIONS=--use-openssl-ca npm install gulp build From 8cdfdaa54ac50d00aaa689d8fa3af3f4d26a9ae0 Mon Sep 17 00:00:00 2001 From: oscgonfer Date: Mon, 31 Jul 2023 21:04:48 +0200 Subject: [PATCH 3/5] Update deploy.yml --- .github/workflows/deploy.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5714da06..cb342c77 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,6 @@ name: Deploy to GH -on: - push: - branches: [ master ] +on: [push] jobs: test: @@ -28,4 +26,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist - if: job.status == 'success' + if: github.ref == 'refs/heads/master' && job.status == 'success' From 00c308f76ba6549506631544ddb328d947be2bd5 Mon Sep 17 00:00:00 2001 From: Oscar Gonzalez Date: Mon, 14 Aug 2023 01:30:20 +0200 Subject: [PATCH 4/5] Remove angulartics from html --- src/app/components/alert/alert.service.js | 6 ----- src/app/components/kit/showKit/showKit.html | 24 +++++-------------- src/app/components/landing/landing.html | 21 ---------------- src/app/components/myProfile/Kits.html | 9 +++---- src/app/components/myProfile/myProfile.html | 6 ++--- src/app/components/signup/signup.html | 4 +--- src/app/components/signup/signupModal.html | 3 +-- .../components/userProfile/userProfile.html | 9 +++---- 8 files changed, 17 insertions(+), 65 deletions(-) diff --git a/src/app/components/alert/alert.service.js b/src/app/components/alert/alert.service.js index 884ec22a..d31eed96 100644 --- a/src/app/components/alert/alert.service.js +++ b/src/app/components/alert/alert.service.js @@ -38,8 +38,6 @@ 10000, { button: 'Leave comment', - buttonAttributes: 'analytics-on="click" analytics-event="click" ' + - 'analytics-category="Offline Kit Comment Link"', href: 'https://forum.smartcitizen.me/' }); } @@ -55,8 +53,6 @@ 10000, { button: 'Leave comment', - buttonAttributes: 'analytics-on="click" analytics-event="click" ' + - 'analytics-category="Private Kit Comment Link"', href: 'https://forum.smartcitizen.me/' }); } @@ -66,8 +62,6 @@ 'time. Why not leave a comment to let its owner know?', 10000, { button: 'Leave comment', - buttonAttributes: 'analytics-on="click" analytics-event="click" ' + - 'analytics-category="Long time No published Kit Comment Link"', href: 'https://forum.smartcitizen.me/' }); } diff --git a/src/app/components/kit/showKit/showKit.html b/src/app/components/kit/showKit/showKit.html index 9583485d..58c2555b 100644 --- a/src/app/components/kit/showKit/showKit.html +++ b/src/app/components/kit/showKit/showKit.html @@ -42,33 +42,25 @@
- + Chart - + Kit Detail - + User info - @@ -132,9 +124,7 @@

- + {{ sensor.name }} @@ -151,9 +141,7 @@
{{ vm.sensorNames[vm.selectedSensor] }}
Compare with - + {{ sensor.name }} diff --git a/src/app/components/landing/landing.html b/src/app/components/landing/landing.html index 4a025077..46e55517 100644 --- a/src/app/components/landing/landing.html +++ b/src/app/components/landing/landing.html @@ -3,8 +3,6 @@ GO TO THE PLATFORM
@@ -12,8 +10,6 @@

ORDER YOUR SMART CITIZEN KIT FROM SEEED STUDIO

ORDER NOW
@@ -28,8 +24,6 @@

WE EMPOWER COMMUNITIES TO BETTER UNDERSTAND THEIR ENVIRONMENT

We're a community of passionate people who believe data is critical to inform political participation at all levels. We develop tools for citizen action in environmental monitoring and methodologies for community engagement and co-creation.

WATCH DOCUMENTARY
@@ -44,8 +38,6 @@

INTRODUCING A NEW AND IMPROVED KIT

For the past three years, we have been working on an updated version of the Kit. The new sensors collect urban data more accurately and are easier to use. The Smart Citizen Kit 2.1 is available from Seeed studio.

ORDER NOW
@@ -103,8 +95,6 @@

CIVIC PARTICIPATION ACROSS THE GLOBE

@@ -123,8 +113,6 @@

AN OPEN PLATFORM TO LEARN, BUILD AND CONTRIBUTE

@@ -145,9 +133,6 @@

SUBSCRIBE TO GET THE LATEST NEWS

name="subscribe" id="mc-embedded-subscribe" value="GO!" - analytics-on="click" - analytics-category="Landing" - analytics-event="Subscribe to newsletter" />
@@ -169,8 +154,6 @@

DEVELOPER
READY

Use our powerful API to build amazing things using data.

USE THE API
@@ -179,8 +162,6 @@

WE’RE
OPEN SOURCE

Fork and contribute to the project in GitHub.

VISIT OUR REPOS
@@ -189,8 +170,6 @@

JOIN THE
FORUM

A place to share ideas with the community or find support.

GET INVOLVED

diff --git a/src/app/components/myProfile/Kits.html b/src/app/components/myProfile/Kits.html index d82a0638..c98123c4 100644 --- a/src/app/components/myProfile/Kits.html +++ b/src/app/components/myProfile/Kits.html @@ -7,18 +7,15 @@
+ class="profile_sidebar_button"> ALL + class="profile_sidebar_button"> ONLINE + class="profile_sidebar_button"> OFFLINE
diff --git a/src/app/components/myProfile/myProfile.html b/src/app/components/myProfile/myProfile.html index 76c708df..cc229648 100644 --- a/src/app/components/myProfile/myProfile.html +++ b/src/app/components/myProfile/myProfile.html @@ -21,7 +21,7 @@

{{ vm.user.username || 'No data' }}

- + KITS @@ -31,7 +31,7 @@

{{ vm.user.username || 'No data' }}

- + USER @@ -42,7 +42,7 @@

{{ vm.user.username || 'No data' }}

-