Commit graph

24212 commits

Author SHA1 Message Date
Ferdinand Thiessen
77321bc6cf
Merge pull request #47944 from nextcloud/backport/47883/stable30
[stable30] fix(setup-checks): Ensure URL with webroot works
2024-09-19 00:19:19 +02:00
Nextcloud bot
dd4caaff0c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:08 +00:00
Nextcloud bot
429fbaf470
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:13 +00:00
Kate
e4f5d39464
Merge pull request #48088 from nextcloud/backport/48008/stable30 2024-09-17 12:53:41 +02:00
John Molakvoæ
781cda5195
Merge pull request #48109 from nextcloud/backport/46218/stable30 2024-09-17 10:14:00 +02:00
Nextcloud bot
06b378c302
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:49 +00:00
John Molakvoæ
2308294a68 chore: improve hash_file php usage in Local Storage
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-16 17:08:10 +00:00
Louis Chemineau
7c99850958 fix(files): Ensure that the hash method does not return null
To match beececf660/lib/private/Files/View.php (L1050)

- Fix https://github.com/nextcloud/server/issues/44110

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 17:08:10 +00:00
Josh Richards
344c9682de fix: switch from explode to substr (faster)
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
Josh Richards
f3e28596c4 fix(config): Add missing handling for envCache in getKeys()
NC_ env variable overrides were not appearing in
the output of `occ config:list system` nor `occ
config:system:get xxx`. This was creating nearly
impossible to diagnose configuration/ behavior
disprepancies.

- Refactored readData() so that we aren't saving
  the entire environment in the envCache anymore
  (only those prefixed "NC_") and so that we save
  NC_ provided config values under their real
  key.
- Refactored getValue() to accommodate readData()
  refactor
- Fixed getKeys() to properly return
  envCache keys too

Environment provided config variables now appear
in `occ config:list system` as expected.

Environment provided config variables now appear
when queried via `occ config:system:get KEY`

envCache is now free of non-NC stuff.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
provokateurin
b7b5b50050 fix(Entity): Fix magic setter call for custom strong typed setters
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 13:52:27 +00:00
Joas Schilling
9371d93249 fix(a11y): Add OTF font loading check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 09:26:59 +00:00
Nextcloud bot
70bd525c84
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:18 +00:00
John Molakvoæ
f71f690398
Merge pull request #47868 from nextcloud/backport/47858/stable30 2024-09-15 22:52:11 +02:00
John Molakvoæ
78e11fb244
Merge pull request #47937 from nextcloud/backport/47854/stable30
[stable30] fix(appstore): Ensure returned apps from AppStore are valid
2024-09-15 22:12:12 +02:00
John Molakvoæ
474a323da6
Merge pull request #47872 from nextcloud/backport/47834/stable30 2024-09-15 22:10:02 +02:00
John Molakvoæ
6bc75b85f1
Merge pull request #47804 from nextcloud/backport/47801/stable30 2024-09-15 22:09:01 +02:00
Ferdinand Thiessen
27300ac6ce
fix(setup-checks): Ensure URL with webroot works
We basically mock the way `URLGenerator::getAbsoluteURL` works,
so we must make sure that the URL might already contain the webroot.
Because `baseURL` and `cliURL` also contain the webroot we need to remove
the webroot from the URL first.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-15 21:40:27 +02:00
Andy Scherzinger
90a6b82579
Merge pull request #47940 from nextcloud/backport/47933/stable30
[stable30] fix(config): Throw PreconditionException always when it didn't match
2024-09-15 21:29:14 +02:00
Andy Scherzinger
fa355386f7
Merge pull request #47796 from nextcloud/backport/47756/stable30
[stable30] fix(files): Check if target path is a descendant of the shared folder
2024-09-15 21:25:30 +02:00
Git'Fellow
eb95e40d8d fix: check if key is set
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-15 21:24:08 +02:00
Git'Fellow
9c557066bc fix(appstore): Ensure returned apps from AppStore are valid
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: lint

chore: remove space

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: check if response array is null

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

