Commit graph

13385 commits

Author SHA1 Message Date
Git'Fellow
26e24dc909
Merge pull request #41482 from nextcloud/backport/41366/stable27
[stable27] fix(s3): support SSE-C headers for the MultipartCopy call
2023-11-16 00:20:32 +01:00
Arthur Schiwon
ef70f798b5
Merge pull request #41383 from nextcloud/backport/41302/stable27
[stable27] Lower log level about invalid session token
2023-11-15 22:41:09 +01:00
Arthur Schiwon
501858dd63
Merge pull request #41238 from nextcloud/backport/40859/stable27
[stable27] fix(session): Log why session renewal failed
2023-11-15 22:35:30 +01:00
Arthur Schiwon
ddf34961a0
Merge pull request #41231 from nextcloud/backport/40819/stable27
[stable27] Catch Imaginary processing errors
2023-11-15 22:34:37 +01:00
Benjamin Gaussorgues
11764ffec1
Merge pull request #41212 from nextcloud/backport/fix/aborted_pgsql_transaction_on_error/stable27
[stable27] fix(twofactor): avoid DB error on Twofactor (en/dis)abled event #40472
2023-11-15 09:03:02 +01:00
Tobias Zimmerer
8970f96e3b fix(s3): support SSE-C headers for the MultipartCopy call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
2023-11-15 07:37:09 +00:00
Arthur Schiwon
712a4c8e10
Merge pull request #41429 from nextcloud/backport/41417/stable27
[stable27] fix(workflowengine): use andWhere() not second where()
2023-11-13 20:15:42 +01:00
Arthur Schiwon
bf301df539 fix(workflowengine): use andWhere() not second where()
- an unconditional where() condition is added right before
- fixes also wrongly named methods in the Exception message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-13 14:13:01 +00:00
Joas Schilling
32ada27ed6 fix(log): Log exception class when message is empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 13:54:59 +00:00
Patrick Fischer
b79f58933b Lower log level about invalid session token 2023-11-10 15:59:14 +00:00
Marcel Klehr
8e29b026aa
Merge pull request #41359 from nextcloud/backport/41295/stable27
[stable27] fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
2023-11-10 14:33:49 +01:00
Robin Appelman
6250c7d3a9
Merge pull request #41324 from nextcloud/backport/40995/stable27
[stable27] optimize cache jail creation
2023-11-09 15:30:43 +01:00
Marcel Klehr
4e15a25933 fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 12:47:35 +00:00
Joas Schilling
3be53b236f
Merge pull request #41215 from nextcloud/backport/41214/stable27
[stable27] fix(install): Make installing more verbose
2023-11-08 12:42:52 +01:00
Robin Appelman
204aedc606 optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-07 13:59:32 +00:00
Simon L
67035ba88c
Merge pull request #41289 from nextcloud/backport/41263/stable27 2023-11-06 10:33:14 +01:00
Joas Schilling
a9343edd57
Merge pull request #41150 from nextcloud/backport/40885/stable27
[stable27] fix(OCM): Make the public API only rely on OCP
2023-11-06 09:45:34 +01:00
Simon L
0e768fadfc fix semaphore unguarding
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-05 18:38:04 +01:00
Joas Schilling
b864f3909f
fix(install): Make installing more verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:46:06 +01:00
Christoph Wurst
3d58d18d1d fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 10:25:56 +00:00
Git'Fellow
09b9f5bd00 Use \Throwable instead
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:03:24 +00:00
Git'Fellow
5a94ced5f7 Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:03:23 +00:00
Benjamin Gaussorgues
234e8d21bd
fix(twofactor): avoid error in pgsql for duplicate entry
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-31 14:43:49 +01:00
Git'Fellow
71725553f2 Don't pass invalid streams to Imaginary
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

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

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-29 14:15:58 +00:00
Joas Schilling
c25ed7cadc
Merge pull request #40929 from nextcloud/backport/40865/stable27
[stable27] Fix version number in ITimeFactory after it was delayed
2023-10-27 10:40:19 +02:00
Joas Schilling
8dbc4e9eec
fix(OCM): Make the public API only rely on OCP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-27 10:34:48 +02:00
Jonas
9ed1bbee5c enh(IMountManager): Add method to get MountPoint from CachedMountInfo
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-26 22:21:08 +02:00
Joas Schilling
96127d4997 Fix version number in ITimeFactory after it was delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 06:15:34 +00:00
Arthur Schiwon
a722274c60
Merge pull request #40569 from nextcloud/backport/40499/stable27
[stable27] add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is
2023-10-11 10:06:29 +02:00
Arthur Schiwon
1b1a54403e
Merge pull request #40849 from nextcloud/backport/40785/stable27
[stable27] fix: Log critical session renewal and logout paths
2023-10-10 19:28:49 +02:00
Julius Härtl
1f4fffc258
Merge pull request #40577 from nextcloud/s3-multipart-copy-27 2023-10-10 19:22:53 +02:00
Christoph Wurst
d932622255 fix: Log critical session renewal and logout paths
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-10 09:47:07 +00:00
Robin Appelman
36eef0be67 add wrapper to ensure we don't get an mtime that is lower than we know it is
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-10 09:34:20 +02:00
Arthur Schiwon
35d73517b5
Merge pull request #40695 from nextcloud/fix/dashboard-widgets-api-stable27
[stable27] Fix Dashboard IManager getWidgets return annotation
2023-10-09 22:51:08 +02:00
Arthur Schiwon
d5e53f03f4
Merge pull request #40834 from nextcloud/manuabl/backport/stable27/40731
[stable27] Generate all preview sizes for Imaginary
2023-10-09 22:48:09 +02:00
Daniel Hansson
c9e130ba27 also remove function
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-09 15:41:49 +01:00
Daniel Hansson
cf941ac30a Generate all preview sizes for Imaginary
A follow up on https://github.com/nextcloud/server/pull/40670

