Carl Schwan
e0fbd39840
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>
1 年之前
Carl Schwan
33be3f754a
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>
1 年之前
Côme Chilliet
604b5ace12
Add missing copyright author in Group_LDAP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Côme Chilliet
69f9e9f387
Removed unused use declaration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Côme Chilliet
150e6adbc5
Fix types in docblocks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Côme Chilliet
7437673add
Add testing of nested group membership
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Côme Chilliet
6ed0d0b8b1
Refactor group membership listing for nested groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Côme Chilliet
02ccce17f7
Add tests for nested groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Côme Chilliet
8b19cfcd88
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 年之前
Côme Chilliet
d07f43dc12
Refactor _groupMembers to correctly use cache on intermediate results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 年之前
Carl Schwan
6522f8a6d9
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 年之前
Carl Schwan
49aa352069
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 年之前
Carl Schwan
0fd7a51e3c
Add more type hinting
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 年之前
Arthur Schiwon
5647093319
Cache intermediates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2 年之前
Arthur Schiwon
ad2fdbe377
Refactor code to split common loop
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 年之前
Arthur Schiwon
1e4ac22c94
Make it possible to return nested records whem walking over groups
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 年之前
Joas Schilling
3dee71db20
Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 年之前
Joas Schilling
9982909bc6
Also catch in getProvider
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 年之前
Joas Schilling
40d8ed9edb
Don't crash with outdated share provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 年之前
zorn-v
a27388ccd3
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>
1 年之前
Nextcloud bot
53b6d67bc1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
1 年之前
Pytal
74d8365726
Merge pull request #34665 from nextcloud/fix/invert-header-icons
Invert header icons on bright preset backgrounds
1 年之前
Christopher Ng
58abed2059
Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 年之前
John Molakvoæ
be892d2e28
Merge pull request #34576 from nextcloud/fix/user-theming-admin-overrride
Add admin user customization kill switch
1 年之前
John Molakvoæ
d89da9b898
Simplify variable names
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ
746710ad5b
Fix tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ
ef760e0337
Add admin user customization kill switch
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ
bbbc1d4a16
Adjust testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ
f116c87039
Merge pull request #34668 from nextcloud/dependabot/npm_and_yarn/jest-environment-jsdom-29.2.1
Bump jest-environment-jsdom from 29.0.3 to 29.2.1
1 年之前
John Molakvoæ
afc4b86ba3
Merge pull request #26358 from nextcloud/fix/ie-cleanup
Cleanup old IE/edge properties and implement unsupported browser error page
1 年之前
John Molakvoæ
2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ
a6684da737
Compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 年之前
John Molakvoæ (skjnldsv)
bd303388e3
Cleanup ie and old edge properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 年之前
dependabot[bot]
e5909e713c
Bump jest-environment-jsdom from 29.0.3 to 29.2.1
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.0.3 to 29.2.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.2.1/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 年之前
Joas Schilling
d5edcf8c95
Merge pull request #34639 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.38
Bump moment-timezone from 0.5.37 to 0.5.38
1 年之前
Joas Schilling
8e476c8d62
Merge pull request #34664 from nextcloud/nickvergessen-patch-1
Update OCI workflow of server
1 年之前
Nextcloud bot
77e730d403
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
1 年之前
Arthur Schiwon
7d3457ec73
improve admin notification experience
- do not stack notifications, replace them
- and replace them once a day only
- with LDAP it might end in total spam terror (also push) otherwise
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 年之前
Arthur Schiwon
50d4963772
[LDAP] throw exception only against prov api
- unbreaks functionality for end users when on demand mapping takes
place
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 年之前
Joas Schilling
af8a69b407
Update OCI workflow of server
* Only on pull requests
* Concurrency group
* Bump used actions
* Add summary
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
1 年之前
Joas Schilling
b125e102b2
Merge pull request #34650 from nextcloud/bugfix/noid/fix-rebuildNavigation
Fix rebuild navigation
1 年之前
Joas Schilling
6f6e906fd5
🤖 Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 年之前
Joas Schilling
aa31002b03
🧭 Fix rebuilding the navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 年之前
Simon L
c78bd45c64
Merge pull request #34614 from nextcloud/bugfix/34441/fix-search-in-regexp
Fix regexp for unified searching in apps
1 年之前
Côme Chilliet
3d0e8182ba
Merge pull request #34632 from nextcloud/fix/rate-limit-recovery-emails
Add rate limiting on lost password emails
1 年之前
Carl Schwan
a5ea677370
Rename file1 and file2 to source and target in Storage abstraction
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 年之前
Carl Schwan
39c3907f8b
Merge pull request #34625 from nextcloud/fix/filepicker-endtoend
Fix icon of encrypted folders in filepicker
1 年之前
Côme Chilliet
1cb0c2ac52
Fix LostController test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 年之前
Côme Chilliet
71ee292650
Add rate limiting on lost password emails
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 年之前
Carl Schwan
0270068fed
Merge pull request #34628 from nextcloud/fix/files_sharing_psalm
Various psalm fixes in files_sharing
1 年之前