web: manual updates, mention the spanner
[ci skip]
This commit is contained in:
parent
34c43489f8
commit
9a49b813c1
@ -99,21 +99,25 @@ You can restrict what the users who reach it can do, by
|
|||||||
uses the X-Sandstorm-Permissions header to integrate with Sandstorm's permissions.
|
uses the X-Sandstorm-Permissions header to integrate with Sandstorm's permissions.
|
||||||
This is disabled by default.
|
This is disabled by default.
|
||||||
|
|
||||||
# EDITING
|
# EDITING, UPLOADING, DOWNLOADING
|
||||||
|
|
||||||
Note that if you enable the `manage` capability mentioned above,
|
If you enable the `manage` capability mentioned above,
|
||||||
hledger-web lets you alter or erase (by editing or uploading) the journal
|
you'll see a new "spanner" button to the right of the search form.
|
||||||
file and any files it includes. This is unlike any other hledger command.
|
Clicking this will let you edit, upload, or download the journal
|
||||||
|
file or any files it includes.
|
||||||
|
|
||||||
|
Note, unlike any other hledger command, in this mode you (or any visitor)
|
||||||
|
can alter or wipe the data files.
|
||||||
|
|
||||||
Normally whenever a file is changed in this way, hledger-web saves a numbered backup
|
Normally whenever a file is changed in this way, hledger-web saves a numbered backup
|
||||||
(assuming file permissions allow it, the disk is not full, etc.)
|
(assuming file permissions allow it, the disk is not full, etc.)
|
||||||
It is not currently aware of version control systems; if you use one,
|
hledger-web is not aware of version control systems, currently; if you use one,
|
||||||
you'll have to arrange to commit the changes yourself (eg with a cron job
|
you'll have to arrange to commit the changes yourself (eg with a cron job
|
||||||
or a file watcher like entr).
|
or a file watcher like entr).
|
||||||
|
|
||||||
Also normally, edits which would leave the journal file(s) unparseable
|
Changes which would leave the journal file(s) unparseable or non-valid
|
||||||
or non-valid (eg with failing balance assertions) are prevented
|
(eg with failing balance assertions) are prevented.
|
||||||
(this needs re-testing).
|
(Probably. This needs re-testing.)
|
||||||
|
|
||||||
# RELOADING
|
# RELOADING
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user