Commit graph

51212 commits

Author SHA1 Message Date
Roeland Jago Douma
3b8f83f5af
Merge pull request #17730 from nextcloud/fix/15048/search_mimetype_like
Fix DAV mimetype search
2019-10-29 08:33:53 +01:00
Nextcloud bot
97fd61ac45
[tx-robot] updated from transifex 2019-10-29 02:15:20 +00:00
Roeland Jago Douma
bc9b223e65
Fix DAV mimetype search
Fixes #15048
Catches the case where a full mimetype is sumbitted in the where like
clause. Before we didn't catch this and it was just forwarded as is
causing invalid queries.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-28 21:56:29 +01:00
John Molakvoæ
68953f7c3d
Merge pull request #17521 from R0Wi/master
Quickfix #17515
2019-10-28 15:14:32 +01:00
Roeland Jago Douma
f763219f19
Merge pull request #17712 from nextcloud/enh/limit_hardening/database/user
Make sure limit is never negative
2019-10-28 13:59:09 +01:00
Roeland Jago Douma
70500e25ad
Merge pull request #17173 from nextcloud/feature/event-broadcasting
Make it possible to broadcast events to (web) clients
2019-10-28 13:58:35 +01:00
Christoph Wurst
d180a98714
Make it possible to broadcast events to (web) clients
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-28 13:58:13 +01:00
Roeland Jago Douma
dd185e383d
Make sure limit is never negative
There were some cases where a negative limit could be passed in. Which
would happily make the query explode.

