Skip to content

Commit 1906c93

Browse files
committed
0.16.0
1 parent 0c35390 commit 1906c93

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

docs/changelogs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.16
2+
### 0.16.0
3+
- Add virtual user support.
4+
- Remove peer relationships if set to none.
5+
- Fix user deletion not remove user storage statistics.
6+
17
## 0.15
28
### 0.15.6
39
- Fix static file missing for package distribution.

frontend/api.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,11 +556,14 @@ export async function listPath(conn, path, {
556556

557557
if (path === '/' || path === ''){
558558
// this handles separate case for the root directory
559-
const dirnames = [
560-
(await conn.whoami()).username + '/'
561-
].concat(
559+
const myusername = (await conn.whoami()).username;
560+
let dirnames = [];
561+
if (!myusername.startsWith('.v-')){
562+
dirnames = dirnames.concat([myusername + '/']);
563+
}
564+
dirnames = dirnames.concat(
562565
(await conn.listPeers({ level: 1, incoming: false })).map(u => u.username + '/')
563-
)
566+
);
564567
return [
565568
{
566569
dirs: dirnames.map(dirname => ({

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "lfss"
3-
version = "0.15.6"
3+
version = "0.16.0"
44
description = "Lite file storage service"
55
authors = ["Li, Mengxun <[email protected]>"]
66
readme = "Readme.md"

0 commit comments

Comments
 (0)