Nextcloud bot
7f0cf9209e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-16 00:19:37 +00:00
Nextcloud bot
1bc8b20de1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-14 00:20:08 +00:00
fenn-cs
9c68799fd2
fix(ShareEntryLinkedList): Correctly propagate share data
...
`this.shares.unshift` mutates the share object for every component that uses
the share mixin.
Using the immutable approach changes the array reference which makes the mixin
lose track of the share object.
It would have been better to bubble up the share object but here we are :)
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-12 16:20:39 +01:00
Joas Schilling
bacf8c61a8
fix(sharing): Don't change the type of the controller argument
...
[EA] New value type (\DateTime) is not matching the resolved parameter type and might introduce types-related false-positives.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-11 14:17:57 +01:00
fenn-cs
5d86c407a7
fix(shareApiController): avoid duplicated expiryDate operations
...
`expireDate` can be set once and used anywhere needed, the current implementation,
duplicates this behavior which leads to `parseDate` receiving an a date object it
parsed and returend earlier in the createShare method.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-11 14:17:57 +01:00
fenn-cs
b0d4661a1b
refactor(shareApiController): use contrusctor property promotion & DI logger
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-11 14:17:57 +01:00
John Molakvoæ
8eb3a6ec83
Merge pull request #44009 from nextcloud/backport/43252/stable27
2024-06-07 11:05:32 +02:00
Nextcloud bot
8d2387016b
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-05 09:56:34 +00:00
fenn-cs
29f717a999
fix(ShareApiClients): Maintain meaning of '' and null for share api clients
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-29 12:26:29 +00:00
fenn-cs
bdeba6590d
test(Sharing): Integration test for no expiration set date for share
...
- Verify that explicitly sending empty `expireDate` param to server overwrite default
and sets not expiry date, if non is enforced.
- Update tests to avoid converting empty string to date.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-25 11:18:41 +01: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
Christopher Ng
ffda00b2ad
fix: Hide download action in shares view
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-22 11:11:12 -07:00
Julius Härtl
c8003e480b
fix: Keep download action for files and hide only for relevant files
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-22 11:10:50 -07:00
fenn-cs
2be68340c1
fix(files_sharing): Improve recursion in onNewLinShare
...
These changes fixes the issue of having the refresh the UI after share creation, as the share is not
immediately removed from the UI list.
Important changes
- The basis of checking wether a password/expire date is no longer based on config values alone
because the config is not expected in a share creation circle. Hence we check the configs and check
if the share object (this.share) has the expected values set. This way, once the required properties
are set, code control does not enter the block meant to handle the setting of required properties
unneccessarily.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-14 09:32:54 +01:00
fenn-cs
d6340ed0f9
refactor(ShareDetails): Prevent undefined errors for share.permissions
...
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-14 09:32:54 +01:00
Nextcloud bot
0507be52d1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-08 00:21:24 +00:00
Nextcloud bot
3b3c57ed75
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-07 00:20:31 +00:00
Nextcloud bot
d29c1aafd1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-03 00:20:15 +00:00
Nextcloud bot
4ee7814971
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-27 00:20:39 +00:00
Nextcloud bot
6c132af3e6
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-26 00:21:31 +00:00
Nextcloud bot
d229b069f6
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-25 00:21:15 +00:00
Nextcloud bot
19c3ca0f26
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-24 00:20:51 +00:00
Nextcloud bot
e414701771
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-23 00:21:12 +00:00
Nextcloud bot
277052a605
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-22 00:21:28 +00:00
Nextcloud bot
79737145e6
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-21 00:20:59 +00:00
Nextcloud bot
9261a84de1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 00:20:33 +00:00
Git'Fellow
8e5b14cd6c
Fix backport
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-04-19 18:54:40 +02:00
Nextcloud bot
5907824827
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 00:20:56 +00:00
Nextcloud bot
02d680c0e1
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 00:21:01 +00:00
Benjamin Gaussorgues
3fb243e21c
Merge pull request #44499 from nextcloud/backport/44484/stable27
2024-04-17 11:31:34 +02:00
Nextcloud bot
5dde6512e0
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-17 00:21:11 +00:00
fenn-cs
58db30da87
fix(share): Send correct share attributes upon share creation
...
- Send correct share attributes (`share.attributes`) to server upon creation.
- Delete parts of code that create or reference, `share.hasDownloadPermission`
(Not required by Share API)
Resolves : https://github.com/nextcloud/server/issues/44131
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-15 16:00:23 +01:00
fenn-cs
9f84e723eb
fix(share): Send empty expireDate when not expireDate set
...
When creating a new share, if the user unchecks "Set expiry date"
no `expireDate` is sent to the server.
However, the server then assumes the default configured, hence better
to send an empty value.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-08 12:25:48 +01:00
Nextcloud bot
4fe9fe5489
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-05 00:20:14 +00:00
Nextcloud bot
70dd53fd2c
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-04 00:20:31 +00:00
Ferdinand Thiessen
f23e010831
fix(files_sharing): Create passwords when enforced for mail shares
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-03 18:47:24 +02:00
Nextcloud bot
7b445897c4
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-03 00:20:15 +00:00
Nextcloud bot
f59aa618ef
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-02 00:19:57 +00:00
Nextcloud bot
0b8625b5e8
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-01 00:20:00 +00:00
Nextcloud bot
84e1ccba52
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-31 00:20:00 +00:00
Nextcloud bot
af4c9391c8
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-30 00:20:58 +00:00
Nextcloud bot
e81ad0ce58
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-29 00:25:02 +00:00
Nextcloud bot
8138e890fe
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-28 00:19:31 +00:00
Nextcloud bot
24a4fc050f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-27 00:20:32 +00:00
Nextcloud bot
2434f2e144
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-26 00:19:41 +00:00
Stephan Orbaugh
bc73ac6347
Merge pull request #44415 from nextcloud/backport/44132/stable27
...
[stable27] fix: don't return null for SharedStorage::getWrapperStorage with share recursion
2024-03-25 15:32:08 +01:00
Robin Appelman
02b369bd50
fix: add extra check to ensure wrapped shared storage is set
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 19:44:48 +00:00
Robin Appelman
7982645f66
chore: improve typing for SharedStorage::$storage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 15:42:45 +00:00
Robin Appelman
459c17492b
fix: don't return null for SharedStorage::getWrapperStorage with share recursion
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 15:42:45 +00:00
Robin Appelman
812872ca4e
Merge pull request #44321 from nextcloud/backport/39990/stable27
...
[stable27] add some recrusive detection/prevention
2024-03-22 15:43:53 +01:00