2562 Commits
Author SHA1 Message Date
David Lönnhager 45f50427a8 Move out new helper functions from tunnel-state.spec.ts 2026-10-09 16:47:53 +02:00
David Lönnhager c225b0e222 Reset obfuscation to auto after Shadowsocks UI test
The Shadowsocks test used to finish by connecting with obfuscation
turned off, which left it off for the remaining tests. Restore the
default instead.
2026-10-09 16:40:55 +02:00
David Lönnhager 6646c93889 Retrieve out IP from CLI in UI test
This applies to the tunnel-state tests
2026-10-09 16:40:55 +02:00
David Lönnhager 9840199144 Remove unexpected disconnect in tunnel-state.spec.ts 2026-10-09 16:40:55 +02:00
David Lönnhager 6e8248a8ee Reconnect explicitly when changing settings in tunnel-state.spec
`expectConnected` could resolve for the old tunnel
2026-10-09 16:40:55 +02:00
David Lönnhager 60d9f366bd Get hostname details from CLI in tunnel-state.spec tests 2026-10-09 16:40:55 +02:00
Tobias Järvelöv 19c987314b Replace static values for dimensions with the dimensions constants 2026-10-09 16:13:37 +02:00
Tobias Järvelöv 6378233858 Add constants for dimensions used in the app 2026-10-09 16:13:37 +02:00
Oliver cda3f92965 Update translations 2026-10-09 15:16:42 +02:00
Oliver 2db54d8800 Update e2e tests 2026-10-09 15:16:42 +02:00
Oliver a4b59a7c94 Clear search when pressing location selector clear button 2026-10-09 15:16:42 +02:00
Oliver 731bf406b8 Update select location section titles to use h2 2026-10-09 15:16:42 +02:00
Oliver 656ee8a689 Expose and improve accessbility for LocationSelectorTrigger 2026-10-09 15:16:42 +02:00
Oliver 728a8d6f1a Update location selector line width and rounding of ends 2026-10-09 15:16:42 +02:00
Oliver 9002f6fffe Add support for triggering Trigger links with space 2026-10-09 15:16:42 +02:00
Oliver ba224aa637 Fix thumb boundary calculation in CustomScrollbars
Account for track padding
2026-10-09 15:16:38 +02:00
Oliver 84ca9fbb38 Link filter chips to their corresponding setting 2026-10-09 15:16:37 +02:00
Oliver b077deaf0e Add location selector to select location view 2026-10-09 15:16:37 +02:00
Oliver 7b89045353 Add SelectLocationSelector component 2026-10-09 15:16:37 +02:00
Oliver c9a5df0c64 Add automatic location to select location view 2026-10-09 15:16:37 +02:00
Oliver ff2ff3705e Export Scrollable styled component 2026-10-09 15:16:37 +02:00
Oliver 849fe29cf2 Add useConnection hook 2026-10-09 15:16:37 +02:00
Oliver e807471997 Rename filter country location utils 2026-10-09 15:16:37 +02:00
Oliver 5bc4a19ff4 Add layout prop to ExpandableContent 2026-10-09 15:16:37 +02:00
Oliver e71c73af86 Add is- and find location util functions 2026-10-09 15:16:37 +02:00
Oliver a02c2c46c2 Update LocationSelector z-indexes 2026-10-09 15:16:37 +02:00
Oliver eebbe33942 Update LocationSelector 2026-10-09 15:16:37 +02:00
Oliver 3d947d26aa Export FlexRowProps 2026-10-09 15:16:37 +02:00
Oliver 1a31e63d46 Update SelectableLabel transition duration 2026-10-09 15:16:37 +02:00
Oliver bbe2f672ba Rename redux connection hook files 2026-10-09 15:16:37 +02:00
Tobias Järvelöv 1e85f9d40e Update source-map-js to 1.2.2
Fixes:

- GHSA-68fv-2mgg-jv7q
2026-10-09 14:27:25 +02:00
Tobias Järvelöv b01a655a50 Update handlebars to 4.7.10
Fixes:

- GHSA-8r5x-fm3f-whwj
- GHSA-p8wg-vrv2-v86f
- GHSA-xw65-4hp5-5hc7
2026-10-09 14:27:12 +02:00
Tobias Järvelöv 8b3edeed11 Update npm to 12.2.0 2026-10-09 14:26:56 +02:00
Oskar 4a14d14aab Update script that lists issues to include more repositories 2026-10-08 18:21:33 +02:00
Oskar 177b532d3a Add script that lists security advisories 2026-10-08 18:21:33 +02:00
Tobias Järvelöv 6c36650c47 Reduce initial map from 493 px to 488 px
The `493` value is most likely an arbitrary picked one. The `488`
value is based on the app window height minus the header app.
2026-10-07 15:49:38 +02:00
Tobias Järvelöv 742f465cc6 Increase initial map height when app window is pinned on Windows
The app window size is 8px taller when the app is pinned on Windows,
this is an earlier hack we still have to do as otherwise the app
window is not the desired height of 568px.

However, with a recent upgrade to Electron 44 we noticed the map did
not render correctly and a black bar was seen on top of the map canvas.
This happened because the height of the initial render does not account
for the 8px added to the window size, as the initial render uses a
static value of 493px for the map, which does not correctly account for
the entire height that the map should be and the problem does not get
resolved by subsequent renders where we dynamically adjust the canvas
height.

Adding an extra 8px to the static value of 493px when the app is pinned
on Windows fixes this issue.

Relevant comments have been added in the code to clarify the
relationship between the map height and the app window height.
2026-10-07 15:49:38 +02:00
Tobias Järvelöv 46dc786a3a Remove extra padding of width for pinned window on Windows
This issue is no longer present in Electron 44+.
2026-10-07 15:49:38 +02:00
Tobias Järvelöv 0fdbbea8f6 Update @types/node to 24.13.6 2026-10-07 15:49:28 +02:00
Tobias Järvelöv 5ddbd78340 Update node to 24.17.0 to match electron version 2026-10-07 15:49:21 +02:00
Tobias Järvelöv b368ed12e9 Update electron to 44.5.1 2026-10-07 15:49:13 +02:00
David Lönnhager 05ec268c54 Add spawn constraint to macOS launch daemon
On some machines, the app bundle can be replaced by any admin user,
so mullvad-daemon can be replaced with a malicious binary that the
launch daemon runs as root.

This adds a spawn constraint that refuses to run any binary that does
not match the expected cdhash of mullvad-daemon. The hash is disabled
for unsigned builds since they don't have this hash embedded.
2026-10-06 15:04:07 +02:00
Oliver 5556e61b78 Add aria-hidden to LocationSelectorIcon 2026-10-02 10:51:59 +02:00
Oliver 102e47d134 Remove animation from LocationSelectorClearButton component 2026-10-02 10:18:26 +02:00
Oliver e96db4a95d Hide location selector input from screen readers until focused 2026-10-02 10:00:28 +02:00
Oliver dc25f9e79d Add SectionTitleDivider component 2026-10-02 09:37:44 +02:00
Oliver c3e75c882a Add decorative prop to Divider component 2026-10-02 09:37:44 +02:00
Oliver c36d04731e Update AnimatedListItem transition duration 2026-10-02 09:11:49 +02:00
Oliver c94bd1eda6 Add mode prop to AnimatedList 2026-10-02 09:11:24 +02:00
Oliver 999cda69b9 Add height and min-height styles to StyledGallery component 2026-10-02 08:48:08 +02:00