Commit graph

962 commits

Author SHA1 Message Date
Eduaddad
6a1a821ed4
Translation update for latest changes
Translation update for latest changes
2019-11-30 12:04:25 -03:00
shortcutme
37b8c0241f
Db threads modify in config interface 2019-11-30 02:14:54 +01:00
shortcutme
59e0ffd8e0
Remove unnecessary imports from CryptMessage 2019-11-27 03:08:01 +01:00
shortcutme
f7c767c1c8
Make Chart plugin compatible with db changes 2019-11-27 03:07:44 +01:00
shortcutme
fca9db7972
Try fix Recursive use of cursors ProgrammingError by creating new cursor for every execute and move Lock to db 2019-11-27 03:07:08 +01:00
shortcutme
756f5a1608
Fix display peer found time on /Stats page 2019-11-25 14:38:53 +01:00
shortcutme
416e7d6fe0
Fix too fast benchmark results statistics 2019-11-25 14:38:27 +01:00
shortcutme
7b210429b5
Multi threaded eciesDecrypt 2019-11-25 14:37:55 +01:00
shortcutme
c21fe3d23a
Prefer connecting to non-onion peers 2019-11-25 14:30:51 +01:00
shortcutme
d85c27e67b
Merge config js 2019-11-20 14:08:19 +01:00
shortcutme
a5f8a53196
Fix change detection for integers on config interface 2019-11-20 14:08:02 +01:00
shortcutme
6c31a3b77e
Change fs thread number on config interface 2019-11-20 14:07:04 +01:00
shortcutme
6262c80886
Fix benchmark on Firefox 2019-11-20 14:06:27 +01:00
shortcutme
1c607645c7
Track and stop site connected greenlets on delete 2019-11-19 02:07:51 +01:00
shortcutme
2ad3493fb0
Test and benchmark of crypto function in CryptMessage plugin 2019-11-19 02:05:02 +01:00
shortcutme
331dc99086
Fix benchmark plugin test listing if not loaded before other plugins 2019-11-19 02:03:27 +01:00
shortcutme
4424c8272d
New refactored Benchmark plugin to test compatibility and meassure system performance 2019-11-19 01:48:31 +01:00
shortcutme
23006e495f
FilePack plugin pass possible other parameters to site storage read function 2019-11-19 01:45:50 +01:00
shortcutme
4351af35f4
Don't load geoip db in parallel 2019-11-19 01:44:26 +01:00
shortcutme
e8af5db2e8
Keep track gevent block number, remove Benchmark from stats plugin 2019-11-19 01:43:39 +01:00
shortcutme
5c27a0efcc
Rev4260, Fix UiConfig pt-br language json 2019-11-15 19:43:56 +01:00
shortcutme
ac69007292
Fix file rendering if content.json download failed 2019-11-11 16:18:25 +01:00
Eduaddad
dfbbbd9381 translation update (#2275)
* translation update

translation update

* Update pt-br.json

* missing comma correction
2019-11-11 15:37:50 +01:00
Eduaddad
b2be4672ec
text was duplicated and in Chinese 2019-11-04 09:18:32 -03:00
Filip Š
dac4fcd52b Allow NOSANDBOX in local mode (#2238) 2019-10-24 12:01:31 +02:00
shortcutme
db868dba81
Merge sidebar css 2019-10-16 15:44:38 +02:00
shortcutme
5ca3401eb9
Remove UiRequestPlugin from Zeroname plugin 2019-10-16 15:42:49 +02:00
caryoscelus
6405cae706 minor code improvement: super/init
`__init__` should only ever return None
2019-10-06 22:30:18 +00:00
shortcutme
6451e7f9f1
Console display fixes 2019-10-06 03:32:04 +02:00
shortcutme
43a5742258
Resolve domain in parsePath function 2019-10-06 03:20:16 +02:00
shortcutme
924a61309a
Cached isDomain / resolveDomain functions 2019-10-06 03:18:14 +02:00
shortcutme
1f9eafa619
Merge sidebar js, css 2019-10-06 03:08:32 +02:00
shortcutme
d5da404ed4
Log zeroname db load error 2019-10-06 03:08:09 +02:00
shortcutme
1b41aa70cc
Don't mess with console visibility on Windows 2019-10-06 03:07:52 +02:00
shortcutme
284b1a4f8a
Console filters to Warning, Error 2019-10-06 03:07:34 +02:00
shortcutme
fe432ad843
Open console with #ZeroNet:Console hash in url 2019-10-06 03:07:14 +02:00
shortcutme
15fca6bd12
User selection from a list in multiuser local mode 2019-10-06 03:05:39 +02:00
shortcutme
43c366d2fb
Restrict blocked site addition when using mergerSiteAdd 2019-09-28 17:02:27 +02:00
shortcutme
6bb929a896
Merge branch 'py3' of https://github.com/HelloZeroNet/ZeroNet into py3 2019-09-19 16:38:25 +02:00
shortcutme
d06b4abecf
Add multiuser admin status to server info 2019-09-19 16:38:05 +02:00
Christian Seibold
2fbf2c7771 English Grammar Fix: Change "Forgot" to "Forget" in Sidebar (#2202)
* Change forgot to forget

English grammar fix

* Change forgot to forget

Fix English grammar
2019-09-18 19:49:53 +02:00
shortcutme
76bc9fcddf
Open sidebar with location hash 2019-09-02 14:17:35 +02:00
shortcutme
3c4bc6ae35
Always update merger sites db on content.json update 2019-09-02 02:08:07 +02:00
Krzysztof Otręba
baa5df1d01 fixed KeyError: 'piece_size' when try to download non-optional file using '|all' 2019-08-30 18:59:19 +02:00
shortcutme
d166a16a24
Use function flagging in plugins 2019-08-26 03:20:07 +02:00
shortcutme
d1fb4067e7
Hide trackers proxy settings if tor always set on /Config page 2019-08-23 03:40:44 +02:00
Ivanq
01ff89315b Add GitLab CI/CD support (#2163)
* Use GitLab CI/CD

* Force colored tests

* Get rid of an error

* Mark tests as slow

* Disable codecov & coveralls

* Python 3.5-3.8

* Add Python 3.4

* Support both OpenSSL 1.1.0 and 1.1.1+

* Test both OpenSSL 1.1.0 and 1.1.1+

* Fix OpenSSL 1.1.1

* Fix Python 3.4 build
2019-08-19 17:30:31 +02:00
shortcutme
1d5bde01cc
Deny plugin add request in multiuser mode 2019-08-17 20:34:21 +02:00
shortcutme
2bdd073608
Move resolveDomain to SiteManager for easier resolver plugins 2019-08-15 03:05:29 +02:00
shortcutme
d610f94e7d
Display TLS 1.3 support on /Stats page 2019-08-12 17:56:06 +02:00
shortcutme
0bbeede975
Don't try to display bigfile limit settings if no bigfile plugin enabled 2019-08-09 13:17:48 +02:00
shortcutme
b22343f65c
Support multiple trackers_file argument 2019-08-07 14:12:45 +02:00
shortcutme
605ae75dda
Re-compile UiConfig js, css, backdrop to bottom popup 2019-08-03 01:35:00 +02:00
shortcutme
7e9ab8321a
Add plugin description data 2019-08-03 01:32:55 +02:00
shortcutme
4094d3a9bf
Plugin to install, update and delete third-party plugins using the web interface 2019-08-03 01:31:11 +02:00
shortcutme
0877fec638
Restrict plugin commands in multi-user mode 2019-08-03 01:29:27 +02:00
shortcutme
fa970fa102
Test CryptMessage plugin using testAction function 2019-08-02 16:14:17 +02:00
shortcutme
fbafd23177
Add OpenSSL 1.1 support to CryptMessage plugin by using radfish's pyelliptic version 2019-08-02 16:13:54 +02:00
shortcutme
be742c78e7
Formatting for better readability 2019-08-02 16:06:22 +02:00
shortcutme
3e97c154a0
Remove hard-coded directory path from plugins 2019-08-02 16:05:19 +02:00
shortcutme
06406fa46c
Avoid bare exceptions 2019-08-02 14:04:18 +02:00
shortcutme
e488841031
Display loaded verify lib path in benchmark 2019-07-18 03:32:22 +02:00
Vadim Ushakov
822e53ebb8 Merge branch 'py3' into plugins 2019-07-18 00:14:06 +07:00
Vadim Ushakov
5f6589cfc2 TrackerShare: be more verbose in enoughWorkingTrackers() 2019-07-18 00:01:56 +07:00
Vadim Ushakov
95c8f0e97e TrackerShare: consider UDP disabled if config.tor == "always" 2019-07-17 23:48:53 +07:00
Vadim Ushakov
cb363d2f11 TrackerShare: move the tracker list cleanup code from getSupportedProtocols() to a separate method 2019-07-17 23:35:39 +07:00
Vadim Ushakov
0d02c3c4da TrackerShare: increase default limits: zero=10,other=5; total=20 2019-07-17 23:23:03 +07:00
Vadim Ushakov
2811d7c9d4 TrackerShare: replace self.site_announcer on every call from SiteAnnouncer 2019-07-17 23:21:11 +07:00
shortcutme
c502688ce3
Internals renamed to Console 2019-07-17 16:30:17 +02:00
shortcutme
866346b059
Fix and test bootstrapper hash cache reload from db 2019-07-17 16:29:54 +02:00
Vadim Ushakov
076684176b Add missing @helper.encodeResponse in StatsPlugin.py and BootstrapperPlugin.py 2019-07-15 14:50:24 +07:00
Vadim Ushakov
96e935300c TrackerZero: fix error in updateHashCache()
Reported to the upstream: https://github.com/HelloZeroNet/ZeroNet/issues/2095
2019-07-15 14:13:14 +07:00
Vadim Ushakov
2e1b0e093f TrackerZero: fix errors in actionStatsTrackerZero() 2019-07-14 18:26:38 +07:00
Vadim Ushakov
fee63a1ed2 TrackerZero: add the missing .onion suffix 2019-07-13 21:16:15 +07:00
Vadim Ushakov
142f5862df TrackerZero: ignore "announce" action if the plugin is disabled by its settings 2019-07-13 15:51:28 +07:00
Vadim Ushakov
de5a9ff67b TrackerShare: drop incomplete support of Bootstrapper, we now have TrackerZero, which is able to register its addresses by itself 2019-07-13 15:38:05 +07:00
Vadim Ushakov
d57deaa8e4 TrackerShare: ignore the udp:// protocol, when UDP is known to be disabled by the config 2019-07-13 15:36:05 +07:00
Vadim Ushakov
eb6d0c9644 TrackerZero: add missimg @helper.encodeResponse 2019-07-13 15:35:16 +07:00
Vadim Ushakov
a36b2c9241 TrackerZero: add support of persistent onion addresses 2019-07-13 02:34:07 +07:00
Vadim Ushakov
9a8519b487 TrackerZero: read settings from tracker-zero.json; register listened addresses in TrackerShare/AnnounceShare 2019-07-13 00:51:31 +07:00
Vadim Ushakov
f4708d9781 TrackerZero: add a separate class for not to run complicated code in overloaded methods 2019-07-12 15:44:23 +07:00
Vadim Ushakov
b7550474a5 TrackerZero: copy the Bootstrapper code to a new plugin TrackerZero 2019-07-12 01:48:52 +07:00
Vadim Ushakov
735061b79d Merge branch 'py3' into plugins 2019-07-12 01:28:32 +07:00
Vadim Ushakov
a2cb1615b3 Move the BitTorrent related code from SiteAnnouncer.py (#2078)
* Move the BitTorrent related code from SiteAnnouncer.py to a separate plugin

* AnnounceBitTorrentPlugin.py: add missing `from Debug import Debug`
2019-07-10 16:12:25 +02:00
shortcutme
e34a9d452a
Allow filter optional files by inner path 2019-07-10 03:11:20 +02:00
tangdou1
8815b4e0c3
Update zh.json 2019-07-08 10:05:34 +08:00
Vadim Ushakov
aa6d7a468d TrackerShare: store trackers in shared-trackers.json, since trackers.json is in use by AnnounceShare and may have an incompatible format in the future 2019-07-07 14:31:13 +07:00
Vadim Ushakov
6ee1db4197 TrackerList: fix a typo 2019-07-06 17:21:14 +07:00
Vadim Ushakov
37627822de TrackerList: make the plugin compatible with TrackerShare 2019-07-06 01:39:32 +07:00
Vadim Ushakov
d35a15d674 TrackerShare: don't delete "my" trackers on errors, but delete them on program restart; add "persistent" flag for manually added trackers 2019-07-06 01:15:37 +07:00
Vadim Ushakov
c8545ce054 TrackerShare: print the total number of discovered trackers at the end of discovery procedure 2019-07-05 23:41:23 +07:00
Vadim Ushakov
8f8e10a703 TrackerShare: Change the log level for several messages from debug to info
Increased the log level for messages that are not very annoying and help to keep the track of events.
2019-07-05 23:17:13 +07:00
Vadim Ushakov
33c81a89e9 TrackerShare: rename the config arguments to avoid the name clash with AnnounceShare's arguments
--working_shared_trackers_limit -> --shared_trackers_limit
--working_shared_trackers_limit_per_protocol -> --shared_trackers_limit_per_protocol

Also modify the help messages so that they were more consistent with how the code really works.
2019-07-05 19:38:00 +07:00
Vadim Ushakov
84526a6657 TrackerShare: raise the default limit per protocol limit from 2 to 4 2019-07-05 19:28:03 +07:00
Vadim Ushakov
3910338b28 Import plugin: TrackerList 2019-07-05 19:16:25 +07:00
Vadim Ushakov
b2e92b1d10 Import the redesigned AnnounceShare under the new name TrackerShare 2019-07-05 19:14:23 +07:00
shortcutme
c1db963c76
Rev4112, Fix loading screen glitch, Change unstable trackers 2019-07-04 14:39:41 +02:00
shortcutme
eb2627721e
Fix pytest 5.x compatibility 2019-07-03 18:36:41 +02:00
shortcutme
ff32f822ba
Raise exception instead of using assert 2019-07-03 18:35:55 +02:00
ZeroNet
eae0d1b2a6
Merge pull request #1959 from tangdou1/patch-1
Change default value to 10MB
2019-07-01 17:45:37 +02:00