aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
* chore: lint fixchore/force-style-lintskjnldsv2024-11-191-6/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(styles): Adjust code style in SCSS sources to match our stylelint ↵Ferdinand Thiessen2024-11-192-29/+24
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): file request guest nickname encodingskjnldsv2024-11-121-4/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(Federation): Show some icon for federated users on sharesfenn-cs2024-11-092-1/+2
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files_sharing): share assignment issue in SharingEntryLinkskjnldsv2024-11-081-2/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(SharingEntryLink): Show default password before create if anyfenn-cs2024-11-081-9/+41
| | | | | | | | | | | | Prevent silent addition of expiration date to shares. Prevent silent addition for password to shares. Both now have a `shareRequiresReview` check Resolves : https://github.com/nextcloud/server/issues/48860 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(ShareEntryLinkList): Append new links to the end of listfenn-cs2024-10-301-1/+1
| | | | | | | | | | | Currently new shares are added to beginning of the share list in the UI messing up the ordering with the original (first) looking like the most recent and the most recent looking like the original share. This error disappears on refresh. Resolves : https://github.com/nextcloud/server/issues/48415 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files_sharing): Password field must not be required if already setFerdinand Thiessen2024-10-301-3/+15
| | | | | | | If there is already a password, there is no need to require the password in the setting ('newPassword'). It is only required for new shares. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): federated shares avatarskjnldsv2024-10-252-4/+54
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Add correct context to translationFerdinand Thiessen2024-10-211-1/+1
| | | | | | This string is extracted in the `files_sharing` app so it needs to be accessed there and not on `files`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(i18n): Improved grammarrakekniven2024-10-191-1/+1
| | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-166-10/+16
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Add proper user facing messages on successFerdinand Thiessen2024-10-161-22/+43
| | | | | | | | | | 1. Use proper translated strings 2. Fix invalid use of translation message on API result 3. Log all errors Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #48653 from nextcloud/rakekniven-patch-2Louis2024-10-141-2/+2
|\ | | | | chore(l10n): Use default plural handling
| * chore(l10n): Use default plural handlingrakekniven2024-10-101-2/+2
| | | | | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | fix(i18n): Improved grammarrakekniven2024-10-111-1/+1
| | | | | | | | | | Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | fix(i18n): Improved grammarrakekniven2024-10-111-1/+1
|/ | | | | Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix: Minor @nc/vue usage errorsLouis Chemineau2024-10-091-0/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Link share URL was not generated due to typoFerdinand Thiessen2024-09-241-3/+4
| | | | | | `toen` vs `token` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: fix usage of deprecated functions and adjust code styleFerdinand Thiessen2024-09-201-9/+10
| | | | | | | | 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>
* Merge pull request #47841 from nextcloud/fix/files-sharing-openfileJonas2024-09-091-0/+11
|\ | | | | fix(files_sharing): Open single-file-share by default
| * fix(files_sharing): Open single-file-share by defaultFerdinand Thiessen2024-09-091-0/+11
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(files_sharing): add accessible labels in link share creationGrigorii K. Shartsev2024-09-091-17/+13
| | | | | | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* | fix(files_sharing): checkbox for password in link share is not shownGrigorii K. Shartsev2024-09-091-0/+2
|/ | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore(files_sharing): Do not use files source files but directly the libraryFerdinand Thiessen2024-09-061-3/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Ensure sidebar share entry lists are labelledFerdinand Thiessen2024-09-062-4/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Set file-request header for nextcloud/uploadFerdinand Thiessen2024-09-062-78/+95
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Disable sharing status action for public sharesFerdinand Thiessen2024-09-061-1/+7
| | | | | | This is disabled to not leak personal information into the public Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files_sharing): Make file structure more clearFerdinand Thiessen2024-09-0620-27/+31
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): Migrate public share to use Vue files listFerdinand Thiessen2024-09-068-10/+310
| | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly parse external shares for files UIFerdinand Thiessen2024-09-022-10/+65
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Properly handle share attributes if set to nullJulius Härtl2024-08-301-2/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-297-11/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-295-8/+8
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* test: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-267-102/+115
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Sort by correct share attribute ("share with displayname")Ferdinand Thiessen2024-08-211-13/+16
| | | | | | | | | | There is no `title` attribute, so this causes an exception. Instead sort by the "share with" displayname which will be the user or group the node is shared to. Meaning this will also be the title of the share in the UI. If this is not available or there are multiple for the same, then sort by the custom label. If also this is not set sort by the creation time. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Access node owner by top level `owner` propertyFerdinand Thiessen2024-08-173-17/+27
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where ↵Ferdinand Thiessen2024-08-132-5/+5
| | | | | | possible Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Update translation stringArchisman Das2024-08-131-1/+1
| | | | Signed-off-by: Archisman Das <archisman.officials@gmail.com>
* fix(files_sharing): getShares optional chainingskjnldsv2024-08-071-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): tab shares title and creation sort2lar2024-08-071-3/+8
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(files_sharing): add missing subtitle on search for share recipientsLuka Trovic2024-08-011-6/+6
| | | | | Signed-off-by: Luka Trovic <luka@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): fix template folder and file request menu orderskjnldsv2024-07-311-1/+1
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(files_sharing): use spawnDialog for new file request handlerskjnldsv2024-07-311-26/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Ensure "note to recipient" textarea is shown if there is ↵Ferdinand Thiessen2024-07-311-13/+19
| | | | | | a note Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Add missing "note to recipient"Ferdinand Thiessen2024-07-313-2/+119
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Make account file filter consistent have designFerdinand Thiessen2024-07-302-18/+101
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): always show file request creation optionskjnldsv2024-07-301-7/+3
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(files_sharing): refactor Share model to tsskjnldsv2024-07-3011-256/+87
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): show file requests in navigationskjnldsv2024-07-306-10/+56
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>