chore: Add log
2024-09-15 21:24:08 +02:00
Kate
5559ab8402
Merge pull request #48036 from nextcloud/backport/48016/stable30 2024-09-15 20:34:24 +02:00
provokateurin
69b01a265c fix(S3ConfigTrait): Allow proxy field to take false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 17:19:40 +00:00
provokateurin
ad895bd592 fix(BaseResponse): Cast XML element values to string
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 17:18:33 +00:00
Kate
80f8b7c650
Merge pull request #48027 from nextcloud/backport/48014/stable30 2024-09-15 19:00:24 +02:00
Kate
a91374e1a6
Merge pull request #48025 from nextcloud/backport/48017/stable30 2024-09-15 18:50:54 +02:00
provokateurin
dd7fb60991 fix(Tags): Return boolean for userHasTags()
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:52:40 +00:00
provokateurin
0a1d9f6df7 fix(Comment): Initialize childrenCount as integer
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:51:01 +00:00
provokateurin
eb3c1a2bee fix(Storage\Local): Do not call getSourcePath() on SplFileInfo
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 14:53:34 +00:00
Côme Chilliet
6779729174 fix: Do not try to set HTTP response code on already closed connection
This avoids a PHP warning in the logs about trying to set the response
 code while the output already started. It’s useless to try to print an
 error page anyway in this situation because the connection was closed
 already.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-14 19:22:52 +00:00
Kate
b5347e89e7
Merge pull request #47957 from nextcloud/backport/47954/stable30 2024-09-14 14:30:01 +02:00
Nextcloud bot
fb0a06b8cf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:28 +00:00
provokateurin
886561761a fix(files): Adjust Cache::searchQuery() parameter name to match interface
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-13 17:02:33 +00:00
Joas Schilling
66a6b442b5 fix(config): Throw PreconditionException always when it didn't match
Previously even when the precondition did not match, the call "passed"
when the after value was the expected one. This however can lead to
race conditions, duplicate code excutions and other things.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-13 11:40:13 +00:00
Nextcloud bot
91533fb6f7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 00:20:54 +00:00
Julius Knorr
80eec3f0ef fix: Add whiteboard to education and public sector bundle
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-12 09:08:22 +00:00
Ferdinand Thiessen
a8ae2f9755
fix: Adjust types of IQueryBuilder to properly allow joining with sub-query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 15:20:42 +02:00
Ferdinand Thiessen
9a7331d5ff
chore: Use IAppConfig instead of IConfig->getAppValue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 15:20:23 +02:00
Nextcloud bot
674dad0f1f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 00:21:20 +00:00
Andy Scherzinger
0fc355be58
Merge pull request #47874 from nextcloud/backport/47853/stable30
[stable30] fix: make swift connect exception message more informative
2024-09-10 20:58:06 +02:00
Julius Knorr
33c9638a14
Merge pull request #47863 from nextcloud/backport/47860/stable30
[stable30] fix: Only write once to template instead of create/copy
2024-09-10 16:56:54 +02:00
Robin Appelman
7206e5e086 fix: make swift connect exception message more informative
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-10 14:47:23 +00:00
John Molakvoæ
e0a6572e3c fix(appstore): disabled appstore log level bump from debug to info
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-10 14:34:18 +00:00
Git'Fellow
993abfdbf1 fix(appstore): return if appstore is manually disabled
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: camel case

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: log a debug log

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: typing

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: typo

fix: typing
2024-09-10 14:34:18 +00:00
Joas Schilling
5017d5000e
Merge pull request #47839 from nextcloud/backport/47640/stable30
[stable30] fix: Run migration sql as statement so that the primary db node is used
2024-09-10 16:19:32 +02:00
Richard Steinmetz
b738eaa0c9 fix(preview): gracefully handle file not being opened in ProviderV2
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-10 11:27:40 +00:00
Julius Knorr
a137eebb82 fix: Only write once to template instead of create/copy
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-10 08:07:26 +00:00
Nextcloud bot
49d911aa33
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 00:37:37 +00:00
Julius Härtl
332b7a43a4 fix: Run migration sql as statement so that the primary db node is used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-09 09:38:13 +00:00