Based on discussions here: https://github.com/nextcloud/server/issues/38911#issuecomment-1741819188

This fixes the case were not all previews are generated, for example in the activity view: https://github.com/nextcloud/server/issues/38911#issuecomment-1738886106



Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-09 15:41:36 +01:00
Alexander Piskun
4623fd12d3
fixed Drone test
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-09 14:44:34 +03:00
Alexander Piskun
2fb703dfda
added CORS skip if session was created by AppAPI
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-09 14:42:30 +03:00
Christoph Wurst
b07007dac4 fix(user): Log affected user of app token login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-06 08:15:06 +00:00
jld3103
2550a0ec16 Fix Dashboard IManager getWidgets return annotation
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-05 10:41:05 +02:00
Maxence Lange
5ab96af4ad
fix ocm-provider rewrite rules
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-05 10:14:20 +02:00
Côme Chilliet
e0eb9a8ce9 Store size in int|float for 32bit support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:14:31 +00:00
Maxence Lange
0fac750bcd ocm services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-22 17:26:02 -01:00
Robin Appelman
22556a67a8 use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-22 10:42:07 +02:00
Arthur Schiwon
21f8cc8847
Merge pull request #40379 from nextcloud/backport/38808/stable27
[stable27] Fix issues where unencrypted_size was being falsely used for non-encrypted home folders
2023-09-21 10:55:43 +02:00
Joas Schilling
9cf4e38c4b fix(comments): Use provided offset in best effort when loading comments
When we didn't find the "$lastKnownComment" the whole condition was ignored.
Now we still use the ID as an offset.
This is required as a fall-back for expired messages in Talk
and deleted comments in other apps.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-19 13:47:51 +00:00
Lucas Azevedo
cfae699d6e Wrap mimetype insert and getLastInsertId in a transaction
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 19:31:27 +00:00
Lucas Azevedo
f0a1716bb5 fix(mimetype): Remove unnecessary transaction when storing a mime type
Fixes #40064.

This could be fixed by adding a rollback and starting a new transaction
before the SELECT query, but in this case that would have the same
effect as not using one.
See https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html
and https://www.postgresql.org/docs/7.1/sql-begin.html#R1-SQL-BEGIN-1

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 19:31:26 +00:00
Julius Härtl
fd6990a33b
fix: Only read unencrypted_size when file is actually encrypted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-12 15:05:16 +02:00