Commit graph

3659 commits

Author SHA1 Message Date
provokateurin
a6ff24b4e2
refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:53:19 +01:00
Côme Chilliet
a948a71205 Fix registerEventListener signature
It seems now psalm correctly supports this.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-22 19:48:49 +00:00
Julius Härtl
04dd57635b fix: Implement option to temporarily set the user session
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-10 08:41:32 +02:00
Robin Appelman
b724b111cc test: update DummyJobList
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-17 13:25:52 +02:00
Robin Appelman
b76f4fb2ea fix: delete background jobs by id when cleaning up
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-17 11:24:18 +00:00
Benjamin Gaussorgues
00130d740a
Merge pull request #45369 from nextcloud/backport/44763/stable27 2024-06-04 12:42:06 +02:00
Daniel Kesselberg
dead36211e feat(caldav): order the calendar objects by start date for search
Sorting the events by the start date leads to more predictable results for the search API consumers.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-03 12:17:46 +02:00
fenn-cs
13688f39a7 fix(shareManager): Respect empty expireDate in server
If `expireDate` is an empty string and not `null` then the server should not set a default.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-24 15:30:49 +01:00
Benjamin Gaussorgues
a2746a64da
fix(groups): allows to save group names with more than 64 characters
Mimic behaviour from LDAP users and add a hard limit to 255 characters

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-05-16 17:59:36 +02:00
Joas Schilling
ad12a80ecc fix(userstatus): Fix docs of user status manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-08 07:25:15 +00:00
Julius Härtl
fb08724486
perf: Avoid updating the folder size if we know the size difference
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-09 15:45:05 +02:00
Ferdinand Thiessen
8ac04e56f7 fix(IUrlGenerator): Add throws documentation for imagePath function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-04 11:06:10 +00:00
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