diff --git a/.vscode/settings.json b/.vscode/settings.json index d45f93da..86d7ff13 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,5 +26,5 @@ "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "cSpell.words": ["btns", "oidc", "rustchat"] + "cSpell.words": ["btns", "oidc", "vocechat"] } diff --git a/README.md b/README.md index 9f70e66c..9950ab0f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ ## Refs -- preview demo: https://privoce.rustchat.com/ +- preview demo: https://privoce.voce.chat/ - design: https://www.figma.com/file/EHnNr53kNmDWgUT86It6CH/UI -- backend APIs: https://dev.rustchat.com/api/swagger +- backend APIs: https://dev.voce.chat/api/swagger - text editor: https://plate.udecode.io/docs/installation - markdown editor: https://nhn.github.io/tui.editor/latest/ - redux: [@reduxjs/toolkit](https://redux-toolkit.js.org/introduction/getting-started) diff --git a/package.json b/package.json index ff0eaa32..6d22b801 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "rustchat-web", - "version": "0.3.0", + "name": "vocechat-web", + "version": "0.2.14", "private": true, - "homepage": "https://privoce.rustchat.com", + "homepage": "https://privoce.voce.chat", "dependencies": { "@emoji-mart/data": "^1.0.2", "@metamask/onboarding": "^1.0.1", diff --git a/public/CNAME b/public/CNAME index 925ff9f5..07ac879f 100644 --- a/public/CNAME +++ b/public/CNAME @@ -1 +1 @@ -privoce.rustchat.com \ No newline at end of file +privoce.voce.chat \ No newline at end of file diff --git a/public/email.tpl.html b/public/email.tpl.html index 51048cb7..5ac6011a 100644 --- a/public/email.tpl.html +++ b/public/email.tpl.html @@ -58,19 +58,19 @@
+ alt="VoceChat logo" width="64" height="64" class="logo">

- Click the button below to log in to Rustchat. + Click the button below to log in to VoceChat.

This button will expire in 3 minutes.

- Login to - Rustchat + Login to + VoceChat
-

Button not showing? Button not showing? Click here

Confirming this request will securely log you in using diff --git a/public/firebase-messaging-sw.js b/public/firebase-messaging-sw.js index c5697e7b..5824cac2 100644 --- a/public/firebase-messaging-sw.js +++ b/public/firebase-messaging-sw.js @@ -15,12 +15,12 @@ self.addEventListener("notificationclick", function (event) { firstClient.focus(); return; } - const { rustchat_from_uid, rustchat_to_uid, rustchat_to_gid } = customData; + const { vocechat_from_uid, vocechat_to_uid, vocechat_to_gid } = customData; let chatClient; - let redirectPath = rustchat_to_uid - ? `/chat/dm/${rustchat_from_uid}` - : rustchat_to_gid - ? `/chat/channel/${rustchat_to_gid}` + let redirectPath = vocechat_to_uid + ? `/chat/dm/${vocechat_from_uid}` + : vocechat_to_gid + ? `/chat/channel/${vocechat_to_gid}` : ""; if (!redirectPath) { firstClient.focus(); @@ -49,13 +49,13 @@ importScripts( // Initialize the Firebase app in the service worker by passing the generated config const firebaseConfig = { - apiKey: "AIzaSyDyJ6B1Ouenoha_gdGkBwIkBNStlwhlbO0", - authDomain: "rustchat-develop.firebaseapp.com", - projectId: "rustchat-develop", - storageBucket: "rustchat-develop.appspot.com", - messagingSenderId: "418687074928", - appId: "1:418687074928:web:753286adbf239f5af9eab5", - measurementId: "G-XV476KEC8P" + apiKey: "AIzaSyCc3VuCJZgzQLIH2wrYdQzsUOc1DuZiIOA", + authDomain: "vocechatdev.firebaseapp.com", + projectId: "vocechatdev", + storageBucket: "vocechatdev.appspot.com", + messagingSenderId: "526613312184", + appId: "1:526613312184:web:d13c92582baf470d487a4d", + measurementId: "G-82RQ3YSCP7" }; firebase.initializeApp(firebaseConfig); diff --git a/public/index.html b/public/index.html index fdae34be..945470c7 100644 --- a/public/index.html +++ b/public/index.html @@ -55,7 +55,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - Rustchat WebAPP + VoceChat WebAPP