1
2
Fork
You've already forked open-web-gallery
0

Move adapter presets out of configure scripts and into adapter definitions #3

Open
opened 2026年03月13日 01:03:41 +01:00 by box464 · 0 comments

Right now, the adapter presets are built on the Configuration page, but they should be stored on the appropriate adapter file instead.

const PRESETS = {
mastodon: {
instances: ['mastodon.social', 'mastodon.world', 'hachyderm.io', 'theforkiverse.com'],
hasActor: true,
actorLabel: 'User Handle',
actorPresets: null,
hasFeed: false,
hasAiFilter: false,
hasRepostFilter: true,
},
bluesky: {
instances: ['bsky.app', 'blacksky.community'],
hasActor: true,
Right now, the adapter presets are built on the Configuration page, but they should be stored on the appropriate adapter file instead. https://codeberg.org/box464/open-web-gallery/src/commit/f00a0abc8e11c4c8c8a8374f53648cc1fb25acf9/public/configure/index.html#L191-203
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
box464/open-web-gallery#3
Reference in a new issue
box464/open-web-gallery
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?