aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/services
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Eslint fixJohn Molakvoæ (skjnldsv)2022-01-084-37/+37
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add new ExternalShareActions APIJohn Molakvoæ2021-09-162-0/+82
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Replace proposal-class-private-properties by regular propertiesJohn Molakvoæ (skjnldsv)2021-06-023-14/+14
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Separate settings for remote share expirationVincent Petry2021-04-151-0/+40
| | | | | | | Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-314-11/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add appconfig to always show the unique label of a shareeJulius Härtl2021-03-041-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* use a consistent default value for sharing.maxAutocompleteResultsArthur Schiwon2020-12-151-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)2020-07-312-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/eslint-config and peersJohn Molakvoæ (skjnldsv)2020-07-311-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-201-2/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Cleanup share by mail a bitRoeland Jago Douma2020-07-061-2/+2
| | | | | | | | | | | | | | | | * Moved to ned IBootstrap * Register everything via the capabilities api (So clients can use it as well) - This applies to the enforcing passwords * Updated the sharing js code to use it * removed app.php * removed unused settings now * typehints * strict typing Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Do not show e-mail suggestions if link shares are disabledRoeland Jago Douma2020-01-061-0/+1
| | | | | | | | | For #17774 This removes the e-mail suggestions from the share input if link shares are disabled. As e-mail shares use just link shares. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add settings front and split sharing entry configJohn Molakvoæ (skjnldsv)2019-11-271-2/+53
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Systemtags and external actions updateJohn Molakvoæ (skjnldsv)2019-10-291-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add ShareTabSections service to register sections in the share tabJulius Härtl2019-10-291-0/+49
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add OCA.Files.SidebarJohn Molakvoæ (skjnldsv)2019-10-293-0/+357
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>