Commit Graph

90 Commits

Author SHA1 Message Date
ChronosX88
b0b4a0fc33 Made making message timestamp 2019-03-26 21:08:03 +04:00
ChronosX88
18c06d1b5a Added put/get methods in P2PUtils (wrapper for TomP2P). Adapted existing classes to wrapper. 2019-03-26 17:58:27 +04:00
ChronosX88
c96231e284 [WIP] Made a wrapper for the local database. 2019-03-26 15:06:36 +04:00
ChronosX88
33e3aadcc4
Now chats are correctly creating and not recreating when deleted. 2019-03-24 16:58:12 +04:00
ChronosX88
0bca327949
Made offline chat send request 2019-03-23 21:30:24 +04:00
ChronosX88
6ee7223fcd
Changed setting chat name in CREATE_CHAT message 2019-03-23 17:22:02 +04:00
ChronosX88
8e701da329
Fixed crash when showing snackbar message in StartChatFragment 2019-03-23 16:44:42 +04:00
ChronosX88
ba0fadbdb1
Optimize imports 2019-03-23 16:44:06 +04:00
ChronosX88
96800b2628
Made context menu for chat item (now able to delete chats) 2019-03-23 16:42:22 +04:00
ChronosX88
e6f68720e8
Fixed crash when public profile doesn't exist 2019-03-23 16:39:52 +04:00
ChronosX88
8592cdc11a
Chat item style changes 2019-03-23 16:22:24 +04:00
ChronosX88
347e195909
Now chats are creating!!! Changed many things in app. 2019-03-22 20:08:29 +04:00
ChronosX88
2680a86ba8 Made creating chat system. Added KeyPairManager 2019-03-21 19:02:34 +04:00
ChronosX88
a65b871eab
[WIP] Started implement creating chat system (and handling system) 2019-03-21 14:59:17 +04:00
ChronosX88
a8bc9ab2fc
Fixed crash when starting app (NullPointer in ChatListPresenter/Fragment) 2019-03-20 14:57:48 +04:00
ChronosX88
4dd6eca565
Fixed build error in Entities (id wasn't @NonNull) 2019-03-20 14:55:35 +04:00
ChronosX88
34fe3715ac
Changed JSON formatting (from org.json to Gson), added ping handler (sends pong in reply) 2019-03-19 15:04:06 +04:00
ChronosX88
055f62bfec
[WIP] Added start chat fragment template, chat list recycle view (with adapter), handling new chats (in live mode). // TODO: Make starting chat 2019-03-18 20:39:53 +04:00
ChronosX88
eec40b2491
Fixed notifyObservers (for two-channel support) 2019-03-18 17:35:55 +04:00
ChronosX88
69a1a685c4
Added support of two channels in MainObservable (UI Actions and Other Actions) 2019-03-18 17:34:23 +04:00
ChronosX88
72812f4e03
Added basic implementation of ChatDB (Room-based) 2019-03-18 17:17:09 +04:00
ChronosX88
a8b8a3f902
Small refactoring (*Model -> *Logic) 2019-03-18 16:46:07 +04:00
ChronosX88
64a527df78
Storing peerID and peerDHT in static class, showing peerID in settings 2019-03-15 22:09:57 +04:00
ChronosX88
127bccd272
Now connecting sna bootstrapping behind NAT 2019-03-15 21:23:48 +04:00
ChronosX88
b080b2a4db Changed NAT Traversal method. (Not working yet) 2019-03-14 17:50:54 +04:00
ChronosX88
4e8b045501
Added bootstrap_success and port forwarding error messages 2019-03-14 15:16:15 +04:00
ChronosX88
a8fb301965
Added bottom navigation bar and placeholders for fragments: chat, settings, start chat. 2019-03-13 20:28:05 +04:00
ChronosX88
53f7453f12
Refactored basic peer init in MVP architecture 2019-03-13 17:03:17 +04:00
ChronosX88
8194b27c2e [WIP] Started realization initPeer in MVP Arch (and added Global Message Bus) 2019-03-12 17:50:12 +04:00
ChronosX88
cd0300eea0
Implemented custom storage for peer (standard impl isn't working on Android, so custom impl was build on top of MVStore), added JBoss Serialization lib. Also added basic peer initialization (non architectured yet) 2019-03-11 21:23:55 +04:00
ChronosX88
47b23611ae Migrate to AndroidX and storing of PeerID 2019-03-07 17:45:11 +04:00
ChronosX88
9a39bbd576
Changed from Kademlia to TomP2P DHT. 2019-03-05 15:26:45 +04:00
ChronosX88
4b617c249a
Fixed hex representation of KademliaID 2019-03-01 18:49:31 +04:00
ChronosX88
d72e0065e1
Renamed ExtendedApplication to App 2019-02-27 18:21:08 +04:00
ChronosX88
8615b0bb80
Added ExtendedApplication class to Manifest 2019-02-27 17:37:32 +04:00
ChronosX88
ab63f87d7c
Added an extended class Application to get the Context from anywhere in the application, the DHT configuration (data storage folder) has been changed. 2019-02-26 15:37:27 +04:00
ChronosX88
724c3c8da7
Fixed package in classes of kademlia package. 2019-02-26 14:49:24 +04:00
ChronosX88
61fb0e5a27
Added Kademlia DHT implementation from https://github.com/JoshuaKissoon/Kademlia. (Added manually, because project isn't library) 2019-02-26 14:14:07 +04:00
ChronosX88
b2402f9166
Renamed package and app name, temporary removed unit-tests. 2019-02-26 14:10:08 +04:00
ChronosX88
2fb057e4b6
Initial commit 2019-02-26 13:53:45 +04:00