Lukas Reschke
c13a8acbb5
Don't show warning when has_internet_connection is set to false
...
Revert
Add disabled
2014-09-05 15:58:33 +02:00
Vincent Petry
e43c9b84c4
Catch exceptions when moving files
...
When moving files on storages that don't expose permissions, the storage
itself might throw an exception when the permission is denied.
This fix ensures that exceptions are caught and forwarded to the client
instead of just hanging.
2014-09-05 14:54:06 +02:00
Lukas Reschke
c9afa60f62
Move trusted domain check to init()
...
handleRequest() is not called from remote.php or public.php which made these files party available but all included apps in there produced errors.
As the expected behaviour is anyways that a trusted domain warning is shown I moved this to init()
Fixes https://github.com/owncloud/core/issues/10064
2014-09-05 14:10:35 +02:00
Arthur Schiwon
3c9668f605
if only one attribute is requested, the returned array has 0 as key instead of attribute name. fixes #10888
2014-09-05 14:05:37 +02:00
Jörn Friedrich Dreyer
8488be4d03
Keep fileid on move in objectstore, fixes #10848
2014-09-05 13:25:59 +02:00
Robin Appelman
a1f4a0601b
Fix hasUpdated for folders in swift backend
2014-09-05 13:23:10 +02:00
Robin Appelman
3d7aff84e5
Fix configuration of rackspace
2014-09-05 13:22:35 +02:00
Vincent Petry
5913a694de
Merge pull request #10870 from owncloud/dnd-droponreadonlyfolderfix
...
Added permission check for drag and drop
2014-09-05 12:20:48 +02:00
Robin Appelman
e29b7e9335
Remove explicit propagate calls
2014-09-05 11:53:24 +02:00
Robin Appelman
58a1540587
remove unstable test
2014-09-05 11:53:24 +02:00
Robin Appelman
d0e83a71aa
Update cache before post hooks
2014-09-05 11:53:24 +02:00
Robin Appelman
1d8a88dd1b
Fix warning in homecache
2014-09-05 11:53:23 +02:00
Robin Appelman
3d92f963f4
Fix unit test
2014-09-05 11:53:23 +02:00
Robin Appelman
65d24c3cd5
Improve unit tests for Cache\Updater
2014-09-05 11:53:23 +02:00
Robin Appelman
850542c5d6
Refactor Cache\Updater to work outside of the users home
2014-09-05 11:53:23 +02:00
Jesus Macias Portela
614cf996ca
Merge pull request #10871 from owncloud/issue_10674
...
Fix 3rdparty pointer
2014-09-05 09:03:07 +02:00
Jenkins for ownCloud
0736a6695e
[tx-robot] updated from transifex
2014-09-05 01:54:39 -04:00
Jesus Macias
096991e208
Fix 3rdparty pointer
2014-09-04 21:34:56 +02:00
kondou
ecc9b42e41
Match \OC_Helper::linkToPublic() to new links and fit unittests
2014-09-04 20:44:50 +02:00
Vincent Petry
f1bfe35cda
Added permission check for drag and drop
...
When dropping files onto a read-only folder, a notification
is now shown instead of attempting to upload.
This for both the drag for upload and drag from inside the file list
cases.
2014-09-04 20:18:24 +02:00
kondou
a10411d2bc
Readd TOKEN_LENGTH
2014-09-04 19:09:26 +02:00
Jesus Macias Portela
523680cef2
Merge pull request #10840 from owncloud/issue_10674
...
Solve bug with touch always return true on /lib/private/files/view.php
2014-09-04 17:29:08 +02:00
kondou
226b203e20
Use base62 and remove configuration options for link length
2014-09-04 16:20:20 +02:00
kondou
c2d8eabd71
Change config.sample entry and use MediumSecurity
2014-09-04 15:52:23 +02:00
kondou
3bf725d7e0
Adapt token size to new generation and add an option for free length specification
...
Minimum size is 3 = 46656 tokens, maximum size is 64, which is what our DB allows.
2014-09-04 15:24:33 +02:00
kondou
2a4c51389c
Use a route instead of s.php and convert tokens asap
2014-09-04 15:23:55 +02:00
kondou
0f2ad9862e
Initial work on shorter links
2014-09-04 15:23:53 +02:00
Jörn Friedrich Dreyer
331f9cb98d
add / to url to match route
2014-09-04 13:58:37 +02:00
Lukas Reschke
1a7df33233
Merge pull request #10818 from owncloud/enableappforgroupfix
...
Fix upgrade process when apps enabled for specific groups
2014-09-04 13:56:41 +02:00
chli1
712487c861
fix BadRequest error if CONTENT_LENGTH not set
...
If client does not send content length header on webdav upload (e.g. because the content comes from a stream and its length is not predictable) the put() method should not try to compare the content length value with the actually amount of received data, because this will always fail and results in a BadRequest exception. So the check will only be performed if $_SERVER['CONTENT_LENGTH'] is set.
2014-09-04 13:49:15 +02:00
Vincent Petry
d261ca616b
Merge pull request #10244 from owncloud/utf8-folder-test
...
add utf8 folder test
2014-09-04 13:42:17 +02:00
Robin Appelman
fa3393674c
Better phpdoc and method naming
2014-09-04 13:26:51 +02:00
Robin Appelman
8605e2e6a5
Explicitly cast id and validate type
2014-09-04 13:26:47 +02:00
Olivier Paroz
bbc2d7cf4f
Typ in whichOpenOffice test
2014-09-04 12:54:20 +02:00
Vincent Petry
6ca9e27438
Scroll to new file/folder after adding
...
When creating a new file from the menu, the list now scrolls to that
file.
2014-09-04 12:34:17 +02:00
Vincent Petry
9ae000676c
Fixed scrollto for search results
...
Now passing the "scrollto" URL argument to the file list class which
will also automatically scroll and highlight the matching element.
This code is triggered by the search box when in a different folder and
also by the activity app.
2014-09-04 12:20:11 +02:00
Joas Schilling
7a7e102390
Fix broken new lines in plain text mail template
2014-09-04 11:30:54 +02:00
Joas Schilling
a0e8e88bc6
Use correct language package so the subject is correctly translated
...
Fix #10847
2014-09-04 11:23:23 +02:00
Jenkins for ownCloud
a8861c70c8
[tx-robot] updated from transifex
2014-09-04 01:55:22 -04:00
Lukas Reschke
8fec19a872
Merge pull request #10790 from cbhp/master
...
added missing User-Agents
2014-09-03 22:40:12 +02:00
Andreas Fischer
16606f44d7
Merge pull request #10849 from owncloud/UseProperRandomFunction
...
Use proper RNG
* owncloud/UseProperRandomFunction:
Use proper RNG generator
2014-09-03 21:13:54 +02:00
pdessauw
63dff87953
Merge pull request #9195 from owncloud/fix-733
...
Scroll to uploaded file in file list
2014-09-03 15:07:22 -04:00
Lukas Reschke
a9a2397c1c
Merge pull request #10842 from owncloud/remove-add-to-your-owncloud-if-disabled
...
Hiding add to your own cloud if server2server sharing is not enabled
2014-09-03 20:58:47 +02:00
Jesus Macias
00a878880f
Merge branch 'issue_10674' of github.com:owncloud/core into issue_10674
2014-09-03 18:22:27 +02:00
Jesus Macias
91c8174013
Fix code with previous comments
2014-09-03 18:21:24 +02:00
Jesus Macias
bc3378bd55
Solve bug with touch always return true on /lib/private/files/view.php
2014-09-03 18:21:24 +02:00
Jesus Macias
883649b69c
Reset changes on 3rdparty submodule
2014-09-03 18:20:09 +02:00
Jesus Macias
516ec661c0
Fix code with previous comments
2014-09-03 18:12:36 +02:00
cbhp
c00450b2c7
always use a user-agent constant
...
Some providers block connections with missing user-agents. Also
user-agents are useful for analyzing requests. I've added a USER_AGENT
constant that is used in cURL and in file_get_contents.
2014-09-03 18:00:05 +02:00
Lukas Reschke
63a90a129b
Use proper RNG generator
...
OC_Util::generateRandomBytes() only returns lowercase alphanumeric values.
We should use the new RNG which has a broader characterset.
2014-09-03 17:46:48 +02:00