mirror of
1
Fork 0
gotosocial/web/template
f0x52 92de8fb396
[feature] Instance rules (#2125)
* init instance rules database model, admin api

* expose instance rules in public instance api

* public /api/v1/instance/rules route

* GET ruleById

* createRule route

* createRule auth check

* updateRule

* deleteRule

* list rules on about page

* ruleGet auth

* add about page ids for anchors

* process and store adding violated rules to reports

* admin api models for instance rules

* instance rule edit frontend

* change rule inputs to textareas

* database fixes after rebase (#2124)

* remove unused imports

* fix db migration column name

* fix tests

* fix more tests

* fix postgres error with wrongly used Ident

* add some tests, fiddle with rule model a bit, fix postgres migration

* swagger docs

---------

Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2023-08-19 14:33:15 +02:00
..
404.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
about.tmpl [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
authorize.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
confirmed.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
domain-blocklist.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
email_confirm.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_new_report.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_report_closed.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_reset.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
email_test.tmpl [feature] Email notifications for new / closed moderation reports (#1628) 2023-03-19 13:11:46 +01:00
error.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
finalize.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
footer.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
frontend.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
header.tmpl [chore/frontend] refactor header templating, add apple-touch-icon (#1850) 2023-05-31 13:54:00 +02:00
index.tmpl [chore] Add Feditext as recommended client (#2081) 2023-08-08 12:19:41 +02:00
oob.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
profile.tmpl [frogend/chore] Fix profile domain (#1779) 2023-05-14 14:49:01 +02:00
sign-in.tmpl [chore] Update templates license headers (#1672) 2023-04-04 11:33:11 +02:00
status.tmpl [frogend/bugfix] fix dynamicSpoiler elements (#1771) 2023-05-12 13:50:37 +02:00
tag.tmpl [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
thread.tmpl [frontend] Profiles with fields & more (#1764) 2023-05-11 17:46:32 +02:00