1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Add server-wide and user-only federation controls (#133)

### Description

Completes #122

### Please confirm

- [x] I am the legal owner or represent the legal owner of all work submitted (including LLM-generated code, if any)
- [x] I consent to my changes being added to this FOSS project
- [x] I have confirmed that this does not add new errors or warnings with `utils/clippy.sh`
- [ ] This PR used LLMs to generate some or all of the code changes

Reviewed-on: https://git.ngram.ca/OpenJam/rc-servers/pulls/133
This commit is contained in:
NG (Graham)
2026-06-25 01:49:11 +00:00
committed by NGnius
parent e65d0eeb80
commit 995bafa70c
22 changed files with 522 additions and 15 deletions

View File

@@ -85,10 +85,30 @@
<div class="box-details-value"><a class="box-details-link" href="{{form.links.wiki}}">{{form.links.wiki}}</a></div>
</div>
</div>
<!--<div class="access-box">
Grid item 3
</div>
<div class="access-box">
<h4 class="access-box-title">Federation</h4>
<div class="box-details">
<div class="box-details-key">Enabled</div>
<div class="box-details-value">{{form.fediverse.enabled}}</div>
<div class="box-details-key">Aliases</div>
<div class="box-details-value">
{{#each form.fediverse.alias}}
<span>{{@key}} -> {{this}}</span><br/>
{{else}}
<span>[None]</span>
{{/each}}
</div>
<div class="box-details-key">Blocked</div>
<div class="box-details-value">
{{#each form.fediverse.defederated}}
<span>{{this}}</span><br/>
{{else}}
<span>[None]</span>
{{/each}}
</div>
</div>
</div>
<!--<div class="access-box">
Grid item 4
</div>
<div class="access-box">