]> source.dussan.org Git - nextcloud-server.git/commit
Adds a "Request password" button to the public share authentication page for shares 31220/head
authorCyrille Bollu <cyrpub@bollu.be>
Sat, 5 Feb 2022 19:49:17 +0000 (20:49 +0100)
committerCyrille Bollu <cyrpub@bollu.be>
Mon, 11 Apr 2022 19:58:24 +0000 (21:58 +0200)
commitc6a5c07041d2e5d20771409aede8b755d28372ac
tree71051efd25c16bed5a419eb1670477f1f5471933
parent60f946aba5862102a81100b09e26b37b6d59a3fa
Adds a "Request password" button to the public share authentication page for shares
of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing
non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves.

- Creates a migration step for the files_sharing app to add the 'password_expiration_time'
  attribute to the oc_shares table.
- Makes share temporary passwords' expiration time configurable via a system value.
- Adds a system config value to allow permanent share passwords

-Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue

See https://github.com/nextcloud/server/issues/31005

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
23 files changed:
apps/files_sharing/appinfo/info.xml
apps/files_sharing/composer/composer/autoload_classmap.php
apps/files_sharing/composer/composer/autoload_static.php
apps/files_sharing/composer/composer/installed.php
apps/files_sharing/lib/Controller/ShareAPIController.php
apps/files_sharing/lib/Controller/ShareController.php
apps/files_sharing/lib/Migration/Version24000Date20220208195521.php [new file with mode: 0644]
apps/files_sharing/src/components/SharingEntryLink.vue
apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
apps/files_sharing/tests/Controller/ShareControllerTest.php
apps/sharebymail/lib/ShareByMailProvider.php
apps/sharebymail/tests/ShareByMailProviderTest.php
core/css/publicshareauth.css
core/js/publicshareauth.js
core/templates/publicshareauth.php
dist/files_sharing-files_sharing_tab.js
dist/files_sharing-files_sharing_tab.js.map
lib/private/Share20/Manager.php
lib/private/Share20/ProviderFactory.php
lib/private/Share20/Share.php
lib/public/AppFramework/AuthPublicShareController.php
lib/public/Share/IShare.php
tests/lib/AppFramework/Controller/AuthPublicShareControllerTest.php