Commit Graph

51324 Commits

Author SHA1 Message Date
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
Roeland Jago Douma aafc4a346f
Merge pull request #17535 from nextcloud/enh/noid/fileactions-cleanup
Remove deprecated legacy file actions
2019-10-14 21:25:28 +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 b076e3a17d
Merge pull request #17402 from nextcloud/td/js_deprecate/jstimezonedetect
Deprecate a lot of global js
2019-10-14 18:13:43 +02:00
Roeland Jago Douma c9d0bfbd30
Merge pull request #17382 from nextcloud/refactor/accessibility/initialstate
Initial state for accessibility
2019-10-14 18:00:30 +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
Roeland Jago Douma 61661036fc
Merge pull request #17522 from nextcloud/fix/noid/reflection-toString-deprecated
Fix ReflectionType::__toString() is deprecated
2019-10-14 11:08:15 +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
Roeland Jago Douma af995b8ab9
Deprecate js globals
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 09:59:52 +02:00
Daniel Kesselberg 0ecc70c497
Assume that getType is available
From PHP7 getType is always available. No need to check it nowdays.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-14 09:50:12 +02:00
Daniel Kesselberg ace74ef866
Fix ReflectionType::__toString() is deprecated
As of PHP 7.1.0, ReflectionType::__toString() is deprecated, and ReflectionParameter::getType() may return an instance of ReflectionNamedType. To get the name of the parameter type, ReflectionNamedType() is available in this case.

https://www.php.net/manual/en/reflectionparameter.gettype.php
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-14 09:50:06 +02:00
Roeland Jago Douma 9d6a58e6ae
Merge pull request #17530 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.6.3
Bump @babel/preset-env from 7.6.2 to 7.6.3
2019-10-14 09:47:44 +02:00
Nextcloud bot c6b9f073ed
[tx-robot] updated from transifex 2019-10-14 02:15:09 +00:00
dependabot-preview[bot] d08ce27541
Bump @babel/preset-env from 7.6.2 to 7.6.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.2 to 7.6.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 19:06:04 +00:00
Roeland Jago Douma caf172a575
Merge pull request #17527 from nextcloud/dependabot/npm_and_yarn/babel/core-7.6.4
Bump @babel/core from 7.6.2 to 7.6.4
2019-10-13 21:04:01 +02:00
Roeland Jago Douma 1884877568
Merge pull request #17528 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-0.12.6
Bump nextcloud-vue from 0.12.4 to 0.12.6
2019-10-13 20:58:12 +02: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
Roeland Jago Douma 2d697332d3
Merge pull request #17529 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.6
Bump dompurify from 2.0.3 to 2.0.6
2019-10-13 18:23:57 +02: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
Roeland Jago Douma 3658f7e847
Merge pull request #17526 from nextcloud/dependabot/npm_and_yarn/handlebars-4.4.3
Bump handlebars from 4.4.2 to 4.4.3
2019-10-13 12:15:51 +02: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
dependabot-preview[bot] c8144a5f1f
Bump @babel/core from 7.6.2 to 7.6.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.2 to 7.6.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.2...v7.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 09:01:12 +00:00
Roeland Jago Douma 09828bee5a
Merge pull request #17524 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-0.4.2
Bump @nextcloud/axios from 0.4.1 to 0.4.2
2019-10-13 10:59:06 +02: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
Roeland Jago Douma 12929f95d0
Merge pull request #17523 from nextcloud/dependabot/npm_and_yarn/build/handlebars-4.4.3
Bump handlebars from 4.4.2 to 4.4.3 in /build
2019-10-13 08:31:01 +02:00
Nextcloud bot 0d03115eb0
[tx-robot] updated from transifex 2019-10-13 02:15:52 +00:00
dependabot-preview[bot] 116c9c41e1
Bump @nextcloud/axios from 0.4.1 to 0.4.2
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v0.4.1...v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-13 01:14:10 +00:00
dependabot-preview[bot] 929295ac31
Bump handlebars from 4.4.2 to 4.4.3 in /build
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>
2019-10-13 01:13:38 +00:00
Roeland Jago Douma 24820e06e5
Merge pull request #17390 from nextcloud/refactor/external-initial-state-impl
Use the external initial state implementation
2019-10-12 13:52:28 +02: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 961e591f04
Merge pull request #17510 from nextcloud/bump/nextcloud/event-bus
Bump nextcloud/event-bus to 0.2.1
2019-10-11 14:55:30 +02: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
Roeland Jago Douma 15576dcba3
Merge pull request #17505 from nextcloud/design/input-contrast
Increase contast between text and placeholder in input fields
2019-10-11 12:53:25 +02:00
Christoph Wurst 543190f8b3
Do not create Application instances directly
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-11 08:33:09 +02:00
Christoph Wurst f6a79338d4
Make sure we create an app's Application class just once
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-11 08:21:24 +02:00
Nextcloud bot a373fd5848
[tx-robot] updated from transifex 2019-10-11 02:14:43 +00:00
Roeland Jago Douma 1e8f063aed
Merge pull request #17484 from nextcloud/bugfix/activity-last-timestamp-merged
Always use the latest timestamp for merged activities
2019-10-10 20:30:16 +02:00
Julius Härtl 57a4a7d0e4
Increase contast between text and placeholder in input fields
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-10 15:54:10 +02: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
kesselb 0e06239ae1
Merge pull request #17488 from nextcloud/fix/phan-settings-app
Remove settings/ from phan
2019-10-09 15:53:33 +02:00
Roeland Jago Douma 5917644536
Merge pull request #17276 from nextcloud/storage-id-eq
Get single storage id using `eq` instead of `in`
2019-10-09 15:17:49 +02:00
Daniel Kesselberg 99358d70e8
Remove settings/ from phan
settings is a app now. so the directory does not exist.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-09 14:34:05 +02:00
Roeland Jago Douma fa7eb52092
Merge pull request #17458 from nextcloud/enh/avoid_direct_query
Make renewSessionToken return the new token
2019-10-09 12:00:55 +02:00
Julius Härtl a41ed39bf2
Always use the latest timestamp for merged activities
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-09 11:25:37 +02:00
Roeland Jago Douma 5122629bb0
Make renewSessionToken return the new token
Avoids directly getting the token again. We just inserted it so it and
have all the info. So that query is just a waste.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-09 10:10:37 +02:00