Commit graph

14932 commits

Author SHA1 Message Date
Benjamin Gaussorgues
33f8caf274
Merge pull request #49076 from nextcloud/backport/49075/stable30 2024-11-04 21:33:19 +01:00
Joas Schilling
8b5964c0bd
fix(owncloud): Fix ownCloud migration with oauth2 app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 14:24:16 +01:00
Joas Schilling
849b205b59 fix(appinfo): Make sure screenshot, author and category are always arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-01 14:48:33 +00:00
Benjamin Gaussorgues
5787e5f27d
Merge pull request #49001 from nextcloud/backport/48559/stable30 2024-10-30 16:06:20 +01:00
Benjamin Gaussorgues
0cd1eeb509
fix(sharding): typo in addOrderBy
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 11:43:38 +01:00
Git'Fellow
45469eef85
Merge pull request #48694 from nextcloud/backport/48689/stable30
[stable30] fix(locking): Accept mixed as value on setTTL
2024-10-30 11:29:34 +01:00
Benjamin Gaussorgues
9a7ee321fa
fix(users): improve recently active search
- Remove DISTINCT clause to fix PgSQL
- Join user table only if necessary
- Don't show people who never connected in active list
- Add test

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 10:17:03 +01:00
Benjamin Gaussorgues
22d9f90742
Merge pull request #48622 from nextcloud/backport/48538/stable30 2024-10-30 09:41:54 +01:00
Git'Fellow
8f5aba2eb7 fix(locking): Accept mixed as value on setTTL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-30 09:31:59 +01:00
Ferdinand Thiessen
b0ddaaddc0
fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 00:02:45 +01:00
Daniel Calviño Sánchez
1a98cd52b5 fix: Fix copying or moving from shared groupfolders
When copying or moving between two local storages the source path (on
disk) to copy or move from is got from the unjailed path of the source
storage. However, if the source storage has more than one jail getting
the unjailed path resolves the most external jail, but the source path
needs to be got from the most internal jail instead (the one closer to
the local storage).

This can happen, for example, with a shared groupfolder: in that case
there is an external jail for the shared storage, and one internal jail
for the groupfolder storage wrapped by the shared storage.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-10-29 15:02:49 +00:00
Joas Schilling
f7f875fe7f fix(config): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-28 15:28:52 +00:00
yemkareems
57b2150ea4 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>

