Share defaults actually take effect (#52 follow-up) #57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/share-defaults-wire"
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?
Completes the last wire from the settings panel: the share dialog now reads
shareDefaultExpiry/shareAllowUploadDefaultfrom the store instead of hardcoding 1 day / off.openShareDialogpre-fills the expiry dropdown and upload checkbox from aserverSettingscache (fetched at page load, refreshed in-session from the PUT response when settings are saved).shareDefaultExpiryto"24h"for an unconfigured instance, so behavior is unchanged until an admin sets otherwise — and this disambiguates "unset" from an explicit "Never" (""), so an admin can now genuinely default shares to no-expiry if they want.gofmt/vet/build/test +
node --checkgreen on the runner. Test updated for the new store default.