doc: changelog
parent
6fd6fdf35c
commit
f74348e907
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# 0.11.0
|
||||||
|
|
||||||
|
* Can now provide evidence for censures
|
||||||
|
|
||||||
# 0.10.0
|
# 0.10.0
|
||||||
|
|
||||||
Added `/api/v1/reports` endpoint which can show and filter recent actions on the fediseer
|
Added `/api/v1/reports` endpoint which can show and filter recent actions on the fediseer
|
||||||
|
|
|
@ -56,7 +56,7 @@ class Models:
|
||||||
})
|
})
|
||||||
self.input_censures_modify = api.model('ModifyCensure', {
|
self.input_censures_modify = api.model('ModifyCensure', {
|
||||||
'reason': fields.String(required=False, description="The reason for this censure. No profanity or hate speech allowed!", example="csam"),
|
'reason': fields.String(required=False, description="The reason for this censure. No profanity or hate speech allowed!", example="csam"),
|
||||||
'evidence': fields.String(required=False, description="The evidence for this censure. Typically URL but can be a long form of anything you feel appropriate.", example="https://link.to/your/evidence"),
|
'evidence': fields.String(required=False, description="The evidence for this censure. Typically URL but can be a long form of anything you feel appropriate.", example="https://link.to/your/evidence", max_length=1000),
|
||||||
})
|
})
|
||||||
self.response_model_api_key_reset = api.model('ApiKeyReset', {
|
self.response_model_api_key_reset = api.model('ApiKeyReset', {
|
||||||
"message": fields.String(default='OK',required=True, description="The result of this operation."),
|
"message": fields.String(default='OK',required=True, description="The result of this operation."),
|
||||||
|
@ -73,5 +73,5 @@ class Models:
|
||||||
'target_domain': fields.String(description="The instance domain which was the target of this activity", example="lemmy.dbzer0.com"),
|
'target_domain': fields.String(description="The instance domain which was the target of this activity", example="lemmy.dbzer0.com"),
|
||||||
'report_type': fields.String(description="The type of report activity", enum=[e.name for e in enums.ReportType]),
|
'report_type': fields.String(description="The type of report activity", enum=[e.name for e in enums.ReportType]),
|
||||||
'report_activity': fields.String(description="The activity reported", enum=[e.name for e in enums.ReportActivity]),
|
'report_activity': fields.String(description="The activity reported", enum=[e.name for e in enums.ReportActivity]),
|
||||||
'created': fields.DateTime(description="The date this record was added"),
|
'created': fields.DateTime(description="The date this record was added",),
|
||||||
})
|
})
|
|
@ -1,4 +1,4 @@
|
||||||
FEDISEER_VERSION = "0.10.0"
|
FEDISEER_VERSION = "0.11.0"
|
||||||
SUPPORTED_SOFTWARE = [
|
SUPPORTED_SOFTWARE = [
|
||||||
"lemmy",
|
"lemmy",
|
||||||
"mastodon",
|
"mastodon",
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE censures ADD COLUMN evidence TEXT;
|
Loading…
Reference in New Issue