Commit Graph

866 Commits (3e188f5d4a22dd51b39f8206aeafe3626d35ed71)

Author SHA1 Message Date
Zlatin Balevsky 2fbab55f68
remove references to tunnelName variable 2020-05-25 19:44:50 +01:00
Zlatin Balevsky ec41985d31
Release 0.6.15 2020-05-17 22:36:08 +01:00
zzz 61340f346a
Signature must be constructed with the sigtype of the signing key 2020-05-10 06:26:35 -04:00
Zlatin Balevsky 992daa1e45
size limit on nicknames 2020-05-10 09:51:56 +01:00
Zlatin Balevsky 3b825263a7
Make the random port selection range match that of the I2P router 2020-05-08 17:37:06 +01:00
Zlatin Balevsky e1bf6c0821
prevent invalid characters in searchers of persisted files from breaking the loading process. Related to GitHub issue #45 2020-05-08 17:33:57 +01:00
Zlatin Balevsky a6eca11479
Release 0.6.14 2020-05-07 13:39:17 +01:00
Zlatin Balevsky 3116e20c7c
Fix i2np port change on every restart, github issue #45 2020-05-07 03:12:09 +01:00
Zlatin Balevsky d18cdb15cd
disallow certain characters in nicknames 2020-05-06 11:39:08 +01:00
Zlatin Balevsky 564db3473c
publish core to local maven repo 2020-05-05 16:01:23 +01:00
Zlatin Balevsky 6d6063829a
convert the core project into a library 2020-05-05 15:39:54 +01:00
Zlatin Balevsky 8b99f83db8
Release 0.6.13 2020-05-04 14:18:08 +01:00
Zlatin Balevsky 33b159477a
get test targets to pass, ignoring some tests which are not relevant anymore 2020-05-04 13:08:18 +01:00
zzz bf06c3b15f
Add top-level groovy and java compile options to build.gradle
Add compilerArgs to gradle.properties
Fix compile warnings in DataUtil
2020-05-02 10:53:00 -04:00
Zlatin Balevsky 356d7fe2ff always include the uuid in the tracker response 2020-04-29 11:23:42 +01:00
Zlatin Balevsky 7860aa2b1c prevent replay attacks by attaching an uuid to the crawler pings and pongs 2020-04-28 19:46:13 +01:00
Zlatin Balevsky 301c2ec0e2 make I2PSession visible 2020-04-28 19:29:09 +01:00
Zlatin Balevsky c306864781 add type to the tracker pong and echo the infohash that was queried 2020-04-28 19:18:37 +01:00
Zlatin Balevsky 5fc0283da7 revert change to constructor 2020-04-26 19:30:26 +01:00
Zlatin Balevsky 1d22abfa88 add ability to change the tunnel name 2020-04-14 13:17:47 +01:00
Zlatin Balevsky 9f7aaec991 include local persona in tracker response 2020-04-12 06:57:39 +01:00
Zlatin Balevsky 1c214ad68a server side of file tracking 2020-04-12 05:56:06 +01:00
Zlatin Balevsky 3436af75bf remove redundant header parsing code 2020-04-10 08:04:00 +01:00
Zlatin Balevsky 9b6a2fd952 write to memmapped file in 8kb increments 2020-04-08 13:25:08 +01:00
Zlatin Balevsky 85ad3109f9 get rid of sNL and darktrion hostcaches, add echelon's 2020-04-02 12:29:44 +01:00
Zlatin Balevsky 9837e1e3d7 emit an event on every dir sync so that UI can update timestamps 2020-03-28 02:47:29 +00:00
Zlatin Balevsky 2c52486476 fix manual syncing 2020-03-27 15:47:58 +00:00
Zlatin Balevsky 9f1f718870 show the dirs in a table, no actions yet 2020-03-27 12:54:01 +00:00
Zlatin Balevsky 2fd0a3833f wip on web ui for advanced sharing 2020-03-27 11:10:25 +00:00
Zlatin Balevsky e2a0a37abf ui force sync event 2020-03-26 15:40:53 +00:00
Zlatin Balevsky a4bee73b8a process changes in configuration 2020-03-26 15:19:09 +00:00
Zlatin Balevsky 056e5800c2 implement directory polling 2020-03-26 14:55:44 +00:00
Zlatin Balevsky 6e0d51c221 first load all watched directories, only then register and scan the auto-watched 2020-03-26 13:10:56 +00:00
Zlatin Balevsky 496e2e7f91 scan autoWatched directories on startup 2020-03-26 12:53:54 +00:00
Zlatin Balevsky a560b14d91 hook up directory manager with share & unshare events 2020-03-26 12:24:07 +00:00
Zlatin Balevsky dfc62b943f wip on persisting and loading of watched directory metadata, emit the event to register on autowatch service 2020-03-26 06:21:41 +00:00
Zlatin Balevsky 244ce43794 persistence of WatchedDirectory object 2020-03-26 05:31:39 +00:00
Zlatin Balevsky 11e320ef53 wip on directory watching 2020-03-26 04:09:18 +00:00
Zlatin Balevsky 23b6995bf2 start work on advanced watched directories 2020-03-25 22:39:03 +00:00
Zlatin Balevsky e216678d9a Release 0.6.12 2020-03-25 08:41:42 +00:00
Zlatin Balevsky bd9315954a add a positive tree so that deleting of shared directories can be detected 2020-03-25 08:09:45 +00:00
Zlatin Balevsky 83bdf76c08 cache the file/dir status when creating a tree node so that traversal can work if the file is deleted 2020-03-25 08:08:55 +00:00
Zlatin Balevsky 54f4874ad6 count the times a file has been hit due to feed update 2020-03-22 10:46:53 +00:00
Zlatin Balevsky 9a74cc5026 downloaders table 2020-03-22 02:51:26 +00:00
Zlatin Balevsky e542a50260 status page with some MW internals 2020-03-19 18:12:52 +00:00
Zlatin Balevsky 509b5c3b99 avoid more conversions to BigDecimal 2020-03-17 16:43:31 +00:00
Zlatin Balevsky fbb710cfc8 avoid more conversions to BigDecimal 2020-03-17 16:39:41 +00:00
Zlatin Balevsky 7285c12b97 clear cached cardinality on cancelling 2020-03-16 23:18:07 +00:00
Zlatin Balevsky aac259c0fe cache the cardinality to speed up UI sorting 2020-03-16 22:45:16 +00:00
Zlatin Balevsky e3f58f8f5a catch general exceptions because otherwise they get lost in the executor thread 2020-03-15 01:21:20 +00:00
Zlatin Balevsky fca8870283 fix default feed update interval 2020-03-13 07:32:08 +00:00
Zlatin Balevsky 369779ab6a swallow an exception that happens in plugin mostly 2020-03-13 02:42:46 +00:00
Zlatin Balevsky 54abf82a91 wip on server side of feeds for plugin 2020-03-12 22:28:11 +00:00
Zlatin Balevsky 14546737fd release 0.6.11 2020-03-10 22:31:33 +00:00
Zlatin Balevsky f202fa34f3 auto-publish shared files functionality 2020-03-10 19:12:49 +00:00
Zlatin Balevsky 2bb07ff7b5 do not trim feed items if setting is negative 2020-03-10 17:53:17 +00:00
Zlatin Balevsky fc393619d8 options for feeds 2020-03-10 17:47:08 +00:00
Zlatin Balevsky a272a45928 persist the right number of feed items 2020-03-10 16:41:31 +00:00
Zlatin Balevsky c3d0dce281 store last update attempt and do not retry active feeds 2020-03-10 16:05:32 +00:00
Zlatin Balevsky 8f710e68c2 download feed item action 2020-03-10 15:06:42 +00:00
Zlatin Balevsky 15430d6c03 manual update and unsubscribe actions 2020-03-10 13:51:07 +00:00
Zlatin Balevsky 166b71f128 fix NPE when logging is enabled 2020-03-10 13:47:31 +00:00
Zlatin Balevsky d724986ec6 proper method name 2020-03-10 13:34:33 +00:00
Zlatin Balevsky 198c5b5538 fix json parsing 2020-03-10 13:06:47 +00:00
Zlatin Balevsky bb7385688c it always points to the innermost closure 2020-03-10 12:55:09 +00:00
Zlatin Balevsky e70bec3a51 hook up feed subscription 2020-03-10 12:44:25 +00:00
Zlatin Balevsky ed04c40420 return an empty set if no items are found 2020-03-10 12:43:49 +00:00
Zlatin Balevsky fd75d8229b fix feed checkbox for local results 2020-03-10 12:15:52 +00:00
Zlatin Balevsky a07f01b641 utility method to check if an infohash is shared 2020-03-10 11:50:09 +00:00
Zlatin Balevsky fcb5c573f9 wip on feeds table 2020-03-10 10:39:18 +00:00
Zlatin Balevsky e2a9db8056 add an IDLE status to feeds for display purposes 2020-03-10 07:32:45 +00:00
Zlatin Balevsky f2bf921d4c parse feed flag in results 2020-03-10 06:06:57 +00:00
Zlatin Balevsky aa0fcfb7de fix capitalization in event name 2020-03-10 05:50:54 +00:00
Zlatin Balevsky 17cd60afe3 deleting of feeds 2020-03-10 00:58:43 +00:00
Zlatin Balevsky c10c1118e8 feed client 2020-03-09 19:28:42 +00:00
Zlatin Balevsky 28425e93dc persist only as many items as configured to keep 2020-03-09 18:53:43 +00:00
Zlatin Balevsky 032338bb48 Persist feed metadata and items on successful fetch. Register feed manager for various events 2020-03-09 18:31:10 +00:00
Zlatin Balevsky 12e56b1c9a events associated with updating a feed 2020-03-09 17:37:17 +00:00
Zlatin Balevsky 57c75978b6 wip on feed manager deserialization 2020-03-08 20:19:37 +00:00
Zlatin Balevsky bfe198e1a6 represenation of a feed 2020-03-08 19:38:48 +00:00
Zlatin Balevsky 8e274f940e Feed item representation and serialization 2020-03-08 19:30:04 +00:00
Zlatin Balevsky 9f3942c1c7 settings to disable or not advertise file feed 2020-03-08 17:15:00 +00:00
Zlatin Balevsky d60d57ee43 wip on server side feed handling 2020-03-08 17:04:11 +00:00
Zlatin Balevsky 8e3a433afb persist shared file on publish/unpublish 2020-03-08 16:06:28 +00:00
Zlatin Balevsky 49cf56fabb UI Publish & Unpublish events 2020-03-08 16:01:50 +00:00
Zlatin Balevsky 2b6565d107 unpublish method 2020-03-08 16:01:23 +00:00
Zlatin Balevsky 366a2ef841 published flag and timestamp in shared files 2020-03-08 15:46:36 +00:00
Zlatin Balevsky c7d1f0c23c Connect to i2p router after creating the Core object, should help with plugin init issues #39 2020-02-23 18:29:09 +00:00
Zlatin Balevsky 853b9f67fc Release 0.6.10 2020-02-23 15:42:03 +00:00
Zlatin Balevsky a505a2449a persist SharedFile on change of comments #35 2020-02-18 02:14:32 +00:00
Zlatin Balevsky c11d81c6c3 Release 0.6.9 2020-02-16 16:33:33 +00:00
Zlatin Balevsky bdad8d9309 make extended signatures mandatory 2020-02-14 15:34:21 +00:00
Zlatin Balevsky 16ed5dd346 chase down some usages of deprecated getInfoHash method #35 2020-02-14 01:32:38 +00:00
Zlatin Balevsky 7b55fc9ed8 working uploads #35 2020-02-14 01:15:10 +00:00
Zlatin Balevsky d5c8050572 wip on separate hashlist storage #35 2020-02-14 00:37:07 +00:00
LoveIsGrief a891c83518
Only persist downloaded files if sharing thereof is enabled
Otherwise we might inadvertently share downloads
2020-01-25 15:25:48 +01:00
LoveIsGrief aa56cc23c0
Cache base 64 path hash
Can't do it in constructor without an ugly try/catch
 therefore this is done on demand
2020-01-25 15:20:38 +01:00
LoveIsGrief a2b37ef567
Persist downloaded files 2020-01-25 15:06:12 +01:00
LoveIsGrief 4bc04ae631
Revert "Reduce log levels in Connection"
This reverts commit dcd233b7
2020-01-25 15:01:21 +01:00
LoveIsGrief 56da9a16b0
Set FileLoadedEvent::source in the subclass
Setting it in the super class means we don't set the right value for every case
2020-01-25 15:00:48 +01:00