Commit graph

711 commits

Author SHA1 Message Date
shortcutme
81d50ed3bb
Add trackers to stats page 2018-08-26 22:53:01 +02:00
shortcutme
9bdf3ad0c8
Only log new tacker discovery if it was not added before 2018-08-26 22:52:30 +02:00
shortcutme
0b38d73cc5
AnnounceZero return None on skipped announce due batching 2018-08-26 22:52:21 +02:00
shortcutme
7a3dbf626e
Only share trackers with success in last hour 2018-08-26 22:50:46 +02:00
shortcutme
767ec1795a
Reset shared tracker error number on startup 2018-08-26 22:45:44 +02:00
shortcutme
e05c432d14
Store if it's tracker connection on connect 2018-08-26 02:52:23 +02:00
shortcutme
53a8c2d574
Fix trayicon compatibility with latest gevent 2018-08-26 02:48:36 +02:00
shortcutme
6783fb9010
Formatting 2018-08-26 02:47:58 +02:00
shortcutme
a7adb517ca
Only return small number of peers if no new site added by the peer 2018-08-26 02:47:43 +02:00
shortcutme
b7a66295f6
Start local peer discovery async to avoid double announce 2018-08-26 02:46:12 +02:00
shortcutme
27f2c44532
AnnounceShare plugin 2018-08-26 02:45:37 +02:00
shortcutme
cfce057783
Support streaming bigfile for zip file listing and reading 2018-08-16 16:21:21 +02:00
shortcutme
5854beebc6
Fix Bigfile tell 2018-08-16 16:20:21 +02:00
shortcutme
879eb6295d
BigFile lock seek and read until previous request finished, fix seek relative to bigfile end 2018-08-16 16:20:11 +02:00
eduaddad
3ae761dd9d
Create pt-br.json
translation into brazilian portuguese
2018-08-14 16:59:33 -03:00
shortcutme
84b36e72e4
Prefer non-onion peers when sidebar copy peers to clipboard 2018-08-13 02:43:23 +02:00
tangdou1
c9da6d2ee2
small update in zh.json
small update in zh.json
2018-08-01 18:05:25 +08:00
shortcutme
debe9959e4
Fix saving browser open setting 2018-07-21 04:24:35 +02:00
shortcutme
a07a31a2bb
Copy site url with peers link to sidebar 2018-07-19 20:42:04 +02:00
shortcutme
405394707f
Shorter download site button title 2018-07-19 20:40:55 +02:00
ZeroNet
f13b8d1557
Merge pull request #1479 from vitorio/master
Support removing donation link / custom donation text
2018-07-18 13:58:09 +02:00
rllola
8e1c0a7fa4 Fix rev 3535 big javascript file 2018-07-16 17:32:18 +02:00
shortcutme
e9c7d6a0cc
Add bigfile test for dynamic file allocation 2018-07-16 01:55:58 +02:00
shortcutme
2f57e9cbee
Bigfile test formatting fix 2018-07-16 01:55:41 +02:00
shortcutme
0de16855b0
Merge config js, css 2018-07-16 01:55:15 +02:00
shortcutme
4fedace179
Css for custom tracker proxy field 2018-07-16 01:55:09 +02:00
shortcutme
8d2da6f30b
Add animation helper for config 2018-07-16 01:54:39 +02:00
shortcutme
8f427b727c
Save config storage item for value 2018-07-16 01:54:30 +02:00
shortcutme
f1f0332d22
Config filed for custom socks proxy for trackers 2018-07-16 01:54:07 +02:00
shortcutme
7c0541034a
Restrict port to numbers 2018-07-16 01:53:34 +02:00
shortcutme
e8895a4d76
Only save if values validated 2018-07-16 01:52:51 +02:00
shortcutme
a42bcfceb6
Validate config values before saving 2018-07-16 01:52:27 +02:00
shortcutme
fcda2e8706
Reset restart loading status on weboscket connection 2018-07-16 01:52:10 +02:00
shortcutme
efe3680cd7
Fix typo 2018-07-16 01:51:32 +02:00
shortcutme
272e30d761
Separate config renderer related functions to separate file 2018-07-16 01:51:18 +02:00
shortcutme
30940fad2e
Set value to default one on pending reset 2018-07-16 01:49:12 +02:00
shortcutme
dae1197ce4
Pass the real file size on bigfile request as the size on the disk can be smaller 2018-07-16 01:34:48 +02:00
shortcutme
1296ab9b60
Only pre-allocate up to 5MB from big files 2018-07-16 01:34:21 +02:00
shortcutme
10bab2b6e4
UiConfig plugin 2018-07-10 03:30:47 +02:00
vitorio
b09da2641e Preserve site address 2018-07-07 10:55:20 -05:00
vitorio
26b0a7d75d Support removing donation link / custom donation test 2018-07-07 01:15:40 -05:00
shortcutme
8bdc61ddcc
Rev3503, Ignore invalid site translation files 2018-07-05 01:59:10 +02:00
shortcutme
811c694f80
Ignore filter includes from removed sites 2018-06-29 14:20:44 +02:00
shortcutme
822ea1b450
Fix site blacklisting using sidebar 2018-06-28 14:07:06 +02:00
shortcutme
515057c7d0
Update multiuser plugin with new filter commands 2018-06-28 14:06:28 +02:00
shortcutme
54b93febba
Fix included file content leaking to filters.json 2018-06-28 14:05:57 +02:00
shortcutme
bc227b5f56
Rev3498, Go back to homepage and less inviting open site button on blocked site page 2018-06-28 02:03:47 +02:00
shortcutme
283231ac6e
Remove renamed Mute plugin 2018-06-25 15:13:56 +02:00
shortcutme
c493f732f9
New ContentFilter plugin for shared site and user blocklist 2018-06-25 14:35:26 +02:00
shortcutme
a59fb4fd1e
Send file updated event to site on signing 2018-06-25 14:33:14 +02:00
shortcutme
9afc39d5f1
Add signing parameters to sitePublish 2018-06-25 14:22:24 +02:00
shortcutme
4fdd362ed5
Avoid starting multiple discover request for same unknown client 2018-06-21 21:55:32 +02:00
shortcutme
250741e431
Fix firefox websocket disconnect on download link click 2018-06-03 12:35:12 +02:00
shortcutme
b4eb09d5e9
Rev3468, Ignore newsfeed items with invalid date_added value 2018-05-30 17:16:45 +02:00
ZeroNet
49d1bc08c3
Merge pull request #1437 from imachug/patch-1
Allow fileQuery as CORS command
2018-05-28 10:47:09 +02:00
ZeroNet
e9e5c41f79
Merge pull request #1439 from imachug/fix-sign-zeroid
Fix signing&publishing file owned by ZeroID/other provider user
2018-05-28 10:38:26 +02:00
Ivanq
fac3721dfd Fix signing&publishing file owned by ZeroID/other provider user. Fixes my old PR lol 2018-05-26 12:15:23 +03:00
Ivanq
e687d5db69
Allow fileQuery as CORS command 2018-05-24 13:16:18 +03:00
Radtoo
f7fa770fc5 Support dumping sites larger than 2GB by allowing zip64 2018-05-23 03:48:25 +02:00
ZeroNet
a311366ee7
Merge pull request #1432 from imachug/cors-fix
Add fileList, dirList as CORS commands
2018-05-22 12:16:30 +02:00
Ivanq
c2f5a12ce1 Add fileList, dirList as CORS commands 2018-05-19 12:15:13 +03:00
Takumi
3057302baa add Japanese 2018-05-12 17:36:57 +09:00
shortcutme
e874730679
Rev3464, Download site as zip 2018-05-02 02:31:31 +02:00
shortcutme
35cf4f3009
Rev3456, Fix SiteAnnouncer import 2018-04-28 22:31:54 +02:00
shortcutme
ceff73ee5b
Make AnnounceLocalPlugin and AnnounceZeroPlugin compatible with SiteAnnouncer class 2018-04-28 22:10:16 +02:00
shortcutme
6b33ad8a32
Handle cases when the user does not have site added yet 2018-04-18 22:06:18 +02:00
shortcutme
40cf4f2c2a
Don't override create_user parameter 2018-04-18 22:06:00 +02:00
shortcutme
e51788ac05
Make sure that we close UDP sockets of local peer discovery 2018-04-18 13:11:50 +02:00
shortcutme
2e573e95e5
Fix multiuser plugin deauth 2018-04-12 19:26:44 +02:00
Ivanq
4fbfa1d579 Fix mergerSiteAdd typo 2018-04-06 11:40:23 +03:00
shortcutme
a877a9fd91
Proper cleanup local announcer listener after testcase 2018-04-04 15:31:55 +02:00
shortcutme
abc481604f
Rev3404, Fix bigfile upload 2018-04-04 12:39:46 +02:00
shortcutme
c703458e00
Rev3403, Fix uploading small files with bigfile plugin 2018-04-04 10:24:38 +02:00
tangdou1
75861db84b Update Chinese translation (#1370)
* Update zh.json

* Update zh.json
2018-04-04 03:50:04 +02:00
shortcutme
1b8b3cf1ee
Fix site loading with Zeroname plugin 2018-04-03 14:40:47 +02:00
shortcutme
c2176ba27d
Add current fileserver port to stats page 2018-04-03 14:40:29 +02:00
dqwyy
a69f898e12 Update zh-tw.json (#1360)
* Update zh-tw.json

* Update zh-tw.json
2018-03-31 18:21:28 +02:00
shortcutme
b8d83c7ec4
Mark site with has_bigfile if new bigfile found 2018-03-29 03:16:47 +02:00
shortcutme
5c644d1b36
Make Bigfile plugin compatible with optionalDownloaded changes 2018-03-29 03:15:49 +02:00
shortcutme
7d3d0f7ceb
Add test for different files with same hash_id 2018-03-29 03:13:37 +02:00
shortcutme
101d2ea9b6
Check optional file downloaded status from sql if optionalmanager is present 2018-03-29 02:59:59 +02:00
shortcutme
c1397bbaf7
Attach optionalmanager events to ContentManager instead of WorkerManager 2018-03-29 02:58:24 +02:00
shortcutme
16a9f38844
Use renamed optionalRemoved function 2018-03-29 02:57:06 +02:00
shortcutme
f162987a4f
Rename optionalRemove to optionalRemoved and accept hash only by id 2018-03-29 02:54:52 +02:00
shortcutme
d61cd96d8f
VerifyFiles call returns more detailed statistics 2018-03-29 02:49:06 +02:00
shortcutme
b23a4c8288
Only apply outline to iframe when sidebar opened 2018-03-29 02:44:43 +02:00
ZeroNet
960bf3f3bf
Merge pull request #1328 from tangdou1/patch-1
update Chinese translation (simplified) for new functions
2018-03-22 01:30:18 +01:00
ZeroNet
edf959f26d
Merge pull request #1329 from tangdou1/patch-2
update Chinese translation (traditional) for new functions
2018-03-22 01:29:59 +01:00
shortcutme
76c4a6bb7c
Rev3377, Fix sidebar animation 2018-03-21 18:05:22 +01:00
shortcutme
9d3913ed70
Also delete piecemap on bigfile deletion 2018-03-20 21:58:51 +01:00
shortcutme
c3b146611b
Rev3372, Cosmetic changes on open site directory button 2018-03-19 16:05:14 +01:00
ZeroNet
a454f3de6e
Merge pull request #1325 from imachug/show-directory
Add "Open site directory" button
2018-03-19 15:56:02 +01:00
shortcutme
0533f29e7a
Only recover file piecefield if we already hashed it 2018-03-19 02:57:54 +01:00
shortcutme
ad1d81dccf
Cache inner_path to sha512 hash for bigfiles to avoid loading content.json every time 2018-03-18 21:25:28 +01:00
shortcutme
8828629a30
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2018-03-14 22:34:48 +01:00
shortcutme
660fc982ca
Fix packed file request 2018-03-14 22:22:04 +01:00
shortcutme
1189c76691
Add existing bigfiles to piecefield if they were downloaded outside of ZeroNet 2018-03-14 22:21:45 +01:00
tangdou1
27a3414a27
Update zh-tw.json for new function 2018-03-13 16:12:04 +08:00
tangdou1
4d717a5c19
Update zh.json for new functions
Update zh.json for new functions --"Sign and publish" and incoming function "Open site directory"
2018-03-13 15:17:58 +08:00
tangdou1
e7744eace9
update zh.json
update zh.json for incoming "Open site directory" function
2018-03-13 15:05:44 +08:00
ZeroNet
3bdb6a237f
Merge pull request #1326 from imachug/siteinfo-cors
'siteInfo' can be used as 'actionAs' argument for CORS sites
2018-03-11 09:47:05 +01:00
Ivanq
98dc46e01a 'siteInfo' can be used as 'actionAs' argument for CORS sites 2018-03-11 11:21:54 +03:00
Ivanq
a88f56bec3 Add 'Open site directory' button 2018-03-11 11:14:17 +03:00
shortcutme
42fd7b216d
Don't allow siteSetAutodownloadBigfileLimit for proxies 2018-03-10 02:05:03 +01:00
shortcutme
ad23021b29
More correct title for bad files on sidebar 2018-03-10 02:03:30 +01:00
shortcutme
05a37b3a9c
Display local peers number in sidebar 2018-03-10 02:03:12 +01:00
shortcutme
8ca368f9c7
Bigfile autodownload size limit field to sidebar 2018-03-10 02:02:58 +01:00
shortcutme
dd924f389f
Display and change per-site bigfile autodownload with sidebar 2018-03-10 02:01:49 +01:00
shortcutme
bbb54d6a6a
Support per site max autodownload bigfile size limit changing via API 2018-03-10 02:00:51 +01:00
shortcutme
96e9cc9c32
Correct cli settings help 2018-03-10 02:00:12 +01:00
shortcutme
b1f16857fc
Support per-site auto download bigfile size limit 2018-03-10 01:59:55 +01:00
shortcutme
738fd1a09b
Rev3354, Fix ajax loading files from archives 2018-03-09 15:01:45 +01:00
shortcutme
645249afa9
Rev3353, Pass arguments of storage walk, Email notify of build fail 2018-03-08 14:27:40 +01:00
shortcutme
9d1f491a89
More visible sidebar scrollbar 2018-03-08 14:19:42 +01:00
shortcutme
e8a0d56ff8
Support fileList command of archives 2018-03-08 14:18:55 +01:00
shortcutme
0d1a5846a1
Merge sidebar js 2018-03-06 12:06:21 +01:00
shortcutme
b9e79f8d98
Fix sidebar navigation error 2018-03-06 12:05:58 +01:00
shortcutme
666ef49924
sidebarGetHtmlTag is an admin command 2018-03-06 12:05:08 +01:00
shortcutme
d2ea8a001f
Remove unused private key input field from sidebar 2018-03-06 12:04:49 +01:00
shortcutme
b0a8c4d278
Change http headers from list to dict 2018-03-06 11:58:56 +01:00
shortcutme
b55832df34
Fix local peer discovery SO_REUSEPORT exception on older kernels 2018-03-06 11:51:49 +01:00
shortcutme
40693471e9
Merge sidebar and wrapper js 2018-02-21 03:15:04 +01:00
shortcutme
bee8aac0cc
Don't allow NOSANDBOX permission on a proxy as it can leak cookies 2018-02-21 03:14:43 +01:00
shortcutme
2f2c49cc47
Make multiuser plugin compatible with wrapper modifications 2018-02-21 03:14:15 +01:00
shortcutme
91e83b3397
Fix missing earth on sidebar 2018-02-21 03:00:07 +01:00
shortcutme
50bfc8db09
Sidebar save sidebar object to local variable 2018-02-21 02:59:41 +01:00
shortcutme
809632794f
Allow broadcast to fail 2018-02-18 05:49:26 +01:00
shortcutme
d5eac963a9
Increase local peer timeout 2018-02-12 17:04:40 +01:00
shortcutme
39366bfbf1
Rev3323, Fix bigfile download to non-existent directory 2018-02-11 01:48:17 +01:00
shortcutme
90051972d4
Don't log BroadcastServer shutdown socket closing 2018-02-10 00:58:42 +01:00
shortcutme
6fa37c618b
Fix announce time limit typo 2018-02-10 00:58:05 +01:00
shortcutme
6405ca5cef
Start LocalAnnouncer for testing 2018-02-09 17:47:18 +01:00
shortcutme
2ba74d9232
Don't start broadcast server by default on testing 2018-02-09 17:46:33 +01:00
shortcutme
ed09595a87
More verbose logging on BroadcastServer shutdown 2018-02-09 17:46:09 +01:00
shortcutme
7c35bcdead
Don't response if server is stopped 2018-02-09 17:45:43 +01:00
shortcutme
189627c89e
Handle situation when binding fails 2018-02-09 17:45:12 +01:00
shortcutme
07bf8ef3b1
Allow udp port reuse 2018-02-09 17:44:53 +01:00
shortcutme
32d902d37f
Send discover request delayed on unknown peer discover request to allow the reponse arrive first 2018-02-09 17:43:33 +01:00
shortcutme
3028a8ebc9
Rev3313, Remove local announcer binding to ip to make test pass on linux 2018-02-09 14:15:43 +01:00
shortcutme
f593199af7
Add metavar to cli argument help 2018-02-09 11:42:31 +01:00
shortcutme
26a5f12a8e
Generalize local announcer logging 2018-02-09 11:42:17 +01:00
shortcutme
f3257a6743
Fix announcing without local announcer 2018-02-09 11:42:08 +01:00
shortcutme
3904dcda39
Add comment for reputation 2018-02-08 18:15:32 +01:00
shortcutme
6376f7dd56
AnnounceLocal plugin 2018-02-08 18:14:33 +01:00
shortcutme
fee5766abf
Move config import to right place 2018-02-08 17:54:38 +01:00
shortcutme
03573e46f5
Use pregenerated address hash 2018-02-08 17:54:27 +01:00
shortcutme
64b4789bc1
Generalize tracker logging 2018-02-08 17:54:09 +01:00
shortcutme
327badb3ca
Allow dbQuery and userGetSettings for Cors permissioned sites 2018-01-28 16:44:23 +01:00
shortcutme
335a7a76b1
Remove unnecessary imports from cors plugin 2018-01-28 16:43:50 +01:00
shortcutme
1566da1f8f
MergerSite plugin pass other arguments of hasSitePermission 2018-01-28 16:43:23 +01:00
shortcutme
1250b45694
Fix bigfile info on non-existent files 2018-01-28 16:42:56 +01:00
shortcutme
3fb9f900f6
Rev3225, Handle correctly and test out of range bigfile requests 2018-01-21 18:56:30 +01:00
shortcutme
9c4093dc7c
Rev3224, Small cosmetic changes on sidebar Sign and publish button 2018-01-21 18:14:12 +01:00
ZeroNet
acfe4deacf
Merge pull request #1231 from imachug/issue-1229
Sign & Publish in one button
2018-01-21 17:50:39 +01:00
shortcutme
342f9f6096
Rev3223, Fix error when using ip wihout city entry 2018-01-20 12:11:43 +01:00
shortcutme
0c6c7d2725
Rev 3222, Use eval in bench for older pytyhon compatibility, Remove unnecessary print from chart archive 2018-01-20 11:49:17 +01:00
shortcutme
22c682f393
Move peer location query to separate function, optimize location cache 2018-01-19 02:15:43 +01:00
shortcutme
d7b6c54b08
Move get used optional file size to separate function 2018-01-19 02:14:29 +01:00
shortcutme
a715650af6
Only spawn close archive once 2018-01-19 02:13:59 +01:00
shortcutme
a72da8af56
Chart plugin 2018-01-19 02:13:17 +01:00
Ivanq
bcc3b4d3ac Add sign/publish code 2017-12-31 19:48:28 +03:00
Ivanq
5ff8d6be38 Set font 2017-12-31 19:42:27 +03:00
Ivanq
0f5658e65e Handle clicking ':' 2017-12-31 18:56:17 +03:00
Ivanq
b89eb4f1e8 Make button and style ':' sign 2017-12-31 18:01:54 +03:00
Ivanq
9546817ad2 Add menu 2017-12-31 16:16:02 +03:00
Ivanq
6a31ce3e2e Add vertical line 2017-12-30 22:01:52 +03:00
Ivanq
905095317c Update all.js 2017-12-30 21:46:53 +03:00
Ivanq
d8ff0e1745 Add return false 2017-12-30 21:45:55 +03:00
Ivanq
f9ac614147 Autoscroll 2017-12-30 19:22:49 +03:00
Ivanq
581a18f83d 'Publish' cuts off 2017-12-30 18:39:07 +03:00
Ivanq
f2c76c0a3b Lowercase 2017-12-30 17:45:19 +03:00
Ivanq
7121a96ebd Simple realisation 2017-12-30 17:43:56 +03:00
shortcutme
92e353be40
Rev3178, Skip sites with not database in newsfeed 2017-12-27 11:09:16 +01:00
ZeroNet
adbf787bd4
Merge pull request #1205 from imachug/union
Parse both UNION and UNION ALL
2017-12-19 20:53:21 +01:00
shortcutme
c9c1d10ee4
Rev3173, Don't display Cors permission ask if already has, Fix error on Cors request on non-existent site 2017-12-18 02:37:09 +01:00
Ivanq
7576e60797 Parse both UNION and UNION ALL 2017-12-14 22:15:12 +03:00
shortcutme
acc734d22d
Rev3167, Fix newsfeed queries with multiple params 2017-12-12 23:46:05 +01:00
shortcutme
8ab7d26cd1
Rev3165, Avoid UI block when rubilding a merger site 2017-12-12 11:06:32 +01:00
shortcutme
fde44d78d7
Rev3164, Skip feed if no site for it 2017-12-11 19:35:27 +01:00
shortcutme
feda6f88ff
Add Newsfeed query time statistics 2017-12-11 19:21:17 +01:00
shortcutme
6b92d011d2
Rev3153, Download missing sites from sites.json 2017-11-30 19:38:56 +01:00
shortcutme
9df86ecaa9
Show proxy user seed on certficate added instead of first visit 2017-11-29 13:49:41 +01:00
FARHZ
22bb77e7a0
Fix logic BigfilePlugin.py 2017-11-19 10:43:30 -02:00
shortcutme
f8fe426f70
Filter search query by type 2017-11-10 11:16:08 +01:00
shortcutme
9b61ae44ab
Store search query parameters in separate variable 2017-11-10 11:15:57 +01:00
shortcutme
991e59d0fc
Filter search by site 2017-11-10 11:15:10 +01:00
shortcutme
7f3cf9583c
Find filters in search query 2017-11-10 11:15:01 +01:00
shortcutme
9d09890457
Rev3135, Add fileNeed command compatibility to merger sites 2017-11-06 13:16:46 +01:00
shortcutme
bc1d79a07d
Fix pice_size typo 2017-11-05 23:34:31 +01:00
ZeroNet
8242e91238
Merge pull request #1165 from imachug/dbquery
DbQuery and Newsfeed bug
2017-11-04 13:01:05 +01:00
shortcutme
09413f5fc7
Only zoom sidebar globe if mouse button is pressed down 2017-10-28 02:40:35 +02:00
Ivanq
818983831a Newsfeed: Add brackets around WHERE 2017-10-26 18:34:53 +03:00
shortcutme
99e5af67b7
Make BigfileUploadInit merger sites compatible 2017-10-26 10:43:45 +02:00
shortcutme
9b83c683b5
Reload content.json info after bigfile upload 2017-10-26 10:35:46 +02:00
shortcutme
ed965041e6
Report progress on GeoLite2 download 2017-10-21 11:01:57 +02:00
shortcutme
d50603f722
Rev3114, Add details to permission requests 2017-10-17 17:02:56 +02:00
shortcutme
95d9d4ee9a
Add hashid to optional files stat 2017-10-16 15:12:17 +02:00
shortcutme
c40f0c6919
Fix uploading bigfile to non-user directory 2017-10-16 15:11:19 +02:00
shortcutme
807dc866e5
Rev3106, Cancel other part downloads when delete optional file 2017-10-16 01:43:51 +02:00
shortcutme
a66b71fb9c
Rev3104, Fix bigfile signing via command line 2017-10-13 11:27:45 +02:00