Commit Graph

67568 Commits

Author SHA1 Message Date
Côme Chilliet
346344c153
Update version number in since and deprecated annotations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:04:32 +02:00
Côme Chilliet
b6c17c6ce7
Clear up return types
usersInGroup index by int for BC, searchInGroup index by uid (string).

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:45 +02:00
Côme Chilliet
6385a5af36
Let OC\Group\Group handle the fallback and remove default implementation from ABackend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:43 +02:00
Côme Chilliet
3c2b126eba
Make code clearer and bump @ deprecated annotations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:07 +02:00
Carl Schwan
a4c599c1c9
Split new method in a new group backend interface
Better for backward compatibility, also move new interfaces to nc 26

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-04-27 12:00:01 +02:00
Carl Schwan
35dc223500
Optimize retrieving display name when searching for users in a group
This is recurrent scenario that we are searching for users and then for
each users we fetch the displayName. This is inefficient, so instead try
to do one query to fetch everything (e.g. Database backend) or use the
already existing DisplayNameCache helper.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-04-27 11:57:45 +02:00
Côme Chilliet
967955358c
Add comment about Manager instance not being shared
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 11:21:53 +02:00
Côme Chilliet
1f83979699
Do not stop at the first PHP error/warning in files:scan
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 10:46:37 +02:00
Côme Chilliet
546d94c3ec
Fix file_get_content signatures to make it clear it can return false
In File::getContent, which must return a string, throw an Exception
 instead of returning false.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 09:56:05 +02:00
Joas Schilling
5e96228eb1
Merge pull request #37846 from nextcloud/bump/guzzle-psr7/master
[master] sec(deps): Update guzzlehttp/psr7
2023-04-27 09:39:04 +02:00
Côme Chilliet
802363f0f6
Adapt Sync job tests to the constructor change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 09:08:57 +02:00
Julius Härtl
2646fd5884
Merge pull request #37929 from nextcloud/enh/a11y-create-new-label
Create new file/folder labels
2023-04-27 09:06:05 +02:00
Christopher Ng
966bc06e8d Create new file/folder labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-27 03:20:12 +00:00
Nextcloud bot
63912cc5c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 02:28:35 +00:00
nextcloud-command
de0348abce Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-04-27 02:25:39 +00:00
Vitor Mattos
5ed6722dd2 Cover expire_date with unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-26 13:21:08 -03:00
Simon L
4df145a6bc
Merge pull request #37806 from nextcloud/fix/37410
Fix profile view edit button overlapping status text
2023-04-26 17:05:04 +02:00
Vitor Mattos
7ab50ab010 Update expire_date column of table comments
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-26 11:29:56 -03:00
Christoph Wurst
defbd23cbf
Merge pull request #37206 from nextcloud/fix-skip-recommended-apps-wrong-url
fix: wrong redirect when skipping recommended apps
2023-04-26 15:43:35 +02:00
Joas Schilling
2a9b69272d
sec(deps): Update guzzlehttp/psr7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 15:42:56 +02:00
Joas Schilling
4c34be3d50
Merge pull request #37935 from nextcloud/bugfix/noid/fix-title-of-federation-options
Fix title of federation scope options
2023-04-26 15:39:03 +02:00
Marcel Klehr
32219ec880
Merge pull request #37932 from nextcloud/fix/404-page
chore(404): Extend 404 error message to mention possibly missing permissions
2023-04-26 14:19:48 +02:00
Daniel
81e4390e32
Merge pull request #37925 from nextcloud/feat-update-maintenance-mode-hint
fix: change maintenance mode info wording
2023-04-26 13:55:22 +02:00
nextcloud-command
6d95d7b85c Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-26 11:48:52 +00:00
Ferdinand Thiessen
f79131aea3 fix(core): Fix profile view edit button overlapping status text
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-26 13:01:33 +02:00
Joas Schilling
56c86c0be6
chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 12:24:11 +02:00
Joas Schilling
58a4861390
fix(settings): Fix title of profile scope options
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 12:23:51 +02:00
Christoph Wurst
ea67129b64
Merge pull request #37480 from nextcloud/fix/ocp/ilogfactor-getcustomlogger-deprecation-version
fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
2023-04-26 11:58:40 +02:00
Daniel Kesselberg
155ea6a54c
fix: change maintenance mode info wording
In maintenance mode the database is accessible and it's possible to execute other commands then maintenance:mode

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-26 11:58:37 +02:00
Marcel Klehr
73d21c6c47 chore(404): Extend 404 error message to mention possibly missing permissions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-26 11:21:56 +02:00
Christoph Wurst
5d29a96b1c
Merge pull request #35121 from nextcloud/feat/dav-wrap-app-calendars
Feature: Provide access to app generated calendars through CalDAV
2023-04-26 11:15:01 +02:00
Simon L
222d9edc59
Merge pull request #37904 from nextcloud/bugfix/noid/file-widget-click
fix: Use proper link for navigating to files on click handler
2023-04-26 11:03:17 +02:00
Joas Schilling
41fc6787bc
fix(tests): Fix new integration tests
The integration tests are not isolated, so we can not reuse previously used data

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 10:05:04 +02:00
Joas Schilling
1c0aae9c54
fix(provisioning_api): Don't allow to configure the same additional email multiple times
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 08:41:37 +02:00
Nextcloud bot
278f6413c9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 02:28:10 +00:00
Christopher Ng
7dd2c72dea Show modified in filepicker grid
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-25 17:21:12 -07:00
Simon L
9b7c360346
Merge pull request #33161 from vincentdh/master
Fix: External storage - exception for the handler whenSelectAuthMechanism
2023-04-26 00:14:07 +02:00
Ferdinand Thiessen
62c4ae78df Feature: Provide access to app generated calendars through CalDAV
This adds CalDAV support for app generated calendars,
which are registered to the nextcloud core.
This is done by adding a dav plugin which wraps
all ICalendarProviders into a Sabre plugin (inspired by the deck app).

