| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Fix failing csp/nonce check due to timed out session
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The CSP nonce is based on the CSRF token. This token does not change,
unless you log in (or out). In case of the session data being lost,
e.g. because php gets rid of old sessions, a new CSRF token is gen-
erated. While this is fine in theory, it actually caused some annoying
problems where the browser restored a tab and Nextcloud js was blocked
due to an outdated nonce.
The main problem here is that, while processing the request, we write
out security headers relatively early. At that point the CSRF token
is known/generated and transformed into a CSP nonce. During this request,
however, we also log the user in because the session information was
lost. At that point we also refresh the CSRF token, which eventually
causes the browser to block any scripts as the nonce in the header
does not match the one which is used to include scripts.
This patch adds a flag to indicate whether the CSRF token should be
refreshed or not. It is assumed that refreshing is only necessary
if we want to re-generate the session id too. To my knowledge, this
case only happens on fresh logins, not when we recover from a deleted
session file.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|\ \
| | |
| | | |
Make sure the password contains special characters
|
| | |
| | |
| | |
| | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|\ \ \
| |/ /
|/| | |
cleanup oci setup code
|
| | |
| | |
| | |
| | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \ \
| | | |
| | | | |
Revert "Fix active entry highlight in certain apps"
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Fix active entry highlight in certain apps
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
|
|\ \ \ \
| | | | |
| | | | | |
Don't log LDAP password when server is not available
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Fix "Uninitialized string offset: 0 at \/media\/psf\/stable9\/lib\/pr…
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
\/media\/psf\/stable9\/lib\/private\/URLGenerator.php#224"
The URLGenerator doesn't support `` as target for absolute URLs, we need to link to `/` thus.
Regression introduced with https://github.com/nextcloud/server/commit/46229a00f39e507249dbe3ceb7507277da3fa4f8
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Refactor webroot detection in resource locator
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The current implementation breaks installations with symlinks to
directories inside the webroot (i.E. apps).
With this change both variants, directory and symlinks, will be detected
correctly.
Fixes: #6028
Signed-off-by: Axel Helmert <axel.helmert@luka.de>
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
nextcloud/bugfix/2855/dont_send_invitations_for_past_events
don't send invitation emails for past events
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Allow group backend to declare users as admins
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Knut Ahlers <knut@ahlers.me>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Knut Ahlers <knut@ahlers.me>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Properly include file
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Regression from https://github.com/nextcloud/server/commit/005ef115fbffecb22a7ac9e65425419aca90c1aa
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix undefined index oauthState
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
adjust tests to new failed storage handling
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fix login with basic auth
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix layout of alternative login buttons
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* fixes #6367
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
cache nodes from search results
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
| |/ / / / /
|/| | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Set the meta data before everything
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This ensures that the meta data is set in the beginning
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
recognize groupOfUniqueNames as valid LDAP group object
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This was already partly done in f88109b but was missed in the
fetchGroups function.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
LDAP Connectivity Fixes
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: Jarkko Lehtoranta <devel@jlranta.com>
|