Commit Graph

178 Commits

Author SHA1 Message Date
shortcutme f083301b4c
Allow larger packets 2019-04-18 12:22:38 +02:00
shortcutme 8edbecce3c
Fix diffing 2019-04-18 12:21:59 +02:00
shortcutme 752dabe554
Openssl dll find patch to libeay32 2019-04-04 13:25:10 +02:00
shortcutme 3d975fd767
Fix libeay32.dll location 2019-03-27 03:12:21 +01:00
shortcutme f8f857c820
Fix atomicWrite non existing tmpold removal 2019-03-27 03:12:02 +01:00
shortcutme 4aee7a6c61
Make openLocked always return BlockingIOError on fail 2019-03-20 01:05:52 +01:00
0polar de91f7ec15
Fix "no module" error
Since added into pip requirements.txt, no need to `from...`
2019-03-19 20:36:26 +08:00
shortcutme 33e4c088b9
Upnp opening function return success value 2019-03-18 01:07:46 +01:00
shortcutme 6e5bf5fef6
Decode masgpack hash key values as byte 2019-03-16 04:22:49 +01:00
shortcutme a42dee5a44
unpackOnionAddress Py3 support 2019-03-15 23:55:40 +01:00
shortcutme d4d86172f0
Cmp function backport and Utf8 to Byte response decorator helper funcations 2019-03-15 23:55:23 +01:00
shortcutme a49f454826
Lock files in binary mode, with one byte 2019-03-15 23:53:48 +01:00
shortcutme cd9a965057
atomicWrite Py3 support, full stack logging 2019-03-15 23:50:33 +01:00
shortcutme f5bc26e9fe
Use binary format for atomicWrite 2019-03-15 23:49:55 +01:00
shortcutme c55d69d587
Python3 has builtin inet_pton support 2019-03-15 23:49:13 +01:00
shortcutme e508357cfb
RateLimit py3 support 2019-03-15 23:48:46 +01:00
shortcutme 1c578b2b3f
Remove SSL patches for old Python/Gevent support, patch ctypes find_library to find openssl libs 2019-03-15 23:48:28 +01:00
shortcutme 4ce2ef732d
Rename StreamingMsgpack to Msgpack, add helpers 2019-03-15 23:33:04 +01:00
shortcutme 65705aba10
Fix UpnpPunch py3 compatibility 2019-03-15 23:32:05 +01:00
shortcutme e97873fb7e
UpnpPunch gets custom logger 2019-03-15 23:31:13 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
rllola 32ddaed376 Actually at ALL the path in the environnement variable and look for the openssl lib 2019-03-05 18:58:47 +01:00
rllola 4e388e5dc2 Find openssl lib in LD_LIBRARY_PATH 2019-03-05 18:33:29 +01:00
shortcutme e18d3d0c93
Only return valid ips from getInterfaceIps 2019-01-30 14:51:45 +01:00
shortcutme 53364d6ddc
Add 169.254.* to local ips, remove unnecessary brackets 2019-01-29 03:00:06 +01:00
shortcutme 4631f2223b
Add public ips from local adapters to external ip list 2019-01-29 02:59:15 +01:00
shortcutme 88ba0c1154
Don't detect cjdns ips as private ips 2019-01-26 20:31:05 +01:00
shortcutme c9223686d2
Formatting helper 2019-01-20 03:21:38 +01:00
shortcutme c86afe29ba
GetIpType and createSocket helper functions 2019-01-20 03:21:27 +01:00
shortcutme 0c56a7a23b
Support ipv6 address packing/unpacking 2019-01-20 03:21:07 +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
shortcutme dbe2a7b240
Fix QueryJson on non-list nodes 2019-01-10 14:09:50 +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 45add916f4
Rev3742, Move isIp to helper, fix inet_prton error 2018-12-19 13:15:59 +01:00
shortcutme edc1a71d0d
Rev3739, Fix atomicWrite of non existent file 2018-12-13 21:17:36 +01:00
shortcutme a4224555d2
Increase gzipped json file size limit 2018-09-02 02:33:44 +02:00
shortcutme c89170a22d
Allow first local ip find method to fail 2018-08-13 02:44:50 +02:00
shortcutme 9f35efc31d
Revert "Version 0.6.2, Rev3310"
This reverts commit 98c6add637.
2018-02-09 11:39:36 +01:00
shortcutme 98c6add637
Version 0.6.2, Rev3310 2018-02-08 18:16:50 +01:00
shortcutme 498191261c
Don't log local ips on query 2018-02-08 18:02:25 +01:00
shortcutme c2edbb30b5
Don't send private ip addresses on pex 2018-01-30 13:58:01 +01:00
shortcutme d17cb3fafc
Helper for avg calculation 2018-01-19 02:21:54 +01:00
shortcutme fdd82f7ac4
Rev3146, Limit noparallel queue to one call 2017-11-20 03:13:58 +01:00
shortcutme 35bd5e8595
UPnP formatting 2017-11-17 18:09:02 +01:00
shortcutme 86e607c403
Catch all exception on uPnP port opening 2017-11-17 18:08:45 +01:00
shortcutme b01e381087
Async port opening using different nic ips 2017-11-09 13:33:02 +01:00
shortcutme 5026f1b0a8
Delay RateLimit call after delayed call triggered 2017-11-09 13:32:21 +01:00
shortcutme 0dd34403a2
Combinate isfile and filesize query to one function 2017-10-04 12:44:34 +02:00
shortcutme d0f85f3d04
String / from left during dirname conversion 2017-10-03 16:05:01 +02:00
shortcutme 4c7500e248
Fix getDirname description 2017-08-18 14:37:56 +02:00
shortcutme f451ce6c91
6MB LimitedGzip file helper to avoid gzip bombs 2017-08-09 14:19:09 +02:00
shortcutme 9e13994c54
Formatting SslPatch 2017-07-31 14:34:18 +02:00
shortcutme b8d68e2589
Fix undefined ssl error 2017-07-31 14:34:06 +02:00
shortcutme f45ecb6cf4
Log problematic pattern 2017-07-27 16:29:12 +02:00
shortcutme ac1a03d17b
Don't allow more than 10 repetitions in one pattern 2017-07-15 01:30:53 +02:00
shortcutme 0e930efd95
Cache SafeRe patterns 2017-07-15 01:30:35 +02:00
shortcutme bf41c7b651
Detect potentionally unsafe regex patterns 2017-07-14 10:31:42 +02:00
shortcutme f30b2b6fc2
Rev2130, Use SslPatch to load openssl library, Fix Android 6 openssl loading 2017-07-04 01:12:58 +02:00
shortcutme e291555e60
Rev2090, Fix ssl patch library finding, Changelog for 0.5.5 2017-05-26 12:14:43 +02:00
shortcutme fae5d22e86
Rev2054, Outgoing socket binding support 2017-04-14 16:05:42 +02:00
shortcutme 52afc9d0b2
Prefer ips starting with 192 on upnp port opening 2017-04-07 18:18:22 +02:00
shortcutme 929432d469
Force SSLv23 2017-04-06 23:22:55 +02:00
shortcutme 233d5f31f2
Support ignore_class and queue to noparallel decorator 2017-04-01 22:32:06 +02:00
shortcutme d57d82f439
Rev1913, Support local address other than 127.0.0.1 2017-02-16 20:56:07 +01:00
shortcutme 6c9f709290
Fix linux utf8 path free space query 2017-01-23 12:55:03 +01:00
shortcutme 8c9457d636
Rev1818, Set user-only permissions on directories instead of files 2017-01-15 13:19:34 +01:00
sirMackk 1d8fe61920 Decodes IGD response to utf-8; Makes function arguments immutable; 2017-01-11 19:53:22 +01:00
shortcutme 6f2445c417 Rev1801, Fix open file limit set on Linux 2017-01-06 10:31:47 +01:00
shortcutme 431415c052 Rev1800, Use -tmpnew and -tmpold postfix for atomic write 2017-01-05 03:03:17 +01:00
shortcutme b220f5de5c Noparallel ignore args add first parameter to make it per-class 2016-11-16 11:21:31 +01:00
shortcutme e6a82d4c64 Pooled file downloads to handle large ammount of files better 2016-11-07 23:39:45 +01:00
shortcutme d60785ee33 Ignore parameters for startFindOptional noparallel 2016-11-07 23:26:07 +01:00
shortcutme 76af3a2e78 Gevent timer helper 2016-11-07 22:50:45 +01:00
shortcutme 38838b94a2 Formatting 2016-11-07 22:50:33 +01:00
shortcutme 5ff31e7cb4 Get free space on HDD function 2016-11-07 22:50:01 +01:00
shortcutme 484659fc3f Separate lock file instad of log file locking 2016-11-07 22:34:12 +01:00
shortcutme 3774630476 Close socket after uPnP request 2016-10-03 19:26:06 +02:00
shortcutme 1849547133 Rev1533, Add uPnP open protocols as parameter 2016-10-02 14:39:03 +02:00
shortcutme 31077eb346 Move uPnP port remove to fileserver 2016-10-02 14:22:01 +02:00
sirMackk ea47c47b5e Makes opening a port stop after first successful try. 2016-09-29 15:24:46 +02:00
sirMackk bd5ebdb2de Integrates updated upnppunch with project; Makes project close ports using UPnP on exit. 2016-09-09 12:37:22 +02:00
Thibaut Broggi a10e80318f atomicWrite function now preserve file permissions 2016-05-26 15:59:40 +02:00
HelloZeroNet 35192531a6 Remove not used Http class 2016-05-05 12:11:18 +02:00
HelloZeroNet 699d32187e Diff functions 2016-04-06 13:53:32 +02:00
HelloZeroNet 644fe69fa8 Fix noparallel with dict kwargs 2016-04-06 13:50:50 +02:00
HelloZeroNet ec70c47aa0 Optimize path modifying functions 2016-04-06 13:48:13 +02:00
HelloZeroNet 0e13fbf5dc Queue updates within 30 second to avoid network spam 2016-03-30 23:15:18 +02:00
HelloZeroNet 69d919d3c4 Handle http redirects 2016-03-16 22:07:11 +01:00
HelloZeroNet 2a06cec5c2 Rev948, Disable websocket logging, Change max files opened limit on startup 2016-03-06 02:17:58 +01:00
HelloZeroNet 687a848292 Version 0.3.6, Rev879, Fix sidebar error on description missing, New trayicon, New favicon, Disable some functions on MultiUser proxies, New homepage, Replace only the last ? in SQL queries, Alwaays grant ADMIN permission to homepage site, Announce before publish if no peers, configSet, serverShutdown, ADMIN WebsocketAPI command, Stop Tor client before updating, Ignore peer ip packing error, Ignore db files from git, Fix safari ajax error when UiPassword enabled 2016-02-02 11:40:45 +01:00
HelloZeroNet 7d25812087 Rev859, Don't display port closed warning in Tor always mode, Reload trackers files every minute, Log users.json save time, Use Udp connect to avoid Gevent lockdown bug, Site needfile startup command, Log uPnP punch targets 2016-01-19 20:42:00 +01:00
HelloZeroNet 8edbcb7a6c Rev483, Log uPnP error parse errors 2016-01-12 23:57:52 +01:00
HelloZeroNet e9d2cdfd37 Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol 2016-01-05 00:20:52 +01:00
HelloZeroNet 35b0019be2 Rev667, Fix cygwin openssl loading for real 2015-12-21 11:29:38 +01:00
HelloZeroNet 394a8b16b7 Rev665, Fix OpenSSL dll search on cygwin, Remove unnecessary files 2015-12-20 22:49:51 +01:00
HelloZeroNet 2cf34c132f Rev562, Check site privatekey from users.json when executing siteSign, Optional files checking on owned sites, Fix workermanager error on set list of peers, Fix PROTOCOL_SSLv3 error happens on some linux distrib 2015-11-08 12:33:13 +01:00
HelloZeroNet c2fc131cdc Rev546, Sidebar drag fix, Fix rebuild on dbschema changes, Test Dbschema changes, Fix atomicWrite error when old file already exists 2015-11-05 23:19:36 +01:00
HelloZeroNet a8dae8dd85 Rev477, FindHashId command for optional files, Renaming some variables to make it more clear, Optional files downloading in WorkerManager, Test FindHash, Test Optional download, Test FindOptional 2015-10-22 11:42:55 +02:00
HelloZeroNet 5f5f128b8a Rev473, Better atomic save, Fix sitePublish command when ip_external definied 2015-10-18 22:58:02 +02:00
HelloZeroNet 9d7d4f1552 Rev467, requirements.txt accept newer dependecies, Boost dbschema.json, Move getDirname getFilename to helper, Verify optional files, Includes not allowed in user files, Optional files rules, Peer hashfield functions, Test optional files signing, Test file info, Test verify file, Test helpers 2015-10-01 01:35:13 +02:00