akwizgran
4de97ed0ef
Refer to manufacturer/model/brand as device type, not device name.
2014-03-10 18:29:35 +00:00
akwizgran
4560cf17ff
Notification settings. Dev task #76 .
2014-03-10 18:00:36 +00:00
akwizgran
d151633a60
Store settings in the DB, listen for events when settings are updated.
2014-03-10 17:59:13 +00:00
akwizgran
abaf1d7e96
Show message/post count in notifications. Dev task #77 .
2014-03-07 13:06:31 +00:00
akwizgran
a5b09a0f65
Better notifications. Development task #67 .
2014-03-07 12:21:12 +00:00
akwizgran
c72e30617d
Don't show progress spinner when sharing debugging info, it's confusing.
2014-03-07 12:18:39 +00:00
akwizgran
b5429f121a
Use application context for all background tasks.
2014-03-06 18:25:37 +00:00
akwizgran
b4c9f278f9
Upgraded Tor to 0.2.4.21.
2014-03-06 17:52:37 +00:00
akwizgran
8ed716dde8
Added device, OS version and CPU architecture to debugging info.
2014-03-06 16:21:23 +00:00
akwizgran
4875b21614
Show a progress spinner while loading debugging info.
2014-03-06 15:56:47 +00:00
akwizgran
304ba53807
Check whether to enable or disable Tor at each connectivity change.
2014-03-06 15:42:21 +00:00
akwizgran
bd7fcb16a3
ContextSingleton annotation isn't needed for immutable class.
2014-03-06 14:06:21 +00:00
akwizgran
250afa7642
Added javadoc comments to plugin factory interfaces.
2014-03-06 13:20:28 +00:00
akwizgran
0198e40719
Made coding style consistent with rest of project.
2014-03-06 13:16:20 +00:00
akwizgran
39b7a97267
"Implicit intents with startService are not safe" - use an explicit one.
2014-03-04 14:22:19 +00:00
akwizgran
3a01a04cbf
Log simple names of plugin classes when polling.
2014-03-04 14:04:07 +00:00
akwizgran
8dd9efce3c
Use a .txt extension for debugging logs sent to the developers.
2014-03-04 14:01:45 +00:00
akwizgran
58f5b94a2a
Added a settings screen and a setting for activating Bluetooth. Bug #28 .
2014-03-04 13:59:37 +00:00
akwizgran
b6f95f6540
Show all logcat ouput for the current process in TestingActivity.
2014-03-03 18:52:25 +00:00
akwizgran
511b470aa4
Less verbose logging for plugins.
2014-03-03 15:31:46 +00:00
akwizgran
56f79755a4
Added a config setting to not enable Bluetooth automatically (bug #28 ).
...
There's currently no way to set this setting, so the bug isn't fixed.
2014-03-03 15:31:05 +00:00
akwizgran
74159f6e71
Check whether data has been deleted when resuming from recents. Bug #44 .
2014-03-02 18:37:24 +00:00
akwizgran
581ba7139a
Don't overselect rows when unsetting inbox group. Fixes bug #40 .
2014-03-02 17:58:00 +00:00
akwizgran
c69766fbd2
Removed redundant calls to setTextSize(14), which is the default.
2014-03-01 11:55:54 +00:00
akwizgran
ebe1db9fb1
Show newly created forums after creating them.
2014-03-01 11:45:13 +00:00
akwizgran
0bab22db38
Each task that runs on a separate thread should have its own method.
2014-03-01 11:26:38 +00:00
akwizgran
86f8d97d81
Moved some boilerplate into the BriarActivity superclass.
2014-03-01 11:20:04 +00:00
akwizgran
90ad3caedd
Copy the collection of plugins before passing it to the poller.
2014-03-01 10:44:32 +00:00
akwizgran
a2d099ea17
Added debugging screen to alpha and beta builds. Dev task #73 .
2014-02-28 23:44:35 +00:00
akwizgran
07b4d9b5d8
Show empty list text for contact list, group list, etc. Dev task #71 .
2014-02-27 23:07:26 +00:00
akwizgran
80824b848c
Layout tweaks for SetupActivity.
2014-02-27 22:02:25 +00:00
akwizgran
fe897efa36
Use custom title bar colour on older Android versions.
2014-02-27 18:01:30 +00:00
akwizgran
c5d0f30c71
Prettier display of available forums, cleaned up list comparators.
2014-02-27 16:25:47 +00:00
akwizgran
7a5e9961e7
Larger icons.
2014-02-27 15:49:16 +00:00
akwizgran
8619f89890
Cleaned up composition screen layouts.
2014-02-27 15:34:52 +00:00
akwizgran
de5dac6ce3
Reset message status when contact unsubscribes from group. Dev task #68 .
2014-02-27 14:24:52 +00:00
akwizgran
1cbaae0734
Database.setInboxGroup() doesn't require message lock.
2014-02-27 12:49:57 +00:00
akwizgran
c021bfd9aa
Update unread message count when returning from conversation/group.
...
Fixes bug #42 .
2014-02-27 11:57:51 +00:00
akwizgran
094cda8573
Brighter colours.
2014-02-27 00:10:47 +00:00
akwizgran
d21ced30ba
Don't create duplicate PasswordActivity when screen is rotated. Bug #43
2014-02-26 22:45:07 +00:00
akwizgran
e479bf0a4d
Show private message timestamp in grey below content.
2014-02-26 20:59:18 +00:00
akwizgran
52cf47619f
Layout tweaks, dark action bar, don't send empty messages.
2014-02-26 18:36:51 +00:00
akwizgran
95605891f3
Bumped the expiry date to 16 March.
2014-02-26 16:42:59 +00:00
akwizgran
b10827d84b
Layout tweaks: outline StrengthMeter, indent EditTexts.
2014-02-11 11:40:08 +00:00
akwizgran
44c39e6e4a
The list of available groups contained duplicates due to a SQL error.
2014-02-10 23:55:02 +00:00
akwizgran
76896e0bb4
Always format invitation codes as six digits.
2014-02-10 16:29:54 +00:00
akwizgran
dd16e61b2b
Use correct request code when retrying Bluetooth connection.
2014-02-10 16:12:53 +00:00
akwizgran
fe6216dcf7
Show newly created identity in AddContactActivity. Dev task #40 .
2014-02-10 15:33:04 +00:00
akwizgran
044c10e89f
Bluetooth-only invitations: simpler and more reliable.
...
Of course, not all devices support Bluetooth...
2014-02-10 14:00:34 +00:00
akwizgran
c6ac826acd
Sort identities by creation time
...
This follows the principle of least surprise: the default identity
doesn't change when a new identity is created.
2014-02-10 12:15:01 +00:00
akwizgran
71a31c2a7a
Include creation time in LocalAuthor.
...
This allows the oldest LocalAuthor to be used as the default.
2014-02-10 12:14:09 +00:00
akwizgran
55492dd448
Pad the top and bottom of the list
2014-02-10 11:23:30 +00:00
akwizgran
e582e1d59f
Use a briefer date format (9 Feb instead of 09/02/2014, for example).
2014-02-10 11:19:05 +00:00
akwizgran
209b1bdf1f
Compose messages directly from ConversationActivity. Bug #32 .
2014-02-09 22:44:51 +00:00
akwizgran
269eef57e9
Speech bubble layout for private conversations.
2014-02-09 19:50:12 +00:00
akwizgran
0960a345e0
Argh, god damn it, removed Java 1.6 methods again.
2014-02-09 19:36:25 +00:00
akwizgran
ad38f63bf8
Don't launch more than one instance of PasswordActivity.
2014-02-09 17:43:40 +00:00
akwizgran
9e8bf5b1aa
Set a flag in MessageHeader to indicate whether the message is local.
2014-02-09 16:02:11 +00:00
akwizgran
d53c07cb35
Don't halt on failure, run all tests.
2014-02-09 15:56:36 +00:00
akwizgran
482a7e0016
Use least specific LayoutParams classes for broadest usefulness.
2014-02-09 15:34:34 +00:00
akwizgran
a6151faece
Removed unused style property.
2014-02-09 14:32:36 +00:00
akwizgran
021e6f2cda
Always show forums posts expanded in conversation view. Bug #32 .
2014-02-09 14:28:52 +00:00
akwizgran
1f169dd160
Refactored finishOnUiThread() into superclass.
2014-02-09 12:11:39 +00:00
akwizgran
e92b6fce4c
Use signed in, signed out to describe whether the DB is open or closed.
...
Hopefully this gives users a better understanding of whether their
messages and contacts are accessible than "Briar is running" and "Quit".
2014-02-09 11:54:48 +00:00
akwizgran
4178353c02
Always show private messages expanded in conversation view. Bug #32 .
...
This give a simple and usable interface; we can worry about collapsing
blocks of read messages later.
2014-02-09 11:46:42 +00:00
akwizgran
9de96553e3
Don't mark messages as read until leaving the activity.
2014-02-08 20:32:35 +00:00
akwizgran
efa62f7619
Show paperclip icon for non-text messages.
2014-02-08 18:21:21 +00:00
akwizgran
fc54bc2207
Handle new intents sent to DashboardActivity in single top launch mode.
2014-02-08 17:51:59 +00:00
akwizgran
97fb9c8c3e
Updated group conversation view to resemble private conversation view.
2014-02-08 17:36:17 +00:00
akwizgran
4c6d79c474
Removed two unused classes.
2014-02-08 15:13:17 +00:00
akwizgran
8e5aacc384
Compose button doesn't need to be disabled while headers are loading.
2014-02-08 15:08:23 +00:00
akwizgran
6a10688112
Improved ConversationActivity (bug #32 ), but it's still not quite there.
...
GroupActivity needs to receive a similar treatment.
2014-02-07 22:03:29 +00:00
akwizgran
4154119ea5
Convert to and from UTF-8 without catching impossible exceptions.
...
All JVMs must support UTF-8 encoding.
2014-02-07 22:02:02 +00:00
akwizgran
f6360c09d4
Added utility methods for converting string to UTF-8 and vice versa.
2014-02-07 22:00:51 +00:00
akwizgran
0626fe6c7c
Removed unused StringUtils methods (one was moved to the sandpit).
2014-02-07 20:07:42 +00:00
akwizgran
92d5fb4f1d
Compact encodings for integers, strings and byte arrays.
...
This adds complexity but will save a lot of bandwidth, as most of the
strings and byte arrays we want to send are less than 128 bytes.
The extra complexity isn't exposed outside of the serial component.
2014-02-07 18:50:28 +00:00
akwizgran
6296f0f790
Removed redundant call to checkEnabled() - it's called from start().
2014-02-07 15:05:48 +00:00
akwizgran
5c78b4808d
Use new IOException(String) for consistency with other calls.
2014-02-07 15:03:58 +00:00
akwizgran
6b6b466724
Layout fixes for long nicknames and group names.
2014-02-06 18:32:33 +00:00
akwizgran
54bc30ee39
Removed unnecessary intent flags.
2014-02-06 15:15:02 +00:00
akwizgran
9564433496
Moved the expiry check to the splash screen.
...
This avoids a possible problem where the app expires while it's running
and every activity shows the expiry warning, leaving the user with no
way to quit.
2014-02-06 14:52:52 +00:00
akwizgran
33f37e241c
Updated Tor's GeoIP database using mmdb-convert.
2014-02-05 23:03:58 +00:00
akwizgran
9d98c06b45
Added parent activities ("up navigation") to most activities.
2014-02-05 22:29:55 +00:00
akwizgran
bd40c65916
Renamed home screen to dashboard.
2014-02-05 22:19:29 +00:00
akwizgran
4fdcbca357
Add a back stack to activities launched from notifications.
...
See
https://developer.android.com/guide/topics/ui/notifiers/notifications.html#NotificationResponse
2014-02-05 20:13:41 +00:00
akwizgran
a1ca8e0e00
Apparently we need to declare a permission to vibrate the phone. Jesus.
2014-02-05 19:47:09 +00:00
akwizgran
8b5d88d1c5
Remove message notifications when shutting down.
2014-02-05 17:21:43 +00:00
akwizgran
f17a760805
Show notifications when messages are received. Dev task #30 .
2014-02-05 17:19:24 +00:00
akwizgran
4b05b2acf9
Some versions of Android require notifications to have content intents.
2014-02-05 16:26:52 +00:00
akwizgran
765340c34b
Clear all activities when showing startup failure notification.
2014-02-05 16:20:07 +00:00
akwizgran
cd49254559
Make all activities inherit from BriarActivity.
...
This will allow any activity to show the expiry warning and password
prompt, and to start and stop BriarService.
SplashScreenActivity, SetupActivity, ExpiryActivity and PasswordActivity
are special cases.
2014-02-05 15:17:17 +00:00
akwizgran
843ad55163
Distinguish request and result codes of different activities.
2014-02-05 15:03:28 +00:00
akwizgran
8d850b290c
Refactored HomeScreenActivity into several smaller classes.
2014-02-05 14:30:13 +00:00
akwizgran
f62d964332
Show logo in splash screen.
2014-02-05 12:36:40 +00:00
akwizgran
3a036551c3
Remove the service from the foreground before exiting.
2014-02-05 12:07:06 +00:00
akwizgran
1ac8524dc2
Allow the code and the DB to have different but compatible schemas.
...
We check for compatibility by specifying a schema version and minimum
schema version in the code, storing them in the DB, and checking whether
the DB is too old for the code or vice versa.
2014-02-04 19:51:41 +00:00
akwizgran
597c907a42
Don't launch anything from the startup failure notification.
2014-02-04 19:26:06 +00:00
akwizgran
3842a5c70d
Code cleanup.
2014-02-04 19:05:48 +00:00
akwizgran
5419a9e10c
Use Adapter.notifyDataSetChanged() rather than View.invalidateViews().
...
This may help with bug #27 , but it doesn't solve it in all cases (eg the
contact's device restarting).
2014-02-04 19:05:31 +00:00
akwizgran
a45d09ef5c
Show whether identities are anonymous, unknown, or verified.
...
Dev task #52 . Known but unverified identities are also supported, but
currently unused. These will be used in future for contacts who've been
introduced but not verified face to face.
2014-02-04 12:32:51 +00:00