Commit Graph

326 Commits

Author SHA1 Message Date
shortcutme 8b91abd0dc
Use FileServer to avoid plugin incompatiblity problems 2018-06-21 21:57:06 +02:00
shortcutme 3de13a2e6d
Fix tracker statistics 2018-06-03 12:47:17 +02:00
shortcutme d125551c0d
Proritize currently requested site update 2018-06-03 12:46:00 +02:00
shortcutme f3b17d4896
Force reannounce if announce is enabled on update 2018-04-29 14:52:56 +02:00
shortcutme 247b89aec5
Fix non-ascii tracker error message logging 2018-04-29 13:05:02 +02:00
shortcutme cafb9ddcf4
No need to announce if no peer as checkModifications will do 2018-04-29 02:45:10 +02:00
shortcutme ca3b02229f
Fix announcer typo 2018-04-29 01:02:39 +02:00
shortcutme 8039aa3eb1
Report port 1 to trackers as not connectable to improve compatibility 2018-04-29 01:02:24 +02:00
shortcutme 5a494ca50e
Less verbose tracker logging 2018-04-29 01:01:13 +02:00
shortcutme 35cf4f3009
Rev3456, Fix SiteAnnouncer import 2018-04-28 22:31:54 +02:00
shortcutme b69e466de0
Add loading of new SiteAnnounce class 2018-04-28 21:49:31 +02:00
shortcutme 37fcf2fed7
Fix deletion with missing content.json files 2018-04-28 21:49:12 +02:00
shortcutme 8f69575b95
Fix SiteManager logging message 2018-04-28 21:48:36 +02:00
shortcutme 2f71c2b784
Refactor and move announcer code to separate class 2018-04-28 21:48:21 +02:00
shortcutme f3a809a495
Fix publish logging message 2018-04-28 21:47:43 +02:00
shortcutme ad955b157b
My port and ip is no longer necessary for updates 2018-04-28 21:47:33 +02:00
shortcutme a87b6c7022
Announce on update if no peers 2018-04-28 21:47:11 +02:00
shortcutme 5104d0d250
Always have connectionserver for site 2018-04-28 21:46:50 +02:00
shortcutme 0459c75dc0
Make file verification process handle correctly different files with same has_id by using new isDownloaded function 2018-03-29 03:19:26 +02:00
shortcutme d61cd96d8f
VerifyFiles call returns more detailed statistics 2018-03-29 02:49:06 +02:00
shortcutme 3d7dea52a0
Always load my sites from sites.json 2018-03-14 22:32:15 +01:00
shortcutme c5f77a1c38
Handle global onion address correctly in needConnections 2018-03-14 22:31:58 +01:00
shortcutme 2575476086
Some trackers does not accept port 0, so we send port 1 as not-connectable 2018-02-10 01:08:31 +01:00
shortcutme 211d68f590
Only parse dict result from udp tracker 2018-02-10 01:08:20 +01:00
shortcutme 3e51b888cb
Add left bytes to request to improve tracker compatibility 2018-02-10 01:04:23 +01:00
shortcutme ff8f41c1eb
Request less peers in update mode 2018-02-10 01:03:49 +01:00
shortcutme a6e67fa9c3
Generalized tracker result log format for pex 2018-02-08 18:06:45 +01:00
shortcutme b6a401d697
Get loading status based on property 2018-02-08 18:06:19 +01:00
shortcutme 23be1d18a4
Store site list change time 2018-02-08 18:05:50 +01:00
shortcutme d721d459eb
Sites always a dict to keep the reference 2018-02-08 18:05:23 +01:00
shortcutme e1dd0f0979
Only recover sites from sites.json that had peers 2018-02-08 18:04:41 +01:00
shortcutme 866947c445
Fix symlinked data site deletion 2018-02-08 18:03:55 +01:00
shortcutme 64b4789bc1
Generalize tracker logging 2018-02-08 17:54:09 +01:00
shortcutme 13e651c822
Store and prefer recent peers from trackers and local peer discovery 2018-02-08 17:53:17 +01:00
shortcutme 7d3fd6f5b6
Only add recent peers if there is more 2018-02-08 17:51:44 +01:00
shortcutme 0c91fd396e
De-duplicate peers before publishing 2018-02-08 17:51:10 +01:00
shortcutme 1827e1e033
Force announce on startup 2018-02-08 17:50:40 +01:00
shortcutme 771dce4c8c
Pre-generate site address hash 2018-02-08 17:50:23 +01:00
shortcutme c2edbb30b5
Don't send private ip addresses on pex 2018-01-30 13:58:01 +01:00
shortcutme 48e8b956d2
Only add myself to connect blacklist if running other cli action 2018-01-28 16:42:23 +01:00
shortcutme 005358f4bf
Use separate db connection for rebuilding 2018-01-19 02:31:46 +01:00
shortcutme ea1cd63929
Log hashfield change time on send 2018-01-19 02:30:52 +01:00
shortcutme c8ac4c0278
Update content update time after successful listmodifications 2018-01-19 02:29:18 +01:00
shortcutme 49a332724e
No connected peers if no connection server 2018-01-19 02:27:40 +01:00
shortcutme a21c417c0b
Better announce logging 2018-01-19 02:27:19 +01:00
shortcutme ccd002b97f
Rev3177, Import missing SafeRe module 2017-12-20 23:35:49 +01:00
shortcutme c7d067ea3c
Rev3176, Skip listing ignored directories on signing 2017-12-20 23:25:25 +01:00
shortcutme 7ee5cbe473
Rev3175, Make getConnectablePeers return not-connected peers by default 2017-12-19 16:14:13 +01:00
shortcutme b5452bce6b
Rev3171, Allow 127.0.0.1 peers for testing reasons 2017-12-15 12:28:48 +01:00
shortcutme ca42740e1b
Don't add peer 127.0.0.1 and 0.0.0.0 2017-12-15 12:10:36 +01:00