Commit Graph
100 Commits
Author SHA1 Message Date
akwizgran 84986d393f Added a test for #941, fixed some broken tests. 2017-04-13 17:28:45 +01:00
akwizgran 115d488bc3 Clamp the imported timestamp within reasonable limits. 2017-04-13 16:21:00 +01:00
akwizgran 2eeb2213e3 Store RSS flag for wrapped blog posts. 2017-04-13 15:23:08 +01:00
akwizgran 1b48d661e8 Use original timestamp for RSS posts, if available. 2017-04-13 14:43:43 +01:00
akwizgran 49ba66dee9 Don't use single top and clear top flags together. 2017-04-13 13:56:20 +01:00
akwizgran 57d4d6546a When checking for overlay apps, ignore Play Services. 2017-04-12 14:24:37 +01:00
akwizgran d17669f131 Increase socket timeout for Tor sockets. 2017-04-11 14:53:03 +01:00
akwizgran 96f006068f Use the new launcher icon. 2017-04-07 13:57:13 +01:00
akwizgran d5d9436e28 Terminate the process after handling a panic trigger. 2017-04-07 10:54:51 +01:00
akwizgran fb85ecf07b Added note about number of available processors changing. 2017-04-06 15:34:39 +01:00
akwizgran 3aa4644339 If we have multiple cores, leave one free from crypto tasks. 2017-04-06 11:36:02 +01:00
akwizgran df3254c634 Fix "all tests" configuration.
The last (empty) stage of this configuration used to
complain about not finding any tests. I replace the last
stage with a copy of the briar-android configuration
and removed briar-android from the list of prerequisites,
so all stages now contain tests.
2017-04-06 10:18:42 +01:00
akwizgran ba353b9f2b List of wifi configs can be null. 2017-04-06 10:11:59 +01:00
akwizgran d381e25e86 Limit the number of validation tasks on the crypto executor. 2017-04-05 17:34:21 +01:00
akwizgran 0c085f139a Added "polite" delegating executor. 2017-04-05 17:34:20 +01:00
akwizgran 4123f4a5ce Log time spent queueing and executing crypto and DB tasks. 2017-04-05 17:34:15 +01:00
akwizgran 10bb30e190 Don't assume Context is a BaseActivity. 2017-04-03 12:22:52 +01:00
akwizgran f6ad2992f2 Prevent multiple instances of PasswordActivity. 2017-03-31 12:55:38 +01:00
akwizgran 8e1ada4cdc Don't allow other apps to open the panic prefs activity. 2017-03-30 12:26:33 +01:00
akwizgran ac063b4c79 Require a system permission to open the settings activity. 2017-03-30 12:00:35 +01:00
akwizgran d9c63bbcfe Remove Fortuna generator, fix Android SecureRandom bug. 2017-03-29 16:31:59 +01:00
akwizgran ff7f0bdc63 Added run configurations for tests to git. 2017-03-28 15:36:18 +01:00
akwizgran c4e42949cf Simpler password strength estimation. 2017-03-28 13:27:04 +01:00
akwizgran 510f99c7da Validate arguments to StreamEncrypter#writeFrame(). 2017-03-27 16:26:49 +01:00
akwizgran c167938b61 Use constants for Tor network setting values. 2017-03-27 10:26:10 +01:00
akwizgran d67e3900e3 Removed placeholder tests.
Evidently this way of nagging myself to write tests doesn't work.
2017-03-24 15:18:37 +00:00
akwizgran e682f31898 Added a setting to disable Tor.
Also fixed a bug with settings namespaces.
2017-03-24 14:56:30 +00:00
akwizgran 9c41437870 Prevent OkHttp from making local DNS lookups. 2017-03-23 15:13:15 +00:00
akwizgran da9cde083f Include description of SOCKS error in exception. 2017-03-23 15:13:15 +00:00
akwizgran 59316ae3c4 Fix memory leaks caused by periodic view refreshing tasks. 2016-12-28 15:23:21 +00:00
akwizgran 79c78518fb Fix potential NPE when getting soft reference. 2016-12-28 13:47:33 +00:00
akwizgran b54984b542 Unit tests for RecordReaderImpl. 2016-12-21 14:39:56 +00:00
akwizgran 2390f767f5 Unit tests for KeyAgreementTransport. 2016-12-21 14:08:21 +00:00
akwizgran fc44268b22 Removed translations of unused strings. 2016-12-15 23:12:24 +00:00
akwizgran bb5fc35e17 Removed translations of unused strings. 2016-12-15 10:56:04 +00:00
akwizgran 074f5c2faf Fix imports in HashTest. 2016-12-14 17:09:15 +00:00
akwizgran 3c2428449d Moved test utility classes into test package. 2016-12-14 15:42:52 +00:00
akwizgran 66f8978bb6 Make notification icon less similar to superuser icon. 2016-12-13 17:20:48 +00:00
akwizgran cdd234dfe3 Ensure key agreement tasks finish if they ignore interrupts. 2016-12-05 12:38:45 +00:00
akwizgran 878b52ef2c Merge branch '771-create-bramble-modules' 2016-12-01 21:48:03 +00:00
akwizgran 2d7cb7b279 Updated Transifex config. 2016-12-01 10:19:24 +00:00
akwizgran f25d33b0c8 Move stray resources to the right place. 2016-12-01 10:18:42 +00:00
akwizgran 906dd1bd06 Added .gitignore files for new modules. 2016-12-01 10:08:46 +00:00
akwizgran ad6016d428 Updated java.library.path. 2016-11-30 18:10:49 +00:00
akwizgran 8a139eaf5d Tightened up test expectations. 2016-11-30 11:17:57 +00:00
akwizgran d51f73151f Fixed a bug in the group invitation protocol, added tests. 2016-11-30 11:12:04 +00:00
akwizgran 6c90204c6e Fixed a broken unit test. 2016-11-30 11:07:30 +00:00
akwizgran f8266d8a02 Tightened up some tests. 2016-11-30 10:23:43 +00:00
akwizgran f245b04726 Fixed a failing test. 2016-11-30 10:23:43 +00:00
akwizgran edbd7f4eeb Addressed review comments. 2016-11-29 18:27:19 +00:00
akwizgran a82fdca3d4 Added more private group invitation validation tests. 2016-11-29 18:12:32 +00:00
akwizgran 050111a994 Added some more private group validation tests, found a bug. 2016-11-29 17:46:46 +00:00
akwizgran 90124e00ca Addressed review comments. 2016-11-29 11:50:20 +00:00
akwizgran cbdeb0ad32 Replace unused injected field with a mock. 2016-11-21 16:41:01 +00:00
akwizgran 89a7f41a07 Remove old signature class from API. 2016-11-18 15:30:18 +00:00
akwizgran e2bbe7429b Moved some boilerplate into a field. 2016-11-16 17:00:53 +00:00
akwizgran eaf17c054f Moved common fields to superclass. 2016-11-16 16:39:30 +00:00
akwizgran f4c26d9cc7 Remove unnecessary unmodifiable collection wrappers. 2016-11-16 16:19:47 +00:00
akwizgran 58f6af513d Use new group visibility state to avoid lost messages. #756 2016-11-16 15:50:07 +00:00
akwizgran c9170fa5a0 Removed unnecessary use of unmodifiable collections. 2016-11-16 15:48:08 +00:00
akwizgran ec1f4dccdb Added third group visibility state. 2016-11-16 15:40:51 +00:00
akwizgran 8c3b598ab2 Unit tests for ForumSharingValidator. 2016-11-16 15:35:27 +00:00
akwizgran bd3bba6e8a Unit tests for ForumPostValidator. 2016-11-16 14:36:22 +00:00
akwizgran 11fcad89c6 Unit tests for BdfMessageValidator. 2016-11-16 14:32:22 +00:00
akwizgran 52eb261a11 Unit tests for PrivateMessageValidator. 2016-11-16 11:49:49 +00:00
akwizgran da543c1004 Added javadocs, removed redundant exception. 2016-11-14 10:30:38 +00:00
akwizgran 7ab4d12d83 Track private group invitation messages. 2016-11-14 10:10:14 +00:00
akwizgran aa210fc555 Factor MessageTracker out of BdfIncomingMessageHook. 2016-11-11 16:59:10 +00:00
akwizgran 3a2205123f Added a method for revealing a contact to a private group. 2016-11-11 13:49:49 +00:00
akwizgran 2837bde774 Removed blog post pagers 2016-11-11 13:38:04 +00:00
akwizgran 411549dc0a Code cleanup, use correct fragment class. 2016-11-11 13:37:32 +00:00
akwizgran 98cf6b5bba Mark relationship visible when syncing group with peer. 2016-11-11 11:29:55 +00:00
akwizgran 501c2dab31 Preserve the order of descriptors in QR code payloads. 2016-11-09 15:57:41 +00:00
akwizgran 2fe69af6d8 Don't try to get parameters after releasing camera. 2016-11-09 14:51:05 +00:00
akwizgran f410e4eddd Make the feed pager respond to events, block notifications. 2016-11-09 13:24:44 +00:00
akwizgran bb82bd70e2 Don't crash if camera is reopened or surface is recreated. 2016-11-09 12:43:33 +00:00
akwizgran d2a3804cfe Added null safety annotations to plugin interfaces. 2016-11-08 16:59:56 +00:00
akwizgran fb095c1f4d Broadcast events for private group invitations. 2016-11-08 16:08:51 +00:00
akwizgran f89d8cbe38 Updated peer state machine for automatic join response. 2016-11-08 16:08:50 +00:00
akwizgran d2434123a9 Private group invitation protocol. 2016-11-08 16:08:50 +00:00
akwizgran edbf5ff5b4 Preliminaries for private group invitation protocol. 2016-11-08 15:45:04 +00:00
akwizgran 32f0b53d15 Increase test timeouts to avoid spurious failures. 2016-11-08 15:17:08 +00:00
akwizgran 04d4ecad05 Encode transport properties more compactly in QR codes. 2016-11-08 11:28:44 +00:00
akwizgran 7327029fca Log the QR code payload length. 2016-11-07 16:04:07 +00:00
akwizgran 238100bcac Mark messages read properly in private conversation. 2016-11-07 10:43:24 +00:00
akwizgran 51bcf7b1b8 Don't use messaging group ID as proxy for contact ID. 2016-11-04 15:50:44 +00:00
akwizgran 847b6e4179 Added comments to integration test. 2016-11-04 09:32:21 +00:00
akwizgran 4d8a84a48d Don't throw IllegalStateException if BDF input is incomplete. 2016-11-01 17:38:23 +00:00
akwizgran 642fa7df18 Removed unused field, renamed nickname methods. 2016-11-01 17:17:40 +00:00
akwizgran c85767d2a0 Nickname is all one word. 2016-11-01 17:12:30 +00:00
akwizgran ca8d3babaa Added ProtocolStateException for client protocols. 2016-10-27 11:57:36 +01:00
akwizgran c4716ca457 BlogFragment doesn't need to use adapter revisions.
All changes to the adapter are cumulative.
2016-10-20 14:21:10 +01:00
akwizgran 9bb16b424f Moved revision counter methods into their own interface. 2016-10-20 12:44:09 +01:00
akwizgran e8ebdc2884 Don't finish nav drawer fragments on error. 2016-10-20 11:55:39 +01:00
akwizgran 2140a290e4 Avoid race conditions when updating the UI from events. 2016-10-20 11:28:03 +01:00
akwizgran 50a70f7649 Use start/stop lifecycle callbacks rather than pause/resume.
Also fixed a couple of bugs.
2016-10-20 10:40:10 +01:00
akwizgran b3e5d1ff85 Finished renaming entry to item, reduced some visibility. 2016-10-19 20:49:45 +01:00
akwizgran 82eea6bb77 Throw FormatException if BdfList index is out of bounds. 2016-10-19 18:11:31 +01:00
akwizgran 97223cce97 Fixed a typo in a constant. 2016-10-19 15:14:07 +01:00
akwizgran 08b191d72e Fixed a typo in a comment in a test. URGENT STUFF! 2016-10-19 15:04:24 +01:00