Ferdinand Thiessen
bf63db1e8b
refactor(files_sharing): Handle access to shares using the direct download endpoint
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-07 17:31:39 +02:00
Ferdinand Thiessen
064ea9c134
refactor(files_sharing): Move share access handling from controller to event listener
...
This ensures we catch all share access attempts and not only the controller ones (e.g. when using the zip folder plugin).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-07 17:18:11 +02:00
Ferdinand Thiessen
f33b280d1a
feat(files_sharing): Add step constants to ShareLinkAccessedEvent
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-07 17:16:34 +02:00
Nextcloud bot
219cc82ddd
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-06 00:21:20 +00:00
Nextcloud bot
53b1bc5eb7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 00:20:04 +00:00
Nextcloud bot
6c14c933eb
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 00:20:34 +00:00
Robin Appelman
1bf27e74dd
Merge pull request #48235 from nextcloud/readd-object-store-phpunit
...
test: re-add object store primary storage phpunit tests
2024-10-01 15:11:10 +02:00
Nextcloud bot
da591eaec3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 00:27:57 +00:00
Ferdinand Thiessen
e9d590674d
feat(files_sharing): Make ShareController download route use the DAV ZipFolderPlugin
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:34 +02:00
Robin Appelman
f8a59b56b4
test: fix share storage move test with object store
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-27 14:45:43 +02:00
Kate
4f88123d2b
Merge pull request #48219 from nextcloud/fix/istorage/return-types
2024-09-27 07:40:05 +02:00
Nextcloud bot
7887ab8cfa
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 00:20:34 +00:00
provokateurin
376d5665bb
fix(files_sharing): Fix all IStorage return types
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 17:29:47 +02:00
provokateurin
13d1cb730f
fix(files_sharing): Check if propfind response is valid before accessing share permission props
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:35:31 +02:00
provokateurin
5d4a358cc4
refactor(files_sharing): Make permissions prop checks less error prone
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:34:44 +02:00
provokateurin
adc38a7248
fix(files_sharing): Parse OCM share permissions from OCM and not OCS prop
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 09:38:41 +02:00
Nextcloud bot
9a220989dd
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 00:23:09 +00:00
Ferdinand Thiessen
7d733cfb33
fix(files): Link share URL was not generated due to typo
...
`toen` vs `token`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 19:55:36 +02:00
Côme Chilliet
8927510685
Merge pull request #48223 from nextcloud/feat/add-rector-config
...
Add rector config
2024-09-23 15:10:30 +02:00
Nextcloud bot
a33a2e2f9c
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-21 00:20:41 +00:00
Côme Chilliet
1a4978c4ea
chore: Apply rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +02:00
Ferdinand Thiessen
4c067fcbae
chore(files): Remove legacy style files
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:46:46 +02:00
Ferdinand Thiessen
085aab24ff
chore: fix usage of deprecated functions and adjust code style
...
This solves 57 ESLint warnings by replacing deprecated code with `@nextcloud/` libraries,
as well as adding missing type information, importing jQuery instead of relying on global one,
and the same with Moment.js.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 03:30:20 +02:00
Ferdinand Thiessen
e243cb8b7d
chore: Remove deprecated Share_Helper::generateTarget $exclude parameter
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 00:51:00 +02:00
Julius Härtl
232c22fcd1
fix(federation): Do not overwrite certificate bundle
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-20 00:13:00 +02:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +02:00
Robin Appelman
21678df4d6
Merge pull request #48200 from nextcloud/share-reminder-sharding
...
fix: add sharding compatible version of share reminder job
2024-09-19 12:50:37 +02:00
Robin Appelman
0bdd25eb0f
fix: add sharding compatible version of share reminder job
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 11:59:46 +02:00
Joas Schilling
a0cb795f04
Merge pull request #48162 from nextcloud/bugfix/noid/array-keys
...
fix(autocomplete): Move known array keys to psalm docs
2024-09-19 10:25:06 +02:00
Robin Appelman
b45f2420fe
fix: fix share reminder job for oracle
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 19:24:44 +02:00
Robin Appelman
1ad58d68f3
test: fix ShareControllerTest.php
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Robin Appelman
7661a7e90a
test: fix ShareAPIControllerTest.php
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Robin Appelman
1db3d94e1e
test: put parent items into cache in tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Joas Schilling
0af0bf3d42
fix(autocomplete): Move known array keys to psalm docs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-18 11:40:45 +02:00
Nextcloud bot
13fce9fb9d
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:00 +00:00
Nextcloud bot
29a03ff8fe
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:04 +00:00
Anna Larch
1ce46c1fca
refactor: move to new activity exception
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-17 12:06:24 +02:00
provokateurin
d2d1e3284d
fix(Storage): Fix method docs inheritance
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:20:38 +02:00
provokateurin
8ca6fcace7
fix(Storage): Document getOwner() can return false
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:10:50 +02:00
Nextcloud bot
d76d971e55
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:40 +00:00
Côme Chilliet
492e6997d8
chore: Fix psalm issues, put back private versions of getter in private Storage interface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet
22822d5e9b
fix: Fix other uses of removed Storage interface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:36 +02:00
Côme Chilliet
801733e523
fix: Remove OCP\Files\Storage interface deprecated since version 9
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:10:48 +02:00
Christoph Wurst
0a7b4b597e
Merge pull request #48042 from nextcloud/refactor/elvis
...
refactor: Use the elvis operator + fix: Handle null checks with the ?? operator
2024-09-16 10:04:37 +02:00
Nextcloud bot
d6a59be1c0
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:11 +00:00
Christoph Wurst
49dd79eabb
refactor: Add void return type to PHPUnit test methods
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +02:00
Christoph Wurst
c57e684e7b
fix: Handle null checks with the ?? operator
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:50:11 +02:00
Christoph Wurst
614f9ec0a2
refactor: Use the elvis operator
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:01:34 +02:00
Nextcloud bot
353cb1f866
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 00:26:39 +00:00
Nextcloud bot
26aa322e44
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:21 +00:00