Commit graph

20819 commits

Author SHA1 Message Date
Daniel Calviño Sánchez
c765dc46e7 Include the share in the Files_Sharing::loadAdditionalScripts event
This provides a better context for apps using the event, for example to
load one script or another depending on whether the share is a file or a
folder.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-19 09:13:59 +00:00
Roeland Jago Douma
6b505fe3b5
Merge pull request #17589 from nextcloud/backport/17585/stable17
[stable17] added documentation links on settings pages
2019-10-19 11:10:40 +02:00
Nextcloud bot
9396075e6d
[tx-robot] updated from transifex 2019-10-19 02:15:50 +00:00
Sascha Wiswedel
2836f80c5e added documentation links on settings pages
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-10-18 10:09:58 +00:00
Nextcloud bot
9f3b3d23c7
[tx-robot] updated from transifex 2019-10-18 02:15:31 +00:00
Roeland Jago Douma
3a45dfa09a
Merge pull request #17538 from nextcloud/backport/17332/stable17
[stable17] Only cache the mimetype if the file exists
2019-10-17 13:44:02 +02:00
Nextcloud bot
8ebda6d60c
[tx-robot] updated from transifex 2019-10-16 02:15:49 +00:00
Roeland Jago Douma
a5e3f696cb
Merge pull request #17455 from nextcloud/fix/stable17-axios-package
[stable17] Use @nextcloud/axios to keep the CSRF token in sync
2019-10-15 14:29:58 +02:00
Christoph Wurst
37cca6ffe7 Use @nextcloud/axios to keep the CSRF token in sync
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-15 07:19:16 +00:00
Roeland Jago Douma
f0151a24c8
Merge pull request #17541 from nextcloud/backport/17503/stable17
[stable17] Set the proper filename for version downloads
2019-10-15 09:17:51 +02:00
Nextcloud bot
cf140738dc
[tx-robot] updated from transifex 2019-10-15 02:15:14 +00:00
Roeland Jago Douma
52de002fec Set the proper filename for version downloads
Before it just used the internalid (timestamp often) which is not really
user friendly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 20:28:54 +00:00
Joas Schilling
899e5cae26 Only cache the mimetype if the file exists
Otherwise files access control will cache "application/octet-stream"
for all the target node on:
rename, move, copy and all other methods which create a new item

To check this:
1. Add an automated tagging rule which tags on mimetype NOT "httpd/unix-directory"
2. Add an access control rule which checks for any mimetype
3. Create a folder and rename it, the folder should not be tagged, but it is

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-14 19:39:29 +00:00
Nextcloud bot
eb789e4390
[tx-robot] updated from transifex 2019-10-14 02:15:16 +00:00
Nextcloud bot
46de79cfe8
[tx-robot] updated from transifex 2019-10-13 02:15:58 +00:00
Nextcloud bot
844e7a74cd
[tx-robot] updated from transifex 2019-10-12 02:15:17 +00:00
Nextcloud bot
22e14e39cf
[tx-robot] updated from transifex 2019-10-11 02:14:50 +00:00
John Molakvoæ (skjnldsv)
79473bdfdf Force hide tooltips on sidebar close
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-09 15:31:47 +00:00
Nextcloud bot
32d12bc533
[tx-robot] updated from transifex 2019-10-09 02:15:14 +00:00
Roeland Jago Douma
0e2a403a21
Merge pull request #17444 from nextcloud/backport/17359/stable17
[stable17] Don't call basename on null
2019-10-08 08:07:06 +02:00
Nextcloud bot
0e85ca8ee3
[tx-robot] updated from transifex 2019-10-08 02:15:08 +00:00
Joas Schilling
2efd0207a6 Don't call basename on null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-07 12:34:14 +00:00
Roeland Jago Douma
ca490dff2b
Merge pull request #17418 from nextcloud/backport/17387/stable17
[stable17] Allow removing federated shares of locally reshared files
2019-10-07 09:43:19 +02:00
Nextcloud bot
2f4145e757
[tx-robot] updated from transifex 2019-10-07 02:14:49 +00:00
Nextcloud bot
107639b12f
[tx-robot] updated from transifex 2019-10-06 02:15:20 +00:00
Roeland Jago Douma
bbf36b4879 Allow removing federated shares of locally reshared files
* UserA shares a folder to UserB
* UserB does a federated share to userC@serverC
* UserB now tries to revoke the federated share

