]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoMerge pull request #33458 from nextcloud/object-store-validate-write
John Molakvoæ [Wed, 26 Oct 2022 19:40:07 +0000 (21:40 +0200)]
Merge pull request #33458 from nextcloud/object-store-validate-write

allow disabling object store write check

2 years agoMerge pull request #33488 from nextcloud/dependabot/npm_and_yarn/testing-library...
Julius Härtl [Wed, 26 Oct 2022 19:34:20 +0000 (21:34 +0200)]
Merge pull request #33488 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-14.4.3

Bump @testing-library/user-event from 14.1.1 to 14.4.3

2 years agotest disabling write check 33458/head
Robin Appelman [Thu, 4 Aug 2022 10:32:46 +0000 (12:32 +0200)]
test disabling write check

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoallow disabling object store write check
Robin Appelman [Thu, 4 Aug 2022 10:32:20 +0000 (12:32 +0200)]
allow disabling object store write check

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #34825 from nextcloud/fix/noid/comments-empty-content
Richard Steinmetz [Wed, 26 Oct 2022 16:17:07 +0000 (18:17 +0200)]
Merge pull request #34825 from nextcloud/fix/noid/comments-empty-content

Fix empty content regressions in comments app

2 years agoMerge pull request #34789 from nextcloud/fix/pre-commit-exclude-composer-autoload...
Julius Härtl [Wed, 26 Oct 2022 16:01:40 +0000 (18:01 +0200)]
Merge pull request #34789 from nextcloud/fix/pre-commit-exclude-composer-autoload-from-codestyle

Do not apply codestyle to composer autoloaders

2 years agoFix empty content regressions in comments app 34825/head
Richard Steinmetz [Wed, 26 Oct 2022 14:07:22 +0000 (16:07 +0200)]
Fix empty content regressions in comments app

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #34788 from nextcloud/bugfix/noid/preview-attributes
Julius Härtl [Wed, 26 Oct 2022 13:11:01 +0000 (15:11 +0200)]
Merge pull request #34788 from nextcloud/bugfix/noid/preview-attributes

2 years agoMerge pull request #34809 from nextcloud/artonge/fix/getMetadata_return_type
Louis [Wed, 26 Oct 2022 12:25:09 +0000 (14:25 +0200)]
Merge pull request #34809 from nextcloud/artonge/fix/getMetadata_return_type

Fix getMetadata return type

2 years agoMerge pull request #34804 from nextcloud/bugfix/noid/ldap-login-filter-no-mail
Vincent Petry [Wed, 26 Oct 2022 12:12:31 +0000 (14:12 +0200)]
Merge pull request #34804 from nextcloud/bugfix/noid/ldap-login-filter-no-mail

Skip general login with email for non-valid addresses and LDAP

