]> git.mxchange.org Git - friendica.git/commit
Add fields to Report entity
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 10 Dec 2022 14:08:12 +0000 (09:08 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 9 Jul 2023 22:32:42 +0000 (18:32 -0400)
commit76de49a25cd08d63b08b3352e31a1ed0f3145603
treeff6cd76c243e81a9f39ffc40c313733b7fd98e65
parentd29a84ae461d75b14473157b842a025380433b5b
Add fields to Report entity

- Add clock dependency to Moderation\Factory\Report
- Change DateTime field to DateTimeImmutable to satisfy Clock return type
- Add category, status and resolution constants
13 files changed:
.gitignore
database.sql
doc/database.md
doc/database/db_report-post.md
doc/database/db_report-rule.md [new file with mode: 0644]
doc/database/db_report.md
src/Moderation/Entity/Report.php
src/Moderation/Factory/Report.php
src/Moderation/Repository/Report.php
src/Module/Api/Mastodon/Reports.php
src/Protocol/ActivityPub/Processor.php
static/dbstructure.config.php
tests/src/Moderation/Factory/ReportTest.php