Côme Chilliet
150e6adbc5
Fix types in docblocks
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet
7437673add
Add testing of nested group membership
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet
6ed0d0b8b1
Refactor group membership listing for nested groups
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
Côme Chilliet
02ccce17f7
Add tests for nested groups
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
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>
2022-10-20 12:09:06 +02:00
Côme Chilliet
d07f43dc12
Refactor _groupMembers to correctly use cache on intermediate results
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-20 12:09:06 +02:00
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>
2022-10-20 12:09:06 +02:00
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>
2022-10-20 12:09:06 +02:00
Carl Schwan
0fd7a51e3c
Add more type hinting
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:09:06 +02:00
Arthur Schiwon
5647093319
Cache intermediates
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2022-10-20 12:08:34 +02:00
Arthur Schiwon
ad2fdbe377
Refactor code to split common loop
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-20 12:08:24 +02:00
Arthur Schiwon
1e4ac22c94
Make it possible to return nested records whem walking over groups
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-20 12:08:09 +02:00
Nextcloud bot
53b6d67bc1
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-20 02:18:39 +00:00
Pytal
74d8365726
Merge pull request #34665 from nextcloud/fix/invert-header-icons
...
Invert header icons on bright preset backgrounds
2022-10-19 16:02:33 -07:00
Christopher Ng
58abed2059
Invert header icons on bright preset backgrounds
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +00:00
John Molakvoæ
be892d2e28
Merge pull request #34576 from nextcloud/fix/user-theming-admin-overrride
...
Add admin user customization kill switch
2022-10-19 17:13:15 +02:00
John Molakvoæ
d89da9b898
Simplify variable names
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:59:16 +02:00
John Molakvoæ
746710ad5b
Fix tests
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +02:00
John Molakvoæ
ef760e0337
Add admin user customization kill switch
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +02:00
John Molakvoæ
bbbc1d4a16
Adjust testing
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:34 +02:00
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
2022-10-19 11:20:30 +02:00
John Molakvoæ
afc4b86ba3
Merge pull request #26358 from nextcloud/fix/ie-cleanup
...
Cleanup old IE/edge properties and implement unsupported browser error page
2022-10-19 11:12:47 +02:00
John Molakvoæ
2d98cd1daf
Add config and fix selenium
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +02:00
John Molakvoæ
a6684da737
Compile assets
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:03:01 +02:00
John Molakvoæ (skjnldsv)
bd303388e3
Cleanup ie and old edge properties
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-19 10:02:51 +02:00
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>
2022-10-19 07:56:10 +00:00
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
2022-10-19 09:54:54 +02:00
Joas Schilling
8e476c8d62
Merge pull request #34664 from nextcloud/nickvergessen-patch-1
...
Update OCI workflow of server
2022-10-19 09:46:39 +02:00
Nextcloud bot
77e730d403
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-19 02:14:41 +00:00
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>
2022-10-18 23:02:52 +02:00
Joas Schilling
b125e102b2
Merge pull request #34650 from nextcloud/bugfix/noid/fix-rebuildNavigation
...
Fix rebuild navigation
2022-10-18 22:27:34 +02:00
Joas Schilling
6f6e906fd5
🤖 Rebuild
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 21:00:44 +02:00
Joas Schilling
aa31002b03
🧭 Fix rebuilding the navigation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 20:58:10 +02:00
Simon L
c78bd45c64
Merge pull request #34614 from nextcloud/bugfix/34441/fix-search-in-regexp
...
Fix regexp for unified searching in apps
2022-10-18 19:44:51 +02:00
Côme Chilliet
3d0e8182ba
Merge pull request #34632 from nextcloud/fix/rate-limit-recovery-emails
...
Add rate limiting on lost password emails
2022-10-18 17:29:17 +02:00
Carl Schwan
39c3907f8b
Merge pull request #34625 from nextcloud/fix/filepicker-endtoend
...
Fix icon of encrypted folders in filepicker
2022-10-18 16:59:57 +02:00
Côme Chilliet
1cb0c2ac52
Fix LostController test
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-18 14:49:02 +00:00
Côme Chilliet
71ee292650
Add rate limiting on lost password emails
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-10-18 14:49:02 +00:00
Carl Schwan
0270068fed
Merge pull request #34628 from nextcloud/fix/files_sharing_psalm
...
Various psalm fixes in files_sharing
2022-10-18 14:44:28 +02:00
Carl Schwan
00c2c620ac
Merge pull request #34554 from nextcloud/fix/psalm-twofactor-registry
...
Fix wrong types in phpdoc for twofactor registry
2022-10-18 14:42:43 +02:00
Carl Schwan
419828c791
Fix the type of the return array in a few more places
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-18 13:22:50 +02:00
Christoph Wurst
c671466422
Merge pull request #34379 from nextcloud/fix/transactional-session-token-renewal
...
Run session token renewals in a database transaction
2022-10-18 11:19:33 +02:00
Simon L
b01de1c5b6
Merge pull request #34636 from nextcloud/fix/user-status-dislexia
...
Fix vertical alignment of user status icon
2022-10-18 11:01:36 +02:00
blizzz
42a9c061e4
Merge pull request #34620 from nextcloud/fix/cleanup-theming-cache
...
Add a repair step to cleanup old theming cache
2022-10-18 10:24:53 +02:00
Carl Schwan
b832d47d35
Merge pull request #34634 from nextcloud/fix/focus-file-selection
...
Fix unnecessary highlighting of selected element
2022-10-18 10:21:21 +02:00
blizzz
d29332469a
Merge pull request #34609 from nextcloud/enh/noid/always-enable-theming
...
set theming app to alwaysEnabled
2022-10-18 10:13:56 +02:00
Carl Schwan
a18f5e76d5
Make css rule important
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-18 08:13:01 +00:00
Christoph Wurst
c5922e67d3
Run session token renewals in a database transaction
...
The session token renewal does
1) Read the old token
2) Write a new token
3) Delete the old token
If two processes succeed to read the old token there can be two new tokens because
the queries were not run in a transaction. This is particularly problematic on
clustered DBs where 1) would go to a read node and 2) and 3) go to a write node.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-18 08:28:22 +02:00
Nextcloud bot
495d49a132
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-18 02:14:38 +00:00
Christopher Ng
3ead19d997
Add a repair step to cleanup old theming cache
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-18 01:19:47 +00:00