Commit graph

744 commits

Author SHA1 Message Date
shortcutme
b54483db51
Variables in underline translation helper will be escaped by default 2018-11-26 00:16:53 +01:00
shortcutme
5d0bf2e80b
Replace html tags separately in sidebar html as it would be escaped otherwise 2018-11-26 00:16:19 +01:00
shortcutme
46e694a5c8
Add script nonce when loading js for globe in sidebar 2018-11-26 00:14:30 +01:00
shortcutme
e0756a56a4
Add script_nonce for UiConfig plugin 2018-11-26 00:13:58 +01:00
shortcutme
3fd44a1813
Validate merger type before asking permission 2018-11-21 19:28:11 +01:00
shortcutme
281f379ced
Use the Db cursor to delete peers 2018-10-30 04:39:59 +01:00
shortcutme
9dab48d135
Only show multiuser master key on click and allow download as file 2018-10-30 04:39:13 +01:00
shortcutme
56221ebc95
Support limiting maximum bigfile size 2018-10-30 04:38:18 +01:00
shortcutme
538de08c07
Rev3673, Fix sidebar input fields on mobile 2018-10-24 13:59:10 +02:00
shortcutme
f540645d80
Rev3672, Fix Config page fileserver port changing 2018-10-24 13:31:42 +02:00
shortcutme
f54443d7f8
Reset pinned cache on file deletion 2018-10-15 13:18:18 +02:00
shortcutme
3d82ad9222
Fix optional used bytes calculation 2018-10-15 13:18:00 +02:00
shortcutme
393c66385f
Add pinning notification based on number of files 2018-10-15 13:17:42 +02:00
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