nextcloud / nextcloud/server

Better feedback on trusted server status

Open
#22,510 4 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: federation
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

When adding trusted servers, the status indication with just yellow/green bubbles doesn't give any clear hint to what is going on. Basically the followings steps are required in order to have them show up as successfully connected:

  • add remove server on both ends
  • either wait or:
    • trigger cron (up to) twice on both ends for the shared secret exchange
    • manually trigger occ federation:sync-addressbooks

Ideally we should give a litte hint about at which stage of the sync the trusted server currently is. E.g.:

  • Shared secret exchange pending
  • Federated addressbook sync pending

cc @nextcloud/sharing

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace trusted-server setup and the occ federation:sync-addressbooks entry point, then follow how shared secret exchange and federated addressbook synchronization expose their current stages. Done means the trusted-server status distinguishes pending shared-secret exchange from pending federated addressbook synchronization instead of showing only yellow or green bubbles.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
distributed-systems, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.