Commit Graph

3198 Commits

Author SHA1 Message Date
Bruno Bernardino 0413a7cbe3
Force typing in a couple of places, and don't force in others.
It seems that when running too fast (headless, CI), the elements can sometimes not be ready or have an animation going on top of it.
2022-01-26 18:15:13 +00:00
Bruno Bernardino 905c703368
Signup test is working all the time, now.
I added a few more commands, but the login is still throwing somewhere, and I haven't investigated that fully just yet.
2022-01-26 18:01:40 +00:00
Bruno Bernardino 8ecb82c395
Finished setting up the signup and login tests.
There's still a problem of not being able to reproduce from a clean slate because the `packages/server/data` folder is always being used, and the browser appears to keep some state, somehow.
2022-01-24 18:13:10 +00:00
Bruno Bernardino 9e684c2cb7
Switch around because it's the order of closing, not starting, that matters. 2022-01-21 19:08:35 +00:00
Bruno Bernardino 8d26a77e97
Fix exit code for test 2022-01-21 19:04:22 +00:00
Bruno Bernardino f905ab77c6
First e2e test (via cypress)
This adds the first e2e test via [cypress](https://cypress.io). It's still incomplete, but it was a bit of a pain to figure out the shadow dom stuff.

The next step is to force a specific verification code when running via tests so the test can progress.
2022-01-21 18:51:27 +00:00
Bruno Bernardino a14ab29a61
Merge pull request #392 from padloc/fix/web-extension-beta-build
Allow setting a build for web extension beta builds
2022-01-21 17:25:02 +00:00
Bruno Bernardino e5672a62af
Allow setting a build for web extension beta builds
This prevents the error seen in https://github.com/padloc/padloc/runs/4899240160?check_suite_focus=true (`Version already exists. Latest version is: 4.0.0.x. (status: 409)`)
2022-01-21 16:45:02 +00:00
Bruno Bernardino b97e49ed30
Merge pull request #390 from padloc/feature/fix-tests
Fix tests
2022-01-19 18:54:25 +00:00
Bruno Bernardino 19cabc1841
Fix tests
This fixes the existing tests and enables them for the "basic" CI run on every push.

Some tests/files had to be completely commented out because they're very outdated, and I'd rather fix those in separate PRs.
2022-01-19 16:13:30 +00:00
Martin Kleinschrodt 656711fcfc
Merge pull request #389 from padloc/fix/issue-338
Redirect to new location after moving item to different vault
2022-01-17 19:54:17 +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 42583684c4 Make sure to replace current history entry instead of pushing new one 2022-01-17 17:42:17 +01:00
Martin Kleinschrodt 42850e23a5 If item with the current id is not found, redirect to list view 2022-01-17 17:34:50 +01:00
Martin Kleinschrodt 96ccb569ec Navigate to new item location after moving to new vault 2022-01-17 17:23:49 +01:00
Martin Kleinschrodt a3759db0f0
Merge pull request #387 from padloc/fix/issue-385
Better preserve context in web extension when closing/opening popup
2022-01-17 11:56:29 +01:00
Martin Kleinschrodt 18e19cdcbf Don't redirect to matching items unless:
- There are new matching items since last time the popup was opened OR
- We're on the items view already AND there is no active search context
2022-01-17 09:48:31 +01:00
Martin Kleinschrodt f2aad09fcf Remember search context when leaving search input; restore when navigating back to items 2022-01-16 14:06:50 +01:00
Martin Kleinschrodt 3535215bc8 Only force-navigate to maching items list if there are new matching items since last time the popup was opened of if we're on the list view already 2022-01-16 13:29:35 +01:00
Martin Kleinschrodt 02f44b3624
Merge pull request #384 from padloc/fix/issue-383
Fix various issues with Cordova iOS build
2022-01-14 18:27:42 +01:00
Martin Kleinschrodt bbb897910c Add PL_APP_NAME to environment plugin 2022-01-14 16:25:09 +01:00
Martin Kleinschrodt 720a56d902 Put window.matchMedia(...).addEventListener(...) into try ... catch block for those browsers that don't support that api yet (looking at you, Safari) 2022-01-14 16:23:26 +01:00
Martin Kleinschrodt c5e6948be8
Merge pull request #382 from padloc/fix/issue-349
Fix problem with popover menus near viewport edge being cut off. Fixes #349
2022-01-13 15:51:58 +01:00
Martin Kleinschrodt 9e37ee565d Fix prettier complaint 2022-01-13 08:53:52 +01:00
Martin Kleinschrodt f14c4f2ac1 Make sure popover menus near the viewport edge aren't cut off
Fix tags indicating group/vault/member count on group/vault/member items
Other visual consistency improvements
2022-01-13 08:48:46 +01:00
Martin Kleinschrodt fdd816e2b1
Merge pull request #380 from padloc/fix/issue-369
Add proper insets to attachment dialog on iPhone (and other devices with a notch)
2022-01-12 13:55:25 +01:00
Martin Kleinschrodt e0384194ab Fix prettier complaint 2022-01-11 17:22:45 +01:00
Martin Kleinschrodt 832e3aafef Hide favicon in item view on narrow screens 2022-01-11 17:08:50 +01:00
Martin Kleinschrodt 43a6e16cf7 Consistently handle top and bottom inset; Add proper inset to attachment dialog. 2022-01-11 17:03:20 +01:00
Martin Kleinschrodt 40f1e77d51 Add ios device orientation settings to config.xml; use more appropriate statusbar-spacing on devices with notch 2022-01-11 10:04:47 +01:00
Martin Kleinschrodt 8a0dce51a2 Fix syntax error 2022-01-11 08:07:01 +01:00
Martin Kleinschrodt 508817c703 Replace some left-over hardcoded user-visible mentions of "Padloc" 2022-01-11 08:03:01 +01:00
Martin Kleinschrodt 98a59e8824
Merge pull request #373 from padloc/feature/build-crx-web-extension
Build Signed CRX Web Extension
2022-01-05 08:35:35 +01:00
Bruno Bernardino 1a9adcdb0f
Simplify build env var logic. 2022-01-04 19:24:46 +00:00
Bruno Bernardino a1bb8c8a29
Tweak CI process for tests to build web extension, and for web extension building to add the dev build version when not building for production 2022-01-04 19:16:04 +00:00
Martin Kleinschrodt 181dd663c4
Merge pull request #375 from padloc/chore/upgrade-lit
Upgrade lit to v2.0.2
2022-01-04 17:54:17 +01:00
Martin Kleinschrodt 25e833a210 Fix prettier check 2022-01-04 17:36:44 +01:00
Martin Kleinschrodt 64de7ad941 Upgrade lit dependency to v2.0.2 2022-01-04 17:30:16 +01:00
Bruno Bernardino b44093c0ab
Change zip file name for crx 2022-01-04 11:17:38 +00:00
Bruno Bernardino 35b9e68453
Try 3 digits max 2022-01-04 10:40:54 +00:00
Bruno Bernardino 634861a948
Tweak version build number, so it's within Mozilla's limits 2022-01-04 10:20:33 +00:00
Bruno Bernardino 0b5879ddbf
One more try, mozilla 2022-01-04 10:10:43 +00:00
Bruno Bernardino 8cc877fa50
Update build number 2022-01-04 10:05:52 +00:00
Bruno Bernardino ee77c5b221
Don't use the commit sha for the builds, because it's too long for Firefox signing 2022-01-04 09:45:28 +00:00
Bruno Bernardino 95d29c6e01
Automatically update build manifest before releasing new web extension versions 2022-01-04 09:35:37 +00:00
Bruno Bernardino 4fae5e3c2a
Try different id format 2022-01-04 09:09:08 +00:00
Bruno Bernardino c38b89ba1a
Disable Firefox signing for non-beta/prod builds, and include id 2022-01-04 09:00:41 +00:00
Bruno Bernardino 8f6dda9e62
Build Signed CRX Web Extension
This is a complement to the already closed #330, to make it easier to test the dev builds of the extension in Chrome.
2022-01-04 08:28:58 +00:00
Bruno Bernardino b592eab0a9
Merge pull request #371 from padloc/feature/tauri-updates
Add Tauri auto-updates
2022-01-03 22:13:23 +00:00
Bruno Bernardino dfbc964070
Fix rust run 2022-01-03 21:58:27 +00:00