Commit graph

99 commits

Author SHA1 Message Date
anthonyraymond 8142713c50 Add comment to CoreEventListener and remove dead code 2017-06-10 14:40:50 +02:00
anthonyraymond 037568e75d If a torrent fails to announce to many times, it will be moved to archive folder. 2017-06-10 14:35:59 +02:00
anthonyraymond d6f5b8f4ee Add a FIXME to remeber that there is a minor bug to fix 2017-06-08 23:06:18 +02:00
anthonyraymond 0b39f44ec3 typo in TorrentFileProvider log 2017-06-08 22:52:45 +02:00
anthonyraymond 60f19b56fe Rename variable to match seeders and leechers 2017-06-08 22:50:38 +02:00
anthonyraymond 240e627a01 Make some log message more clear and wrap using isLevelEnabled 2017-06-08 22:42:51 +02:00
anthonyraymond 731cae5274 Fix warning message syntax when announce result in an error. 2017-06-08 18:45:16 +02:00
anthonyraymond 30ea73f535 Change spring's default port 2017-06-07 23:09:55 +02:00
anthonyraymond 0002745bb8 Add dockerfile for beta test purpose 2017-06-07 22:53:00 +02:00
anthonyraymond ced44ec77d Change TrackerClient log level when announcing 2017-06-06 23:07:04 +02:00
anthonyraymond 057651b98f Fix seeders and leechers count. Fix a concurency bug when removing torrent 2017-06-06 23:05:41 +02:00
anthonyraymond 71df6f5794 Small refactor to HttpTrackerClient and add some tests. 2017-06-05 23:51:03 +02:00
anthonyraymond eaa7b299c7 Refactored TrackerClient and implementations. 2017-06-05 17:36:52 +02:00
anthonyraymond 2916f54eda Ensure channel is closed if not bindable in ConnectionHandler 2017-06-03 23:56:57 +02:00
anthonyraymond 9b28737da7 Remove a useless String concatenation 2017-06-03 23:56:26 +02:00
anthonyraymond 55a5807f5f Added test for TrackerClient. 2017-06-03 00:42:31 +02:00
anthonyraymond 50034aee3c Add tests for HTTPAnnounceRequestMessage 2017-05-30 23:54:41 +02:00
anthonyraymond 74071505c5 Fix some Intellij warnings 2017-05-29 23:11:05 +02:00
anthonyraymond 963debabf1 Fix some typos 2017-05-29 23:01:11 +02:00
anthonyraymond 947156c5b5 Remove unused imports 2017-05-29 22:51:23 +02:00
anthonyraymond 16aa0e6d07 Fix some Findbugs warnings 2017-05-29 22:50:53 +02:00
anthonyraymond 1868d24a41 Fix some Intellij warnings 2017-05-29 22:42:30 +02:00
anthonyraymond 699782111a AppConfiguration min and max upload rate are now Long values 2017-05-29 22:31:57 +02:00
anthonyraymond d4b6e83270 BandwidthManager and TorrentWithStats are fully tested. 2017-05-29 22:16:19 +02:00
anthonyraymond 234c228e94 Added RandomGenerator and use it to define seed speed for each torrent. 2017-05-29 00:02:18 +02:00
anthonyraymond 59f4cfb9d8 Refactored BandwithDispatcher to make it much more secure 2017-05-28 01:55:38 +02:00
anthonyraymond a4eb0cd380 Fix findbugs alerts 2017-05-26 00:05:06 +02:00
anthonyraymond 0fe901be7e Add test for Events 2017-05-25 23:57:17 +02:00
anthonyraymond 9e87ced626 Change event package structure 2017-05-25 23:22:45 +02:00
anthonyraymond 9dc0d70f79 Removed useless constructor in Exceptions 2017-05-25 23:19:58 +02:00
anthonyraymond 533a4d09de Add test for BitTorrentClient key uppercased and lowercased 2017-05-25 23:18:18 +02:00
anthonyraymond 2a55a8fc72 TorrentFileProvider no longuer publish event when torrent are crated/updated/deleted 2017-05-25 23:03:00 +02:00
anthonyraymond 05a85073e9 Added config to tell how much torrent have to be seed simultaneously. Start seeding another torrent when one stop. 2017-05-25 22:59:36 +02:00
anthonyraymond 4588658156 Removed outdated and no more revelant TODO 2017-05-23 23:49:07 +02:00
anthonyraymond b011a3bdc2 Fix Intellij code inspection issues 2017-05-23 23:10:29 +02:00
anthonyraymond 5a290416d8 Removed useless import 2017-05-23 23:00:31 +02:00
anthonyraymond 232d8a932f Fix a possible deadlocks in BandwithDispatcher. HttpAnnounceRequestMessage#getInfoHash now returns a copy of the byte array 2017-05-23 22:59:55 +02:00
anthonyraymond c80a274f5a Remane BandwithManager to BandwithDispatcher. Rename NewClient to Client 2017-05-23 22:54:40 +02:00
anthonyraymond ddff0c3b6f Removed a TODO that state we should stop seed after some time. We never will be able to reach the long max value which is more or less 9223372036Gigabyte 2017-05-23 00:39:35 +02:00
anthonyraymond ec1644e8e1 Add announce log. Add ability to restart a torrent when one is over. 2017-05-23 00:34:33 +02:00
anthonyraymond 80c5234d54 Add comment to prepare next step (Start another torrent when one has stopped). 2017-05-18 00:04:07 +02:00
anthonyraymond 1f352c8b02 Moved BandwitchManager to another package 2017-05-17 23:43:54 +02:00
anthonyraymond e102431876 Fix a deadlock in bandwith manager 2017-05-17 23:34:09 +02:00
anthonyraymond 021584dd2a Refactoring in progress 2017-05-15 23:01:53 +02:00
anthonyraymond d61912a7f3 Temporary commit, prior to client refactoring 2017-05-13 23:53:01 +02:00
anthonyraymond 9e3ed465bf Announce url is now logged at debug level on each announce. 2017-05-04 20:36:49 +02:00
anthonyraymond 2dc86c9fea SeedManager is now a component. Still need tests 2017-05-04 20:36:48 +02:00
anthonyraymond 75fedcfd93 Refactored TorrentProvider: splitted watcher and provider 2017-05-04 20:36:48 +02:00
anthonyraymond 19ea45e10d Make TorrentFileProvider injectable 2017-05-04 20:36:48 +02:00
anthonyraymond be153810c8 Added logger to JoalConfProvider 2017-05-04 20:36:48 +02:00