71791c252f
Added option to disable notification sounds (ref #6 ).
2015-06-23 22:41:40 +02:00
c4db86c5af
Bumped version to 0.1.3.
2015-06-18 22:17:52 +02:00
6b7e0000e1
Use AppCompatActivity.
2015-06-18 22:02:07 +02:00
7fcc1f54ac
Updated dependencies.
2015-06-18 21:52:21 +02:00
9acf470b01
Use min API level 21 for dev builds (reduces compile time).
2015-04-28 17:10:07 +02:00
1e87fd78b7
Added menu item to share ensichat apk ( fixes #5 ).
2015-04-27 14:50:09 +02:00
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
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
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
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
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
2a48c7bbcb
Changed RSA key size to 4096 bits.
2014-12-17 02:51:13 +02:00
5934cb31ce
Reduce CryptoData size by using smaller length fields.
2014-12-17 02:36:39 +02:00
db33264b2d
Properly close connection.
2014-12-13 04:02:12 +02:00
bd9ea26bd5
Cleaned up header, moved time to text.
2014-12-12 03:13:37 +02:00
5cbf918d86
Use case classes, cleaned up code.
2014-12-12 01:14:04 +02:00
539d955737
Refactored packages.
2014-12-12 00:49:12 +02:00
834f3ca724
Moved remaining messages to binary encoding, removed msgpack dependency.
...
This seems to have added some random disconnects, but there doesn't
seem to be a reason for this in the code.
2014-12-12 00:13:22 +02:00
de86f5f121
Use key fingerprints instead of bluetooth addresses.
2014-12-04 20:33:12 +02:00
5f123afcab
Create "thin" build type and clean up previous commit.
...
The "thin" build type relies on system scala library, while "debug"
and "release" provide the library itself.
2014-12-02 19:02:01 +02:00
873b7fd0bd
Merge pull request #1065 from Arneball/master
2014-12-02 19:00:55 +02:00
Raul Bache
4f9ccfa25d
Made it work
2014-11-30 20:52:47 +01:00
8379263d09
Properly implement hashCode().
2014-11-30 21:09:39 +02:00
d565bdb373
Fixed various lint problems, improved navigation (ActionBar up arrows).
2014-11-18 13:07:31 +02:00
21b014654c
Improved handling for invalid incoming messages.
2014-11-18 11:50:29 +02:00
77237decb0
Added proper chat layout.
2014-11-18 10:16:51 +02:00
dbcacb8a98
Layout fixes.
2014-11-17 13:09:16 +02:00
eac2221cef
Fixed adding contact not working.
2014-11-17 12:51:49 +02:00
fb2e3aca13
Improved Database tests, added logging for AddContactsActivity.
2014-11-17 12:16:45 +02:00
60bec11225
Use assert instead of manual if/exception.
2014-11-17 10:59:03 +02:00
e430608311
Added identicons based on public key when adding new contact.
...
Also fixed a derp with cases.
2014-11-17 03:14:32 +02:00
f31db97230
Minor code enhancements.
2014-11-17 00:39:09 +02:00
b12af56ea7
Added functionality to add contacts (with new Activity).
...
This requires confirmation from both devices involved, and
allows opening the ChatFragment for a device that is not currently
connected.
2014-11-16 16:31:02 +02:00
8a1e9b4d5d
Added preferences with setting for scan interval.
2014-11-13 23:01:33 +02:00
7af368ce31
Added EnsiChatActivity to avoid code duplication for service connection.
2014-11-13 21:38:34 +02:00
3da35725d4
Fix initial connection not working (DeviceInfoMessage should not be
...
encrypted).
2014-11-13 21:31:57 +02:00
11361c83ab
Updated dependencies.
2014-11-12 23:45:38 +02:00
b4f5569ec9
Added end-to-end message encryption.
2014-11-09 02:08:36 +02:00
6b2ef30888
Remove device from ContactsFragment when disconnected.
...
Also changed some variable/class/function names.
2014-11-07 18:26:50 +02:00
2129107684
Moved exit button to ContactsFragment so it isn't shown when chat is open.
2014-11-07 17:20:29 +02:00
c1c4239499
Require device ID to have correct format using regex.
2014-11-06 17:56:19 +02:00
5e26fcce75
(De-)serialize message to/from byte array instead of stream.
...
This lets us get rid of seperate `getBytes` function for signing,
and is needed for end to end encryption.
2014-11-06 17:15:05 +02:00
4cbaf975b5
Added message signing.
...
Also, DeviceInfoMessage is now sent on connect for key exchange,
new abstract class Message is superclass of all message
implementations.
Multiple minor reformats/refactorings.
2014-11-06 13:25:47 +02:00
bf7aab1e11
Updated dependencies, downgrade scala for incremental compiles.
2014-11-06 01:29:23 +02:00
137f337cfe
Removed chat fragment caching.
2014-10-30 21:00:08 +02:00
cbcc0802dd
Put proguard back in to avoid OutOfMemoryExceptions.
...
I removed it earlier because of warnings, but these weren't important.
2014-10-30 17:54:53 +02:00
69ccb6244c
Added TextMessageTest, MessageStoreTest, updated MainActivityTest.
2014-10-30 00:26:37 +02:00
3bd4feacbd
Added text chat functionality.
...
- ChatFragment with layout, Fragment handling in MainActivity
- [MessagePack](http://msgpack.org/ ) serialization in TextMessage
- MessageStore to hold old messages
- various small code enhancements
Way too many changes for one commit, but it's too late to change.
2014-10-30 00:23:01 +02:00
b1a55a3d4d
Improved handling for bluetooth enable/disable.
2014-10-25 22:17:35 +03:00
e20804e916
Require bluetooth feature to install.
2014-10-25 18:21:02 +03:00
b785d14622
Added unit test for MainActivity.
2014-10-25 15:38:35 +03:00
4fe2d9ae45
Request bluetooth to be discoverable on start.
2014-10-23 18:08:03 +03:00
69f134b5bf
Only hold weak reference to device listener, return explicit run mode.
2014-10-22 22:47:03 +03:00
78d2d09996
Use proper tags for fragment layout.
2014-10-22 22:46:09 +03:00
70fec6ad08
Addded basic ping functionality between devices.
2014-10-22 18:43:49 +03:00
6c4fe96f10
Updated to Android 5.0, updated gradle.
2014-10-18 16:53:23 +03:00
bbfdb8ea68
Use ListFragment for ContactsFragment so empty view works correctly.
2014-10-17 01:56:06 +03:00
7ca15109c0
Added exit button, reformatted strings.xml.
2014-10-17 01:48:49 +03:00
199f2e703d
ContactsFragment now lists all visible devices.
...
Also added ChatService to handle discovery (only on service start
for now).
2014-10-16 23:36:31 +03:00