mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
log creator of new/blank markdown files too
This commit is contained in:
parent
7ecedb2ce2
commit
d0d2f206a9
|
@ -3109,6 +3109,20 @@ class HttpCli(object):
|
|||
if "fperms" in vfs.flags:
|
||||
set_fperms(f, vfs.flags)
|
||||
|
||||
dbv, vrem = vfs.get_dbv(rem)
|
||||
self.conn.hsrv.broker.say(
|
||||
"up2k.hash_file",
|
||||
dbv.realpath,
|
||||
dbv.vpath,
|
||||
dbv.flags,
|
||||
vrem,
|
||||
sanitized,
|
||||
self.ip,
|
||||
bos.stat(fn).st_mtime,
|
||||
self.uname,
|
||||
True,
|
||||
)
|
||||
|
||||
vpath = "{}/{}".format(self.vpath, sanitized).lstrip("/")
|
||||
self.redirect(vpath, "?edit")
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue