aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/decrypt_layout.xml
AgeCommit message (Collapse)AuthorFilesLines
13 hoursrefactor(app): remove the legacy decrypt screenDanilo M.1-65/+0
The Compose entry view replaces DecryptActivity, its layouts, menu and field adapter, and upstream's unused ViewPasswordScreen. BasePGPActivity keeps what the editor and autofill still need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2024-08-14chore: add missing copyright headers and update existing onesHarsh Shandilya1-1/+1
2022-07-15Remove unnecessary V2 suffixHarsh Shandilya1-1/+1
2022-07-15Remove OpenKeychain code and leave TODOs for missing functionalityHarsh Shandilya1-1/+1
2022-07-15all: re-do package structure yet againHarsh Shandilya1-1/+1
2021-12-07Fix missing final item in extra content pairs (#1578)Aditya Wasan1-10/+15
2021-11-03app: remove invalid color referencesHarsh Shandilya1-2/+0
2021-04-21Support creating pinned shortcuts directly (#1393)Harsh Shandilya1-14/+1
* CHANGELOG: update for pinning support * PasswordFragment: support pinning * PasswordStore: use `PasswordItem#createAuthEnabledIntent` * PasswordItem: add `createAuthEnabledIntent` API * DecryptActivity: remove last changed time Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: format XML files to 2 space indentHarsh Shandilya1-61/+61
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-18all: update copyrightsHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-19Parse extra content into key value pairs (#1321)Aditya Wasan1-146/+63
* ui: add skeleton recyclerview to parse extra content Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * ui: add recyclerview and update PasswordEntry to create map of key-value pairs Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * password-entry: When key-value pair is not correctly formed, display it as Extra Content Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Fix formatting Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * bug: update otp code on main thread Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Add complete string if key-value pair cannot be formed Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * test: add a few tests for key-value parsing logic Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * prefs: remove SHOW_EXTRA_CONTENT from shared preferences Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Update CHANGELOG.md * Cleanup and refactor Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntryTest: silence nullability warning Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntry: simplify constructor Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordEntry: annotate test-enablement visibility Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Reintroduce the catch-all field Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * update parsing logic Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * add one more test case Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Add missing newlines Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove unnecessary scrollview Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * rv: do not return if hasExtraContent is false Signed-off-by: Aditya Wasan <adityawasan55@gmail.com> * Don't anchor RV to bottom Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-12-05Refactor package structure (#1233)Harsh Shandilya1-1/+1
* idea: default test runner to Gradle * Kick off package structure revamp * Reparent all classes under dev.msfjarvis.aps Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-03Migrate to ActivityResultContracts (#910)Harsh Shandilya1-1/+0
* Move git directory selection to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * global: replace all android.app.Activity references Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * res: resolve ObsoleteSdkInt lint warning Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * layout: silence some overdraw warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordFragment: address deprecation Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * PasswordStore: start addressing deprecation warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * autofill: silence deprecation warnings for legacy implementation I don't want to ever touch these files Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Reset scrollTarget after use Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Refresh password list after each swipe Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Convert if to when Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Migrate UserPreference to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Also validate result in git directory selection Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * AutofillSaveActivity: Switch to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * AutofillDecryptActivity: Switch to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * AutofillFilterActivity: Switch to ActivityResultContracts Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Improve deletion flow - Silently delete empty directory - Always refresh password list upon completion Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Uniform naming for activity result handlers Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-06-29Reintroduce TOTP support (#890)Harsh Shandilya1-2/+25
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-06-12Break down PGP Activity into focused sections (#776)Harsh Shandilya1-6/+6
2020-05-31Completely revamp decrypted password screen (#817)Harsh Shandilya1-112/+43
* Completely revamp decrypted password screen Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * update changelog Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-05-28Remove HOTP/TOTP support (#806)Harsh Shandilya1-41/+2
2020-05-14treewide: Reformat XML resources again (#774)Fabian Henneke1-2/+1
2020-05-13treewide: fix copyright template and apply to all files (#773)Harsh Shandilya1-0/+5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-33/+33
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
2020-05-10Miscellaneous UI tweaking (#771)Harsh Shandilya1-4/+1
* Remove dangling UI element and relayout authentication modes * Drop unnecessary actionBarPopupTheme declaration * Improve ssh keygen UI * Commonize button styling * Tweak save button in server config * Tweak generate button in ssh keygen * Commonize OutlinedButton style Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-05Resolve various memory leaks (#637)Harsh Shandilya1-10/+0
This migrates the clipboard clear logic into a foreground service that allows us to also provide a notification that runs the clear task immediately on click, rather than wait for the timeout. Co-authored-by: Aditya Wasan <adityawasan55@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2019-10-01Redesign UI and introduce dark theme (#519)Harsh Shandilya1-200/+223
Caveats: - The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead. - The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it.
2019-05-31treewide: Resolve layout warningsHarsh Shandilya1-22/+3
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-26Added a "SHOW EXTRA CONTENT" button under the "SHOW PASSWORD" button. (#510)Emmanuel Corrales1-0/+13
* Add 'SHOW EXTRA CONTENT' button. * Show the extra content after clicking the 'SHOW EXTRA CONTENT' button. * Change the regular button to a toggle button and add text for hiding extra contents. * Change the implementaton of showing/hiding extra contents to accomodate using a toggle button. * Add padding to the top of the button.
2018-10-12wrapping of long passwordsحسين1-1/+3
resolves #360
2018-09-25Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code ↵Joel Beckmeyer1-45/+46
(#413) * Display HOTP code if password contains HOTP secret, unify HOTP and TOTP code * Add ability to show HOTP instead of showing every decrypt * Fix off by 1 error * fix return intent logic so that edits and HOTP increments are properly committed * fix linting errors * Fix broken logic for case when a password is created * add ability to choose if password entry will be updated on HOTP code calculation
2018-01-16Fix totp elements layout (#367)Balasankar C1-3/+4
* Fix totp elements layout * Add missing rule * Make username copy button invisible by default * Fix totp copy button string * Don't show username fields if not set
2017-12-26show age for passwords in detail view (#339)Christoph Böhmwalder1-0/+13
* show age for passwords in detail view Implements #330. This fetches the latest commit where the respective password file was changed from the current HEAD and outputs the relative time since the last change on the decrypt page. * Move lastChanged logic out of PgpActivity This nicely encapsulates the lastChanged logic (and thus separates it from dependencies like git). The last changed date is now passed as a timestamp using the Intent's extra info.
2017-11-19fix totp not showing if set in password without extra contentMohamed1-0/+3
2017-11-19hide password label if password is emptyMohamed1-0/+1
fix #295
2017-11-19Display TOTP code if entry contains OTP secretWiktor Kwapisiewicz1-1/+38
TOTP is calculated on display and on copy to clipboard from secret embedded in entry (either in password or in extra) and the current time.
2017-08-11lint use "sp" rather than "dp" for text sizezeapo1-2/+2
2017-08-10Fix the context in layoutsMohamed Zenadi1-1/+1
2017-08-10initial work on pgp activityMohamed Zenadi1-2/+2
2017-08-02Fix more lint (#325)Felix Bechstein1-3/+6
* fix/ignore lint errors, run lint on travis * fix/ignore some lint warnings
2017-07-25Fix lint warnings (#319)Felix Bechstein1-11/+12
* Fix lint errors/warnings Fix a lot of lint errors and warnings. Most things are automatically applied fixes done with android studio: * externalize strings * remove unused code / classes / layouts / imports * migrate some fields to local variables * Remove dead code from comments Removed code that is commented out long ago. * remove unused resources * colors * strings * drawables * layouts * menus
2017-07-22Parse username from password entry, refs #192 (#318)Felix Bechstein1-8/+53
This is a first step of letting APS handle usernames from password entries. It shows the username in PgpHandler and allows to copy it to the clipboard.
2017-07-16externalize strings (#316)Felix Bechstein1-2/+2
2017-05-25no longer needed as it was fixed in OpenKeychainMohamed1-17/+0
2016-10-17Added the ability to make an invisible password visible using a button, and ↵Daniël van den Berg1-0/+9
added some rough translations. (#230)
2016-06-10Restyle password entry activityDSIW1-11/+15
2015-08-27Some UI loading for #119Matthew Wong1-0/+17
2014-10-30Make decrypted Extra content selectableJohannes Baiter1-0/+1
2014-09-29show toast on copy and dismiss dialog if error on openkeychainknuthy1-1/+1
2014-08-17major ui improvement to the list using SwipeListViewzeapo1-39/+7
2014-08-15some improvements to decrypt uiknuthy1-34/+48
2014-08-06corrected the icon for decryptionZeapo1-1/+1
2014-08-06some refactoring with nicer icons...Zeapo1-73/+91
2014-08-06some ui improvements (icons and return from pgphandler to top)Zeapo1-1/+1