Commit Graph

65 Commits

Author SHA1 Message Date
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
732032b1b5 Fixed some bugs and some tests 2016-12-21 08:09:53 +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
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
102d63e2c6 Fixed message count per label 2016-08-25 08:50:06 +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
d130080df2 Implemented methods offer and request, system test works now but synchronization is still broken. 2016-07-08 18:14:41 +02:00
c1fa642b4e Made tests more stable, albeit slightly slower 2016-05-28 11:04:47 +02:00
725d2b848e Fixed migration and added resend and cleanup options to demo application 2016-05-24 17:19:29 +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
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
678a48ac3f Fixed system test and ProofOfWorkService 2016-05-05 10:50:22 +02:00
a0505f5704 Minor improvements to the demo Application and a fix for when the ACK is empty 2016-04-25 08:13:46 +02:00
ddd5826f42 Fixed feature bitfield calculation/resolution 2016-04-13 07:32:35 +02:00
4f7f80c12a Added tests and code improvements 2016-04-08 19:22:40 +02:00
32ea3517fe Chans should now work.
Other deterministic addresses should be easy to implement, but aren't done yet
2016-04-07 17:24:56 +02:00
57057298a1 Code cleanup 2016-02-26 16:30:45 +01:00
9ca28ead66 Code cleanup 2016-02-26 16:12:43 +01:00
2a17e6024f Code cleanup 2016-02-26 15:06:47 +01:00
bc68a5d3ec Code cleanup & improvements
- most notably removed some unnecessary synchronize blocks in the DefaultNetworkHandler
2016-02-26 14:34:08 +01:00
f6add5b2ea Code cleanup 2016-02-25 16:36:43 +01:00
9f1e0057c9 Code cleanup 2016-02-24 23:10:04 +01:00
4dd639e651 Code cleanup 2016-02-24 22:51:35 +01:00
af3e63f592 Improved tests for cryptography 2016-02-09 17:09:22 +01:00
60adf73616 Improved tests for repositories 2016-02-07 23:36:35 +01:00
5f4dbfc985 Version 1.0.1-SNAPSHOT - fixed issue with requesting pubkey, and problem where your keys are overwritten if you try to import a contact again or worse, your identity as a contact 2016-01-31 18:11:20 +01:00
9f05af8bb7 Finally fixed the bug that was haunting me for the last week. 2016-01-21 20:32:23 +01:00
733335ef42 Improved performance and network stability 2016-01-19 21:09:46 +01:00
549c8854ed Refactoring: renamed 'security' to 'cryptography' 2016-01-10 13:38:32 +01:00
61788802c5 Some POW improvements 2015-12-18 16:42:17 +01:00
ab6a3c56dd The POW callback is now a service and its state stored.
The proof of work engine therefore just has to remember its initial hash making server based POW easier.
2015-12-08 20:27:32 +01:00
99266712fa Some extensions for server POW 2015-11-28 20:27:05 +01:00
511b3c1754 Connections now use two separate threads for writing and listening
- this should avoid dead locks, specifically when connecting to Jabit :/
- also, Java 8 features are now allowed in modules not needed by Android clients
2015-10-14 18:37:43 +02:00
f9ff22bebe Synchronisation API and related refactorings / improvements
-> lets you synchronize with the Bitmessage network without staying connected
2015-10-07 21:50:41 +02:00
c3fdee79ca Some bugfixes and added findMessages by sender 2015-09-29 07:13:27 +02:00
f89d1a342e Fixed a few problems:
- some bugs that creeped in when I moved security into its own adapter
- improved some DB code as it doesn't work in Android anyway
- all entities should be serializable (very useful in Android)
2015-08-28 13:48:01 +02:00
4911c268c2 Changed repositories to work with SQLDroid, which seems to have very limited support for blobs, at least it didn't work when I used stream. 2015-08-05 19:55:53 +02:00
b8546e28af Moving "Security" to a separate port, so there can be a Bouncycastle and a Spongycastle implementation. (BC doesn't work on Android, SC can't be used on Oracle's JVM) 2015-08-05 19:52:18 +02:00
6fbb3f850d There are some instances where an inventory item is requested and therefore saved twice. This shouldn't be logged as an error. 2015-07-03 14:46:55 +02:00
6f50c200ee Added import/export to the demo app
- discovered private key length was wrong - fixed
- as things are broken anyway, refactored flyway migrations - you'll need to delete ~/jabit.*.db
2015-07-03 11:28:06 +02:00
65fdd7d408 Dropped obsolete table and set lower POW target for test (there is no need) 2015-07-03 09:04:35 +02:00
2c4d95af2f smarter network code, fixed various issues
- deciding on the stream at creation time is just silly - it should be done based on the identities (this part is TODO)
- changed NodeRegistry so it doesn't store nodes - this should help to connect faster
- inventory items shouldn't be advertised to nodes that are already aware of them (issue #13)
- objects shouldn't be requested more than once (issue #9)
2015-07-01 06:57:30 +02:00