Arthur Schiwon
bb4b34ff69
Read mtime of version.php only once
...
- in most cases it would read again in \OC_Util::loadVersion anyway
- remove some unused use statements
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-04-21 14:10:47 +07:00
Arthur Schiwon
7519949f37
add the server roots and version info hash to apcu prefix
...
fixes collissions when more than one instance is running on the same
system
For the memcaches we use a more complex prefix, where version and
instance ID are incorporated. We do not have this data at hand at this
point of time. But we can get the mtime of the version.php file
relatively cheap.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-04-21 14:10:46 +07:00
Robin Appelman
1bff4e23bf
Merge pull request #37525 from nextcloud/file-debug-info
...
add command for getting fileinfo for debugging
2023-04-21 14:18:05 +07:00
Robin Appelman
4cc5885615
Merge pull request #37062 from nextcloud/free-space
...
Check free space only if source exists and is dir
2023-04-21 13:55:42 +07:00
Robin Appelman
ccab101df8
Merge pull request #37596 from nextcloud/enh/type-iconfig-getter-calls
...
Use typed version of IConfig::getSystemValue as much as possible
2023-04-21 13:48:12 +07:00
Robin Appelman
4b52dafbf9
ignore errors while trying to update parent storage_mtime
...
in the worst case this should only cause an extra rescan later
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-20 17:16:03 +07:00
Côme Chilliet
b294edad80
Merge branch 'master' into enh/type-iconfig-getter-calls
...
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-04-20 16:52:38 +07:00
Côme Chilliet
e91e7bc60f
Fix TypeError in Profiler
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-20 10:43:00 +07:00
Nextcloud bot
8799098d1f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 02:29:13 +07:00
Joas Schilling
fd473f89e8
Merge pull request #37674 from nextcloud/feature/speech-to-text
...
feat(SpeechToText): Add SpeechToText OCP provider API
2023-04-19 16:29:44 +07:00
Joas Schilling
ab7b63db84
fix(autoloader): Rebuild
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 13:45:44 +07:00
Joas Schilling
db9901a02e
Fix(docs): Fix parameter type in doc block
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 12:42:23 +07:00
Marcel Klehr
fbcd275acb
Context params: Make userId nullable
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:39:39 +07:00
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 +07:00
Christoph Wurst
ce71aa9acb
fix(events): Log deprecated events as debug, not info
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-19 11:56:10 +07: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 +07:00
Nextcloud bot
9db33055b2
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 02:28:19 +07:00
Simon L
d6f51cf943
Merge pull request #37582 from Jerome-Herbinet/patch-16
...
To be consistent with the same field's title in the list of users
2023-04-18 23:48:18 +07:00
Christoph Wurst
2c0cfd3772
feat(app-framework): Add native argument types for middleware
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-18 17:15:05 +07: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 +07:00
Marcel Klehr
ce651e53b9
Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 16:24:06 +07:00
Jérôme Herbinet
c343569b3f
To be consistent with the list of users
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-18 15:47:26 +07: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 +07:00
Simon L
8508865eaf
Merge pull request #37772 from nextcloud/enh/30986/follow-up
...
Prevent the OpenDocument preview generator from trying to open empty files
2023-04-18 12:18:14 +07:00
Simon L
8fe22ebf60
Merge pull request #36617 from nextcloud/update/psr-container
...
chore: Update PSR container to 2.0.2
2023-04-18 11:40:12 +07:00
Simon L
5f879a705b
Merge pull request #37316 from nextcloud/fix/security/strict-cookie-check-status-codes
...
fix(security)!: Use consistent HTTP status for strict cookie checks
2023-04-18 11:39:18 +07:00
Joas Schilling
bef4cf0ad1
Fix missing import
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 10:01:00 +07:00
Simon L
855e7a2efb
Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes
...
fix: always use proper path on node api when calling the view
2023-04-18 04:11:44 +07:00
Simon L
45a0fe490c
Merge pull request #37534 from Rsplwe/master
...
Adjust the value of the "max-parts" parameter of the object storage 'ListPart' interface to 1000
2023-04-18 00:16:38 +07:00
Simon L
5952a027c3
Merge pull request #37324 from nextcloud/fix/mapper-exception
...
Allow to catch `IMapperException` by implementing `Throwable`
2023-04-18 00:10:44 +07:00
Simon L
0a763820bc
Merge pull request #37676 from nextcloud/fix/auth/atomic-password-db-statements
...
fix(auth): Run token bulk update statements in atomic transaction
2023-04-17 23:48:24 +07:00
Julius Härtl
160bd75d0a
fix: Use proper path when creating node instances
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-17 23:46:52 +07:00
Simon L
85c9e75f33
Merge pull request #32314 from nextcloud/object-mkdir-logging
...
additional logging when mkdir fails for object storage
2023-04-17 23:42:08 +07:00
Simon L
5cda8f0f45
Merge pull request #35129 from Glandos/previewperf2
...
[Performance] Reuse preview directory listing
2023-04-17 20:22:39 +07:00
Simon L
d87cc208bb
Merge pull request #31286 from rotdrop/bugfix/dont-start-session-when-session-is-already-open
...
Don't call session_start() when PHP session is still or already open.
2023-04-17 20:14:53 +07:00
Ferdinand Thiessen
dc9d8c42bb
fix: Adjust console formatter code to match with Symfony type hints
...
Symfony has added type hints on the `OutputFormatterInterface`,
so we must adjust our type hints to match with Symfony.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 18:35:10 +07:00
Christoph Wurst
a06898a2d0
fix(security)!: Use consistent HTTP status for strict cookie checks
...
Before: 503/412
Now: 412 + json body explaining the error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-17 16:06:37 +07:00
Ferdinand Thiessen
bdbff2181e
fix: Allow to catch `IMapperException` by implementing `Throwable`
...
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 16:05:10 +07:00
Simon L
800f40b71c
fix php-lint
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-17 17:18:09 +07: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 +07: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 +07: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 +07: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 +07:00
Glandos
e542e60dbc
try to make linters happy
...
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:14 +07:00
Glandos
3440387f0f
gather code from small and max preview
...
use directory listing in both functions to gain 25% speed on run where
every preview already exist.
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +07:00
Glandos
24c121347a
Revert 0e49b40
...
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +07:00
Glandos
06a7e90383
improve parameter doc
...
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +07:00
Glandos
4954bead1d
Ensure max preview image is not null
...
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +07:00
Glandos
b6c65fee2a
php-cs-fix
...
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +07:00
Glandos
9b4d5146d5
List preview directory only once
...
getCachedPreview used to call `getFile`, and this calls `getDirectoryListing` (or underlying function that list directory) to find the file. This was done for every preview spec.
Now, this is done only once at the beginning of the loop, and the array is just iterated when needed to find the correct entry.
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +07:00
Robin Appelman
60cf0c8f5f
add command for getting fileinfo for debugging
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +07:00
Claus-Justus Heine
45ec432492
Don't call session_start() when PHP session is still or already open.
...
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-04-17 16:23:02 +07:00
Claus-Justus Heine
456679c6fb
Update lib/private/Preview/Bundled.php
...
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2023-04-17 16:19:02 +07:00
Claus-Justus Heine
b3d8363327
Prevent the OpenDocument preview generator from trying to open empty files.
...
Rationale: does not make sense, and triggers a deprecation error in
\ZipArchive.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-04-17 16:19:02 +07: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 +07:00
Thomas Citharel
036cd47bf4
Put Mimeloader insertion and read in the same transaction
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 13:32:02 +07:00
Marcel Klehr
3779cc3d88
SpeechToTextManager: Deduplicate transcription jobs
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +07:00
Marcel Klehr
ad1a0d88ef
Transcription*Event: Add doc block
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +07:00
Marcel Klehr
71523b9816
AbstractTranscriptionEvent: Add File param
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +07:00
Nextcloud bot
6746a7aebc
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-15 02:27:32 +07:00
Julius Härtl
eecd4601ac
Merge pull request #37429 from nextcloud/object-store-rmdir
...
improve objectstore rmdir handling
2023-04-13 18:45:12 +07: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 +07:00
Marcel Klehr
865ebfaf72
Add missing strict_types + author + copyright
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:15:18 +07: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 +07: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 +07:00
Nextcloud bot
b1abc57c07
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-13 02:27:50 +07: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 +07:00
Christoph Wurst
5eb768ac5e
fix(auth): Run token statements in atomic transaction
...
All or nothing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-12 15:55:42 +07:00
Maxence Lange
fc29b0d1b7
app type extended_authentication
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-04-12 09:34:49 +07:00
Arthur Schiwon
ec1acb92c7
Merge pull request #37617 from nextcloud/notify-self-test-error
...
handle not being able to write file for notify self-test
2023-04-11 19:43:41 +07:00
Marcel Klehr
1833d932ef
chore(coding style): Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:21:08 +07:00
Marcel Klehr
a9b5d1f9da
chore(coding style): Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:04:30 +07:00
Marcel Klehr
f2eb2241bb
feat(SpeechToText): Add autoload changes
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:01:11 +07:00
Marcel Klehr
317521b607
feat(SpeechToText): Add SpeechToText provider API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 14:59:57 +07:00
Nextcloud bot
a19589d5c2
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-09 02:27:38 +07:00
jld3103
b153340b62
Add type hints for mappers
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-07 09:49:42 +07:00
Jan Messer
647c65a640
[BUGFIX] throw exception instead of error if unable to create file handler (only exceptions are catch)
...
Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-04-06 23:03:49 +07:00
Jan Messer
7a443863fe
[BUGFIX] check return value and improve error handling
...
With S3 primary storage there was a problem with getting the CA bundle from the storage without having the CA bundle for the connection which causes that the CertificateManager was throwing an Error.
This commit improves the handling in CertificateManager and log unexpected behaviors.
Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-04-06 23:03:33 +07: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 +07:00
Robin Appelman
570b64aafc
handle not being able to write file for notify self-test
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-06 11:52:22 +07: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 +07: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 +07:00
Côme Chilliet
8d5165e8dc
Adapt tests to config value typing
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 17:42:14 +07: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 +07:00
Robin Appelman
c6be96d04f
additional logging when mkdir fails for object storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 14:52:19 +07: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 +07: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 +07:00
Côme Chilliet
426c0341ff
Use typed version of IConfig::getSystemValue as much as possible
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 12:50:08 +07: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 +07: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 +07:00
jld3103
d9f8522003
Fix types for reading and writing config values
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 09:08:56 +07:00
Nextcloud bot
746a1e9922
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 02:30:26 +07: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 +07: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 +07: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 +07:00
Robin Appelman
5267a74027
fix type hints
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 17:05:45 +07:00
Robin Appelman
8c9197d65e
fix unencrypted folder size when no children with unencrypted size set are left
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:11 +07:00
Robin Appelman
649bed5154
fix unencrypted_size for files when scanning
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:11 +07:00
Robin Appelman
63fb33538c
fix unencrypted_size for folders when scanning the filesystem with encryption enabled
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:10 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Robin Appelman
d63fa2d991
improve objectstore rmdir handling
...
remove folder entries as they are cleared instead of in one go afterwards
otherwise they stick around if some of the child entries can't be removed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 18:28:29 +07: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 +07: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 +07: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 +07:00
Rsplwe
5c6f35832c
Update lib/private/Files/ObjectStore/S3.php
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-03 21:59:59 +07: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 +07: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 +07: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 +07: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 +07:00
Côme Chilliet
5ad045619c
View needs to return an instance of OC\Files\FileInfo explicitely
...
Applications are calling methods from the class which are not from the
public interface, and which cannot be added easily to public interface
because Node interface extends FileInfo.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +07:00
Côme Chilliet
0b3dad895f
More type cleanup in View and FileInfo
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +07:00
Côme Chilliet
ea05544213
Fix return type of methods returning false on error
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +07:00
Côme Chilliet
f974281ac9
Improve typing for fopen/toTmpFile
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +07:00
Côme Chilliet
4393b96542
Remove unused method getLocalFolder
...
It’s not used and not in any OCP interface/class.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +07:00
Côme Chilliet
966a3e6963
Tidy up typing in OC\Files\View
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:33 +07:00
Julius Härtl
671d2726fa
Merge pull request #36652 from nextcloud/perf/autoloading/theming-authoritative-autoloader
...
perf(autoloading): Add authoritative autoloader for theming
2023-04-03 10:38:00 +07:00
Joas Schilling
454281af03
feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-03 09:06:45 +07:00
jld3103
dcf6ebebab
Fix inherited parameter names
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-03 08:29:33 +07:00
Robin Appelman
c9e4e30523
clear encrypted flag when moving away from encrypted storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-01 15:36:37 +07:00
Rsplwe
d85e623916
s3: get remaining truncation part
...
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-01 22:56:15 +07:00
Rsplwe
ccac296821
Adjust the value of 'maxparts' to 1000
...
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-01 21:20:52 +07:00
Côme Chilliet
8104d9f5d8
Remove useless coalescing operator on non-null return value
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:26 +07:00
Côme Chilliet
da618c457a
Fix quota typing for 32bits after forward port from 25
...
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-04-01 14:20:25 +07:00
Côme Chilliet
3f84d41226
Silence a warning from psalm with explanation
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:25 +07:00
Côme Chilliet
1740311283
Adapt types of subclasses
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:24 +07:00
Côme Chilliet
ed863fb47c
Make it clear that file sizes may be float on 32bits
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:24 +07:00
Vincent Petry
c6b683342e
Remove quota value type for 32-bit systems
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-04-01 14:20:20 +07:00
Arthur Schiwon
997c2a2a79
fix DBAL exception handling in setValues
...
This seems to be a left over after abstracting DBAL. Nowadays,
IQueryBuilder::executeStatement() only throws a \OCP\DB\Exception, where
previously original DBAL exceptions where thrown. These are now wrapped,
the orignal classes are now mapped to a reason.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-31 17:01:17 +07:00
Nextcloud bot
9f1eacd67e
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-31 02:28:06 +07:00
Julien Veyssier
636c2415cc
Merge pull request #37452 from nextcloud/fix/missing-interface-methods
...
Add missing interface methods
2023-03-30 14:55:51 +07:00
Simon L
2811532e83
Merge pull request #37378 from nextcloud/enh/noid/fix-avatar-generation
...
fix the avatar generation on Alpine Linux
2023-03-30 14:20:55 +07:00
Julius Härtl
5e7e3eb665
Merge pull request #37425 from nextcloud/fix/fix-since-version-number-for-app-loading
2023-03-30 13:20:11 +07:00
Christoph Wurst
b9850fb926
fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-30 14:11:37 +07:00
jld3103
02f9c3a06f
Use implementations instead of interfaces for accessing private methods
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-30 12:33:46 +07:00
Arthur Schiwon
488dde12cd
Merge pull request #37448 from nextcloud/fix/12281/hide-deleted-shared-groupfolder-files
...
hide shared files located in group folder's trash bin
2023-03-30 10:31:16 +07:00
Nextcloud bot
2eda49e28d
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-30 02:27:36 +07:00
Christopher Ng
4f8e916585
Add label for logo link
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-29 13:36:45 +07:00
Kate
fc371facd2
Merge pull request #36667 from nextcloud/fix/ocm-validation-errors
...
Fix OCM validation errors
2023-03-29 20:47:49 +07:00
Simon L
6a91d105b9
another approach to fixing the avatar generation
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-29 12:42:58 +07:00
Arthur Schiwon
28e7235f87
hide shared files located in group folder's trash bin
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-28 14:13:12 +07:00
Côme Chilliet
e94a689bca
Fix version number in phpdoc for app loading refactor
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 14:27:23 +07:00
Joas Schilling
6741b37356
Merge pull request #37198 from nextcloud/bugfix/noid/reference-image-log
...
fix(references): Do not log errors on 404 responses of opengraph image fetching
2023-03-27 13:56:39 +07:00
Christoph Wurst
44dc839f7b
Revert "Dark autoloader magic for ThemingDefaults"
...
This reverts commit 4e1d501696 .
2023-03-27 12:56:52 +07:00
Robin Appelman
36835b7fec
Merge pull request #36810 from nextcloud/setup-user-onetime-before-mounts
...
do onetime user setup before getting any mount from providers
2023-03-24 16:45:08 +07:00
Simon L
825f847ef1
Merge pull request #37234 from cob2p/bugfix/typo
...
Fix the typo in comments
2023-03-23 15:00:41 +07:00
Simon L
67614150b5
Merge pull request #36636 from nextcloud/fix/oc-image-getimagesize
...
fix OC_Image: Prevent E_WARNING from getimagesize*
2023-03-23 14:59:57 +07:00