feat(files): API tokens in Settings, the Hub folder in Files, a notice before a token runs out
Settings gains an API tokens tab: a row per token (name and prefix; each folder with its rights; last use and expiry, "expires soon" marked), revoked from its menu behind a confirm. A new token is the Hub exchange in one click, or folders and rights picked per folder (no Write where an upload cannot land); expiry 30/90 days, 1 year or never (warned). The token shows once in the same dialog, with Copy and a ready curl line. The Hub folder closes the Sources in the Files rail, takes uploads and moved-in files. A token about to run out warns its user once, a week before (the Files GC's sixth pass); the notice opens the tokens tab.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"andMore_other": "és még {{count}}",
|
||||
"openScheduler": "Ütemező megnyitása",
|
||||
"openFile": "Fájl megnyitása",
|
||||
"openTokens": "API-tokenek megnyitása",
|
||||
"revertFailed": "Nem sikerült visszavonni — próbáld újra",
|
||||
"downloadDone": {
|
||||
"title": "Letöltés kész"
|
||||
@@ -46,6 +47,10 @@
|
||||
"downloadExpiring": {
|
||||
"title": "Hamarosan lejár egy letöltés"
|
||||
},
|
||||
"apiTokenExpiring": {
|
||||
"title": "Hamarosan lejár egy API-token",
|
||||
"body": "„{{name}}” lejár: {{date}}."
|
||||
},
|
||||
"downloadExpired": {
|
||||
"title": "Egy letöltés lejárt, és törlődött"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user