diff --git a/CHANGELOG.md b/CHANGELOG.md index 581683a..3985aa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] + +## [0.1.5] - 2023.12.09 +### Added +- Web push notifications (though not finalized) +- Credentials details page +- See more data without an ID +- Change units of a give + + +## [0.1.4] - 2023.11.20 - 7311d36726f3667ec4c68f241f91d404273ad4db ### Added -- Web push notifications +- Offer on a project +### Changed +- Automatically set as visible when importing a contact + ## [0.1.3] - 2023.11.08 - 910f57ec7d2e50803ae3d04f4b927e0f5219fbde ### Added diff --git a/package-lock.json b/package-lock.json index 7a97890..c73a9c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "crowd-funder-for-time-pwa", - "version": "0.1.4", + "name": "Time Safari", + "version": "0.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "crowd-funder-for-time-pwa", - "version": "0.1.4", + "name": "Time Safari", + "version": "0.1.5", "dependencies": { "@ethersproject/hdnode": "^5.7.0", "@fortawesome/fontawesome-svg-core": "^6.4.2", diff --git a/package.json b/package.json index fa0bcb5..6495cb9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "crowd-funder-for-time-pwa", - "version": "0.1.4", + "name": "Time Safari", + "version": "0.1.5", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/project.task.yaml b/project.task.yaml index 82fe0ca..4016d1a 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -6,10 +6,11 @@ tasks: - extract private_key_hex in py-push-server webpush.py - lock down regenerate_vapid endpoint (so only we admins can do it on demand) - remove sleep in py-push-server app.py - - revisit "maybe" and "never" buttons on accont screen + - revisit "maybe" and "never" buttons on account screen - see if we can detect OS-level notifications if turned off - write troubleshooting docs for notifications - in py-push-server, when sending a push to a subscriber and we get on a 410 "error #106", delete the subscription record + - https://gitea.anomalistdesign.com/trent_larson/py-push-server/pulls/3/files - .3 fix the Project-location-selection map display to not show on top of bottom icons (and any other UI tweaks on the map flow) assignee-group:ui diff --git a/src/App.vue b/src/App.vue index c6258e1..e63adf9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -520,7 +520,7 @@ export default class App extends Vue { private sendSubscriptionToServer( subscription: PushSubscription, ): Promise { - console.log(subscription); + console.log("About to send subscription", subscription); return fetch("/web-push/subscribe", { method: "POST", headers: { diff --git a/src/router/index.ts b/src/router/index.ts index 9dc2b5a..a8ec4e5 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -39,7 +39,6 @@ const routes: Array = [ name: "account", component: () => import(/* webpackChunkName: "account" */ "../views/AccountViewView.vue"), - beforeEnter: enterOrStart, }, { path: "/claim/:id?", diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 4c4c2df..0cd3c58 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -927,6 +927,15 @@ export default class AccountViewView extends Vue { webPushServer: this.webPushServerInput, }); this.webPushServer = this.webPushServerInput; + this.$notify( + { + group: "alert", + type: "warning", + title: "Reload", + text: "Now reload the app to get a new VAPID to use with this push server.", + }, + -1, + ); } } diff --git a/sw_scripts/safari-notifications.js b/sw_scripts/safari-notifications.js index fb31f18..a9ecfd5 100644 --- a/sw_scripts/safari-notifications.js +++ b/sw_scripts/safari-notifications.js @@ -395,12 +395,12 @@ async function setMostRecentNotified(id) { data["lastNotifiedClaimId"] = id; await updateRecord(store, data); } else { - console.error("Record not found"); + console.error("IndexedDB settings record not found."); } transaction.oncomplete = () => db.close(); } catch (error) { - console.error("Database error: " + error.message); + console.error("IndexedDB error:", error); } }