Commit Graph

831 Commits

Author SHA1 Message Date
shortcutme 242b3edbc4
Fix BigFilePiecefiled typo 2019-03-16 03:44:13 +01:00
shortcutme b7894faa96
Fix AnnounceShare backward compatibility 2019-03-16 03:44:01 +01:00
shortcutme ff5004cb8d
Remove included maxminddb 2019-03-16 02:52:12 +01:00
shortcutme d20da5d803
1ms is the minimum sleep with new gevent 2019-03-16 02:46:33 +01:00
shortcutme b98a9d2e80
Commit before vacuum 2019-03-16 02:45:37 +01:00
shortcutme 6f0531c663
Test CryptMessage ui_websocket result more reliable way 2019-03-16 02:33:38 +01:00
shortcutme 545acebbaf
New CryptMessage test functions for ecies crypto 2019-03-16 02:33:09 +01:00
shortcutme 20806a8c97
ZeroName plugin Py3 compatibility 2019-03-16 02:27:26 +01:00
shortcutme f071cc5c04
Make Stats page Py3 compatible, Add libsecp256k1 testing, Xy packing format, Reduce code duplication 2019-03-16 02:27:04 +01:00
shortcutme 90c9078bf5
Remove unnecessary logging of Sidebar loadGlobe 2019-03-16 02:25:20 +01:00
shortcutme 203e70afbc
Py3 compatibility of PeerDb plugin 2019-03-16 02:24:36 +01:00
shortcutme 2599e54fd0
Py3 compatibility of FilePack plugin 2019-03-16 02:24:17 +01:00
shortcutme 2737425242
Py3 compatibility of UiPassword plugin 2019-03-16 02:23:46 +01:00
shortcutme 40569eee2e
Py3 compatibility of CryptMessage plugin, Rename ecies crypto function names to make it more clear 2019-03-16 02:23:00 +01:00
shortcutme 883c2851ff
Py3 compatibility of ContentFilter plugin 2019-03-16 02:20:32 +01:00
shortcutme 4fe4d0a7e7
BEGIN / END no longer necessary as there is no autocommit in new db module 2019-03-16 02:18:53 +01:00
shortcutme a46d8fe7f3
Hash id of the hashmap changed because of use_bin_type msgpack packing 2019-03-16 02:15:37 +01:00
shortcutme dd70d27a0e
Use new Msgpack modue for testing Bigfile plugin 2019-03-16 02:14:43 +01:00
shortcutme b46ee0c495
Use Msgpack module in Bigfile plugin 2019-03-16 02:14:08 +01:00
shortcutme 28ffb3fd18
Ignore sha3 warning of merkletools module 2019-03-16 02:13:17 +01:00
shortcutme d1456850d1
Py3 compatibility in Bigfile piecefield 2019-03-16 02:12:45 +01:00
shortcutme 050e2febab
Log add types with zero announce request 2019-03-16 02:12:03 +01:00
shortcutme f56c8ef755
Save shared trackers files as utf8 2019-03-16 02:11:38 +01:00
shortcutme 1a9529157f
Backward compatibility with tracker sharing response 2019-03-16 02:11:22 +01:00
shortcutme 8c5c3cb7a6
Use Msgpack module in BroadcastServer plugin 2019-03-16 02:09:27 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
rllola 5e2feb5803 Fix the second cal to getinfo/getblockchaininfo; Verify version before doing the call. 2019-02-21 16:10:42 +01:00
rllola 93645681b0 Use waitfornewblock if namecoin version 16.0 or higher 2019-02-21 14:39:58 +01:00
ZeroNet e89cb4cc0e
Merge pull request #1901 from anoadragon453/patch-3
Fix typo
2019-02-16 20:28:37 +01:00
ZeroNet 89cc70091c
Merge pull request #1900 from anoadragon453/patch-2
Remove unnecessary str replace
2019-02-16 20:28:22 +01:00
Andrew Morgan c6bbe9e020
Fix typo 2019-02-15 21:22:13 +00:00
Andrew Morgan 15d2fd4581
Remove unnecessary str replace
Presumably left over from before it got moved out into a script.
2019-02-15 21:19:29 +00:00
rllola 02e2080ce2 Added test for new standard; Check version for compatibility with namecoin newer version; update README 2019-02-12 23:06:21 +01:00
rllola c00601743c Added README for zeroname plugin with instructions 2019-02-12 22:09:47 +01:00
shortcutme af0b563036
Remove unnecessary character 2019-02-02 00:11:02 +01:00
shortcutme c2b879ccab
Rev3831, Fix Stats page compatibility with latest gevent 2019-01-31 00:39:45 +01:00
shortcutme e79e60f0bb
Fix change detection for textareas in Config page 2019-01-29 02:54:30 +01:00
shortcutme 14631c65a6
Avoid user creaton when rendering sidebar after site deletion 2019-01-26 20:42:46 +01:00
shortcutme f706f7508e
Store detected external ips to separate variable 2019-01-26 20:42:27 +01:00
ZeroNet 81419ca68b
Merge pull request #1879 from tangdou1/patch-1
Update zh.json
2019-01-25 23:34:49 +01:00
shortcutme 276cbc0ace
Rev3817, Support limits for feed search 2019-01-25 14:26:38 +01:00
tangdou1 6ada5110a4
Update zh.json 2019-01-25 15:04:43 +08:00
tangdou1 f6ee45249d
Update zh.json 2019-01-25 14:50:05 +08:00
shortcutme 3b91be8449
Change ip_external on Config page 2019-01-25 01:22:26 +01:00
shortcutme 37979b4f9c
Support multiple external ips 2019-01-24 15:20:08 +01:00
ZeroNet 31376ee2fd
Merge pull request #1870 from tangdou1/patch-1
Update all.js
2019-01-23 12:55:37 +01:00
tangdou1 f980170a82
Update zh.json 2019-01-23 19:05:29 +08:00
tangdou1 8b7ef14f65
Update all.js 2019-01-23 19:00:19 +08:00
tangdou1 728b76aa7e
Update all.js 2019-01-23 17:24:21 +08:00
shortcutme c20ed92fab
Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet 2019-01-23 02:19:08 +01:00
shortcutme 28426f3ee3
Fix ip_mode description 2019-01-23 02:18:31 +01:00
shortcutme b3f2812191
Add ip network support to stats page 2019-01-23 02:13:29 +01:00
shortcutme 1824363f86
Support dual stack listening 2019-01-23 02:13:13 +01:00
shortcutme 447f5fd5c8
Store opened port status per IP version 2019-01-23 02:11:31 +01:00
tangdou1 7a47d58ad4 Update zh.json for more respect (#1867)
* Update zh.json

* Update zh.json

* Update zh.json
2019-01-22 11:00:17 +01:00
tangdou1 aedfb1d8da Update zh.json (#1863)
* Update zh.json

* Update zh.json
2019-01-21 14:01:04 +01:00
shortcutme a7509988af
Rev3802, Fix pytest warnings 2019-01-20 20:02:31 +01:00
shortcutme ba9228b142
Is downloading status based on bad_files 2019-01-20 19:15:21 +01:00
shortcutme 0beef302c6
Ipv6 compatibility in AnnounceZero plugin 2019-01-20 19:13:00 +01:00
shortcutme da538f6424
AnnounceShare compatibility with refactored port checker 2019-01-20 19:12:11 +01:00
shortcutme 8384c2cba3
Ipv6 compatible AnnounceShare test 2019-01-20 19:11:15 +01:00
shortcutme fbf430fac9
Ipv6 compatible bigfile test 2019-01-20 19:10:52 +01:00
shortcutme 29516304b0
Reset cert data before running crypt test 2019-01-20 19:10:40 +01:00
shortcutme c546065611
Peerdb ipv6 loading 2019-01-20 16:11:56 +01:00
shortcutme 7e759e6ae8
Ipv6/ipv4 compatible bootstrapper tests 2019-01-20 16:11:08 +01:00
shortcutme a9608c096e
New bootstrapper tests announce and backward compatibility 2019-01-20 16:10:24 +01:00
shortcutme 4db723fa6f
New bootstraper db format with ipv6 support 2019-01-20 16:08:51 +01:00
shortcutme 64e8efbc07
Fix ipv6 address placing to sidebar map 2019-01-20 03:28:49 +01:00
shortcutme 15f4bc5bd6
Add filesrver_ip_type to config page 2019-01-20 03:28:22 +01:00
ZeroNet 79daa12b06
Merge pull request #1847 from BoboTiG/fix-invalid-seq-warnings
Fix DeprecationWarning: invalid escape sequence
2019-01-20 01:51:27 +01:00
Lola Dam 1f1e6006ec Support namecoin standard 'map' for subdomain name (#1856)
* Support namecoin standard 'map' for subdomain name

* Proper naming for variables

*  naming fix and added one case for namecoin standard
2019-01-15 16:25:33 +01:00
shortcutme 5e928769ec
Add log level to config page 2019-01-10 14:11:30 +01:00
Mickaël Schoentgen e8298726ca Fix DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-06 15:15:47 +01:00
shortcutme 4c675b8311
Rev3748, Fix content filter for non existing domains 2019-01-05 19:07:27 +01:00
shortcutme 1ab9bc40a5
Rev3747. Dont show tor meek proxy on configuration page if it's not supported 2019-01-04 14:33:27 +01:00
caryoscelus fc6aa7cc1c Minor fix in sidebar plugin
Under certain conditions content["files"] is present, but is None,
which led to exception and thus failure of the whole sidebar.
2018-12-05 10:05:43 +00:00
shortcutme ef7ee02f65
Cleanup chart db 10 minutes after startup 2018-12-04 14:16:22 +01:00
shortcutme 3d1d5c1151
Delete old chart entries 2018-12-04 14:16:06 +01:00
shortcutme 2ceada84a6
Rev3736, Fix sidebar content signing changer links 2018-12-04 01:45:01 +01:00
shortcutme 3923f2baf4
Allow block sites based on sha256 hashed address 2018-11-29 14:32:55 +01:00
shortcutme 0157ade1c9
Don't autodelete optional files from owned files 2018-11-29 14:32:32 +01:00
shortcutme 71e65119ae
Add script nonce for blacklisted site page 2018-11-26 00:21:01 +01:00
shortcutme dc788043ff
Escape notification in ContentFilter plugin 2018-11-26 00:20:37 +01:00
shortcutme a98c465c9a
Use injectScript for Multiuser plugin notification 2018-11-26 00:19:49 +01:00
shortcutme dace0671c2
Add script nonce for Multiuser notification script inject 2018-11-26 00:18:46 +01:00
shortcutme 0882f9dd3c
Use redirect API call for logging in using UiPassword plugin 2018-11-26 00:18:08 +01:00
shortcutme c734e13753
Escape pinned file names 2018-11-26 00:17:29 +01:00
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