Commit graph

253 commits

Author SHA1 Message Date
b3212bf3f4 Split server params on whitespace. 2016-04-07 17:57:54 +02:00
cfb0723c1f Merge branch 'replace-db' 2016-04-01 00:58:02 +02:00
656f52d3f3 Switch to Slick with H2 as database.
This allows us to use the same database implementation for Android
and servers.
2016-04-01 00:56:05 +02:00
5d3720b7e9 Bumped version to 0.2.3 2016-03-08 01:43:16 +01:00
127acfb3ab Use domain instead of IP for default server. 2016-03-08 01:33:44 +01:00
ca2c4c65ab Added systemd unit file to distribution. 2016-02-22 00:28:44 +01:00
07a2fde2af As server, store files in working directory instead of home folder. 2016-02-22 00:28:07 +01:00
c148ee928c Explicitly mention hop limit in protocol definition. 2016-02-20 20:49:35 +01:00
333b3495ae Added hint text for message EditText. 2016-02-18 23:32:56 +01:00
addf8e1950 Ignore sticky network intent. 2016-02-16 19:41:44 +01:00
4d6afbc9cd Limit number of internet connections, connect to random node. 2016-02-16 19:08:51 +01:00
375d245765 Added second default node.
This will only have an effect for new installs.
2016-02-16 18:23:04 +01:00
f19fc3f6d1 Externalized strings. 2016-02-11 17:46:05 +01:00
721c99c6d9 Optimized imports. 2016-02-11 17:42:32 +01:00
3fb6c009ba Disable Bluetooth on exit if it was disabled before start (fixes #15). 2016-02-11 17:36:54 +01:00
6a8a7971f8 Bumped version to 0.2.2 2016-02-11 17:09:41 +01:00
2c2bc1929d Clarified string. 2016-02-11 17:07:57 +01:00
8c7d4db8c5 Fixed unit tests. 2016-02-11 14:03:10 +01:00
021e22e50b Don't need to block explicitly on transfers. 2016-02-11 13:54:34 +01:00
ba3ce67a06 Fixed crash when receiving message with invalid length. 2016-02-11 13:51:15 +01:00
02a506608f Significantly decreased CPU usage.
Calls to InputStream#available() weren't blocking, so the loops
in both classes were running hot. Replaced the conditional with
a blocking call instead. CPU usage is down from 100% to barely
noticable.
2016-02-10 21:18:51 +01:00
b58bc9d198 Moved version values directly into gradle files for F-Droid compatiblity. 2016-02-03 14:01:16 +01:00
37d3ff4377 Bumped version to 0.2.1 2016-02-01 14:59:41 +01:00
84e00a23d2 Don't display the same message multiple times. 2016-02-01 14:54:58 +01:00
6e3cf1da63 Catch SocketException. 2016-02-01 14:35:31 +01:00
9af22b8897 Fixed potential NPE in Bluetooth interface. 2016-02-01 14:35:01 +01:00
9bb70aa405 Fixed possible NPE. 2016-02-01 13:46:39 +01:00
f3b956c89f Updated dependencies. 2016-01-27 21:23:09 +01:00
9b19158adf Show number of connected devices in notification. 2016-01-27 20:28:38 +01:00
ec6aeeb78f Added .apk files to .gitignore. 2016-01-25 22:47:20 +01:00
d2dab0121c Changed name of server package. 2016-01-25 22:46:48 +01:00
0d56efc232 Don't close app when pressing app icon in main activity. 2016-01-25 22:46:26 +01:00
5e00a2341c Bumped version to 0.2.0 2016-01-25 22:27:13 +01:00
6e12494c2c Merge branch 'internet-transport' 2016-01-25 22:19:09 +01:00
ddb3d64708 Added user option for server. 2016-01-25 22:17:56 +01:00
1df3d9a46f Changed command line formant for gradle. 2016-01-24 23:44:04 +01:00
d2f497d4de Log username and status on start. 2016-01-24 23:43:10 +01:00
6cf8a3c0b8 Allow setting status via command line. 2016-01-24 23:42:56 +01:00
dc55d74f9b Log address with username on connect if we know the name. 2016-01-24 14:03:07 +01:00
3cbba72117 Updated server address, improved documentation. 2016-01-24 13:45:43 +01:00
d3c2b5ee26 Properly check if user is a contact. 2016-01-24 13:17:02 +01:00
244fd32762 Catch InvalidKeyException when receiving messages. 2016-01-19 00:08:53 +01:00
c424bed315 Fixed potential crash. 2016-01-18 18:19:42 +01:00
ac12941ea8 Fixed service being started when it should be disabled. 2016-01-18 18:19:42 +01:00
39a2120300 Revert "Don't close app when clicking app icon in MainActivity."
This was also breaking the back button.

This reverts commit 9b5175114f.
2016-01-18 18:19:42 +01:00
514827ad8f Allow adding user by ID or QR code (fixes #36). 2016-01-18 18:19:42 +01:00
1a8ae49f79 Handle null intent in onStartCommand(). 2016-01-18 18:19:41 +01:00
b21cf17cea Make Bluetooth an optional requirement. 2016-01-18 18:19:41 +01:00
199b185861 Added server project for internet routing.
Also adjusted Log trait and visibility of library classes.
2016-01-18 18:19:41 +01:00
28cb4f15d9 Added option to start on boot (fixes #19).
This does not trigger the "enable Bluetooth" dialog, which means
Bluetooth won't be enabled. Even if Bluetooth was already active,
we might not have the necessary permissions. Internet will work
fine though.
2016-01-18 18:16:55 +01:00