shortcutme
|
8cf30893f2
|
Don't close idle db connection during rebuild
|
2018-11-08 01:20:33 +01:00 |
|
shortcutme
|
cf7d194dbf
|
Remove missing optional files from content.json on cloning
|
2018-11-07 22:48:35 +01:00 |
|
shortcutme
|
39d442a05d
|
Fix getConnectablePeers for low peer sites
|
2018-10-20 02:26:29 +02:00 |
|
shortcutme
|
6b2f619096
|
Fix updateHashfield optional file detection
|
2018-10-15 12:59:28 +02:00 |
|
shortcutme
|
f74ddc1010
|
Don't delete connecting sites at startup
|
2018-10-15 12:59:04 +02:00 |
|
shortcutme
|
6fc66b7b13
|
Move file forgot to separate function
|
2018-09-17 15:27:29 +02:00 |
|
shortcutme
|
9658c2d553
|
Stop downloadcontent pool if reached 95% of site limit
|
2018-09-17 15:27:11 +02:00 |
|
shortcutme
|
577761a6bb
|
Add cache to default settings
|
2018-09-17 15:25:17 +02:00 |
|
shortcutme
|
4fe33268ac
|
Don't allow parallel rebuild
|
2018-09-02 02:24:07 +02:00 |
|
shortcutme
|
b84abea670
|
Order more peers for connected peers simply by reputation
|
2018-09-02 02:23:46 +02:00 |
|
shortcutme
|
a5fcc7d65f
|
Sort recent peers by reputation
|
2018-09-02 02:23:19 +02:00 |
|
shortcutme
|
313d9a4ef9
|
Need less peer sites with less peers
|
2018-09-02 02:23:06 +02:00 |
|
shortcutme
|
6edabeeecc
|
Log hashfield query time
|
2018-08-29 19:55:50 +02:00 |
|
shortcutme
|
23284e1f35
|
Reduce the reannounce to unreliable trackers not just single announces
|
2018-08-27 11:50:53 +02:00 |
|
shortcutme
|
71d05a6fc2
|
Global stats to reduce tracker request for unreliable trackers
|
2018-08-26 22:58:27 +02:00 |
|
shortcutme
|
867cf478b1
|
Log tracker request mode on error
|
2018-08-26 22:57:34 +02:00 |
|
shortcutme
|
b43a05b662
|
Don't increase request tracker number before actually sending it
|
2018-08-26 22:57:09 +02:00 |
|
shortcutme
|
92db3878cf
|
Don't include skipped trackers to report
|
2018-08-26 22:56:46 +02:00 |
|
shortcutme
|
b6d11d6be3
|
Fix request number counting with zero trackers
|
2018-08-26 22:56:20 +02:00 |
|
shortcutme
|
0b38d73cc5
|
AnnounceZero return None on skipped announce due batching
|
2018-08-26 22:52:21 +02:00 |
|
shortcutme
|
33877c73bb
|
Test tracker address validity
|
2018-08-26 02:56:24 +02:00 |
|
shortcutme
|
0e3698fa2f
|
Announce to next tracker on fail
|
2018-08-26 02:55:08 +02:00 |
|
shortcutme
|
65f48800b9
|
Allow tracker list to be extended by plugins
|
2018-08-26 02:53:39 +02:00 |
|
shortcutme
|
f143000f4a
|
Fix parsing udp trackers with request path
|
2018-07-19 20:43:14 +02:00 |
|
shortcutme
|
7475fa69fa
|
Support custom proxy for tracker connections
|
2018-07-16 01:47:49 +02:00 |
|
shortcutme
|
ec8b53263c
|
Store last announce error time
|
2018-07-16 01:36:23 +02:00 |
|
shortcutme
|
6c4ce03d59
|
Reload trackers file before start downloading new site
|
2018-07-10 03:34:23 +02:00 |
|
shortcutme
|
86e4679e04
|
Skip tracker announce on incalid url pattern
|
2018-07-10 03:34:06 +02:00 |
|
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 |
|
shortcutme
|
74e50e209a
|
Rev3158, Fix site clone with sites larger that 10MB
|
2017-12-04 16:04:10 +01:00 |
|
shortcutme
|
90ff9ac7fb
|
Rev3155, Avoid UI hang during db rebuild
|
2017-12-02 02:38:17 +01:00 |
|
shortcutme
|
6b92d011d2
|
Rev3153, Download missing sites from sites.json
|
2017-11-30 19:38:56 +01:00 |
|
shortcutme
|
24372470f6
|
My_ip no longer required to be sent via updates
|
2017-11-19 18:21:47 +01:00 |
|
shortcutme
|
51f1781df4
|
Move bad file checking to separate function, root content.json does not requires file_info
|
2017-11-19 18:21:10 +01:00 |
|
shortcutme
|
9d511ba165
|
Rev3122, Auto ignore database file
|
2017-10-22 11:13:09 +02:00 |
|
shortcutme
|
e048fa6c6a
|
Target 6 connections per site
|
2017-10-21 11:02:40 +02:00 |
|
shortcutme
|
940d583f9a
|
Fix site violation bug when using Tor
|
2017-10-21 11:02:27 +02:00 |
|
shortcutme
|
68ea4d02cb
|
Don't reset bad file counter after restart, but limit to 20
|
2017-10-11 14:29:54 +02:00 |
|
shortcutme
|
8e3e96fe65
|
Create storage object after site settings loaded
|
2017-10-04 12:50:24 +02:00 |
|
shortcutme
|
c91011e6ea
|
Pass file info for addTask call
|
2017-10-03 15:49:08 +02:00 |
|
shortcutme
|
9b8eeb6a73
|
WorkerManager addTask returns task instead of event
|
2017-10-03 15:47:46 +02:00 |
|
shortcutme
|
468fe8f266
|
Move json formatting to separate function
|
2017-10-03 15:30:10 +02:00 |
|
shortcutme
|
5ccdfbd40a
|
Update site optional size on save
|
2017-10-03 15:29:52 +02:00 |
|
shortcutme
|
ad969dcca7
|
Move file download allowed checking to separate function
|
2017-10-03 15:29:26 +02:00 |
|
shortcutme
|
08b31416f3
|
Move needFileInfo to separate function
|
2017-10-03 15:28:37 +02:00 |
|
shortcutme
|
32ca6ac1a7
|
Move site cache generation to separate function to allow plugins to extend it
|
2017-10-03 14:40:13 +02:00 |
|
shortcutme
|
9f762a0230
|
Bootstrapper use python date functions instead of sqlite
|
2017-08-18 14:43:28 +02:00 |
|
shortcutme
|
1db2327b3d
|
Rev2180, Allow ajax requests using ajax_key http get parameter
|
2017-08-15 02:40:38 +02:00 |
|
shortcutme
|
29aa1b7b93
|
Log file diffing timings
|
2017-08-09 14:21:59 +02:00 |
|
shortcutme
|
5a08545e2d
|
Only recalculate site sizes on exit
|
2017-08-09 14:21:44 +02:00 |
|
shortcutme
|
b503d59c49
|
Support gzip compressed database files
|
2017-08-09 14:19:39 +02:00 |
|
shortcutme
|
4cd393e4d8
|
Auto download optional files command line argument
|
2017-07-31 14:39:21 +02:00 |
|
shortcutme
|
ac230219ee
|
DB cleanup error is not fatal
|
2017-07-31 14:35:48 +02:00 |
|
shortcutme
|
c96dce3d0b
|
Fix site cleanup from content.db
|
2017-07-31 14:35:01 +02:00 |
|
shortcutme
|
467cd480cf
|
Rev2168, Only avoid reload site on every missing file
|
2017-07-29 12:49:38 +02:00 |
|
shortcutme
|
6610914fdb
|
Rev2167, Skip downloading if no connection server specified
|
2017-07-28 22:57:41 +02:00 |
|
shortcutme
|
2aba9cc3c2
|
Only download content.json files as content
|
2017-07-19 16:45:12 +02:00 |
|
shortcutme
|
bb27e3124f
|
Remove files without info on retry bad files
|
2017-07-18 20:54:39 +02:00 |
|
shortcutme
|
066f54f521
|
Only log listModification request in verbose mode
|
2017-06-19 16:12:41 +02:00 |
|
shortcutme
|
64199c7ded
|
Reduce logging on tracker error
|
2017-06-19 16:12:24 +02:00 |
|
shortcutme
|
ff69b04216
|
Catch verify exceptions on manual site files verification process
|
2017-06-19 15:57:02 +02:00 |
|
shortcutme
|
fec3ff7d8e
|
Remove bad files that has no info
|
2017-06-19 15:40:13 +02:00 |
|
shortcutme
|
4b346243eb
|
On clone sign content.json after all other files copied
|
2017-06-19 15:39:14 +02:00 |
|
shortcutme
|
f506ac9701
|
Faster getPath
|
2017-06-15 13:30:36 +02:00 |
|
shortcutme
|
6167dda01d
|
Compact json list output
|
2017-06-03 00:53:59 +02:00 |
|
shortcutme
|
aacde33614
|
File size limit default to 10MB
|
2017-05-23 12:41:37 +02:00 |
|
shortcutme
|
3f59727ab6
|
Formatting
|
2017-05-23 12:40:42 +02:00 |
|
shortcutme
|
84b535767b
|
By default nothing is domain
|
2017-05-11 18:02:05 +02:00 |
|
shortcutme
|
438bdbc141
|
Protect peers for low traffic sites from closing
|
2017-05-07 18:15:23 +02:00 |
|
shortcutme
|
728e497057
|
Display database rebuilding progressbar
|
2017-05-07 18:14:13 +02:00 |
|
shortcutme
|
169cf2e6ae
|
Support optional db files
|
2017-04-12 17:36:03 +02:00 |
|
shortcutme
|
16bfb35109
|
No positive preference for peers with more than 5 shared sites to avoid centralization
|
2017-04-09 11:57:35 +02:00 |
|
shortcutme
|
03f3e9e4fd
|
Rev2025, Publish remotely outdated files on modification check
|
2017-04-07 21:17:25 +02:00 |
|
shortcutme
|
8ea8e8c28a
|
Publish incoming files to more peers
|
2017-04-07 18:17:30 +02:00 |
|
shortcutme
|
909b9da9da
|
Unnecessary log and comment
|
2017-03-06 15:30:42 +01:00 |
|
ZeroNet
|
0e2f742b7e
|
Merge pull request #842 from mishfit/refactorListAndWalk
Rename SiteStorage.list to SiteStorage.walk
|
2017-03-04 12:39:06 +01:00 |
|
shortcutme
|
4e846774b4
|
Log formatting
|
2017-02-27 00:13:30 +01:00 |
|
shortcutme
|
a6be8ddc2d
|
Connectable peers ordered
|
2017-02-27 00:13:18 +01:00 |
|
shortcutme
|
b65670b9e4
|
Don't remove peers with atleast 5 sites
|
2017-02-27 00:12:55 +01:00 |
|
shortcutme
|
ea635d4630
|
Only totally connected peers counted to peer cleanup
|
2017-02-27 00:12:36 +01:00 |
|
shortcutme
|
2e9737c149
|
Faster and better getConnectedpeers
|
2017-02-27 00:11:57 +01:00 |
|
shortcutme
|
0f8de2b7c1
|
Use latest added peers and use reputation for listModifications and publishing
|
2017-02-27 00:11:45 +01:00 |
|
shortcutme
|
2188c5d9fa
|
Use getRecentPeers for publishing
|
2017-02-27 00:11:02 +01:00 |
|
shortcutme
|
b5d879c1cd
|
Start site update check on site re-connect
|
2017-02-27 00:10:27 +01:00 |
|
shortcutme
|
fd365a19f7
|
Use getRecentPeers for listModification
|
2017-02-27 00:09:59 +01:00 |
|
shortcutme
|
adbaadae81
|
Allow 100 sec timeout for listModification
|
2017-02-27 00:09:41 +01:00 |
|
shortcutme
|
09ad4133fb
|
20 sec timeout for listModified
|
2017-02-27 00:08:46 +01:00 |
|
shortcutme
|
bad2a79f05
|
Reason for connection closing
|
2017-02-27 00:02:24 +01:00 |
|
mishfit
|
656c818211
|
rename SiteStorage.list to SiteStorage.walk
also, add SiteStorage.list as non-recursive
directory listing (`os.listdir`)
|
2017-02-24 21:58:46 -07:00 |
|
shortcutme
|
26bad8d05b
|
Fix needConnections bug
|
2017-02-24 01:16:22 +01:00 |
|
shortcutme
|
4aff146812
|
Log giving up on a file
|
2017-02-22 11:29:35 +01:00 |
|
shortcutme
|
221aa16433
|
Rev1929, Fix file filed on not bad files
|
2017-02-19 12:32:41 +01:00 |
|
shortcutme
|
63b609f725
|
Give up files after 30 tries
|
2017-02-19 00:52:31 +01:00 |
|
shortcutme
|
2eef0bded1
|
Only increment bad_file if internet connection is active
|
2017-02-19 00:52:20 +01:00 |
|
shortcutme
|
cfad85b30e
|
Log file object on db load
|
2017-02-13 16:12:56 +01:00 |
|
shortcutme
|
6149f5c6ee
|
Download everything on add
|
2017-02-11 18:26:37 +01:00 |
|
shortcutme
|
56efa02820
|
GetDbFiles return inner path
|
2017-02-09 01:57:12 +01:00 |
|
shortcutme
|
f3c71f3e6c
|
Move SiteStorage database updating to separate function
|
2017-02-09 01:56:20 +01:00 |
|
shortcutme
|
66e2bfd76b
|
Reset bad_files on full update
|
2017-01-29 19:03:22 +01:00 |
|
shortcutme
|
db7dad6731
|
Don't delete content.json files from bad_files on update
|
2017-01-29 19:03:08 +01:00 |
|
shortcutme
|
2b389e4e85
|
Support since parameter for siteUpdate
|
2017-01-29 19:02:08 +01:00 |
|