Commit Graph

251 Commits

Author SHA1 Message Date
Tamas Kocsis 0309b81695 SiteListModifiedFiles: Give error instead of exception if content file does not exists 2020-09-18 18:42:03 +02:00
Tamas Kocsis b9c65d75ef Move error log handler to config object to be able to catch plugin load errors 2020-09-09 18:29:24 +02:00
Tamas Kocsis e14f5bf847 Allow modified files query from non-admin sites 2020-09-04 18:15:56 +02:00
Tamas Kocsis 79f10ffe0c Return error when fileGet binary file 2020-09-04 18:15:16 +02:00
Tamas Kocsis 0bc9374a7d Optional stats to dirList websocket API command 2020-09-04 18:14:22 +02:00
Tamas Kocsis 8a71bf65cd Don't leak local path on delete error 2020-09-04 18:08:43 +02:00
Tamas Kocsis 0907edb6b1 Remove obsolate auth_key generation 2020-09-04 17:35:48 +02:00
shortcutme ddbd5c7b19
Fix reset file server port with config web interface 2020-06-30 17:04:09 +02:00
shortcutme 79d26060b3
Add site address hash to site info websocket response 2020-06-18 17:22:33 +02:00
shortcutme ad3920b26a
Rev4478, Skip slow updated files checking with large content.json 2020-04-11 13:34:18 +02:00
shortcutme 9b85d8638d
Don't allow run site api calls when site is deleting 2020-02-20 17:25:56 +01:00
shortcutme fefd2474b1
Don't reload sites on listing 2020-02-13 17:22:09 +01:00
shortcutme 8a994b5559
Ask before UiWebsocket server shutdown action 2019-12-21 02:59:50 +01:00
shortcutme f1b19f5fc7
Fix DbQuery logging 2019-12-17 14:59:54 +01:00
Lola Dam 1bfe328a1b No restart after update (#2242) 2019-11-01 19:36:43 +01:00
shortcutme 29640e614c
Admin API call to list server errors 2019-10-06 03:12:47 +02:00
krzotr 55c7585334
Set custom priority in FileNeed and FileGet command
When you use `FileNeed` or `FileGet` command the default priority is set to `6`.
You cannot change that value because is hardcoded.

Now you can set priority of downloading files manually:

```
this.cmd("fileNeed", {
    "inner_path": inner_path + "|all",
    "priority": 10
})
```
2019-09-08 11:51:46 +02:00
Ivanq 5da4537d7c
Fix gevent.Timeout being not caught 2019-09-02 19:34:29 +00:00
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 155d8d4dfd
Rev4188, Allow only white listed values for open_browser 2019-08-19 13:42:49 +02:00
shortcutme 39f318fbd5
Add plugin version information to server_info 2019-08-03 01:34:21 +02:00
Filip Š 5b91aef4ec
Add response to some commands 2019-08-01 19:16:10 +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 a2d29a4531
Only display sign error if there is no stored privatekey 2019-05-29 16:03:10 +02:00
Lola Dam 7262fbfb4e Added optional redirect value for siteClone (#2032)
* Added optional redirect value; see #1891

* Return address of the newly cloned site
2019-05-28 18:05:52 +02:00
Lola Dam 9c0e8ee833 Better error message if private key not stored when assigning (#2033)
* Return a more instructive message in case the privatekey is not found when attempting to sign

* Fix typo
2019-05-28 18:04:49 +02:00
ZeroNet 4e819ac035
Merge pull request #2025 from imachug/fileneed-timeout
Handle fileNeed timeout
2019-05-20 17:05:23 +02:00
Ivanq 5d920ff7df Handle gevent.Timeout error 2019-05-19 15:42:11 +03:00
shortcutme 20371895c9
Rev4090, Remove fs paths from error responses 2019-05-02 18:02:56 +02:00
Ivanq b55d2b53df Support Notification API 2019-04-19 22:19:25 +03:00
shortcutme bfc5e2dce6
Support live changing offline mode 2019-04-15 15:49:53 +02:00
shortcutme a7e8293d1a
Add offline mode info to server info 2019-04-15 15:49:34 +02:00
shortcutme 698f0cc230
Fix isServing check in site info formatting 2019-04-15 15:49:04 +02:00
radfish f6e3a74567 [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +02:00
shortcutme 31372e269d
Give notification to all connected clients about ZeroNet update 2019-04-10 14:56:47 +02:00
shortcutme c7078be407
Always verify client update 2019-04-09 15:07:56 +02:00
shortcutme 79eb6573be
Support listing bad files with API 2019-04-08 18:14:45 +02:00
shortcutme ffed8c9181
Add updatesite, dist_type, verify lib to serverinfo for admin sites 2019-04-08 18:14:31 +02:00
shortcutme bddf2d6537
Fix fileGet command 2019-03-29 02:31:14 +01:00
shortcutme 3d05bdcb63
Log file command errors 2019-03-29 02:31:05 +01:00
shortcutme b216e42397
Fix modified files checking 2019-03-15 23:57:30 +01:00
shortcutme 9b6c624554
Allow cloning if content.json update fails 2019-03-15 23:57:06 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme 8ddfbf37c3
New siteSetSettingsValue to change site specific setting 2019-02-05 15:52:01 +01:00
shortcutme 259c5199d6
siteListModifiedFiles admin command 2019-02-02 00:11:47 +01:00