Commit graph

35077 commits

Author SHA1 Message Date
Morris Jobke
d9aeee2aa1 Merge pull request #1826 from nextcloud/downstream-26391
Fix post_unshareFromSelf hook parameter format
2016-10-20 20:44:05 +02:00
Morris Jobke
c7ba73e6f4 Merge pull request #1824 from nextcloud/downstream-26423
Ensure $commands being an array
2016-10-20 20:43:26 +02:00
Morris Jobke
98c8464564 Merge pull request #1821 from nextcloud/downstream-26366
Code style changes from downstream
2016-10-20 20:18:47 +02:00
Lukas Reschke
4c41ff11ac Merge pull request #1817 from nextcloud/oc_nus
Expose the needupgrade status (#26209)
2016-10-20 19:38:41 +02:00
Roeland Jago Douma
e5598e492f Merge pull request #1822 from nextcloud/restore-overwritten-services-after-errors
Restore overwritten services after errors
2016-10-20 19:35:23 +02:00
Jakob Sack
4acbd95c14 Merge pull request #1812 from nextcloud/allow-to-dismiss-the-code-integrity-warning
Allow to dismiss the code integrity warning
2016-10-20 19:23:39 +02:00
Lukas Reschke
0864f53675 Merge pull request #1796 from nextcloud/oc_fav-report
Make it possible to filter by tags with REPORT method
2016-10-20 18:32:51 +02:00
Vincent Petry
d4976e5554
Fix post_unshareFromSelf hook parameter format
When unsharing from self in a group share situation, the share items
passed to the post_unshareFromSelf hook were using the wrong format in
which the attribute names (ex: "share_type") have non camel-case format.

This fix makes sure that in group sharing case we use the correct
format. It looks like the code was already producing it but in
array_merge it was not using it and adding the unprocessed one.
2016-10-20 16:09:08 +02:00
Thomas Müller
ef842ef20a
Ensure $commands being an array - fixes #26073 2016-10-20 15:40:27 +02:00
Morris Jobke
7836a8d8c7
use short array syntax
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 15:40:22 +02:00
Joas Schilling
9f2d9895a5
Restore all services when a tests failed/finished for better testcase isolation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-20 15:19:41 +02:00
Joas Schilling
122edcd0c1
Make sure all tests use the TestCase method to overwrite services
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-20 15:19:41 +02:00
Thomas Müller
08d6884107
Sanitize length headers when validating quota 2016-10-20 15:15:48 +02:00
Morris Jobke
ed4ed7911a Merge pull request #1816 from nextcloud/settings_nopng
Get rid of settings/img/*.png
2016-10-20 15:04:07 +02:00
Jan-Christoph Borchardt
5d7e9bb8fc Merge pull request #1768 from nextcloud/more-filepicker
More filepicker improvements
2016-10-20 14:46:57 +02:00
Kristof Provost
9963bdaeb9
Expose the needupgrade status (#26209)
During upgrades, before the DB migration is complete, the system is not
usable, but there's no way for monitoring systems to detect this.
Add the 'needupgrade' field to the status json so monitoring systems can
detect this.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-20 14:24:23 +02:00
Roeland Jago Douma
285d81f87d
Get rid of settings/img/*.png
We only use SVG icons so no need to ship them!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-20 14:20:47 +02:00
Roeland Jago Douma
b946e3ecfb Merge pull request #1813 from nextcloud/remove-unused-js
Remove unused js
2016-10-20 14:06:29 +02:00
Morris Jobke
b3f2771d3c
Improve the styling
* remove the scrollbar (content did an overflow due to a min-width)
* have proper padding on the right too - padding is 15px on all sides for .oc-dialog

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 13:10:26 +02:00
Morris Jobke
867f72a485
Remove deprecated breadcrumbs implementation
* was replaced by the version in files/

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 12:18:33 +02:00
Morris Jobke
33c3293d05
Remove OC.localStorage and object method
* use the localstorage APIs of the browser instead
* use new Object() instead

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 12:16:44 +02:00
Joas Schilling
4037a79328
Allow to dismiss the code integrity warning
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-20 11:33:29 +02:00
Morris Jobke
19b69cbf1b Merge pull request #1809 from nextcloud/drop-compatibility.js
Remove unneeded compatibility polyfills
2016-10-20 10:57:43 +02:00
Morris Jobke
f7ca3ec201
Remove unneeded compatibility polyfills
- `Object.create` supported with IE9+: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/create#Browser_compatibility
- `Object.keys` supported with IE9+: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/keys#Browser_compatibility
- `Array.prototype.filter` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter#Browser_compatibility
- `Array.prototype.indexOf` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf#Browser_compatibility
- `Array.prototype.map` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map#Browser_compatibility
- `Function.prototype.bind` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Browser_compatibility
- `String.prototype.trim` supported with IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Browser_compatibility
- `outerHTML` supported with Firefox 11+: https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML#Browser_compatibility
- `window.devicePixelRatio` supported in IE11+: http://caniuse.com/#feat=devicepixelratio

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 10:17:18 +02:00
Marius Blüm
f7f2711547 Merge pull request #1810 from nextcloud/drop-placeholders.js
Remove unneeded placeholder polyfill
2016-10-20 07:27:18 +02:00
Morris Jobke
195c53b7a6 Merge pull request #1797 from nextcloud/issue-1791-show-path-on-filename-conflict
Show the path, when the filename conflicts
2016-10-20 00:27:54 +02:00
Morris Jobke
ba0cab72ef Merge pull request #1803 from nextcloud/fullscreen-icon
add fullscreen icon
2016-10-20 00:03:42 +02:00
Morris Jobke
a8cf110ec6
Remove unneeded placeholder polyfill
* placeholders are supported in IE11+
* http://caniuse.com/#feat=input-placeholder

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-20 00:00:25 +02:00
Lukas Reschke
73f4ae94dd Merge pull request #1773 from nextcloud/testing-characters-in-db
MySQL 4byte support
2016-10-19 22:09:14 +02:00
Jan-Christoph Borchardt
c52ccbde49 add fullscreen icon
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-10-19 21:13:52 +02:00
Marius Blüm
58d53eb94c Merge pull request #1807 from nextcloud/button-color
change primary button text color to white
2016-10-19 21:07:56 +02:00
Jan-Christoph Borchardt
dcf45c872e change primary button text color to white
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-10-19 20:27:00 +02:00
Jan-Christoph Borchardt
19e1ff1b0f add proper left margin for filepicker title
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-10-19 14:43:04 +02:00
Robin Appelman
31745d69f7
fix filepicker with no mimetype filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:22:33 +02:00
Robin Appelman
67050fd463
fix file exist dialog styling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:21 +02:00
Jan-Christoph Borchardt
cee7bfef16
filepicker: improve layout and style
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-10-19 14:18:21 +02:00
Robin Appelman
14f78369d7
Use a table for the filepicker list and add size column
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:21 +02:00
Robin Appelman
590016a978
use fileclient to get the filelist for the filepicker
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:21 +02:00
Robin Appelman
b6ce73cf14
Allow selecting a folder after using the breadcrumb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:21 +02:00
Robin Appelman
f002a2d2f6
Allow selecting the root folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-19 14:18:19 +02:00
Roeland Jago Douma
b5599a7673 Merge pull request #1795 from nextcloud/systemtags-activity-wording
change wording of system tags from un/assigned to more human added/removed
2016-10-19 12:16:46 +02:00
Joas Schilling
6f2fe8c62a
Show the path, when the filename conflicts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-19 11:33:25 +02:00
Vincent Petry
361f008c70
Make it possible to filter by tags with REPORT method
Enhanced the REPORT method on the Webdav endpoint and added a
"oc:favorite" filter rule. When set, it will return a flat list of
results filtered with only favorite files.

The web UI was also adjusted to use this REPORT method instead of the
private API endpoint.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-19 11:06:29 +02:00
Morris Jobke
e072057dd8 Merge pull request #1740 from nextcloud/issue-1707-big-files-on-32-bits
Make sure we only use numbers as length
2016-10-19 11:01:19 +02:00
Jan-Christoph Borchardt
89dd5103cf change wording of system tags from un/assigned to more human added/removed
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-10-19 10:50:20 +02:00
Joas Schilling
5e48ce98c7 Merge pull request #1784 from nextcloud/fix-activity-filter-names
Adjust wording to make the separation between sharing and files more clear
2016-10-19 09:45:30 +02:00
Joas Schilling
05223a39f9
Make sure we only use numbers as length
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-19 09:28:54 +02:00
Roeland Jago Douma
46406f517a Merge pull request #1790 from nextcloud/3rdparty-master
[3rdparty] Point to master again
2016-10-19 08:23:32 +02:00
Joas Schilling
303e073724
Do not skip when mysql uses utf8mb4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-19 00:15:01 +02:00
Joas Schilling
43b7b143f4
Fix test of repair step
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-19 00:15:01 +02:00