]> source.dussan.org Git - nextcloud-server.git/commit
Fixed download file from URL error messages
authorVincent Petry <pvince81@owncloud.com>
Tue, 10 Dec 2013 14:32:48 +0000 (15:32 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 12 Dec 2013 09:38:12 +0000 (10:38 +0100)
commit335b2f40a631f7188ab921d69289acaf31908c6e
tree144c2f7233a0b27b6cae5fc0a81f817b968770f1
parent3084a52a970c83ca35135f490b9bcb06b9900867
Fixed download file from URL error messages

- L10N now converted to string to make them work with json_encode
- Added specific error message when server doesn't allow fopen on URLs
- Fixed client side to correctly show error message in a notification
- Added OCP\JSON::encode() method to encode JSON with support for the
  OC_L10N_String values
apps/files/ajax/newfile.php
apps/files/js/file-upload.js
lib/private/eventsource.php
lib/private/json.php
lib/public/json.php