This is just a quick hack to make sure it never is negative.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-28 13:07:43 +01:00
John Molakvoæ
921f748996
Bump nextcloud-vue from 0.12.6 to 0.12.7 (#17702)
Bump nextcloud-vue from 0.12.6 to 0.12.7
2019-10-28 07:36:55 +01:00
Nextcloud bot
b72295aa54
[tx-robot] updated from transifex 2019-10-28 02:15:34 +00:00
dependabot-preview[bot]
c92d15415c Bump nextcloud-vue from 0.12.6 to 0.12.7
Bumps [nextcloud-vue](https://github.com/nextcloud/nextcloud-vue) from 0.12.6 to 0.12.7.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v0.12.6...v0.12.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-28 00:16:10 +00:00
Roeland Jago Douma
11faf739c2
Merge pull request #17698 from nextcloud/dependabot/npm_and_yarn/build/node-sass-4.13.0
Bump node-sass from 4.12.0 to 4.13.0 in /build
2019-10-27 22:34:49 +01:00
Roeland Jago Douma
3b58afa26b
Merge pull request #17706 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-0.5.0
Bump @nextcloud/axios from 0.4.2 to 0.5.0
2019-10-27 14:52:27 +01:00
dependabot-preview[bot]
b0c0676429 Bump @nextcloud/axios from 0.4.2 to 0.5.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v0.4.2...v0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-27 10:21:41 +00:00
Roeland Jago Douma
8fa543c8eb
Merge pull request #17699 from nextcloud/dependabot/npm_and_yarn/build/handlebars-4.4.5
Bump handlebars from 4.4.3 to 4.4.5 in /build
2019-10-27 11:20:45 +01:00
dependabot-preview[bot]
64ce503bce
Bump handlebars from 4.4.3 to 4.4.5 in /build
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.3 to 4.4.5.
- [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.3...v4.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 10:18:39 +00:00
Roeland Jago Douma
31e4f82811
Merge pull request #17703 from nextcloud/dependabot/npm_and_yarn/handlebars-4.4.5
Bump handlebars from 4.4.3 to 4.4.5
2019-10-27 11:16:58 +01:00
dependabot-preview[bot]
79b90e3b36 Bump handlebars from 4.4.3 to 4.4.5
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.3 to 4.4.5.
- [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.3...v4.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-27 07:52:11 +00:00
Roeland Jago Douma
c90cb9696d
Merge pull request #17704 from nextcloud/dependabot/npm_and_yarn/dompurify-2.0.7
Bump dompurify from 2.0.6 to 2.0.7
2019-10-27 08:48:17 +01:00
dependabot-preview[bot]
baeb369a67
Bump node-sass from 4.12.0 to 4.13.0 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.12.0...v4.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 07:47:52 +00:00
Roeland Jago Douma
f853741451
Merge pull request #17701 from nextcloud/dependabot/npm_and_yarn/node-sass-4.13.0
Bump node-sass from 4.12.0 to 4.13.0
2019-10-27 08:46:10 +01:00
dependabot-preview[bot]
b8a4a5bf80
Bump dompurify from 2.0.6 to 2.0.7
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.6...2.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 02:16:37 +00:00
dependabot-preview[bot]
d73ddca86a
Bump node-sass from 4.12.0 to 4.13.0
Bumps [node-sass](https://github.com/sass/node-sass) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.12.0...v4.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-27 02:14:30 +00:00
Nextcloud bot
4f2391d439
[tx-robot] updated from transifex 2019-10-27 02:14:12 +00:00
Daniel Kesselberg
83af640780
Remove objectstore credentials
Also remove the username for Swift v2 and add todo for unclear keys.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-27 00:51:39 +02:00
Daniel Kesselberg
8e44e0134a
Remove objectstore credentials
S3: key and secret
Swift v3: user.name and user.password

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-27 00:41:01 +02:00
Daniel Kesselberg
71c7442790
The loading animation is back
Refactor grant.js to Vanilla JS
Remove id="submit" because of side effects: https://stackoverflow.com/questions/22982741/form-submit-jquery-does-not-work
Fix arrow for login flow v1

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-26 23:08:52 +02:00
Roeland Jago Douma
790efdf787
Merge pull request #17691 from nextcloud/enh/17673/fix-first-day-week
Show first day of the week in correct language
2019-10-26 20:32:11 +02:00
Roeland Jago Douma
7904ddd06a
Merge pull request #17693 from nextcloud/enh/unused-test-dependency
Remove unused import Punic\Data
2019-10-26 20:31:34 +02:00
John Molakvoæ
9348fd53b1
Cleanup and do not list current user shares in getShares too (#16789)
Cleanup and do not list current user shares in getShares too
2019-10-26 16:58:37 +02:00
Robin Windey
da88633300 Revert changes and add css-rule to correct file inside files-app 2019-10-26 16:44:33 +02:00
Daniel Kesselberg
a20546bb5c
Remove unused import Punic\Data
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-26 16:39:05 +02:00
John Molakvoæ
a71b21c3d0
Bump davclient.js from 0.1.3 to 0.2.1 (#17606)
Bump davclient.js from 0.1.3 to 0.2.1
2019-10-26 16:38:02 +02:00
Daniel Kesselberg
a7f4d54d0f
Show first day of the week in correct language
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-26 14:31:38 +02:00
Daniel Calviño Sánchez
d0b205d0dd
Add more integration tests for getting shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-26 14:22:17 +02:00
dependabot-preview[bot]
6c83516caa Bump davclient.js from 0.1.3 to 0.2.1
Bumps [davclient.js](https://github.com/owncloud/davclient.js) from 0.1.3 to 0.2.1.
- [Release notes](https://github.com/owncloud/davclient.js/releases)
- [Commits](0e5ef1af5d...1ab200d099)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-26 11:59:06 +00:00
Roeland Jago Douma
459e71638d
Merge pull request #17604 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.6.0
Bump nextcloud-vue-collections from 0.5.6 to 0.6.0
2019-10-26 13:53:30 +02:00
Roeland Jago Douma
bc4ed80439
Merge pull request #17626 from nextcloud/fix/weird_kde/loginflowv2
Fix weird KDE bug with loginflowv2
2019-10-26 13:53:01 +02:00
Roeland Jago Douma
c280eff9b5
Merge pull request #17673 from nextcloud/fix/lang/locale/jshelper/mess
Fix jsConfigHelper lang/locale mixup
2019-10-26 12:13:58 +02:00
Nextcloud bot
f9e323c188
[tx-robot] updated from transifex 2019-10-26 02:15:17 +00:00
John Molakvoæ (skjnldsv)
cc4362df4f Unify code to get shares of a file or also including subfiles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-25 21:41:12 +02:00
John Molakvoæ (skjnldsv)
dbb6b4cbb9 Filter out duplicated shares before processing them
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-25 21:41:12 +02:00
Daniel Calviño Sánchez
8098abee60 Do not return shares with the current user
Getting the shares of a file no longer returns shares with the current
user for consistency with the results when getting the shares including
subfiles.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:40:50 +02:00
Daniel Calviño Sánchez
1afefc2d9a Extract method to get all shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
222e5a9a9f Add missing share types when getting shares of a file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
24febe1e41 Unify share type sorting when getting shares of a file or with subfiles
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
0599536c82 Remove unneeded calls to "ShareManager::shareProviderExists()"
"ShareManager::getSharesBy()" already checks if the share provider
exists before returning the shares and, if the provider does not exist,
it returns an empty array. Therefore it is not needed to explicitly
check if the provider exists or not.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:49 +02:00
Daniel Calviño Sánchez
52870fd1d2 Add unit tests for getting shares of a file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:39:45 +02:00
Daniel Calviño Sánchez
9039dd89ef Add unit tests for getting shares including subfiles
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-25 21:27:30 +02:00
Daniel Kesselberg
1d82bb55db
Move "you can close this window" to newline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-25 21:26:41 +02:00