Commit Graph

132 Commits

Author SHA1 Message Date
Gary Kim 02b5ded840
Fix share expiration date not shown
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-04-30 22:35:52 +08:00
Roeland Jago Douma d466a7b808 Allow to navigate to others with access from the sidebar
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-29 17:53:35 +00:00
John Molakvoæ (skjnldsv) 7eceba7dae Fix Sharing recommendation user display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 07:48:10 +00:00
John Molakvoæ (skjnldsv) 47146a1992 Properly display share error messages
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-14 08:39:40 +00:00
Valdnet a50698b3c3 Changing the translation catalog for "Share"
Change "files" to "files_sharing".

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-12 02:20:14 +00:00
Joas Schilling e57f619e1e
Merge pull request #19763 from nextcloud/bugfix/noid/received-share-sidebar-broken
Fix "Error loading the shares list TypeError: "this is undefined"" fo…
2020-03-06 16:43:20 +01:00
Joas Schilling 275df5d233
Fix "Error loading the shares list TypeError: "this is undefined"" for conversation shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 20:22:39 +01:00
Julius Härtl d612aeec2d
Fix regex to not take email uids as federated ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-03 18:19:46 +01:00
Christoph Wurst 699cbeb2fc Show the link password when it's set
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-23 12:38:28 +00:00
Christoph Wurst c47a0a0153
Add more tests for the new js modules
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-10 12:05:43 +01:00
Julius Härtl 60f49efe8a
Give the sharing tab a unique id so it also opens properly on other languages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-29 16:44:52 +01:00
John Molakvoæ (skjnldsv) 05742c083c
Migrate to @nextcloud/vue 1.x.x
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-22 17:33:49 +01:00
Julius Härtl eb4c42d3d1
Make auto accepting the default and provide setting to enforce the share acceptance process
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 22:07:51 +01:00
John Molakvoæ (skjnldsv) 9a0fa63a5c
Do not save on update, use submit
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-16 00:00:19 +01:00
Roeland Jago Douma aa9878e867
Only allow navigation to a folder if you have access
Fixes #18716

If you can delete the share then you have access yourself to that shares
location.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-15 07:40:41 +01:00
Daniel Calviño Sánchez 897111404a Add "Password protected by Talk" option to shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-14 17:15:02 +01:00
John Molakvoæ 3e43ae7bd6 Add placeholder
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-10 14:50:24 +00:00
John Molakvoæ (skjnldsv) 8eded83d50 Fix sharing note placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-10 14:50:23 +00:00
Roeland Jago Douma d99bcf1f8b
Only show others with access if you have reshare permissions
Fixes #18711

If you do not have reshare permissions the others with access will throw
an error anyways. So better to just not show it ;)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-07 16:15:40 +01:00
Roeland Jago Douma 1fc39196bf
Show message if no other users with access are found
Fixes #18632
Show a small subtitle if no other users with access are found.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-06 21:45:38 +01:00
Roeland Jago Douma d4ce8c9427
Don't show link shares in sidebar if disabled
Fixes #17799

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-06 12:23:06 +01:00
Roeland Jago Douma 9a8b361911
Do not show e-mail suggestions if link shares are disabled
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>
2020-01-06 10:22:22 +01:00
Julius Härtl 272aa9231c
Fix style of the sharing setting checkbox
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-02 09:44:32 +01:00
Alexandre Guiot--Valentin ab50fee1e5
Change icon-delete to icon-close in others locations
Signed-off-by: Alexandre Guiot--Valentin <contact@alexandregv.fr>
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-12-26 21:17:50 +08:00
Alexandre GV d8ba5e5d57 Clarify "Delete share" action in sharing sidebar
- change "Delete share" to "Unshare"
- change icon-delete to icon-close

