Commit graph

75418 commits

Author SHA1 Message Date
Jonas
9fe4edca2c
fix(ReferenceApiController): Remove accidently added AnonRateLimit
Signed-off-by: Jonas <jonas@freesources.org>
2024-07-17 15:38:09 +02:00
Jonas
e4368f6a9f
Merge pull request #46378 from nextcloud/feat/public_reference_api
feat(Reference): Add public API endpoints to get references
2024-07-17 14:35:15 +02:00
Jonas
1671bf3ef2
feat(Reference): Add public API endpoints to get references
Calling the public API endpoints will check for matching registered
reference providers that implement `IPublicReferenceProvider` and call
their respective functions. If no matching provider is found, the
default `LinkReferenceProvider` will be used to provide open graph data.

The frontend reference widget components will call these endpoints from
unauthorized sessions, e.g. in public shares.

If present, the sharing token of the origin URL is passed to
`resolveReferencePublic()` as additional information for the reference
provider to determine the access scope. This allows the respective
reference providers to determine whether the origin share has access to
the linked resource.

`getCacheKeyPublic` also gets the sharing token so it can scope the cached
entry to it.

Contributes to #45978

Signed-off-by: Jonas <jonas@freesources.org>
2024-07-17 12:56:41 +02:00
Git'Fellow
b06ce832d8
Merge pull request #46555 from nextcloud/emptyArrayAppStoreFail
fix(appstore): Return an empty array in case of fail
2024-07-17 12:33:33 +02:00
Joas Schilling
05888991d7
Merge pull request #46419 from nextcloud/bugfix/noid/limit-logo-size-for-outlook
fix(mail): Fix big logos in mail templates for Outlook
2024-07-17 11:54:47 +02:00
Joas Schilling
693a81bfa3
fix(mail): Fix big logos in mail templates for Outlook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-17 09:24:55 +02:00
Nextcloud bot
4362ed5361
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-17 00:19:35 +00:00
John Molakvoæ
d237fd0e78
Merge pull request #46342 from nextcloud/fix-getimagesize 2024-07-16 21:47:35 +02:00
Alexander Piskun
1f8999ea71
Merge pull request #46477 from nextcloud/support-direct-appapi-requests
feat: webhooks_listeners app: send direct requests to ExApps using AppAPI
2024-07-16 21:15:00 +03:00
Ferdinand Thiessen
bd9ab63585
Merge pull request #46557 from nextcloud/enh/declarative-settings-design
refactor: Improve design of declarative settings
2024-07-16 20:09:01 +02:00
Alexander Piskun
54c700bc74
Merge branch 'master' into support-direct-appapi-requests 2024-07-16 20:42:51 +03:00
Alexander Piskun
696ece2f52 feat: webhooks_listeners app support for sending direct requests to ExApps using AppAPI.
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-07-16 19:36:43 +03:00
Git'Fellow
8665a9ba16
chore: add warning in case of failure
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-16 18:13:25 +02:00
Ferdinand Thiessen
1b41e8f566
Merge pull request #46538 from nextcloud/fix/use-filename-validator
refactor: Migrate filename validation from `Storage` and `Util` to `FilenameValidator`
2024-07-16 17:42:40 +02:00
Robin Appelman
decae5a45a
Merge pull request #46547 from nextcloud/query-builder-connection
feat: allow running QueryBuilder queries on different connections
2024-07-16 17:38:28 +02:00
Louis
6523cebf5d
Merge pull request #46450 from nextcloud/artonge/fix/prevent_generating_metadata_on_every_upgrade
fix(files_metadata): Don't run generation job on every upgrade
2024-07-16 17:10:00 +02:00
nextcloud-command
34b2546331 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-16 14:19:11 +00:00
John Molakvoæ
3dfebcb06e
Merge pull request #46551 from nextcloud/fix/shareapi-l10n 2024-07-16 15:48:42 +02:00
Ferdinand Thiessen
aa767de2b8 refactor: Improve design of declarative settings
* Remove the hint from DOM if empty (otherways they still take some place in layout)
* Individual fields of the same section should not be spaced 60px, 20px (2x 10px) should be enough
* We have the type `multi-checkbox` for real checkboxes where you can select on of multiple, and we have `checkbox` which is only used for enable / disable, so we shall use `switch` type of the checkbox component as we do for all other (non declarative) settings

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 15:38:34 +02:00
Joas Schilling
2f9fcc22ae
Merge pull request #46559 from nextcloud/ci/noid/fix-compile-command
fix(CI): Fix compile command
2024-07-16 15:27:08 +02:00
Louis Chemineau
f00acebf93
fix(files_metadata): Don't run generation job on every upgrade
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-16 15:02:32 +02:00
Joas Schilling
fe90e97f73
fix(CI): Fix compile command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-16 13:35:54 +02:00
Ferdinand Thiessen
bb1f27f3df
Merge pull request #46556 from nextcloud/fix/sidebar-types
fix(files): Typo in import of `ShareType`
2024-07-16 13:27:51 +02:00
Ferdinand Thiessen
322b3946d9
fix(dav): Verify target path in setName instead of source path
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:57:11 +02:00
Ferdinand Thiessen
f4ede27cdb
refactor: Remove deprecated Util function for filename validation to FilenameValidator
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:49:10 +02:00
Ferdinand Thiessen
69341e4306
refactor: Migrate filename validation logic from Storage to FilenameValidator
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:49:09 +02:00
Ferdinand Thiessen
16e1d2dd07
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:23:49 +02:00
Ferdinand Thiessen
5cf0224461
fix(files): Typo in import of ShareType
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:20:55 +02:00
Ferdinand Thiessen
465cee2da3
Merge pull request #46535 from nextcloud/fix/noid/use-ubuntu-latest-for-s3
fix(ci): Use ubuntu-latest for object storage test
2024-07-16 12:16:17 +02:00
Ferdinand Thiessen
bcfe566acc
Merge pull request #46543 from nextcloud/fix/htaccess
fix(htaccess): Serve images as static assets
2024-07-16 11:52:12 +02:00
Git'Fellow
b010474c78
fix(appstore): Return an empty array in case of fail
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-16 11:42:35 +02:00
Ferdinand Thiessen
18c9f07ade
Merge pull request #46545 from nextcloud/fix/bring-back-forbidden-names
feat: Add `forbidden_filename_basenames` config option
2024-07-16 11:06:14 +02:00
grnd-alt
170849b3ff
Merge pull request #46354 from nextcloud/fix/45548-bug-duplicate-filefolder-names-delete-file-when-moving
stop file actions when conflict dialog skipped
2024-07-16 10:14:02 +02:00
grnd-alt
3ebfe9511b fix: stop file actions when conflict dialog skipped
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-07-16 09:41:42 +02:00
skjnldsv
bb730a1ee3 fix(files_sharing): remove undesirable translations from ShareAPIController
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-16 08:33:53 +02:00
Josh Richards
c0e1503ce1 fix(previews): Stop returning true when getimagesize() fails
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-07-15 21:06:49 -04:00
Nextcloud bot
70dd8d513b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-16 00:19:55 +00:00
Robin Appelman
9de6190ec4
feat: allow running QueryBuilder queries on different connections
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-15 22:41:04 +02:00
Ferdinand Thiessen
bdbeabafa7
feat: Add forbidden_filename_basenames config option
This allows to configure forbidden filenames (the full filename like `.htaccess`)
and also forbidden basenames like `com0` where `com0`, `com0.txt` and `com0.tar.gz` will match.
We need this as only using basenames was too restrictive and will cause problems on some systems when updating.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 19:39:18 +02:00
Joas Schilling
7be7cfa5fd
Merge pull request #46531 from nextcloud/bugfix/noid/save-CI-time-for-forks
fix(CI): Skip some CI work from forks as they don't work anyway
2024-07-15 18:32:54 +02:00
Ferdinand Thiessen
52e243f4d8
fix(htaccess): Serve images as static assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 18:06:13 +02:00
Christoph Wurst
8c571dda47
Merge pull request #45848 from nextcloud/fix/comment-deleting-with-activities
Fix/comment deleting with activities installed
2024-07-15 16:20:21 +02:00
Marcel Müller
9b02ebde28 fix(ci): Use ubuntu-latest for object storage test
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-07-15 15:58:22 +02:00
Grigory Vodyanov
bd7c29c362 fix(comments): comment deleting with activities installed
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>

Signed-off-by: Grigory V <scratchx@gmx.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-15 13:38:41 +00:00
Robin Appelman
f94b0c3f55
Merge pull request #46397 from nextcloud/extended-query-builder-base
feat: add base class for extending the query builder
2024-07-15 14:53:22 +02:00
Robin Appelman
7206b2dc41
Merge pull request #46396 from nextcloud/inspectable-composite-expression
feat: allow inspecting the parts of the composite expression builder
2024-07-15 14:53:07 +02:00
Joas Schilling
e40cc779c9
fix(CI): Skip some CI work from forks as they don't work anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-15 13:25:20 +02:00
Ferdinand Thiessen
d42849852e
Merge pull request #46432 from nextcloud/fix/close-sidebar-on-navigation
fix(files): Close sidebar on navigation
2024-07-15 12:53:03 +02:00
Joas Schilling
fe597d89cf
Merge pull request #45509 from JulienFS/fix/openapi/response-namespace
Use OC namespace for core ReponseDefinitions instead of OCA
2024-07-15 12:51:02 +02:00
Julien CHATY-CAPELLE
2d84d0f5bf fix(core): use OC namespace for core ReponseDefinitions instead of OCA
Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr>
2024-07-15 11:50:02 +02:00