aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/services
Commit message (Collapse)AuthorAgeFilesLines
* fix(files_sharing): l10n typoskjnldsv2025-06-111-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(dav): file drop nicknameskjnldsv2025-06-051-0/+45
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Move `ConfigLexicon` to Config dir, update sharing inputnfebe2025-05-061-3/+1
| | | | | | | | - Fix autoloading for new `ConfigLexicon` - Ensure that sharing input in sharing tab respect `show-federated-shares-as-internal`: This is important, because when federated shares are shown as internal the users should add them from the internal shares section Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat(files_sharing): Add toggle for federated share display areanfebe2025-05-061-0/+11
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor(files): use new `hide-download` WebDAV property for download actionFerdinand Thiessen2025-04-161-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Map sharee information for `shared-by-you` viewFerdinand Thiessen2025-02-202-1/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): properly update store on files conversions successskjnldsv2025-02-041-18/+0
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): Only clear permissions of pending federated sharesprovokateurin2025-01-302-29/+82
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(sharing): Toggle custom tokens setting as adminChristopher Ng2025-01-151-1/+9
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(sharing): Make it possible to customize share link tokensChristopher Ng2025-01-151-0/+20
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files_sharing): external share parsingskjnldsv2025-01-092-0/+47
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor: Use new `ShareType` across file_sharingnfebe2024-12-031-1/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat(files_sharing): Migrate public share to use Vue files listFerdinand Thiessen2024-09-062-10/+7
| | | | | | 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>
* test: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-261-43/+44
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): show file requests in navigationskjnldsv2024-07-301-0/+20
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): file request conditions with link/email global settingsskjnldsv2024-07-181-1/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): phpunit & openapi fixesskjnldsv2024-07-121-83/+84
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files_sharing): refactor sharing configskjnldsv2024-07-122-322/+293
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files): Fix ESLint issues with files and files_sharing appFerdinand Thiessen2024-07-091-1/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-091-4/+8
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(FilesView): Update files view upon share creation/deletefenn-cs2024-06-251-0/+18
| | | | | | Resolves : https://github.com/nextcloud/server/issues/44961 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: Do not import from `axios` but only `@nextcloud/axios`Ferdinand Thiessen2024-06-201-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): fix parsing of remote sharesskjnldsv2024-06-122-7/+40
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-068-154/+16
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(tests): Add mock for `window._oc_webroot`Ferdinand Thiessen2024-03-231-0/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Allow registration of advanced external share actionsChristopher Ng2024-03-061-1/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore(files_sharing): use `OCSResponse` from `@nextcloud/typings`skjnldsv2024-02-232-13/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Use `@nextcloud/capabilities` to obtain share api defaultsfenn-cs2024-02-011-12/+8
| | | | | | | - Remove redundant initial state added - Call `getCapabilities()` in share config file. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Consider admin defaults when creating sharesfenn-cs2024-02-011-0/+11
| | | | | | | | | | The current share logic always uses the default `BUNDLED_PERMISSIONS.ALL` which includes everything. This commit updates share creation logic to use `defaultPermissions` if set by admin for the creation of new shares. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files): group duplicate sharesJohn Molakvoæ2024-01-111-1/+25
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* refactor: remove remaining usage of OC::getCapabilitiesVarun Patil2023-10-201-4/+5
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* Enfore allowPublicShares admin settingfenn-cs2023-09-121-2/+7
| | | | | | | Use the the modern intial-state library to pass data about `allowPublicUploads` to the sharing frontend. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* feat: migrate FileAction from serverJohn Molakvoæ2023-08-231-1/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: use Navigation from `@nextcloud/files`John Molakvoæ2023-08-231-2/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): migrate recent viewJohn Molakvoæ (skjnldsv)2023-08-022-3/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* feat(files_external): migrate to vueJohn Molakvoæ2023-08-012-11/+11
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files_sharing): error and size/mtime for deleted sharesJohn Molakvoæ2023-07-111-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: compile assetsJohn Molakvoæ2023-07-111-1/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: adjust testingJohn Molakvoæ2023-07-112-23/+386
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(sharing): add sharing overview viewJohn Molakvoæ2023-07-112-0/+210
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* address reviewSimon L2023-06-241-1/+1
| | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* only print deprecation logs if debug mode is enabledSimon L2023-06-241-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Move deprecation warnings to debugSimon L2023-06-241-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Replace moment.js date with Date Object.julia.kirschenheuter2022-10-061-26/+25
| | | | | | | Replace vue2-datepicker with native date picker for expiration date. Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Replace files app ids to classesVincent Petry2022-07-261-2/+2
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Use @nextcloud/sharing in files and files_sharingLouis Chemineau2022-01-261-2/+2
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Update tests Signed-off-by: Louis Chemineau <louis@chmn.me>
* Auto fix warningsLouis Chemineau2022-01-214-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Replace license information to SPDX expressionLouis Chemineau2022-01-115-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Typing correctionsLouis Chemineau2022-01-111-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>