Bruno Bernardino
23a18a2736
Make the publish specific to snap, as it's the only one that needs to be overridden, really.
2022-07-27 10:20:23 +01:00
Bruno Bernardino
e26d31027b
Fix publishing snap in GitHub release
...
This should allow the built snap to be uploaded to the GH release. It was built in https://github.com/padloc/padloc/runs/7500288391?check_suite_focus=true but never published.
The public snap listing is now available in https://snapcraft.io/padloc with the amd64 version.
2022-07-27 10:10:23 +01:00
Martin Kleinschrodt
2ea970b261
Allow selectively disabling all billing functionality on certain platforms ( #505 )
...
* Allow selectively disabling all billing functionality on certain platforms
* Remove check for org metadata param in customer
* Fix linter complaint
2022-07-26 10:41:30 +01:00
Bruno Bernardino
f28fe028b1
Update code comments
2022-07-21 07:18:44 +01:00
Bruno Bernardino
3c5917dd99
Remove unnecessary code
2022-07-21 07:18:03 +01:00
Bruno Bernardino
45d4f51163
Quit the app when suspending or locking it
2022-07-21 07:16:39 +01:00
Bruno Bernardino
748de04248
Desktop lock on suspend
...
Related to #211
Note that this attempt doesn't quite work as the app doesn't load properly in Electron, and I eventually stopped trying to, since it's turning into a lot of effort. I just wanted it "documented".
There are to options to close #211 :
1. When we detect the system is suspending/locking, shutdown/quit the app. This won't require any communication with the PWA.
2. We implement something like [`electron-safe-ipc`](https://www.npmjs.com/package/electron-safe-ipc ) directly in the PWA, so electron can send the lock event to it.
Option 1 is not a great UX, but does handle the security aspect.
Option 2 is a much better UX, but introduces a new dependency that is only _relevant_ when the app's used via Electron.
2022-07-20 12:18:58 +01:00
Bruno Bernardino
2adb5afdad
Support Apple Silicon (arm64) for Electron builds
...
Fixes #494
2022-07-18 11:33:37 +01:00
Bruno Bernardino
292596b95b
Update electron packages, rebuild with snap fixes too.
2022-07-04 13:36:10 +01:00
Bruno Bernardino
b1c6ea39ad
Add snap and flatpak options to electron publishing and release
...
Also adds `deb` and tweaks the v3 compatibility test a bit more since it has failed a couple of times in the last week.
Fixes #201
2022-07-04 12:22:12 +01:00
Martin Kleinschrodt
b00eb4fda9
Fix vulnerable dependencies (where possible)
2022-06-22 14:32:27 +02:00
Martin Kleinschrodt
e0bb56cd9a
Update tauri and other dependencies
2022-03-22 08:01:48 +01:00
Martin Kleinschrodt
1ae4ff0693
Add electron readme
2022-02-25 16:25:33 +01:00
Bruno Bernardino
ec5e5b9d78
Nothing works. Give up, use some of the cleaning.
2022-02-24 19:34:19 +00:00
Bruno Bernardino
9880e4c2c9
Fix Linux Electron icon
...
I can't build this locally over some strange permissions issue. I'm pushing to try if it works on CI.
I've tried many suggestions mentioned in the following PRs, but nothing worked. This one seems to at least try to do something about the icns file, though it's failing locally, like I said:
- https://github.com/electron-userland/electron-builder/issues/748
- https://github.com/electron-userland/electron-builder/issues/2269
- https://github.com/electron-userland/electron-builder/issues/4617
- https://github.com/electron-userland/electron-builder/pull/5385
- https://github.com/electron-userland/electron-builder/issues/2577#issuecomment-659879082
Related to #123
2022-02-24 16:14:05 +00:00
Martin Kleinschrodt
b37fb74e33
Load terms of service url from manifest file
2022-01-31 12:02:35 +01:00
Bruno Bernardino
1589b05baa
CI: Full Release ( #376 )
...
* CI: Full Release
This implements a full release action that takes care of creating a tag, release, then building and uploading builds for all targets.
2022-01-17 17:32:21 +00:00
Martin Kleinschrodt
6ee9b7ecea
Add job for building signed and notarized dmg for macos
2021-12-25 10:33:24 +01:00
Bruno Bernardino
6c30eae65f
CI: Build Electron
...
This has the setup for building for Linux, macOS, and Windows, but still likely needs some more setup.
Related to #330
2021-12-24 19:59:07 +00:00
Bruno Bernardino
50ae105b45
A few improvements, requested from the review:
...
- File reading is now happening later in the process;
- File reading now reuses methods from `core/attachment`;
- Errors thrown in the import now include an error message;
- Adds prettier command to "prettify" all files;
- Adds prettier command to check for files not conforming to prettier's config;
- Makes CI run the prettier:check command;
- Changes `export const method = () => {};` to `export function method() {}` in the `1pux-parser` file;
- Other minor consistency changes/fixes/improvements;
- Actually ran prettier on every file, and it had a lot of things to tweak.
2021-12-20 15:01:25 +00:00
Martin Kleinschrodt
7d262e35be
Fix build issues by updating dependencies and regenerating lock files
2021-12-16 10:33:05 +01:00
Bruno Bernardino
5d0d688968
Lock dependencies' versions
...
This implements `.nvmrc` and `.npmrc` files, as well as locking `package.json` versions, in order to get us closer to reproducible builds and more stable environment.
Closes #320
2021-12-16 09:01:59 +01:00
Martin Kleinschrodt
6a74bc0080
If no apple id or password is provided, skip notarization step instead of throwing error
2021-11-29 10:20:46 +01:00
Martin Kleinschrodt
ff0b4d3c40
Resolve assets dir relative to root dir, not current file
2021-11-19 15:58:09 +01:00
Martin Kleinschrodt
f49fcc4043
Update notarize script
2021-11-18 16:47:00 +01:00
Martin Kleinschrodt
b8e7fa01f3
Add minimum width and height to electron app window (plus some logs for future debugging)
2021-11-14 10:16:07 +01:00
Martin Kleinschrodt
7b8e337f92
store apple id used for macos app notarization in environment variable
2021-11-02 17:08:24 +01:00
Martin Kleinschrodt
9dce9aa8ef
Add deep linking support for electron app
2021-10-19 08:14:47 +02:00
Martin Kleinschrodt
ab258892ea
Some minor tweaks
2021-10-15 15:56:55 +02:00
Martin Kleinschrodt
242d7b0397
Update electron build process
2021-10-15 14:39:25 +02:00
Martin Kleinschrodt
80ef149559
Add support page
2021-10-14 15:58:24 +02:00
Martin Kleinschrodt
87c5cd74af
Some more theme adjustments
2021-10-09 18:10:57 +02:00
Martin Kleinschrodt
ba2fe6f874
Adjust loading screen color based on theme
2021-10-09 17:23:05 +02:00
Martin Kleinschrodt
b5d3bb2a4a
Try preventing oauth popups from being blocked where possible
2021-09-28 09:13:27 +02:00
Martin Kleinschrodt
54a161e502
Some dependency upgrades
2021-09-15 10:20:21 +02:00
Martin Kleinschrodt
63076556d8
Bump npm version to 4.0.0; clean up/fix some dependencies
2021-08-06 15:07:25 +02:00
Martin Kleinschrodt
4e748dec1f
First pass at implementing biometric unlock using webauthn
2021-06-16 17:20:49 +02:00
Martin Kleinschrodt
3444dc9e7f
WIP 35
2021-05-30 15:53:51 +02:00
Martin Kleinschrodt
2ee9f9736a
WIP 19
2021-02-25 08:14:20 +01:00
Martin Kleinschrodt
00da3cc59d
v3.1.3
2020-10-25 15:13:53 +01:00
Martin Kleinschrodt
71578d3f1d
Bump version
2020-07-26 17:49:04 +02:00
Martin Kleinschrodt
2bd3188b11
Bump the rest of the package files to v3.1.1 that were missed before
2020-07-04 16:24:20 +02:00
Martin Kleinschrodt
cf78d7321e
v3.1.1
2020-07-04 15:32:28 +02:00
Martin Kleinschrodt
0495c2bb5a
Update electron and electron-builder dependencies
2020-05-30 12:15:49 +02:00
Martin Kleinschrodt
82cb762f1f
bump version to 3.1.0
2020-05-27 18:47:53 +02:00
Martin Kleinschrodt
eb4022c3d4
Update init scripts for electron and Cordova packages
2020-03-12 11:17:11 +01:00
Martin Kleinschrodt
c722d05203
v3.0.14
2020-03-10 14:57:01 +01:00
Martin Kleinschrodt
9e961e214b
v3.0.13
2019-12-13 10:39:02 +01:00
Martin Kleinschrodt
cfa167f79f
v3.0.12
2019-12-05 15:27:35 +01:00
Martin Kleinschrodt
1839612d23
v3.0.11
2019-12-03 11:06:41 +01:00