Commit graph

21 commits

Author SHA1 Message Date
m0wer
1c741f590e
Merge branch 'master' into patch-3 2023-01-19 08:40:28 +01:00
Brett O'Donnell
93b30fcea0
allow extra options via environment variables
For example, when using https://github.com/OokTech/TW5-Bob you need the option `--wsserver`.  This will allow you to do `EXTRAOPTIONS=--wsserver`.
2023-01-14 15:42:21 +10:30
Brett O'Donnell
42324d0fe6
allow plugins via environment variable
This change will allow plugins to be defined via environment variable `PLUGINS`, for example:

```
PLUGINS=+plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb ++./mygreatplugin
```
2023-01-14 14:50:55 +10:30
jyusang
2a342a1cfb feat(init-and-run-wiki): Support path-prefix listen parameter 2022-07-16 16:15:03 +08:00
jyusang
5687667a91 refactor(init-and-run-wiki): Extract listen command configuration 2022-07-16 14:59:07 +08:00
m0wer
c71a3fcd89
feat(init-and-run-wiki): disable auth by default 2021-11-26 21:00:37 +03:00
m0wer
fde532a70b
[fix] Deleted wrong option. 2020-09-11 11:52:57 +02:00
m0wer
0976c84533
[fix] Typo. 2020-09-11 11:43:37 +02:00
m0wer
8d735f0e9d
[chore] Updated to --listen command.
--server is deprecated.
2020-09-11 11:32:00 +02:00
m0wer
7e16d405de
[chore] Delete unused code. 2020-09-11 11:11:35 +02:00
Chris B
1d356df701
Makes it possible to set empty password
Wraps user and password into double quotes to avoid variables with spaces to mess with the command line.
Also removes the colon from the password substitution to allow for empty passwords.
Only done for password, as empty user would possibly mess heavily with TiddlyWiki, as it uses the username to sign entries.
2019-08-11 16:02:46 +02:00
Mike Thomas
4f8763266d Change if/then style 2018-12-12 12:56:00 +00:00
Mike Thomas
77c1b6eff0 Update if/then style 2018-12-10 15:16:47 +00:00
Mike Thomas
ae3c4099b3 Enable serving the tiddlywiki at a non-root path 2018-11-17 21:55:46 +00:00
Darren Wurf
e22744bed8 Add NODE_MEM env variable to control memory usage 2017-07-08 15:52:39 +10:00
Tristram Oaten
2a8cc8f39e default user and pass 2016-10-10 14:24:51 +01:00
Tristram Oaten
7e51c7df1c fix for when auth is not supplied 2016-10-10 12:42:50 +01:00
Tristram Oaten
70faf8684f remove IP
Defaults to 0.0.0.0 anyway, and this way auth can be empty and not error
2016-10-10 12:37:28 +01:00
Tristram Oaten
1c4072cf28 build 2016-10-10 12:15:35 +01:00
Tristram Oaten
eb91f5c195 Update init-and-run-wiki 2016-10-10 12:07:55 +01:00
Martin Honermeyer
09e4b9d318 Do not try to initialize wiki if it exists already
(Tiddlywiki 5.1.x fails when running `--init` on an existing wiki.)
2014-11-15 18:44:05 +01:00