Commit graph

494 commits

Author SHA1 Message Date
zeapo
79e99cceac no need to list files as a store can be empty 2017-08-10 11:43:15 +02:00
zeapo
1c9d8537f5 the linter does not recognise our version check 2017-08-10 11:10:29 +02:00
zeapo
3daa34de90 fix unchecked
Also use File.listFiles rather than FileUtils
2017-08-10 11:10:29 +02:00
zeapo
96aa605b75 check that encryption works 2017-08-10 11:10:29 +02:00
zeapo
7bdeb80011 backport the fix of ssh key import 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
6b967923fd initial work on encrypt testing 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
cddf3e72de flatten encrypt layout 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
55db404f14 remove pgp handler 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
a69b6392aa remove useless code 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
145c96f5da Fix edit operation with latest changes in FILE_PATH 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
de5edf6e93 wait a little bit more for decryption 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
174635d936 rename to fullPath to avoid confusion 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
8019d8981c discard parent_path and use only file_path as before 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
fc260a6924 fix rebase error 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
09480d9390 Ensure that we have a single / 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
f80d13a5b3 add copy and clipboard clearing tests
this would have avoided the regression in .66 :)
2017-08-10 11:10:29 +02:00
Mohamed Zenadi
ce44171a0b decrypt test finally working 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
b145dfcf7f Add Espresso for testing 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
d347e8349e remove useless tests before writing new ones 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
3dba62308f Reduce duplicate code 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
eed0b59964 Call the new pgp activity 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
200fe9ebe0 add getkeyids support 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
7a3caad76f Fix the context in layouts 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
9553a224e4 no longer pgphandler in the main activity 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
0c09b42528 fix wrong class being used 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
958ea12a88 Add support of EDIT from the selection menu 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
e1ae4978ec Extract Select folder (moving) into its own activity
more work needed
2017-08-10 11:10:29 +02:00
Mohamed Zenadi
c3eb4f0a41 initial work on pgp activity 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
902cbd78b0 extract string 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
7cb474804b get rid of double bang 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
2f75559ac2 switch UserPreference to kotlin 2017-08-10 11:10:29 +02:00
Mohamed Zenadi
e6fc3bb177 fix typo when changing the behaviour of get sshkey 2017-08-05 18:54:16 +01:00
Felix Bechstein
e169235d96 Fix more lint (#325)
* fix/ignore lint errors, run lint on travis

* fix/ignore some lint warnings
2017-08-02 10:15:31 +01:00
Vladislav
253572c26d Update Russian translation (#327) 2017-08-01 22:29:37 +01:00
Mohamed Zenadi
1046634a3c fix password copy no longer working due to a typo 2017-07-29 10:57:09 +01:00
Mohamed Zenadi
43f479d773 revert deleted cases
These are called after the user enters his/her passphrase, hence really
needed… I messed up
2017-07-27 09:07:38 +01:00
Mohamed Zenadi
974d8e5f95 ensure data is not null 2017-07-27 00:45:09 +01:00
Felix Bechstein
2f75f99108 Support pasting username with autofill, fixes #192 (#321)
* Support pasting username with autofill, fixes #192

The workflow for pasting usernames is as follows:

1. Select password field
2. Select password store entry with username and paste it
3. Select any other editable field
4. Paste username

* Show toast when username is available for pasting
2017-07-26 08:04:45 +01:00
Mohamed Zenadi
d1ad306c1b Improve french translation 2017-07-25 21:54:38 +01:00
Mohamed Zenadi
5119ae1b8e remove the most probably the buggiest calls ever 2017-07-25 18:24:47 +01:00
Mohamed Zenadi
7e7a98e80a check that the data we get from OpenKeychain is not null 2017-07-25 18:19:06 +01:00
Mohamed Zenadi
55e549dc31 remove guava dep 2017-07-25 14:50:07 +01:00
Felix Bechstein
5da9e67545 Fix lint warnings (#319)
* 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-25 14:23:50 +01:00
Felix Bechstein
5cba6c62d7 Parse username from password entry, refs #192 (#318)
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-22 12:09:34 +02:00
Felix Bechstein
6ce31056c9 Show extra content w/o copy password, fixes #288 (#317)
Show extra content even if password is not copied to clipboard.
Add toggle to preferences as well.
2017-07-16 16:41:47 +02:00
Felix Bechstein
8e6ab25572 externalize strings (#316) 2017-07-16 16:38:30 +02:00
Felix Bechstein
816b3d2c4a Ignore .extensions directory (#315)
Ignore .extensions directory when traversing password tree.
2017-07-16 10:54:56 +02:00
Felix Bechstein
00e0c2541c update german translation (#314) 2017-07-15 22:29:30 +02:00
zeapo
2788786f65 add default android file picker for selecting ssh-key 2017-06-24 13:10:17 +02:00
zeapo
9608d662fd one last thing left, do not finish on commit 2017-06-24 12:59:00 +02:00