Commit Graph

22676 Commits (26a659dc2c4e412cd1e1d3f4bb182440fa9f0973)

Author SHA1 Message Date
Marcel Klehr 26a659dc2c fix(TextProcessing/Manager): add canuseProvider check in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:54:58 +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
Christoph Wurst 78842348b2
feat(dependencyinjection): Allow optional (nullable) services
Allows working with classes that might or might not be available.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-03 11:53:43 +07:00
Joas Schilling c0c2362a3d
Merge pull request #41218 from nextcloud/techdebt/noid/add-autocomplete-filter-event
feat(events): Add typed event for filtering autocompletion sugges…
2023-11-02 14:33:19 +07:00
Christoph Wurst b2c0cd9e26
Merge pull request #40859 from nextcloud/fix/session/log-why-session-renewal-failed
fix(session): Log why session renewal failed
2023-11-02 11:09:00 +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
Git'Fellow d1169af129 Use \Throwable instead
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +07:00
Git'Fellow 624986a6d5 Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +07:00
Christoph Wurst adc9f64f8d
Merge pull request #40852 from nextcloud/feat/contactsmenu/user-status
feat(contactsmenu): Show user status
2023-11-01 09:40:41 +07:00
Nextcloud bot 0398d74ebd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 00:28:44 +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
Nextcloud bot 16bfe0cc65
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 00:26:17 +07:00
Julius Härtl 51eb44dbfe
Merge pull request #40898 from Murena-SAS/dev/custom-apps-assets 2023-10-30 16:18:30 +07:00
Nextcloud bot 01bb3efe23
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 00:27:40 +07:00
Christopher Ng 407b67989d enh: Register profile nav entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 +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 cef069e8f2 fix(TextToImage): Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 13:31:01 +07:00
Simon L 4c8232f04c
Merge pull request #41120 from nextcloud/imaginaryInvalidStream 2023-10-26 11:59:37 +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 b9985bfd66 fix(TextToImage): Add missing task status update
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:41:21 +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
Nextcloud bot 33c1aafc2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:32 +07:00
Git'Fellow 974e86e618 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-25 21:58:46 +07:00
Nextcloud bot bc7f0c3095
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:31 +07:00
Robin Appelman efe68d012c
Merge pull request #39044 from nextcloud/more-empty-mount-checking
Fix root mounts not being setup in some cases
2023-10-24 16:54:05 +07:00
Joas Schilling 7a55ea7823
Merge pull request #41061 from nextcloud/bugfix/noid/dont-use-indirect-dependency
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
2023-10-24 12:12:36 +07:00
Nextcloud bot d772537d90
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:42 +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 d8b42c6131
Allow passing null to PublicKeyToken::setScope, fixes tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:52:07 +07:00
Joas Schilling 3a265cee30
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:25:14 +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
Côme Chilliet 58a57a714e
Use more precise typing for setScope method parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:19:38 +07:00
Marcel Klehr 8339b5b128 fix: Minor copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 15:00:40 +07:00
Marcel Klehr 0c1bd845a7 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:23:28 +07:00
Marcel Klehr 4b8a58cc49 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:16:37 +07:00
Joas Schilling fd9f7a7188
fix(profile): Directly migrate to OCP constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +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 5f815bdcc6 fix(TextToImage\Db\Task): Inject ITimeFactory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:50:03 +07:00
Côme Chilliet 7a6c4ecc25
Update autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:47:48 +07:00
Marcel Klehr ded77292d5
Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:48 +07:00
Marcel Klehr f9d209cf15
Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:33 +07:00
Marcel Klehr 5d36c4c1d1
Update lib/private/TextToImage/Manager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:35 +07:00
Marcel Klehr 91448888d1
Update lib/private/TextToImage/RemoveOldTasksBackgroundJob.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:09 +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