aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Use the same URL everywhereJoas Schilling2016-09-271-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Return the autoupdater value from the serverJoas Schilling2016-09-271-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "[stable10] Only use realpath for real directories (#26060)"Morris Jobke2016-09-271-6/+1
|
* Merge pull request #1517 from ↵Morris Jobke2016-09-271-1/+6
|\ | | | | | | | | nextcloud/stable9.1-fix-openbasedir-realpath-warning [stable10] Only use realpath for real directories (#26060)
| * Only use realpath for real directories (#26060)Vincent Petry2016-09-261-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | In some cross-local-storage use cases, the Local storage is instantiated with "/" as data directory. In such cases, calling realpath() would cause PHP warnings when open_basedir is set. This fix bypasses the realpath() call when dealing with a root storage. Downstreaming of https://github.com/owncloud/core/pull/26060 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Add repair step to remove .step file after updateMorris Jobke2016-09-232-0/+82
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Opening the trashbin causes errors in log for files without previewMorris Jobke2016-09-132-0/+33
| | | | | | | | | | | | | | | | | | * put a file without a generated preview in the trashbin (e.g. a *.docx file) * open the trashbin * following errors will show up in the nextcloud.log: - filesize(): stat failed for ... - fopen(...): failed to open stream: No such file or directory at ... - fread() expects parameter 1 to be resource, boolean given at ... - fclose() expects parameter 1 to be resource, boolean given at ... - imagecreatefromstring(): Empty string or invalid image at ... This is because the preview code tries to load an SVG image, which is obviously only text. The fix simply handles this before the loading happens and the web UI keeps showing the default mimetype icon.
* Merge pull request #1379 from nextcloud/stable10-backport-711Roeland Jago Douma2016-09-131-0/+2
|\ | | | | stable10 backport: Apply password policy on user creation
| * Apply password policy on user creationmichag862016-09-121-0/+2
| |
* | Fix MissingMandatoryParametersException for share notificationsJoas Schilling2016-09-131-1/+1
|/ | | | The routing system is non-forgiving
* skip shared files, if files get decrypted only for a specific user we ↵Bjoern Schiessle2016-09-091-0/+4
| | | | shouldn't touch files owned by a different user.
* Match only for actual session cookieLukas Reschke2016-09-081-2/+15
| | | | OVH has implemented load balancing in a very questionable way where the reverse proxy actually internally adds some cookies which would trigger a security exception. To work around this, this change only checks for the session cookie.
* Merge pull request #1324 from ↵Morris Jobke2016-09-081-1/+1
|\ | | | | | | | | nextcloud/backport-1323-show-download-button-for-updates-atm [stable10] Show an download button instead of the updater
| * Change updater URLJoas Schilling2016-09-081-1/+1
| |
* | Merge pull request #1322 from ↵Morris Jobke2016-09-081-3/+9
|\ \ | | | | | | | | | | | | nextcloud/backport-1225-allow-to-validate-password-policy Allow to validate the password_policy app
| * | Allow to validate the password_policy appJoas Schilling2016-09-081-3/+9
| |/
* / Correctly remove the charset from finfo mimetypeJoas Schilling2016-09-081-2/+3
|/
* Fix updater URLMorris Jobke2016-09-071-1/+1
|
* Correctly remove admin sections and settingsJoas Schilling2016-09-071-3/+3
|
* Move navigation entries without order to the endJoas Schilling2016-09-071-1/+9
|
* Merge pull request #1200 from nextcloud/stable9.1-usermountcache-orphanedshareRoeland Jago Douma2016-08-311-1/+2
|\ | | | | [stable10] Prevent error with orphaned shares when updating user mount cache
| * Prevent error with orphaned shares when updating user mount cacheVincent Petry2016-08-301-1/+2
| |
* | Merge pull request #1183 from ↵Lukas Reschke2016-08-302-2/+29
|\ \ | |/ |/| | | | | nextcloud/backport-529-cross-vendor-up-and-downgrades [stable10] Allow downgrades of maintenance accross vendors
| * Allow downgrades of maintenance accross vendorsJoas Schilling2016-08-302-2/+29
| |
* | Check if the file isReadable() before sending a (cached) previewJoas Schilling2016-08-301-1/+1
|/
* [stable9.1] Fix issues where some user settings cannot be loaded when the ↵Thomas Müller2016-08-291-0/+10
| | | | user id differs in case sensitivity - fixes #25684 (#25686)
* Remove reading PATH_INFO from server variableLukas Reschke2016-08-271-4/+0
| | | | | | 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
* introduce NEXTCLOUD_CONFIG_DIR env variable (see #300)Damjan Georgievski2016-08-261-1/+1
| | | | | | | | | | | | | | | 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`.
* Dark autoloader magic for ThemingDefaultsRoeland Jago Douma2016-08-241-4/+10
|
* Merge pull request #1008 from nextcloud/shared-storage-non-recursive-10Lukas Reschke2016-08-233-104/+106
|\ | | | | [10] Fix shared storage recursive setup
| * prevent infinite recursion while getting storage from mountRobin Appelman2016-08-231-8/+10
| |
| * Allow jail wrappers to lazily initialize the source storageRobin Appelman2016-08-221-41/+41
| |
| * Allow storage wrappers to lazily initialize the source storageRobin Appelman2016-08-221-55/+55
| |
* | Cache registered autoloadersLukas Reschke2016-08-231-0/+6
| | | | | | | | | | | | 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.
* | Merge pull request #1009 from nextcloud/backport-995Lukas Reschke2016-08-232-6/+11
|\ \ | | | | | | [stable10] Backport Workflow section + hidden empty sections #995 to stabble10
| * | Backport Workflow section + hidden empty sections #995 to stabble10Arthur Schiwon2016-08-222-6/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | add section to worklfowengine enlist only registered sections that also have settings registered to adjust test Move admin settings to workflow section fix wrong var name Save the container with the app's namespace so we can resolve it
* / hide parameters of tryLogin when loggingArthur Schiwon2016-08-221-0/+3
|/
* Merge pull request #918 from nextcloud/stable10_891blizzz2016-08-221-2/+48
|\ | | | | [Stable10] [OC] Fix unmerged shares repair targetdecision
| * Improve regexp to detect duplicate folders when repairing unmerged sharesVincent Petry2016-08-171-8/+6
| |
| * Fix unmerged shares repair with mixed group and direct sharesVincent Petry2016-08-171-3/+13
| | | | | | | | | | | | | | Whenever a group share is created after a direct share, the stime order needs to be properly considered in the repair routine, considering that the direct user share is appended to the $subShares array and breaking its order.
| * Improve file_target finding logic when repairing unmerged sharesVincent Petry2016-08-171-1/+39
| | | | | | | | | | | | | | Pick the most recent subshare that has no parenthesis from duplication which should match whichever name the user picked last. If all subshares have duplicate parenthesis names, use the least recent group share's target instead.
* | Fix loading of ThemingDefaultsJulius Haertl2016-08-191-1/+1
| |
* | Merge pull request #935 from nextcloud/stable10-add-cachebustersMorris Jobke2016-08-181-0/+1
|\ \ | | | | | | [Stable10] add cachebusters
| * | Add cache buster to left menu barLukas Reschke2016-08-181-0/+1
| | |
* | | Fix "Undefined index" when the values do not existJoas Schilling2016-08-181-2/+2
|/ /
* | Merge pull request #921 from ↵Roeland Jago Douma2016-08-181-1/+5
|\ \ | | | | | | | | | | | | nextcloud/backport-867-notification-primary-action-always-first [stable10] Make sure the primary action is always the first one
| * | Make sure the primary action is always the first oneJoas Schilling2016-08-181-1/+5
| |/
* | Merge pull request #910 from nextcloud/stable10_864Joas Schilling2016-08-181-5/+9
|\ \ | |/ |/| [Stable10] Ensure the user exists before calling a method on it
| * use $userId instead of $userJörn Friedrich Dreyer2016-08-171-3/+3
| |
| * Ensure the user exists before calling a method on it - fixes #24751Thomas Müller2016-08-171-3/+7
| |