nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.3k stars 4.06k forks source link

[Bug]: Show default expiration date on public share link creation #48860

Open sowjanyakch opened 1 week ago

sowjanyakch commented 1 week ago

⚠️ This issue respects the following points: ⚠️

Bug description

A default 7-day expiration is set for shares, but many users don’t notice it when creating shares. This leads to issues when shares expire, especially if the link was shared widely.

Steps to reproduce

  1. Create a public share link.
  2. Default expiration date is not shown in the share creation dialog.

    Image

Expected behavior

Default expiration date should be shown in the share creation dialog.

Nextcloud Server version

28

Operating system

None

PHP engine version

PHP 8.2

Web server

None

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

{ "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusteddomains": [ ], "datadirectory": "REMOVED SENSITIVE VALUE", "overwrite.cli.url": "REMOVED SENSITIVE VALUE", "dbtype": "mysql", "version": "28.0.10.2", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbtableprefix": "oc", "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "logtimezone": "Europe\/Berlin", "loglevel": 2, "log_authfailip": true, "log_rotate_size": 104857600, "installed": true, "memcache.local": "\OC\Memcache\APCu", "mail_smtpmode": "smtp", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "25", "force_language": "de_DE", "skeletondirectory": "", "singleuser": false, "maintenance": false, "updatechecker": false, "trashbin_retention_obligation": "30, 40", "htaccess.RewriteBase": "\/", "memcache.locking": "\OC\Memcache\Redis", "redis": { "host": "REMOVED SENSITIVE VALUE", "port": 0 }, "updater.release.channel": "enterprise", "simpleSignUpLink.shown": false, "sort_groups_by_name": true, "mail_sendmailmode": "smtp", "theme": "", "defaultapp": "files", "mysql.utf8mb4": true, "default_phone_region": "DE", "maintenance_window_start": 2, "preview_max_memory": 256, "profile.enabled": false, "mail_template_class": "OCA\EmailTemplateTLRZ\EMailTemplate", "default_language": "de_DE", "memcache.distributed": "\OC\Memcache\Redis", "htaccess.IgnoreFrontController": true, "updater.server.url": "REMOVED SENSITIVE VALUE", "trusted_proxies": "REMOVED SENSITIVE VALUE" }

List of activated Apps

Enabled:

Disabled:

Nextcloud Signing status

Nextcloud Logs

No response

Additional info

No response

skjnldsv commented 21 hours ago

More of an enhancement I'd say.