1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

add "reject quotes" toggle at user and instance level

+ improve, cleanup, and de-duplicate quote resolution
+ add warning message when quote cannot be loaded
+ add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
This commit is contained in:
Hazelnoot
2025-02-15 23:08:02 -05:00
parent 93ffd4611c
commit 292d3b9229
36 changed files with 466 additions and 88 deletions

34
locales/index.d.ts vendored
View File

@@ -8566,6 +8566,10 @@ export interface Locale extends ILocale {
* Un-silence users
*/
"write:admin:unsilence-user": string;
/**
* Allow/Reject quote posts from a user
*/
"write:admin:reject-quotes": string;
/**
* View your list of scheduled notes
*/
@@ -10242,6 +10246,14 @@ export interface Locale extends ILocale {
* Accepted reports from remote instance
*/
"acceptRemoteInstanceReports": string;
/**
* Rejected quotes from user
*/
"rejectQuotesUser": string;
/**
* Allowed quotes from user
*/
"allowQuotesUser": string;
};
"_fileViewer": {
/**
@@ -11240,6 +11252,22 @@ export interface Locale extends ILocale {
* Reject reports from this instance
*/
"rejectReports": string;
/**
* Reject quote posts from this instance
*/
"rejectQuotesInstance": string;
/**
* Reject quote posts from this user
*/
"rejectQuotesUser": string;
/**
* Are you sure you wish to reject quote posts?
*/
"rejectQuotesConfirm": string;
/**
* Are you sure you wish to allow quote posts?
*/
"allowQuotesConfirm": string;
/**
* This host is blocked implicitly because a base domain is blocked. To unblock this host, first unblock the base domain(s).
*/
@@ -12109,6 +12137,12 @@ export interface Locale extends ILocale {
* Applies a content warning to all posts created by this user. If the post already has a CW, then this is appended to the end.
*/
"mandatoryCWDescription": string;
"_processErrors": {
/**
* Unable to process quote. This post may be missing context.
*/
"quoteUnavailable": string;
};
}
declare const locales: {
[lang: string]: Locale;