Teach admin-fe about custom source URLs #838

Open
Oneric wants to merge 1 commit from Oneric/akkoma:custom-source into develop
2 changed files with 19 additions and 1 deletions

View file

@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## UNRELEASED ## UNRELEASED
## Added
- It is now possible to display custom source URLs in akkoma-fe;
the settings are part of the frontend configuration
## Fixed ## Fixed
- Media proxy no longer attempts to proxy embedded images - Media proxy no longer attempts to proxy embedded images

View file

@ -1194,7 +1194,9 @@
showInstanceSpecificPanel: false, showInstanceSpecificPanel: false,
subjectLineBehavior: "email", subjectLineBehavior: "email",
theme: "pleroma-dark", theme: "pleroma-dark",
webPushNotifications: false webPushNotifications: false,
backendCommitUrl: "",
frontendCommitUrl: ""
} }
], ],
children: [ children: [
@ -1398,6 +1400,18 @@
label: "Stop Gifs", label: "Stop Gifs",
type: :boolean, type: :boolean,
description: "Whether to pause animated images until they're hovered on" description: "Whether to pause animated images until they're hovered on"
},
%{
key: :backendCommitUrl,
label: "Backend Commit URL",
type: :string,
description: "URL prefix for backend commit hashes"
},
%{
key: :frontendCommitUrl,
label: "Frontend Commit URL",
type: :string,
description: "URL prefix for frontend commit hashes"
} }
] ]
}, },