Vincent Petry
f8cfc03f36
Replace originalStorage in tests with a proper teardown
...
The purpose of $originalStorage in unit tests was to remount the old
root.
However that storage itself is already wrapped by storage wrapper, so
remounting it would rewrap the storage several times.
This fix makes use of "loginAsUser()" and "logout()" from the TestCase
class to properly initialize and cleanup the FS as expected.
2015-04-08 12:45:38 +02:00
James Anslow
d53aa4a816
Fixing issue #15322 - showing Settings button next to gear icon
2015-04-08 11:57:33 +02:00
Morris Jobke
cefdcea021
[command] delete orphaned file cache entries
...
* ./occ files:cleanup
* delete file cache entries without an existing storage
2015-04-08 10:23:56 +02:00
Bjoern Schiessle
ee53ba5ed6
remove encryption specific code from files app
2015-04-07 13:30:30 +02:00
Thomas Müller
bf809ac85a
Removing left overs from old encryption app
2015-04-07 13:30:29 +02:00
Thomas Müller
00338f9dca
Removing files_encryption left overs
2015-04-07 13:30:28 +02:00
Joas Schilling
e16d61e293
Remove server timezone dependency from files list test
2015-04-07 10:12:15 +02:00
Jenkins for ownCloud
95e55aa4ad
[tx-robot] updated from transifex
2015-04-07 01:54:47 -04:00
Jenkins for ownCloud
9b250baf9e
[tx-robot] updated from transifex
2015-04-04 01:54:43 -04:00
Thomas Müller
3bf269e565
Merge pull request #15229 from owncloud/response-setContentLengthHeader
...
Add OC_Response::setContentLengthHeader() for Apache PHP SAPI workaround...
2015-04-03 22:51:36 +02:00
Jenkins for ownCloud
23f1702f24
[tx-robot] updated from transifex
2015-04-03 01:54:53 -04:00
Jenkins for ownCloud
cc96105ebe
[tx-robot] updated from transifex
2015-04-02 01:54:47 -04:00
Joas Schilling
730efe25a4
Make scrutinizer happy
2015-04-01 12:13:49 +02:00
Roeland Jago Douma
2b81d0f237
Move core apps from private to public functions
...
Apps still use OC_Helper and OC_Util functions even when public ones are
already available. Sometimes the public one is even used in the same
file.
2015-04-01 12:06:04 +02:00
Jenkins for ownCloud
f5c7ba6b81
[tx-robot] updated from transifex
2015-04-01 01:55:33 -04:00
Joas Schilling
efcc2e87ab
Adjust by/self filter aswell and fix tests
2015-03-31 17:35:04 +02:00
Joas Schilling
116b257b4d
DeMorgan applied the wrong transformation
2015-03-31 17:07:44 +02:00
Jenkins for ownCloud
1d06d93d27
[tx-robot] updated from transifex
2015-03-31 01:55:55 -04:00
Joas Schilling
9233d32834
Move tag related code into a helper so we can test the query without a view
2015-03-30 17:21:06 +02:00
Joas Schilling
e365ea7ec5
Use DI for the objects where possible
2015-03-30 15:23:10 +02:00
Joas Schilling
17f882c3cf
Add a filter for favorites and allow limiting the all-list to favorites
...
WARNING: do not use this, when you have a lot of favorites, ~50 should be the
limit
2015-03-30 15:23:09 +02:00
Jenkins for ownCloud
1db9605afb
[tx-robot] updated from transifex
2015-03-29 01:55:31 -04:00
Jenkins for ownCloud
8b9b600644
[tx-robot] updated from transifex
2015-03-28 01:55:46 -04:00
Thomas Müller
0ecc1c89ad
Merge pull request #15254 from owncloud/fix-14853-master
...
Adding a pending indicator to the files summary
2015-03-27 14:18:47 +01:00
Vincent Petry
7ad4dfa201
Merge pull request #15227 from owncloud/ocetag-header
...
Copy Etag header to OC-Etag for sabre calls
2015-03-27 13:10:27 +01:00
Morris Jobke
5aa81833f9
Merge pull request #15260 from owncloud/adjust-controls-bar-width
...
adjust controls bar width to not overlay scrollbar
2015-03-27 11:56:22 +01:00
Jenkins for ownCloud
880b31c513
[tx-robot] updated from transifex
2015-03-27 01:56:21 -04:00
Jan-Christoph Borchardt
d728b85fdd
adjust controls bar width to not overlay scrollbar
2015-03-27 01:34:55 +01:00
Thomas Müller
2b0906cdff
Adding a pending indicator to the files summary - fixes #14853
2015-03-27 01:16:29 +01:00
Jan-Christoph Borchardt
e09fd331eb
adjust emptycontent messages for files and files_external
2015-03-26 23:22:26 +01:00
Morris Jobke
d3ed020d34
Merge pull request #15214 from owncloud/no-php-timeouts-on-webdav-master
...
no php execution timeout for webdav
2015-03-26 20:18:01 +01:00
Thomas Müller
a8b756154a
Merge pull request #14495 from owncloud/update-mailmap-01
...
Updating .mailmap
2015-03-26 17:17:18 +01:00
Andreas Fischer
0f58315543
Add OC_Response::setContentLengthHeader() for Apache PHP SAPI workaround.
...
Do not send Content-Length headers with a value larger than PHP_INT_MAX
(2147483647) on Apache PHP SAPI 32-bit. PHP will eat them and send 2147483647
instead.
When X-Sendfile is enabled, Apache will send a correct Content-Length header,
even for files larger than 2147483647 bytes. When X-Sendfile is not enabled,
ownCloud will not send a Content-Length header. This prevents progress bars
from working, but allows the actual transfer to work properly.
2015-03-26 16:37:38 +01:00
Vincent Petry
70acd58336
Copy Etag header to OC-Etag for sabre calls
2015-03-26 16:06:43 +01:00
Robin McCorkell
a323d781a6
Revert "add https:// placeholder for From Link feature. closes #13255"
...
This reverts commit 18b5966f3a
.
2015-03-26 14:47:21 +00:00
Thomas Müller
f9525b153e
no php execution timeout for webdav
2015-03-26 11:55:26 +01:00
Jenkins for ownCloud
b585d87d9d
Update license headers
2015-03-26 11:44:36 +01:00
Morris Jobke
92f0dba3c8
Show hidden files (dot files) in gray
2015-03-26 10:35:27 +01:00
Jenkins for ownCloud
40b77eb97a
[tx-robot] updated from transifex
2015-03-26 01:55:29 -04:00
Morris Jobke
dac4436807
Merge pull request #15170 from owncloud/middleclickbreadcrumb
...
Fix middle click on breadcrumb
2015-03-26 00:19:52 +01:00
Vincent Petry
b3de3d7245
Fix breadcrumb click JS unit test
2015-03-25 09:27:55 +01:00
Jan-Christoph Borchardt
e188f0e436
Merge pull request #14970 from owncloud/sidebar-enhancements
...
sidebar fixes
2015-03-25 09:16:49 +01:00
Jenkins for ownCloud
fb61889490
[tx-robot] updated from transifex
2015-03-25 01:55:46 -04:00
Vincent Petry
2b8ef3aca9
Fix middle click on breadcrumb
2015-03-24 22:05:02 +01:00
Roeland Jago Douma
0ea3878111
No longer directly output OC_Image for thumbnails
...
* Only use public interfaces
- Injected IPreview
* Added unit tests
2015-03-24 18:55:06 +01:00
Jan-Christoph Borchardt
7ea061e6f0
correctly align file list summary when the list has the favorite feature
2015-03-24 15:26:17 +01:00
Jan-Christoph Borchardt
fcac7d8c13
double padding to account for Deleted files entry, issue with Firefox
2015-03-24 15:14:20 +01:00
Vincent Petry
46475bf580
Merge pull request #15003 from owncloud/issue/14859-speed-up-favorite-list
...
Do not walk over the users directory, but over the list of tagged objects
2015-03-24 13:26:59 +01:00
Joas Schilling
f2be172ae8
Do not duplicate the empty content css
2015-03-24 11:29:29 +01:00
Jenkins for ownCloud
9cb07f126d
[tx-robot] updated from transifex
2015-03-24 01:55:24 -04:00
Lukas Reschke
02c0fe8d43
Merge pull request #13941 from owncloud/fix-folder-upload-on-firefox
...
Show message if upload of folder isn't allowed
2015-03-23 17:18:46 +01:00
Joas Schilling
1a26263123
Do not walk over the users directory, but over the list of tagged objects
...
Way quicker
2015-03-23 15:10:58 +01:00
Jenkins for ownCloud
a9b4f0d842
[tx-robot] updated from transifex
2015-03-23 01:54:48 -04:00
Jenkins for ownCloud
a79d973005
[tx-robot] updated from transifex
2015-03-22 01:55:21 -04:00
Jenkins for ownCloud
e36a33c89a
[tx-robot] updated from transifex
2015-03-21 01:56:09 -04:00
Jenkins for ownCloud
e8680e6637
[tx-robot] updated from transifex
2015-03-20 01:55:23 -04:00
Jenkins for ownCloud
e40b0701d7
[tx-robot] updated from transifex
2015-03-19 01:55:06 -04:00
Jan-Christoph Borchardt
e5fd6816df
fix position of 'Deleted files' sidebar entry, fix #10815
2015-03-18 13:31:16 +01:00
Jenkins for ownCloud
8a95bf18b7
[tx-robot] updated from transifex
2015-03-18 01:55:22 -04:00
Jan-Christoph Borchardt
ce89f12566
add whitespace to prevent file deletion when wanting to scroll
2015-03-17 16:54:42 +01:00
Joas Schilling
9c45ab49a1
Use a closure for the files app entry and deprecate old methods
2015-03-17 12:17:09 +01:00
Jenkins for ownCloud
b51b4f0a2c
[tx-robot] updated from transifex
2015-03-17 01:55:43 -04:00
Thomas Müller
1e0d8f1774
Merge pull request #14133 from rullzer/fix_10600
...
Always display max upload size in admin panel
2015-03-16 10:05:57 +01:00
Jenkins for ownCloud
c1a3394f48
[tx-robot] updated from transifex
2015-03-16 01:55:15 -04:00
Thomas Müller
5054b8e4aa
Merge pull request #14785 from owncloud/issue/14733-active-class-missing-for-admin-navigation-entry
...
Do not overwrite the active menu entry of the navigation
2015-03-12 10:45:03 +01:00
Jenkins for ownCloud
454a2563bc
[tx-robot] updated from transifex
2015-03-12 01:55:59 -04:00
Thomas Müller
0f3e36fdfd
Adding a more meaningful message for sabre dav exception - fixes #14516
2015-03-11 11:53:31 +01:00
Joas Schilling
981c60f5f5
Do not overwrite the active menu entry of the navigation
2015-03-11 09:27:28 +01:00
Jenkins for ownCloud
01ea056ac8
[tx-robot] updated from transifex
2015-03-11 01:55:38 -04:00
Thomas Müller
abacfd84da
fixing js unit tests
2015-03-09 10:38:38 +01:00
Thomas Müller
4bac595068
adding storage specific filename verification - refs #13640
2015-03-09 10:38:37 +01:00
Jenkins for ownCloud
174f8cef64
[tx-robot] updated from transifex
2015-03-09 01:54:36 -04:00
Jenkins for ownCloud
377165ae51
[tx-robot] updated from transifex
2015-03-08 01:54:36 -05:00
Jenkins for ownCloud
7e0fd8fb50
[tx-robot] updated from transifex
2015-03-05 01:56:35 -05:00
Jenkins for ownCloud
84785a6a39
[tx-robot] updated from transifex
2015-03-04 01:55:19 -05:00
Vincent Petry
133c37fe22
Merge pull request #14652 from owncloud/kill-download-from-url
...
Remove "Download from URL" feature
2015-03-03 10:10:15 +01:00
Jenkins for ownCloud
e271fa3ee8
[tx-robot] updated from transifex
2015-03-03 01:55:50 -05:00
Thomas Müller
345c527ed0
remove $content parameter
2015-03-02 21:33:17 +01:00
Lukas Reschke
acabd81f42
Remove "Download from URL" feature
...
Fixes https://github.com/owncloud/core/issues/13326
2015-03-02 21:06:25 +01:00
Jenkins for ownCloud
ff85d38c2a
[tx-robot] updated from transifex
2015-03-01 01:54:38 -05:00
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
...
This reverts commit 6a1a4880f0
.
2015-02-26 11:37:37 +01:00
Jenkins for ownCloud
8a4fddeb4a
[tx-robot] updated from transifex
2015-02-26 01:55:50 -05:00
Thomas Müller
799e144b04
Merge pull request #14151 from owncloud/update-sabre2.1
...
Sabre Update to 2.1
2015-02-25 02:21:55 -08:00
Thomas Müller
b3de86d851
Remove locks plugin.
...
Reasoning:
- a WebDAV server is not required to implement locking support
- WebDAV Locking is know to break the sync algorithm
- the current lock implementation is known to be broken (locks are not moved if a file is moved, locks on shared files don't work)
2015-02-25 10:30:47 +01:00
Jenkins for ownCloud
31f881415b
[tx-robot] updated from transifex
2015-02-25 01:55:51 -05:00
Joas Schilling
a320edaca5
Merge pull request #14419 from owncloud/preview_apostrophe_fix
...
fix issue with previews not being displayed if filename contains apostrophe
2015-02-24 09:58:53 +01:00
Jenkins for ownCloud
cdb4cfd939
[tx-robot] updated from transifex
2015-02-24 01:54:58 -05:00
Lukas Reschke
432d7be8cc
Show a empty response for GET on non-files instead of the Browser Plugin
2015-02-23 22:27:23 +01:00
Vincent Petry
9f6dcb9d3e
Sabre Update to 2.1
...
- VObject fixes for Sabre\VObject 3.3
- Remove VObject property workarounds
- Added prefetching for tags in sabre tags plugin
- Moved oc_properties logic to separate PropertyStorage backend (WIP)
- Fixed Sabre connector namespaces
- Improved files plugin to handle props on-demand
- Moved allowed props from server class to files plugin
- Fixed tags caching for files that are known to have no tags
(less queries)
- Added/fixed unit tests for Sabre FilesPlugin, TagsPlugin
- Replace OC\Connector\Sabre\Request with direct call to
httpRequest->setUrl()
- Fix exception detection in DAV client when using Sabre\DAV\Client
- Added setETag() on Node instead of using the static FileSystem
- Also preload tags/props when depth is infinity
2015-02-23 22:27:23 +01:00
Jenkins for ownCloud
6a1a4880f0
Updating license headers
2015-02-23 12:13:59 +01:00
Georg Ehrke
8e02592e3f
fix issue with previews not being displayed if filename contains apostrophe
2015-02-22 16:51:16 +01:00
Jenkins for ownCloud
ef09e5d395
[tx-robot] updated from transifex
2015-02-22 01:54:42 -05:00
Jenkins for ownCloud
906c0e7798
[tx-robot] updated from transifex
2015-02-21 01:54:38 -05:00
Lukas Reschke
6e9a2515ea
Merge pull request #14278 from owncloud/fix-index
...
Check if the offset exists before accessing
2015-02-20 14:56:13 +01:00
Morris Jobke
7cb25149c8
Merge pull request #13645 from owncloud/fix-breadcrumb-backslash
...
Parse backslash as directory separator in breadcrumb
2015-02-20 13:36:38 +01:00
Jenkins for ownCloud
79ef5eda96
[tx-robot] updated from transifex
2015-02-20 01:55:01 -05:00
Thomas Müller
b7ff0d44d8
apply backslash fix to _setCurrentDir
2015-02-19 20:20:33 +01:00
Morris Jobke
75a7bcb10c
Merge pull request #14199 from owncloud/cast-type-manually
...
Manually type-cast all AJAX files
2015-02-19 17:19:54 +01:00
Thomas Müller
df58eea93f
Merge pull request #13505 from owncloud/streamline-scanning-code
...
Streamline auth and CSRF check in scan.php
2015-02-19 16:35:05 +01:00
Vincent Petry
610761d1f7
Merge pull request #14211 from owncloud/activity/225-files-extension-jenkins
...
Activity/225 Move displaying of files related activities to files app
2015-02-18 14:47:15 +01:00
Lukas Reschke
3213b04aef
Check if the offset exists before accessing
...
This checks if the offset exists before accessing it and also adds unit tests to this function which would have catched this before 🙈
Fixes https://github.com/owncloud/core/issues/14277
2015-02-17 17:08:23 +01:00
Jenkins for ownCloud
30ca14021c
[tx-robot] updated from transifex
2015-02-17 01:56:23 -05:00
Jenkins for ownCloud
31c0cce092
[tx-robot] updated from transifex
2015-02-15 01:54:31 -05:00
Joas Schilling
200c0c89dc
Do not change behaviour of 'false'
2015-02-13 15:18:07 +01:00
Joas Schilling
d20a8fae45
Move displaying of files related activities to files app
2015-02-13 13:37:10 +01:00
Lukas Reschke
a7df23ceba
Manually type-case all AJAX files
...
This enforces proper types on POST and GET arguments where I considered it sensible. I didn't update some as I don't know what kind of values they would support 🙈
Fixes https://github.com/owncloud/core/issues/14196 for core
2015-02-13 13:33:20 +01:00
Lukas Reschke
9904b30070
Ensure that passed argument is always a string
...
Some code paths called the `normalizePath` functionality with types other than a string which resulted in unexpected behaviour.
Thus the function is now manually casting the type to a string and I corrected the usage in list.php as well.
2015-02-13 12:49:34 +01:00
Roeland Jago Douma
bdd785f5e6
Always display max upload size in admin panel
2015-02-13 11:39:30 +01:00
Jenkins for ownCloud
e929d43bb6
[tx-robot] updated from transifex
2015-02-12 01:54:41 -05:00
Lukas Reschke
1c1bd058e4
Remove unused file
...
This file is unused and has been last modified two years ago. Furthermore it won't evne work anymore properly because it uses things like `CONFIG_DATEFORMAT` which are gone a long time ago...
2015-02-11 23:26:48 +01:00
Jenkins for ownCloud
9baf7a0a3f
[tx-robot] updated from transifex
2015-02-11 01:55:07 -05:00
Jenkins for ownCloud
124e48aec0
[tx-robot] updated from transifex
2015-02-10 01:55:06 -05:00
Morris Jobke
4a99849c6c
Merge pull request #13663 from owncloud/issue/13624-notification-when-favorting-fails
...
Only update favorite icon if the operation was successful
2015-02-10 00:05:39 +01:00
Jenkins for ownCloud
e2d4b3c123
[tx-robot] updated from transifex
2015-02-09 01:54:53 -05:00
Morris Jobke
108f3327e6
Merge pull request #13502 from owncloud/streamline-authentication-in-newfile
...
Streamline CSRF and login check
2015-02-07 13:27:46 +01:00
Morris Jobke
77c0314503
Merge pull request #13655 from Sugaroverdose/fix_#13632
...
Do not change color of 'new' button on hover and make new file menu more consistent with button
2015-02-07 13:25:43 +01:00
Morris Jobke
b2f6b8d62e
Merge pull request #13889 from owncloud/catch-exception
...
Catch exception properly
2015-02-07 13:23:34 +01:00
Jenkins for ownCloud
4bf7b2c130
[tx-robot] updated from transifex
2015-02-07 01:54:35 -05:00
Morris Jobke
4e18b52527
Show message if upload of folder isn't allowed
...
* current firefox doesn't throw an exception anymore
* it just reads 0 bytes -> folder or empty file
* upload of folder or empty file isn't supported in every
browser except Chrome
* fixes #13940
2015-02-06 11:15:09 +01:00
Jenkins for ownCloud
988027fdca
[tx-robot] updated from transifex
2015-02-06 15:26:04 -05:00
Jenkins for ownCloud
bd60abbefc
[tx-robot] updated from transifex
2015-02-06 01:57:07 -05:00
Jenkins for ownCloud
9adff77040
[tx-robot] updated from transifex
2015-02-05 01:54:49 -05:00
Lukas Reschke
cc80ce70b4
Catch exception properly
...
`\OCA\Files\Helper::buildFileStorageStatistics` might throw an exception from `OC_Helper::getStorageInfo`, previously this lead to a uncatched exception being thrown when invoking this methods.
This was user triggable by for example calling `/index.php/apps/files/ajax/delete.php` with a not existing dir (for example `dir=asdf/../&allfiles=true`)
2015-02-04 15:58:16 +01:00
Jenkins for ownCloud
77e9c212ed
[tx-robot] updated from transifex
2015-02-04 01:55:49 -05:00
Jenkins for ownCloud
6aef13fb07
[tx-robot] updated from transifex
2015-02-03 01:54:50 -05:00
Joas Schilling
12f835b198
toggle back when the action was not performed
2015-02-02 11:17:55 +01:00
Morris Jobke
8e2b99c3a9
fix response for tags and show error message
2015-02-02 11:17:54 +01:00
Joas Schilling
df75a6e5f3
Only update favorite icon if the operation was successful
...
Also shows a notification in case an error occured on updating the tags
2015-02-02 11:17:54 +01:00
Jenkins for ownCloud
c877fbdac8
[tx-robot] updated from transifex
2015-01-31 01:54:39 -05:00
Sugaroverdose
e57e273a40
Prevent 1px padding between button and dropdown in ie11 when zooming
2015-01-28 22:44:12 +03:00
Sugaroverdose
0418c9da3d
Play with z-index to make proper dropdown overlap
2015-01-28 20:24:12 +03:00
Jenkins for ownCloud
f4d20dc1f3
[tx-robot] updated from transifex
2015-01-30 01:55:06 -05:00
Jenkins for ownCloud
55142186de
[tx-robot] updated from transifex
2015-01-28 01:55:53 -05:00
Joas Schilling
d6939d67da
Remove duplicated definition of APIController
2015-01-26 10:20:01 +01:00
Sugaroverdose
8605e84547
Fix #13632 and make new file menu more consistent with button
2015-01-25 20:15:08 +03:00
Jenkins for ownCloud
a698637e91
[tx-robot] updated from transifex
2015-01-25 01:54:38 -05:00
Lukas Reschke
b848062d88
Parse backslash as directory separator in breadcrumb
...
This will parse backslashes as directory separators in breadcrumbs. Thus when accessing something like `/index.php/apps/files?dir=foo\foo` the breadcrumb will properly resolve this instead of showing `foo\foo`
Fixes https://github.com/owncloud/core/issues/13643
2015-01-24 09:56:00 +01:00
Jenkins for ownCloud
b8e1dd9c87
[tx-robot] updated from transifex
2015-01-24 01:54:51 -05:00
Joas Schilling
7e6d2c73d2
Ignore favorites that are not available when creating the favorites list
...
Also correctly return the exception for all cases when adding/removing favos
2015-01-23 10:11:14 +01:00
Jenkins for ownCloud
b8ab21d3ad
[tx-robot] updated from transifex
2015-01-21 01:55:15 -05:00
Lukas Reschke
3f5d4d82e4
Streamline auth and CSRF check in scan.php
...
Furthermore a not logged-in user was able to access this page before which resulted in a Fatal PHP error since the filesystem could not get setup properly.
2015-01-20 12:30:16 +01:00
Lukas Reschke
e25a0303f4
Streamline CSRF and login check
...
Let's make this consistent with other pieces of the code to make it easier to auditable.
2015-01-20 12:24:13 +01:00
Jenkins for ownCloud
2ac015256f
[tx-robot] updated from transifex
2015-01-20 01:54:37 -05:00
Lukas Reschke
003fc183a2
Remove stripslashes() from newfolder.php
2015-01-19 14:12:36 +01:00
Morris Jobke
aff22b3225
Merge pull request #13276 from Sugaroverdose/fix_#11348
...
fix safari rename button positioning #11348
2015-01-18 21:42:06 +01:00
Lukas Reschke
48126c3f54
Merge pull request #13433 from owncloud/favoritesl10n
...
fix unlocalized favorites browser title and alttext
2015-01-18 20:36:19 +01:00
Jenkins for ownCloud
31cd5185f1
[tx-robot] updated from transifex
2015-01-18 01:54:34 -05:00
Volkan Gezer
d253ef51a5
fix unlocalized favorites browser title and alttext
2015-01-17 16:52:36 +01:00
Jenkins for ownCloud
60c4cb1dd6
[tx-robot] updated from transifex
2015-01-17 01:54:40 -05:00
Sugaroverdose
141908bd9c
Add ie8 text-overflow: ellipsis support
...
minimum browser window width ≈ 1280px
2015-01-17 01:43:42 +03:00