Commit Graph

51293 Commits

Author SHA1 Message Date
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 38730b454f
Pass on direct query parameter during login
If direct is set we should forward it again.
This to make SAML direct login work again.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-16 23:25:24 +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
Roeland Jago Douma 098ab7af4b
Do DI on registered middleware as well
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-16 22:52:48 +02:00
kesselb 5b44cb57a5
Update Feature_request.md
Does not fit 100% to feature request but does not hurt.
2019-10-16 12:41:21 +02:00
Joas Schilling aad535e3af
Log an error in development cases when the application class was set up incorrectly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-16 12:17:09 +02:00
Roeland Jago Douma f7319e139d
Merge pull request #17559 from nextcloud/deprecate/template-manager
Deprecate TemplateManager
2019-10-16 11:47:38 +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
Julius Härtl a2b728972c
Allow building single webpack modules
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-16 09:05:16 +02:00
Nextcloud bot 8153bd00a5
[tx-robot] updated from transifex 2019-10-16 02:15:41 +00:00
Julius Härtl 0a4dd3605b
Do not escape slashes for logged exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-15 16:09:23 +02:00
Julius Härtl ee743867d4
Make sure the cache is only reset once at a time
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-15 15:17:16 +02: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
Julius Härtl e51010b0f4
Use a distributed cache for the isCachedCache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-15 11:56:02 +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 12c13b86d8
fixup! Do not create Application instances directly
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 22:59:16 +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
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