From 1f61fb1b7833edb648b093e26f73e684923ae55c Mon Sep 17 00:00:00 2001 From: kenzok8 Date: Thu, 6 Mar 2025 10:52:13 +0800 Subject: [PATCH] update 2025-03-06 10:52:13 --- luci-app-fchomo/docs/Ruleset-URI-Scheme.md | 14 +++++++------- luci-app-tinyfilemanager/README.md | 15 ++++++++++----- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/luci-app-fchomo/docs/Ruleset-URI-Scheme.md b/luci-app-fchomo/docs/Ruleset-URI-Scheme.md index e76070b38..e13cdfc99 100644 --- a/luci-app-fchomo/docs/Ruleset-URI-Scheme.md +++ b/luci-app-fchomo/docs/Ruleset-URI-Scheme.md @@ -2,9 +2,9 @@ ## Structure -**remote:** `http[s]://[auth@]?fmt=&behav=[&key=value][#label]` -**local:** `file://[host]?fmt=&behav=[&fill=][#label]` -**inline:** `inline://?behav=[#label]` +**remote:** `http[s]://[auth@]?fmt=&behav=[&key=value][#label]`\ +**local:** `file://[host]?fmt=&behav=[&fill=][#label]`\ +**inline:** `inline://?behav=[#label]` ## Components @@ -18,8 +18,8 @@ Add it only if required by the target host. ### Host -The format is `hostname[:port]`. -`hostname` can be **Domain** or **IP Address**. +The format is `hostname[:port]`.\ +`hostname` can be **Domain** or **IP Address**.\ `:port` is optional, add it only if required by the target host. ### Path @@ -48,7 +48,7 @@ The update interval for the Rule set, in seconds or /^(\d+)(s|m|h|d)?$/. #### rawQuery -This parameter is required if the original link contains a url query. +This parameter is required if the original link contains a url query.\ Encrypt the part `key1=value1&key2=value2` after `?` in the original link with `encodeURIComponent` and use it as the payload of this parameter. #### filler @@ -65,5 +65,5 @@ Generation steps: ### URIFragment -Ruleset label. Empty strings are not recommended. +Ruleset label. Empty strings are not recommended.\ Need encoded by `encodeURIComponent`. diff --git a/luci-app-tinyfilemanager/README.md b/luci-app-tinyfilemanager/README.md index c5af1ff7f..5ad13e0e0 100644 --- a/luci-app-tinyfilemanager/README.md +++ b/luci-app-tinyfilemanager/README.md @@ -3,7 +3,7 @@ ### Screenshots -![demo](example/demo.png "demo") +![demo](example/demo.png "demo")
Real installation @@ -26,19 +26,24 @@ **If you need to change the upload limit for Tiny File Manager** -Edit [config.js](htdocs/luci-static/resources/view/tinyfilemanager/config.js) before build -Edit `/www/luci-static/resources/view/tinyfilemanager/config.js` in router +Edit [config.js](htdocs/luci-static/resources/view/tinyfilemanager/config.js) before build\ +Edit `/www/luci-static/resources/view/tinyfilemanager/config.js` in router + ```javascript o = s.option(form.Value, 'max_upload_size', _('Max upload size (MBytes)')); o.datatype = "and(uinteger,max(2048))"; //limit to 2048MB ``` -And edit [Makefile](Makefile) before build + +And edit [Makefile](Makefile) before build + ```makefile total_size_limit=?? #Total size of multiple files single_size_limit=?? #Max single file size otime_uploads_limit=?? #Max count of simultaneous uploads ``` -And edit `/etc/php.ini` in router + +And edit `/etc/php.ini` in router + ```ini post_max_size = ?? ;Total size of multiple files upload_max_filesize = ?? ;Max single file size