Commit Graph

73 Commits

Author SHA1 Message Date
chris c425298b67 Use JUnit 5 for tests, bump dependencies 2018-02-20 14:04:40 +01:00
chris 18f870a4cc Switched from commons-lang3 to commons-text 2017-11-27 21:46:19 +01:00
chris 278d5b05e6 Split LabelRepository off the MessageRepository 2017-11-26 20:30:05 +01:00
chris ddb2073c2f Refactored BitmessageContext creation 2017-11-25 20:34:11 +01:00
chris 8cbdce6eac Refactored to use StreamableWriter
Bumped the msgpack library to 2.0.1 (the 2.0.0 build was fubar)
2017-11-21 10:44:41 +01:00
chris d3a06e7639 Added version to user agent info, and other minor fixes 2017-07-05 00:37:45 +02:00
chris 35d7486869 Added dependency management and bumped gradle version 2017-07-02 11:46:27 +02:00
chris a8addf946b Minor improvements and version bumps 2017-07-02 08:37:43 +02:00
chris a245288359 Migrated everything except
- the Bytes utilities class - it's easier to do in Java as with Kotlin byte + byte = int
- the demo project, which I'm not sure I'll migrate. Maybe I'll make a new Kotlin Demo application
2017-06-28 00:01:05 +02:00
chris aee5debdd2 Fixed system test and added some fixes for Java backwards compatibility 2017-06-27 17:22:48 +02:00
chris 894e0ff724 Fixes and improvements, SystemTest still broken 2017-06-16 07:03:12 +02:00
chris 1d3340a547 Migrated cryptography and some improvements 2017-06-08 21:56:31 +02:00
chris fa0e53289c Migrated core and extension modules to Kotlin
(Except BitmessageContext and Bytes)
2017-06-06 16:36:07 +02:00
chris dca0330a7c Bumped dependency versions 2017-04-03 18:21:08 +02:00
chris 016b4f80ba Code fix 2017-03-31 17:07:57 +02:00
chris d9090eb70c Some code to work with conversations 2017-03-13 22:49:40 +01:00
chris 10a45cc79c Moved to own MsgPack implementation 2017-02-03 07:29:51 +01:00
chris 732032b1b5 Fixed some bugs and some tests 2016-12-21 08:09:53 +01:00
chris 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
chris 102d63e2c6 Fixed message count per label 2016-08-25 08:50:06 +02:00
chris 505818a712 Added option to connect to local Bitmessage client
(This makes it easier to debug some problem or make some tests)
2016-08-08 18:00:50 +02:00
chris 48ff975ffd Better memory management for the in buffer (the same TODO for the out buffer. 2016-07-25 07:52:27 +02:00
chris abc2f63aa6 Some further fixes and improvements, not all tests working yet 2016-06-20 16:33:47 +02:00
chris 0fadb40c6c Improved tests and fixed some 2016-06-16 19:47:59 +02:00
chris 725d2b848e Fixed migration and added resend and cleanup options to demo application 2016-05-24 17:19:29 +02:00
chris 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
chris 4f0b2cb8f8 Fixed system test (this time for real) 2016-05-06 14:13:39 +02:00
chris a0505f5704 Minor improvements to the demo Application and a fix for when the ACK is empty 2016-04-25 08:13:46 +02:00
chris 61890b3da9 Some improvements to the application 2016-04-15 17:18:11 +02:00
chris e8ddf90363 Provide a more flexible way to label messages.
I'm not quite sure about chans yet
2016-04-11 15:10:59 +02:00
chris 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
chris 3e5e431d6f Code cleanup 2016-02-28 23:03:00 +01:00
chris bc68a5d3ec Code cleanup & improvements
- most notably removed some unnecessary synchronize blocks in the DefaultNetworkHandler
2016-02-26 14:34:08 +01:00
chris f6add5b2ea Code cleanup 2016-02-25 16:36:43 +01:00
chris e4a69f42b0 Fixed problem with sending broadcasts
(while adding some tests)
2016-02-13 08:03:05 +01:00
chris 9231cf5eaa Skip system tests by default as they don't work on Travis CI 2016-02-04 10:12:43 +01:00
chris 354f506872 Raised timeout for test so hopefully it doesn't fail anymore on Travis CI (otherwise there must be a different problem) 2016-02-03 19:28:41 +01:00
chris 985e830779 Made TTLs easily changeable (albeit not for specific messages)
This should make the system test run on Travis CI again
2016-02-02 21:05:14 +01:00
chris edd8045327 Fixed / improved message sending and added a system test (it's a start) 2016-02-02 20:40:01 +01:00
chris 9f05af8bb7 Finally fixed the bug that was haunting me for the last week. 2016-01-21 20:32:23 +01:00
chris ac6f291964 Renamed module 'domain' to 'core' to make its purpose more clear 2016-01-17 05:42:49 +01:00
chris 549c8854ed Refactoring: renamed 'security' to 'cryptography' 2016-01-10 13:38:32 +01:00
chris 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
chris 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
chris 117ac3ca73 Fixed some problems and added cleanup on shutdown 2015-10-12 12:44:13 +02:00
chris 3d1bd7227b Updated H2 version 2015-10-12 12:42:11 +02:00
chris 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
chris 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
chris 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
chris 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