Commit Graph

277 Commits

Author SHA1 Message Date
Tamas Kocsis ce5b4c3eda Don't non-existent files as bad 2020-09-18 18:45:42 +02:00
Tamas Kocsis 4da89580c1 Don't mark content.json as bad file if update failed 2020-09-18 18:43:54 +02:00
Tamas Kocsis 5a226baaa5 Reduce announce number for not recently added sites 2020-09-08 19:28:04 +02:00
Tamas Kocsis b7bc197012 Only try to get more peers for timeout task if site is recently added 2020-09-08 19:26:18 +02:00
Tamas Kocsis 0907edb6b1 Remove obsolate auth_key generation 2020-09-04 17:35:48 +02:00
shortcutme 9b85d8638d
Don't allow run site api calls when site is deleting 2020-02-20 17:25:56 +01:00
shortcutme c6b07f1294
Wait until checkmodification spawned pools are finishing 2019-12-21 03:04:36 +01:00
shortcutme 3ccce46314
Wait until downloadContent pool finishes 2019-12-21 03:03:49 +01:00
shortcutme 7c1da5da52
Abilty to disable file bad file retry at end of download 2019-12-21 03:03:32 +01:00
shortcutme c5de1447c8
onComplete will be triggered by WorkerManager 2019-12-21 03:02:53 +01:00
shortcutme e16ace433c
Better logging in site download content 2019-12-21 03:02:36 +01:00
shortcutme d7cabb47ca
Log task numbers on content.json start 2019-12-17 14:31:41 +01:00
shortcutme 8de1714f08
Fix onComplete call when donwload end 2019-12-17 14:31:12 +01:00
shortcutme 20ba9cd589
Log site download time 2019-12-17 14:30:29 +01:00
shortcutme af1ac9bce8
Try to find already running task for file before start a new one 2019-12-17 14:30:14 +01:00
shortcutme 31a6e3ee9a
Don't allow clone to run in parallel 2019-12-17 14:29:48 +01:00
shortcutme 04ecb89e9a
Avoid sending too many publish request to an outdated client 2019-12-04 17:15:42 +01:00
shortcutme afd23849a6
Log site delete as info 2019-11-27 03:04:49 +01:00
shortcutme 5df5e25d68
Better logging of recent peers 2019-11-25 14:49:40 +01:00
shortcutme 07633ba79d
Fix local peers dropping out from recent peers 2019-11-25 14:33:18 +01:00
shortcutme 1c607645c7
Track and stop site connected greenlets on delete 2019-11-19 02:07:51 +01:00
shortcutme 6eb79ba75e
Don't annunce site if not serving 2019-10-06 03:08:54 +02:00
Lola Dam 0738964e64 Save content.json of site even if limit size is reached (#2114)
* fix #2107; Still save the content.json received even if site size limit is reached but dont download files; Allow better distribution of latest version of content.json

* Added test

* Fix test for huge content file (now it fails)

* Dont download huge content.json file and update test

* Remove comments
2019-09-10 18:18:21 +02:00
shortcutme 88f2b39576
Don't try to connect to onion addresses if not supported by the client 2019-08-08 14:37:19 +02:00
shortcutme 1eb97ea381
Delayed save of sites.json 2019-08-02 14:06:25 +02:00
Ivanq 8eee9caa01 Fix siteCloning subdirectory with -default files 2019-07-01 09:49:03 +03:00
Lola Dam 753396ac0c Try and catch block for dbRebuild (#2047)
* Try and catch block for dbRebuild

* Use self.log.error and not logging

* Use self.log.error and not logging in SiteStorage also

* Check if the rebuild is working
2019-06-23 14:21:50 +02:00
shortcutme fce30baa12
Check files in offline mode on update 2019-05-30 04:28:09 +02:00
shortcutme 4222c31b3e
Don't push body of content.json with updates if larger than 10kb 2019-05-30 04:26:41 +02:00
shortcutme f414f0746c
Don't update site in offline mode 2019-04-15 15:48:16 +02:00
shortcutme 998ec3eb4f
Disable all site serving using a global offline argument 2019-04-15 15:06:25 +02:00
radfish f6e3a74567 [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +02:00
shortcutme 9fd059aef8
Give admin permission to updater site 2019-04-08 18:12:58 +02:00
shortcutme b5b0626251
Add name for websocket event on site deletion 2019-03-29 02:30:26 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme c2b879ccab
Rev3831, Fix Stats page compatibility with latest gevent 2019-01-31 00:39:45 +01:00
shortcutme 31a7effa5f
Rev3827, Share FileServer between sites for non-main CLI commands 2019-01-29 03:17:24 +01:00
shortcutme 3e82595193
Store site download time 2019-01-20 03:10:07 +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 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 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 8b91abd0dc
Use FileServer to avoid plugin incompatiblity problems 2018-06-21 21:57:06 +02:00
shortcutme d125551c0d
Proritize currently requested site update 2018-06-03 12:46:00 +02:00