Commit graph

1625 commits

Author SHA1 Message Date
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 c494b01435
Update hashfiled more often 2017-10-03 15:26:53 +02:00
shortcutme c0e69e91a1
Always use streamFile for files bigger than 512k, increase file reads to 1MB for larger files 2017-10-03 15:26:39 +02:00
shortcutme 1c029981ae
Raise exception when no response received 2017-10-03 15:23:25 +02:00
shortcutme f9e64bc874
Log inner_path and location for peer request in verbose mode 2017-10-03 15:23:03 +02:00
shortcutme 8d26a572dd
Hashlib-like truncated sha512/256 object 2017-10-03 15:22:05 +02:00
shortcutme 936371a7ec
Support digest output for sha512sum 2017-10-03 15:20:50 +02:00
shortcutme 628cc992e9
Don't send ok result when update is queued 2017-10-03 15:19:34 +02:00
shortcutme 636813c603
Reduce connection cpu usage by socket send time 2017-10-03 15:19:09 +02:00
shortcutme 2eb6cc8f55
Don't add myself to findhash result if ip detection failed 2017-10-03 15:07:26 +02:00
shortcutme 8ae9b5261e
Unify handling Stream and Get file requests 2017-10-03 15:03:56 +02:00
shortcutme d6d9e911fe
Load Peer class after it got pluginned 2017-10-03 14:58:47 +02:00
shortcutme 797abdea80
Load config class after it got pluginned 2017-10-03 14:58:24 +02:00
shortcutme 7153982981
Allow to register callback after the pluginned classes got generated 2017-10-03 14:57:44 +02:00
shortcutme fcfd428b54
Enable plugins for Peer class 2017-10-03 14:56:42 +02:00
shortcutme 20e3dc5fa7
Only enable source code reloading for normal action 2017-10-03 14:55:28 +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 02ad7542b3
Temporary disable P2P port checking until more client start supporting it 2017-10-03 14:39:04 +02:00
shortcutme 57c042ef79
Use recent peers for P2P port checking 2017-10-03 14:38:33 +02:00
shortcutme 614a18913e
Switch context during newsfeed queries to avoid blocking the client 2017-10-03 14:37:50 +02:00
shortcutme bfb7392198
Site has optional files if any of the peers has hashfield 2017-10-03 14:37:15 +02:00
shortcutme 7eca3f4bc5
Display other peers optional files if we has not downloaded anything 2017-10-03 14:36:50 +02:00
shortcutme 52a468d9fd
Allow 10 second for reponse 2017-10-03 14:34:21 +02:00
shortcutme 2cf86642a2
Run connection cleanup every 15 seconds 2017-10-03 14:32:31 +02:00
shortcutme e76164c7a9
Change the posistion of handleStream function 2017-10-03 14:32:02 +02:00
shortcutme bf0d359116
Increase buffer size to 64k to better performance for big files 2017-10-03 14:31:39 +02:00
shortcutme 5f37bf3eef
Enable TCP_NODELAY if supported 2017-10-03 14:31:16 +02:00
shortcutme d8453384ab
Separate socket creation and connection to be able to cancel it 2017-10-03 14:30:19 +02:00
shortcutme f4cdc31788
Lock socket during sending data 2017-10-03 14:27:29 +02:00
ZeroNet 20a063105c Merge pull request #1124 from imachug/zeronetpy3
Move server info formatting to Config.py; use it via getConfig console command
2017-09-25 21:48:42 +02:00
Ivanq f8f26f0a89 Return log_dir, data_dir, src_dir as result of getConfig 2017-09-25 19:10:17 +03:00
Ivanq 522e9ebf39 Show config via getConfig console command 2017-09-25 19:09:59 +03:00
ZeroNet 27a9ea78b8 Merge pull request #1122 from imachug/siteclone
Allow siteClone for non-admin sites
2017-09-22 11:01:43 +02:00
Ivanq 7fa019321c Check site before cloning 2017-09-22 08:28:39 +03:00
Ivanq f98f52a50e Allow siteClone not for admin sites 2017-09-22 08:24:18 +03:00
ZeroNet bc71555a73 Merge pull request #1070 from anoadragon453/small_gram_fix
Small English grammer fixes
2017-09-21 13:46:11 +02:00
shortcutme d3d7489232
Rev2192, Fix incorrect site detection when using async commands with Cors or MergerSite plugin 2017-09-20 17:06:09 +02:00
ZeroNet 94cd5d32e5 Merge pull request #1117 from imachug/showdirectory
Allow 'backup' or 'log' as directories
2017-09-18 10:35:43 +02:00
Ivanq db339eecd3 Allow 'backup' or 'log' as directories 2017-09-16 21:57:20 +03:00
ZeroNet 99dd5d5f63 Merge pull request #1112 from imachug/merger-0
MergerSite: Add actionFileList and actionDirList proxy
2017-09-10 09:29:09 +02:00
ZeroNet 53cd2cdbf3 Merge pull request #1114 from imachug/binary
Read files as binary in fileGet()
2017-09-10 09:28:45 +02:00
Ivanq 4bbea46b90 Read files as binary in fileGet() 2017-09-10 09:46:21 +03:00
Ivanq 38230c62e6 MergerSite: Add actionFileList and actionDirList proxy 2017-09-10 08:53:07 +03:00
shortcutme 932db9bbe4
Rev2190 2017-09-02 14:28:40 +02:00
shortcutme bfd3d18a10
Fix multiuser plugin compatibility 2017-09-02 14:28:01 +02:00
shortcutme b584c586ec
Fix longer signers_sign signing 2017-09-02 14:26:39 +02:00
ZeroNet 8fdfba97d9 Merge pull request #1096 from grez911/master
Added explanation of convertion actionWrapper response to list
2017-08-25 11:12:11 +02:00
grez911 158f9e37e5 Added explanation of convertion actionWrapper response to list 2017-08-25 11:05:48 +03:00