| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Pass session token, either null or with value, to the AWS Credentials constructor
Signed-off-by: Hector Valcarcel <hmvalcarcel@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
|
| |/ /
|/| |
| | |
| | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|\ \ \
| | | |
| | | | |
fix: Move login via email logic to local backend
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Backends can decide which names they accept for login,
e.g. with user_ldap you can configure arbitrary login fields.
This was a hacky approach to allow login via email,
so instead this is now only handled by the local user backend.
This also fixes some other related problems:
Other logic relys on `backend::get()` which was not handling email,
so e.g. password policy could not block users logged in via email
if they use out-dated passwords.
Similar for other integrations, as the user backend was not consistent with
what is a login name and what not.
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
|
|\ \ \ \
| | | | |
| | | | | |
feat: log query for dbal exceptions
|
| | |_|/
| |/| |
| | | |
| | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \ \ \
| | | | |
| | | | | |
feat(AppFramework): extend range check to optional parameters
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now it also applies when a paramater is documtend with a pending |null,
but no further unionation is considered.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
|
| |_|/ /
|/| | |
| | | |
| | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|\ \ \ \
| | | | |
| | | | | |
fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
providers
Signed-off-by: provokateurin <kate@provokateurin.de>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: provokateurin <kate@provokateurin.de>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fix(login): Ephemeral sessions
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
feat(db): add truncateTable method
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Due to commit 33d7019 session.cookie_secure=true is not set when accessing /status.php.
This results in a degration from A+ to A rating due to missing __Host prefix for nc_sameSiteCookielax and nc_sameSiteCookiestrict cookies.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
chore: update php intl stub and fix type issues
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | | |
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
chore: Adjust `OCP\Server::get` annotation to work with phpstan
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
fix: Replace OC_App calls by IAppManager
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
feat: Close sessions created for login flow v2
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.
This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fix: Report duplicated extra files in integrity check
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The `array_diff` is not comparing the array keys. This means that an extra key with an expected hash will not be reported. Using `array_diff_assoc` will report such files.
For example, copying `status.php` to `status 2.php`, will only be reported with the new version.
Signed-off-by: Louis Chemineau <louis@chmn.me>
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- No leading/trailing whitespace
- Use asci single quote
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Update doc comment for prefixTableName
|
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: S1m <31284753+p1gp1g@users.noreply.github.com>
|
| |_|_|_|/ /
|/| | | | |
| | | | | |
| | | | | | |
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
fix: Initialize lastConnectionCheck after first connection
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We are checking whether the DB connection is alive once every 30 seconds. But when we are lacking the last check time, we are skipping the check and reconnect logic. This is causing the reconnect logic to never fire in those cases.
It seems to me that "those cases", are actually always the case, as upon initialization, we are not using the proper connection name to store the time.
In the `connect()` logic, when `$this->_conn` is null, `$this->getConnectionName()` is returning `replica`, so `$this->lastConnectionCheck` will be equal to `['replica' => time()];`
https://github.com/nextcloud/server/blob/60711ea4cfde6f53d0b18bcd7e166a34a43056a5/lib/private/DB/Connection.php#L215-L221
https://github.com/nextcloud/server/blob/60711ea4cfde6f53d0b18bcd7e166a34a43056a5/lib/private/DB/Connection.php#L891-L893
https://github.com/nextcloud/3rdparty/blob/2b6d7bf65ff242ea050e736925f752a38d8da220/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php#L136-L139
Then, if the connection name ends up as being 'primary', the reconnect logic is skipped:
https://github.com/nextcloud/server/blob/60711ea4cfde6f53d0b18bcd7e166a34a43056a5/lib/private/DB/Connection.php#L874-L880
Follow-up of https://github.com/nextcloud/server/pull/41819
Signed-off-by: Louis Chemineau <louis@chmn.me>
|