Commit Graph
97 Commits
Author SHA1 Message Date
Andrea Torlaschi c389e543d0 (WIP) ImportKeys: Check if key is already present and verified 2016-08-28 23:48:08 +02:00
Andrea Torlaschi c3b1f2dec5 ImportKeys: Set real date even if we don't have an expected date 2016-08-28 22:33:18 +02:00
Andrea Torlaschi 9714bcc85b ImportKeys: Show refresh button and change text for "Show key" 2016-08-26 00:04:04 +02:00
Andrea Torlaschi c0c7c8cc62 ImportKeys: Check expected creation date with the real one 2016-08-25 23:50:37 +02:00
Andrea Torlaschi 238e9e6186 ImportKeys: Fix crash when there is only one search result after we downloaded another key in a previous search 2016-08-25 23:32:03 +02:00
Andrea Torlaschi 7abfa313f9 ImportKeys: Move creation date in the top part of the card 2016-08-25 23:25:17 +02:00
Andrea Torlaschi 4d813179c4 ImportKeys: Hide key status icon until key is downloaded 2016-08-25 22:57:11 +02:00
Andrea Torlaschi d87813a9e9 ImportKeys: Code style 2016-08-24 15:33:11 +02:00
Andrea Torlaschi 781292e38b ImportKeys: Fix start of operation after request of permission, fixes for permissions, refactoring 2016-08-24 15:07:14 +02:00
Andrea Torlaschi 28f2659cc2 ImportKeys: Fix warnings 2016-08-24 12:51:26 +02:00
Andrea Torlaschi ab3aaf3cb4 ImportKeys: Avoid adding two times the same top fragment 2016-08-24 12:21:43 +02:00
Andrea Torlaschi 702888bbe4 ImportKeys: Add ability to "Show key" instead of "Import" for already imported keys 2016-08-24 12:03:16 +02:00
Andrea Torlaschi 48266fd8e0 ImportKeys: Use the parsed key status and avoid deprecated method 2016-08-24 09:52:13 +02:00
Andrea Torlaschi 097b580d38 ImportKeys: If there is only one key, expand its card automatically 2016-08-23 17:45:53 +02:00
Andrea Torlaschi c916da790a ImportKeys: Show SearchView automatically 2016-08-23 17:11:08 +02:00
Andrea Torlaschi 1e33cd3a1a ImportKeys: Show single key card for files with only one key 2016-08-23 16:59:42 +02:00
Andrea Torlaschi 139c362058 ImportKeys: Change "List keys" to "View list" and paddings 2016-08-23 16:46:30 +02:00
Andrea Torlaschi 9b2e899f4f ImportKeys: Make the design more usable
- Make card clickable
- Move import button in expanded part of the card
2016-08-23 16:46:22 +02:00
Andrea Torlaschi 89dcb2535d ImportKeys: Change "Import keys" to "Import all keys" 2016-08-21 19:49:12 +02:00
Andrea Torlaschi 9f424c07f1 ImportKeys: Add auto complete to SearchView 2016-08-21 19:48:14 +02:00
Andrea Torlaschi 0f996b012a ImportKeys: Add possibility to go back to single card 2016-08-21 18:25:02 +02:00
Andrea Torlaschi f5e5a70d21 ImportKeys: Refactoring 2016-08-21 17:35:23 +02:00
Andrea Torlaschi 4e661886b1 ImportKeys: Changed UI a bit 2016-08-21 16:36:54 +02:00
Andrea Torlaschi 37f91e326c ImportKeys: Move action buttons inside action bar 2016-08-20 16:48:55 +02:00
Andrea Torlaschi 9469d6d6b2 ImportKeys: Use single card for importing all keys 2016-08-20 11:06:43 +02:00
Andrea Torlaschi b833b9495c ImportKeys: Don't save origins (not used) and fix logic 2016-08-19 22:35:59 +02:00
Andrea Torlaschi 756f427f19 ImportKeys: Refactoring
- Avoid instanceof and duplicated code
2016-08-19 22:35:58 +02:00
Andrea Torlaschi 6ab633f08e ImportKeys: Refactoring 2016-08-19 22:35:58 +02:00
Andrea Torlaschi 0870b7b260 ImportKeys: Set "Basic" mode as default for import from file
- For import from keyserver only "Advanced" mode is available because it makes no sense to import all the keys from a search result
2016-08-19 22:35:57 +02:00
Andrea Torlaschi f9316c1708 ImportKeys: Remove "Import all keys" from menu
- This feature is now available in a bottom bar when in basic mode
2016-08-19 22:35:57 +02:00
Andrea Torlaschi 8ce6aba68e ImportKeys: Refactoring 2016-08-19 22:35:56 +02:00
Andrea Torlaschi 28af02c6c7 ImportKeys: Add basic key importing 2016-08-19 22:35:55 +02:00
Andrea Torlaschi 1cdd91cc85 ImportKeys: Use green for import button 2016-08-19 22:35:55 +02:00
Andrea Torlaschi ebe7b6293d ImportKeys: Add creation date and more check on keys's data 2016-08-19 22:35:54 +02:00
Andrea Torlaschi 8c6c97d932 ImportKeys: Use the parsed key id and move it in extra part 2016-08-19 22:35:53 +02:00
Andrea Torlaschi efa651284e ImportKeys: Use data binding for extra informations about the key and refactoring 2016-08-19 22:35:53 +02:00
Andrea Torlaschi 6ecc53d0a6 ImportKeys: Use data binding for key status image 2016-08-19 22:35:52 +02:00
Andrea Torlaschi 61e047d7e9 ImportKeys: Fix text color and refactoring 2016-08-19 22:35:51 +02:00
Andrea Torlaschi b56ca19206 ImportKeys: Use cache for Highlighter 2016-08-19 22:35:51 +02:00
Andrea Torlaschi dc7a8c9636 ImportKeysCloudFragment: Trim query before submit 2016-08-19 22:35:50 +02:00
Andrea Torlaschi 0e66999ecf ImportKeys: Use data binding to set CardView's content 2016-08-19 22:35:49 +02:00
Andrea Torlaschi 9bf06e216b ImportKeys: Integrate more features in ImportKeysListEntry 2016-08-19 22:35:48 +02:00
Andrea Torlaschi 0325c27987 ImportKeys: Refactoring CardView 2016-08-19 22:35:47 +02:00
Andrea Torlaschi 5322fa71b7 ImportKeys: Extract ImportUserIdsView to decouple it from CardView 2016-08-19 22:35:46 +02:00
Andrea Torlaschi 79e527fe1a ImportKeys: Show notification in case of errors in preview 2016-08-19 22:35:45 +02:00
Andrea Torlaschi 39bc206b60 HkpKeyserver: Fix parsing expiration status and refactoring 2016-08-19 22:35:44 +02:00
Andrea Torlaschi 10ce910164 ImportKeys: Fix key preview when already downloaded 2016-08-19 22:35:44 +02:00
Andrea Torlaschi 706840771a ImportKeys: Fix tests 2016-08-19 22:35:43 +02:00
Andrea Torlaschi f3f9404081 HkpKeyserver: Fix parsing expiration status 2016-08-19 22:35:42 +02:00
Andrea Torlaschi cdef20601f ImportKeys: Avoid exception while downloading without saving 2016-08-19 22:35:42 +02:00
Andrea Torlaschi d095df1740 ImportKeys: Refactoring (Cache results) 2016-08-19 22:35:41 +02:00
Andrea Torlaschi 22b5bce165 ImportKeys: Refactoring list entries 2016-08-19 22:35:41 +02:00
Andrea Torlaschi 5f8d7fa67b ImportKeys: Show user ids from downloaded key 2016-08-19 22:35:40 +02:00
Andrea Torlaschi 7b7efa1a73 CloudSearch: Add error message when no source selected 2016-08-19 22:35:39 +02:00
Andrea Torlaschi d947db2569 ImportKeys: Restore NonInteractive behavior
Hides container of buttons when NonInteractive is enabled.
In this way user can't interact with the list.
2016-08-19 22:35:39 +02:00
Andrea Torlaschi e4fe1e95fb ImportKeys: Fix Recyclerview coherence with data 2016-08-19 22:35:38 +02:00
Andrea Torlaschi 15b7845b16 ImportKeys: Get reference to canonicalized key without saving and refactoring (WIP) 2016-08-19 22:35:37 +02:00
Andrea Torlaschi 68b015122b ImportKeys: Add expanding card for list's item (WIP) 2016-08-19 22:35:37 +02:00
Andrea Torlaschi 83673adeb9 ImportKeys: Add import single key from cloud
- Refactoring needed
2016-08-19 22:35:36 +02:00
Andrea Torlaschi a5b1f46642 ImportKeys: Add import single key from file
- Refactoring needed
2016-08-19 22:35:35 +02:00
Andrea Torlaschi 40d6d1f750 ImportKeys: Add import button to cards
- Adapt things to material design
2016-08-19 22:35:35 +02:00
Andrea Torlaschi 5858257bab ImportKeys: Add method for single import 2016-08-19 22:35:34 +02:00
Andrea Torlaschi db1e8b60ca ImportKeys: Extract interface and refactoring
ImportKeys: Extract interface and refactoring
2016-08-19 22:35:34 +02:00
Andrea Torlaschi 7cb13bf06f ImportKeys: Extract duplicate code for permissions 2016-08-19 22:35:33 +02:00
Andrea Torlaschi 5e93b68b6e ImportKeys: Refactoring 2016-08-19 22:35:32 +02:00
Andrea Torlaschi 9f7320b857 ImportKeys: Cleanup
- Move loader package inside keyimport package
- Change name of variables
- Remove unused images
2016-08-19 22:35:32 +02:00
Andrea Torlaschi 155ebc4d69 ImportKeys: Add ability to import all keys in a file
- Remove ability to select keys
(We will add ability to import a single key)
2016-08-19 22:35:31 +02:00
Andrea Torlaschi c41b658e8f ImportKeys: Add menu in import fragments
- Move cloud settings to menu
- TODO: Import all keys
2016-08-19 22:35:30 +02:00
Andrea Torlaschi a0f371af41 ImportKeys: Refactoring
Move loader related class to a separate package
2016-08-19 22:35:30 +02:00
Andrea Torlaschi 96f405f5ee ImportKeys: Remove bottom toolbar 2016-08-19 22:35:29 +02:00
Andrea Torlaschi d9562461eb ImportKeys: Add empty list message 2016-08-19 22:35:28 +02:00
Andrea Torlaschi 8ae245e6df ImportKeys: Use Toolbar for Import button 2016-08-19 22:35:28 +02:00
Andrea Torlaschi f52e4a8c7f ImportKeys: Use CardView for the list and change layout 2016-08-19 22:35:27 +02:00
Andrea Torlaschi 0eceed88ff ImportKeys: cleanup 2016-08-19 22:35:27 +02:00
Andrea Torlaschi 53691d7315 ImportKeys: Switch from ListFragment to RecyclerView
This is the first step for:
 - use CardView for the list
 - improve ImportKeysListFragment
