Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Release 2024-12-02 #5139

Merged
merged 40 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
9efc808
chore: Bump react-router-dom from 6.27.0 to 6.28.0 (#5090)
dependabot[bot] Nov 10, 2024
6baf3a0
chore: Bump eslint-plugin-jest from 28.8.3 to 28.9.0 (#5091)
dependabot[bot] Nov 10, 2024
c112007
chore: Bump @wireapp/api-client from 27.8.0 to 27.9.0 (#5092)
dependabot[bot] Nov 10, 2024
e0f1d50
chore: Bump @typescript-eslint/eslint-plugin from 8.12.2 to 8.13.0 (#…
dependabot[bot] Nov 10, 2024
1a65d16
chore: Bump i18next from 23.16.4 to 23.16.5 (#5093)
dependabot[bot] Nov 10, 2024
bf5c39c
chore: Bump @types/node from 22.8.6 to 22.9.0 (#5099)
dependabot[bot] Nov 10, 2024
a8db936
chore: Bump react-router from 6.27.0 to 6.28.0 (#5096)
dependabot[bot] Nov 10, 2024
90bb08d
chore: Bump @wireapp/react-ui-kit from 9.26.0 to 9.26.1 (#5094)
dependabot[bot] Nov 10, 2024
aef2456
feat(team-invitation): add inviter email in terms acceptance page [WP…
e-maad Nov 12, 2024
e1881c6
chore: Bump pm2 from 5.4.2 to 5.4.3 in /server (#5102)
dependabot[bot] Nov 17, 2024
b524345
chore: Bump uuid from 11.0.2 to 11.0.3 in /server (#5103)
dependabot[bot] Nov 17, 2024
aaa2878
chore: Bump cross-spawn from 7.0.3 to 7.0.5 in /server (#5105)
dependabot[bot] Nov 17, 2024
a449dcc
chore: Bump eslint-plugin-jsdoc from 50.4.3 to 50.5.0 (#5104)
dependabot[bot] Nov 17, 2024
b881edb
chore: Bump @typescript-eslint/eslint-plugin from 8.13.0 to 8.14.0 (#…
dependabot[bot] Nov 17, 2024
5978fda
chore: Bump cross-spawn from 7.0.3 to 7.0.5 (#5107)
dependabot[bot] Nov 17, 2024
7ab607f
chore: Bump @wireapp/react-ui-kit from 9.26.1 to 9.26.2 (#5108)
dependabot[bot] Nov 17, 2024
41035b6
fix: remove custom disbaled button style (#5109)
e-maad Nov 19, 2024
12ae6b2
chore: Bump @wireapp/api-client from 27.10.0 to 27.10.1 (#5110)
dependabot[bot] Nov 24, 2024
e76dea0
chore: Bump @types/node from 22.9.0 to 22.9.3 (#5111)
dependabot[bot] Nov 24, 2024
7f56e6e
chore: Bump react-router from 6.28.0 to 7.0.1 (#5112)
dependabot[bot] Nov 24, 2024
2f2e3d9
chore: Bump @typescript-eslint/eslint-plugin from 8.14.0 to 8.15.0 (#…
dependabot[bot] Nov 24, 2024
1adc983
chore: Bump @wireapp/react-ui-kit from 9.26.2 to 9.26.3 (#5116)
dependabot[bot] Nov 24, 2024
944fe34
chore: Bump i18next from 23.16.5 to 24.0.0 (#5119)
dependabot[bot] Nov 24, 2024
592bd91
chore: Bump @wireapp/commons from 5.2.13 to 5.3.0 (#5114)
dependabot[bot] Nov 24, 2024
b7c2e98
chore: Bump @wireapp/commons from 5.2.13 to 5.3.0 in /server (#5120)
dependabot[bot] Nov 24, 2024
eef4f84
chore: Bump typescript from 5.6.3 to 5.7.2 in /server (#5121)
dependabot[bot] Nov 24, 2024
487047e
chore: Bump crowdin/github-action from 2.3.0 to 2.4.0 (#5122)
dependabot[bot] Nov 26, 2024
3e49193
fix: update migration pages font color [WPB-14460] (#5123)
e-maad Nov 28, 2024
adcdcff
feat: add countly event tracking for migration flow [WPB-11317] (#5124)
e-maad Nov 29, 2024
4f2b88b
chore: Bump prettier from 3.3.3 to 3.4.1 in /server (#5127)
dependabot[bot] Dec 1, 2024
a3e29a2
chore: Bump @wireapp/commons from 5.3.0 to 5.4.0 in /server (#5128)
dependabot[bot] Dec 1, 2024
5abf5ab
chore: Bump i18next from 24.0.0 to 24.0.2 (#5129)
dependabot[bot] Dec 1, 2024
fb4f81b
chore: Bump @typescript-eslint/eslint-plugin from 8.15.0 to 8.16.0 (#…
dependabot[bot] Dec 1, 2024
92e48f8
chore: Bump @wireapp/react-ui-kit from 9.26.3 to 9.28.0 (#5131)
dependabot[bot] Dec 1, 2024
78a136d
chore: Bump eslint-plugin-jsdoc from 50.5.0 to 50.6.0 (#5133)
dependabot[bot] Dec 1, 2024
6a9f85c
chore: Bump @wireapp/api-client from 27.10.1 to 27.11.0 (#5134)
dependabot[bot] Dec 1, 2024
66288cc
chore: Bump @wireapp/commons from 5.3.0 to 5.4.0 (#5132)
dependabot[bot] Dec 1, 2024
70d6828
chore: Bump @wireapp/telemetry from 0.1.2 to 0.1.3 (#5137)
dependabot[bot] Dec 1, 2024
951e577
chore: Bump @types/node from 22.9.3 to 22.10.1 (#5138)
dependabot[bot] Dec 1, 2024
916fba9
Merge branch 'main' into staging
V-Gira Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/sync_translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Download translations
uses: crowdin/github-action@v2.3.0
uses: crowdin/github-action@v2.4.0
env:
GITHUB_TOKEN: ${{github.token}}
CROWDIN_PROJECT_ID: 342361
Expand Down
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
{
"dependencies": {
"@wireapp/api-client": "27.8.0",
"@wireapp/commons": "5.2.13",
"@wireapp/react-ui-kit": "9.26.0",
"@wireapp/api-client": "27.11.0",
"@wireapp/commons": "5.4.0",
"@wireapp/react-ui-kit": "9.28.0",
"@wireapp/telemetry": "0.1.3",
"core-js": "3.39.0",
"dotenv": "16.4.5",
"dotenv-extended": "2.9.0",
"i18next": "23.16.4",
"i18next": "24.0.2",
"i18next-browser-languagedetector": "8.0.0",
"i18next-react-postprocessor": "3.1.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-i18next": "11.18.6",
"react-router": "6.27.0",
"react-router-dom": "6.27.0"
"react-router": "7.0.1",
"react-router-dom": "6.28.0",
"uuid": "11.0.3"
},
"devDependencies": {
"@babel/core": "7.26.0",
Expand All @@ -26,13 +28,14 @@
"@emotion/babel-preset-css-prop": "11.12.0",
"@testing-library/react": "12.1.4",
"@types/jest": "29.5.14",
"@types/node": "22.8.6",
"@types/node": "22.10.1",
"@types/platform": "1.3.6",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/react-router-dom": "5.3.3",
"@types/uuid": "10.0.0",
"@types/webpack-env": "1.18.5",
"@typescript-eslint/eslint-plugin": "8.12.2",
"@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "7.17.0",
"@wireapp/copy-config": "2.2.10",
"@wireapp/eslint-config": "1.4.0",
Expand All @@ -45,8 +48,8 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jsdoc": "50.4.3",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-jsdoc": "50.6.0",
"eslint-plugin-no-unsanitized": "4.1.2",
"eslint-plugin-prettier": "5.2",
"eslint-plugin-react": "7.37.2",
Expand Down
1 change: 1 addition & 0 deletions server/Server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ class Server {
this.app.get('/favicon.ico', (_req, res) => res.sendFile(path.join(__dirname, 'img', 'favicon.ico')));
this.app.get('/robots.txt', (_req, res) => res.sendFile(path.join(__dirname, 'robots', 'robots.txt')));
this.app.use('/script', express.static(path.join(__dirname, 'static', 'script')));
this.app.use('/libs', express.static(path.join(__dirname, 'libs')));
}

initTemplateEngine(): void {
Expand Down
2 changes: 2 additions & 0 deletions server/ServerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export interface ServerConfig {
URL_TERMS_OF_USE_TEAMS: string;
URL_SUPPORT_BACKUP_HISTORY: string;
};
COUNTLY_SERVER_URL: string;
COUNTLY_API_KEY: string;
VERSION: string;
};
COMMIT: string;
Expand Down
6 changes: 6 additions & 0 deletions server/bin/copy_server_assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ const path = require('path');

const srcFolder = '../';
const distFolder = '../dist/';
const npmModulesFolder = '../../node_modules/';

const assetFolders = ['.ebextensions/', 'img/', 'robots/', 'templates/', 'certificate'];

assetFolders.forEach(assetFolder => {
fs.copySync(path.resolve(__dirname, srcFolder, assetFolder), path.resolve(__dirname, distFolder, assetFolder));
});

fs.copySync(
path.resolve(__dirname, npmModulesFolder, '@wireapp/telemetry/lib/embed.js'),
path.resolve(__dirname, distFolder, 'libs/wire/telemetry/embed.js'),
);
2 changes: 2 additions & 0 deletions server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ const config: ServerConfig = {
URL_SUPPORT_BACKUP_HISTORY: process.env.URL_SUPPORT_BACKUP_HISTORY,
},
VERSION: readFile(VERSION_FILE, '0.0.0'),
COUNTLY_SERVER_URL: process.env.COUNTLY_SERVER_URL,
COUNTLY_API_KEY: process.env.COUNTLY_API_KEY,
},
COMMIT: readFile(COMMIT_FILE, ''),
PIWIK_HOSTNAME: process.env.PIWIK_HOSTNAME,
Expand Down
10 changes: 5 additions & 5 deletions server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@wireapp/commons": "5.2.13",
"@wireapp/commons": "5.4.0",
"dotenv": "16.4.5",
"dotenv-extended": "2.9.0",
"express": "4.21.1",
Expand All @@ -13,8 +13,8 @@
"logdown": "3.3.1",
"moment": "2.30.1",
"nocache": "4.0.0",
"pm2": "5.4.2",
"uuid": "11.0.2"
"pm2": "5.4.3",
"uuid": "11.0.3"
},
"devDependencies": {
"@babel/core": "7.26.0",
Expand All @@ -34,9 +34,9 @@
"jszip": "3.10.1",
"nodemon": "3.1.7",
"opn": "6.0.0",
"prettier": "3.3.3",
"prettier": "3.4.1",
"rimraf": "6.0.1",
"typescript": "5.6.3",
"typescript": "5.7.2",
"webpack-dev-middleware": "7.4.2",
"webpack-hot-middleware": "2.26.1"
},
Expand Down
4 changes: 3 additions & 1 deletion server/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
<meta property="og:title" content="Wire">
<meta property="og:type" content="website">
<meta property="og:image" content="{{config.CLIENT.URL.OPEN_GRAPH_IMAGE}}">

{{#if config.CLIENT.COUNTLY_API_KEY}}
<script src="/libs/wire/telemetry/embed.js"></script>
{{/if}}
<title>Wire</title>
</head>

Expand Down
64 changes: 32 additions & 32 deletions server/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1981,15 +1981,15 @@ __metadata:
languageName: node
linkType: hard

"@wireapp/commons@npm:5.2.13":
version: 5.2.13
resolution: "@wireapp/commons@npm:5.2.13"
"@wireapp/commons@npm:5.4.0":
version: 5.4.0
resolution: "@wireapp/commons@npm:5.4.0"
dependencies:
ansi-regex: 5.0.1
fs-extra: 11.2.0
logdown: 3.3.1
platform: 1.3.6
checksum: 1a330c3dfa7a6e859135bd50dec231682592e11e5b17b5614ef0a4d5ac40d9251ed0fd11cd896663cfd5375f23a49bd18f8018d0cfe380f33bf34cc2bc89f98f
checksum: a0edf8b4276b2f83c5dca5141187b3475a924716711bdc0fcaf02095d79065f5b032daab0392acc6d27e65fc99d7ef5e1fe33f7a8f7d39a465e9f0cb5b474fed
languageName: node
linkType: hard

Expand Down Expand Up @@ -2726,13 +2726,13 @@ __metadata:
linkType: hard

"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
version: 7.0.5
resolution: "cross-spawn@npm:7.0.5"
dependencies:
path-key: ^3.1.0
shebang-command: ^2.0.0
which: ^2.0.1
checksum: 671cc7c7288c3a8406f3c69a3ae2fc85555c04169e9d611def9a675635472614f1c0ed0ef80955d5b6d4e724f6ced67f0ad1bb006c2ea643488fcfef994d7f52
checksum: 55c50004cb6bbea3649784caac6e7b8ddd03fa8c1e14dbd5a1f15896708378006eb7526a52a0f48770c768c9b8aed48a5888eb8e785ff59ff7749e74f66cd96b
languageName: node
linkType: hard

Expand Down Expand Up @@ -4999,9 +4999,9 @@ __metadata:
languageName: node
linkType: hard

"pm2@npm:5.4.2":
version: 5.4.2
resolution: "pm2@npm:5.4.2"
"pm2@npm:5.4.3":
version: 5.4.3
resolution: "pm2@npm:5.4.3"
dependencies:
"@pm2/agent": ~2.0.0
"@pm2/io": ~6.0.1
Expand Down Expand Up @@ -5041,7 +5041,7 @@ __metadata:
pm2-dev: bin/pm2-dev
pm2-docker: bin/pm2-docker
pm2-runtime: bin/pm2-runtime
checksum: 652d80bb754c30bd0f3e7793e0116e1765699ad53aee936788c1043f5dc40432f3d9a2570e3f9abd0ecaebdc896835fa8ec87052f65b88a51222e83c12729327
checksum: e20dfd191f9100c6f8a4633e7f506b0996d0ca06efddddd2fc5b973e3c94df54381d1089e9aa7ae669b02dfa5a5750e85d269bf37a8e5096c1e59439c7916ae4
languageName: node
linkType: hard

Expand All @@ -5052,12 +5052,12 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:3.3.3":
version: 3.3.3
resolution: "prettier@npm:3.3.3"
"prettier@npm:3.4.1":
version: 3.4.1
resolution: "prettier@npm:3.4.1"
bin:
prettier: bin/prettier.cjs
checksum: bc8604354805acfdde6106852d14b045bb20827ad76a5ffc2455b71a8257f94de93f17f14e463fe844808d2ccc87248364a5691488a3304f1031326e62d9276e
checksum: f83ae83e38ae38f42c0b174833f58f820ed6eb063abfc5aa6725e8f9c1d626b54b1cb9d595cace525f8d59de89e186285f6bbcb460dc644ea9d8a7823cc54aca
languageName: node
linkType: hard

Expand Down Expand Up @@ -6011,23 +6011,23 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:5.6.3":
version: 5.6.3
resolution: "typescript@npm:5.6.3"
"typescript@npm:5.7.2":
version: 5.7.2
resolution: "typescript@npm:5.7.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: ba302f8822777ebefb28b554105f3e074466b671e7444ec6b75dadc008a62f46f373d9e57ceced1c433756d06c8b7dc569a7eefdf3a9573122a49205ff99021a
checksum: b55300c4cefee8ee380d14fa9359ccb41ff8b54c719f6bc49b424899d662a5ce62ece390ce769568c7f4d14af844085255e63788740084444eb12ef423b13433
languageName: node
linkType: hard

"typescript@patch:typescript@5.6.3#~builtin<compat/typescript>":
version: 5.6.3
resolution: "typescript@patch:typescript@npm%3A5.6.3#~builtin<compat/typescript>::version=5.6.3&hash=85af82"
"typescript@patch:typescript@5.7.2#~builtin<compat/typescript>":
version: 5.7.2
resolution: "typescript@patch:typescript@npm%3A5.7.2#~builtin<compat/typescript>::version=5.7.2&hash=85af82"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: ade87bce2363ee963eed0e4ca8a312ea02c81873ebd53609bc3f6dc0a57f6e61ad7e3fb8cbb7f7ab8b5081cbee801b023f7c4823ee70b1c447eae050e6c7622b
checksum: 803430c6da2ba73c25a21880d8d4f08a56d9d2444e6db2ea949ac4abceeece8e4a442b7b9b585db7d8a0b47ebda2060e45fe8ee8b8aca23e27ec1d4844987ee6
languageName: node
linkType: hard

Expand Down Expand Up @@ -6184,12 +6184,12 @@ __metadata:
languageName: node
linkType: hard

"uuid@npm:11.0.2":
version: 11.0.2
resolution: "uuid@npm:11.0.2"
"uuid@npm:11.0.3":
version: 11.0.3
resolution: "uuid@npm:11.0.3"
bin:
uuid: dist/esm/bin/uuid
checksum: 9b322963db18623d22f46cf98f51b45830f956715577fb24d272ec29324fe919bedbedc6e29627aced490ac3f982ee53c80441651daf4a6ef74f2af58689f2e0
checksum: 646181c77e8b8df9bd07254faa703943e1c4d5ccde7d080312edf12f443f6c5750801fd9b27bf2e628594182165e6b1b880c0382538f7eca00b26622203741dc
languageName: node
linkType: hard

Expand Down Expand Up @@ -6277,7 +6277,7 @@ __metadata:
"@types/helmet": 4.0.0
"@types/moment": 2.13.0
"@types/uuid": 9.0.8
"@wireapp/commons": 5.2.13
"@wireapp/commons": 5.4.0
cross-env: 7.0.3
dotenv: 16.4.5
dotenv-extended: 2.9.0
Expand All @@ -6296,11 +6296,11 @@ __metadata:
nocache: 4.0.0
nodemon: 3.1.7
opn: 6.0.0
pm2: 5.4.2
prettier: 3.3.3
pm2: 5.4.3
prettier: 3.4.1
rimraf: 6.0.1
typescript: 5.6.3
uuid: 11.0.2
typescript: 5.7.2
uuid: 11.0.3
webpack-dev-middleware: 7.4.2
webpack-hot-middleware: 2.26.1
languageName: unknown
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"confirmPageHeader": "Join your team",
"confirmPageSubHeader": "To ensure a secure transfer and prevent unauthorized access, please enter the password of your personal account again.",
"termsPageHeader": "Join your team",
"termsPageSubHeader": "You’re about to join the team.",
"termsPageSubHeader": "You’re about to join the team managed by {{email}}.",
"termsPageListHeader": "Things to know",
"termsPageListItem1": "Your <b>personal account will be transferred</b> to a team account.",
"termsPageListItem2": "<b>This change is permanent</b> and irrevocable.",
Expand Down
4 changes: 4 additions & 0 deletions src/script/Environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ declare global {
NEW_PASSWORD_MINIMUM_LENGTH: number;
RAYGUN_API_KEY: string;
STRIPE_API_KEY: string;
COUNTLY_SERVER_URL: string;
COUNTLY_API_KEY: string;
URL: {
ACCOUNT_DELETE_SURVEY: string;
DOWNLOAD_ANDROID_BASE: string;
Expand Down Expand Up @@ -99,3 +101,5 @@ export const TEAMS_URL = window.wire.env.URL.TEAMS_BASE;
export const WEBSITE_URL = window.wire.env.URL.WEBSITE_BASE;
export const URL_SUPPORT_BACKUP_HISTORY = window.wire.env.URL.URL_SUPPORT_BACKUP_HISTORY;
export const URL_TERMS_OF_USE_TEAMS = window.wire.env.URL.URL_TERMS_OF_USE_TEAMS;
export const COUNTLY_SERVER_URL = window.wire.env.COUNTLY_SERVER_URL;
export const COUNTLY_API_KEY = window.wire.env.COUNTLY_API_KEY;
3 changes: 3 additions & 0 deletions src/script/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {TermsAcknowledgement} from './page/migration/TermsAcknowledgement';
import {ConfirmInvitation} from './page/migration/ConfirmInvitation';
import {Welcome} from './page/migration/Welcome';
import {AcceptInvitation} from './page/migration/AcceptInvitation';
import {initializeTelemetry} from './util/Tracking/Tracking';

const LazyIndex = lazy(() => import('./page/Index'));
const LazyDeleteAccount = lazy(() => import('./page/DeleteAccount'));
Expand All @@ -45,6 +46,8 @@ const Root = () => {
const hlParam = queryParams.get(QUERY_KEY.LANG);
const userLocale = navigator.languages?.length ? navigator.languages[0] : navigator.language;

initializeTelemetry();

if (!hlParam && !userLocale.includes('en')) {
queryParams.set(QUERY_KEY.LANG, userLocale);
window.history.pushState(null, '', `?${queryParams.toString()}`);
Expand Down
4 changes: 4 additions & 0 deletions src/script/module/action/TeamAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ export class TeamAction {
acceptInvitation = async (payload: {code: string; password: string}) => {
return this.apiClient.api.teams.invitation.acceptInvitation(payload);
};

getInvitationInfo = async (code: string) => {
return this.apiClient.api.teams.invitation.getInvitationFromCode(code);
};
}
Loading
Loading