Commit Graph

81 Commits

Author SHA1 Message Date
239c6ec7f4 Fixed NullPointerException 2017-05-16 17:20:52 +02:00
956ed61b14 Removed unused logger 2017-05-08 07:26:45 +02:00
2ae1e561d8 Minor improvements for logging and debugging 2017-05-04 07:24:26 +02:00
e5c956c6e5 Minor improvements 2017-04-12 17:18:09 +02:00
f50d7445c1 Validate TTL: it must always be more than zero and less than 28 days 2017-04-12 17:12:43 +02:00
dca0330a7c Bumped dependency versions 2017-04-03 18:21:08 +02:00
c4385b2336 Add some passive support for SHA256 based signatures 2017-04-02 21:03:04 +02:00
841fb7eccd Test fixes and improvements 2017-04-02 21:02:20 +02:00
5849e68d20 Keep order of labels 2017-03-30 16:31:36 +02:00
3ab3d7a0ca ConversationService additions, fixed migration script 2017-03-30 16:30:46 +02:00
d9090eb70c Some code to work with conversations 2017-03-13 22:49:40 +01:00
10a45cc79c Moved to own MsgPack implementation 2017-02-03 07:29:51 +01:00
3f8980e236 Make sure context is set after it is properly initialized 2017-01-11 17:30:04 +01:00
732032b1b5 Fixed some bugs and some tests 2016-12-21 08:09:53 +01:00
702ac6cb82 Added some null checks so the users of this library don't have to 2016-12-16 07:30:02 +01:00
0d67701735 Changed default CustomCommandHandler
While throwing an IllegalStateException is great to signal developers they need to register a default handler, it's a dangerous default for all those who don't need one. A log entry on 'debug' level should suffice.
2016-12-12 07:59:38 +01:00
c11a1b78c4 Some code style improvements 2016-12-11 14:27:21 +01:00
6d67598a40 First implementation of extended message encoding. Works as far as the PyBitmessage implementation, with some additional code. 2016-12-11 14:02:32 +01:00
e1dcbbf19c Don't block when adding a new contact / searching for its public key 2016-12-07 20:01:19 +01:00
31eca20cca Fixed NPE when 'from' doesn't have a public key. From will get lost in those cases unless it's saved separately. 2016-12-05 07:41:55 +01:00
0bb455d433 Extended encoding basics
works for basic subject/body messages, no attachments and no other features supported yet
2016-11-30 17:26:22 +01:00
831e4bcbcc Added clarifying comment 2016-11-14 23:27:29 +01:00
7b14081c63 Set 'send time' on outgoing messages 2016-10-28 07:52:05 +02:00
a880a8c10b Fixed NPE 2016-10-22 07:24:49 +02:00
ad97cd0633 Fixed SecurityException for some Android versions.
At the same time removed necessity to register a cryptography provider which means SpongyCryptography can be used on the Oracle JVM as well - but this is something vor Jabit 3.0.
2016-10-15 18:01:08 +02:00
71124d7b01 Fixed tests 2016-09-12 10:02:52 +02:00
489b8968e0 Refactored use of the DefaultMessageListener so it's retrieved from the InternalContext 2016-09-12 08:18:30 +02:00
a240606909 Minor improvements and fixes 2016-09-05 19:35:36 +02:00
dad05d835b Created an improved JdbcNodeRegistry and removed MemoryNodeRegistry, as it doesn't properly work with the way nodes are handled and disseminated in the new PyBitmessage client. The new one should work a lot more stable. 2016-09-01 07:35:46 +02:00
caa2219a63 It looks like the NIO network handler works now - some testing needed to see how reliably 2016-08-24 22:17:02 +02:00
3a92bab9ba Merge remote-tracking branch 'origin/develop' into feature/nio 2016-08-17 07:46:52 +02:00
1eac644813 Fixed error in AbstractMessageRepository (archived messages couldn't be found) 2016-08-15 11:52:43 +02:00
334a510743 Fixes, improved tests and other improvements 2016-07-29 07:49:53 +02:00
56ebb7b8fa Better memory management for the out buffer 2016-07-27 07:38:39 +02:00
48ff975ffd Better memory management for the in buffer (the same TODO for the out buffer. 2016-07-25 07:52:27 +02:00
0fadb40c6c Improved tests and fixed some 2016-06-16 19:47:59 +02:00
ed4fd1002b Improved uint reading 2016-06-12 20:53:05 +02:00
62d40fb2c3 Improved unsigned byte comparison 2016-06-12 20:43:23 +02:00
cde4f7b3ce Some refactoring to move some common code into an AbstractConnection 2016-06-01 17:38:49 +02:00
08f2d5d6f1 Added write(ByteBuffer) to Streamable interface and a first draft for a NioNetworkHandler 2016-05-28 10:22:47 +02:00
725d2b848e Fixed migration and added resend and cleanup options to demo application 2016-05-24 17:19:29 +02:00
409dccd0be Fixed broken JavaDoc and removed unused import 2016-05-24 07:45:34 +02:00
ed6344c662 Added BitmessageContext method to resent unacknowledged messages and updated README.md 2016-05-23 20:11:44 +02:00
14849a82ea Refactored JdbcMessageRepository so that alternative implementations can be done easier 2016-05-20 23:58:08 +02:00
c3d8a07e83 Added unit tests and fixed bug 2016-05-20 23:00:27 +02:00
43f42dd400 This breaks a lot of things, but it seems necessary. Implemented the resending mechanism and fixed many problems on the way, but tests and triggers are still to do. 2016-05-20 07:32:41 +02:00
e44dd967d0 Test for NodeRegistry 2016-05-13 12:25:04 +02:00
a67ac27921 Fixed yet another test 2016-05-10 07:26:25 +02:00
05d9ea93d2 Acknowledgments are now returned, received, and the message (Plaintext object) updated
-> no logic to resend messages yet
2016-05-06 19:39:39 +02:00
de8f04e22a Added warning to Labeler for developers who want to implement it. 2016-05-06 17:29:39 +02:00