summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* optimize UserMountCache::registerStorageRobin Appelman2023-11-161-0/+8
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix: Extend docblock of hasReservedJobMarcel Klehr2023-11-091-1/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Merge pull request #41215 from nextcloud/backport/41214/stable27Joas Schilling2023-11-081-0/+7
|\ | | | | [stable27] fix(install): Make installing more verbose
| * Adjust since versionJoas Schilling2023-11-081-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(install): Make installing more verboseJoas Schilling2023-11-031-0/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #41150 from nextcloud/backport/40885/stable27Joas Schilling2023-11-062-25/+52
|\ \ | |/ |/| [stable27] fix(OCM): Make the public API only rely on OCP
| * fix(OCM): Make the public API only rely on OCPJoas Schilling2023-10-272-25/+52
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix version number in ITimeFactory after it was delayedJoas Schilling2023-10-161-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix Dashboard IManager getWidgets return annotationjld31032023-10-051-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* ocm servicesMaxence Lange2023-09-225-0/+358
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #40286 from nextcloud/backport/40233/stable27Arthur Schiwon2023-09-071-0/+33
|\ | | | | [stable27] Detect aborted connection in OC\Files\View and stop writing data to t…
| * Detect aborted connection in OC\Files\View and stop writing data to the ↵Benjamin Gaussorgues2023-09-061-0/+33
| | | | | | | | | | | | output buffer Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | more share permission logic to storage wrapperRobin Appelman2023-09-041-0/+8
|/ | | | | | this way we only have to determine the share permissions once Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(utility): De- deprecate getDateTime as now() only returns immutable objectsAnna Larch2023-08-281-2/+0
| | | | | | | | 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>
* fix: Make bypass function public APIJoas Schilling2023-08-231-0/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(security): Add a bruteforce protection backend base on memcacheJoas Schilling2023-08-231-1/+18
| | | | | | Similar to the ratelimit backend Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(dashboard): implement widget item api v2Richard Steinmetz2023-08-224-3/+206
| | | | | | | | | 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>
* feat: Add delete task APIJulius Härtl2023-08-091-0/+8
| | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> (cherry picked from commit fca1c309a025e34cc5d635766796d9e5b4f9386b) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* allow anon text processing schedulingJulien Veyssier2023-08-092-2/+13
| | | | | | | | | | | | 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 41b19cf969956fe57fcb35e3dee0200d5c29b6d7) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* start implementing ocs endpoint to get task list from user+appId+identifierJulien Veyssier2023-08-091-0/+8
| | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 9986e02097e5c82e1bb21ba3f897b14d82a50c15) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* AI admin settings: cs:fixMarcel Klehr2023-08-091-1/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 4ec150c9b6d24e877a7843fc005cfb6b8997363b)
* fix(TextProcessing): Inject L10N\IFactory instead of IL10NMarcel Klehr2023-08-094-9/+26
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 8ec1926aba549eeaea872d7dd2fcb69592b3a3bc)
* First pass at ai admin settingsMarcel Klehr2023-08-093-0/+18
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fc9780a41d586e2983f18e128a4095484e5860ac)
* Remove Task::factory methodMarcel Klehr2023-08-091-17/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 7389567c7d05ba994533b7273cba1e5818a20b94)
* Fix psalm errorsMarcel Klehr2023-08-095-0/+9
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d63c122ec0071cc1d0417eaa5eb1a85e41290263)
* cs:fixMarcel Klehr2023-08-091-2/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 2811932247da3301c25259396c1b4a1667db1b54)
* Apply suggestions from code reviewMarcel Klehr2023-08-091-7/+0
| | | | | | 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 590eefea70472db84439353ddefbba6df1a88280)
* Fix psalm errorsMarcel Klehr2023-08-091-6/+9
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit df1cf18f368ce935dd3f57a99426b6712421ed3e)
* Fix psalm errorsMarcel Klehr2023-08-091-1/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 95d2d3af5ce3aba22a206b01c89373a38f9ffb3a)
* Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-08-0919-535/+353
| | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit ffe27ce14ca74b509c8721c9fba7c759498fa471)
* Since 27.1.0Marcel Klehr2023-08-0916-81/+81
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 069962d04fb51fd52f891297b9096dd7143eaa18)
* LLM OCP API: Improve scheduleTask docblockMarcel Klehr2023-08-091-1/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 9f405a19f782c88310d8cbe1f02eb4e1e8157115)
* LLM OCP API: Avoid using OC in OCPMarcel Klehr2023-08-091-16/+0
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 8f1a4f42557302c7d1c97be0439c47e59133955a)
* OCP\Common\NotFoundException: Add param typeMarcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 397495346470bd78ff02d05e34c72ac2f2cbcb82)
* LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/Marcel Klehr2023-08-091-1/+1
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d56286b8acb319e05eaa8b8a920c76e76da336cf)
* Update lib/public/LanguageModel/Events/TaskFailedEvent.phpMarcel Klehr2023-08-091-2/+4
| | | | | | 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 bad124c07bb3ef541c31cfa94131df730c1ac30f)
* Update lib/public/LanguageModel/ILanguageModelProvider.phpMarcel Klehr2023-08-091-1/+1
| | | | | | 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 ba950f7e34185139f92e6e81394ab4449d76d105)
* LLM OCP API: Fix psam errorsMarcel Klehr2023-08-091-2/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit d6d4e0ffe367a89dda1105fed3df15bc66bff11a)
* LLM OCP API: Fix psalm errorMarcel Klehr2023-08-091-2/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 62b19e0675681d251c210f4231823e3304bd6cd3)
* LLM OCP API: Add identifier paramMarcel Klehr2023-08-092-3/+21
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit f6f8cb43313deb3dfd366bc9e2128d787c833405)
* Apply suggestions from code reviewMarcel Klehr2023-08-091-2/+2
| | | | | | Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 5b772468ad12f6f7e0d1077c05011912275cc4e7)
* Make tests passMarcel Klehr2023-08-091-4/+5
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 66c0e6b9f79d1e82f55af2acd9d2b500c8128614)
* ILanguageModelTask: Use php type checking along with psalm parameterized typesMarcel Klehr2023-08-095-12/+14
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 27e1c86652d73b27f48756b350bb4578cdeeee0b)
* ILanguageModelManager: Add docblock descriptionMarcel Klehr2023-08-091-0/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 0a94525042b754b19664292f3134cc8c98dcd2a7)
* cs:fixMarcel Klehr2023-08-096-0/+6
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 1d3661ded9c4ca80c30a1ae4eb08a2d4967da8cf)
* LLM OCP API: Use OCP\Common\Exception\NotFoundExceptionMarcel Klehr2023-08-091-1/+2
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit b00a9a6eaeeafce11e0141199f37d8a105050cce)
* OCP: Introduce OCP\Common\Exception\NotFoundExceptionMarcel Klehr2023-08-091-0/+41
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit a7cd6bf5b80d1974d8e680fd5da9b7f3af28ffa6)
* LLM OCP API: strict types and copyrightMarcel Klehr2023-08-097-1/+133
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 83db23ea4852dc86f6d6bcbb0ad1771665875528)
* LLM OCP API: Type shenanigans for Visitor patternMarcel Klehr2023-08-097-34/+30
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 906e9b7014203ac4e7608155287efe793a83aa8e)
* Update lib/public/AppFramework/Bootstrap/IRegistrationContext.phpMarcel Klehr2023-08-091-1/+1
| | | | | | Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit fb55afc9ffea906432e52def8bacb6f902afe220)