Robin Appelman
0e98f1eb8d
restore shared lock ttl when releasing
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:40:32 +01:00
Marcel Klehr
c7930a892a
fix(TextProcessing): Make task type template param covariant
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 09:04:43 +01:00
Robin Appelman
43ef6da11e
optimize UserMountCache::registerStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-16 16:40:57 +01:00
Marcel Klehr
708c0a8249
fix: Extend docblock of hasReservedJob
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 12:47:36 +00:00
Joas Schilling
3be53b236f
Merge pull request #41215 from nextcloud/backport/41214/stable27
...
[stable27] fix(install): Make installing more verbose
2023-11-08 12:42:52 +01:00
Joas Schilling
6f079279d9
Adjust since version
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-08 11:23:39 +01:00
Joas Schilling
a9343edd57
Merge pull request #41150 from nextcloud/backport/40885/stable27
...
[stable27] fix(OCM): Make the public API only rely on OCP
2023-11-06 09:45:34 +01:00
Joas Schilling
b864f3909f
fix(install): Make installing more verbose
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:46:06 +01:00
Joas Schilling
8dbc4e9eec
fix(OCM): Make the public API only rely on OCP
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-27 10:34:48 +02:00
Joas Schilling
96127d4997
Fix version number in ITimeFactory after it was delayed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 06:15:34 +00:00
jld3103
2550a0ec16
Fix Dashboard IManager getWidgets return annotation
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-05 10:41:05 +02:00
Maxence Lange
0fac750bcd
ocm services
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-22 17:26:02 -01:00
Arthur Schiwon
bb08cc15b0
Merge pull request #40286 from nextcloud/backport/40233/stable27
...
[stable27] Detect aborted connection in OC\Files\View and stop writing data to t…
2023-09-07 11:03:42 +02:00
Benjamin Gaussorgues
8c7017679d
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-06 09:22:06 +02:00
Robin Appelman
8511fb91ca
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-09-04 14:09:41 +02:00
Anna Larch
513371152a
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-28 12:44:11 +02:00
Joas Schilling
759fc11f39
fix: Make bypass function public API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:08 +02:00
Joas Schilling
befa2f6d51
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-23 06:44:05 +02:00
Richard Steinmetz
3fd18ce450
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 10:38:46 +02:00
Julius Härtl
0564bd23f2
feat: Add delete task API
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
(cherry picked from commit fca1c309a0 )
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julien Veyssier
8e657a8945
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>
(cherry picked from commit 41b19cf969 )
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julien Veyssier
6eb18570c0
start implementing ocs endpoint to get task list from user+appId+identifier
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 9986e02097 )
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Marcel Klehr
832e0d392d
AI admin settings: cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 4ec150c9b6 )
2023-08-09 10:22:49 +02:00
Marcel Klehr
d4b2012b21
fix(TextProcessing): Inject L10N\IFactory instead of IL10N
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8ec1926aba )
2023-08-09 10:22:32 +02:00
Marcel Klehr
cc5818f8a9
First pass at ai admin settings
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fc9780a41d )
2023-08-09 10:22:31 +02:00
Marcel Klehr
00e3fb143f
Remove Task::factory method
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 7389567c7d )
2023-08-09 10:05:23 +02:00
Marcel Klehr
96ec6ff5ea
Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d63c122ec0 )
2023-08-09 10:05:23 +02:00
Marcel Klehr
2d296ce698
cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 2811932247 )
2023-08-09 10:05:21 +02:00
Marcel Klehr
322bb9763a
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>
(cherry picked from commit 590eefea70 )
2023-08-09 10:05:13 +02:00
Marcel Klehr
87ac99582b
Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit df1cf18f36 )
2023-08-09 10:05:11 +02:00
Marcel Klehr
d8c44da4f4
Fix psalm errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 95d2d3af5c )
2023-08-09 10:05:09 +02:00
Marcel Klehr
cf2c42ae36
Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ffe27ce14c )
2023-08-09 10:05:05 +02:00
Marcel Klehr
8acb1dc475
Since 27.1.0
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 069962d04f )
2023-08-09 10:02:26 +02:00
Marcel Klehr
15f08a7487
LLM OCP API: Improve scheduleTask docblock
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9f405a19f7 )
2023-08-09 10:02:18 +02:00
Marcel Klehr
5e86054858
LLM OCP API: Avoid using OC in OCP
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8f1a4f4255 )
2023-08-09 10:02:14 +02:00
Marcel Klehr
413a4f63ee
OCP\Common\NotFoundException: Add param type
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 3974953464 )
2023-08-09 10:02:11 +02:00
Marcel Klehr
70e65ff7a3
LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d56286b8ac )
2023-08-09 10:02:00 +02:00
Marcel Klehr
9a36bb4f91
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>
(cherry picked from commit bad124c07b )
2023-08-09 10:01:55 +02:00
Marcel Klehr
7a423e416f
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>
(cherry picked from commit ba950f7e34 )
2023-08-09 10:01:53 +02:00
Marcel Klehr
7320011948
LLM OCP API: Fix psam errors
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d6d4e0ffe3 )
2023-08-09 10:01:40 +02:00
Marcel Klehr
8f0618de9f
LLM OCP API: Fix psalm error
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 62b19e0675 )
2023-08-09 10:01:33 +02:00
Marcel Klehr
ffedcebc50
LLM OCP API: Add identifier param
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit f6f8cb4331 )
2023-08-09 10:01:31 +02:00
Marcel Klehr
97a4a063f4
Apply suggestions from code review
...
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 5b772468ad )
2023-08-09 10:01:29 +02:00
Marcel Klehr
e7179598c7
Make tests pass
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 66c0e6b9f7 )
2023-08-09 10:01:21 +02:00
Marcel Klehr
c1085bf1d7
ILanguageModelTask: Use php type checking along with psalm parameterized types
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 27e1c86652 )
2023-08-09 10:01:17 +02:00
Marcel Klehr
970d6886e6
ILanguageModelManager: Add docblock description
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0a94525042 )
2023-08-09 10:01:13 +02:00
Marcel Klehr
44ce285469
cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 1d3661ded9 )
2023-08-09 10:01:08 +02:00
Marcel Klehr
fb9262e864
LLM OCP API: Use OCP\Common\Exception\NotFoundException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b00a9a6eae )
2023-08-09 10:01:02 +02:00
Marcel Klehr
d203e3ad8d
OCP: Introduce OCP\Common\Exception\NotFoundException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a7cd6bf5b8 )
2023-08-09 10:01:00 +02:00
Marcel Klehr
ddeaaeace0
LLM OCP API: strict types and copyright
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 83db23ea48 )
2023-08-09 10:00:58 +02:00