Commit graph

1177 commits

Author SHA1 Message Date
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
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
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
Ivanq
db339eecd3 Allow 'backup' or 'log' as directories 2017-09-16 21:57:20 +03: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
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
grez911
158f9e37e5 Added explanation of convertion actionWrapper response to list 2017-08-25 11:05:48 +03:00
grez911
905976a1b6 Added exception handling for broken user.json 2017-08-22 17:43:55 +03:00
shortcutme
5ad614743b
Rev2187 2017-08-19 18:55:48 +02:00
ZeroNet
d44f08382a Merge pull request #1076 from grez911/master
Added P2P portcheck
2017-08-18 14:47:38 +02:00
shortcutme
5e926ec98e
Rev2186 2017-08-18 14:47:08 +02:00
shortcutme
9f762a0230
Bootstrapper use python date functions instead of sqlite 2017-08-18 14:43:28 +02:00
shortcutme
f1c320dd22
Log sign errors 2017-08-18 14:38:58 +02:00
shortcutme
4c7500e248
Fix getDirname description 2017-08-18 14:37:56 +02:00
grez911
8487056edb Small fix in P2P portcheck 2017-08-18 11:43:06 +03:00
grez911
bf69d24566 Deleted unnecessary import statement 2017-08-18 11:38:26 +03:00
grez911
1fc2a917d4 Fix P2P port check 2017-08-18 11:29:41 +03:00
Sergei Bondarenko
c0a96983a7 Update FileServer.py 2017-08-16 14:32:47 +03:00
Sergei Bondarenko
a4132c9cb1 Update FileServer.py 2017-08-16 09:40:54 +03:00
grez911
5c5e4b914c Added P2P portcheck 2017-08-15 20:17:42 +03:00
shortcutme
1db2327b3d
Rev2180, Allow ajax requests using ajax_key http get parameter 2017-08-15 02:40:38 +02:00
shortcutme
0a380dc0ab
Rev2180 2017-08-09 14:22:17 +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
65d68fb8ac
Compile Ui js 2017-08-09 14:21:09 +02:00
shortcutme
d093764731
New API command: fileNeed to request optional file 2017-08-09 14:20:49 +02:00
shortcutme
24982aee42
Log invalid wrapper messages 2017-08-09 14:20:20 +02:00
shortcutme
ef4a4acbc0
Only display read error in verbose mode 2017-08-09 14:19:56 +02:00
shortcutme
b503d59c49
Support gzip compressed database files 2017-08-09 14:19:39 +02:00
shortcutme
f451ce6c91
6MB LimitedGzip file helper to avoid gzip bombs 2017-08-09 14:19:09 +02:00
shortcutme
4f729aa98f
Only use pure-python msgpack for socket streaming 2017-08-09 14:17:58 +02:00
Andrew (anoa)
c1aff56cf2
Small grammer fixes 2017-08-04 15:13:31 -07:00
shortcutme
bfd57561b7
Rev2170 2017-07-31 14:39:27 +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
9e13994c54
Formatting SslPatch 2017-07-31 14:34:18 +02:00
shortcutme
b8d68e2589
Fix undefined ssl error 2017-07-31 14:34:06 +02:00
ZeroNet
5f753d41d4 Merge pull request #1061 from cclauss/patch-3
import binascii
2017-07-31 13:49:13 +02:00
cclauss
231195ba0a import binascii
Solves the undefined name on line 30
2017-07-31 12:28:55 +02:00
cclauss
504b147cee import math
Resolves the undefined name on line 54
2017-07-31 12:06:11 +02:00
shortcutme
eb97ea4f34
Rev2169 2017-07-29 13:46:04 +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
fa96ab453f
Rev2166, Mobile friendly notifications 2017-07-28 15:36:49 +02:00
shortcutme
5bdc3b4fb5
Rev2165 2017-07-27 16:30:37 +02:00
shortcutme
eee073c103
Publish incoming updates to more peers 2017-07-27 16:30:21 +02:00
shortcutme
35efd6b107
ServerShowdirectory admin API command to show directory 2017-07-27 16:29:39 +02:00
shortcutme
f45ecb6cf4
Log problematic pattern 2017-07-27 16:29:12 +02:00
shortcutme
db8fe8d890
Version 0.5.7, Rev2163 2017-07-19 22:52:35 +02:00
shortcutme
bd9f88416c
Rev2162 2017-07-19 16:48:40 +02:00
shortcutme
504d7812e5
Fix exception if no path_parts returned 2017-07-19 16:46:37 +02:00
shortcutme
b88ee9a87a
Only allow to sign content.json files 2017-07-19 16:45:28 +02:00
shortcutme
2aba9cc3c2
Only download content.json files as content 2017-07-19 16:45:12 +02:00
shortcutme
961fcbf660
Rev2160, Fix sidebar typo 2017-07-18 22:39:48 +02:00
shortcutme
56c9ac8e46
Rev2159 2017-07-18 20:57:41 +02:00
shortcutme
1f7b25b60c
Ignore http protocol in same origin comparison 2017-07-18 20:57:33 +02:00
shortcutme
34ec05d4b4
Fix notification id collision 2017-07-18 20:55:53 +02:00
shortcutme
bf672bdec3
Add new test to unsafe matches 2017-07-18 20:55:04 +02:00
shortcutme
bb27e3124f
Remove files without info on retry bad files 2017-07-18 20:54:39 +02:00
shortcutme
551aa3ef67
Raise exception on unsupported dbschema version 2017-07-18 20:53:52 +02:00
ZeroNet
de550d7cae Merge pull request #1027 from cclauss/patch-2
Old style exceptions --> new style
2017-07-18 20:51:48 +02:00
cclauss
eaa344abca Update main.py 2017-07-16 22:57:28 +02:00
Andrew (anoa)
dc82f7ab3e
Small grammar fix 2017-07-15 00:30:25 -07:00
shortcutme
a6ce2a0253
Rev2156 2017-07-15 01:32:39 +02:00
shortcutme
a0d85d7d83
Prompt new site addition in raw mode 2017-07-15 01:32:15 +02:00
shortcutme
6a4882d81d
Test SafeRe repetition limit 2017-07-15 01:31:08 +02:00
shortcutme
ac1a03d17b
Don't allow more than 10 repetitions in one pattern 2017-07-15 01:30:53 +02:00
shortcutme
0e930efd95
Cache SafeRe patterns 2017-07-15 01:30:35 +02:00
shortcutme
d281f112d9
Rev2154, Fix same origin checking in proxy mode 2017-07-14 11:08:22 +02:00
shortcutme
5a42cb92cd
Rev2153 2017-07-14 10:37:19 +02:00
shortcutme
3459d35ed2
Test unsafe regex pattern recognization 2017-07-14 10:37:09 +02:00
shortcutme
699a8be721
Test unsafe patterns in dbschema 2017-07-14 10:36:41 +02:00
shortcutme
1f4a5643db
Test unsafe regex patterns on sign and verify 2017-07-14 10:36:18 +02:00
shortcutme
492408def7
Use class variable to store test site privatekey 2017-07-14 10:35:44 +02:00
shortcutme
74763465a8
Use SafeRe to match file patterns in dbschema.json 2017-07-14 10:34:57 +02:00
shortcutme
c069d4f67c
Use SafeRe to match user defined patterns in content.json 2017-07-14 10:34:18 +02:00
shortcutme
bf41c7b651
Detect potentionally unsafe regex patterns 2017-07-14 10:31:42 +02:00
shortcutme
3f5a5b4f9b
Rev2151 2017-07-13 19:33:16 +02:00
shortcutme
b60a1ec455
Test invalid filenames 2017-07-13 19:33:07 +02:00
shortcutme
13157eea1e
Move included content verification to separate function, fix root content.json file path verification 2017-07-13 19:32:54 +02:00
shortcutme
dd11f87673
Rev2148, Fix signing typo 2017-07-13 15:03:04 +02:00