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
52b29b16ba
Merge branch 'jnotify-multiarch' into 'master'
...
Upgrade jnotify to 0.94 to support 64-bit
This upgrades to 0.94 and selects the correct native lib via ${os.arch}. The binaries are from the jnotify sourceforge download page, you can verify them. Also patched up build.xml to display stack trace when exceptions are thrown inside a test.
2014-02-07 13:03:08 +00:00
Ximin Luo
97585ebc8a
bump expiry to Feb 14
2014-02-07 12:34:43 +00:00
akwizgran
6b6b466724
Layout fixes for long nicknames and group names.
2014-02-06 18:32:33 +00:00
Ximin Luo
217ff30c54
update classpath for jnotify
2014-02-06 17:52:43 +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
akwizgran
035fc4324f
Bumped the expiry date to 7 February 2014.
2014-02-04 12:08:10 +00:00
akwizgran
22c7ae541a
Maximum name length is specified in UTF-8 bytes, not characters.
2014-01-31 17:32:04 +00:00
akwizgran
cde4ca574f
Check that author and group names aren't empty.
2014-01-31 17:23:14 +00:00
akwizgran
93890d56f6
GroupReader was looking for an optional key, not a mandatory salt.
...
This should've been changed when restricted groups were removed.
2014-01-31 17:21:51 +00:00
Ximin Luo
8ff2b60000
support an older Android API level
2014-01-30 12:37:18 +00:00
Ximin Luo
c000a69f5b
lazily load JNotify to avoid bloating the guice initialization
2014-01-30 12:37:18 +00:00
Ximin Luo
2bdccef705
upgrade to jnotify 0.94 (patched) for 64-bit support, and improve error reporting in tests
...
- add a UnixRemovableDriveMonitor.checkEnabled to pre-emptively check if it's loaded
- os.arch is always x86,x86_64 on windows, i386,amd64 on linux
- source: http://www.java-gaming.org/index.php/topic,14110
- we'll deal with freebsd support when we come to it, jnotify doesn't even do this atm
2014-01-30 12:37:18 +00:00
akwizgran
85b02eccc7
Select newly created identity on return from CreateIdentityActivity.
...
This partially fixes dev task #40 . CreateIdentityActivity is also called
from AddContactActivity, but that's likely to change soon so I'm not
going to fix it now.
2014-01-30 11:06:26 +00:00
akwizgran
0bc479d4f2
Set default log level at startup.
2014-01-29 16:05:17 +00:00
akwizgran
9cc43d4b57
Updated version number.
2014-01-29 16:04:14 +00:00
akwizgran
67c7e3e13c
New logo and launcher icon.
2014-01-29 15:25:49 +00:00
akwizgran
d52139e99b
Use JUnit's Assume to skip tests rather than returning from the tests.
...
This way the tests won't show up as having run if they didn't.
2014-01-28 21:55:57 +00:00
akwizgran
905eaa5c69
DB cleaner counts transactions rather than bytes stored. Dev task #55 .
2014-01-25 13:39:55 +00:00
akwizgran
c67869dac1
Skip special files (symlinks etc) when calculating disk space.
2014-01-25 13:39:12 +00:00
akwizgran
aee695b913
Don't enable the WAN TCP plugin on Android.
...
Direct P2P connections between mobile devices are unlikely to work, and
they'd expose the social graph to surveillance.
2014-01-24 21:13:31 +00:00