shortcutme
376fd0d439
Use flags instead of permission list
2019-08-26 03:09:48 +02:00
shortcutme
c414e6caa2
Support action async call flag
2019-08-26 03:08:57 +02:00
shortcutme
ed7a3b2356
Get action permissions from flag db
2019-08-26 03:02:30 +02:00
shortcutme
adffbd1973
New function flagging decorator class to keep track permissions
2019-08-26 02:55:01 +02:00
shortcutme
6750682e4f
Rev4191
2019-08-23 03:42:31 +02:00
shortcutme
ab9fe173a8
Don't use trackers proxy in tor always mode
2019-08-23 03:40:29 +02:00
shortcutme
8a7ae368d8
No opened services if we are in tor always mode
2019-08-23 03:40:20 +02:00
shortcutme
248fc5f015
Use re.sub to replace template variables
2019-08-23 03:39:50 +02:00
shortcutme
e16611f15a
Allow websocket connection originates from earlier accepted hostnames
2019-08-23 03:39:16 +02:00
Ivanq
24b3651d2e
Allow blob: protocol ( #2166 )
...
* Allow blob: protocol
* Fix quotes
2019-08-20 12:42:01 +02:00
Ivanq
61ba9848e5
Add --merge_media config option
2019-08-20 08:16:35 +00: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
155d8d4dfd
Rev4188, Allow only white listed values for open_browser
2019-08-19 13:42:49 +02:00
Ivanq
1ed40b3b82
Allow files with ..
as a name substring
2019-08-19 07:09:32 +00:00
shortcutme
18dc359cfc
Rev4187
2019-08-18 03:03:22 +02:00
shortcutme
b871849df4
Add origin validation to websocket connections
2019-08-18 03:03:02 +02:00
shortcutme
7d1ca3862d
Make missing IPv6 a warning not an error
2019-08-18 03:02:30 +02:00
shortcutme
2a887870ff
Rev4185
2019-08-17 20:35:00 +02:00
shortcutme
8537939d26
Disable UDP in proxy mode
2019-08-17 20:34:04 +02:00
shortcutme
fcb3ac3917
Only change default proxy to tor in tor always mode
2019-08-17 20:33:43 +02:00
shortcutme
d63a4b3912
Rev4181
2019-08-15 03:19:23 +02:00
shortcutme
6a245a202c
Fix server connections encryption
2019-08-15 03:19:05 +02:00
shortcutme
429043f60c
CLI peerPing command display connection encryption info only once
2019-08-15 03:09:53 +02:00
shortcutme
8f491fe6e1
Use SSLContext for connection encryption, add fake SNI, ALPN
2019-08-15 03:08:40 +02:00
shortcutme
92358bafc0
Wider max notification width to allow blacklist button in same line
2019-08-15 03:06:13 +02:00
shortcutme
d93e89899b
Fix tracker proxy PySocks import
2019-08-15 03:05:46 +02:00
shortcutme
2bdd073608
Move resolveDomain to SiteManager for easier resolver plugins
2019-08-15 03:05:29 +02:00
shortcutme
7801937f74
Rev4176, Fix update of plugins
2019-08-13 21:07:26 +02:00
shortcutme
1d7e0c47dd
Merge branch 'py3' of https://github.com/HelloZeroNet/ZeroNet into py3
2019-08-12 17:58:28 +02:00
shortcutme
7b9b48e62d
Rev4175, Console and file logging disable support
2019-08-12 17:58:23 +02:00
Ivanq
3f7e22497d
Fix preferring CLI argument over zeronet.conf
...
Fix using open_browser from CLI arguments in case there are several `--open_browser` arguments, which often happens after restarts.
2019-08-11 12:18:55 +03:00
shortcutme
e745760520
Rev4172
2019-08-09 13:18:57 +02:00
shortcutme
bd5c2b1daa
Also try to load OpenSSL dll from Python/DDLs directory
2019-08-09 13:18:40 +02:00
shortcutme
30865c9d1c
Rev4169
2019-08-08 23:37:49 +02:00
shortcutme
1cfe874893
Use find_library first to locate libeay32
2019-08-08 23:37:43 +02:00
shortcutme
5da46ca29c
Cleanup whitespace in pyelliptic
2019-08-08 23:37:21 +02:00
shortcutme
cc21cbd1bd
Use relative import in pyelliptic
2019-08-08 23:36:58 +02:00
shortcutme
79ba4a9d23
Rev4167
2019-08-08 14:39:02 +02:00
shortcutme
44ef0cbe59
Always load plugins abc sorted
2019-08-08 14:37:42 +02:00
shortcutme
88f2b39576
Don't try to connect to onion addresses if not supported by the client
2019-08-08 14:37:19 +02:00
shortcutme
bf10cdef63
Add some delay on pex error before try the next peer
2019-08-08 14:36:33 +02:00
shortcutme
3696db89ab
Don't increment tracker error number if no internet connection
2019-08-08 14:35:58 +02:00
shortcutme
eeaa5d21d8
Start unrealible trackers on force reannounce
2019-08-08 14:35:35 +02:00
shortcutme
f4bec3bb4d
Avoid starting new workers on possibly unvalaible file
2019-08-08 14:35:04 +02:00
shortcutme
b5a1310add
Rev4165
2019-08-07 14:12:53 +02:00
shortcutme
b22343f65c
Support multiple trackers_file argument
2019-08-07 14:12:45 +02:00
shortcutme
b9b317e213
Remove accidently left print on plugin load
2019-08-07 14:11:58 +02:00
shortcutme
6cd18bbf04
Display more clean error on users.json/sites.json load error
2019-08-07 14:11:30 +02:00
shortcutme
b6e1559a80
Rev4163
2019-08-03 01:35:37 +02:00
shortcutme
39f318fbd5
Add plugin version information to server_info
2019-08-03 01:34:21 +02:00
shortcutme
21def81439
Fix js, css merging with absolute merged_path
2019-08-03 01:34:00 +02:00
shortcutme
f40c3e6b81
Add notification messages max-width
2019-08-02 20:11:00 +02:00
shortcutme
bb705ae863
Fix source code reloader crash on directory modifications/file deletions
2019-08-02 16:19:35 +02:00
shortcutme
c4a3a53be0
Also reload source code on file changes in installed plugins
2019-08-02 16:19:05 +02:00
shortcutme
713ff17e91
Allow load installed third-party plugins and enable/disable plugins in config file data/plugins.json
2019-08-02 16:18:37 +02:00
shortcutme
0c659a477d
Remove hard-coded translate files directory
2019-08-02 16:16:19 +02:00
shortcutme
26678a65f8
Limit notifications max with
2019-08-02 16:15:45 +02:00
shortcutme
c5116fb318
Modify testAction command to use handleRequest instead of directly calling the function
2019-08-02 16:14:44 +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
1eb97ea381
Delayed save of sites.json
2019-08-02 14:06:25 +02:00
shortcutme
f6e06456b0
Use advaced json dumper to save sites.json and users.json
2019-08-02 14:06:05 +02:00
shortcutme
5e90cd9714
Move advanced json formatter to helper.py
2019-08-02 14:05:14 +02:00
shortcutme
06406fa46c
Avoid bare exceptions
2019-08-02 14:04:18 +02:00
Filip Š
5b91aef4ec
Add response to some commands
2019-08-01 19:16:10 +02:00
shortcutme
d8a121cd06
Rev4129
2019-07-18 03:34:09 +02:00
shortcutme
902a1b1c88
Fix OpenSSL dll loading on Windows
2019-07-18 03:33:56 +02:00
shortcutme
c9a2b86c16
Log possible OpenSSL cert generation error message at the same line
2019-07-18 03:33:35 +02:00
shortcutme
27fcb70774
Log loaded verify lib path and load time
2019-07-18 03:32:45 +02:00
shortcutme
6cffa1c0ca
Change maxstdio using ctypes as win32file module is not included with Python3 by default
2019-07-18 03:31:57 +02:00
shortcutme
d3e8fcea47
Rev4126
2019-07-17 16:31:38 +02:00
shortcutme
149278abd0
Skip reload on attribute changes
2019-07-17 16:30:56 +02:00
shortcutme
314c8b22db
Fix parsing config file with % in value
2019-07-17 16:30:32 +02: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
356d0521e6
Rev4122
2019-07-10 03:15:56 +02:00
shortcutme
5a08ab93d3
Ignore file attribute changes when reloading source code
2019-07-10 03:15:46 +02:00
shortcutme
8185f4dfda
Test getFile inner_path security
2019-07-10 03:14:30 +02:00
shortcutme
f4f0e2afa8
Allow like parameters in database queries
2019-07-10 03:14:09 +02:00
shortcutme
67d6b1e724
Fix double logging when running tests
2019-07-10 03:12:56 +02:00
Filip Š
87b4500467
Fix infinite reloading when system theme changes
2019-07-05 18:43:54 +02:00
ZeroNet
951e47469a
Merge pull request #2060 from imachug/default-subdir-clone
...
Fix siteCloning subdirectory with -default files
2019-07-05 17:13:29 +02:00
shortcutme
c1db963c76
Rev4112, Fix loading screen glitch, Change unstable trackers
2019-07-04 14:39:41 +02:00
Ivanq
33b478199a
Guess content type correctly
...
Fix e.g. vue.min.js being reported as text/plain instead of text/javascript.
2019-07-04 12:09:07 +03:00
shortcutme
21f285e099
Rev4111
2019-07-03 18:37:35 +02:00
shortcutme
fec312ed09
Better pytest atexit logging error workaround
2019-07-03 18:37:13 +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
Ivanq
743f92d15e
Allow some paths to contain .. but not ../
2019-07-01 18:17:42 +03:00
shortcutme
822dec5c03
Rev4110
2019-07-01 16:28:56 +02:00
shortcutme
40b84755de
Add some fixed content_type
2019-07-01 16:28:37 +02:00
shortcutme
1b307166ee
Formatting
2019-07-01 16:27:40 +02:00
shortcutme
7a483e7912
Add short address to site_info
2019-07-01 16:27:34 +02:00
shortcutme
841230fe80
Call onClosed function if websocket is disconneced
2019-07-01 16:27:20 +02:00
shortcutme
900ae4e1ea
Remove notification about port open status on startup
2019-07-01 16:26:57 +02:00
shortcutme
72b6d6c676
Make wrapper compatible with sidebar console function
2019-07-01 16:26:37 +02:00
shortcutme
f979ed133f
Workaround for pytest 0.4.1+ atexit logging errors
2019-07-01 16:25:45 +02:00
shortcutme
fb2cf5f04d
More detailed logging of file change event
2019-07-01 16:24:48 +02:00
shortcutme
62401b24ec
Add r string literal for regexps
2019-07-01 16:24:23 +02:00
shortcutme
43f833e604
Allow multiple values of same key in the config file
2019-07-01 16:20:13 +02:00
shortcutme
612a3f4401
Fix parsing config file for lines that has no values
2019-07-01 16:19:32 +02:00
Ivanq
8eee9caa01
Fix siteCloning subdirectory with -default files
2019-07-01 09:49:03 +03:00