commit 6b29123275ba5f62cfb41bb4b9591f54e78e36a3
parent f7049966136b7ab86cf58048b3954d0e3302900d
Author: vasyahacker <vasya@magicfreedom.com>
Date: Thu, 18 May 2023 09:45:33 +0400
man and readme fixes
Diffstat:
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
@@ -128,6 +128,7 @@ For example:
```
./idecctl [-u pointfile] useradd <name> <e-mail> <password>
```
+**Attention**: by default, a new user is added blocked, **set 'locked/no' in points.txt to unlock**
By default, pointfile is points.txt
@@ -156,7 +157,10 @@ Where options are:
list.txt by default.
-host <string> Host string for node. For ex. http://hugeping.tk.
http://127.0.0.1:8080 by default
+-noreg Disable new users registration
+-style path Path to /style web-directory (css/images) (default "./style")
-sys "name" Node name. "openidec" by default
+-tpl path Path to html templates (default "./tpl")
-u <points> Points file. "points.txt" by default.
-v Be verbose (for tracing)
```
@@ -165,10 +169,12 @@ Where options are:
```
./idecctl fetch http://club.syscall.ru
wget http://club.syscall.ru/list.txt # for echo descriptions
-./idecd -sys "newnode"
+./idecd -sys "newnode" -tpl www/tpl -style www/style
```
And open http://127.0.0.1:8080 in your browser.
+**Attention**: by default, a new user is added blocked, **set 'locked/no' in points.txt to unlock**
+
## Standarts supported
- u/e
diff --git a/man/idecctl.1 b/man/idecctl.1
@@ -89,9 +89,12 @@ idecctl [-u pointfile] useradd <name> <e-mail> <password>
By default, pointfile is points.txt
.fi
+.TP
+.B ATTENTION!
+by default, a new user is added blocked, set 'locked/no' in points.txt to unlock
.TP
.B BLACKLIST MSG
-idecctl [-u pointfile] useradd <name> <e-mail> <password>
+./ii-tool [-db db] blacklist <MsgId>
.nf
Blacklist is just new record with same id but spectial status.
diff --git a/man/idecd.1 b/man/idecd.1
@@ -77,10 +77,13 @@ http://127.0.0.1:8080/from/User/rss - From User
.SH EXAMPLES
Fetch db and start node:
.nf
-idecctl fetch http://hugeping.tk # get database from remote node
-ftp http://hugeping.tk/list.txt # for echo descriptions
-idecd -sys "newnode" # run node with name "newnode"
+idecctl fetch http://hugeping.tk # get database from remote node
+ftp http://hugeping.tk/list.text # for echo descriptions
+idecd -sys "newnode" -tpl www/tpl -style www/style # run node with name "newnode"
.fi
+.SH
+ATTENTION!
+by default, a new user is added blocked, set 'locked/no' in points.txt to unlock
.SH SEE ALSO
idecctl(1), openidec(1), idecgmi(1)
.SH AUTHOR