configurable auto-sync interval for gitea plugin

This commit is contained in:
2026-03-21 22:40:16 +02:00
parent 0558851427
commit 949c1331af
2 changed files with 36 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "gitea-sync",
"version": "1.0.0",
"version": "1.1.0",
"description": "Syncs public repositories from a Gitea instance as feedback boards",
"author": "echoboard",
"entryPoint": "index.js",
@@ -17,6 +17,20 @@
"type": "password",
"label": "API token",
"placeholder": "Leave empty for public repos only"
},
{
"key": "syncInterval",
"type": "select",
"label": "Auto-sync interval",
"options": [
{ "value": "off", "label": "Off - manual only" },
{ "value": "15", "label": "Every 15 minutes" },
{ "value": "30", "label": "Every 30 minutes" },
{ "value": "60", "label": "Every hour" },
{ "value": "360", "label": "Every 6 hours" },
{ "value": "720", "label": "Every 12 hours" },
{ "value": "1440", "label": "Every 24 hours" }
]
}
]
}