Skip to content

Commit 5856203

Browse files
committed
Merge branch 'staging'
2 parents 77dd845 + 2fda37a commit 5856203

File tree

6 files changed

+412
-363
lines changed

6 files changed

+412
-363
lines changed

app-config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"wire-web-config-internal": "https://github.com/wireapp/wire-web-config-default#v0.31.35",
3+
"wire-web-config-internal": "https://github.com/wireapp/wire-web-config-default#v0.32.0",
44
"wire-web-config-production": "https://github.com/wireapp/wire-web-config-wire#v0.31.36"
55
}
66
}

electron/src/main.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import minimist from 'minimist';
4141
import * as path from 'path';
4242
import {URL, pathToFileURL} from 'url';
4343

44-
import {LogFactory} from '@wireapp/commons';
44+
import {DateUtil, LogFactory} from '@wireapp/commons';
4545
import {WebAppEvents} from '@wireapp/webapp-events';
4646

4747
import * as ProxyAuth from './auth/ProxyAuth';
@@ -672,6 +672,7 @@ class ElectronWrapperInit {
672672
const colorCodeRegex = /%c(.+?)%c/gm;
673673
const stylingRegex = /(color:#|font-weight:)[^;]+; /gm;
674674
const accessTokenRegex = /access_token=[^ &]+/gm;
675+
const {date, time} = DateUtil.isoFormat(new Date());
675676

676677
contents.on('console-message', async (_event, _level, message) => {
677678
const webViewId = lifecycle.getWebViewId(contents);
@@ -682,7 +683,11 @@ class ElectronWrapperInit {
682683
const accountIndex = contents.id - 2;
683684

684685
if (webViewId) {
685-
const logFilePath = path.join(LOG_DIR, `${accountIndex}_${webViewId}`, config.logFileName);
686+
const logFilePath = path.join(
687+
LOG_DIR,
688+
`${accountIndex}_${date.replaceAll('-', '_')}_${time.replaceAll(':', '_')}_${webViewId}`,
689+
config.logFileName,
690+
);
686691
try {
687692
await LogFactory.writeMessage(
688693
message.replace(colorCodeRegex, '$1').replace(stylingRegex, '').replace(accessTokenRegex, ''),

electron/src/menu/TrayHandler.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,16 @@ export class TrayHandler {
100100
if (win.isFocused() || !count) {
101101
win.flashFrame(false);
102102
} else if (count > this.lastUnreadCount) {
103-
win.flashFrame(true);
103+
/* After an Electron API change https://github.com/electron/electron/pull/41391
104+
flashFrame() leads to a constant bouncing of the dock icon on macOS.
105+
By calling the dock.bounce() directly, we avoid this behavior. the "informational"
106+
is optional (default), but makes it easier to read
107+
*/
108+
if (process.platform === 'darwin') {
109+
app.dock.bounce('informational');
110+
} else {
111+
win.flashFrame(true);
112+
}
104113
}
105114
}
106115

electron/wire.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
"privacyUrl": "https://wire.com/privacy/",
2121
"supportUrl": "https://support.wire.com",
2222
"updateUrl": "https://wire-app.wire.com/win/prod/",
23-
"version": "3.37.0",
23+
"version": "3.38.0",
2424
"websiteUrl": "https://wire.com"
2525
}

package.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"dependencies": {
44
"@electron/remote": "2.1.2",
55
"@hapi/joi": "17.1.1",
6-
"@wireapp/certificate-check": "0.7.18",
7-
"@wireapp/commons": "5.2.13",
8-
"@wireapp/protocol-messaging": "1.50.0",
9-
"@wireapp/react-ui-kit": "9.26.0",
6+
"@wireapp/certificate-check": "0.7.19",
7+
"@wireapp/commons": "5.4.0",
8+
"@wireapp/protocol-messaging": "1.51.0",
9+
"@wireapp/react-ui-kit": "9.28.1",
1010
"@wireapp/webapp-events": "0.24.3",
1111
"auto-launch": "5.0.6",
1212
"axios": "0.21.2",
@@ -38,12 +38,12 @@
3838
"@babel/plugin-proposal-class-properties": "7.18.6",
3939
"@babel/plugin-proposal-optional-chaining": "7.21.0",
4040
"@babel/preset-env": "7.26.0",
41-
"@babel/preset-react": "7.25.9",
41+
"@babel/preset-react": "7.26.3",
4242
"@babel/preset-typescript": "7.26.0",
4343
"@babel/register": "7.25.9",
4444
"@electron/fuses": "1.8.0",
4545
"@electron/osx-sign": "1.3.1",
46-
"@types/adm-zip": "0.5.6",
46+
"@types/adm-zip": "0.5.7",
4747
"@types/amplify": "1.1.28",
4848
"@types/auto-launch": "5.0.5",
4949
"@types/content-type": "1.1.8",
@@ -54,75 +54,75 @@
5454
"@types/jest": "^29.5.14",
5555
"@types/lodash": "4.17.13",
5656
"@types/minimist": "1.2.5",
57-
"@types/mocha": "10.0.9",
58-
"@types/node": "18.19.61",
57+
"@types/mocha": "10.0.10",
58+
"@types/node": "18.19.67",
5959
"@types/open-graph": "0.2.5",
6060
"@types/platform": "1.3.6",
6161
"@types/prettier": "^2.7.3",
62-
"@types/react": "^18.3.12",
62+
"@types/react": "^18.3.13",
6363
"@types/react-dom": "^18.3.1",
6464
"@types/redux-logger": "^3.0.12",
6565
"@types/sinon": "17.0.3",
6666
"@types/sort-json": "2.0.3",
6767
"@types/uuid": "9.0.8",
6868
"@typescript-eslint/eslint-plugin": "7.17.0",
6969
"@typescript-eslint/parser": "7.18.0",
70-
"@wireapp/copy-config": "2.2.10",
71-
"@wireapp/eslint-config": "3.0.19",
70+
"@wireapp/copy-config": "2.2.11",
71+
"@wireapp/eslint-config": "3.0.20",
7272
"@wireapp/prettier-config": "0.6.4",
7373
"adm-zip": "0.5.16",
74-
"aws-sdk": "2.1691.0",
74+
"aws-sdk": "2.1692.0",
7575
"babel-core": "7.0.0-bridge.0",
7676
"babel-eslint": "10.1.0",
7777
"babel-jest": "29.7.0",
7878
"babel-loader": "9.2.1",
7979
"babel-plugin-istanbul": "6.1.1",
8080
"commander": "12.1.0",
81-
"core-js": "3.38.1",
81+
"core-js": "3.39.0",
8282
"cross-env": "7.0.3",
8383
"css-loader": "7.1.2",
84-
"dotenv": "16.4.5",
85-
"electron": "33.2.0",
84+
"dotenv": "16.4.7",
85+
"electron": "33.3.0",
8686
"electron-builder": "24.13.3",
8787
"electron-mocha": "12.3.1",
8888
"electron-packager": "17.1.2",
8989
"electron-winstaller": "4.0.1",
9090
"eslint": "8.57.0",
9191
"eslint-config-prettier": "9.1.0",
9292
"eslint-import-resolver-alias": "^1.1.2",
93-
"eslint-import-resolver-typescript": "^3.6.3",
93+
"eslint-import-resolver-typescript": "^3.7.0",
9494
"eslint-plugin-better-styled-components": "1.1.2",
9595
"eslint-plugin-header": "3.1.1",
9696
"eslint-plugin-import": "^2.31.0",
9797
"eslint-plugin-jasmine": "4.2.2",
98-
"eslint-plugin-jest": "28.8.3",
99-
"eslint-plugin-jest-dom": "5.4.0",
98+
"eslint-plugin-jest": "28.9.0",
99+
"eslint-plugin-jest-dom": "5.5.0",
100100
"eslint-plugin-jsdoc": "48.11.0",
101101
"eslint-plugin-jsx-a11y": "6.10.2",
102102
"eslint-plugin-no-unsanitized": "4.0.2",
103103
"eslint-plugin-prettier": "4.2.1",
104104
"eslint-plugin-react": "7.37.2",
105105
"eslint-plugin-react-hooks": "4.6.2",
106106
"eslint-plugin-simple-import-sort": "12.1.1",
107-
"eslint-plugin-testing-library": "6.4.0",
107+
"eslint-plugin-testing-library": "6.5.0",
108108
"eslint-plugin-unused-imports": "3.2.0",
109109
"form-data": "4.0.1",
110110
"husky": "4.3.8",
111111
"is-ci": "3.0.1",
112112
"jest": "29.7.0",
113113
"jest-environment-jsdom": "29.7.0",
114114
"lint-staged": "15.2.10",
115-
"mocha": "10.8.1",
116-
"nock": "13.5.5",
115+
"mocha": "10.8.2",
116+
"nock": "13.5.6",
117117
"nyc": "15.1.0",
118118
"prettier": "2.8.8",
119119
"rimraf": "5.0.8",
120120
"sinon": "17.0.2",
121121
"sort-json": "2.0.1",
122122
"style-loader": "4.0.0",
123123
"ts-node": "10.9.2",
124-
"typescript": "5.6.3",
125-
"webpack": "5.95.0",
124+
"typescript": "5.7.2",
125+
"webpack": "5.97.1",
126126
"webpack-cli": "5.1.4"
127127
},
128128
"homepage": "https://wire.com",
@@ -203,6 +203,6 @@
203203
"translate:upload": "ts-node -P tsconfig.bin.json ./bin/translations_upload.ts",
204204
"translate:download": "ts-node -P tsconfig.bin.json ./bin/translations_download.ts"
205205
},
206-
"version": "3.37.0",
206+
"version": "3.38.0",
207207
"packageManager": "[email protected]"
208208
}

0 commit comments

Comments
 (0)