Commit Graph

22884 Commits (8904bf645b30fbdfdcb00a2ea607d752ee69d865)

Author SHA1 Message Date
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
Joas Schilling 67958915da
fix(events): Make sure all `\OCP\Files::…` events are emitted with the same data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 15:57:22 +07:00
Marcel Klehr 017f136059 fix: Don't try to access undefined array key
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 15:38:59 +07:00
Marcel Klehr 5704281276 fix: Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 15:34:22 +07:00
Benjamin Gaussorgues a08281cc5d
Merge pull request #39582 from nextcloud/simplify-ip-normalizer
Simplify IP address normalizer with IP masks
2023-11-09 14:26:33 +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 734b11dc86
Merge pull request #41266 from nextcloud/feat/contactsmenu/user-status-sorting
feat(contactsmenu): Sort by user status
2023-11-08 22:21:18 +07:00
Robin Appelman b29bc59e8b
Merge pull request #41119 from nextcloud/optmize-storage-wrappers
optimize builtin storage wrappers
2023-11-08 22:14:19 +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
Louis 77c9550353
Merge pull request #40964 from nextcloud/artonge/feat/metadata/port_providers
Support dynamic metadata request on PROPFIND requests
2023-11-08 17:58:20 +07:00
Robin Appelman f4fa2fb93c
optimize isShared and isMounted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 17:34:58 +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 6fbf430fe3
Update lib/private/TextProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:01:02 +07:00
Marcel Klehr 12c558f20a
Update lib/private/TextProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:00:48 +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
Christoph Wurst d751baee36
Merge pull request #40799 from nextcloud/fix/login-csrf-check-error-message
fix: Show error message when CSRF check fails at login
2023-11-08 16:33:53 +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
Robin Appelman 79088ea15f
Merge pull request #40996 from nextcloud/view-share-disable-reuse
reuse sharing disabled state when listing folder content
2023-11-08 15:52:35 +07:00
Robin Appelman dec880b285
optimize builtin storage wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:26:10 +07:00
Christoph Wurst a5422a3998
fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 15:18:34 +07:00
Benjamin Gaussorgues f04035caa0
Simplify IP address normalizer with IP masks
Remove dead code

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-08 11:55:07 +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
Christoph Wurst 2aa8e9d32a
Merge pull request #38995 from fsamapoor/refactor_lib_private_systemtag
Refactors lib/private/SystemTag
2023-11-07 21:10:38 +07:00
Christoph Wurst 2e24e70d94
Merge pull request #39109 from fsamapoor/refactor_lib_private_metadata_migration_net
Refactors /Metadata, /Migration, and /Net namespaces in /lib/private/
2023-11-07 20:47:39 +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 3631536261 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 13:06:13 +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
Christoph Wurst 63069b6492
fix(session): Do not log fresh/empty session as error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-07 09:13:48 +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
Joas Schilling a77af05a31
Merge pull request #41175 from nextcloud/feat/noid/openapi-scopes
Add OpenAPI attribute to allow multiple scopes
2023-11-07 08:39:04 +07:00
Faraz Samapoor cbc47a9890 Refactors Metadata, Migration, and Net.
In lib/private namespace to improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:43:40 +07:00
Faraz Samapoor a988754e3d Refactors lib/private/SystemTag.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:41:33 +07:00
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 +07:00
Côme Chilliet b5eeaa90d7 Add a command to run the setup checks from CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +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
Patrick Fischer b2103556b5
Lower log level about invalid session token 2023-11-06 14:51:13 +07:00
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 cbd304c8f0 fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 10:47:40 +07:00
Nextcloud bot 33e1db616d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-04 00:29:23 +07:00
Git'Fellow b4a3773115 fix: reduce memory consumption of scans
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix lint

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-03 18:07:42 +07:00
Arthur Schiwon 333ab4de68
Merge pull request #40995 from nextcloud/cache-jail-optimizations
optimize cache jail creation
2023-11-03 17:03:09 +07:00
Simon L 86e9fcab21
Merge pull request #41263 from nextcloud/enh/noid/fix-semaphore-guarding 2023-11-03 16:46:45 +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
Simon L b681cf735a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 15:27:17 +07:00
Christoph Wurst 50de7553b5
Merge pull request #41211 from nextcloud/fix/text-to-image
fix(TextToImage): Consistently use the right method to get the preferred providers
2023-11-03 13:11:07 +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
Simon L 531f5d1e4f fix semaphore guarding
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 11:47:12 +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 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
Marcel Klehr ee76cc512c fix(TextToImage): Always set completionExpectedAt in run/schedule methods
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-02 12:07:10 +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
Git'Fellow 3bedfdf6ff Replace if/else with return match
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 10:33:42 +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
Marcel Klehr 9a494407ee fix(TextToImage): Consistently use the right method to get the preferred providers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-31 10:27:29 +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
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
Côme Chilliet 356f0291a2
Align PublicKeyToken with interface changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 09:41:32 +07:00
Marcel Klehr 497559b246 fix(RemoveOldTasksBackgroundJob): Update after change to support multiple images in TextToImage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:49:46 +07:00
Marcel Klehr fa2fa47e6b fix(TextToImage/Manager): Appease psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:38:40 +07:00
Marcel Klehr 71a06b6bf8 fix(Folder): Allow filename to be '0'
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:22:30 +07:00
Marcel Klehr b1018597bc fix(Text2Image): Fix appdata folder creation
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:00 +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
Nextcloud bot b76ecf3781
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:37 +07:00
John Molakvoæ 3214324b72
fix(l10n): invalid translation of a number
fix https://github.com/nextcloud/server/issues/35252

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-21 11:48:46 +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
Robin Appelman 8418fcfedf
add some support for rename on case insensitive local filesystems
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-20 15:03:11 +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 4c58edc1b7 fix(Text2Image): Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:32 +07:00
Marcel Klehr bc85acf7d0 fix(Text2Image): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:38:20 +07:00
Marcel Klehr 37c4ccc751 fix(Text2Image): Fix Task#lastUpdated initialization to use DateTime instead of time()
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:15:40 +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
Robin Appelman 9bc44de95d
reuse sharing disabled state when listing folder content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:40:52 +07:00
Robin Appelman 460344336e
optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:27:00 +07:00
Côme Chilliet a3cc3b188d
Small code style fix in SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +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 be11ffd86a
Add debug logging when running setup checks to help with debugging slow results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +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
Akhil 5e20c3e7b9
Add custom apps translation scripts and image path for consistency
Signed-off-by: Akhil <akhil@e.email>
2023-10-19 14:39:29 +07:00
Marcel Klehr 3d11ab7af8 fix(TextToImage): Add autoloader changes and registerAlias
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 10:54:18 +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
Nextcloud bot 1c014f82c2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:10 +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
Marcel Klehr 47372380b4 Update lib/public/TextToImage/Exception/TaskNotFoundException.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
Marcel Klehr 1d07dcc346 Update lib/private/TextToImage/Db/Task.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
Marcel Klehr e8faaebb0f enh(TextToImage): Allow anonymous access to IManager#getUserTasksByApp
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr c59861a9fa enh(TextToImage): Implement removal of stale images and change Task#last_updated to DATETIME
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr 207c95838f fix(TextToImage): Fix coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr 3e6a8b31c4 fix(TextToImage): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr e5efbc88d8 enh(TextToImage): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr 41847c951a Update lib/private/TextToImage/TaskBackgroundJob.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr 53678a8534 Update lib/public/TextToImage/Events/TaskSuccessfulEvent.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr e199d1aae1 Update lib/public/TextToImage/IManager.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr dc8cba6026 cs:Fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr 666f7b33c9 Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr 2d44c7c1ed Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr c8cab9d2fd Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Joas Schilling 9bdf98f699
Merge pull request #40959 from nextcloud/bugfix/noid/fix-types-in-querybuilder
fix(dbal): Fix types in query builder methods for parameters
2023-10-18 11:41:29 +07:00
John Molakvoæ 80893480c1
Merge pull request #40478 from nextcloud/node-from-entry 2023-10-18 10:44:21 +07:00
Joas Schilling 15a7aa51c5
fix(dbal): Fix types in query builder methods for parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 07:09:08 +07:00
Ferdinand Thiessen 1f8c21a581
Merge pull request #40808 from c39cfbb3/patch-3
fix(L10N): Support "Accept-Language: zh-Hans-CN" and alike
2023-10-18 03:43:26 +07:00
Ferdinand Thiessen 154a9989a7
Merge pull request #39852 from nextcloud/pragmaHeader
Stop sending deprecated Pragma header
2023-10-18 03:30:21 +07:00
Nextcloud bot e1d33096d3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-18 00:52:29 +07:00
c39cfbb3 1bf15da863 Update lib/private/L10N/Factory.php
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +07:00
c39cfbb3 f7cd3d17b8 L10N/Factory: Support "Accept-Language: zh-Hans-CN" and alike
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +07:00
John Molakvoæ 4b55594f55
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:17:35 +07:00
Nextcloud bot cd6b10f89b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-17 00:27:38 +07:00
Côme Chilliet 8212feefb9
Merge pull request #40367 from nextcloud/fix/user_ldap-update-groups-on-login
Fire group membership events from LDAP at login
2023-10-16 10:01:55 +07:00
Joas Schilling 356c2219bc
Merge pull request #40865 from nextcloud/bugfix/noid/fix-version-comment
Fix version number in ITimeFactory after it was delayed
2023-10-16 08:01:09 +07:00
Joas Schilling a724fd4e9c
Merge pull request #40900 from nextcloud/bugfix/noid/fix-parameter-types-in-docs
fix(docs): Fix parameter types in docs
2023-10-16 08:00:44 +07:00
Nextcloud bot 562f19a49e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-15 00:27:31 +07:00
Christoph Wurst cdc2f38a51
Merge pull request #40868 from nextcloud/feat/in-memory-cache-factory
feat: Add factory method for in-memory caches
2023-10-13 13:52:14 +07:00
Joas Schilling a8ae09c544
fix(docs): Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 11:02:42 +07:00
Joas Schilling 21e7a82e64
feat(OCM): Dispatch an event so apps can register resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:46:28 +07:00
Joas Schilling fc445a2eaa
feat(OCM): Add a way for apps to create a new IOCMResource
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:38:19 +07:00
Joas Schilling b246d51cbc
fix(OCM): Make the OCM provider stateful so apps can add resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:42 +07:00
Joas Schilling 4dbe0677ad
fix(OCM): Make the public API only rely on OCP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:39 +07:00
Christoph Wurst 03c7ee4e41
Merge pull request #40879 from nextcloud/fix/session/log-lost-crypto-session
fix(session): Log when crypto session data is lost
2023-10-12 10:37:15 +07:00
Côme Chilliet 500374a8e7
Fix registerEventListener signature
It seems now psalm correctly supports this.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +07:00
Nextcloud bot 6379c852c3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-12 00:25:29 +07:00
Christoph Wurst ca33d6b01c
fix(session): Log when crypto session data is lost
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 19:59:18 +07:00
Christoph Wurst ff672b11e2
feat: Add factory method for in-memory caches
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 13:37:22 +07:00
Joas Schilling 0a4fbaddc7
Fix version number in ITimeFactory after it was delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 12:14:41 +07:00
Christoph Wurst fac05bce07
chore: Drop unused \OC\Memcache\Factory::createLowLatency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 09:40:27 +07:00
Christoph Wurst 4f183bb604
fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 08:36:13 +07:00
Nextcloud bot bf1dbd33a7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-11 00:28:10 +07:00
Côme Chilliet 43971f6a5c
Merge pull request #39756 from nextcloud/enh/add-disabled-users-endpoint
Add endpoint for getting disabled user list
2023-10-10 13:33:49 +07:00
Christoph Wurst 8c2b9b3036
Merge pull request #40785 from nextcloud/fix/user/log-logout-conditions
fix: Log critical session renewal and logout paths
2023-10-10 11:26:25 +07:00
Joas Schilling ab15cffa56
Merge pull request #33105 from nextcloud/feature/noid/talk-federation-auth
Talk federation authentication
2023-10-09 17:06:29 +07:00
Joas Schilling 7998afe8b3
Talk federation authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 15:44:56 +07:00
Christoph Wurst f398d0b5a3
fix: Log critical session renewal and logout paths
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-09 13:21:10 +07:00
Alexander Piskun 4e8ec0bc36
Merge pull request #40737 from nextcloud/cors-app_api
added CORS skip if the session was created by AppAPI
2023-10-09 13:40:29 +07:00
Côme Chilliet a1255539b8 Add endpoint for getting disabled user list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +07:00
Daniel Hansson 06efe9f211
Merge pull request #40731 from nextcloud/imaginary-performance
Generate all preview sizes for Imaginary
2023-10-09 11:54:03 +07:00
Alexander Piskun 6ef3875e74
Merge branch 'master' into cors-app_api 2023-10-09 11:24:04 +07:00
Joas Schilling f84a93f435
Merge pull request #40472 from nextcloud/fix/aborted_pgsql_transaction_on_error
fix(twofactor): avoid DB error on Twofactor (en/dis)abled event
2023-10-09 09:04:24 +07:00
Daniel Hansson 6e171bbaf5
Merge branch 'master' into imaginary-performance 2023-10-09 07:29:58 +07:00