Commit Graph

21051 Commits

Author SHA1 Message Date
Roeland Jago Douma 7dcf947955
Merge pull request #17577 from nextcloud/bugfix/noid/about-help
Migrate help to a Controller
2019-10-21 11:15:04 +02:00
npmbuildbot[bot] 419bcb3a09 Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-21 08:11:49 +00:00
Arthur Schiwon 72a8703627
when adding/removing users from groups don't touch counters if LDAP
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-21 10:09:26 +02:00
Arthur Schiwon b41e3f8f08
hide strange Everyone and Disabled group numbers with LDAP, fixes 17368
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-21 10:09:21 +02:00
Roeland Jago Douma c92e64b537
Merge pull request #17545 from nextcloud/bugfix/noid/workflow-catch
Ignore unavailable entity/operation classes
2019-10-21 09:25:46 +02:00
Roeland Jago Douma 83674f1b92
Merge pull request #17603 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.27
Bump moment-timezone from 0.5.26 to 0.5.27
2019-10-21 09:25:05 +02:00
Nextcloud bot 560d9c3006
[tx-robot] updated from transifex 2019-10-21 02:15:49 +00:00
dependabot-preview[bot] 31639b7862 Bump moment-timezone from 0.5.26 to 0.5.27
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.26 to 0.5.27.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.26...0.5.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-20 12:21:25 +00:00
Roeland Jago Douma d092822263
Merge pull request #17601 from nextcloud/dependabot/npm_and_yarn/webpack-4.41.2
Bump webpack from 4.41.1 to 4.41.2
2019-10-20 14:15:27 +02:00
dependabot-preview[bot] 051cfedcbd Bump webpack from 4.41.1 to 4.41.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.1 to 4.41.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.1...v4.41.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-20 08:05:34 +00:00
Nextcloud bot e0e938295e
[tx-robot] updated from transifex 2019-10-20 02:16:43 +00:00
Roeland Jago Douma b425b34878
Merge pull request #17575 from nextcloud/include-the-share-in-the-files_sharing-loadadditionalscripts-event
Include the share in the Files_Sharing::loadAdditionalScripts event
2019-10-19 11:13:11 +02:00
Nextcloud bot dd0e73829c
[tx-robot] updated from transifex 2019-10-19 02:15:42 +00:00
Arthur Schiwon 38a8306e32
treat LDAP error 50 as auth issue, prevents lost server connection errors
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-18 18:55:10 +02:00
Robin Appelman 512eb14d94
make sure that the urls for theming images are valid
In some circumstances the url generation seems to fail,
resulting in an empty image url which causes the browser to load the main
page multiple times, leading to issues with state tokens

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-10-18 18:12:06 +02:00
John Molakvoæ 64f1ad9381
added documentation links on settings pages (#17585)
added documentation links on settings pages
2019-10-18 12:06:42 +02:00
Nextcloud bot 41c92813c3
[tx-robot] updated from transifex 2019-10-18 02:15:23 +00:00
Daniel Calviño Sánchez 5c7c308220 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-17 18:22:54 +02:00
Sascha Wiswedel 126444d5a6
added documentation links on settings pages
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-10-17 15:09:49 +02:00
Arthur Schiwon e8095cf737
use OCP\EventDispatcher\Event over Symfony's deprecated Event
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-17 13:31:48 +02:00
Julius Härtl a307bb285e
Move help to controller
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-17 11:05:54 +02:00
Roeland Jago Douma 07dffb6df6
Merge pull request #17569 from nextcloud/td/di/middleware
Allow DI in middleware
2019-10-17 09:43:57 +02:00
Nextcloud bot e57feec833
[tx-robot] updated from transifex 2019-10-17 02:15:52 +00:00
John Molakvoæ (skjnldsv) a1480c95eb
Merge all babelrc into one file
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-17 00:06:09 +02:00
Roeland Jago Douma 4a2f9fab66
Move over OCSShareAPIMIddleware to pure DI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-16 22:53:09 +02:00
Julius Härtl a9c089064b
Deprecate TemplateManager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 09:54:17 +02:00
Nextcloud bot 8153bd00a5
[tx-robot] updated from transifex 2019-10-16 02:15:41 +00:00
Julius Härtl 99c30453dd
Ignore unavailable entity/operation classes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-15 12:54:22 +02:00
Nextcloud bot 4011262fab
[tx-robot] updated from transifex 2019-10-15 02:15:06 +00:00
Roeland Jago Douma 7536caaff8
Merge pull request #17501 from nextcloud/bugfix/fad-48/list-share-downloads-under-sharing
List share download activity under sharing
2019-10-15 00:21:54 +02:00
Roeland Jago Douma 40eb9fae74
Merge pull request #17503 from nextcloud/fix/versions/download_filename
Set the proper filename for version downloads
2019-10-14 22:27:32 +02:00
Roeland Jago Douma 1bc100a3d4
Merge pull request #17332 from nextcloud/bugfix/noid/mimetype-changes-on-renaming-a-folder
Only cache the mimetype if the file exists
2019-10-14 21:38:33 +02:00
Roeland Jago Douma d23e96b8da
Merge pull request #17433 from nextcloud/bugfix/uncaught-promise-navigationduplicated
NavigationDuplicated: catch uncaught (in promise)
2019-10-14 21:27:32 +02:00
Julius Härtl 5e4eda1ae0
Remove deprecated legacy file actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-14 19:19:16 +02:00
Daniel Kesselberg ce454e096b
Catch uncaught (in promise)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-14 18:16:48 +02:00
Roeland Jago Douma c1b8cb2e21
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 17:55:53 +02:00
John Molakvoæ (skjnldsv) ffef4bd627
Move to generateOcsUrl
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-14 10:11:06 +02:00
John Molakvoæ (skjnldsv) 0df5e0b0db
Initial state for accessibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-14 10:11:06 +02:00
Joas Schilling d4d3725bfe
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 10:05:45 +02:00
Nextcloud bot c6b9f073ed
[tx-robot] updated from transifex 2019-10-14 02:15:09 +00:00
dependabot-preview[bot] 191c51b99a Bump nextcloud-vue from 0.12.4 to 0.12.6
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.4 to 0.12.6.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.4...v0.12.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 17:58:08 +00:00
dependabot-preview[bot] 7ead31d841 Bump dompurify from 2.0.3 to 2.0.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.3 to 2.0.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.3...2.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 11:01:30 +00:00
dependabot-preview[bot] dc97676559 Bump handlebars from 4.4.2 to 4.4.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.2 to 4.4.3.
- [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.4.2...v4.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 09:45:04 +00:00
Roeland Jago Douma 1b21f79dca
Merge pull request #17531 from nextcloud/dependabot/npm_and_yarn/webpack-4.41.1
Bump webpack from 4.41.0 to 4.41.1
2019-10-13 10:56:39 +02:00
dependabot-preview[bot] 5f52f9e4a5 Bump webpack from 4.41.0 to 4.41.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.0 to 4.41.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.0...v4.41.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-13 06:32:01 +00:00
Nextcloud bot 0d03115eb0
[tx-robot] updated from transifex 2019-10-13 02:15:52 +00:00
Christoph Wurst c2e8821345
Use the external initial state implementation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-12 13:21:50 +02:00
Nextcloud bot 7f8ff16c76
[tx-robot] updated from transifex 2019-10-12 02:15:10 +00:00
Roeland Jago Douma 0646167111
Bump nextcloud/event-bus to 0.2.1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-11 12:57:19 +02:00
Nextcloud bot a373fd5848
[tx-robot] updated from transifex 2019-10-11 02:14:43 +00:00
Joas Schilling 4d40eb61b4
List share download activity under sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-10 08:43:54 +02:00
Nextcloud bot 2b0f49455d
[tx-robot] updated from transifex 2019-10-09 02:15:07 +00:00
Roeland Jago Douma cafa2b5ef0
Merge pull request #17471 from nextcloud/bugfix/15951/public-txt-truncation-size
Raised public txt file truncation size to 10kb (#15951)
2019-10-08 20:52:39 +02:00
Johannes Koenig 58b93b65d3 Raised public txt file truncation size to 10kb
Signed-off-by: Johannes Koenig <mail@jokoenig.de>
2019-10-08 18:38:49 +02:00
Greta Doci c0cf9d53d9 add comment
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-10-08 17:56:22 +02:00
Greta Doci e4ab1461ff fix filename overlapping on mobile ref #17364
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-10-08 17:50:58 +02:00
Gary Kim 7e2149cd82
Show error if tag name is empty
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-08 22:15:05 +08:00
Roeland Jago Douma e4948f5d86
Merge pull request #17414 from gary-kim/enh/15155/delete-icon-in-trashbin
Show Delete Icon in Breadcrumb in Trashbin
2019-10-08 08:08:02 +02:00
Nextcloud bot 85dbde060d
[tx-robot] updated from transifex 2019-10-08 02:15:01 +00:00
Gary Kim 11d01319c6
Show Delete Icon in Breadcrumb in Trashbin
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-10-07 19:35:23 +08:00
Nextcloud bot 049628a3f5
[tx-robot] updated from transifex 2019-10-07 02:14:42 +00:00
Nextcloud bot e20dbc04ba
[tx-robot] updated from transifex 2019-10-06 02:15:13 +00:00
John Molakvoæ 5c21d11207
Fix Axios CSRF token update (#17404)
Fix Axios CSRF token update
2019-10-05 23:37:10 +02:00
Christoph Wurst 81613d2246
Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-05 19:06:00 +02:00
John Molakvoæ 62399c76e8
Allow group displaynames in the database backend (#17221)
Allow group displaynames in the database backend
2019-10-05 18:34:14 +02:00
Roeland Jago Douma 637c50e647
Merge pull request #17387 from nextcloud/fix/remove/federated_share
Allow removing federated shares of locally reshared files
2019-10-05 15:18:37 +02:00
John Molakvoæ 37dbe821e3
Fix updating and deleting authtokens (#17397)
Fix updating and deleting authtokens
2019-10-05 12:34:57 +02:00
John Molakvoæ 79c59fb2b9
allow trash backends to overwrite the tooltip for trash items (#17374)
allow trash backends to overwrite the tooltip for trash items
2019-10-05 11:17:07 +02:00
Sergej Nikolaev 9aa992e60b
fix updating and deleting authtokens
Signed-off-by: Sergej Nikolaev <kinolaev@gmail.com>
2019-10-05 10:28:47 +02:00
Robin Appelman ce433637da
allow trash backends to overwrite the tooltip for trash items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-10-05 10:23:30 +02:00
Nextcloud bot e9cef938ea
[tx-robot] updated from transifex 2019-10-05 02:15:04 +00:00
John Molakvoæ (skjnldsv) ff895abac0
Fix shares read permissions
A user with reshare permissions on a file is now able to get any share
of that file (just like the owner).

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 21:40:30 +02:00
John Molakvoæ (skjnldsv) b1069b29fa
Add checks for whether a user with access to a share can delete it
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 19:25:11 +02:00
John Molakvoæ (skjnldsv) f02cff1304
Extract check for whether a user with access to a share can edit it
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 19:25:11 +02:00
Roeland Jago Douma 2507f26428
Merge pull request #17357 from nextcloud/enh/oauth/no_oc_binding
Import router in oauth js
2019-10-04 11:33:40 +02:00
Roeland Jago Douma 7b729c581d
Merge pull request #17359 from nextcloud/bugfix/noid/dont-call-basename-on-null
Don't call basename on null
2019-10-04 11:29:14 +02:00
John Molakvoæ (skjnldsv) c49469c4d8
Prevent non owners to update others link shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 08:19:07 +02:00
John Molakvoæ (skjnldsv) c8d50538b8
Use same settings for mail share as link shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-04 08:19:07 +02:00
John Molakvoæ (skjnldsv) 972279d31b
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 07:04:29 +02:00
John Molakvoæ (skjnldsv) c2c7c2778b
Fix master testing and update eslint-config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 06:44:21 +02:00
Nextcloud bot 23af2726e8
[tx-robot] updated from transifex 2019-10-04 02:15:27 +00:00
Roeland Jago Douma 22f6960f83
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-03 15:21:04 +02:00
Roeland Jago Douma c436b2ccf6
fixup! Import router
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-03 10:49:55 +02:00
Roeland Jago Douma a2a538bc2f
Import router
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-03 10:44:40 +02:00
John Molakvoæ ecfa6f7e0c
Remove users management settings cleaning leftovers (#17360)
Remove users management settings cleaning leftovers
2019-10-03 08:40:02 +02:00
Nextcloud bot 3e28565458
[tx-robot] updated from transifex 2019-10-03 02:14:24 +00:00
blizzz e105d19585
Merge pull request #17002 from nextcloud/fix/noid/ldap-dont-process-known-avas
Don't process known avatars from LDAP
2019-10-02 16:32:52 +02:00
Nextcloud bot 74dcd84ee8
[tx-robot] updated from transifex 2019-10-02 02:15:09 +00:00
John Molakvoæ (skjnldsv) 690330f308
Remove users management settings cleaning leftovers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:41:56 +02:00
Joas Schilling 0f3de7828e
Don't call basename on null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01 17:30:52 +02: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
Nextcloud bot f9870eec2c
[tx-robot] updated from transifex 2019-10-01 12:41:53 +00:00
blizzz 47ab961aa7
Merge pull request #17001 from nextcloud/fix/noid/addressbookchanges-avatar
reduce adressbook change events and handling
2019-10-01 12:17:35 +02:00
dependabot-preview[bot] ff7eeb4501 Bump dompurify from 2.0.1 to 2.0.3
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.1...2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-30 08:42:31 +00:00
dependabot-preview[bot] e57b27820e Bump webpack from 4.40.2 to 4.41.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.40.2 to 4.41.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.40.2...v4.41.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-29 09:29:23 +00:00
Roeland Jago Douma 9e2bb5ef36 Move oauth admin settings to initialstate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 13:30:34 +00:00
Christoph Wurst de6940352a Move settings to an app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 09:39:28 +00:00
John Molakvoæ c8cd607681
Remove input id on login form (#17294)
Remove input id on login form
2019-09-28 10:46:31 +02:00
John Molakvoæ (skjnldsv) f737dc9a86 Remove input id on login form
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 08:15:03 +00:00
Nextcloud bot 8ca587be3a
[tx-robot] updated from transifex 2019-09-28 02:14:51 +00:00