Signed-off-by: Alexandre Guiot--Valentin <contact@alexandregv.fr>
2019-12-25 08:51:19 +00:00
GretaD 455013c309
fix the folder share
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-19 16:14:47 +01:00
Greta Doci 57997fefa2
add create and delete checkbox for sharesidebar
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-12-19 16:12:11 +01:00
dependabot-preview[bot] ec01e0a790
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases)
- [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0)

Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-19 11:55:33 +01:00
John Molakvoæ 8cd86f110b
Wiswedel/inherited shares/design polishing (#18447)
Wiswedel/inherited shares/design polishing
2019-12-19 08:45:16 +01:00
Sascha Wiswedel f4f69da4b8 removed inherited shares counter
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-17 13:47:10 +00:00
Sascha Wiswedel 4d1a3a34d0
clarifying share source folder link string
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-12-17 14:38:38 +01:00
Sascha Wiswedel 73b1011d17
Streamline "unshare" wording
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-12-17 14:36:23 +01:00
Sascha Wiswedel 08b34aa4e3
replace "invited by" with "added by"
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-12-17 14:34:27 +01:00
Roeland Jago Douma c810b531be
Don't overwrite the settings from files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-17 14:17:07 +01:00
Roeland Jago Douma e7dc91002f
Allow users to specify to accept (internal) shares by default
Fixes #18255

A new user setting allows a user to always accept (internal) shares. For
example if they don't like accepting shares manually ;)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-17 10:49:29 +01:00
John Molakvoæ (skjnldsv) f8a36630e7
Cleanup old log and fix share icon sidebar opening in breadcrumbs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-16 12:08:26 +01:00
John Molakvoæ (skjnldsv) 9b82225966
Use lookup by default
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-05 08:38:33 +01:00
John Molakvoæ (skjnldsv) 46ce797197
Properly query files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-04 09:57:55 +01:00
John Molakvoæ cd71ad0e50
Merge pull request #17930 from nextcloud/rakekniven-patch-1
l10n: Triple dot to ellipsis
2019-12-03 15:40:03 +01:00
John Molakvoæ faa6b8d114
Add space before ellipsis 2019-12-03 08:14:19 +01:00
John Molakvoæ (skjnldsv) 3a86b99256
Inherited share UI
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-03 08:13:21 +01:00
John Molakvoæ (skjnldsv) 0bf6fcd6cd
Create sharing entry point with constants
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-02 08:58:50 +01:00
John Molakvoæ (skjnldsv) 444c9b6744
Add settings front and split sharing entry config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-27 14:33:13 +01:00
John Molakvoæ (skjnldsv) 644ee02fea Sort users and groups first in sharing input
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-11-26 11:12:35 +00:00
Greta Doci 792f84e846 fix min-height
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-11-25 09:05:41 +00:00
Greta Doci 371d6f2503 fix share side bar icon and text overlapping
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-11-20 12:53:22 +01:00
rakekniven 80b40ff490
l10n: Triple dot to ellipsis
Reported at Transifex.

Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2019-11-13 18:26:30 +01:00
John Molakvoæ (skjnldsv) 5d2c89ca6c
Fix sharing breadcrumbs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-06 00:53:59 +01:00
John Molakvoæ (skjnldsv) eebcf89091
Cleanup sharing leftovers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-05 19:03:44 +01:00
John Molakvoæ (skjnldsv) 2fd057513a Fix current user edit/delete permissions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) d88b93c919 Add LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:07 +01:00
John Molakvoæ (skjnldsv) 1c13c52acf Systemtags and external actions update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:03 +01:00
Julius Härtl ae59edc6bf Add ShareTabSections service to register sections in the share tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 13:16:29 +01:00
Julius Härtl adb163b337 Add projects view to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 12:56:00 +01:00
John Molakvoæ (skjnldsv) fd90af50d9 Add OCA.Files.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 12:56:00 +01:00
John Molakvoæ (skjnldsv) b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +02:00
Julius Härtl 09efc4d6cf Properly handle failures and allow choosing folders for projects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-21 20:07:42 +00:00
Julius Härtl 3d6e49aa6c
Force defaultHtml setting of v-tooltip to be disabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-29 20:38:22 +02:00
Julius Härtl 0197448b85
Bump nextcloud-vue-collections
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-22 11:48:06 +02:00
John Molakvoæ (skjnldsv) 738ab1a0a0
Bump settings
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-22 11:48:06 +02:00
Christoph Wurst 410aacae60
Improve the share link password error feedback with a red border
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-16 10:12:25 +02:00
Julius Härtl b479af83f0
Use label from apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-09 08:30:48 +02:00
Julius Härtl 635df15ff2
Move translations to core
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-28 15:47:19 +01:00
Roeland Jago Douma fad750b0b6
Allow string to be translated
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-03-22 16:04:53 +01:00
John Molakvoæ (skjnldsv) ff164db935
Add link icon for public link too
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-21 08:16:00 +01:00
John Molakvoæ (skjnldsv) 4c884f1b23
Put sharing entry all above
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-21 08:14:24 +01:00
John Molakvoæ (skjnldsv) 4ad922d4f6
Show sharing in menu in grid view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-21 08:14:16 +01:00
Julius Härtl 8a26022f92
Adjust resource type to file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-19 13:06:55 +01:00
Julius Härtl e8fe00003b
Dispatch event to allow apps to load their script for collections
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-19 13:06:55 +01:00
Julius Härtl 37e6488206
Use nextcloud-vue-collection 0.1.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:57:00 +01:00
Julius Härtl 7207a777a1
Use nextcloud-vue-collections library
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:58 +01:00
Julius Härtl cab704f0cc
Merge webpack into main one
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:19 +01:00
Julius Härtl 103298ecd1
Use icon-close to remove resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:19 +01:00
Julius Härtl 31340b8be9
Add icon for resource type and icons for folder/file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:18 +01:00
Julius Härtl d1a4856b5d
Add eslint settings and reorganize files
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Add files_sharing package-lock

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:18 +01:00
Julius Härtl 53ac9bdda1
Implement frontend for search/rename
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Move to vuex

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:18 +01:00
Julius Härtl 88aa3de784
Add iconClass to resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:17 +01:00
Julius Härtl 51057c539f
Use proper public javascript methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:17 +01:00
Julius Härtl 322f7c3c85
Add vue app for collaboration resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Add js api for resources

Signed-off-by: Julius Härtl <jus@bitgrid.net>

More frontend work

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:16 +01:00
Julius Härtl d6aae4317d
Move files_sharing to webpack
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:16 +01:00
Christoph Wurst e930a0ccbe
Search sharees on lookup server when explicitly requested by user
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-26 19:44:49 +01:00
Roeland Jago Douma 0a4569dff7
Move files_sharing additionalscripts over to webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-15 12:33:04 +01:00