Marcel Klehr
a2f5421fc3
SpeechToTextManager#scheduleFileTranscription: Take context params and expose them on the Transcription*Events
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:35:13 +02:00
Marcel Klehr
a8b27c9126
TranscriptionJob: Add owner argument to simplify filesystem setup
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 11:26:04 +02:00
Marcel Klehr
eb996cbbb0
TranscriptionJob: Ensure filesystem is setup before trying to retrieve file
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 16:24:06 +02:00
Marcel Klehr
ce651e53b9
Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 16:24:06 +02:00
Marcel Klehr
9649f91892
Update lib/private/SpeechToText/SpeechToTextManager.php
...
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 15:24:14 +02:00
Joas Schilling
bef4cf0ad1
Fix missing import
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 10:01:00 +02:00
Marcel Klehr
3f57725a7c
SpeechToTextManager#transcribeFile: Try next provider if one fails
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:59:46 +02:00
Marcel Klehr
47cff5d651
Update lib/public/SpeechToText/ISpeechToTextManager.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:43 +02:00
Marcel Klehr
b082657252
Update lib/public/SpeechToText/ISpeechToTextManager.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:28 +02:00
Marcel Klehr
aac6a186c1
Update lib/public/SpeechToText/ISpeechToTextManager.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:19 +02:00
Marcel Klehr
6e9f260348
Update lib/private/SpeechToText/SpeechToTextManager.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 15:49:50 +02:00
Marcel Klehr
3779cc3d88
SpeechToTextManager: Deduplicate transcription jobs
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr
ad1a0d88ef
Transcription*Event: Add doc block
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr
71523b9816
AbstractTranscriptionEvent: Add File param
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr
ad66180c34
Update lib/private/SpeechToText/SpeechToTextManager.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 15:17:17 +02:00
Marcel Klehr
865ebfaf72
Add missing strict_types + author + copyright
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:15:18 +02:00
Marcel Klehr
a8d3fff648
Split TranscriptionFinishedEvent into Successful and Failed events
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:12:07 +02:00
Marcel Klehr
176f1af26a
ISpeechToTextManager: Take File as input, drop $context
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 11:57:23 +02:00
Marcel Klehr
ef7ce88cee
ISpeechToTextProvider#transcribeFile: Pass \OCP\Files\File instead of path
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-12 16:52:11 +02:00
Marcel Klehr
1833d932ef
chore(coding style): Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:21:08 +02:00
Marcel Klehr
a9b5d1f9da
chore(coding style): Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:04:30 +02:00
Marcel Klehr
f2eb2241bb
feat(SpeechToText): Add autoload changes
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:01:11 +02:00
Marcel Klehr
317521b607
feat(SpeechToText): Add SpeechToText provider API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 14:59:57 +02:00
Nextcloud bot
a19589d5c2
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-09 02:27:38 +00:00
jld3103
b153340b62
Add type hints for mappers
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-07 09:49:42 +02:00
Vincent Petry
9f05eff3ef
Merge pull request #34607 from nextcloud/encryption-size-not-found
...
fix encryption wrapper filesize for non existing files
2023-04-06 18:04:44 +02:00
Robin Appelman
03e965a513
Merge pull request #22943 from nextcloud/scanner-no-access-handling
...
improve handling of files we can't access in the scanner
2023-04-05 21:36:21 +02:00
Côme Chilliet
e63a6f5cdb
Merge pull request #27538 from nextcloud/scanner-home-not-writable-better-errors
...
better error messages if the users home is not writable during scanning
2023-04-05 17:53:42 +02:00
Robin Appelman
63fc83de26
Merge pull request #33292 from nextcloud/no-profiler
...
don't hard error when trying to load profiles with no profiler registered
2023-04-05 15:57:50 +02:00
Robin Appelman
b1f352c614
improve handling of files we can't access in the scanner
...
instead of erroring, remove the items from the cache.
this situation can be triggered if a user has access to a file but looses it afterwards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 14:44:55 +02:00
Robin Appelman
54f61352f0
better error messages if the users home is not writable during scanning
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 13:21:30 +02:00
Côme Chilliet
8f550398c4
Merge pull request #36836 from nextcloud/fix/view-type-cleanup
...
Tidy up typing in OC\Files\View
2023-04-05 10:14:55 +02:00
Côme Chilliet
6633b4ced6
Remove unecessary fully qualified namespaces from phpdoc
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 09:13:39 +02:00
jld3103
d9f8522003
Fix types for reading and writing config values
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 09:08:56 +02:00
Nextcloud bot
746a1e9922
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 02:30:26 +00:00
Robin Appelman
43b61d26e8
don't hard error when trying to load profiles with no profiler registered
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 17:24:29 +02:00
Robin Appelman
9d3c8b7e70
Merge pull request #36360 from nextcloud/new-share-existing-node
...
also set the node when re-using existing share on share create
2023-04-04 17:11:24 +02:00
Joas Schilling
9cae15d1ad
Merge pull request #37278 from nextcloud/feature/document-talk-icon-url-definition
...
Document talk icon url definition
2023-04-04 17:08:28 +02:00
Robin Appelman
15a6920b07
fix encryption wrapper filesize for non existing files
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:21:17 +02:00
Robin Appelman
565ee0dc81
Merge pull request #37559 from nextcloud/preview-generate-cmd
...
add command to generate a preview for a file
2023-04-04 16:06:45 +02:00
Joas Schilling
131f481a67
fix(initial-state): Log an error when initial-state can not be JSON encoded
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-04 10:54:12 +02:00
Côme Chilliet
7fdb23928f
Merge pull request #37243 from nextcloud/enh/openssl-get-rid-of-rc4
...
Getting rid of openssl_seal and rc4 in server side encryption
2023-04-04 10:38:02 +02:00
Louis
7ab44b2d28
Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_value
...
Migrate metadata JSON column to new value TEXT column
2023-04-04 10:23:54 +02:00
Robin Appelman
013eedabbd
add command to generate a preview for a file
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 17:30:57 +02:00
Robin Appelman
3473fa3187
also set the node when re-using existing share on share create
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 16:40:47 +02:00
Robin Appelman
5024f295dc
Merge pull request #36097 from nextcloud/path-prefix-optimize
...
extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
2023-04-03 16:39:49 +02:00
Côme Chilliet
dbc0d6a1c2
Merge pull request #37543 from nextcloud/fix/inherited-parameter-names
...
Fix inherited parameter names
2023-04-03 15:08:45 +02:00
Joas Schilling
c5339fa336
Merge pull request #37542 from nextcloud/bugfix/noid/allow-to-opt-out-of-ratelimit-for-testing
...
feat(security): Allow to opt-out of ratelimit protection, e.g. for te…
2023-04-03 14:19:41 +02:00
Louis Chemineau
1a6709cf43
Migrate metadata as JSON to value as STRING
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-03 14:06:28 +02:00
Arthur Schiwon
84c76a89ec
Merge pull request #37520 from nextcloud/fix/noid/fix-dbal-exception-handling
...
fix DBAL exception handling in setValues
2023-04-03 11:30:14 +02:00