Commit Graph

33821 Commits

Author SHA1 Message Date
Lukas Reschke c4bfdb3cab Merge pull request #1183 from nextcloud/backport-529-cross-vendor-up-and-downgrades
[stable10] Allow downgrades of maintenance accross vendors
2016-08-30 19:54:20 +02:00
Lukas Reschke fe3e7629e2 Merge pull request #1191 from nextcloud/stable10-share-allowspaceinremote
[stable10] Allow space for federated share id search
2016-08-30 15:37:07 +02:00
Morris Jobke 3d43680d6e Merge pull request #1184 from nextcloud/backport-1089-allow-to-prevent-previews
[stable10] Check if the file isReadable() before sending a (cached) preview
2016-08-30 13:31:07 +02:00
Roeland Jago Douma a2a17fc5d7 Merge pull request #1186 from nextcloud/stable10-backport1178
[stable10] Theming: Show loading spinner while uploading files
2016-08-30 13:02:14 +02:00
Vincent Petry 102d4dc1af
Allow space for federated share id search 2016-08-30 12:57:23 +02:00
Julius Haertl 6ce976e7f0
Theming: Show loading spinner while uploading files 2016-08-30 10:28:57 +02:00
Joas Schilling 061aad5fe3
Check if the file isReadable() before sending a (cached) preview 2016-08-30 10:24:01 +02:00
Joas Schilling 7d54d03e40
Allow downgrades of maintenance accross vendors 2016-08-30 10:19:40 +02:00
Joas Schilling f8a45b9e08 Merge pull request #1174 from nextcloud/backport-1128
[stable10] Users page lazy multiselect group dropdowns
2016-08-30 10:04:28 +02:00
Morris Jobke f4d4e3f55f Merge pull request #1179 from nextcloud/stable10_us_25675
[stable10] Added integration test (#25675)
2016-08-30 09:48:17 +02:00
Lukas Reschke 351d01510d Merge pull request #1176 from nextcloud/backport-1145-10
[stable10] DAV: Return data-fingerprint always when asked
2016-08-30 08:41:45 +02:00
Thomas Müller bc3c4ebd2d
[stable9.1] Added integration test (#25675)
* [stable9.1] Added integration test

* A shared storage is never a home storage - fixes #25582
2016-08-30 08:32:12 +02:00
blizzz 7e2c4b80d2 Merge pull request #1140 from nextcloud/backport-1132-prevent-parse-error-on-editing-an-html-comment
[stable10] Prevent parse error on editing an HTML comment
2016-08-30 00:14:34 +02:00
Markus Goetz 4685ca9154
[master] DAV: Return data-fingerprint always when asked (#25482)
For owncloud/client#5056
Users can configure arbitrary subfolders for syncing, therefore we should
always return it when asked for.
The sync client makes sure to not always ask for it to save bandwidth.
2016-08-29 23:59:57 +02:00
Vincent Petry 3a0a84e1ea
Backport of Users page lazy multiselect group dropdowns #1128 to stable10
Users page lazy multiselect group dropdowns

Instead of pre-rendering all multiselects with lots of group entries,
the current groups are now displayed as simple labels.
Behind the labels there is a pencil icon like for other fields.
When clicking the pencil icon, the dropdown will be spawned and will
open itself.
Upon closing of the dropdown, the label comes back with the updated
selection and the dropdown is destroyed.

Extra non-available groups also in list

Fix group sorting in user list group selection
2016-08-29 23:46:28 +02:00
Lukas Reschke dbc860e6f7 Merge pull request #1159 from nextcloud/stable9.1-27a5be96f108d4ab2b91bcd765433e1646ba9bf2
[9.1] Before a user is getting scanned the database connection is re-…
2016-08-29 21:39:55 +02:00
Lukas Reschke 0a1b1d57a7 Merge pull request #1157 from nextcloud/stable9.1-init-filesconfig
Make sure file list files config always exists
2016-08-29 21:39:44 +02:00
Roeland Jago Douma deadbf7567 Merge pull request #1156 from nextcloud/stable9.1-db60e65409e7c6d4f1bde5062af53fbad6e8b412
[stable9.1] Fix issues where some user settings cannot be loaded when…
2016-08-29 20:33:10 +02:00
Joas Schilling 167cea0b09 Merge pull request #1126 from nextcloud/stable10-theming-performance
[stable10] theming performance
2016-08-29 15:44:19 +02:00
Vincent Petry db420e54a1
[9.1] Before a user is getting scanned the database connection is re-establ… 2016-08-29 15:22:29 +02:00
Vincent Petry 006e9e8b42
Make sure file list files config always exists
Initialize files config with defaults in case none was passed
2016-08-29 15:20:48 +02:00
Thomas Müller f6ee9340c2
[stable9.1] Fix issues where some user settings cannot be loaded when the user id differs in case sensitivity - fixes #25684 (#25686) 2016-08-29 15:19:00 +02:00
Joas Schilling 42425bb910
Prevent parse error on editing an HTML comment 2016-08-29 14:26:40 +02:00
Lukas Reschke 49da5267a9
Use temporary file as cache 2016-08-29 12:19:02 +02:00
Lukas Reschke d4d90a0b84
Increase theming performance
1. Set proper caching headers (`Pragma: cache`)
2. Resize image proportionally to a max size of 1920px
3. Store images with progressive mode

This resizes a previous 2.8 MB picture to 300kb and makes it rendering going down from 11 seconds to less than 1 here. And future requests won't have to download the file newly.
2016-08-29 12:18:57 +02:00
Raghu Nayyar af515a615d Merge pull request #1104 from nextcloud/stable10-backport-dont-read-server-variable
[stable10] Remove reading PATH_INFO from server variable
2016-08-28 10:31:51 +02:00
Lukas Reschke 4fb2810add
Remove reading PATH_INFO from server variable
Having two code paths for this is unreliable and can lead to bugs. Also, in some cases Apache isn't setting the PATH_INFO variable when mod_rewrite is used.

Fixes https://github.com/nextcloud/server/issues/983
2016-08-27 22:16:30 +02:00
Lukas Reschke 25ed51743a Merge pull request #902 from nextcloud/stable10-787
[stable10] Files external settings polish
2016-08-26 14:58:46 +02:00
Lukas Reschke 977c49ae6d Merge pull request #1081 from nextcloud/backport-660-config-path-from-env
[stable10] Allow the config dir to be specified via the enviroment
2016-08-26 14:56:31 +02:00
Damjan Georgievski a076a0d17a
SetupController should use \OC::$configDir too 2016-08-26 12:31:57 +02:00
Damjan Georgievski cc8b508987
introduce NEXTCLOUD_CONFIG_DIR env variable (see #300)
nextcloud by default uses the `/config/` directory in the source/application tree for its config file(s).
with this commit that directory can be overridden by the `NEXTCLOUD_CONFIG_DIR` environment variable.

in uwsgi, you would use the option `--env "NEXTCLOUD_CONFIG_DIR=/tmp/nx-config/"`
in apache `SetENV …`
and the cli command can be run with: `NEXTCLOUD_CONFIG_DIR=/tmp/nx-config ./occ` (or just use `export` once in the
shell).

NEXTCLOUD_CONFIG_DIR can be supplied with or without the trailing slash (`/`), but in all cases `$configDir` will have
it automatically added if needed.

The other changes are several occurrences of `OC::$SERVERROOT . '/config'` to `OC::$configDir`.
2016-08-26 12:31:43 +02:00
Lukas Reschke c8d90cca29 Merge pull request #1074 from nextcloud/backport-1050
Backport of fix internal links in security & setup warnings #1050
2016-08-26 09:39:46 +02:00
Arthur Schiwon b4b175537d
Backport of fix internal links in security & setup warnings #1050
fix internal links in security & setup warnings, resolves #1048

adjust js tests
2016-08-26 00:25:50 +02:00
Lukas Reschke 678fce3c18 Merge pull request #1045 from nextcloud/add-cache-buster-to-icons-css
[stable10] Add cachebuster to icons.css
2016-08-25 05:57:41 +02:00
Lukas Reschke 72939ba69e Merge pull request #1043 from nextcloud/increase-version-to-final
Increase version to 10.0 final
2016-08-25 05:45:36 +02:00
Lukas Reschke 24d030a656
Add cachebuster to icons.css 2016-08-24 20:58:52 +02:00
Lukas Reschke cc35699dcb
Increase version to 10.0 final 2016-08-24 20:30:43 +02:00
Roeland Jago Douma 43ce8b13c1 Merge pull request #1034 from nextcloud/stable10_1033
[Stable10] Fix theming autoloader magic
2016-08-24 14:17:51 +02:00
Roeland Jago Douma b59f5fc725
Require a ThemingDefaults class again 2016-08-24 13:25:26 +02:00
Roeland Jago Douma a046725321
Dark autoloader magic for ThemingDefaults 2016-08-24 13:25:16 +02:00
Roeland Jago Douma 95fb14f5b0 Merge pull request #1029 from nextcloud/stable10_1013
[Stable10] Do not error on NotFoundException
2016-08-24 09:30:27 +02:00
Roeland Jago Douma 4528bdabe7
Do not error on NotFoundException
Since this exception can be thrown when a shared file is in the
trashbin there is no need to spam the log like crazy.

Fixes #938
2016-08-24 08:17:28 +02:00
Lukas Reschke 2ca5186c94 Merge pull request #993 from nextcloud/stable10-965
[stable10] Fix hidden files handling
2016-08-23 22:16:17 +02:00
Lukas Reschke 805fc22276 Merge pull request #1008 from nextcloud/shared-storage-non-recursive-10
[10] Fix shared storage recursive setup
2016-08-23 22:15:21 +02:00
Lukas Reschke e5eff3c244 Merge pull request #1022 from nextcloud/backport-1005
[stable10] Do not error on maxUploadChange
2016-08-23 15:44:00 +02:00
Robin Appelman fa980af53c prevent infinite recursion while getting storage from mount 2016-08-23 13:59:01 +02:00
Roeland Jago Douma 94b84f2d1e Merge pull request #1021 from nextcloud/stable10-1017
Cache registered autoloaders
2016-08-23 12:24:36 +02:00
Roeland Jago Douma d2718b38ff
Backport of Do not error on maxUploadChange #1005 to stable10
Do not error on maxUploadChange

The new admin page broke the updating of the max upload size. This is
due to very old code there.

* Now update is done in the background using js
* Added proper route+controller to update

Fixes #994

put file handling into a section again
2016-08-23 11:39:44 +02:00
Lukas Reschke 1c01728514
Cache registered autoloaders
This saves more than 20ms (!) on every request, the previous problem was that `\OC_App::registerAutoloading` calls `\OC\AppFramework\App::buildAppNamespace` which parses the appinfo.xml. Since that was also called multiple times (e.g. on cloud.nextcloud.com over 200 times) that had a significant performance impact. Also on simple PROPFIND requests.

https://blackfire.io/profiles/compare/65a53e6e-7f35-4974-b559-4c81abd01c3b/graph shows the difference nicely.
2016-08-23 11:21:42 +02:00
Lukas Reschke f4bb803564 Merge pull request #1009 from nextcloud/backport-995
[stable10] Backport Workflow section + hidden empty sections #995 to stabble10
2016-08-23 11:20:13 +02:00