Ferdinand Thiessen
a37b6c7e5f
fix!: Remove deprecated `RegisterWidgetEvent`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:34:03 +07:00
Côme Chilliet
303e2febc7
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs
2024-02-08 18:27:44 +07:00
Louis Chemineau
898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
...
This reverts commit d9d60238c7 , reversing
changes made to ba3fdb0cdc .
2024-02-08 15:31:19 +07:00
jithin-space
7c11414c9b
added patch method
...
Signed-off-by: jithin-space <jithin.thankachan@gpsrenewables.com>
2024-02-08 15:54:20 +07:00
Côme Chilliet
65981f99bf
chore: Migrate away from internal Job classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Côme Chilliet
166773879b
fix!: Migrate jobs away from deprecated interfaces
...
BREAKING CHANGE: Removed ILogFactory::getCustomLogger deprecated method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Maxence Lange
2122a81419
fix getAllValues() to filter values based on prefix
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-07 12:24:57 +07:00
Côme Chilliet
f73f966c98
chore: Add missing ArrayAccess template parameters
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-06 10:24:41 +07:00
Côme Chilliet
1332078be1
Use OCP\Util::getL10N instead of OC::$server->getL10N
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +07:00
Maxence Lange
51fa22dc26
fix psalm
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-31 21:13:32 +07:00
Maxence Lange
86835ee899
sync with new OCP\IAppConfig
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-31 21:13:32 +07:00
Baptiste Fotia
9af96d9f9a
feat(php,vue): Create a new parameter
...
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2024-01-31 10:44:40 +07:00
Côme Chilliet
a2eacf4487
Document throwing behavior of SetupResult upon invalid rich object
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 14:14:17 +07:00
Julius Härtl
8c777145f2
Merge pull request #42597 from nextcloud/perf/s3-mkdir-update-size
...
perf: Avoid updating the folder size if we know the size difference
2024-01-23 19:39:28 +07:00
Joas Schilling
582ec1294a
fix(apps): Fix type information of app manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-23 09:55:06 +07:00
Maxence Lange
6daea857ab
fixes
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Maxence Lange
f7d0c74b10
lazy AppConfig
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Alexander Piskun
913f62982e
Merge branch 'master' into enh/speech-to-text-provider-with-userid
2024-01-15 10:32:25 +07:00
Faraz Samapoor
cdf9d94423
Adds new exception to check for the availability of the index.
...
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-01-15 10:36:02 +07:00
Alexander Piskun
156013a711
introduce IProviderWithUserId
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-14 22:44:37 +07:00
Andrey Borysenko
13588c7566
Introduce ISpeechToTextProviderWithUserId
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-01-14 18:47:40 +07:00
Julius Härtl
cc75294eb6
perf: Avoid updating the folder size if we know the size difference
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 14:21:08 +07:00
Julius Härtl
2df26608ef
Merge pull request #42649 from nextcloud/enh/machine-translation-provider-with-id
2024-01-11 21:50:50 +07:00
Côme Chilliet
6fc224dfce
Document new throw possibility in SetupResult
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet
a78abd84ce
Validate rich objects passed to SetupResult
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet
f34865eb4e
Add RichObject support for SetupChecks descriptions
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Marcel Klehr
1db8888f99
enh(OCP\Translation): Introduce ITranslationProviderWithUserId
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 16:00:24 +07:00
Marcel Klehr
4bfa3d34fc
enh(OCP\Translation): Make ITranslationProviderWithId extend ITranslationProvider
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:08:03 +07:00
Marcel Klehr
1fd0c2979e
enh(OCP\Translation): Add ITranslationProviderWithId
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 11:16:14 +07:00
Joas Schilling
c4d233a892
Merge pull request #42377 from nextcloud/fix/text-to-image-manager
...
Fix(text2image): Return providers as indexed array
2024-01-10 09:28:45 +07:00
Joas Schilling
7981a4bc82
Merge pull request #42391 from nextcloud/bugfix/noid/warn-on-excessive-memory-consumption-in-background-jobs
...
feat(cron): Warn on excessive memory consumption in background jobs
2024-01-10 09:15:14 +07:00
John Molakvoæ
82b5a19a35
fix: public dav and files_sharing testing fixes
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:14 +07:00
John Molakvoæ
7b6a650b6e
feat: public dav endpoint v2
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:06 +07:00
Robin Appelman
7394645eb7
restore shared lock ttl when releasing
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +07:00
Joas Schilling
b8c57efaad
fix(log): Improve logging of background job details for better reproduction/debugging
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-20 15:35:40 +07:00
MB-Finski
f27d2bf352
Update doc blocks
...
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-20 07:49:09 +07:00
Marcel Klehr
53be798a70
Merge branch 'master' into enh/text-processing-provider-with-id
2023-12-19 16:14:13 +07:00
Marcel Klehr
928fee8ab4
enh(SpeechToText): Allow providers to declare a dynamic ID instead of using className
...
this allows AppAPI to register anonymous classes as SpeechToText providers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:31:21 +07:00
Marcel Klehr
2e0141165a
Merge branch 'master' into enh/text-processing-provider-with-id
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:29:03 +07:00
Anna Larch
fc4ef6133b
fix(ooo): add new ooo status with new emoji
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 11:35:00 +07:00
Joas Schilling
6056928dc6
feat(comments): Add a meta data column for comments
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-14 14:32:00 +07:00
John Molakvoæ
ceb2d41503
fix(l10n): fix translations for init scripts
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-08 12:36:39 +07:00
Andy Scherzinger
13eecbba06
Merge pull request #42011 from nextcloud/techdebt/noid/allow-to-load-multiple-metadata-with-1-query
...
fix(metadata): Fix copy-paste doc block throws
2023-12-06 00:07:27 +07:00
Joas Schilling
fffbb06417
Merge pull request #41962 from nextcloud/fix/dav/check-current-ooo-time
...
fix(dav): Make current ooo info time-dependent
2023-12-05 10:52:28 +07:00
Christoph Wurst
9a206c6282
fix(dav): Make current ooo info time-dependent
...
* If there is an out of office absence info and it happens now -> return
data
* Else: return no data
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-05 08:36:50 +07:00
Joas Schilling
b6e9132a5a
fix(metadata): Fix copy-paste doc block throws
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 14:57:32 +07:00
Joas Schilling
2a0daf7aff
fix(metadata): Allow to load metadata of multiple files at once
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 13:34:10 +07:00
Pytal
294330454b
Merge pull request #40169 from nextcloud/enh/load-disabled-users-directly
...
enh(settings): Load from disabled users endpoint
2023-12-01 08:42:04 +07:00
Marcel Klehr
fe6d9e33b4
fix(TextProcessing): Make task type template param covariant
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-01 11:52:42 +07:00
Côme Chilliet
adc43eae9b
Invert parameter order in getDisabledUserList to be consistent
...
This matches what was done in the calls and so fixes getting disabled
user list when there are several backends returning disabled users.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-30 17:15:12 +07:00
Louis Chemineau
2f6a4bf4a1
Synchronize operation on live photo files
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-29 19:07:32 +07:00
Anna Larch
f19645adab
enh(userstatus): add OOO automation and remove calendar automation
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 10:28:06 +07:00
Joas Schilling
f6b6776c93
fix(API): Use a distinct exception so apps can react to it and customize the return
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-28 06:11:57 +07:00
Richard Steinmetz
8191295f66
feat(dav): dispatch out-of-office started and ended events
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:18:49 +07:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +07:00
Maxence Lange
ee787cd1c6
Merge pull request #41459 from nextcloud/enh/noid/search-metadata-null
...
implements search on null/notnull metadata
2023-11-23 07:52:27 +07:00
Kate
cd25b3a0d1
Merge pull request #41662 from nextcloud/chore/settings/cleanup-manager-type-annotations
2023-11-23 09:21:01 +07:00
jld3103
ae360080f5
chore(settings): Cleanup IManager and Manager type annotations
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-23 08:29:37 +07:00
Louis Chemineau
a93af13c12
Fix is-define operator
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 +07:00
Maxence Lange
7467422f57
implements search on null/notnull metadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 12:43:27 +07:00
Ferdinand Thiessen
9c3321c524
Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behavior
...
fix(ObjectStore): Make copying behavior consistent with local storage
2023-11-22 13:54:01 +07:00
Benjamin Gaussorgues
ba1af2b22e
Merge pull request #41646 from nextcloud/feat/hide-search-provider
...
feat(search): hide search provider from list
2023-11-22 09:49:46 +07:00
Benjamin Gaussorgues
75e5854458
feat(search): hide search provider
...
Some search providers can be hidden if they send `null` in `getOrder`
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-22 08:47:53 +07:00
Maxence Lange
ff823cf926
accept boolean value
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 01:20:42 +07:00
Maxence Lange
22d6c8dcd4
add named metadata event
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 +07:00
Ferdinand Thiessen
ecf9f0a872
fix(CSP): Only add `strict-dynamic` when using nonces
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 22:01:02 +07:00
Ferdinand Thiessen
e231abd9bf
fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on `script-src-elem`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 14:42:36 +07:00
Ferdinand Thiessen
5172baaf8b
fix(ObjectStore): Make copying behavior consistent with local storage
...
Drop file permissions on copy like we do on local storage.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 12:54:37 +07:00
Ferdinand Thiessen
7df9eb3351
feat(ContentSecurityPolicy): Allow to set `strict-dynamic` on `script-src-elem` only
...
This adds the possibility to set `strict-dynamic` on `script-src-elem` only while keep the default rules for `script-src`.
The idea is to allow loading module js which imports other files and thus does not allow nonces on import but on the initial script tag.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 11:12:57 +07:00
Benjamin Gaussorgues
23605d60dd
Merge pull request #41057 from nextcloud/registermounts-opt
...
optimize UserMountCache::registerStorage
2023-11-16 18:30:01 +07:00
Robin Appelman
b942850af9
optimize UserMountCache::registerStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-16 16:21:59 +07:00
Joas Schilling
7b45939561
Merge pull request #41511 from nextcloud/enh/advanced_search_backend
...
Enhancements for advanced search API
2023-11-16 15:41:27 +07:00
Benjamin Gaussorgues
72c191df11
Introduce constants for builtin search filters
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 17:24:37 +07:00
Benjamin Gaussorgues
d79d85ddd2
Undeprecate getTerm
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 17:00:18 +07:00
Christoph Wurst
45541eb685
feat(dav): Enable OOO UI and expose enabled via OCP
...
Makes the feature opt-out now that we have meaningful integrations based
on OOO data. Allows instances still to turn the feature off.
For apps like Mail that build on top of this feature we need to know if
the instance has the feature turned on or off. This is exposed as OCP
API, too.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 15:53:38 +07:00
Ferdinand Thiessen
927e7fcf67
fix(AppManager): Ensure that app manager can handle empty app keys on the navigation entries
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:04:48 +07:00
Ferdinand Thiessen
43a0016989
fix(INavigationManager): Add psalm typing for `add` parameter
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +07:00
Maxence Lange
847c687a06
metadata must be set as editable for PROPPATCH
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 14:38:53 +07:00
Maxence Lange
3af12b2a50
ignore metadata if table is empty
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 09:28:58 +07:00
Arthur Schiwon
f313b12d54
Merge pull request #41436 from nextcloud/feat/introduce-inAppSearch-method-for-advanced-search
...
Add `inAppSearch` for advanced search providers
2023-11-14 11:13:48 +07:00
Benjamin Gaussorgues
174b76fff3
Add new method `inAppSearch` for advanced search providers
...
Allows to indicates if a search provider also support in app search
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-14 09:58:20 +07:00
Maxence Lange
380b81315a
moving metadataquery
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-13 22:25:37 +07:00
Joas Schilling
0feb55ee93
Merge pull request #41271 from nextcloud/enh/text-processing-iprovider2
...
enh(TextProcessing): Add two new provider interfaces
2023-11-13 10:49:14 +07:00
Benjamin Gaussorgues
c753eefb21
feat(search): Allow multiple search terms in UnifiedController
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +07:00
Christoph Wurst
7248d9b091
Merge pull request #40615 from nextcloud/enh/automate-calendar-event-user-status
...
feat(user status): automate user status for events
2023-11-09 19:56:39 +07:00
Christoph Wurst
5183ba2a5b
Merge pull request #40653 from nextcloud/feat/ooo-api
...
feat: Add out-of-office message API
2023-11-09 18:35:20 +07:00
Anna Larch
f14a4f8fd7
feat(user status): automate user status for events
...
and automatically set a user status to free or busy depending on their calendar
transparency, event status and availability settings
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-09 16:20:19 +07:00
Marcel Klehr
b45007f38f
Merge branch 'master' into enh/text-processing-iprovider2
2023-11-09 13:46:18 +07:00
Joas Schilling
dbe921452b
Merge pull request #41295 from nextcloud/fix/has-reserved-job
...
fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
2023-11-09 13:26:27 +07:00
Christoph Wurst
ab1a1d688d
feat: Add out-of-office message API
...
[skipci]
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-09 10:36:11 +07:00
Christoph Wurst
71080a8d20
feat(contactsmenu): Sort by user status
...
If user_status is not enabled, fall back to sorting by contact name.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 21:53:35 +07:00
Marcel Klehr
ab736429ce
fix: Make linters happy
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:02:00 +07:00
Marcel Klehr
a29ed70c6c
Update lib/public/TextProcessing/IProviderWithUserId.php
...
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:01:10 +07:00
Marcel Klehr
8fe993c06f
fix: Remove ITaskTypeWithId
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:58:31 +07:00
Marcel Klehr
1471849956
fix: Extend docblock of hasReservedJob
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:37:51 +07:00
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +07:00
Marcel Klehr
8c0c426538
Merge branch 'master' into enh/text-processing-iprovider2
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 11:52:47 +07:00
Maxence Lange
d9c24f6c7b
Merge pull request #40761 from nextcloud/enh/noid/files-metadata
...
IFilesMetadata
2023-11-07 15:55:24 +07:00
Marcel Klehr
b8862bd14e
fix coding style
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-07 16:29:15 +07:00
Maxence Lange
f497d8b6e5
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 12:43:08 +07:00
Côme Chilliet
39d2970191
Add $name property in SetupResult and improve API
...
Keys for check results are not locale dependent anymore, the name of the
setup check is instead stored in the setup result object.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +07:00
Marcel Klehr
17e7b6c711
fix: split IProvider2 into two more verbose interfaces
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-07 12:02:03 +07:00
Joas Schilling
bcc4d7d042
Merge pull request #41214 from nextcloud/bugfix/noid/make-install-verbose
...
fix(install): Make installing more verbose
2023-11-07 08:39:42 +07:00
Maxence Lange
e62e9e3dbf
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 +07:00
Marcel Klehr
fecf6425cf
fix: psalm issues and coding style
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 14:53:20 +07:00
Marcel Klehr
d11b9cbd79
fix(TextProcessing/Manager): Throw TaskFailureException upon failure
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:50:16 +07:00
Marcel Klehr
181f819e41
enh(TextProcessing): Add IProvider2
...
- allow providers to obtain current task's userId
- allow providers to expose average task runtime
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-03 16:22:54 +07:00
Joas Schilling
6f39d82031
fix(install): Make installing more verbose
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:44:46 +07:00
Joas Schilling
ffc1bb774b
feat(openapi): Add OpenAPI attribute to allow multiple scopes and overwriting tags
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 09:25:11 +07:00
Joas Schilling
2b8114d59d
feat(events): Add typed event for filtering autocompletion suggestions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-02 11:08:53 +07:00
Christoph Wurst
d779092564
Merge pull request #38425 from nextcloud/feat/ocp/strict-igroup
...
feat(ocp): Add types and strict typing to \OCP\Group\IGroup
2023-11-02 11:07:12 +07:00
Christoph Wurst
ac168cf9ff
feat(contactsmenu): Show user status
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 +07:00
Joas Schilling
2b7f78fc2e
Merge pull request #40326 from nextcloud/enh/text-to-image-api
...
Implement TextToImage OCP API
2023-10-26 15:53:30 +07:00
Marcel Klehr
1823a8ebf3
Update lib/public/TextToImage/IProvider.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:49:02 +07:00
Marcel Klehr
9658d9c126
Update lib/public/TextToImage/IManager.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:44:24 +07:00
Marcel Klehr
14d1c18665
en(TextToImage): Add getId method to IProvider
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:26:47 +07:00
Marcel Klehr
47e13cd55b
en(TextToImage): Use specific exception class instead of generic RuntimeException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:16:15 +07:00
Marcel Klehr
be0a0166e8
fix(TextProcessing): fix psalm typing
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-24 15:34:51 +07:00
Marcel Klehr
3dcedb7900
enh(TextProcessing): Allow providers and task types to declare a dynamic ID instead of using className
...
this allows AppAPI to register anonymous classes as TextProcessing providers and task types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-24 14:41:24 +07:00
Jonas
7441ce2b11
enh(IMountManager): Add method to get MountPoint from CachedMountInfo
...
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:50:24 +07:00
Côme Chilliet
5245d2000a
Merge pull request #41017 from nextcloud/fix/move-token-iprovider-to-ocp
...
Move IToken and IProvider::getToken to OCP
2023-10-23 18:01:52 +07:00
Côme Chilliet
33a24134a7
Improve docblock annotations for tokens and their exceptions
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:20:04 +07:00
Marcel Klehr
8339b5b128
fix: Minor copypasta
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 15:00:40 +07:00
Joas Schilling
2353d3cd5c
feat(profile): Add public interface for profile manager so apps can check config
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +07:00
Marcel Klehr
1f090a3ad7
Update lib/public/TextToImage/Task.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:32 +07:00
Marcel Klehr
4624748937
Update lib/public/TextToImage/Task.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:03 +07:00
Côme Chilliet
1bdf952fde
Make sure that OC interfaces returns OC interfaces for backward compatibility
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:08:23 +07:00
Côme Chilliet
b82e25ea7a
Move Exceptions used in OCP to OCP
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:26:25 +07:00
Marcel Klehr
4055a90004
fix(Text2Image): Fix $completionExpectedAt default value
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:20:29 +07:00
Marcel Klehr
9787f9dba0
enh(Text2Image): Add AI settings section to text2image
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 11:10:24 +07:00
Côme Chilliet
f94fb33062
Move IToken and IProvider::getToken to OCP
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-20 17:51:33 +07:00
Marcel Klehr
cee5aa84f0
fix(Text2Image): Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 14:56:24 +07:00
Marcel Klehr
9ee72633cf
enh(Text2Image): Expose expected completion time
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:54:36 +07:00
Marcel Klehr
b7fd5185b6
enh(TextToImage): Allow generating multiple images with one task
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:15 +07:00
Marcel Klehr
8968573d9f
enh(TextToImage): Add getExpectedRuntime to IProvider and run tasks during request lifetime if possible
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 12:17:17 +07:00
Ferdinand Thiessen
363d9ebb13
feat(NavigationManager): Always sort the default app first
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +07:00
Ferdinand Thiessen
08cff0777a
feat(IAppManager): Allow to set the (user) default apps and get all global default apps
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +07:00
Côme Chilliet
2e4d1549a4
Change SetupResult API to named constructors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +07:00
Côme Chilliet
efa2dfa641
Add OCP interface for SetupCheckManager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +07:00
Côme Chilliet
5503c4c8e2
Add missing licences and copyright in SetupCheck
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +07:00
Côme Chilliet
67e7a2635f
Fix PHPDoc in OCP for new SetupResult class
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +07:00
Côme Chilliet
1202171b32
Fix docblock and types for new public API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +07:00
Carl Schwan
c71e47f5c3
Progress
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +07:00
Carl Schwan
eb1d612d96
Add api to register setup checks
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +07:00
John Molakvoæ
a572a547f9
Merge pull request #40969 from nextcloud/ishare-type
2023-10-19 09:29:26 +07:00
Varun Patil
c008464a2a
Fix return type of IShare::getExpirationDate
...
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-18 23:23:41 +07:00
Joas Schilling
4f76c131a4
fix(federation): Fix type and docs on ICloudFederationNotification interface
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 17:16:22 +07:00
Marcel Klehr
ab856a5c78
fix(TextToImage): Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:04 +07:00
Marcel Klehr
9b7f63946f
fix(TextToImage): Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:44:21 +07:00
Marcel Klehr
5ddf3c3366
Update lib/public/TextToImage/Exception/TextToImageException.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00