Commit graph

257 commits

Author SHA1 Message Date
861255e2a9 Use AppCompat theme. 2015-04-26 06:29:32 +02:00
fa86101b7c Don't show ActionBar icon for settings. 2015-04-26 06:28:21 +02:00
063850b3d8 Fixed lint API warnings. 2015-04-24 00:58:13 +02:00
108f326d8d Fixed Router to actually consider hop count and hop limit. 2015-04-20 10:43:32 +02:00
57c022f3d5 Added documentation. 2015-04-20 01:06:43 +02:00
80aa1b56ae Moved time field from Text into ContentHeader. 2015-04-16 21:01:42 +02:00
85a8b71fe9 Split package messages into header and body, move BufferUtils to util. 2015-04-16 09:25:39 +02:00
5c102581ce Added unique id to messages, allow extra header fields. 2015-04-16 00:17:10 +02:00
7bc7d01488 Updated dependencies. 2015-04-14 23:01:00 +02:00
2de8707844 Adjust code to protocol and use one byte for version and type each. 2015-03-19 23:57:02 +01:00
2940c320c1 Catch exception from unregisterReceiver(), renamed vals. 2015-03-18 23:55:29 +01:00
f040bb4032 Fixed crash if non-text message is received while ChatFragment is open. 2015-03-18 23:28:17 +01:00
fb3592c2ae Use INTEGER instead of INT for primary keys in database. 2015-03-17 22:51:10 +01:00
fba4a1fed0 Clarified protocol. 2015-03-16 00:59:57 +01:00
80353971d2 Changed SQL create clause format.
This is syntactically the same as before, and does not need a DB update.
2015-03-16 00:14:51 +01:00
b97e84a81e Updated dependencies. 2015-03-13 21:52:16 +01:00
aad2710e6c Bumped version to 0.1.2. 2015-03-07 16:32:20 +01:00
60a8dd59de Moved logic for adding new contact to service.
This means the activity doesn't have to be held open.
2015-03-07 16:32:09 +01:00
c670588f98 Fixed crash when opening chat. 2015-03-02 22:53:51 +01:00
c4a45e2c49 Added basic, dumb notifications. 2015-03-02 22:53:40 +01:00
61f123c309 Move contacts updated listeners to database object so we don't need a singleton. 2015-02-27 13:14:27 +01:00
879c80e11c Revert "Only show Bluetooth dialog if Bluetooth is disabled."
This reverts commit 6a546d97a3.

Looks like discovery only works if we explicitly request Bluetooth.
2015-02-27 12:40:27 +01:00
8688f973e8 Bumped version to 0.1.1. 2015-02-25 22:18:17 +01:00
41686b6fc3 Added issue tracker link and version name in settings. 2015-02-25 22:17:26 +01:00
6a546d97a3 Only show Bluetooth dialog if Bluetooth is disabled. 2015-02-25 20:33:58 +01:00
7e71d231c9 Added Google Play and F-Droid badges. 2015-02-25 20:29:17 +01:00
3baf87be3d Fixed crash on start if Bluetooth is disabled (fixes #3). 2015-02-25 20:25:49 +01:00
748c8c27c5 Moved default preference values into resource file. 2015-02-14 14:39:10 +01:00
2eb163951b Added donate link to readme. 2015-02-10 21:08:39 +01:00
b66960849a Pass handler to BtInterface constructor instead of using global val. 2015-02-10 00:00:54 +01:00
9303952db0 Moved getLocalKezs from Crypto object into class. 2015-02-09 23:56:49 +01:00
32fd7638e0 Var/val should be lower camel case. 2015-02-09 23:47:23 +01:00
4ca13ed3d9 Use weak set for listeners. 2015-02-09 23:21:08 +01:00
e60813a5a6 Updated readme. 2015-02-09 21:49:51 +01:00
0410aa9a2b Minor fixes. 2015-02-09 21:40:19 +01:00
3567b88c0d Added flood-based routing. 2015-02-09 21:39:52 +01:00
61f21c0be1 Use listener instead of anonymous function for database contacts update. 2015-02-08 22:15:44 +01:00
e38e805c1b Made member names lowercase, minor code formatting. 2015-02-02 00:11:26 +01:00
3a90f2d9a3 Use notification and seperate activity to add contact.
This might cause problems if the activity is closed after choosing
yes, and before the other user confirms. We should probably store
the information in the service.
2015-02-01 23:41:41 +01:00
04fd815001 Updated dependencies, use DeviceDefault theme. 2015-01-31 15:17:20 +01:00
5b07ecab23 Open chat after adding a new contact.
Currently, you have to press back twice in the ContactsFragment after
this to exit the app.
2015-01-30 02:34:46 +01:00
64e8b06543 Database should implement OnMessageReceivedListener. 2015-01-30 02:15:35 +01:00
b1f59eaaff Don't show existing contacts in AddContactsActivity. 2015-01-30 01:54:17 +01:00
2f08ec0124 Do not crash when receiving invalid message. 2015-01-29 17:46:57 +01:00
5a460c9527 Added user name. 2015-01-29 17:33:55 +01:00
647f946586 Split ChatService class into BluetoothInterface and new ChatService. 2015-01-28 02:09:47 +01:00
591d47ffc3 Fixed crash when transitting long messages. 2015-01-25 17:32:47 +01:00
998f2676e0 Generate local keys before starting any connectivity. 2015-01-24 17:16:46 +01:00
7bc8532732 Updated dependencies. 2015-01-23 20:00:04 +01:00
6d95c8bb33 Use Future instead of Thread. 2014-12-18 00:15:44 +02:00