2016-08-19 22:35:26 +02:00
Andrea TorlaschiandGitHub 535fe3ebe4 README: Fix commands to run tests 2016-08-18 17:37:17 +02:00
Andrea Torlaschi fa926c7241 travis: add delay to increase reliability 2016-07-12 21:50:53 +02:00
Andrea Torlaschi 635358189c androidTest: Increase activity wait time
To be more safe.
2016-07-12 21:50:52 +02:00
Andrea Torlaschi 4322a38097 travis: start two build jobs
- unit tests
- androidTests
2016-07-12 21:50:51 +02:00
Andrea Torlaschi 0f2a22cd29 androidTest: Wait for activities to start
This is needed to correctly run tests on Travis.
I think it's not a Travis fault. Probably espresso doesn't work well with PendingIntent.
2016-07-12 21:50:51 +02:00
Andrea Torlaschi 8d43785770 androidTest: Remove broken tests 2016-07-12 21:50:37 +02:00
Andrea Torlaschi b214cac76e travis: add androidTests 2016-07-12 21:43:14 +02:00
Andrea Torlaschi 1a7a1f1a60 travis: cleanup 2016-07-12 21:43:14 +02:00
Andrea Torlaschi 3b4f608ba1 androidTest: Fix OpenPgpServiceTest
- fix class to solve exception
- add sleeps to wait for activities (ugly)
2016-07-12 21:43:13 +02:00
Andrea Torlaschi 77284a3594 androidTest: Fix errors introduced by changes of the code 2016-07-12 21:43:12 +02:00
Andrea Torlaschi 6cecb42389 androidTest: Add proguard file for test
For now we use the same as for other configurations.
2016-07-12 21:43:12 +02:00
Andrea Torlaschi dc32ff2707 Padding cleanup 2016-05-17 17:48:59 +02:00
Andrea Torlaschi 7a7d32f706 Remove dividers
Divider shouldn't be used after last item
2016-05-17 17:20:01 +02:00
Andrea Torlaschi 2ab55b6767 Settings: remove unuseful initialization 2016-05-17 17:09:03 +02:00
Andrea Torlaschi a2d2da9098 Settings: change CheckBoxPreference to SwitchPreference 2016-05-17 16:51:44 +02:00
Andrea Torlaschi c942d8b2ff PgpSignEncryptOperation refactoring 2016-05-10 23:38:11 +02:00
Andrea Torlaschi 360b5a658a Handle encrypted files while importing keys 2016-03-27 18:20:29 +02:00
Andrea Torlaschi bcef5b6692 Set filename after decryption 2016-03-05 13:24:18 +01:00
Andrea Torlaschi 26f8a9db9c Extend FileProvider to support name update 2016-03-05 13:17:15 +01:00
Andrea Torlaschi 73bbfc54d9 Remove uri from pending even when already added 2016-03-04 09:16:09 +01:00
Andrea Torlaschi 81ba0ff108 Always check read permission 2016-03-02 17:09:12 +01:00
Andrea Torlaschi ece848dee8 Fix backup code comparison 2016-03-02 00:07:34 +01:00