aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/services/ConfigService.js
Commit message (Collapse)AuthorAgeFilesLines
* chore(files_sharing): refactor sharing configskjnldsv2024-07-121-322/+0
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-21/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* 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>
* 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>
* 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>
* Replace license information to SPDX expressionLouis Chemineau2022-01-111-1/+1
| | | | 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-081-25/+25
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.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-311-1/+3
| | | | 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>
* 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>
* Add OCA.Files.SidebarJohn Molakvoæ (skjnldsv)2019-10-291-0/+223
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>