feat(plugins): install an older version of a plugin (#2035)

Adds a version picker to the plugin admin panel, on desktop and mobile: every
published version with its own server-computed compatibility verdict, so the
client never re-derives semver range logic.

A deliberate non-latest pick sets an update hold on the row, which keeps the
update banner and "Update all" from immediately nagging the rollback away. The
hold releases when an install lands back on the newest compatible version by any
path, or when the admin resumes updates explicitly. An unresolvable registry
never sets one: refusing to pin on missing information beats silently muting
future updates.
This commit is contained in:
jubnl
2026-08-25 17:30:27 +02:00
committed by GitHub
parent b5c8182410
commit 4ba407aead
37 changed files with 1383 additions and 42 deletions
+13
View File
@@ -468,6 +468,19 @@ const admin: TranslationStrings = {
'admin.plugins.sortUpdates': 'Önce güncellemeler',
'admin.plugins.sortDownloads': 'En çok indirilen',
'admin.plugins.updatesAvailable': 'Eklentileriniz için {count} güncelleme mevcut.',
'admin.plugins.newerNeedsTrek': 'v{version} mevcut — TREK {range} gerektirir',
'admin.plugins.versionsTitle': 'Sürümler',
'admin.plugins.versionPickerTitle': 'Sürüm değiştir — {name}',
'admin.plugins.versionSwitch': '{version} sürümüne geç',
'admin.plugins.versionNeedsTrek': 'TREK {range} gerektirir',
'admin.plugins.changeVersion': 'Sürüm değiştir…',
'admin.plugins.noVersions': 'Kayıt defterinde yayımlanmış sürüm bulunamadı.',
'admin.plugins.downgradeTitle': 'Bu eklenti geri alınsın mı?',
'admin.plugins.downgradeBody': 'v{from} sürümünden v{to} sürümüne geçiş: daha yeni sürümün yazdığı veriler yerinde kalır ve eski sürüm bunları anlamayabilir.',
'admin.plugins.downgradeConfirm': 'Geri al',
'admin.plugins.updatesHeld': 'Güncellemeler v{version} sürümünde duraklatıldı',
'admin.plugins.resumeUpdates': 'Güncellemeleri sürdür',
'admin.plugins.updatesResumed': 'Güncellemeler sürdürüldü',
'admin.plugins.updateAll': 'Tümünü güncelle',
'admin.plugins.noMatchInstalled': 'Aramanızla eşleşen yüklü eklenti yok.',
'admin.plugins.noMatchRegistry': 'Dizinde aramanızla eşleşen eklenti yok.',