Commit Graph

51072 Commits

Author SHA1 Message Date
Roeland Jago Douma 8085ca4cc4
Get all shares as iterable
Sometimes we need all shares or rather a specific subset of shares but
creating dedicated functions is a pain. This just returns an iterable
object for all shares so we can loop over them without allocating all
the memory on the system.

It should not be used by any user called code. But in an occ command or
background job it is fine IMO.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-30 09:45:27 +01:00
Roeland Jago Douma 380563fd53
Merge pull request #17562 from nextcloud/techdebt/17509/log-error-when-setting-up-application-incorrectly
Log an error in development cases when the application class was set …
2019-10-29 21:09:26 +01:00
Roeland Jago Douma 7c7f0dbf95
Merge pull request #17741 from nextcloud/fix/no_contructor_in_interface
Remove constructor from IProvderFactory interface
2019-10-29 21:07:01 +01:00
Roeland Jago Douma 1a9f551396
Merge pull request #17740 from nextcloud/fix/17479/always-return-schema
Return null from migration to match with typehint
2019-10-29 20:38:16 +01:00
Roeland Jago Douma 043b56cb7d
Having the contructor in the interface makes no sense...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-29 19:29:38 +01:00
Daniel Kesselberg fd836616a2
Return $schema on change and null otherwise
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-10-29 19:25:34 +01:00
John Molakvoæ f420ac94b0
Add OCA.Files.Sidebar and migrate sharing (#15719)
Add OCA.Files.Sidebar and migrate sharing
2019-10-29 14:48:30 +01:00
npmbuildbot[bot] 85730de7fa Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-29 13:20:37 +01:00
John Molakvoæ (skjnldsv) 2fd057513a Fix current user edit/delete permissions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) 3331cdd74a Fix legacy tab backbone fileinfo change
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) 51960cb228 Fix triggering favorite file actions on the file list
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) 12eba18bdf Adjust acceptance tests to new OCA.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) a48359ac02 Adjust unit tests to new OCA.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:08 +01:00
John Molakvoæ (skjnldsv) 480691a569 Prevent multiple systemtags views
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:07 +01:00
John Molakvoæ (skjnldsv) d88b93c919 Add LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:07 +01:00
John Molakvoæ (skjnldsv) 1c13c52acf Systemtags and external actions update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 13:20:03 +01:00
Julius Härtl ae59edc6bf Add ShareTabSections service to register sections in the share tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 13:16:29 +01:00
Julius Härtl adb163b337 Add projects view to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-29 12:56:00 +01:00
John Molakvoæ (skjnldsv) 515171a653 Transpile also dependencies in node_modules
Some of the dependencies in node_modules, such as "p-queue", are not ES5
compatible, so they need to be transpiled to work in older browsers like
Internet Explorer 11.

Besides not excluding the dependencies for babel-loader in
"webpack.common.js" the global Babel configuration must be defined in
"babel.config.js", as in Babel 7.X, when ".babelrc.js" is used, all the
dependencies in "node_modules" are ignored (even if whitelisted in the
configuration file itself).

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 12:56:00 +01:00
John Molakvoæ (skjnldsv) fd90af50d9 Add OCA.Files.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 12:56:00 +01:00
John Molakvoæ (skjnldsv) ea6f423e2c Extend data returned when searching remote shares
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 12:55:59 +01:00
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
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