Commit graph

981 commits

Author SHA1 Message Date
shortcutme
b008195abd
Set pin using ContentManager function 2018-10-15 13:16:55 +02:00
shortcutme
ad2c11413e
Allow to filter to pinned files on optionalfilelist 2018-10-15 13:16:35 +02:00
shortcutme
1e2853c950
Update hashfield on update peer numbers 2018-10-15 13:15:36 +02:00
shortcutme
16b40a731a
Test pinned cache, download piece queue reset, pinned optional file delete 2018-10-15 13:13:43 +02:00
shortcutme
9b4b9334a3
Remove pinned status of a file on file deletion 2018-10-15 13:12:46 +02:00
shortcutme
96d40d9816
Don't modify pinned status on file downloaded 2018-10-15 13:12:27 +02:00
shortcutme
407b003cd6
Add all piece of an optional file to download queue if one of the piece is downoaded 2018-10-15 13:11:23 +02:00
shortcutme
8129d5e6af
Don't remove pinned files from download queue 2018-10-15 13:10:34 +02:00
shortcutme
c12454a8e9
Don't delete pinned file if it removed by owner 2018-10-15 13:09:43 +02:00
shortcutme
0f49d412b5
Stop auto pinning files larger than 20MB 2018-10-15 13:07:53 +02:00
shortcutme
b33551e62e
Exclude files larger than 20MB from garbage collection 2018-10-15 13:06:50 +02:00
shortcutme
8bb4d149b6
Fix comment typo 2018-10-15 13:05:24 +02:00
shortcutme
854fda4530
Skip updating hashfiled of inactive sites 2018-10-15 13:05:18 +02:00
shortcutme
0deea7133d
Stop downloading bigfile piece if file removed 2018-10-15 13:03:36 +02:00
shortcutme
1eaa8afc5f
Only display the filename on sidebar download queue 2018-10-15 13:02:13 +02:00
Vadim Ushakov
ea40d212c2 Allow using other domain resolver plugins along with Zeroname
Fixes several closely related bugs in Zeroname Plugin, those prevent correct work of other domain resolvers:

1. get(), isDomain(): when an address doesn't look like a valid domain, pass control to the next plugin in a chain.

3. Move the .bit-domain matching logic to a separate method isBitDomain().

2. get(), need(): use isBitDomain(), not isDomain() to check if domain resolving is needed in order to not interfere with other domain resolvers.

