Commit Graph

73 Commits

Author SHA1 Message Date
Yogesh Choudhary Paliyal
fd70e7511a feat: add option to disable auto lock 2025-04-25 22:57:57 +05:30
Yogesh Choudhary Paliyal
e952987b7c Add autofill service to save and retrieve password (#940)
Add autofill service to save and retrieve password

Fixes #831

Add support for Android autofill service and saving credit card information in KeyPass.

* **Autofill Service Implementation**
  - Add a new `<service>` element in `app/src/main/AndroidManifest.xml` for the autofill service.
  - Create a new file `KeyPassAutofillService.kt` to implement the `AutofillService` class.
  - Override necessary methods: `onFillRequest`, `onSaveRequest`, `onConnected`, and `onDisconnected`.
  - Fetch accounts and show as suggestions in `onFillRequest`.
  - Save account data in the database in `onSaveRequest`.

* **Utility Functions**
  - Update `GetAutoFillService.kt` to include functions to check if the autofill service is enabled and to enable the autofill service if it is not enabled.

* **Autofill Service Configuration**
  - Add a new XML file `autofill_service.xml` to configure the autofill service.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/831?shareId=XXXX-XXXX-XXXX-XXXX).

* WIP

* feat: changes of autofill service

* implement auto fill service

* feat: disable lint
2025-04-05 17:10:33 +05:30
Yogesh Choudhary Paliyal
c583301dd3 Add option to enable/disable login timeout option (#1081) 2025-02-07 00:10:43 +05:30
Yogesh Choudhary Paliyal
1b6ba34786 feat: add DB Crash (#1077) 2025-02-03 23:55:03 +05:30
Yogesh Choudhary Paliyal
5be19d1600 Add Remember pass key (#1046)
* feat: validate pass key

* feat: validate passkeys

* feat: improve padding in hint screen

* feat: minor changes

* feat: cleanup
2025-01-25 19:45:22 +05:30
Yogesh Choudhary Paliyal
cae27f63b3 Disable biometric login after 24 hours of last password login (#971)
* Disable biometric login after 24 hours of last password login

Fixes #951

Add logic to disable biometric login if the user has not logged in via password in the last 24 hours.

* **UserSettings.kt**
  - Add `lastPasswordLoginTime` attribute to track the last password login time.

* **BiometricPrompt.kt**
  - Add logic to check `lastPasswordLoginTime` and disable biometric login if the last password login was more than 24 hours ago.
  - Add function `updateLastBiometricLoginTime` to update the last biometric login time.

* **AuthScreen.kt**
  - Add logic to reset `lastPasswordLoginTime` when users log in via password.

* **SharedPreferenceUtils.kt**
  - Add functions `updateLastBiometricLoginTime` and `updateLastPasswordLoginTime` to update the respective times in `UserSettings`.

* **ButtonBar.kt**
  - Add logic to reset `lastPasswordLoginTime` when users log in via password.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/951?shareId=XXXX-XXXX-XXXX-XXXX).

* feat: fix changes

* feat: cleanup
2024-09-15 16:48:59 +05:30
Yogesh Choudhary Paliyal
7082eddef3 Fix app lock issue (#958)
* Fix app lock issue

Fixes #954

Add app lock feature when the app is not in the foreground.

* **Settings Fragment**
  - Add a new setting to specify the time duration after which the app will lock when not in the foreground.
  - Update the UI to include this new setting.

* **Dashboard Activity**
  - Implement logic to lock the app when it goes to the background.
  - Use the new setting to determine the time duration after which the app will lock.
  - Add handlers to manage the lock timeout when the app is paused and resumed.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/954?shareId=XXXX-XXXX-XXXX-XXXX).

* feat: minor improvements

* feat: minor improvements

* feat: spotless fixes
2024-09-14 19:41:43 +05:30
Yogesh Choudhary Paliyal
d5e2608159 Add password hint field (#970)
* Add password hint field

Fixes #957

Add a password hint field to the authentication screen.

* **UserSettings.kt**: Add a new property `passwordHint` of type `String?` to the `UserSettings` data class.
* **SharedPreferenceUtils.kt**: Add functions `setPasswordHint` and `getPasswordHint` to save and retrieve the password hint in the `UserSettings` data store.
* **AuthScreen.kt**: Add a new state variable `passwordHint` to store the password hint. Add an `OutlinedTextField` for the password hint in the `Column` layout. Update the `ButtonBar` call to pass the `passwordHint` state variable.
* **ButtonBar.kt**: Add a new parameter `passwordHint` to the `ButtonBar` composable function. Update the `onClick` handler for the `Button` to save the password hint using the `setPasswordHint` function.
* **strings.xml**: Add a new string resource `enter_password_hint` with the value "Enter password hint".

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/yogeshpaliyal/KeyPass/issues/957?shareId=XXXX-XXXX-XXXX-XXXX).

* feat: add password hint
2024-09-14 16:57:04 +05:30
Kapil Baser
993ab75b40 Add Password Generator with Specific Special Characters #862 (#865)
* Precise choice about what special characters I need to use #862

* List Of Symbols Bug

* Changed

* Code Formatted

* SpotlessApply Checked
2024-06-05 22:53:14 +05:30
Yogesh Choudhary Paliyal
892f65fc10 Add password config in account detail (#861)
* feat: WIP password configs from AccountDetail

* feat: spotless fixes
2024-06-02 16:27:31 +05:30
Yogesh Choudhary Paliyal
29fd5ab8b2 feat: add app version in settings (#839)
* feat: add app version in settings

* feat: add about app section

* feat: change icon
2024-05-12 14:29:59 +05:30
Yogesh Choudhary Paliyal
52446c5cc1 Fix duplicate unique_id (#834)
* feat: fix duplicate unique id

* feat: fix duplicate unique id issue
2024-04-21 11:41:25 +05:30
Yogesh Choudhary Paliyal
a42a31138f Fix tags issue (#829)
* feat: add keepass csv importer

* feat: spotless

* fix: support for comma seperator tags
2024-04-07 17:44:41 +05:30
Yogesh Choudhary Paliyal
18fbfce6ce feat: spotless fix for project (#811) 2024-03-02 15:57:31 +05:30
Pablo Clavijo
470df520ca when creating password is now possible to add blank spaces for extra entropy, ref issue 755 (#787)
Co-authored-by: Yogesh Choudhary Paliyal <paliyalyogesh@gmail.com>
2024-03-02 15:45:28 +05:30
Yogesh Choudhary Paliyal
5febd988fb Merge acoount with totp (#711)
* Add button unlock with biometric on login page

* spotless fixes

* Merge Default Account With TOTP

* remove TOTP screen state
2023-09-24 13:25:32 +05:30
Yogesh Choudhary Paliyal
b6d01dee3a add last app version (#702)
* add last app version

* remove unused changes

* fix: encryption logic and add last app version

* minor changes

* remove testing crash

* cleanup

* spotless apply
2023-09-17 14:18:34 +05:30
Yogesh Choudhary Paliyal
02eb31a1ee feat: remove unused resources (#674) 2023-08-15 18:43:27 +05:30
Yogesh Choudhary Paliyal
087f3662cd add support for larger user settings object (#668) 2023-08-14 00:12:04 +05:30
Yogesh Choudhary Paliyal
ea9234e270 add more tests (#667)
* add more tests

* minor improvements

* spotless fix
2023-08-13 17:02:32 +05:30
Yogesh Choudhary Paliyal
1a3d346087 Fix: crash handler (#666)
* Fix: crash handler

* spotless fix
2023-08-12 19:18:02 +05:30
Yogesh Choudhary Paliyal
a051e8565a fix: disable backup (#664)
* fix: disable backup

* remove unwanted changes
2023-08-12 19:00:10 +05:30
Yogesh Choudhary Paliyal
ab0f67408d Add support to import google Chrome passwords (#646)
* remove production staging build flavours

* fix: support for debug keystore

* adding support for multiple importers

* add support for chrome password import

* add support for chrome password import
2023-08-05 15:52:55 +05:30
Yogesh Choudhary Paliyal
d3614ccd68 Fix debug key store (#645)
* remove production staging build flavours

* fix: support for debug keystore
2023-07-30 13:28:21 +05:30
Yogesh Choudhary Paliyal
555ddace30 Added support for Encrypted database, migration from non-encrypted from encrypted DB (#626)
* security in db

* feat: add sqlite cipher

* feat: added support for db encryption

* feat: run spotless
2023-07-23 11:16:57 +05:30
Yogesh Choudhary Paliyal
6f2b0c0198 Security Improvements (#624)
* impl. crypto manager

* added local userSettings

* minor improvements

* migrated data store to encrypted data store

* spotless fixes
2023-07-02 16:50:01 +05:30
Yogesh Choudhary Paliyal
9ec302908d Migrate TOTP screen to Compose from XML (#616)
* migrate totp

* formatting fixes
2023-06-24 15:51:14 +05:30
Vladislav Kochetov
160a67e579 Add change default password length setting (#599)
* Add change default password length setting

* Add a localized summary for preference item

* Add saving password length after changing it on the generation

---------

Co-authored-by: kochetov <kochetov@alkor.co.ru>
2023-06-03 09:24:27 +05:30
Yogesh Choudhary Paliyal
228f312619 fix: empty tags (#581) 2023-05-27 19:34:48 +05:30
Yogesh Choudhary Paliyal
2ddaa919c5 Biometric option added (#552) 2023-05-18 08:19:35 +05:30
Yogesh Choudhary Paliyal
d293d4bca9 totp migration to kotlin (#521) 2023-05-07 23:46:47 +05:30
Yogesh Choudhary Paliyal
cd364b755e java set to 8 (#520)
* java set to 8

* java bump to 11

* Update action.yml

* Update build.gradle

* material version bump

* Update pr-check.yaml

* java version change

* fix styling

* fix styling

* fix styling

* fix styling

* fix styling

* fix styling

* fix image styling

* fix styling

* fix styling

* fix styling
2023-05-07 21:45:49 +05:30
Yogesh Choudhary Paliyal
0e65479a85 Backup Screen Migration to Compose (#512) 2023-05-07 11:54:49 +05:30
Yogesh Choudhary Paliyal
507be14e5a KEYPASS-472 | Add custom auth screen (#476)
* add custom auth screen

* minor improvements
2023-04-30 00:44:43 +05:30
Yogesh Choudhary Paliyal
2e6df18677 KEYPASS-237 | Add sorting options (#475) 2023-04-29 19:51:39 +05:30
Yogesh Choudhary Paliyal
d2ef2db341 fix: bug fixes (#422) 2023-04-22 20:11:35 +05:30
Yogesh Choudhary Paliyal
2e210102f1 minor improvement (#458) 2023-04-22 18:49:21 +05:30
Yogesh Paliyal
1b0240d76d Revert "spotless update and redux implementation"
This reverts commit 4431d03232.
2023-04-22 17:15:34 +05:30
Yogesh Paliyal
4431d03232 spotless update and redux implementation 2023-04-22 17:13:35 +05:30
Yogesh Choudhary Paliyal
019d14e449 Crashes Fix and Add more details in crash activity (#416) 2023-03-26 11:04:45 +05:30
Yogesh Choudhary Paliyal
d33293e14b Remove unused resource (#363)
* migration

* spotless run

* remvoed

* Update pr-check.yaml

* Update pr-check.yaml

* delete
2023-03-05 19:39:04 +05:30
Yogesh Choudhary Paliyal
9bbfef35e7 migration (#362)
* migration

* spotless run
2023-03-05 17:53:39 +05:30
Yogesh Choudhary Paliyal
146c6178ce Jetpack Compose: Migrate Detail Page (#361)
* WIP

* minor improvement

* Minor improvements

* feat: migrate detail and add account screen from XML to compose

* fix: spotless
2023-03-05 00:10:07 +05:30
Yogesh Choudhary Paliyal
078ff5fe0e AGP version bump (#358)
* version bump

* minor improvements
2023-03-04 15:54:31 +05:30
Yogesh Choudhary Paliyal
9c5bf0727d fix work manager issue (#352)
* fix

* fix workmanager provider issue
2023-02-27 21:52:18 +05:30
Yogesh Choudhary Paliyal
436b6fba2e Update AndroidManifest.xml 2023-02-27 11:50:24 +05:30
Yogesh Choudhary Paliyal
a1a5160016 yogeshpaliyal patch 1 (#345)
* Update AndroidManifest.xml

* Update AndroidManifest.xml
2023-02-27 09:42:21 +05:30
Yogesh Choudhary Paliyal
34613b29fa copied xml code to compose module (#305) 2023-01-19 00:04:59 +05:30
Yogesh Choudhary Paliyal
872098a04e create common application class, fix fab styling (#287)
* create common application class, fix fab styling

* fix: remove unused imports and add last line

* fix: spotless issues

* common application changes
2023-01-14 17:16:37 +05:30
Yogesh Choudhary Paliyal
ca2886acc8 Add support for Custom Keyphrase for the backups (#252)
* downgrade material

* added option for custom keyphrase

* fix spotless

* minor improvements

* fix magic number

* add more transaltions
2022-11-07 17:33:22 +05:30