Commit Graph

26 Commits

Author SHA1 Message Date
Bruno Bernardino bd8b6fe9af
Update Tauri 2022-07-19 10:27:52 +01:00
Bruno Bernardino bff6491cac
Update dependencies to first stable. 2022-06-20 10:16:53 +01:00
Bruno Bernardino 3ae8aa2c38
Update Tauri
This updates Tauri, its dependencies, and confirms that uploading attachments works (drag and drop didn't, at least on Linux, but I didn't dig too deep into it to find out why).

Fixes #386
2022-05-16 16:03:18 +01:00
Martin Kleinschrodt e0bb56cd9a Update tauri and other dependencies 2022-03-22 08:01:48 +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
Bruno Bernardino 680ed9b79d
Add Tauri auto-updates
Closes #365

Still unfinished, I need to learn where are the build signatures stored.
2021-12-31 12:45:52 +00:00
Bruno Bernardino 3911a86a8a
Remove unnecessary code 2021-12-29 10:36:24 +00:00
Bruno Bernardino c3e4b1c298
Fix CORS issues in Tauri
Also, build with --debug (console) for non-prod environments
2021-12-28 19:41:17 +00:00
Bruno Bernardino b64f211487
Fix icon path, add new command to update tauri dependencies manually 2021-12-28 11:48:29 +00:00
Bruno Bernardino 73304830b1
Tauri now builds and works!
Also moved the icons back, because the build doesn't respect the paths sent
2021-12-27 12:26:54 +00:00
Bruno Bernardino f72e848e65
Fix Tauri build
This isn't working, but has some attempts. It's currently blocked, because the built app just has many `ReferenceError: Can't find variable: process`. Something with Webpack isn't building properly, as even trying to just run `webpack serve` from inside yields the same result (I updated webpack, but the problem is in the setup/config, really). I also tried setting `resolve.fallback.process: require.resolve('process/browser')` ([among other things](https://pretagteam.com/question/webpack-5-uncaught-referenceerror-process-is-not-defined)), but the executed code comes from `@padloc/app`, so I'd have to add that package there, and it feels wrong. I'm positive I'm just doing something wrong with the setup, but already spent quite some time on it.

To test, pull this down, run `npm install`, and `npm run tauri:dev` (runs with `webpack` instead of `tauri`, just because the console errors are more useful).

In the process of trying to get this to work, I migrated the icons to the assets directory and updated them. I also tweaked the initial HTML to match the new v4 theme.

Related to #281
2021-12-27 10:43:39 +00:00
Bruno Bernardino 9b5b8f0529
Tweak building 2021-12-26 09:38:28 +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
Bruno Bernardino 9b5f8e3d1e
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-15 16:16:37 +00: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 238b53ad97 Add tauri:dev command 2021-06-28 18:08:34 +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 ab79688284 WIP 17 2021-02-25 08:14:20 +01:00
Martin Kleinschrodt 00da3cc59d v3.1.3 2020-10-25 15:13:53 +01:00
Martin Kleinschrodt cf888a4276 some dependency updates 2020-10-25 14:05:58 +01:00
Martin Kleinschrodt a5f52e07ad Upgrade tauri
use fixed port for embedded server
Go back to using LocalStorage backend for tauri platform
2020-07-28 18:23:10 +02:00
Martin Kleinschrodt 71578d3f1d Bump version 2020-07-26 17:49:04 +02:00
Martin Kleinschrodt 19a1527314 Upgrade Tauri to latest 2020-07-21 16:55:56 +02:00
Martin Kleinschrodt d4b03558dc Add experimental tauri package 2020-07-19 17:50:05 +02:00