From a0263aabadf04869da704a0075f01bfde98f279a Mon Sep 17 00:00:00 2001 From: Zeapo Date: Fri, 1 Aug 2014 00:17:05 +0100 Subject: [PATCH] Better distinction between categories and passwords, multilevel categories --- .idea/gradle.xml | 1 + .idea/libraries/support_v4_19_1_0.xml | 11 ++ app/src/main/AndroidManifest.xml | 46 ++++--- .../java/com/zeapo/pwdstore/GitClone.java | 2 + .../com/zeapo/pwdstore/PasswordAdapter.java | 50 -------- .../com/zeapo/pwdstore/PasswordFragment.java | 39 ++++-- .../zeapo/pwdstore/PasswordRepository.java | 95 -------------- .../com/zeapo/pwdstore/PasswordStore.java | 121 ++++++++++++------ .../com/zeapo/pwdstore/UserPreference.java | 2 + .../{ => crypto}/OpenPgpProviderActivity.java | 5 +- .../pwdstore/{ => crypto}/PgpHandler.java | 82 ++++++++++-- .../zeapo/pwdstore/utils/PasswordAdapter.java | 63 +++++++++ .../zeapo/pwdstore/utils/PasswordItem.java | 103 +++++++++++++++ .../pwdstore/utils/PasswordRepository.java | 88 +++++++++++++ .../main/res/layout/activity_pgp_handler.xml | 62 +++++++-- .../main/res/layout/password_row_layout.xml | 22 +++- app/src/main/res/menu/pgp_handler.xml | 2 +- app/src/main/res/menu/pwdstore.xml | 5 + app/src/main/res/values/styles.xml | 2 +- 19 files changed, 555 insertions(+), 246 deletions(-) create mode 100644 .idea/libraries/support_v4_19_1_0.xml delete mode 100644 app/src/main/java/com/zeapo/pwdstore/PasswordAdapter.java delete mode 100644 app/src/main/java/com/zeapo/pwdstore/PasswordRepository.java rename app/src/main/java/com/zeapo/pwdstore/{ => crypto}/OpenPgpProviderActivity.java (99%) rename app/src/main/java/com/zeapo/pwdstore/{ => crypto}/PgpHandler.java (72%) create mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/PasswordAdapter.java create mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/PasswordItem.java create mode 100644 app/src/main/java/com/zeapo/pwdstore/utils/PasswordRepository.java diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 6a2ce86f..453f2fcf 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -15,6 +15,7 @@ +