Before we always tried to notify the remote cloud. The case that the
file was reshared locally was not considered. This patch makes sure not
to try to notify a federated server if both users are local users.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-05 13:19:44 +00:00
Nextcloud bot
b5ad2f9cb5
[tx-robot] updated from transifex 2019-10-05 02:15:13 +00:00
Roeland Jago Douma
16ba526982
Merge pull request #17351 from nextcloud/backport/17001/stable17
[stable17] reduce adressbook change events and handling
2019-10-04 11:34:16 +02:00
Nextcloud bot
7ba3e95100
[tx-robot] updated from transifex 2019-10-04 02:15:34 +00:00
John Molakvoæ
5df6570bbc
[stable17] Don't process known avatars from LDAP (#17372)
[stable17] Don't process known avatars from LDAP
2019-10-03 08:39:15 +02:00
Nextcloud bot
32df7f7cdd
[tx-robot] updated from transifex 2019-10-03 02:14:32 +00:00
Arthur Schiwon
845e7f733f Don't process known avatars from LDAP
* avoids useless FS operation
* avoids useless DB writes
* avoids useless addressbook updates
* addendum to #17001

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-02 14:33:42 +00:00
Nextcloud bot
9bfe715106
[tx-robot] updated from transifex 2019-10-02 02:15:17 +00:00
Nextcloud bot
3db8553eb2
[tx-robot] updated from transifex 2019-10-01 12:42:01 +00:00
Arthur Schiwon
eb191af518 reduce adressbook change events and handling
... from four to one on avatar updates

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-01 10:18:20 +00:00
Roeland Jago Douma
20ffc551d8
Merge pull request #17298 from nextcloud/backport/17258/stable17
[stable17] add (hidden) option to configure smb timeout
2019-10-01 12:10:59 +02:00
Roeland Jago Douma
7cceb667e9
Merge pull request #17295 from nextcloud/backport/17286/stable17
[stable17] Correctly detect the mimetype from uploads
2019-09-30 17:11:29 +02:00
Roeland Jago Douma
028568c4b8
Merge pull request #17273 from nextcloud/backport/14913/stable17
[stable17] Fix directory detection for s3
2019-09-30 17:10:02 +02:00
Nextcloud bot
55c94b2d77
[tx-robot] updated from transifex 2019-09-28 02:14:59 +00:00
Robin Appelman
70ab6b93d8 Update apps/files_external/lib/Lib/Backend/SMB.php
Co-Authored-By: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-27 10:30:45 +00:00
Robin Appelman
14a1bdb6e1 add (hidden) option to configure smb timeout
hidden from ui to prevent clutter

```occ files_external:config <mount> timeout 30```

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-27 10:30:45 +00:00
Joas Schilling
3c937ca396 Correctly detect the mimetype from uploads
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-27 08:51:59 +00:00
Daniel Kesselberg
32b3064b92 Use local variable for directory name
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-26 09:41:45 +00:00
Daniel Kesselberg
bb16bd8e73 Don't strip path from directory prefix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-26 09:41:45 +00:00
Daniel Kesselberg
812402f3ac Fill directory cache from opendir
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-26 09:41:45 +00:00
Daniel Kesselberg
97e12415ae Change visibility to private (from protected)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-26 09:41:45 +00:00
Daniel Kesselberg
c0649bed36 Rename $location to $path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-26 09:41:45 +00:00
Daniel Kesselberg
22c937bdf1 Add method to check if directory exists
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-26 09:41:45 +00:00
Nextcloud bot
c0e71fb12a
[tx-robot] updated from transifex 2019-09-26 02:15:05 +00:00
Nextcloud bot
bbd04fcb49
[tx-robot] updated from transifex 2019-09-25 02:14:54 +00:00