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
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
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
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
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
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
154a9989a7
Merge pull request #39852 from nextcloud/pragmaHeader
...
Stop sending deprecated Pragma header
2023-10-18 03:30:21 +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
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
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
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
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
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
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
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
Joas Schilling
c4ed7f9d21
fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +07:00
Christoph Wurst
04ecc2a6a9
feat(backgroundjob): Schedule job after <timestamp>
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 10:29:40 +07:00
Côme Chilliet
3a56ecc8cb
Merge pull request #40565 from nextcloud/fix/remove-writelog
...
Remove deprecated methods Util::writeLog and DIContainer::log
2023-09-26 12:09:21 +07:00
Joas Schilling
3b4c306860
fix(phonenumber): Improve docs by adding input details
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 17:32:47 +07:00
Joas Schilling
5092278b0f
feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:33:09 +07:00
Côme Chilliet
f68d4f7300
Remove deprecated methods Util::writeLog and DIContainer::log
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 10:37:12 +07:00
Joas Schilling
3b6a9cd236
Merge pull request #40288 from nextcloud/feat/appframework/rate-limiter
...
feat(appframework): Expose programmatic rate limiter
2023-09-21 18:49:44 +07:00
Kate
716c5e0966
Merge pull request #40511 from nextcloud/fix/dashboard-widgets-api
...
Fix dashboard widgets api
2023-09-20 21:22:33 +07:00
Christoph Wurst
e477bb7eaf
feat(appframework): Expose programmatic rate limiter
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-20 20:25:27 +07:00
jld3103
80e3064817
Fix Dashboard IManager getWidgets return annotation
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +07:00
Maxence Lange
8b9e7e235d
ocm controller
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 +07:00
Anna Larch
56419d94f8
enh(db): provide database providers via API
...
To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the
associated constants
fixes https://github.com/nextcloud/server/issues/30877
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-19 11:56:44 +07:00
Robin Appelman
5e347553bc
add method to create a node from cache entry + mountpoint
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 11:43:29 +07:00
jld3103
79b8b5c0f2
core: Fix OpenAPI for reference API
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-14 15:49:13 +07:00
Côme Chilliet
4f1e5bc8fd
Merge pull request #32912 from nextcloud/group-backend-batch-method
...
Add batch methods in user backends
2023-09-11 11:11:00 +07:00
Julius Härtl
bd65f1ea28
feat: Add dedicated method to load init scripts
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: John Molakvoæ <skjnldsv@protonmail.com>
Update lib/public/Util.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-07 21:42:06 +07:00
Benjamin Gaussorgues
003d0dec93
Detect aborted connection in OC\Files\View and stop writing data to the output buffer
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-09-07 09:32:32 +07:00
Christoph Wurst
312dd8ac6d
feat(ocp): Add types and strict typing to \OCP\Group\IGroup
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-06 11:58:09 +07:00
Côme Chilliet
35069ad86a
Fix psalm spotted type errors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +07:00
Côme Chilliet
2c8b415c55
Move new methods to a new interface in OCP
...
This avoids breaking compatibility for group backends not based on
ABackend abstract class.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +07:00
Côme Chilliet
a5fa1e7715
Fix psalm errors about groupExists return type
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +07:00
Carl Schwan
3270b7f12e
Add batch methods in user backends
...
This allows for faster group search with significantly less DB traffic
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-09-05 16:56:47 +07:00
Côme Chilliet
f331d86ca8
Merge pull request #35539 from nextcloud/cleanup/carl/application-contactsmanager
...
Cleanup psalm issues in DB/ContactsManager and Console
2023-09-05 10:15:08 +07:00
Carl Schwan
e966cfbc4b
Cleanup plsam issues in DB/ContactsManager and Console
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-09-05 09:20:26 +07:00
Robin Appelman
9055fef5ef
add IFileInfo::getParentId
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:49 +07:00
Robin Appelman
64f62f7cfd
Merge pull request #39863 from nextcloud/sharing-mask-wrapper
...
move share permission logic to storage wrapper
2023-09-04 14:05:14 +07:00
Andrew Summers
ce74bdcda2
Refactor `OC\Server::getThemingDefaults`
...
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2023-08-29 21:33:17 +07:00
Andrew Summers
6b09a79227
Refactor `OC\Server::getShareManager`
...
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2023-08-29 21:32:58 +07:00
Git'Fellow
066f6ef16c
Stop sending deprecated Pragma header
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-28 15:11:22 +07:00
Anna Larch
66c1aa4a3c
fix(utility): De- deprecate getDateTime as now() only returns immutable objects
...
This will mean lots of code like
```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()```
if a regular DateTime object is needed
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-25 08:55:44 +07:00
Joas Schilling
5a1fcdb272
fix(dbal): Migrate to Doctrine\DBAL\ParameterTypes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 09:08:08 +07:00
John Molakvoæ
b11532ce56
Merge pull request #39958 from nextcloud/dav-permissions-perf
2023-08-22 19:14:53 +07:00
Richard Steinmetz
6982597b6a
feat(dashboard): implement widget item api v2
...
This API enables the dashboard to render all widgets from the API data
alone without having apps to provide their own bundles. This saves a lot
of traffic and execution time as a lot less javascript has to be parsed
on the frontend.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-22 08:36:53 +07:00
Joas Schilling
124588d4a6
fix: Make bypass function public API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:40:24 +07:00
Joas Schilling
a95800c647
feat(security): Add a bruteforce protection backend base on memcache
...
Similar to the ratelimit backend
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:03 +07:00
Robin Appelman
e98e8f10c9
improve performance of calculating dav permissions
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 14:09:03 +07:00
Joas Schilling
be41dc4fa7
Merge pull request #39867 from nextcloud/login-less
...
Add a separate event for login page rendering
2023-08-18 13:54:15 +07:00
John Molakvoæ
28725c46a8
feat: redirect to the mime icon if no preview available
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +07:00
Robin Appelman
1df33256be
add core fileclient script before others
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 11:18:26 +07:00
Robin Appelman
37e3115cb4
don't always add core/common and core/main during "sorting"
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +07:00
Robin Appelman
ccf57e0715
add separate event for rendering login page template
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +07:00
Robin Appelman
a031bc4788
more share permission logic to storage wrapper
...
this way we only have to determine the share permissions once
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 18:17:27 +07:00
Daniel Calviño Sánchez
41f2d912d2
Allow "wasm-unsafe-eval" in CSP
...
If a page has a Content Security Policy header and the `script-src` (or
`default-src`) directive does not contain neither `wasm-unsafe-eval` nor
`unsafe-eval` loading and executing WebAssembly is blocked in the page
(although it is still possible to load and execute WebAssembly in a
worker thread).
Although the Nextcloud classes to manage the CSP already supported
allowing `unsafe-eval` this affects not only WebAssembly, but also the
`eval` operation in JavaScript.
To make possible to allow WebAssembly execution without allowing
JavaScript `eval` this commit adds support for allowing
`wasm-unsafe-eval`.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-08-10 02:38:41 +07:00
Julius Härtl
fca1c309a0
feat: Add delete task API
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-07 13:27:53 +07:00
Julien Veyssier
41b19cf969
allow anon text processing scheduling
...
add a textprocessing_tasks index
convert anotations to method attributes
refactor TP manager
add mapper methods
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +07:00
Julien Veyssier
9986e02097
start implementing ocs endpoint to get task list from user+appId+identifier
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +07:00
Joas Schilling
44b4c16a09
Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanup
...
fix!: Final round of moving to IEventDispatcher
2023-08-04 10:39:57 +07:00
Marcel Klehr
4ec150c9b6
AI admin settings: cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr
8ec1926aba
fix(TextProcessing): Inject L10N\IFactory instead of IL10N
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr
fc9780a41d
First pass at ai admin settings
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
jld3103
38db3873a2
provisioning_api: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 10:29:08 +07:00
Robin Appelman
8af60b915b
fix share roots always being marked as writable
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-28 17:34:54 +07:00
Robin Appelman
fda820a64d
expose MovableMount in public interface
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-28 14:42:09 +07:00
Joas Schilling
3962cd0aa8
fix!: Move getEventDispatcher usage to IEventDispatcher
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:22 +07:00
Joas Schilling
b9e2f494a1
chore!: Remove legacy SymfonyAdapter
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:22 +07:00
Joas Schilling
22e033b628
feat!: Migrate Share accepted event to typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +07:00
Joas Schilling
8ad94cbfda
feat!: Migrate unShare events to typed events
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +07:00
Joas Schilling
44b810bfbd
feat!: Migrate Sharing events to typed events
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +07:00
Joas Schilling
68fc9b48c2
feat!: Migrate AccountManager event to typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +07:00
Joas Schilling
9bf812ac6c
feat!: Migrate TagService events to typed events
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:18 +07:00
Marcel Klehr
2b96760dc6
Remove allowParallelRuns check in OCP\BackgroundJob\Job
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +07:00
Joas Schilling
dac31ad101
fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA Manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +07:00
Joas Schilling
1b387bb341
fix!: Remove legacy event dispatching Symfony's GenericEvent from AdditionalScripts
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +07:00
Joas Schilling
4f7de8ed60
fix!: Remove legacy event dispatching Symfony's GenericEvent
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:51 +07:00
Joas Schilling
b76b0bbc1c
Merge pull request #39485 from nextcloud/bugfix/noid/move-remaining-easy-usages-to-IEventDispatcher
...
fix(dispatcher): Move remaining simple cases in apps/ folder to IEven…
2023-07-26 17:29:22 +07:00
Joas Schilling
77bc6c32d8
fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-25 11:19:26 +07:00
Joas Schilling
ab70bbd3ff
fix(db)!: Remove private legacy event because we can not keep it
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:35 +07:00
Joas Schilling
00d483585b
fix: Add options to support all used features by core
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:34 +07:00
Joas Schilling
bd0a149a4f
feat(dispatcher): Add typed event for "db:add-missing-primary-keys"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +07:00
Joas Schilling
2eded24eff
feat(dispatcher): Add typed event for "db:add-missing-columns"
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +07:00
Marcel Klehr
7c80d66ee5
Merge pull request #38854 from nextcloud/enh/llm-api
2023-07-21 11:20:31 +07:00
Joas Schilling
aa039c986a
fix(workflowengine): Remove legacy event (deprecated since 17)
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:34 +07:00
Marcel Klehr
7389567c7d
Remove Task::factory method
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-19 13:15:14 +07:00
Joas Schilling
c3bc575d99
fix(comments): Emit CommentsEntityEvent as typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-18 16:19:01 +07:00
Marcel Klehr
d63c122ec0
Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 13:30:20 +07:00
Marcel Klehr
2811932247
cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 11:34:16 +07:00
Marcel Klehr
590eefea70
Apply suggestions from code review
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 11:11:16 +07:00
Marcel Klehr
df1cf18f36
Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:27:06 +07:00
Marcel Klehr
95d2d3af5c
Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:10:39 +07:00
Marcel Klehr
ffe27ce14c
Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:00:31 +07:00
Julius Härtl
925bcebcb6
feat: Add public event for missing indices
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-14 13:11:22 +07:00
Robin Appelman
c988d782eb
Merge pull request #39331 from nextcloud/feature/openapi/core
...
core: Add OpenAPI spec
2023-07-13 15:36:51 +07:00
Kate
4991d2ee43
Merge pull request #39328 from nextcloud/feature/openapi/federatedfilesharing
...
federatedfilesharing: Add OpenAPI spec
2023-07-13 10:28:24 +07:00
jld3103
1be836273d
core: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 07:24:15 +07:00
jld3103
4ead6e64a4
federatedfilesharing: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:21:01 +07:00
jld3103
259264b966
files: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:06:10 +07:00
Joas Schilling
2c6f32cb28
feat(request): Allow to match the client version with the IRequest::USER_AGENT_* regex
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:35:50 +07:00
jld3103
2d6a62ccee
Add IgnoreOpenAPI attribute
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 14:25:22 +07:00
Marcel Klehr
069962d04f
Since 27.1.0
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:46:34 +07:00
Marcel Klehr
9f405a19f7
LLM OCP API: Improve scheduleTask docblock
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
8f1a4f4255
LLM OCP API: Avoid using OC in OCP
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
3974953464
OCP\Common\NotFoundException: Add param type
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
d56286b8ac
LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
bad124c07b
Update lib/public/LanguageModel/Events/TaskFailedEvent.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
ba950f7e34
Update lib/public/LanguageModel/ILanguageModelProvider.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
d6d4e0ffe3
LLM OCP API: Fix psam errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
62b19e0675
LLM OCP API: Fix psalm error
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
f6f8cb4331
LLM OCP API: Add identifier param
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
5b772468ad
Apply suggestions from code review
...
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
66c0e6b9f7
Make tests pass
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
27e1c86652
ILanguageModelTask: Use php type checking along with psalm parameterized types
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
0a94525042
ILanguageModelManager: Add docblock description
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
1d3661ded9
cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
b00a9a6eae
LLM OCP API: Use OCP\Common\Exception\NotFoundException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
a7cd6bf5b8
OCP: Introduce OCP\Common\Exception\NotFoundException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
83db23ea48
LLM OCP API: strict types and copyright
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
906e9b7014
LLM OCP API: Type shenanigans for Visitor pattern
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
fb55afc9ff
Update lib/public/AppFramework/Bootstrap/IRegistrationContext.php
...
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
fb4de16c11
LLM OCP API: Add task definitions
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
249dd5cce4
Update lib/public/LanguageModel/ITopicsProvider.php
...
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
72ea76178a
LLM OCP API: Fix coding style and psalm
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
75d7af86ac
LLM OCP API: cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
fac83ce4b6
LLM OCP API: Fix static analysis
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
9935034480
LLM OCP API: Add @since
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
b6a95e35b0
LLM OCP API: Fix type errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
b8a9f08d83
LLM OCP API: Make linters happy
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
b6941aa5c3
LLM OCP API: cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
795b097122
LLM OCP API: Implement ocs API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
9d5717d239
LLM OCP API: ADd topics and headline tasks
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
3413873653
LLM OCP API: Implement private backend code + add ILanguageModelTask
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
01dd1a894d
LLM OCP API: Rework to use Task objects
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr
70d5bf79e3
Initial work on lm OCP API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Christoph Wurst
14719110b9
chore: Replace \OC::$server->query with \OCP\Server::get in /lib
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-06 15:21:22 +07:00
Louis Chemineau
407c361b91
Add OCSPreconditionFailedException
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-05 20:01:45 +07:00
Christoph Wurst
247193f912
Merge pull request #39043 from nextcloud/fix/ocp/dashboard-widgetitems-see-widget-getitems
...
fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
2023-07-05 12:09:42 +07:00
Joas Schilling
75d5fa4115
Merge pull request #39089 from nextcloud/bugfix/39087/fix-2fa-event-names
...
Fix event names of 2FA related typed events
2023-07-03 15:38:28 +07:00
Joas Schilling
05aa39d777
Fix event names of 2FA related typed events
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-03 14:25:01 +07:00
Christoph Wurst
67709b390a
Merge pull request #39057 from nextcloud/feat/ocp/type-icapabilities
...
feat(ocp): More specific type for ICapabilities::getCapabilities
2023-07-03 11:29:58 +07:00
Côme Chilliet
b2f01b72fe
Merge pull request #34443 from nextcloud/feat/add-enabled-user-backend
...
Add IProvideEnabledStateBackend interface
2023-07-03 10:19:32 +07:00
Christoph Wurst
19499964d0
doc(ocp): Upgrade capability registration recommendation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +07:00
Christoph Wurst
95145ee0c9
feat(ocp): More specific type for ICapabilities::getCapabilities
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +07:00
jld3103
b0001c6010
Add template types to responses
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-30 09:33:29 +07:00
Côme Chilliet
189ccc2d72
Add method to list disabled users to IProvideEnabledStateBackend
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-29 16:15:12 +07:00
Arthur Schiwon
7b7148c206
Merge pull request #35915 from nextcloud/enh/noid/display-name-federated-shares
...
display displayname on federated shares
2023-06-29 14:40:26 +07:00
Christoph Wurst
c7c28a81d5
fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-28 15:07:23 +07:00
Christoph Wurst
cb78805282
fix(ocp): TimedJob can't have a more specific argument than Job
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-28 14:59:36 +07:00
Maxence Lange
d2efd0e03c
displayname on federated shares
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-06-28 09:28:03 +07:00
Joas Schilling
fbc63fe57c
Merge pull request #38613 from nextcloud/feat/35959/async-guzzle-requests
...
feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
2023-06-28 09:04:36 +07:00
Julius Härtl
eddb64f8c3
Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpoint
2023-06-28 07:53:35 +07:00
Joas Schilling
ec6728d710
feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-27 15:53:57 +07:00
Daniel
9751303182
Merge pull request #38679 from nextcloud/feat/add-spec-to-preview-fetched-event
...
feat: add width, height, crop and mode to BeforePreviewFetchedEvent
2023-06-26 13:53:27 +07:00
Daniel Kesselberg
440f882322
feat: add width, height, crop and mode to BeforePreviewFetchedEvent
...
user_usage_report keeps a counter for files read.
The app uses
- OC_Filesystem::read hook
- Event listener (the legacy one) for IPreview::EVENT
Request for previews do not trigger the hook, hence the additional event listener.
The thumbnails for a list or grid view should not count, so we need the width and height.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-23 16:27:35 +07:00
Arthur Schiwon
49db546f78
fix: include invisible tags for admins
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +07:00
Arthur Schiwon
221562d45d
feat: add searchBySystemTag as PHP API
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +07:00
Arthur Schiwon
71e41ffeeb
refactor: declare getMount() and getMountsIn() at IRootFolder
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:20 +07:00
Côme Chilliet
1603cdc8d2
Fix since annotations and add boolean return type for setUserEnabled
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 15:10:39 +07:00
Carl Schwan
77355a8a79
Improve typing in ICommentsManager
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:26 +07:00
Carl Schwan
9725d00329
Cleanup comments code
...
- Fix various psalm issues
- Add as much typing as possible while preserving stable API
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:20 +07:00
Robin Appelman
53443e836f
fix type in BeforeMessageLoggedEvent
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-15 17:29:11 +07:00
Robin Appelman
d9fa7b1e28
emit an event when a message is logged
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-13 18:45:48 +07:00
Christoph Wurst
08a3f37695
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 10:03:59 +07:00
Git'Fellow
5b5895a130
Drop meta robots tag
...
Revert mistake
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-09 18:06:37 +07:00
Faraz Samapoor
bf38c0a3d1
Refactors "strpos" calls in lib/public to improve code readability.
...
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-06-05 11:14:52 +07:00
Daniel Kesselberg
a2afc7b6a9
refactor: migrate OC_EventSource to dependency injection
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-03 21:42:51 +07:00
Daniel Kesselberg
3d3c49774f
chore: remove check for suhosin.executor.func.blacklist
...
Suhosin is/was a PHP extension.
The last release was 2015-05-21.
Suhosin does not support PHP 8.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-02 15:47:26 +07:00
Christoph Wurst
09c5f997c6
Merge pull request #38593 from nextcloud/chore/ocp/drop-util-linktopublic
...
chore(ocp)!: Drop \OCP\Util::linkToPublic
2023-06-02 10:23:37 +07:00
Christoph Wurst
c0263b91d4
Merge pull request #38585 from nextcloud/feature/ocp/send-message-with-subject-body
...
feat(ocp): Allow sending emails with subject and body
2023-06-02 09:14:46 +07:00
Christoph Wurst
f04ff2c6d7
chore(ocp)!: Drop \OCP\Util::linkToPublic
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 20:32:59 +07:00
Christoph Wurst
0f534936b3
fix(ocp): Mark IMessage::attachInline as @since 27
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 18:15:19 +07:00
Christoph Wurst
7f8f792558
feat(ocp): Allow sending emails with subject and body
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 18:10:05 +07:00
Joas Schilling
5b2d5767e1
fix(docs): Fix language and copy-paste class name in docs of CSP
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-30 13:39:33 +07:00
Côme Chilliet
3af1ab2b2a
Add user enabled state backend feature
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 11:25:03 +07:00
Julius Härtl
050c6d53b3
enh: Provide atomicRetry method to retry transactions if possible
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-16 08:13:20 +07:00
Robin Appelman
1f4dd62b4e
Merge pull request #36592 from nextcloud/groupmanager-search-typing
...
fix default values and type hints for GroupManager::search
2023-05-12 15:25:32 +07:00
Christoph Wurst
1381c4c157
feat(users): Store and load a user's manager
...
Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 13:56:48 +07:00
Robin Appelman
13b06ba4e2
revert public interface back to the original types, just cast them before passing the nulls to the backends
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:03 +07:00
Robin Appelman
7ad3574d71
also update groupinterface and database backend
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:03 +07:00
Robin Appelman
e4b9ecd8f2
fix default values and type hints for GroupManager::search
...
ints really are ints
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:01 +07:00
John Molakvoæ
979f4033ca
Merge pull request #33381 from luzpaz/fix/lib-public-typos
2023-05-11 10:26:50 +07:00
Anna
9e53934498
Merge pull request #36118 from nextcloud/fix/caldav/invitation-outlook-compatibilty
...
Fix calendar emails to be outlook compatible
2023-05-10 12:10:42 +07:00
Simon L
d55a7c619d
Fix typos in lib/public subdirectory
...
Found via `codespell -q 3 -S l10n -L jus ./lib/public`
Signed-off-by: luz paz <luzpaz@github.com>
Update lib/public/Accounts/IAccount.php
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-05-10 11:56:34 +07:00
Pytal
972b2097d0
Merge pull request #38104 from nextcloud/feat/um-32-bit
2023-05-09 08:20:41 +07:00
Christopher Ng
4e51f5224c
feat(UserMigration)!: 32-bit support
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-05 17:59:57 +07:00
Marcel Müller
484f7a6641
Add messageId to richObject definition of Talk
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-05-05 17:51:53 +07:00
Daniel
db73534e09
Merge pull request #38016 from nextcloud/oracle-limit-workaround
...
fix: add workaround for oci and limit queries
2023-05-03 23:06:59 +07:00
Joas Schilling
9ace8e561d
Merge pull request #38003 from nextcloud/bugfix/noid/improve-translations-api
...
Improve translations api with detecting languages
2023-05-03 11:07:30 +07:00