2 years agoSkip general login with email for non-valid addresses and LDAP 34804/head
Julius Härtl [Tue, 25 Oct 2022 13:38:31 +0000 (15:38 +0200)]
Skip general login with email for non-valid addresses and LDAP

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoFix getMetadata return type 34809/head
Louis Chemineau [Wed, 26 Oct 2022 09:30:19 +0000 (11:30 +0200)]
Fix getMetadata return type

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agoMerge pull request #34776 from nextcloud/enh/noid/improve-browser-warning
John Molakvoæ [Wed, 26 Oct 2022 08:07:48 +0000 (10:07 +0200)]
Merge pull request #34776 from nextcloud/enh/noid/improve-browser-warning

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 26 Oct 2022 02:13:50 +0000 (02:13 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoCompile assets 34776/head
nextcloud-command [Tue, 25 Oct 2022 23:10:21 +0000 (23:10 +0000)]
Compile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoAddress review
Simon L [Tue, 25 Oct 2022 22:55:49 +0000 (00:55 +0200)]
Address review

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2 years agoupdate browser warning
szaimen [Mon, 24 Oct 2022 15:42:41 +0000 (17:42 +0200)]
update browser warning

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoMerge pull request #34691 from nextcloud/profiler/ldap-backtrace
Carl Schwan [Tue, 25 Oct 2022 15:00:23 +0000 (17:00 +0200)]
Merge pull request #34691 from nextcloud/profiler/ldap-backtrace

Add backtrace to ldap profiler collector

2 years agoCheck share attributes on preview endpoints 34788/head
Julius Härtl [Tue, 25 Oct 2022 07:15:39 +0000 (09:15 +0200)]
Check share attributes on preview endpoints

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoMerge pull request #34774 from nextcloud/fix/fair-use-ldap-fix
Côme Chilliet [Tue, 25 Oct 2022 09:16:01 +0000 (11:16 +0200)]
Merge pull request #34774 from nextcloud/fix/fair-use-ldap-fix

Expose mapped user count from LDAP and use that for user limit check

2 years agoDo not apply codestyle to composer autoloaders 34789/head
Côme Chilliet [Tue, 25 Oct 2022 07:16:19 +0000 (09:16 +0200)]
Do not apply codestyle to composer autoloaders

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix autoloaders 34774/head
Côme Chilliet [Tue, 25 Oct 2022 07:13:56 +0000 (09:13 +0200)]
Fix autoloaders

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoUpdate lib/public/User/Backend/ICountMappedUsersBackend.php
Côme Chilliet [Tue, 25 Oct 2022 07:12:02 +0000 (09:12 +0200)]
Update lib/public/User/Backend/ICountMappedUsersBackend.php

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 25 Oct 2022 02:18:42 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #34756 from nextcloud/revert-33087-fix/30282/external-storages
Simon L [Mon, 24 Oct 2022 18:58:13 +0000 (20:58 +0200)]
Merge pull request #34756 from nextcloud/revert-33087-fix/30282/external-storages

Revert "fix external storages access"

2 years agoMerge pull request #34706 from nextcloud/enh/noid/improve-one-click-instance-notification
Simon L [Mon, 24 Oct 2022 17:55:01 +0000 (19:55 +0200)]
Merge pull request #34706 from nextcloud/enh/noid/improve-one-click-instance-notification

update notifications for one-click instances

2 years agoupdate notifications for one-click instances 34706/head
szaimen [Thu, 20 Oct 2022 15:45:46 +0000 (17:45 +0200)]
update notifications for one-click instances

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoAdd missing file
Côme Chilliet [Mon, 24 Oct 2022 15:32:51 +0000 (17:32 +0200)]
Add missing file

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoExpose mapped user count from LDAP and use that for user limit check
Côme Chilliet [Mon, 24 Oct 2022 14:39:43 +0000 (16:39 +0200)]
Expose mapped user count from LDAP and use that for user limit check

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #34742 from nextcloud/add_well-known_changepassword
Christoph Wurst [Mon, 24 Oct 2022 09:13:33 +0000 (11:13 +0200)]
Merge pull request #34742 from nextcloud/add_well-known_changepassword

Add .well-known/changepassword handler

2 years agoMerge pull request #34740 from nextcloud/fix/image/x-icon
Simon L [Mon, 24 Oct 2022 08:31:10 +0000 (10:31 +0200)]
Merge pull request #34740 from nextcloud/fix/image/x-icon

Add ico image/x-icon

2 years agoMerge pull request #34626 from nextcloud/enhancement/rename-personal-groupware-settin...
Christoph Wurst [Mon, 24 Oct 2022 08:13:37 +0000 (10:13 +0200)]
Merge pull request #34626 from nextcloud/enhancement/rename-personal-groupware-settings-section-availability

Rename personal Groupware settings section to "Availability"

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 24 Oct 2022 02:14:59 +0000 (02:14 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoRevert "fix external storages access" 34756/head
Simon L [Sun, 23 Oct 2022 19:57:16 +0000 (21:57 +0200)]
Revert "fix external storages access"

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoMerge pull request #33087 from nextcloud/fix/30282/external-storages
John Molakvoæ [Sun, 23 Oct 2022 08:42:46 +0000 (10:42 +0200)]
Merge pull request #33087 from nextcloud/fix/30282/external-storages

fix external storages access

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 23 Oct 2022 02:14:46 +0000 (02:14 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoAdd .well-known/changepassword handler 34742/head
Roeland Jago Douma [Sat, 22 Oct 2022 11:23:59 +0000 (13:23 +0200)]
Add .well-known/changepassword handler

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2 years agoSort alphabetically 34740/head
John Molakvoæ [Sat, 22 Oct 2022 10:21:05 +0000 (12:21 +0200)]
Sort alphabetically

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoAdd ico image/x-icon
John Molakvoæ [Sat, 22 Oct 2022 10:18:40 +0000 (12:18 +0200)]
Add ico image/x-icon

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 22 Oct 2022 02:15:49 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #33945 from nextcloud/fix/noid/fair-use-ldap
Simon L [Fri, 21 Oct 2022 16:53:16 +0000 (18:53 +0200)]
Merge pull request #33945 from nextcloud/fix/noid/fair-use-ldap

LDAP to not register new users when outside of fair use or over limits

2 years agoMerge pull request #34136 from nextcloud/fix/default-channel
blizzz [Fri, 21 Oct 2022 15:14:56 +0000 (17:14 +0200)]
Merge pull request #34136 from nextcloud/fix/default-channel

on installation save channel to config.php if not stable

2 years agoMerge pull request #34579 from nextcloud/unencrypted-size-null
Vincent Petry [Fri, 21 Oct 2022 14:53:43 +0000 (16:53 +0200)]
Merge pull request #34579 from nextcloud/unencrypted-size-null

fix null error in getUnencryptedSize

2 years agoMerge pull request #34662 from nextcloud/enh/error-pages
Simon L [Fri, 21 Oct 2022 14:38:19 +0000 (16:38 +0200)]
Merge pull request #34662 from nextcloud/enh/error-pages

Use proper error pages instead of always redirecting

2 years agoMerge pull request #34508 from starypatyk/dav_displayname
Vincent Petry [Fri, 21 Oct 2022 13:42:27 +0000 (15:42 +0200)]
Merge pull request #34508 from starypatyk/dav_displayname

WebDAV - use file/folder name for dav:displayname

2 years agosilence psalm 34136/head
Arthur Schiwon [Fri, 21 Oct 2022 13:06:22 +0000 (15:06 +0200)]
silence psalm

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoUse proper error pages instead of always redirecting 34662/head
Julius Härtl [Fri, 14 Oct 2022 05:42:25 +0000 (07:42 +0200)]
Use proper error pages instead of always redirecting

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoon installation save channel to config.php if not stable
Arthur Schiwon [Mon, 19 Sep 2022 11:53:49 +0000 (13:53 +0200)]
on installation save channel to config.php if not stable

- the default channel to the NC server is what is provided in /version.php
  unless it is overridden in config.php
- the default channel to the NC Updater however is 'stable'
- this resultant in inconsistent results and confusing admin experience
- therefore "stable" is considered default and other channels are being
  written to config.php now upon installation

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #34717 from nextcloud/automated/noid/master-update-psalm-baseline
blizzz [Fri, 21 Oct 2022 11:59:08 +0000 (13:59 +0200)]
Merge pull request #34717 from nextcloud/automated/noid/master-update-psalm-baseline

[master] Update psalm-baseline.xml

2 years agoextended hint message 33945/head
blizzz [Fri, 21 Oct 2022 11:46:44 +0000 (13:46 +0200)]
extended hint message

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #34714 from nextcloud/fix/invert-more-icon
Simon L [Fri, 21 Oct 2022 07:13:50 +0000 (09:13 +0200)]
Merge pull request #34714 from nextcloud/fix/invert-more-icon

Fix more icon color

2 years agoUpdate psalm baseline 34717/head
nextcloud-command [Fri, 21 Oct 2022 04:34:24 +0000 (04:34 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 21 Oct 2022 02:14:44 +0000 (02:14 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix more icon color 34714/head
Christopher Ng [Fri, 21 Oct 2022 01:13:11 +0000 (01:13 +0000)]
Fix more icon color

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoMerge pull request #34688 from nextcloud/bugfix/34673/dont-crash-with-outdated-share...
Simon L [Thu, 20 Oct 2022 21:50:15 +0000 (23:50 +0200)]
Merge pull request #34688 from nextcloud/bugfix/34673/dont-crash-with-outdated-share-providers

Don't crash with outdated share provider on update with the web updater

2 years agoMerge pull request #34703 from nextcloud/bugfix/noid/use-vue-lib-multiselect-tags...
Pytal [Thu, 20 Oct 2022 17:14:14 +0000 (10:14 -0700)]
Merge pull request #34703 from nextcloud/bugfix/noid/use-vue-lib-multiselect-tags-component

2 years agoMerge pull request #34685 from nextcloud/fix-alt-login-class
Simon L [Thu, 20 Oct 2022 15:15:02 +0000 (17:15 +0200)]
Merge pull request #34685 from nextcloud/fix-alt-login-class

Fix alternative logins custom css class

2 years agoRecompile 34703/head
Joas Schilling [Thu, 20 Oct 2022 15:02:28 +0000 (17:02 +0200)]
Recompile

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoUse @nextcloud/vue MultiselectTags component
Joas Schilling [Thu, 20 Oct 2022 14:58:13 +0000 (16:58 +0200)]
Use @nextcloud/vue MultiselectTags component

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #34502 from nextcloud/fix/correct-attribute-resharing
Carl Schwan [Thu, 20 Oct 2022 15:03:02 +0000 (17:03 +0200)]
Merge pull request #34502 from nextcloud/fix/correct-attribute-resharing

Propagate attributes when resharing

2 years agoAdd backtrace to ldap profiler collector 34691/head
Carl Schwan [Thu, 20 Oct 2022 09:23:58 +0000 (11:23 +0200)]
Add backtrace to ldap profiler collector

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #34624 from nextcloud/fix/files_external_psalm
Carl Schwan [Thu, 20 Oct 2022 14:53:43 +0000 (16:53 +0200)]
Merge pull request #34624 from nextcloud/fix/files_external_psalm

Multiple fix for files external

2 years agoMerge pull request #30223 from nextcloud/nested_ldap_groups
Côme Chilliet [Thu, 20 Oct 2022 13:03:37 +0000 (15:03 +0200)]
Merge pull request #30223 from nextcloud/nested_ldap_groups

Nested ldap groups

2 years agoMerge pull request #33703 from nextcloud/fix/ldap-simplify-paged-results
Côme Chilliet [Thu, 20 Oct 2022 12:48:50 +0000 (14:48 +0200)]
Merge pull request #33703 from nextcloud/fix/ldap-simplify-paged-results

Clean up paged result handling.

2 years agoFix psalm 30223/head
Carl Schwan [Thu, 20 Oct 2022 10:01:19 +0000 (12:01 +0200)]
Fix psalm

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoCheck if cache is present with isset
Carl Schwan [Thu, 20 Oct 2022 09:30:46 +0000 (11:30 +0200)]
Check if cache is present with isset

Otherwise we get false for empty array

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoBring back small fixes by Carl
Côme Chilliet [Tue, 30 Aug 2022 14:46:00 +0000 (16:46 +0200)]
Bring back small fixes by Carl

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix LDAP recursive nested group support
Côme Chilliet [Tue, 26 Jul 2022 07:39:48 +0000 (09:39 +0200)]
Fix LDAP recursive nested group support

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRevert Carl changes on apps/user_ldap/lib/Group_LDAP.php
Carl Schwan [Thu, 21 Jul 2022 15:37:30 +0000 (17:37 +0200)]
Revert Carl changes on apps/user_ldap/lib/Group_LDAP.php

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoFix autoload 33703/head
Côme Chilliet [Thu, 20 Oct 2022 10:56:54 +0000 (12:56 +0200)]
Fix autoload

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoCleanup typing and improve logging
Côme Chilliet [Wed, 28 Sep 2022 13:27:04 +0000 (15:27 +0200)]
Cleanup typing and improve logging

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix ldap_parse_result call
Côme Chilliet [Thu, 8 Sep 2022 14:29:23 +0000 (16:29 +0200)]
Fix ldap_parse_result call

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdapt interface to new search signature
Côme Chilliet [Thu, 8 Sep 2022 12:47:50 +0000 (14:47 +0200)]
Adapt interface to new search signature

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoPass paging information directly to search and get rid of adapter
Côme Chilliet [Thu, 8 Sep 2022 12:44:42 +0000 (14:44 +0200)]
Pass paging information directly to search and get rid of adapter

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRenamed ambiguous $limit parameter to pageSize
Côme Chilliet [Thu, 8 Sep 2022 10:06:08 +0000 (12:06 +0200)]
Renamed ambiguous $limit parameter to pageSize

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoUnfold call to ldap_parse_result. Handle cookie outside of adapter.
Côme Chilliet [Thu, 8 Sep 2022 09:33:43 +0000 (11:33 +0200)]
Unfold call to ldap_parse_result. Handle cookie outside of adapter.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoDo not init a paged search for read operations
Côme Chilliet [Thu, 1 Sep 2022 13:13:52 +0000 (15:13 +0200)]
Do not init a paged search for read operations

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRemove useless getReadArgs/setReadArgs methods from PagedResults
Côme Chilliet [Thu, 1 Sep 2022 13:09:00 +0000 (15:09 +0200)]
Remove useless getReadArgs/setReadArgs methods from PagedResults

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRemove dead code in paged result handling
Côme Chilliet [Thu, 25 Aug 2022 14:57:25 +0000 (16:57 +0200)]
Remove dead code in paged result handling

There is only one paged result API now that PHP 7.2 is long dead.
Starting by removing empty function calls.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix user_ldap tests
Carl Schwan [Thu, 21 Jul 2022 15:24:22 +0000 (17:24 +0200)]
Fix user_ldap tests

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoAdd back runtime cache for intermediate ldap read results
Carl Schwan [Mon, 18 Jul 2022 08:06:41 +0000 (10:06 +0200)]
Add back runtime cache for intermediate ldap read results

This is a small optimization that save a few LDAP queries

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoOnly cache base inGroup search
Carl Schwan [Mon, 18 Jul 2022 07:58:30 +0000 (09:58 +0200)]
Only cache base inGroup search

And not intermediate search for nested groups, this is causing issues
othewise with nested groups

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoAdd missing copyright author in Group_LDAP
Côme Chilliet [Tue, 14 Dec 2021 13:30:50 +0000 (14:30 +0100)]
Add missing copyright author in Group_LDAP

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRemoved unused use declaration
Côme Chilliet [Tue, 14 Dec 2021 12:51:18 +0000 (13:51 +0100)]
Removed unused use declaration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix types in docblocks
Côme Chilliet [Tue, 14 Dec 2021 10:13:46 +0000 (11:13 +0100)]
Fix types in docblocks

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdd testing of nested group membership
Côme Chilliet [Tue, 14 Dec 2021 09:51:39 +0000 (10:51 +0100)]
Add testing of nested group membership

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRefactor group membership listing for nested groups
Côme Chilliet [Tue, 14 Dec 2021 09:17:08 +0000 (10:17 +0100)]
Refactor group membership listing for nested groups

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdd tests for nested groups
Côme Chilliet [Mon, 13 Dec 2021 15:02:59 +0000 (16:02 +0100)]
Add tests for nested groups

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoSmall optimisation of _groupMembers
Côme Chilliet [Mon, 13 Dec 2021 15:02:05 +0000 (16:02 +0100)]
Small optimisation of _groupMembers

This will not change the result as users are check to be existing
 afterwards but avoids this check when we know it’s a group.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRefactor _groupMembers to correctly use cache on intermediate results
Côme Chilliet [Mon, 13 Dec 2021 11:17:06 +0000 (12:17 +0100)]
Refactor _groupMembers to correctly use cache on intermediate results

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix merging list with null
Carl Schwan [Fri, 10 Dec 2021 15:39:50 +0000 (16:39 +0100)]
Fix merging list with null

This fixes some cases observed with the debugger where we end up merging
a non empty list with null. The result is then null and the looping over
the items would then end.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoUnify a bit the types of the fetcher
Carl Schwan [Thu, 9 Dec 2021 10:51:13 +0000 (11:51 +0100)]
Unify a bit the types of the fetcher

Now it will only accept a string as parameter instead of either a string
(DN) or a array (complete record).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoAdd more type hinting
Carl Schwan [Fri, 10 Dec 2021 15:36:14 +0000 (16:36 +0100)]
Add more type hinting

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoCache intermediates
Arthur Schiwon [Sun, 12 Dec 2021 13:14:16 +0000 (14:14 +0100)]
Cache intermediates

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2 years agoRefactor code to split common loop
Arthur Schiwon [Sun, 12 Dec 2021 13:11:31 +0000 (14:11 +0100)]
Refactor code to split common loop

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMake it possible to return nested records whem walking over groups
Arthur Schiwon [Sun, 12 Dec 2021 13:09:16 +0000 (14:09 +0100)]
Make it possible to return nested records whem walking over groups

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoFix PHP CS 34688/head
Joas Schilling [Thu, 20 Oct 2022 09:45:24 +0000 (11:45 +0200)]
Fix PHP CS

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAlso catch in getProvider
Joas Schilling [Thu, 20 Oct 2022 08:03:10 +0000 (10:03 +0200)]
Also catch in getProvider

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoDon't crash with outdated share provider
Joas Schilling [Thu, 20 Oct 2022 06:44:57 +0000 (08:44 +0200)]
Don't crash with outdated share provider

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix alternative logins custom css class 34685/head
zorn-v [Thu, 20 Oct 2022 04:32:13 +0000 (14:32 +1000)]
Fix alternative logins custom css class

In NC 25 login page was changed, and alternative login css class get from `class` prop but not `style`.
It is correct change in my opinion, so just add backend fix.

Signed-off-by: zorn-v <zorn7@yandex.ru>