0.1.3: upload a vault to a team from the app, detach first; AGPL-3.0
- The Lune window shows Upload on a vault that isn't on a team, for the team owner and anyone who manages a vault there. The hub now lets those people create vaults too (was owner only); /api/me and the canvas say can_create. - A vault on its own remote (GitHub, GitLab, Gitea…) must be detached first (`lunesync vault detach`, or the Upload sheet's Detach): it shares what's waiting one last time, then lives on this device only. Upload refuses anything else, and a check-in no longer silently moves a same-named vault off its own remote onto the hub. - Upload logic moved from the CLI into core (lune_core::upload). - Canvas: "1 person loses access". - License: AGPL-3.0-only. README and SPEC §8 updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
15
README.md
15
README.md
@@ -8,7 +8,7 @@ Lune keeps shared Markdown vaults (ordinary folders of notes, the kind Obsidian
|
||||
- **Access as a lifecycle.** Invite, change roles, remove someone from one vault or from the whole team. Their unshared work comes back to you before their copy disappears.
|
||||
- **Approachable.** A menu-bar app and a web canvas. No terminal needed unless you want one.
|
||||
|
||||
> Lune is in an early pilot. The Mac app isn't signed by Apple yet (see [First open on a Mac](#first-open-on-a-mac)).
|
||||
> Lune is in its community release. The Mac app isn't signed by Apple yet (see [First open on a Mac](#first-open-on-a-mac)).
|
||||
|
||||
---
|
||||
|
||||
@@ -125,6 +125,7 @@ Lists each vault with its status, and anything that needs you:
|
||||
- **A big change is waiting:** **Undo** brings back everything it removed or rewrote; **Share anyway** sends it.
|
||||
- **A note may contain a secret:** type where the secret really lives and click **Replace**, or click **Not a secret**.
|
||||
- **A note was changed in two places:** **Compare** shows both versions with the differences highlighted. Keep one, or keep both as separate notes.
|
||||
- **Upload:** put a vault that's only on this Mac onto a team, history included. The button shows for the team owner and anyone who manages a vault there. A vault that syncs with its own remote (GitHub, GitLab, Gitea…) is **detached** from it first, so its notes don't end up in two places; that remote keeps its copy as it was.
|
||||
- **Join another team:** add a second hub, such as your workplace's. **Leave** next to a team removes this Mac from it (anything unshared is handed over first).
|
||||
|
||||
### The team canvas
|
||||
@@ -133,7 +134,7 @@ Open it from the menu (**Open team canvas**), or with `lunesync open`. Managers
|
||||
|
||||
- **Grant:** drag a vault onto a person.
|
||||
- **Revoke:** pull the ribbon between them until it snaps. You get an **Undo** for about 8 seconds; nothing reaches their devices before that.
|
||||
- **Invite person**, **New vault**, **Delete vault…** (team owner; asks first, and the history stays archived on the hub), change roles, rename devices, **Nudge** a device that's behind, tidy notes changed in two places, review **handovers**, and (team owner only) **Remove from team** or **Restore**.
|
||||
- **Invite person**, **New vault** (the team owner and anyone who manages a vault), **Delete vault…** (team owner; asks first, and the history stays archived on the hub), change roles, rename devices, **Nudge** a device that's behind, tidy notes changed in two places, review **handovers**, and (team owner only) **Remove from team** or **Restore**.
|
||||
|
||||
Every gesture also has a button in the side panel. Every access change is recorded in the hub's access log.
|
||||
|
||||
@@ -153,7 +154,9 @@ lunesync pair # a one-time code to add another device
|
||||
Team management from the terminal:
|
||||
|
||||
```sh
|
||||
lunesync vault new DevOps
|
||||
lunesync vault new DevOps # the team owner, or anyone who manages a vault
|
||||
lunesync vault detach Brain # stop syncing with its own remote (GitHub, GitLab…); stays on this device
|
||||
lunesync vault upload Brain # put a vault that's only on this device onto the team
|
||||
lunesync invite Alice --vault DevOps:edit --vault Notes:read
|
||||
lunesync grant Alice Notes --role manage
|
||||
lunesync members DevOps
|
||||
@@ -177,6 +180,8 @@ lunesync add Notes ~/Vaults/Notes --remote git@github.com:you/notes.git
|
||||
lunesync run
|
||||
```
|
||||
|
||||
Such a vault still shows in the Lune app with its status, but not on a team canvas: who can reach it is up to that remote. To bring it onto a team, **detach** it and **upload** it (above).
|
||||
|
||||
---
|
||||
|
||||
## Options
|
||||
@@ -299,7 +304,7 @@ cargo test --workspace # sync, hub and conflict tests
|
||||
cargo install --path cli # lunesync
|
||||
(cd web && npm ci && npm run build) # the team canvas, embedded in the hub
|
||||
cargo build --release -p lunehub # the hub
|
||||
desktop/build.sh 0.1.1 # the Mac app (macOS, Apple silicon)
|
||||
desktop/build.sh <version> # the Mac app (macOS, Apple silicon)
|
||||
```
|
||||
|
||||
| Folder | |
|
||||
@@ -313,4 +318,4 @@ desktop/build.sh 0.1.1 # the Mac app (macOS, Apple silicon)
|
||||
|
||||
## License
|
||||
|
||||
Not chosen yet.
|
||||
[GNU Affero General Public License v3.0](LICENSE) (AGPL-3.0-only). You may use, change and share Lune freely; if you run a changed hub for others, offer them its source.
|
||||
|
||||
Reference in New Issue
Block a user