aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): Make sure file pointer existsfilePointerCheckGit'Fellow2025-03-071-8/+8
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* feat(dav): add webhook compatibility for calendar object eventsEdward Ly2025-03-079-0/+272
| | | | Signed-off-by: Edward Ly <contact@edward.ly>
* Merge pull request #51130 from nextcloud/fix/credential-passwordless-authJulius Knorr2025-03-071-5/+9
|\ | | | | fix: Do not build encrypted password if there is none
| * fix: Do not build encrypted password if there is nonefix/credential-passwordless-authJulius Knorr2025-03-061-5/+9
| | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | fix(systemtags): prevent tag edition if restrictedskjnldsv2025-03-065-1/+43
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-062-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-066-24/+34
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #51280 from nextcloud/artonge/fix/publicpage_attributeLouis2025-03-051-1/+2
|\ \ | | | | | | fix(login): Properly target public page with attribute
| * | fix(login): Properly target public page with attributeartonge/fix/publicpage_attributeLouis Chemineau2025-03-051-1/+2
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #50702 from ↵Andy Scherzinger2025-03-051-2/+4
|\ \ \ | |/ / |/| | | | | | | | Institutional-Investment-Group/feat/support-aws-session-token9 feat(object_store): Add support for session token (STS) in AWS credentials
| * | Merge branch 'master' into feat/support-aws-session-tokenHector Manuel2025-03-04210-970/+2018
| |\ \
| * | | feat(object_store): Add support for session token in AWS credentialsHector Valcarcel2025-02-061-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | - Pass session token, either null or with value, to the AWS Credentials constructor Signed-off-by: Hector Valcarcel <hmvalcarcel@gmail.com>
* | | | fix: No IFactory in constructorbugfix/50619/no-session-work-in-constructorMarcel Müller2025-03-051-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* | | | fix(files): Don't do session related work in the constructor of the ViewJoas Schilling2025-03-051-10/+10
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | fix: use mb_strtolower to convert login namecase-insensitive-loginCleopatra Enjeck M.2025-03-051-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
* | | | fix: Improve string comparisonCleopatra Enjeck M.2025-03-051-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
* | | | fix: Use case insensitive check when validating login nameCleopatra Enjeck M.2025-03-051-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-052-0/+12
| |/ / |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #47686 from nextcloud/fix/move-email-logic-local-user-backendCôme Chilliet2025-03-045-180/+140
|\ \ \ | | | | | | | | fix: Move login via email logic to local backend
| * | | fix: Move login via email logic to local backendfix/move-email-logic-local-user-backendFerdinand Thiessen2025-03-035-180/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #51073 from nextcloud/dbal-exception-queryRobin Appelman2025-03-042-6/+9
|\ \ \ \ | | | | | | | | | | feat: log query for dbal exceptions
| * | | | feat: log query for dbal exceptionsdbal-exception-queryRobin Appelman2025-02-262-6/+9
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #51116 from nextcloud/enh/noid/nullable-rangeArthur Schiwon2025-03-041-1/+1
|\ \ \ \ | | | | | | | | | | feat(AppFramework): extend range check to optional parameters
| * | | | feat(AppFramework): extend range check to optional parametersenh/noid/nullable-rangeArthur Schiwon2025-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | feat(appconfig): removing pre-migration checkenh/noid/clean-migration-check-appconfigMaxence Lange2025-03-041-42/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-048-0/+14
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #51000 from nextcloud/fix/federatedfilesharing/group-cleanupStephan Orbaugh2025-03-037-30/+92
|\ \ \ \ | | | | | | | | | | fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
| * | | | fix(Share20\Manager): Propagate user and group deletion to remote share ↵provokateurin2025-03-031-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | providers Signed-off-by: provokateurin <kate@provokateurin.de>
| * | | | fix(Share20): Convert broken hooks to IEventListenerprovokateurin2025-03-036-26/+76
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | refactor(TempManager): Simplify and unify implementations and remove legacy ↵refactor/tempmanagerprovokateurin2025-03-032-63/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behavior Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | Merge pull request #51095 from nextcloud/artonge/fix/epehmeral_sessionsLouis2025-03-033-7/+11
|\ \ \ \ \ | | | | | | | | | | | | fix(login): Ephemeral sessions
| * | | | | fix(login): Support subfolder install for ephemeral sessionsartonge/fix/epehmeral_sessionsLouis Chemineau2025-02-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | | | fix(login): Also check legacy annotation for ephemeral sessionsLouis Chemineau2025-02-272-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-034-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #51190 from nextcloud/pulsejet/truncate-1Varun Patil2025-03-023-0/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | feat(db): add truncateTable method
| * | | | | | feat(db): add truncateTable methodpulsejet/truncate-1Varun Patil2025-03-023-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* | | | | | | Fix A+ rating when checking with Nextcloud Security Scan.backport/51173/masterDaleBCooper2025-03-021-7/+7
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-024-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-012-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-03-018-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #50452 from nextcloud/chore/update-stubJoas Schilling2025-02-281-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | chore: update php intl stub and fix type issues
| * | | | | | fix: incorrect types detected by updated stubschore/update-stubFerdinand Thiessen2025-02-271-3/+3
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2025-02-28138-334/+168
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #50908 from nextcloud/chore/server-annotationsFerdinand Thiessen2025-02-271-6/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | | chore: Adjust `OCP\Server::get` annotation to work with phpstan
| * | | | | chore: Adjust `OCP\Server::get` annotation to work with phpstanchore/server-annotationsFerdinand Thiessen2025-02-191-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | | Merge pull request #50999 from nextcloud/fix/move-away-from-oc-appCôme Chilliet2025-02-274-32/+21
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | fix: Replace OC_App calls by IAppManager
| * | | | | fix: Remove incorrect `@throws` annotations and move away from OC_Appfix/move-away-from-oc-appCôme Chilliet2025-02-241-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | fix: Replace OC_App calls by IAppManagerCôme Chilliet2025-02-243-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | Merge pull request #51051 from nextcloud/artonge/fix/login_flow_v2_sessions_2Louis2025-02-276-61/+99
|\ \ \ \ \ \ | | | | | | | | | | | | | | feat: Close sessions created for login flow v2
| * | | | | | feat: Close sessions created for login flow v2artonge/fix/login_flow_v2_sessions_2Louis Chemineau2025-02-266-61/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>