mirror of
1
Fork 0
gotosocial/web/source
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
..
css [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
frontend [frogend/bugfix] fix dynamicSpoiler elements (#1771) 2023-05-12 13:50:37 +02:00
settings [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
.browserslistrc [chore] Bundler restructure (#880) 2022-10-03 16:46:38 +02:00
.eslintignore [chore/frontend] CI steps for frontend stuff (#997) 2022-11-10 14:08:54 +01:00
.eslintrc.js update license headers (#1612) 2023-03-12 17:49:06 +00:00
.gitignore [frontend] Restructure Frontend Sources (#634) 2022-06-09 12:51:19 +02:00
.license-header.js update license headers (#1612) 2023-03-12 17:49:06 +00:00
index.js [frontend] Profiles with fields & more (#1764) 2023-05-11 17:46:32 +02:00
package.json [Frontend] Settings for profile fields (#1885) 2023-06-13 12:21:26 +02:00
yarn.lock Bump word-wrap from 1.2.3 to 1.2.4 in /web/source (#2001) 2023-07-21 14:21:50 +00:00