Robin Appelman
219905b9c8
Dont cache empty url for not found routes
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-10-18 18:20:25 +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
Roeland Jago Douma
130535b316
Merge pull request #17557 from nextcloud/build/webpack-single-modules
...
Allow building single webpack modules
2019-10-18 10:49:02 +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
blizzz
9f2d15ad5c
Merge pull request #17576 from nextcloud/enhancement/occ/user-list-info
...
Add detailed users listing in occ user:info command
2019-10-17 13:08:33 +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
John Molakvoæ (skjnldsv)
5d01850dce
Add detailed users listing in occ user:info command
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-17 10:38:53 +02:00
John Molakvoæ
bd5189f29f
Let SCSS cleanup only run once ( #17543 )
...
Let SCSS cleanup only run once
2019-10-17 10:03:08 +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æ
22b031e78e
Merge all babelrc into one file ( #17570 )
...
Merge all babelrc into one file
2019-10-17 00:51:16 +02:00
Roeland Jago Douma
a122fe6c86
Merge pull request #17548 from nextcloud/fix/saml/pass_on_direct
...
Pass on direct query parameter during login
2019-10-17 00:24:20 +02: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
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
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
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