Commit graph

67091 commits

Author SHA1 Message Date
Maksim Sukharev
e2b377f85c
fix(status): Fix infinite loading of predefined statuses
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:08 +02:00
Joas Schilling
76c58a302a
chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:23 +02:00
Joas Schilling
c90d414fdf
fix(status): Correctly set the message and predefined message using the store
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:12 +02:00
Joas Schilling
90a817cee5
feat(status): Add a capability for the restore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:12 +02:00
Joas Schilling
17a8de9e56
chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:08 +02:00
Joas Schilling
64776ff042
feat(user_status): Allow to manually revert an automated status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:57:44 +02:00
Simon L
1a255379e8
Merge pull request #37766 from nextcloud/enh/noid/add-db-file-locking-check
add an admin check for db file locking
2023-04-18 13:31:57 +02:00
Simon L
f74840f5b8
Merge pull request #37046 from max65482/fix_event_moving
Fix event moving issues
2023-04-18 12:36:41 +02:00
Simon L
8508865eaf
Merge pull request #37772 from nextcloud/enh/30986/follow-up
Prevent the OpenDocument preview generator from trying to open empty files
2023-04-18 12:18:14 +02:00
Simon L
1861aa56ea
Merge pull request #37770 from nextcloud/enh/32032/follow-up
l10n: Change to a capital letter
2023-04-18 11:53:14 +02:00
Simon L
1d40be848c
Merge pull request #37522 from nextcloud/fix/css-placeholder-color
Ungroup `placeholder` css rules to prevent browsers from removing all rules
2023-04-18 11:49:00 +02:00
Simon L
8fe22ebf60
Merge pull request #36617 from nextcloud/update/psr-container
chore: Update PSR container to 2.0.2
2023-04-18 11:40:12 +02:00
Simon L
5f879a705b
Merge pull request #37316 from nextcloud/fix/security/strict-cookie-check-status-codes
fix(security)!: Use consistent HTTP status for strict cookie checks
2023-04-18 11:39:18 +02:00
Simon L
564463c439
Merge pull request #32632 from nextcloud/smb-353
update icewind/smb to 3.5.4
2023-04-18 11:37:51 +02:00
Simon L
e2ab9bf4af address review and fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 11:33:53 +02:00
Joas Schilling
c634d71197
Merge pull request #37241 from nextcloud/feature/allow-any-image-size
Allow images of any size as profile pictures
2023-04-18 10:20:21 +02:00
Maximilian Martin
c8985944ec fix event move issue
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
2023-04-18 09:45:30 +02:00
John Molakvoæ
f7cca5c1a3
Merge pull request #37731 from nextcloud/feat/viewconfig-api
feat(files): add view config service to store user-config per view
2023-04-18 09:43:09 +02:00
John Molakvoæ
d7ab8da1ef
feat(files): add view config service to store user-config per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-18 09:02:01 +02:00
Nextcloud bot
ff58cd5227
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 02:37:16 +00:00
Simon L
855e7a2efb
Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes
fix: always use proper path on node api when calling the view
2023-04-18 04:11:44 +02:00
Simon L
e10e509452
Merge pull request #37330 from Al2Klimov/http-enough
Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
2023-04-18 03:18:54 +02:00
Simon L
96e7eaf2c7
Merge pull request #37762 from nextcloud/Jerome-Herbinet-patch-1
Fix wording meaning (placeholder)
2023-04-18 02:19:12 +02:00
Simon L
66ab45b8a0
Merge pull request #36528 from nextcloud/dav-backend-transations
CalDAV/CardDAV: put every method from backends that does multiple DB calls in transactions
2023-04-18 00:55:29 +02:00
Ferdinand Thiessen
f8d558e24f fix(core): Ungroup placeholder css rules to prevent browsers from removing all rules
When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1].
In this case `::-ms-input-placeholder` is unknown to Firefox and Chrome, so the `::placeholder` rule is never applied.
[1]: https://www.w3.org/TR/selectors-3/#grouping

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 22:25:03 +00:00
Simon L
45a0fe490c
Merge pull request #37534 from Rsplwe/master
Adjust the value of the "max-parts" parameter of the object storage 'ListPart' interface to 1000
2023-04-18 00:16:38 +02:00
Simon L
5952a027c3
Merge pull request #37324 from nextcloud/fix/mapper-exception
Allow to catch `IMapperException` by implementing `Throwable`
2023-04-18 00:10:44 +02:00
Simon L
6afda50590
Merge pull request #37645 from nextcloud/fix/improve-imip-emails
fix(dav): Parse sender PARTSTAT in REPLYs
2023-04-17 23:49:16 +02:00
Simon L
0a763820bc
Merge pull request #37676 from nextcloud/fix/auth/atomic-password-db-statements
fix(auth): Run token bulk update statements in atomic transaction
2023-04-17 23:48:24 +02:00
Julius Härtl
d9c81f56ad tests: Adapt node related unit tests mocks to required root view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-17 23:46:52 +02:00
Julius Härtl
160bd75d0a fix: Use proper path when creating node instances
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-17 23:46:52 +02:00
Simon L
85c9e75f33
Merge pull request #32314 from nextcloud/object-mkdir-logging
additional logging when mkdir fails for object storage
2023-04-17 23:42:08 +02:00
Alexander A. Klimov
ff02b072ae Drop broken unit test
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +02:00
Alexander A. Klimov
e3f1fae715 Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
This is the case for localhost and Tor hidden services.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +02:00
Simon L
5cda8f0f45
Merge pull request #35129 from Glandos/previewperf2
[Performance] Reuse preview directory listing
2023-04-17 20:22:39 +02:00
Simon L
d87cc208bb
Merge pull request #31286 from rotdrop/bugfix/dont-start-session-when-session-is-already-open
Don't call session_start() when PHP session is still or already open.
2023-04-17 20:14:53 +02:00
Simon L
1ef23e7708 Allow images of any size as profile pictures
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 17:18:00 +00:00
Ferdinand Thiessen
dc9d8c42bb fix: Adjust console formatter code to match with Symfony type hints
Symfony has added type hints on the `OutputFormatterInterface`,
so we must adjust our type hints to match with Symfony.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 18:35:10 +02:00
Ferdinand Thiessen
698332e81d chore: Update PSR container to 2.0.2, matching 3rdparty nextcloud/3rdparty#1311
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 18:35:08 +02:00
Thomas Citharel
ff3b69b21d refactor(dav): Since we're in a transaction, use QB properly when incrementing synctoken
Now that we're in a transaction, we can reuse the sync token's previous value without trouble, and rewrite the increment UPDATE query without dirty direct SQL.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 16:08:44 +00:00
Thomas Citharel
c9a3129cb4 fix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that does multiple DB calls in transactions
In a lot of methods we're doing read-after-writes (for instance calling
updateProperties after touching calendar objects).
There's also a lot of deleting methods that do stuff sequentially which
could cause trouble.
This should avoid this kind of issues.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 16:08:44 +00:00
Christoph Wurst
a06898a2d0 fix(security)!: Use consistent HTTP status for strict cookie checks
Before: 503/412
Now: 412 + json body explaining the error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-17 16:06:37 +00:00
Robin Appelman
30b7147a31 update icewind/smb to 3.5.4
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:06:17 +00:00
Robin Appelman
85a879894f update icewind/smb to 3.5.3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:06:17 +00:00
Ferdinand Thiessen
bdbff2181e fix: Allow to catch IMapperException by implementing Throwable
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 16:05:10 +00:00
Simon L
c4ab4018cf l10n: Change to a capital letter
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 16:03:25 +00:00
Christoph Wurst
b952066140
Merge pull request #37724 from nextcloud/fix/encryption-signature-check-logic
Cleanup signature checking logic in encryption
2023-04-17 17:39:34 +02:00
Simon L
800f40b71c fix php-lint
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-17 17:18:09 +02:00
Simon L
54b5703233
Merge pull request #35744 from nextcloud/mimeloader-transaction
Put Mimeloader insertion and read in the same transaction
2023-04-17 16:58:36 +02:00
Glandos
e542e60dbc try to make linters happy
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:14 +02:00