Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: polypixeldev/polypass
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.0
Choose a base ref
...
head repository: polypixeldev/polypass
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 7 files changed
  • 3 contributors

Commits on Sep 9, 2023

  1. fix: fix generator length changing (#36)

    * fix: fix generator length changing
    
    * chroe: fix formatting
    
    * chore: fix more formatting
    polypixeldev authored Sep 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bc08e2d View commit details
  2. chore(deps): bump archive from 3.3.7 to 3.3.8 (#37)

    Bumps [archive](https://github.com/brendan-duncan/archive) from 3.3.7 to 3.3.8.
    - [Changelog](https://github.com/brendan-duncan/archive/blob/main/CHANGELOG.md)
    - [Commits](brendan-duncan/archive@3.3.7...3.3.8)
    
    ---
    updated-dependencies:
    - dependency-name: archive
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 9, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bf73e42 View commit details

Commits on Mar 24, 2024

  1. Fix flutter analyze issues

    polypixeldev committed Mar 24, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    polypixeldev Samuel Fernandez
    Copy the full SHA
    880883c View commit details
  2. Complement metainfo.xml (#38)

    Based on what is already available in the LinuxPhoneApps listing I added some missing metainfo:
    
    Adds vcs-browser url
    Adds categories
    1Maxnet1 authored Mar 24, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    965e7a0 View commit details
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -11,3 +11,4 @@ analyzer:
invalid_annotation_target: false
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"
6 changes: 3 additions & 3 deletions lib/bridge_generated.dart
Original file line number Diff line number Diff line change
@@ -811,9 +811,9 @@ class LibpolypassWire implements FlutterRustBridgeWireBase {
}

late final _new_uint_8_list_0Ptr = _lookup<
ffi.NativeFunction<
ffi.Pointer<wire_uint_8_list> Function(
ffi.Int32)>>('new_uint_8_list_0');
ffi
.NativeFunction<ffi.Pointer<wire_uint_8_list> Function(ffi.Int32)>>(
'new_uint_8_list_0');
late final _new_uint_8_list_0 = _new_uint_8_list_0Ptr
.asFunction<ffi.Pointer<wire_uint_8_list> Function(int)>();

8 changes: 5 additions & 3 deletions lib/pages/generator/generator.dart
Original file line number Diff line number Diff line change
@@ -132,9 +132,11 @@ class Generator extends StatelessWidget {
.colorScheme
.tertiary,
onChanged: (val) {
context.read<GeneratorBloc>().add(
GeneratorEvent.lengthChanged(
val.toInt()));
if (val.toInt() != state.length) {
context.read<GeneratorBloc>().add(
GeneratorEvent.lengthChanged(
val.toInt()));
}
})),
SizedBox(
width: 130,
6 changes: 3 additions & 3 deletions lib/pages/home/home.dart
Original file line number Diff line number Diff line change
@@ -79,10 +79,10 @@ class Home extends StatelessWidget {
context, 'open');

if (url != null) {
vaultBloc.add(
vaultBloc.add(VaultEvent.opened(
url,
// ignore: use_build_context_synchronously
VaultEvent.opened(
url, context));
context));

scaffoldManager.showSnackBar(
const SnackBar(
12 changes: 8 additions & 4 deletions lib/pages/vault/home/tree.dart
Original file line number Diff line number Diff line change
@@ -47,7 +47,8 @@ class Tree extends StatelessWidget {
TreeGroup(group: group.group, path: [group.group.name]))
]);
},
onAccept: (pathStr) async {
onAcceptWithDetails: (details) async {
final pathStr = details.data;
final componentPath = pathStr.split('.');
final componentData = unlockedState.vault.getComponent(componentPath);
var updatedVault = unlockedState.vault.deleteComponent(componentPath);
@@ -70,7 +71,8 @@ class Tree extends StatelessWidget {

vaultBloc.add(VaultEvent.updated(updatedVault, masterKey));
},
onWillAccept: (pathStr) {
onWillAcceptWithDetails: (details) {
final pathStr = details.data;
if (unlockedState.selectedGroup?.join('.') == pathStr ||
unlockedState.selectedItem?.join('.') == pathStr) {
return false;
@@ -303,7 +305,8 @@ class TreeGroup extends StatelessWidget {
),
);
},
onAccept: (pathStr) async {
onAcceptWithDetails: (details) async {
final pathStr = details.data;
final componentPath = pathStr.split('.');
final componentData =
unlockedState.vault.getComponent(componentPath);
@@ -324,7 +327,8 @@ class TreeGroup extends StatelessWidget {

vaultBloc.add(VaultEvent.updated(updatedVault, masterKey));
},
onWillAccept: (pathStr) {
onWillAcceptWithDetails: (details) {
final pathStr = details.data;
if (unlockedState.selectedGroup?.join('.') == pathStr ||
unlockedState.selectedItem?.join('.') == pathStr ||
path.join('.') == pathStr) {
7 changes: 6 additions & 1 deletion linux/io.github.polypixeldev.Polypass.appdata.xml
Original file line number Diff line number Diff line change
@@ -6,6 +6,11 @@
<summary>A simple, secure, and easy to use password manager</summary>
<url type="homepage">https://github.com/polypixeldev/polypass</url>
<url type="bugtracker">https://github.com/polypixeldev/polypass/issues</url>
<url type="vcs-browser">https://github.com/polypixeldev/polypass</url>
<categories>
<category>Utility</category>
</categories>


<metadata_license>MIT</metadata_license>
<project_license>GPL-3.0</project_license>
@@ -69,4 +74,4 @@
</description>
</release>
</releases>
</component>
</component>
74 changes: 53 additions & 21 deletions pubspec.lock
Original file line number Diff line number Diff line change
@@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: archive
sha256: "0c8368c9b3f0abbc193b9d6133649a614204b528982bebc7026372d61677ce3a"
sha256: "49b1fad315e57ab0bbc15bcbb874e83116a1d78f77ebd500a4af6c9407d6b28e"
url: "https://pub.dev"
source: hosted
version: "3.3.7"
version: "3.3.8"
args:
dependency: transitive
description:
@@ -181,10 +181,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev"
source: hosted
version: "1.17.1"
version: "1.18.0"
colorize:
dependency: transitive
description:
@@ -480,6 +480,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "6.7.1"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
url: "https://pub.dev"
source: hosted
version: "10.0.0"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
url: "https://pub.dev"
source: hosted
version: "2.0.1"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
url: "https://pub.dev"
source: hosted
version: "2.0.1"
lints:
dependency: transitive
description:
@@ -500,26 +524,26 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
version: "0.12.15"
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.dev"
source: hosted
version: "0.2.0"
version: "0.8.0"
meta:
dependency: "direct main"
description:
name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.11.0"
mime:
dependency: transitive
description:
@@ -548,10 +572,10 @@ packages:
dependency: transitive
description:
name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
version: "1.8.3"
version: "1.9.0"
path_provider:
dependency: "direct main"
description:
@@ -745,26 +769,26 @@ packages:
dependency: transitive
description:
name: source_span
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.10.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev"
source: hosted
version: "1.11.0"
version: "1.11.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.1"
version: "2.1.2"
stream_transform:
dependency: transitive
description:
@@ -793,10 +817,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.5.1"
version: "0.6.1"
timing:
dependency: transitive
description:
@@ -845,6 +869,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
url: "https://pub.dev"
source: hosted
version: "13.0.0"
watcher:
dependency: transitive
description:
@@ -902,5 +934,5 @@ packages:
source: hosted
version: "2.1.1"
sdks:
dart: ">=3.0.0 <4.0.0"
dart: ">=3.2.0-0 <4.0.0"
flutter: ">=3.7.0"