aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix date handling and savingJohn Molakvoæ2022-11-164-38/+69
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix visibility of internal expire dateVincent Petry2022-10-281-3/+6
| | | | | | | Fixed visibility of the expiration date field for internal shares by aligning the logic with the one from the public link shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace moment.js date with Date Object.julia.kirschenheuter2022-10-065-100/+65
| | | | | | | 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>
* Update apps/files_sharing/src/components/SharingEntryInternal.vueVincent Petry2022-09-271-2/+1
| | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix focussing to internal link after copyVincent Petry2022-09-272-5/+7
| | | | | | | | | | Since a recent change to NcActions it's not possible to add a "ref" attribute on a NcAction* component. As a workaround, a ref was added on the NcActions parent component instead. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Align sharing tab content and increase spacingChristopher Ng2022-09-141-4/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Increase spacing between additional sharing tab contentChristopher Ng2022-09-131-0/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Port Profile section checbox to NcCheckoxRadioSwitch componentCarl Schwan2022-09-121-2/+2
| | | | | | Improve accessibility and unify the design Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix typos in apps/ subdirectoryluz paz2022-09-054-5/+5
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Remove copy in file actions when not allowedVincent Petry2022-08-261-0/+4
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add Nc prefix to Nc vue component namesVincent Petry2022-08-2510-172/+172
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Hide deprecated projects in sharing tab by defaultChristopher Ng2022-08-181-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix label for allow download share permissionJulius Härtl2022-08-041-5/+1
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Multiple fixesCarl Schwan2022-07-312-3/+39
| | | | | | | | | | | - Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Enforcing permission during resharingCarl Schwan2022-07-283-2/+5
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix adding to empty attributes and duplicate requestJulius Härtl2022-07-282-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add share attrs + download permission support in frontendVincent Petry2022-07-284-2/+113
| | | | | | | Added download permission checkbox in frontend Added share attributes parsing and setting in frontend. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Accessible names for share panel buttonsVincent Petry2022-07-263-1/+5
| | | | | | | Added aria-label for the buttons on the share panel. Signed-off-by: Vincent Petry <vincent@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>
* Fix sharing panel lighthouse warningsVincent Petry2022-07-225-102/+106
| | | | | | | Replaced h5 with span and adjusted selectors. Fixed ul/li hierarchy of some elements. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add expanded attribute to button for listing others with accessChristopher Ng2022-07-072-2/+18
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Various improvements related to the recent implementation of temporary passwordsCyrille Bollu2022-06-084-2/+47
| | | | | | | | | | | | | | | for mail shares: 1- Changes style of "forgot password?" and "Back" button 2- Adds information about share password's expiration time in the emails sent. 3- Shows password expiration time in the Share menu 4- Fixes an issue when the message "Password expires..." would be shown for non email share types (which don't have temporary passswords) 5- At share's creation, password should only be sent when it's a permanent one See also https://github.com/nextcloud/server/issues/31952 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix share permissions renderingLouis Chemineau2022-05-311-1/+2
| | | | | | | | The `SHARE` permissions falls into the `default` case in the switch case, causing the rendering to look like ` , Upload, Read`. This PR changes the return value of the `default` case and adds a `filter` to remove those values. Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix loading groupfolder info when share api is disabledCarl Schwan2022-05-271-10/+20
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Cleanup and compileJohn Molakvoæ2022-05-131-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-2/+2
| | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* Fix regression for edit perm on file shareLouis Chemineau2022-02-211-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Support CRUD share permissionsLouis Chemineau2022-02-155-111/+523
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Use @nextcloud/sharing in files and files_sharingLouis Chemineau2022-01-267-50/+37
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Update tests Signed-off-by: Louis Chemineau <louis@chmn.me>
* Auto fix warningsLouis Chemineau2022-01-2111-31/+18
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Replace license information to SPDX expressionLouis Chemineau2022-01-1120-20/+20
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Typing correctionsLouis Chemineau2022-01-114-16/+14
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Bump p-queueLouis Chemineau2022-01-081-1/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix dynamic loadingJohn Molakvoæ (skjnldsv)2022-01-084-38/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Eslint fixJohn Molakvoæ (skjnldsv)2022-01-0813-123/+154
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Migrate to webpack v5Louis Chemineau2022-01-081-5/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix share owner not being displayed in sharing tabCarl Schwan2021-12-141-0/+13
| | | | | | | | | | | | | | | This only concerns subfolder and files inside a shared folder and is used as fallback when the OCS api returns a empty result, because it only works on the shared folder and not the content inside of it. This unify the tab with the folder list. This offers a less descriptive share information but making the OCS api returns all the details even for the subfolder would very probably be bad for performance (since we would need to fetch the shares for all the parent folders until we found one or are in the root folder). Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix ShareLink Upload UI for FoldersJonas Rittershofer2021-12-141-1/+1
| | | | | | Do not show the Upload-Option if it is not allowed to check. Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
* Fix first day localeJohn Molakvoæ2021-12-093-20/+5
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Properly format sharing datepicker localeJohn Molakvoæ2021-12-091-8/+15
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix missing translations of share folder selectionJoas Schilling2021-10-041-3/+3
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Add new ExternalShareActions APIJohn Molakvoæ2021-09-165-8/+178
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Let users choose a share_folderHinrich Mahler2021-09-062-10/+160
|
* Disable default actions in pending file listVincent Petry2021-07-271-0/+4
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Pending remote group share fixesVincent Petry2021-07-271-0/+2
| | | | | | | | Only remove reject share for remote group shares Also fix share indicator to appear for remote group shares as well. Fix pending remote share icon to be the one of a share. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Remove "Reject share" for pending remote sharesVincent Petry2021-07-271-3/+0
| | | | | | | In the list of pending shares, the option for rejecting the share has been removed. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Extend pending shares list to include remote sharesVincent Petry2021-07-271-0/+3
| | | | | | | And adjust the accept/decline actions to use the right endpoint for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Bump p-queueJohn Molakvoæ (skjnldsv)2021-07-261-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-234-6/+6
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Fix eslint and update bundlesJohn Molakvoæ (skjnldsv)2021-07-222-0/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>