Commit graph

39 commits

Author SHA1 Message Date
Christoph Seitz
185f867bf8 Set fileInfo correctly for LegacyTabs
Watch for changes of the fileInfo prop and propagate it to,
the underlying component.

Fixes #20106.

Signed-off-by: Christoph Seitz <christoph.seitz@posteo.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-04-21 13:04:07 +00:00
Gary Kim
00dd295c09
Do not allow transfer ownership when the user isn't the owner
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-04 14:05:58 +08:00
Daniel Kesselberg
bdb92df479 Fetch translate for Tags from files app
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-03 12:38:15 +00:00
Roeland Jago Douma
9fd015353c
Merge pull request #19089 from nextcloud/backport/18929/enh/sidebar/promise
[stable18] Allow to await the sidebar
2020-02-05 21:08:32 +01:00
John Molakvoæ (skjnldsv)
b074be1b1d Close handling
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-05 19:12:27 +00:00
John Molakvoæ (skjnldsv)
f4d298cc03
Allow to await the sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-02-05 20:09:20 +01:00
Julius Härtl
a1248780bc
Make sure that minSearchStringLength is taken into account
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-04 09:40:15 +01:00
Julius Härtl
0bad752282
Fix issue when selecting an entry, the multiselect input was not closed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-04 09:40:08 +01:00
John Molakvoæ (skjnldsv)
4cfb5eac02
Fix legacy tabs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-30 10:32:32 +01:00
Gary Kim
b2b7587f54
Prevent duplicate entries in file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-17 02:29:17 +01:00
John Molakvoæ (skjnldsv)
3b6a1254cf
Close after click
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-15 17:51:25 +01:00
Julius Härtl
03de502f1f
Only show tag selector if tags are set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-15 17:47:53 +01:00
Roeland Jago Douma
dda212a48e
Proper text previews
Fixes #17828

* Modified the preview provider to provider smaller fonts for the
  previes (so it is not so screaming)
* Modified the sidebar to show plain text and markdown files full size.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-15 10:53:08 +01:00
Roeland Jago Douma
dc95fc25e2
Merge pull request #18796 from nextcloud/backport/18783/stable18
[stable18] Init OCA.Files.Sidebar right away
2020-01-10 09:44:47 +01:00
John Molakvoæ (skjnldsv)
b219d5b68d Init OCA.Files.Sidebar right away
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-10 06:54:17 +00:00
Gary Kim
4f8e3cfced
Add more padding in transfer ownership
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-10 12:03:46 +08:00
Christoph Wurst
15665616f4 Combine exact and other matches for transfer ownership
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-09 10:08:22 +00:00
Christoph Wurst
0fe35d06bc
Make the transfer ownership input a bit wider
Fixes #18625

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-08 16:54:14 +01:00
Gary Kim
abb45e2f72
Use @nextcloud/paths for file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-08 21:44:43 +08:00
Gary Kim
409d25ebf3
Encode URI for file sidebar
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-01-08 00:08:45 +08: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æ (skjnldsv)
27dc4ef268 Fix Sidebar enabled check
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-19 07:51:49 +00:00
Gary Kim
e1382e2bc5
Clean up publishing
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-12-17 10:38:15 +01:00
Gary Kim
09f1c637da
Show path and uid on transfer button
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-12-17 10:38:14 +01:00
Sascha Wiswedel
bdceb0d38d
rephrase "Target user" to "new owner"
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-12-17 10:38:14 +01:00
Sascha Wiswedel
f1319e1bc5
Transfer ownership function polishing
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-12-17 10:38:12 +01:00
Christoph Wurst
c652188afb
Make it possible to find transfer user by email
The Vue Multiselect uses one prop for the local search. Although the API
already returned matching users for a given email, the users were
filtered out as their displayname doesn't contain the search string –
the email address.

Disabling the local seach and only using the most recently fetched
matches fixes this problem.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-16 09:10:01 +01:00
Christoph Wurst
146732f7f9
Add autocompletion to the ownership transfer UI
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-10 12:49:26 +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æ (skjnldsv)
c1277ea2fa
Use own getIconUrl method
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-04 09:44:35 +01:00
John Molakvoæ (skjnldsv)
241aac9f94 Fix files app LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-04 08:07:42 +00:00
Christoph Wurst
08a1b928aa
Also allow transfer ownership of files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-02 15:28:49 +01:00
Roeland Jago Douma
5274c54268
Add a transfer ownership background job
This job can be initiated by a user to transfer a file/folder to a
target user.

The target user will have to accept the job.
Once that is done the transfers is initiated in the background.

Both parties get notified when the job is done.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-02 15:28:47 +01:00
John Molakvoæ (skjnldsv)
16e0887ec6
Use function to open a sidebar file
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-11-13 14:34:44 +01:00
John Molakvoæ (skjnldsv)
3331cdd74a Fix legacy tab backbone fileinfo change
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv)
51960cb228 Fix triggering favorite file actions on the file list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv)
480691a569 Prevent multiple systemtags views
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
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