Commit graph

65543 commits

Author SHA1 Message Date
Simon L
c1a99ca58f
Merge pull request #34623 from nextcloud/enh/update-behat
Update behat and friends
2022-12-21 18:16:21 +01:00
Daniel Kesselberg
e2285acd04 Update behat and friends
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-12-21 15:27:59 +00:00
Julius Härtl
cb086a02a9
Merge pull request #35846 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2022-12-21 16:00:15 +01:00
Vincent Petry
fc22acba8e
Merge pull request #35656 from fivenp/docs/add-design-contribution-guidelines
docs: add design contribution guidelines
2022-12-21 10:34:15 +01:00
Julius Härtl
f562fc716a
Merge pull request #35836 from nextcloud/fix/remove-other-share-when-deleted
fix: remove other shares from ui when deleted
2022-12-21 09:10:53 +01:00
nextcloud-command
7fe40d5e71 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-12-21 04:12:51 +00:00
Nextcloud bot
78d8723d0c
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-21 02:30:14 +00:00
Vincent Petry
761221bc80
Merge pull request #35723 from nextcloud/bugfix/35708
fix: Make sure to reopen session before cleaning
2022-12-20 17:25:09 +01:00
Vincent Petry
13d5426893
Merge pull request #35839 from nextcloud/feat/user_ldap-longer-ttl-for-fallback
Apply a longer TTL of 15min to falling back on backup server
2022-12-20 17:19:56 +01:00
Vincent Petry
3bcbc4701a
Merge pull request #34724 from nextcloud/encryption-read-before-cache
fix reading newly written encrypted files before their cache entry is written
2022-12-20 17:16:12 +01:00
Côme Chilliet
f6ff717b56
Merge pull request #34772 from nextcloud/fix/clean-ldap-access-factory-usage
Make sure to use AccessFactory to create Access instances and use DI
2022-12-20 16:48:07 +01:00
Vincent Petry
1db0ddee3b
Merge pull request #25768 from nextcloud/workflow-use-cache-for-mimetype
Use mimetype from cache for workflow checks
2022-12-20 15:56:17 +01:00
John Molakvoæ
c21d3c037e
Merge pull request #35769 from nextcloud/rakekniven-patch-1
l10n: Align notification messages for server version and apps
2022-12-20 14:59:15 +01:00
Robin Appelman
cb4648df77
add some tests for mimetype check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-20 13:28:40 +01:00
Robin Appelman
83cc8202b8
remove file exists check from cacheAndReturnMimeType
the method is only called if the file exists already

a check against storing the fallback mimetype is added as a safety instead

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-20 13:28:40 +01:00
Robin Appelman
c5a8246742
use mimetype from cache for workflow if available
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-20 13:28:33 +01:00
Côme Chilliet
1ac2c74830
Apply a longer TTL of 15min to falling back on backup server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-20 12:01:25 +01:00
blizzz
4d0403009d
Merge pull request #35229 from nextcloud/feat/user_ldap-specific-server-for-background
Use a dedicated LDAP host and port for background jobs if configured
2022-12-20 11:47:31 +01:00
Max
787262be4f
fix: remove other shares from ui when deleted
Remove the share entry in question
when unsharing a folder
from within the `others with access` section
of a file within that folder.

Using the code from the ShareList view here as well.
Just copying the code here as this is a bugfix
that will need to be backported.

Signed-off-by: Max <max@nextcloud.com>
2022-12-20 11:34:08 +01:00
Côme Chilliet
e50efc6f66
Merge pull request #35814 from nextcloud/fix/fix-parameter-type-setreadmarker
Fix parameter type for EntityCollection::setReadMarker in comments app
2022-12-20 11:04:18 +01:00
Christoph Wurst
8aca99cd80
Merge pull request #35545 from nextcloud/enh/enh-fix-styles-for-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border
Add styles for #33741. Remove boards and add underlines.
2022-12-20 10:59:24 +01:00
julia.kirschenheuter
443206965d
Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-20 10:21:30 +01:00
rakekniven
384d7ec61e
l10n: Align notification messages for server version and apps
Solution for #35768

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-12-20 09:19:14 +01:00
Joas Schilling
0af4e9d4fe
Merge pull request #34172 from audriga/add-scim-json-support
Add support for application/scim+json
2022-12-20 08:58:33 +01:00
Vincent Petry
fcf5789916
Merge pull request #35828 from nextcloud/fix/fix-oauth2-test-dynamic-property
Fix PHP error on PHP >= 8.2 about dynamic property use in tests
2022-12-20 08:45:12 +01:00
Nextcloud bot
7929e6d91d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-20 02:22:09 +00:00
Côme Chilliet
9b26c4a277
Fix PHP error on PHP >= 8.2 about dynamic property use in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 15:58:46 +01:00
Côme Chilliet
f5b833845c
Merge pull request #35813 from nextcloud/fix/bump-phpseclib/phpseclib-to-2.0.40-in-master
Bump phpseclib/phpseclib to 2.0.40 in master
2022-12-19 14:32:21 +01:00
Côme Chilliet
d0fba09fae
Update 3rdparty to master branch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:31:31 +01:00
Côme Chilliet
6e22ba832d
Merge pull request #35614 from nextcloud/fix/errorlog-array-to-string-conversion
Fix array to string conversion in errorlog writer
2022-12-19 14:17:39 +01:00
Côme Chilliet
6b7ffcd6a8
Fixed backup host logic
Now forcing backup host applies to both main and background.
And background will fallback to backup if not responding.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:15:48 +01:00
Côme Chilliet
406750552e
Make code clearer for background host
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:15:48 +01:00
Côme Chilliet
4758bdc476
Use a dedicated LDAP host and port for background jobs if configured
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 14:15:46 +01:00
Côme Chilliet
75e369d306
Merge pull request #35231 from nextcloud/fix/user_ldap-cache-fetched-list-of-groups
Cache the fetched list of groups
2022-12-19 12:34:05 +01:00
Vincent Petry
1bae41ccec
Merge pull request #33709 from nextcloud/enh/displayname-cache-getStorageInfo
Use display name cache on getStorageInfo
2022-12-19 12:07:43 +01:00
Côme Chilliet
723c1b8adc
Fix user_ldap tests now that list of groups gets cached
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 11:59:45 +01:00
Côme Chilliet
1bc51a059b
Fix parameter type for EntityCollection::setReadMarker in comments app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 11:44:27 +01:00
Côme Chilliet
2d14bd828f
Bump phpseclib/phpseclib to 2.0.40 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 11:22:46 +01:00
Julius Härtl
26e413b78d
Merge pull request #35496 from nextcloud/fix/strict-typing-in-base 2022-12-19 11:05:02 +01:00
Côme Chilliet
cbbb0712db
Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subject
Compute notification parsed subject from rich subject when possible
2022-12-19 10:46:39 +01:00
Côme Chilliet
585cf0022c Put back baseline for the enableAppForGroups type mismatch
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet
a1301de7fa Revert "Just use string for groups in enableAppForGroups"
This reverts commit e17244e92fb316d2f2e3fd1ae343bd47b54395b8.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet
3cce9aa547 Just use string for groups in enableAppForGroups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet
7996a12aef Silence false-positive from psalm in lib/public/Log/functions.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet
a529aa79d8 Strong type singletons from lib/base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +00:00
Côme Chilliet
e1d324f7eb Migrate lib/base.php to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet
26d75add8f Put back cast to string now that timelimit is an int
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet
7372da6c6d Fixing more psalm errors from lib/base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet
444811b0fe Use Server::get some more
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00
Côme Chilliet
cf508c1e47 Use strict typing in base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:40 +00:00