Commit graph

21663 commits

Author SHA1 Message Date
Julius Härtl
381d15850b Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-17 01:37:53 +01:00
Julius Härtl
5919bd97d5 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-17 01:35:18 +01:00
Julius Härtl
035fe3db7b Remove global share accepter since auto-accepting is the default
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-17 01:35:12 +01:00
Julius Härtl
39a28b4bfb Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 23:40:32 +01:00
Julius Härtl
dc36724f78 Fix indentation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 23:34:31 +01:00
Julius Härtl
a416baa946 Fix eslint errors in settings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-16 23:34:26 +01:00
GretaD
be497b3bce fix indentation and 3 dot menu
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 23:34:21 +01:00
GretaD
77cf9dfbe7 fix popover menu overlapping
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 23:33:56 +01:00
GretaD
c089cb21e7 make actionButton sticky
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 23:33:48 +01:00
GretaD
2ecb952156 add close button
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 23:33:40 +01:00
GretaD
1818ef9ef8 fix new user table
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 23:33:34 +01:00
GretaD
20303281f0 fix userlist alignment
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-01-16 23:33:26 +01:00
Roeland Jago Douma
827cfc8ede
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-16 22:03:05 +01:00
John Molakvoæ (skjnldsv)
986ac005e0 Fix Sidebar legacy FileInfoModel requirement
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-16 16:12:55 +00:00
Roeland Jago Douma
2495570889
Merge pull request #18919 from nextcloud/backport/18894/stable18
[stable18] Do not save on update, use submit
2020-01-16 09:14:57 +01:00
Roeland Jago Douma
a4906451e2
Merge pull request #18918 from nextcloud/backport/18910/stable18
[stable18] Listen to the right even for auto share accept
2020-01-16 01:26:31 +01:00
John Molakvoæ (skjnldsv)
5829f21b19
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 01:06:45 +01:00
Roeland Jago Douma
e30c533644
Merge pull request #18911 from nextcloud/backport/18732/enh-sidebar
Backport/18732/enh sidebar
2020-01-16 00:30:04 +01:00
Roeland Jago Douma
90f5e066c3 Listen to the right even for auto share accept
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-15 23:12:09 +00: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
Julius Härtl
fac588297d
Do not show sidebar on rename (fixes #18613)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 17:47:53 +01:00
Julius Härtl
940b73280d
Properly set current file info when switching the details view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-15 17:47:53 +01:00
Roeland Jago Douma
1a5e67a270
Merge pull request #18908 from nextcloud/backport/18799/stable18
[stable18] Do not show link shares in inherited list
2020-01-15 17:41:19 +01:00
Roeland Jago Douma
6a60a01e4f
Merge pull request #18906 from nextcloud/backport/18892/stable18
[stable18] Proper text previews
2020-01-15 17:25:07 +01:00
Daniel Calviño Sánchez
408f7ae133 Add "Password protected by Talk" option to shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-15 11:12:48 +01:00
Roeland Jago Douma
9321364587 Don't show link shares hash in inherited share list
This adds no value at all. Just showing the text "(Shared link)" now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-15 10:07:26 +00: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
Arthur Schiwon
1aa91f649f ensure that only valid group members are returned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-14 08:58:18 +00:00
Arthur Schiwon
8cf4e6107f remove superfluous tests
- user_ldap is not exposed to public api, it is always behind ldap_proxy
- this is too much for a unit test
- integration tests cover userExists implicitly

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-14 08:58:18 +00:00
Arthur Schiwon
ad41056865 adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-14 08:58:18 +00:00
Arthur Schiwon
b7a6a9d4a2 decouple userExists from userExistsOnLDAP check
allows to mark users as offline right away, avoids a gap of being not a
user and causing weird side effects

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-14 08:58:18 +00:00
Arthur Schiwon
dcd5b15443 relax strict getHome behaviour for LDAP users in a shadow state
* simplifies deletion process
* less strange behaviour when looking up home storage (as long as it is local)
* thus could enable transfer ownerships after user went invisible on ldap

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-14 08:58:18 +00:00
Roeland Jago Douma
084b342c84
Merge pull request #18822 from nextcloud/backport/18804/stable18
[stable18] Fix webdav url
2020-01-12 22:18:51 +01:00
dependabot-preview[bot]
fd243ff5c4 Bump @nextcloud/auth from 1.1.0 to 1.2.1
Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/nextcloud/nextcloud-auth/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-auth/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v1.1.0...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-12 13:13:33 +00:00
dependabot-preview[bot]
0271f5e95c Bump @nextcloud/initial-state from 1.0.0 to 1.1.0
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-11 09:24:05 +00:00
dependabot-preview[bot]
c2ff14bcf1 Bump handlebars from 4.5.3 to 4.6.0
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.6.0.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-10 18:39:06 +00:00
John Molakvoæ (skjnldsv)
e71bc1d212 Fix webdav url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-10 18:12:24 +00:00
John Molakvoæ
7dc36156c2
Fix sharing note placeholder (#18771)
Fix sharing note placeholder
2020-01-10 15:48:30 +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æ
7d9b728ee5 Add placeholder
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-10 08:19:20 +00: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
Roeland Jago Douma
f2575ccdb5
Merge pull request #18784 from nextcloud/backport/18774/stable18
[stable18] make the mime type checker for flow available to regular users
2020-01-09 20:00:07 +01:00
Roeland Jago Douma
95079dfe05
Merge pull request #18769 from nextcloud/backport/18757/stable18
[stable18] Combine exact and other matches for transfer ownership
2020-01-09 16:30:49 +01:00
Arthur Schiwon
029999049c make the mime type checker for flow available to regular users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-09 15:30:47 +00:00
Julius Härtl
8827c22973 Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 11:12:20 +00:00
Julius Härtl
a7d1ce3adc Fallback to proper default values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 11:12:19 +00:00
Julius Härtl
837d3ea4f9 Filter disabled operations out of the rule list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 11:12:19 +00:00
John Molakvoæ (skjnldsv)
1a948d713f
Fix sharing note placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-09 11:51:03 +01: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
Nextcloud bot
2b1c49cdba
[tx-robot] updated from transifex 2020-01-09 02:27:49 +00:00
Roeland Jago Douma
36b5bb583a
Merge pull request #18726 from marius-wieschollek/bugfix/18661
[#18661] Always include custom login image in theming
2020-01-08 19:38:40 +01:00
Roeland Jago Douma
e046ed3527
Merge pull request #18753 from nextcloud/bugfix/noid/select-menu-hide
Do not rerender the selection menu on show
2020-01-08 19:21:18 +01: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
Julius Härtl
c03122fc34
Do not rerender the selection menu on show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 16:09:53 +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
blizzz
8899162463
Merge pull request #18740 from nextcloud/fix/noid/ldap-better-cache-group-existency
cache group existence early to save useless requests to LDAP
2020-01-08 14:22:04 +01:00
Roeland Jago Douma
7e95c88c5f
Merge pull request #18733 from exner104/patch-1
Wrong email sender fix #18730
2020-01-08 13:02:05 +01:00
Roeland Jago Douma
c08a949881
Merge pull request #18739 from nextcloud/fix/18712/do-not-check-inherited-shares-on-current-node
[inherited shares] do not retrieve shares on current folder
2020-01-08 12:59:38 +01:00
Arthur Schiwon
79667b58a9
cache group existence early to save useless requests to LDAP
we do it for users already

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-01-08 11:02:37 +01:00
Maxence Lange
554c4a7cf8 moving ->getParent earlier
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-01-08 08:56:14 -01:00
exner104
5c517baf98
additional fix to #18730 #18733
regarding to advice from @kesselb
2020-01-08 10:40:52 +01:00
Julius Härtl
c4cfd70b6f
Fix folder permission styling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 10:09:02 +01:00
exner104
44eba5cdc6
Wrong email sender fix #18730
Wrong email sender in app sharebymail when sending password to owner fix #18730
2020-01-08 09:47:55 +01:00
Roeland Jago Douma
69ae7abe72
Merge pull request #18713 from nextcloud/fix/noid/do-remove-shares-generated-from-circles
remove non-circles-generated federated shares only
2020-01-08 09:11:27 +01:00
Roeland Jago Douma
ada25ab461
Merge pull request #18728 from simonspa/trashbin_exception
Trash bin: fix exception triggered if no correct fileId is provided.
2020-01-08 09:11:02 +01:00
Nextcloud bot
e645c5d96a
[tx-robot] updated from transifex 2020-01-08 02:28:20 +00:00
simonspa
b3ad27f7db Trash bin: fix exception triggered if no correct fileId is provided.
This fixes #17115

Signed-off-by: Simon Spannagel <simon.spannagel@cern.ch>
2020-01-07 23:47:07 +01:00
Marius David Wieschollek
bf94acfee7
[#18661] Always include custom login image in theming
Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
2020-01-07 22:27:20 +01:00
Roeland Jago Douma
dd0979c651
Merge pull request #18724 from nextcloud/fix/18721/encode-uri-for-sidebar
Encode URI for file sidebar
2020-01-07 20:57:30 +01:00
Roeland Jago Douma
4d1f710dc9
Merge pull request #18707 from nextcloud/enh/pending_shares_overview
A pending shares overview
2020-01-07 20:54:58 +01:00
Julius Härtl
445274cf93
Add pending share list to frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-07 19:35:45 +01: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
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
Maxence Lange
fc54df81d0 remove non-circles-generated shares only
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-01-07 09:40:41 -01:00
Roeland Jago Douma
33039a4c97
Merge pull request #18701 from nextcloud/fix/18632/show_info_when_no_others_with_access_found
Show message if no other users with access are found
2020-01-07 10:27:26 +01:00
blizzz
55fd157f15
Merge pull request #18535 from nextcloud/enh/flow/newDispatcher
Use the new Events in Flow
2020-01-07 09:58:40 +01:00
Roeland Jago Douma
fbed6a3416
A pending shares overview
Now that we accept shares we should show an overview of shares that are
pending. This first part is the small API to get a list of the currently
pending shares.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-07 08:53:33 +01:00
Nextcloud bot
1b8f816170
[tx-robot] updated from transifex 2020-01-07 02:28:34 +00: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
fb6b84b5c9
Accept shares when you open mail
Fixes #18380

When you open a direct share to yourself. We should autoaccept the
share.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-06 16:48:21 +01:00
John Molakvoæ
e5d3efb99e
fix overlapping (#18473)
fix overlapping
2020-01-06 13:55:29 +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
John Molakvoæ
0e3392665f
[#18645] Have custom login images cover the whole page (#18660)
[#18645] Have custom login images cover the whole page
2020-01-06 10:19:19 +01:00
Roeland Jago Douma
03cdff0da4
Merge pull request #18674 from nextcloud/enh/no_global_GET
Do not use $_GET
2020-01-06 08:06:27 +01:00
Nextcloud bot
32f79c9f0c
[tx-robot] updated from transifex 2020-01-06 02:27:21 +00:00
Roeland Jago Douma
1672ff3bef
Do not use $_GET
The appframework is more than capable of handling this properly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-05 20:13:11 +01:00
dependabot-preview[bot]
c282435c42
Bump css-loader from 3.4.0 to 3.4.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.0...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-05 14:52:35 +01:00
Nextcloud bot
46706d01e0
[tx-robot] updated from transifex 2020-01-05 02:30:34 +00:00
Marius David Wieschollek
eec921ca78
[#18645] Have custom login images cover the whole page
Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
2020-01-05 00:14:28 +01:00
Nextcloud bot
797b603a1f
[tx-robot] updated from transifex 2020-01-04 02:27:44 +00:00
Roeland Jago Douma
7976cb7e94
Merge pull request #18642 from nextcloud/design/settings-section
Settings: More spacing for development notice
2020-01-03 12:24:56 +01:00
Jan-Christoph Borchardt
d9fea183d6
Settings: More spacing for development notice
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2020-01-03 16:04:52 +07:00
Nextcloud bot
7ad3c2f228
[tx-robot] updated from transifex 2020-01-03 02:27:41 +00:00
Roeland Jago Douma
25d4f3230d
Use the new Events in Flow
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-02 16:40:49 +01:00
Roeland Jago Douma
dbbe687456
Merge pull request #18612 from nextcloud/bugfix/flow-style
Workflow validity checks
2020-01-02 15:05:23 +01:00
Maxence Lange
441b81a3af confirm resharing rights if viewer is current owner
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2020-01-02 11:34:20 -01:00
Roeland Jago Douma
768de086ea
Merge pull request #18598 from nextcloud/dependabot/npm_and_yarn/nextcloud/logger-1.0.0
Bump @nextcloud/logger from 0.1.0 to 1.0.0
2020-01-02 11:16:40 +01:00