add: request-to-join communities

add: private joined communities setting
add: "void" community
add: ability to delete communities
This commit is contained in:
trisua 2025-04-01 15:03:56 -04:00
parent 3a8af17154
commit d0c1fbcf9a
20 changed files with 669 additions and 122 deletions

View file

@ -75,7 +75,7 @@
</div>
</div>
{% if not is_self %}
{% if not is_self and user %}
<div class="card-nest">
<div class="card small">
<b>{{ text "auth:label.relationship" }}</b>
@ -157,8 +157,8 @@
</script>
</div>
</div>
{% endif %}
{% endif %} {% if not profile.settings.private_communities or
is_self %}
<div class="card-nest">
<div class="card small flex gap-2 items-center">
{{ icon "users-round" }}
@ -174,6 +174,7 @@
{% endfor %}
</div>
</div>
{% endif %}
</div>
<div class="rhs w-full">{% block content %}{% endblock %}</div>

View file

@ -378,10 +378,21 @@
profile_settings,
[
[
["private_profile", "Private profile"],
[
"private_profile",
"Only allow users I'm following to view my profile",
],
"{{ user.settings.private_profile }}",
"checkbox",
],
[
[
"private_communities",
"Keep my joined communities private",
],
"{{ user.settings.private_communities }}",
"checkbox",
],
],
settings,
);