Add unit test for AppCalendar wrapper plugin and calendar object implementation.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-25 18:11:49 +02:00
Joas Schilling
75f17b6094
Merge pull request #37905 from nextcloud/techdebt/noid/add-attributes-for-remaining-security-annotations
feat(security): Add PHP \Attribute for remaining security annotations
2023-04-25 17:13:53 +02:00
Joas Schilling
ecb8b55c5c
feat(security): Add PHP \Attribute for remaining security annotations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-25 14:50:32 +02:00
Robin Appelman
d60172567f
Merge pull request #37818 from nextcloud/dav-ext-storage-log
debug log requests made by dav external storage/shares
2023-04-25 14:12:57 +02:00
Côme Chilliet
7250f54ca3
Merge pull request #37835 from nextcloud/feat/background-allow-parallel-runs
feat(BackgroundJobs): Allow preventing parallel runs for a job class
2023-04-25 12:10:43 +02:00
Julius Härtl
b7d574807c fix: Use proper link for navigating to files on click handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-25 09:08:01 +00:00
Joas Schilling
77bb867ad5
Merge pull request #37868 from nextcloud/bugfix/noid/fix-phpunit-version-check
fix(autotest): Fix PHPUNIT version check in autotest files
2023-04-25 11:06:10 +02:00
Arthur Schiwon
3aa17672a1
Merge pull request #37909 from nextcloud/updateCrl
Update crl after revoke shifts.csr
2023-04-25 10:25:31 +02:00
Joas Schilling
af214b6c13
Merge pull request #36378 from nextcloud/fix/improve-taint-analysis
Add missing taint analysis docblock comments, and improve escaping in…
2023-04-25 08:51:54 +02:00
Nextcloud bot
e9aefb5251
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 02:22:46 +00:00
Pytal
721de348ec
Merge pull request #37780 from nextcloud/enh/a11y-focus-dialog 2023-04-24 17:05:42 -07:00
Christopher Ng
79310bd545 Trap focus in dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:45:40 -07:00
Christopher Ng
87ae9bbc12 Add focus-trap
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:40:05 -07:00