Commit Graph

6 Commits (jtr/fix-public-exceptions-http-codes)

Author SHA1 Message Date
Andy Scherzinger ce7b331d33
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-19 12:02:43 +07:00
Cyrille Bollu c6a5c07041 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>
2022-04-11 21:58:24 +07:00
Daniel Calviño Sánchez 7ad1b150ab Remove extra margin from warning messages in authenticate page
In the public share authentication page the form elements appear inside
a container that uses the "warning" CSS class. When the given password
is wrong a warning message is shown inside that container; this message
uses the "warning" CSS class too, so the top margin set for ".warning"
elements need to be removed in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-05-07 10:56:01 +07:00
Jan-Christoph Borchardt 5ba75e727c
Fix password protected share link button
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-23 15:18:37 +07:00
Daniel Calviño Sánchez e062057cf6 Override server SCSS rules for confirm button in guest pages
As the server defines some SCSS rules using "XXX + .icon-confirm" the
selector is more specific than just "input" used in "guest.css", so
the server SCSS rules took precedence over the guest CSS rules. Now a
more specific selector was added to the guest and public share auth
rules; as the guest and public share auth rules are loaded after the
server ones now the guest rules for input elements take precedence over
the server ones.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-07-13 05:48:59 +07:00
Roeland Jago Douma 31392c2443
Move public auth page over
Now this is in core so the basics (that 99% of the app will want to
use) looks always the same.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-20 08:53:37 +07:00