[skip ci]
2024-10-28 12:29:20 +00:00
yemkareems
1e18546f36 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
yemkareems
b35d56da30 fix: use Icrypto in place of Cypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
yemkareems
051cc83854 fix: crypto type made not nullable and tests run using ICrypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
yemkareems
b7e4138886 fix: encrypt and store password, decrypt and retrieve the same
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 12:29:20 +00:00
Julius Knorr
643e9ffb06 fix: Allow overriding shouldApplyQuota check from child classes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-10-28 09:46:45 +01:00
Julien Veyssier
70db4f51db feat(textprocessing): factorize taskProcessingCompatibleTaskTypes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-10-24 10:53:43 +00:00
Julien Veyssier
67437d0325 fix(textprocessing): also list types that are available in task processing
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-10-24 10:53:43 +00:00
Joas Schilling
c6f0a422b0 fix(logger): Remove more parameters of other methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 16:52:48 +00:00
Joas Schilling
97dc0aae75
Merge pull request #48763 from nextcloud/dependabot/composer/stable30/symfony-6.4
[stable30] build: Bump symfony/* to 6.4
2024-10-21 12:13:56 +02:00
Joas Schilling
fd73366def
fix(command): Make method compatible with upstream class (requires 3rdparty bump)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:52 +02:00
Joas Schilling
dbb669d03d
fix(command): Make method compatible with upstream class (backportable)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:51 +02:00
Kate
9e28a1e0c7
Merge pull request #48710 from nextcloud/backport/48682/stable30 2024-10-21 10:16:05 +02:00
Joas Schilling
570428e4e6 fix(comments): Document supported types and provide psalm typing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-18 06:21:01 +00:00
Joas Schilling
bd30a7ac21 feat(comments): Support mentioning emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-18 06:21:01 +00:00
Ferdinand Thiessen
761f7e1f70
Merge pull request #48703 from nextcloud/backport/48673/stable30
[stable30] fix(share): Return empty string if no label is set
2024-10-17 18:25:16 +02:00
provokateurin
091428f21f fix(AppConfig): Add external JWT private key to sensitive keys
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-15 08:43:29 +00:00
Ferdinand Thiessen
dfe8f642cd fix(share): Return empty string if no label is set
* Resolves: https://github.com/nextcloud/server/issues/48629

While the database supports NULL, the typing has always said it only returns *string*.
So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 17:11:16 +00:00
Christopher Ng
5611268a15 fix: Subadmin can access self
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:52:11 -07:00
Ferdinand Thiessen
198c2d3d68
fix: Skip users that still exist in backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 21:02:20 +02:00
Ferdinand Thiessen
7dd85e15b9
fix: Make user removal more resilient
Currently there is a problem if an exception is thrown in `User::delete`,
because at that point the user is already removed from the backend,
but not all data is deleted.

There is no way to recover from this state, as the user is gone no information is available anymore.
This means the data is still available on the server but can not removed by any API anymore.

The solution here is to first set a flag and backup the user home,
this can be used to recover failed user deletions in a way the delete can be re-tried.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 21:02:07 +02:00
Stephan Orbaugh
631ceaf6b0
Merge pull request #48558 from nextcloud/backport/48522/stable30
[stable30] fix(QueryBuilder): Account for aliases in output columns
2024-10-08 11:13:35 +02:00
Joas Schilling
3956088049 fix(config): Mark more app configs sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 09:00:48 +00:00
provokateurin
aab30afc25 fix(QueryBuilder): Account for aliases in output columns
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-03 13:49:00 +00:00
Marcel Klehr
685fe09f09
Merge pull request #48514 from nextcloud/backport/48513/stable30
[stable30] fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
2024-10-02 11:59:02 +02:00
Benjamin Gaussorgues
8290de3b93
Merge pull request #48077 from nextcloud/backport/47852/stable30 2024-10-02 10:43:41 +02:00
Kate
a13cc43d04
Merge pull request #48093 from nextcloud/backport/47316/stable30 2024-10-02 10:10:06 +02:00
Marcel Klehr
ab8078a430 fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-10-02 07:57:16 +00:00
Ferdinand Thiessen
7ca6e45c7a fix(theming): Use AppConfig for setting background image
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-02 09:21:57 +02:00
Vincent FarZz
b146952b63 fix: Prevent crash when refreshing metadata for files without an owner
This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout"

Signed-off-by: Vincent FarZz <farcry69@live.fr>
2024-10-02 09:21:44 +02:00
Josh
95f1a7b0be
Merge pull request #48503 from nextcloud/backport/48426/stable30
[stable30] fix(config): Suppress `config.php` fopen error at install time
2024-10-01 14:10:12 -04:00
Josh
60872a1c4c fix(config): Suppress error at install time
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-01 16:24:11 +00:00
Arthur Schiwon
f794ad0888 fix(Auth): ignore missing token when trying to set password-unconfirmable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-01 13:48:57 +00:00
Kate
6949e21c09
Merge pull request #48317 from nextcloud/backport/48307/stable30 2024-09-30 10:24:20 +02:00
Richard Steinmetz
c4ffd84439
fix: gracefully parse non-standard trusted certificates
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-30 09:11:42 +02:00
provokateurin
bbeda126cc fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle limitations
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 13:16:02 +00:00
ernolf
0551919bce
fix(share): Ensure unique share tokens
- check for token collisions and retry up to three times.
- throw after 3 attempts without finding a unique token.

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-09-25 09:39:51 +02:00
Joas Schilling
abe82432cb
fix(querybuilder): Fix boolean type so that oracle handles boolean well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:40:53 +02:00