4. Also rewrite isAddress() to make it look similar to the new implementation of isDomain().
2018-10-06 12:35:14 +07:00
shortcutme
7afe1807b7
Merge sidebar js 2018-10-05 15:08:42 +02:00
shortcutme
91478aa128
Add TLS version of the connection to stats page 2018-10-05 15:08:28 +02:00
shortcutme
424b36ffca
Avoid double removing tag on sidebar close 2018-10-05 15:08:12 +02:00
shortcutme
52f7dc71e6
Fix typo in private key confirmation 2018-10-05 15:07:55 +02:00
shortcutme
402e6e7433
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2018-10-04 15:44:27 +02:00
shortcutme
678f4102a5
Confirmation of private key forgot 2018-10-04 15:43:25 +02:00
ZeroNet
52f3b8b507
Merge pull request #1640 from tangdou1/patch-3
Update zh.json
2018-10-02 18:33:39 +02:00
ZeroNet
65112b6008
Merge pull request #1644 from DaniellMesquita/master
Update Sidebar's pt-br.json
2018-10-02 18:32:50 +02:00
shortcutme
70292dac00
Don't allow to take the ownership of the updater site with the API 2018-09-30 21:56:36 +02:00
Daniell Mesquita
19b61a32af
Update pt-br.json 2018-09-22 17:12:33 -03:00
tangdou1
68d246a3e9
Update zh.json 2018-09-22 22:45:22 +08:00
tangdou1
9749f59b5a
Update zh.json 2018-09-22 22:37:41 +08:00
shortcutme
8fd2af1870
Private key save and fogot to sidebar 2018-09-21 02:17:53 +02:00
shortcutme
2a1849d027
Rev3609, Don't validate valid pattern in UiConfig if the field is hidden 2018-09-17 17:48:15 +02:00
shortcutme
d44a4e8ae2
Sidebar optimization and dummy static page for uncoming internal page 2018-09-17 15:33:45 +02:00
shortcutme
6c610c509f
Rename RemoveGoodFileTasks to RemoveSolvedFileTasks and add result argument 2018-09-17 15:24:44 +02:00
shortcutme
1eacc26ef9
Always call addPeer command with strip ip address and int port 2018-09-17 15:20:31 +02:00
shortcutme
5f33516054
Cleanup unreliable trackers easier if reached the shared tracker limit 2018-09-17 15:20:02 +02:00
ZeroNet
0825626fc9
Merge pull request #1506 from eduaddad/patch-1
Create pt-br.json
2018-09-16 13:08:08 +02:00
ZeroNet
470352ddc8
Merge pull request #1610 from DaniellMesquita/patch-1
fix pull request #1597
2018-09-16 13:06:46 +02:00
Daniell Mesquita
d7912c6973 fix pull request #1597
Signed-off-by: Daniell Mesquita <plasmmer@outlook.com>
2018-09-14 16:59:45 -03:00
ZeroNet
afa20c92e8
Merge pull request #1597 from DaniellMesquita/patch-1
Added brazillian portuguese translation for Config
2018-09-13 11:27:19 +02:00
tangdou1
a1abbd406d
Create zh.json 2018-09-13 11:35:47 +08:00
Daniell Mesquita
b05d125db2
Added brazillian portuguese translation for Config 2018-09-12 22:43:37 -03:00
shortcutme
238667d989
Hungarian translate for configuration page 2018-09-13 03:11:35 +02:00
shortcutme
87536619e3
Translate support for configuration page 2018-09-13 03:11:24 +02:00
shortcutme
c866932861
Full fileList/fileGet/dirList support for packed files 2018-09-06 00:54:57 +02:00
shortcutme
3b7ec3d913
Lowercased Timecorrection function 2018-09-05 14:32:01 +02:00
shortcutme
f1c89f0917
Stats page show peer reputation 2018-09-05 14:31:26 +02:00
shortcutme
f0f9b93694
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2018-09-02 02:34:50 +02:00
shortcutme
1b0055ac61
Less reputation for onion peers 2018-09-02 02:26:42 +02:00
shortcutme
7dcde3e585
Store peer reputation, time_found in peer db 2018-09-02 02:26:17 +02:00
shortcutme
6c2eae29f5
Sort trackers in stats page 2018-09-02 02:20:02 +02:00
shortcutme
3869cb9bf3
Show incoming and outgoing connection separatley in stats page 2018-09-02 02:19:51 +02:00
shortcutme
89c871f171
Fix newsfeed listing during new site added 2018-09-02 02:18:57 +02:00
shortcutme
12c95e6fca
Fix marking peers from zero trackers 2018-09-02 02:18:11 +02:00
shortcutme
2affb9b863
Configurable wokring shared trackers limit 2018-09-02 02:17:42 +02:00
shortcutme
710a85429e
Remove unreliable shared trackers earlier if we have atleast 4 working one 2018-09-02 02:17:18 +02:00
Ivanq
3f1a103e82 Allow 'fileList' command on CORS 2018-08-31 19:46:45 +03:00
shortcutme
e102d256b2
Formatting 2018-08-29 19:58:23 +02:00
shortcutme
3b6b79229f
Db table stats 2018-08-29 19:58:18 +02:00
shortcutme
70c1e57ff0
Shared tracker found time to stats page 2018-08-29 19:57:54 +02:00
shortcutme
ad02f384d2
Connection time correction on stats page 2018-08-29 19:57:38 +02:00
shortcutme
0efa6a5816
Time correction to stats page 2018-08-29 19:56:27 +02:00
shortcutme
1cf50e5fcd
Fix chart collection when there is no site 2018-08-29 19:52:24 +02:00
shortcutme
d8654edd2c
Fix comment 2018-08-29 19:52:10 +02:00
shortcutme
f3b97dedc8
Fix time_found record for tracker stats 2018-08-29 19:51:26 +02:00
shortcutme
c9c6a4b867
Less frequent reannounce to zero trackers 2018-08-27 11:50:13 +02:00
shortcutme
069c59d3d7
Only allow zero trackers to be shared 2018-08-27 11:49:24 +02:00
shortcutme
4f2352355f
Return True when adding new tracker 2018-08-27 11:49:05 +02:00
shortcutme
984f50b792
Working tracker list default type 2018-08-27 11:48:52 +02:00
shortcutme
426309a8f5
Stop discovering new trackers after 5 working one 2018-08-27 11:48:39 +02:00
shortcutme
b4b4694eb5
Only add one new tracker from one source 2018-08-27 11:48:25 +02:00
shortcutme
5505a8609d
Fix AnnounceShare source code reloading 2018-08-27 11:48:11 +02:00
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
shortcutme
9484a27801
Sent and Received command statistics 2017-10-13 01:17:27 +02:00
shortcutme
c8eb93db07
Bigfile stats 2017-10-13 01:17:07 +02:00
shortcutme
3c8867bf72
Also display last received command for connection 2017-10-13 01:16:44 +02:00
shortcutme
ef2f1d56d4
Display short encryption for connections to reduce with 2017-10-13 01:16:11 +02:00
shortcutme
046877599e
Don't create empty piecefield for every optional file 2017-10-13 01:15:43 +02:00
shortcutme
b322b750c2
Don't load empty piecefields from sites.json 2017-10-13 01:15:21 +02:00
shortcutme
3030e00b21
Fix bigfile display if no piecemap info present 2017-10-10 14:58:43 +02:00
shortcutme
7ba3d86af4
Ignore invalid updatePiecefields response 2017-10-10 14:58:13 +02:00
shortcutme
7905e12fc3
Rev3097, Add peer info for bigfiles even if it's not downloaded 2017-10-06 00:42:19 +02:00
shortcutme
07caaa6b48
Fix removed is_pinned flag on content.json update 2017-10-05 19:24:39 +02:00
shortcutme
59a04f101d
Remove unnecessary file 2017-10-05 14:05:48 +02:00
shortcutme
4265c4126a
Change Bigfile plugin directory case 2017-10-05 13:26:40 +02:00
shortcutme
b41570b663
Avoid console windows when setting sparse flag on Windows 2017-10-04 17:25:14 +02:00
shortcutme
cf1154f2c5
Initial version of bigfile plugin 2017-10-04 13:28:59 +02:00
shortcutme
aa9e8b067f
Send websocket event on optional file deletion 2017-10-04 13:17:36 +02:00
shortcutme
e5963f8a76
OptionalFileDelete API call only works on downloaded files 2017-10-04 13:17:18 +02:00
shortcutme
e5b851b171
Add progress information to bigfiles 2017-10-04 13:16:02 +02:00
shortcutme
282f06b65e
Filter for OptionalFileList API call that allows to list non-downloaded files and only bigfiles 2017-10-04 13:15:44 +02:00
shortcutme
e8a439cad3
Mark my optional files using directory on signing instead of file path 2017-10-04 13:14:24 +02:00
shortcutme
cd025316db
Auto-pin downloaded bigger files 2017-10-04 13:13:00 +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
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
f4cdc31788
Lock socket during sending data 2017-10-03 14:27:29 +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
99dd5d5f63 Merge pull request #1112 from imachug/merger-0
MergerSite: Add actionFileList and actionDirList proxy
2017-09-10 09:29:09 +02:00
Ivanq
38230c62e6 MergerSite: Add actionFileList and actionDirList proxy 2017-09-10 08:53:07 +03:00
shortcutme
ebdb1ed322
Fix permission limiting with uppercase function names 2017-08-19 18:55:39 +02:00
shortcutme
b1989ef02e
Limit optional file commands in multiuser mode 2017-08-19 18:55:21 +02:00
Sergei Bondarenko
d591df39cc Fix: ui_restrict now working with ui_password
https://github.com/HelloZeroNet/ZeroNet/issues/207
2017-08-18 22:42:14 +03:00
shortcutme
a27422a0fb
Bootstrapper SQL query optimizations 2017-08-18 14:46:35 +02:00
shortcutme
2af08c0ba1
Only return 5 peers if more than 500 site queired 2017-08-18 14:46:06 +02:00
shortcutme
b6c0c955c5
Limit bootstrap queries to 1s 2017-08-18 14:45:48 +02:00
shortcutme
32a0f96ecd
Batch onion update 2017-08-18 14:45:06 +02:00
shortcutme
37ef2802de
Log announce times 2017-08-18 14:44:24 +02:00
shortcutme
9f762a0230
Bootstrapper use python date functions instead of sqlite 2017-08-18 14:43:28 +02:00
shortcutme
bdb5e1597c
Sign automatically on sidebar save button if possible 2017-08-09 14:15:44 +02:00
shortcutme
6a1c5d96ac
Disable bz2 support due incompatibility issues 2017-08-09 14:15:10 +02:00
ZeroNet
d2d335314d Merge pull request #1062 from cclauss/patch-6
data_unpack --> data_unpacked
2017-07-31 13:48:41 +02:00
cclauss
e1d3a31c6c data_unpack --> data_unpacked
@shortcutme Is this the right way to fix these two undefined name errors?
2017-07-31 13:08:22 +02:00
cclauss
6cb700b302 import threading and queue.Empty
Fixes the undefined name on line 644
2017-07-31 12:26:15 +02:00
cclauss
b35bff4164 from Debug import Debug
Solves the unresolved name on lines 164 and 200
2017-07-31 11:55:03 +02:00
shortcutme
a69531c4c9
Emulate short click for mobile 2017-07-29 13:45:57 +02:00
shortcutme
527c2b4f54
Sidebar close button for small screens 2017-07-29 13:44:54 +02:00
shortcutme
cbac57dc88
Plugin to request cross-site resource access 2017-07-19 16:48:24 +02:00
shortcutme
961fcbf660
Rev2160, Fix sidebar typo 2017-07-18 22:39:48 +02:00
cclauss
1f22009360 Update SiteManagerPlugin.py 2017-07-16 22:53:11 +02:00
cclauss
7d7272a266 Update SidebarPlugin.py 2017-07-16 22:51:01 +02:00
cclauss
83e372ce47 Update SidebarPlugin.py 2017-07-16 22:50:03 +02:00
cclauss
8db16a1421 Update PeerDbPlugin.py 2017-07-16 22:48:35 +02:00
cclauss
21d0b829d3 Update UiWebsocketPlugin.py 2017-07-16 22:47:22 +02:00
cclauss
08219a0285 Update ContentDbPlugin.py 2017-07-16 22:46:13 +02:00
cclauss
d426b6bb02 Update NewsfeedPlugin.py 2017-07-16 22:43:57 +02:00
cclauss
688c240b35 Update MutePlugin.py 2017-07-16 22:42:29 +02:00
cclauss
b82cf8d08d Update FilePackPlugin.py 2017-07-16 22:39:42 +02:00
cclauss
c44cb11800 Update CryptMessagePlugin.py 2017-07-16 22:38:47 +02:00
cclauss
b9e0275417 Update __init__.py 2017-07-16 22:35:14 +02:00
shortcutme
a0d85d7d83
Prompt new site addition in raw mode 2017-07-15 01:32:15 +02:00
shortcutme
2777c4c537
Read max 6MB from archive to protect against tar/zipbombs 2017-07-12 12:28:03 +02:00
shortcutme
e525ea2431
Rev2144, Fix CSP header in FilePack plugin, Allow media-src and font-src from self source 2017-07-11 23:00:33 +02:00
shortcutme
26a250d1df
Media isMediaRequestAllowed no longer required for origin checking 2017-07-09 14:12:53 +02:00
shortcutme
febdea6c64
Serve files without wrapper if requested using /raw/ prefix 2017-07-09 14:10:01 +02:00
shortcutme
d607696a75
Update websocket site_info on own setting change 2017-06-19 15:33:23 +02:00
shortcutme
4088c88a56
Sidebar check siteSign result 2017-06-19 15:32:58 +02:00
Ivanq
f4a040064c Don't ask user for privatekey if file can be signed with auth_privatekey 2017-06-15 21:18:15 +03:00
shortcutme
bc02de4b18
ZeroName only match .bit domains 2017-06-13 14:19:43 +02:00
ZeroNet
7a996b3c8d Merge pull request #976 from Pupiloho/patch-1
Add Spanish Translation
2017-06-13 13:09:03 +02:00
ZeroNet
2db48b8c22 Merge pull request #977 from Pupiloho/patch-2
Add Spanish Translation
2017-06-13 13:08:47 +02:00
ZeroNet
90e7a69926 Merge pull request #978 from Pupiloho/patch-3
Add Spanish Translation
2017-06-13 13:08:38 +02:00
Kûipumu
47d585768b Add Spanish Translation
First revision, orthography checked.
2017-06-12 15:49:45 -04:00
Kûipumu
0f65783266 Add Spanish Translation
First revision, orthography checked.
2017-06-12 15:44:37 -04:00
Kûipumu
fa3a981c19 Add Spanish Translation
First revision, orthography verified.
2017-06-12 15:40:21 -04:00
Kûipumu
868e956c3f Add Spanish Translation 2017-06-12 15:33:47 -04:00
shortcutme
b0d574dfb0
Rev2089, Close the transaction on failed peer db save 2017-05-24 10:40:10 +02:00
MuxZeroNet
35a18bd0b2 Weak password warning (#938)
* Weak password warning

* Update UiWebsocket.py

* Don't implement print with an O(n^2) iteration

* Rename method

* Fix logging, uncaught exception in addNotes

and pushes a notification when UI server is bound to the whole Internet.

* Remove memo comments. Remove terminal hue.
2017-05-22 11:13:45 +02:00
shortcutme
442c01eabf
Rev2068, Deny blacklist add/remove in multiuse mode 2017-05-14 22:59:47 +02:00
shortcutme
d467aabd4c
Rev2067, Fix inner_path stripping 2017-05-11 18:18:12 +02:00
shortcutme
ffb67ab23e
No placeholder for privatekey prompt 2017-05-11 18:02:56 +02:00
shortcutme
1a3b48a60d
Sidebar blacklist button on deletion 2017-05-11 18:02:37 +02:00
shortcutme
9ec050341b
Site blacklist to Mute plugin 2017-05-11 17:53:29 +02:00
shortcutme
728e497057
Display database rebuilding progressbar 2017-05-07 18:14:13 +02:00
shortcutme
d346a532ff
Rev2056, Add local client to sidebar peer numbers 2017-05-06 18:08:32 +02:00
lmath
e42631932b Fix Sidebar button for touch device & CHANGELOG-zh-cn & FreeBSD installation instructions (#916)
* Disallow change optional limit on public proxy

* Add Chinese for Mute plugins

* add FreeBSD installation instructions to README-zh-cn.md

* Fix Sidebar button for touch device

* Add CHANGELOG-zh-cn.md

* Why merging junk left? Remove it!
2017-05-06 02:13:26 +02:00
shortcutme
c5629adf23
Rev2050, Fix archive benchmark hash calculation and zip homogenization 2017-04-14 11:52:01 +02:00
shortcutme
9b480b41e1
Rev2049, Delete test.tar.bz2 after benchmark 2017-04-14 11:13:29 +02:00
shortcutme
e125895615
Rev2047, Add archive benchmark 2017-04-13 22:54:16 +02:00
shortcutme
46440565dd
Disable siteSetLimit on proxies 2017-04-12 17:37:13 +02:00
shortcutme
49adea1654
siteSetLimit returns with ok on success 2017-04-12 17:36:50 +02:00
shortcutme
169cf2e6ae
Support optional db files 2017-04-12 17:36:03 +02:00
shortcutme
d7db7a8060
Rev2035, Dont sign same onion address multiple time 2017-04-10 01:16:34 +02:00
shortcutme
7e314287d6
Bootstrapper support same onion address for multiple sites 2017-04-09 12:04:23 +02:00
shortcutme
6c8a7e3cfa
Old onion peers less likely working 2017-04-09 11:54:15 +02:00
ZeroNet
409841a3cf Merge pull request #834 from MuxZeroNet/patch-13
[Open for more Tests] StemPort Plugin
2017-04-08 22:20:06 +02:00
shortcutme
de14c55311
Fix invalid referrers parsing 2017-04-07 18:13:09 +02:00
shortcutme
e527dbdf88
Changed signature 2017-04-06 23:46:32 +02:00
shortcutme
8295f9cd6b
Attach tor_manager to request tor addresses 2017-04-06 23:43:27 +02:00
shortcutme
c6c6af1268
Log loaded merger sites on rebuild 2017-04-01 22:32:06 +02:00
Eduardo Elias
2a131f7978 Review Brazilian Portuguese Translation 2017-03-12 16:22:54 +00:00
brunogarciacv
ad826dd846 Brazilian Portuguese Translation 2017-03-11 03:56:45 -03:00
brunogarciacv
fd8742ae3a Brazilian Portuguese translation 2017-03-11 03:43:39 -03: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
e80887d779
Add reputation for old peers 2017-02-27 00:06:13 +01:00
shortcutme
75100c335f
Small cosmetical changes on stats page 2017-02-27 00:00:27 +01:00
shortcutme
b31c928898
Only change cert on merged site if different 2017-02-26 23:59:54 +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
819f765bce
Rev1940, Fix utf8 archive names on Safari 2017-02-24 14:23:44 +01:00
shortcutme
117d577e82
Disable bz2 support due Win/Android incompatibility issues 2017-02-24 01:16:11 +01:00
MuxZeroNet
048207f70b Update StemPortPlugin.py 2017-02-23 23:39:05 +00:00
MuxZeroNet
ad900479f6 Important Update - Don't override createSocket 2017-02-23 23:08:56 +00:00
MuxZeroNet
2e4767926c Update StemPortPlugin.py - check config.tor 2017-02-23 22:47:32 +00:00
shortcutme
8a15bf059d
Support utf8 filenames in zip 2017-02-22 11:29:35 +01:00
shortcutme
b9a5c94923
Newsfeed plugin support date_added in ms 2017-02-22 11:29:35 +01:00
shortcutme
c08b83c299
Newsfeed plugin skip broken feed formats 2017-02-22 11:29:35 +01:00
beigexperience
71ac8ff996 Make the cmd launcher "silent" and not stick around(fix for win10) 2017-02-21 22:14:45 +02:00
MuxZeroNet
92b9397ee2 Update StemPortPlugin.py - Patch conservatively 2017-02-21 01:45:19 +00:00
shortcutme
1897bce814
Send virtual file path done event to remove the loading screen 2017-02-19 12:23:21 +01:00
shortcutme
04492a3262
Let the gc close the file 2017-02-19 12:22:04 +01:00
shortcutme
f857330f47
Remove unnecessary imports, formatting 2017-02-19 12:21:55 +01:00
shortcutme
2854e202e1
Plugin for tar.gz, tar.bz2 and zipped files 2017-02-19 00:53:16 +01:00
MuxZeroNet
ccf2897a65 Update StemPortPlugin.py 2017-02-17 22:25:44 +00:00
MuxZeroNet
8ba684e8c3 Create StemPortPlugin.py 2017-02-17 01:26:11 +00:00
MuxZeroNet
ce4a91b679 Create __init__.py 2017-02-17 01:23:05 +00:00
shortcutme
3d55af2111
Rename feed_following to feed_follow_num 2017-02-14 19:04:25 +01:00
shortcutme
179ee2d2a4
Rev1899, Add followed feed number to site info 2017-02-14 19:03:17 +01:00
shortcutme
9381015d80
Log mute actions 2017-02-13 16:27:42 +01:00
shortcutme
3ff2ec9104
Better calculation of deletable optional files 2017-02-13 16:25:12 +01:00
shortcutme
276b65f0b9
Rev1893, In multiuser mode dont allow users to add or remove mute 2017-02-11 21:57:12 +01:00
shortcutme
ccd2a9f171
Run os.random only 1000 times 2017-02-11 18:26:37 +01:00