Commit Graph

12358 Commits

Author SHA1 Message Date
Nextcloud bot 7dc0de8cb1
[tx-robot] updated from transifex 2016-10-01 00:08:30 +00:00
Nextcloud bot 64e3167dcc
[tx-robot] updated from transifex 2016-09-30 00:08:19 +00:00
Lukas Reschke 766abeeae6 Merge pull request #1536 from nextcloud/backport-1489-ocs-status-code-when-app-is-disabled
[stable10] Return 404 on v2.php when the app is disabled
2016-09-28 23:02:43 +02:00
Morris Jobke bf0dfa997f Merge pull request #1526 from nextcloud/more-error-handling-in-copyr-stable10
[stable10] Graceful error handling and logging
2016-09-28 22:40:56 +02:00
Morris Jobke 3e93dbd404 Merge pull request #1522 from nextcloud/stable9.1-3f53730159d94bbc2b53129a4c750f5bab40a26e
[stable10] Fix mimetype detection inside hidden folders (#26138) (#2…
2016-09-28 22:03:02 +02:00
Morris Jobke 1a1ec21943 Merge pull request #1548 from nextcloud/stable9.1-d887671424e6a5980401f552f163062003afce94
[stable10] Change the minimum log level to fatal (#26213)
2016-09-28 22:01:58 +02:00
Morris Jobke 43aa114169 Merge pull request #1533 from nextcloud/stable10-redo-1517
[stable10] Only use realpath for real directories (#26060)
2016-09-28 22:01:29 +02:00
Juan Pablo Villafañez 6fd3974c8b
[stable9.1] Change the minimum log level to fatal (#26213)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:40:13 +02:00
Joas Schilling 4077f7141f
Use the same URL everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 15:00:16 +02:00
Joas Schilling 0fac5146bd
Return the autoupdater value from the server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 14:58:57 +02:00
Joas Schilling bbbad09383
Return 404 on v2.php when the app is disabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 11:13:13 +02:00
Nextcloud bot 0a683682b2
[tx-robot] updated from transifex 2016-09-27 00:09:53 +00:00
Vincent Petry 4cbdf51ddb
Only use realpath for real directories (#26060)
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>
2016-09-27 00:15:27 +02:00
Morris Jobke 85d7b90b24 Revert "[stable10] Only use realpath for real directories (#26060)" 2016-09-27 00:12:23 +02:00
Morris Jobke ffaa2512f3 Merge pull request #1517 from nextcloud/stable9.1-fix-openbasedir-realpath-warning
[stable10] Only use realpath for real directories (#26060)
2016-09-27 00:11:42 +02:00
Lukas Reschke 9486dbb385 Merge pull request #1500 from nextcloud/stable10-backport-1499
[stable10] Add repair step and revert "Open updater" button
2016-09-26 22:28:53 +02:00
Morris Jobke a39d5ca37d
write channel to config file when changed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-09-26 13:48:05 +02:00
Lukas Reschke 2ecf5722ec
Graceful error handling and logging
Right now a failed "copyr" will result in the error log being spammed with not really helpful error messages. Also situations such as `$dir` returning `false` are not really caught.

This adds more error handling and logging to make debugging such situations easier.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 12:25:45 +02:00
Thomas Müller fca4098fac
[stable9.1] Fix mimetype detection inside hidden folders (#26138) (#26151)
Downstreaming of https://github.com/owncloud/core/pull/26151

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:33:13 +02:00
Vincent Petry 7535d3e391
Only use realpath for real directories (#26060)
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>
2016-09-26 11:22:46 +02:00
Nextcloud bot 15d7b8c2f1
[tx-robot] updated from transifex 2016-09-25 00:09:47 +00:00
Morris Jobke 038a03540f
Add repair step to remove .step file after update
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-09-23 13:49:40 +02:00
Nextcloud bot c6e770959f
[tx-robot] updated from transifex 2016-09-23 00:09:51 +00:00
Nextcloud bot 28ad84cc19
[tx-robot] updated from transifex 2016-09-22 00:11:39 +00:00
Nextcloud bot 804dfd1d59
[tx-robot] updated from transifex 2016-09-20 00:09:44 +00:00
Nextcloud bot 0a0079e89c
[tx-robot] updated from transifex 2016-09-19 00:09:39 +00:00
Nextcloud bot 466a219cd7
[tx-robot] updated from transifex 2016-09-18 00:09:33 +00:00
Nextcloud bot f23ae4de2f
[tx-robot] updated from transifex 2016-09-15 00:12:44 +00:00
Morris Jobke 9ca848c317
Opening the trashbin causes errors in log for files without preview
* 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.
2016-09-13 20:18:09 +02:00
Roeland Jago Douma 318ea301c3 Merge pull request #1379 from nextcloud/stable10-backport-711
stable10 backport: Apply password policy on user creation
2016-09-13 19:35:35 +02:00
Joas Schilling 107b418815
Fix MissingMandatoryParametersException for share notifications
The routing system is non-forgiving
2016-09-13 14:09:34 +02:00
Nextcloud bot 7c3934d3e6
[tx-robot] updated from transifex 2016-09-13 00:11:26 +00:00
michag86 5fc59a1515 Apply password policy on user creation 2016-09-12 22:45:46 +02:00
Bjoern Schiessle 7d183a28d2
skip shared files, if files get decrypted only for a specific user we shouldn't touch files owned by a different user. 2016-09-09 14:55:46 +02:00
Lukas Reschke 2ae08d6fc2
Match only for actual session cookie
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.
2016-09-08 21:07:05 +02:00
Lukas Reschke 1914e7082a
Add exemptions for incompatible UAs
Some user agents are notorious and don't really properly follow HTTP
 specifications. For those, have an automated opt-out. Since the protection
for remote.php is applied in base.php as starting point we need to opt out
here.
2016-09-08 21:06:57 +02:00
Morris Jobke 520bfa872b Merge pull request #1324 from nextcloud/backport-1323-show-download-button-for-updates-atm
[stable10] Show an download button instead of the updater
2016-09-08 15:41:45 +02:00
Morris Jobke 72fed6e8b8 Merge pull request #1322 from nextcloud/backport-1225-allow-to-validate-password-policy
Allow to validate the password_policy app
2016-09-08 15:36:03 +02:00
Joas Schilling 280a452055
Change updater URL 2016-09-08 12:29:37 +02:00
Joas Schilling 69b063f4c6
Allow to validate the password_policy app 2016-09-08 09:56:48 +02:00
Joas Schilling 810f99c1c9
Correctly remove the charset from finfo mimetype 2016-09-08 09:20:34 +02:00
Nextcloud bot 8c4e5a923a
[tx-robot] updated from transifex 2016-09-08 00:10:28 +00:00
Morris Jobke 12d077065c
Fix updater URL 2016-09-07 19:08:34 +02:00
Morris Jobke e83cb0bf56 Merge pull request #1305 from nextcloud/backport-1287-correctly-remove-admin-stuff
[stable10] Correctly remove admin sections and settings
2016-09-07 16:58:08 +02:00
Roeland Jago Douma 7c49ab4bb0 Merge pull request #1288 from nextcloud/backport-1284-allow-status.php-before-install
[stable10] Allow to call status.php before the instance is installed
2016-09-07 16:27:10 +02:00
Joas Schilling 28b00c5bea
Correctly remove admin sections and settings 2016-09-07 14:37:48 +02:00
Joas Schilling 27f7416519
Move navigation entries without order to the end 2016-09-07 10:52:21 +02:00
Joas Schilling 0a2b5b75de
Allow to call status.php before the instance is installed 2016-09-06 16:08:02 +02:00
Nextcloud bot 1193d8d1b4
[tx-robot] updated from transifex 2016-09-05 00:09:16 +00:00
Nextcloud bot c5f2917e1a
[tx-robot] updated from transifex 2016-09-04 00:09:28 +00:00