Commit Graph

114 Commits

Author SHA1 Message Date
canewsin 00db9c9f87 Rust Version Compatibility for update Protocol msg
and diff patch
2022-04-08 23:12:10 +05:30
canewsin 5ee928852b v 0.7.6 (4565)
- Sync Plugin Updates
- Clean up tor v3 patch (#115)
    https://github.com/ZeroNetX/ZeroNet/pull/115
- Add More Default Plugins to Repo
- Doubled Site Publish Limits
- Update ZeroNet Repo Urls (#103)
- UI/UX: Increases Size of Notifications Close Button(#106)
- Moved Plugins to Seperate Repo
- Added `access_key` variable in Config, this used to access restrited plugins when multiuser plugin is enabled. When MultiUserPlugin is enabled we cannot access some pages like /Stats, this key will remove such restriction with access key.
- Added `last_connection_id_current_version` to ConnectionServer, helpful to estimate no of connection from current client version.
- Added current version:  connections to /Stats page. see the previous point.
2022-01-12 05:13:17 +05:30
shortcutme 32b0153d34
Log site address with getfile error 2019-12-31 12:46:01 +01:00
shortcutme 50bbe47bf2
Better logging on file update 2019-12-19 02:17:00 +01:00
shortcutme eeef6fe65f
Rev4102, Fix fileGet test 2019-06-06 03:17:42 +02:00
shortcutme d596f28f46
Log non-file read errors on fileGet 2019-06-06 02:27:35 +02:00
shortcutme 4222c31b3e
Don't push body of content.json with updates if larger than 10kb 2019-05-30 04:26:41 +02:00
shortcutme 998ec3eb4f
Disable all site serving using a global offline argument 2019-04-15 15:06:25 +02:00
redfish 941571f71f file: set error message before using it
Fixes this exception:

Unhandled exception: [(<class 'UnboundLocalError'>,
UnboundLocalError("local variable 'err' referenced before assignm>
 Traceback (most recent call last):
   File "src/gevent/greenlet.py", line 766, in gevent._greenlet.Greenlet.run
   File "/opt/zeronet/src/util/RateLimit.py", line 57, in <lambda>
     thread = gevent.spawn_later(time_left, lambda: callQueue(event))  # Call this function later
   File "/opt/zeronet/src/util/RateLimit.py", line 42, in callQueue
     return func(*args, **kwargs)
   File "/opt/zeronet/src/File/FileRequest.py", line 185, in actionUpdate
     self.response({"error": "File invalid: %s" % err})
UnboundLocalError: local variable 'err' referenced before assignment
2019-03-31 16:25:26 -04:00
shortcutme 77530f13ee
Fix content.json update and verify on Python 3.5 2019-03-20 00:48:51 +01:00
shortcutme ac325c5c5e
Py3 compatibility of FileRequest module 2019-03-16 02:43:07 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme e8dbf1511b
More clean way to return locally found hash_ids for findHashId 2019-01-24 15:18:12 +01:00
shortcutme 1350096545
Support ipv6 for Checkport request 2019-01-20 16:23:53 +01:00
shortcutme 18b9df62e4
Support ipv6 in findHashIds request 2019-01-20 16:23:37 +01:00
shortcutme 42495a9914
Support ipv6 in Pex request 2019-01-20 16:22:32 +01:00
shortcutme eecc257822
Make unknown site request a bad action everywhere 2018-11-26 00:12:54 +01:00
shortcutme 0f567385a8
Only check size on file request for smaller files 2018-07-16 01:35:35 +02:00
shortcutme 82e6bc5d31
Use websocket connection instead of fileserver to execute commands from CLI 2018-04-03 14:49:40 +02:00
shortcutme 81e96d25ba
Handle request using global onion address 2018-03-14 22:30:08 +01:00
shortcutme 514f8396b7
Add missing import for port checking 2018-02-12 17:05:20 +01:00
shortcutme a265c2a7ca
Pass peer discovery source to addPeer 2018-02-08 17:57:26 +01:00
shortcutme c2edbb30b5
Don't send private ip addresses on pex 2018-01-30 13:58:01 +01:00
shortcutme 620d8caea9
Always use peer's real ip instead of reported one using update parameter 2017-11-19 18:18:08 +01:00
shortcutme 628cc992e9
Don't send ok result when update is queued 2017-10-03 15:19:34 +02:00
shortcutme 636813c603
Reduce connection cpu usage by socket send time 2017-10-03 15:19:09 +02:00
shortcutme 2eb6cc8f55
Don't add myself to findhash result if ip detection failed 2017-10-03 15:07:26 +02:00
shortcutme 8ae9b5261e
Unify handling Stream and Get file requests 2017-10-03 15:03:56 +02:00
grez911 bf69d24566 Deleted unnecessary import statement 2017-08-18 11:38:26 +03:00
grez911 1fc2a917d4 Fix P2P port check 2017-08-18 11:29:41 +03:00
grez911 5c5e4b914c Added P2P portcheck 2017-08-15 20:17:42 +03:00
shortcutme ef4a4acbc0
Only display read error in verbose mode 2017-08-09 14:19:56 +02:00
shortcutme eee073c103
Publish incoming updates to more peers 2017-07-27 16:30:21 +02:00
shortcutme f08f354eb6
More detailed file size match error logging 2017-06-20 11:20:43 +02:00
shortcutme 23db93d20f
Fix invalid update logging 2017-06-20 11:20:30 +02:00
shortcutme f773bf3336
Add file_size to request to avoid unnecessary download 2017-06-19 16:10:18 +02:00
shortcutme 9a9bd71634
Catch file verification errors on update request 2017-06-19 16:07:36 +02:00
shortcutme 25657ebdca
Log to site instead of fileserver 2017-06-19 16:04:17 +02:00
shortcutme c7146613a1
Store inner path to variable on update request to save some complexity 2017-06-19 16:02:52 +02:00
shortcutme c58d28861d
Raise RequestError instead of Exception of fileGet error 2017-06-19 16:01:41 +02:00
shortcutme a4a23f3ea0
Fix site lock violation logging 2017-06-13 14:12:13 +02:00
shortcutme 14c906561d
Rev2048, Stop sending detailed exception as response to file request 2017-04-14 00:26:20 +02:00
shortcutme 25bb14037c
Better site lock violation logging 2017-04-10 12:18:21 +02:00
shortcutme 7bda72027a
Site lock validation based on target_onion 2017-04-09 12:03:25 +02:00
shortcutme 50937990e5
Fix typos 2017-03-06 15:30:31 +01:00
shortcutme bad2a79f05
Reason for connection closing 2017-02-27 00:02:24 +01:00
shortcutme d57d82f439
Rev1913, Support local address other than 127.0.0.1 2017-02-16 20:56:07 +01:00
shortcutme 4ec0209dd7
Invalid request detect 2017-02-09 01:54:24 +01:00
shortcutme 277d16eabb
Bad action increment on invalid file update request 2017-02-09 01:54:04 +01:00
shortcutme ee0176e730 Increase connection bad action on bad file location 2017-01-05 02:25:06 +01:00