aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* fix(RichObjectStrings): Make exception messages for invalid parameters more ↵fix/rich-object-strings/better-exception-messagesprovokateurin2025-03-122-7/+7
| | | | | | useful for debugging Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(lookup-server): disable lookup server for non-global scale setupsFerdinand Thiessen2025-03-111-2/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(lookup-server): do not query data by defaultFerdinand Thiessen2025-03-111-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: fix getNodeFromCacheEntryAndMount using relative pathRobin Appelman2025-03-101-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #51029 from nextcloud/fix/deprecate-oc-template-and-cleanupCôme Chilliet2025-03-108-529/+540
|\ | | | | fix: Deprecate OC_Template, add proper template manager instead
| * fix: Use a dedicated Exception class for when a template is not foundfix/deprecate-oc-template-and-cleanupCôme Chilliet2025-03-063-20/+20
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManagerCôme Chilliet2025-03-061-3/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Cleanup of internal class TemplateLayoutCôme Chilliet2025-03-062-164/+160
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Fix signatures and types in template related classesCôme Chilliet2025-03-062-5/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Replace all usage of OC_Template by the new APICôme Chilliet2025-03-062-31/+25
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Fix psalm issues and add missing methods to ITemplate interfaceCôme Chilliet2025-03-062-8/+7
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Add missing ITemplate interface and clean code in Template classCôme Chilliet2025-03-063-53/+41
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Deprecate OC_Template, add proper template manager insteadCôme Chilliet2025-03-064-318/+353
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Remove now unused methods from User managerCôme Chilliet2025-03-101-47/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Correctly count disabled users for SAML groups subadminsCôme Chilliet2025-03-101-2/+25
| | | | | | | | | | | | If too many users return -1 as for LDAP so that link is shown Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | 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-061-1/+13
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.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-0456-652/+759
| |\ \
| * | | 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>
* | | Merge pull request #47686 from nextcloud/fix/move-email-logic-local-user-backendCôme Chilliet2025-03-043-178/+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-033-178/+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>
* | | | Merge pull request #51000 from nextcloud/fix/federatedfilesharing/group-cleanupStephan Orbaugh2025-03-034-24/+80
|\ \ \ \ | | | | | | | | | | 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-033-20/+64
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | refactor(TempManager): Simplify and unify implementations and remove legacy ↵refactor/tempmanagerprovokateurin2025-03-031-57/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | feat(db): add truncateTable methodpulsejet/truncate-1Varun Patil2025-03-022-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* | | | | | fix: incorrect types detected by updated stubschore/update-stubFerdinand Thiessen2025-02-271-3/+3
| |_|/ / / |/| | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | Merge pull request #50999 from nextcloud/fix/move-away-from-oc-appCôme Chilliet2025-02-273-23/+7
|\ \ \ \ \ | |/ / / / |/| | | | 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-242-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Merge pull request #51051 from nextcloud/artonge/fix/login_flow_v2_sessions_2Louis2025-02-274-61/+95
|\ \ \ \ \ | | | | | | | | | | | | feat: Close sessions created for login flow v2
| * | | | | feat: Close sessions created for login flow v2artonge/fix/login_flow_v2_sessions_2Louis Chemineau2025-02-264-61/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge pull request #51050 from nextcloud/artonge/fix/extra_files_integrity_checkLouis2025-02-261-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix: Report duplicated extra files in integrity check