Commit graph

976 commits

Author SHA1 Message Date
provokateurin
815fe7fb8b
feat(Capabilities): Add IFeature
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-19 08:59:47 +02:00
Alexander Piskun
b7af6ec200
feat: allow for ExApps to call Admin endpoints marked with specific attr
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-07-18 15:11:39 +03: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
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
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
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
skjnldsv
30f9ef414e fix: psalm, cs, autoloader and lint
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
Robin Appelman
c82d382a20 feat: add base class for extending the query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-12 17:01:39 +02:00
Ferdinand Thiessen
b50182b0d6
Merge pull request #46371 from nextcloud/feat/filename-validator
feat: Add `IFilenameValidator` to have one consistent place for filename validation
2024-07-10 15:40:26 +02:00
Ferdinand Thiessen
46f1efac41
feat: Add IFilenameValidator to have one consistent place for filename validation
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 15:04:34 +02:00
Christopher Ng
69f252a90d feat: Add IPasswordHashBackend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 16:30:19 -07:00
Côme Chilliet
a434dfbcb3
Merge pull request #46115 from nextcloud/enh/add-a-universal-debug-option-to-occ
feat(occ): Add a --debug option to output all log levels to the output
2024-07-08 17:15:02 +02:00
Côme Chilliet
612088bef2
feat: Add reserved options in a new OCP class so that applications know about them
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-04 16:19:36 +02:00
Joas Schilling
bd7b09a709
Merge pull request #46251 from nextcloud/feat/taskprocessing-more-tasktypes
feat(TaskProcessing): Add more task types
2024-07-04 14:02:02 +02:00
Marcel Klehr
d9cf6e61c8 feat(TaskProcessing): Add more task types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-04 10:10:23 +02:00
Robin Appelman
5f7b33fbea
Merge pull request #46194 from nextcloud/schema-export-cmnd
feat: add commands for exporting current and expected database schema
2024-07-02 16:44:55 +02:00
Côme Chilliet
2ba0819243
feat(occ): Add a --debug option to output all log levels to the output
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 15:03:18 +02:00
Robin Appelman
4f01486da0
feat: add commands for exporting current and expected database schema
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-02 13:45:12 +02:00
Daniel
0f95c6e471
Merge pull request #46185 from nextcloud/debt/noid/migrate-background-commands-to-iappconfig
refactor: simplify background commands
2024-07-02 11:21:55 +02:00
provokateurin
5aefdc399e
feat(AppFramework): Add ExAppRequired attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-01 14:41:20 +02:00
Daniel Kesselberg
a773a8b915
refactor: simplify background commands
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-01 12:52:06 +02:00
Richard Steinmetz
6121325310
Merge pull request #45532 from nextcloud/feat/publish-resources-room-update
feat: implement public OCP api to update resources and rooms
2024-06-25 16:48:30 +02:00
Robin Appelman
957a00b9de chore: remove chunking-v1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 16:57:42 +02:00
Robin Appelman
e74f71b32e feat: add setup check for needed mimetype migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-18 14:46:19 +02:00
Côme Chilliet
efa2c2cb85
chore(composer): composer install --no-dev
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 16:51:35 +02:00
Côme Chilliet
19bc3ed1e3 chore(webhooks): Rename webhooks application to webhook_listeners
There is already a webhooks application in the appstore

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
e111d2e26c fix: Make webhook event serialization opt-in with a new interface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
734aad8934 feat: Make node events serializable
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
c3d4d2aad1 Revert "feat: Add support for webhook listeners"
This reverts commit 3b790df0127b2bf95e8fe3a8460aa3813e58bef8.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
8d18607f80 feat: Add support for webhook listeners
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Richard Steinmetz
69e0158030
feat: implement public OCP api to update resources and rooms
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-27 18:45:52 +02:00
Côme Chilliet
a9f7131575
fix: Move OC_EventSource to OC namespace
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-16 17:28:54 +02:00
Benjamin Gaussorgues
e630e4b983
Merge pull request #44763 from nextcloud/fix/group_name_length_db 2024-05-16 14:22:30 +02:00
Marcel Klehr
4ce5aaf54c chore: Check in autoloader updates
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:42 +02:00
Marcel Klehr
20c09d1afb fix: Don't check in barmani plugin in composer autoloader
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:41 +02:00
Marcel Klehr
b85a0edc92 fix: Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +02:00
Marcel Klehr
4b954d2227 fix: Wire-up the new classes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +02:00
Julien Veyssier
1acc57b5c0
feat(bg-jobs): allow setting a job class list instead of a single class in cron.php and the job worker occ command
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-05-02 16:43:41 +02:00
Benjamin Gaussorgues
7a6b1f8ae8
fix(groups): allows to save group names with more than 64 characters
Mimic behaviour from LDAP users and add a hard limit to 255 characters

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-04-22 15:26:55 +02:00
Julius Härtl
f9e235f7f1 perf(templates): Emit RegisterTemplateCreatorEvent to register template creators more lazy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-22 15:23:55 +02:00
Joas Schilling
9f4845e25b
fix(activity): Add a dedicated exception when the filter or setting is not found
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:42 +02:00
Joas Schilling
784ab6e79a
fix(activity): Add a dedicated exception when the event is unknown to the provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:41 +02:00
Joas Schilling
8f83953ff1
fix(activity): Add a dedicated exception when not all fields are set while publishing an activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:41 +02:00
Joas Schilling
661143a1d1
fix(activity): Add a dedicated exception when invalid values are set
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:40 +02:00
yemkareems
29f0448937
Merge pull request #44840 from nextcloud/feature/occ-clear-avatar-cache-command
Feature/occ clear avatar cache command
2024-04-16 15:13:32 +05:30
yemkareems
1d50d78bb3
feat: changes by build/autoloaderchecker.sh
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-16 14:18:51 +05:30
Joas Schilling
0d0c2cdaa0
fix(notifications): Add a dedicated exception when a notification was not parsed completely
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:38 +02:00
Joas Schilling
c8e4a29dfa
fix(notifications): Add a dedicated exception when the notification is unknown to the notifier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:37 +02:00
Joas Schilling
2c6ecef90f
fix(notifications): Add a dedicated exception when not all fields are set while saving a notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:37 +02:00
Joas Schilling
834bd13e28
fix(notifications): Add a dedicated exception when invalid values are set
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 09:23:15 +02:00