Lukas Reschke
cf25e6f569
Merge pull request #14773 from owncloud/allow-iframes-from-self-in-share-view
...
Allow iframes from same domain in share view
2015-03-11 15:13:59 +01: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
6a677ce8fe
Do not make setupMounts() public just because of testing
2015-03-11 11:10:43 +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
1757d01604
Merge pull request #14640 from owncloud/rescanversionsonlyonce
...
Only rescan versions once in trashbin
2015-03-11 00:54:20 +01:00
Thomas Müller
4ffca58bc4
don't rely on \OCP\User::getUser() - it is not set properly in case of async operations
2015-03-10 11:47:52 +01:00
Thomas Müller
7cb6811a7b
tearDown the filesystem right before setting it up again
2015-03-10 11:47:06 +01:00
Lukas Reschke
6dc59019af
Merge pull request #14346 from owncloud/storage-based-path-validation
...
adding storage specific filename verification
2015-03-10 11:02:47 +01:00
Robin Appelman
dcd2d7aff5
Add unit tests for external share mananger
2015-03-10 10:17:53 +01:00
Lukas Reschke
48243a2949
Allow iframes from same domain in share view
...
This is required because the PDF Viewer itself is embedded using an iframe from the same domain. The default policy is blocking this.
Going on further, we have to come up with a solution in the future how to handle previews by applications, one example might be that they call their own endpoint and not the generic share page to allow applications to have full control over how to display previews.
Anyways, to test this behaviour use a decent newer browser (such as Chrome 41) and share a PDF file, obviously the PDF viewer needs to be enabled as well. Without this patch publicly shared PDF files should not get previewed and an error is thrown. (if it isn't then your browser is probably not obeying our Content-Security-Policy and you might consider switching to another one ;))
2015-03-10 10:06:15 +01:00
Jenkins for ownCloud
e069d9d3f9
[tx-robot] updated from transifex
2015-03-10 01:55:39 -04:00
Morris Jobke
94b7fa17c5
Merge pull request #14720 from owncloud/fix-shareetagpropagation
...
Fix size propagation over shared storage boundary
2015-03-09 16:24:06 +01:00
Vincent Petry
ec19d9c267
Add unit test for size propagation across share boundaries
2015-03-09 12:56:22 +01: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
Morris Jobke
348fe105b1
Merge pull request #14706 from owncloud/ldap-reset-paged-search-on-null-limit
...
LDAP: set up paged search even if limit is 0
2015-03-09 08:12:25 +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
73c2157171
[tx-robot] updated from transifex
2015-03-07 01:54:37 -05:00
Jenkins for ownCloud
d11f040720
[tx-robot] updated from transifex
2015-03-06 01:54:52 -05:00
Vincent Petry
4322287fc3
Fix size propagation over shared storage boundary
2015-03-05 22:23:47 +01:00
Arthur Schiwon
42d3ed47e2
set up paged search when limit is 0
2015-03-05 13:15:21 +01:00
Jenkins for ownCloud
7e0fd8fb50
[tx-robot] updated from transifex
2015-03-05 01:56:35 -05:00
Morris Jobke
cffc256479
Merge pull request #14672 from Crote/master
...
Add --show-password option to ldap:show-config
2015-03-04 20:21:14 +01:00
Vincent Petry
e56727e27b
Merge pull request #14690 from owncloud/trash-deletelink-unittest
...
Add unit test for selection overlay actions in trashbin
2015-03-04 14:50:11 +01:00
Laurens Post
8149217371
Add --show-password option to ldap:show-config
2015-03-04 14:15:33 +01:00
Vincent Petry
3f6e7d6a43
Add unit test for selection overlay actions in trashbin
2015-03-04 13:49:19 +01:00
Thomas Müller
2831a1790c
Merge pull request #14675 from owncloud/files-external-smb-windows
...
adding a windows smb config for testing to ci
2015-03-04 12:27:59 +01:00
Robin McCorkell
ed4dc4db07
Fix slash normalization error in AmazonS3Migration unit test
...
Since aa821ecc00
leading and trailing slashes are
trimmed in the file cache paths
2015-03-04 09:22:21 +00:00
Jenkins for ownCloud
84785a6a39
[tx-robot] updated from transifex
2015-03-04 01:55:19 -05:00
Robin McCorkell
d6b9b37ddb
Use dummy storages instead of real storages in files_external unit tests
...
We were using the SMB and SFTP backends, which since Icewind's new SMB library
results in an actual attempted connection just by constructing the storage.
This commit replaces all references to real storages (except when necessary)
with a dummy storage class.
2015-03-03 17:29:17 +01:00
Thomas Müller
7d3e228365
adding a windows smb config for testing
2015-03-03 17:29:10 +01: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
Robin Appelman
c80522ed63
Expire files from the trash in the background
2015-03-02 15:25:50 +01:00
Vincent Petry
e61aa3723e
Merge pull request #14573 from owncloud/enc-migrate-disable-updater
...
Disable the cache updater when doing the encryption migration
2015-03-02 14:53:29 +01:00
Vincent Petry
7432c73f5c
Only rescan versions once in trashbin
...
Whenever versions need to be rescanned, only do it once per PHP request.
Happens whenever multiple files need to be expired.
2015-03-02 12:59:38 +01:00
Thomas Müller
58ec0ea734
Merge pull request #14535 from owncloud/fix-files-external
...
fix files external test run and add common-tests option
2015-03-02 00:51:38 -08:00
Morris Jobke
7194952db4
Merge pull request #14570 from rullzer/ocs_sane_permissions
...
Shares should have a least read permission
2015-03-02 08:38:36 +01:00
Jenkins for ownCloud
3f91e3757f
[tx-robot] updated from transifex
2015-03-02 01:55:00 -05:00
Roeland Jago Douma
4436a9ce35
Shares should have a least read permission
...
* Throw 400 when a share is created or updated without read permissions
* Added unit tests
2015-03-01 17:13:17 +01:00
Jenkins for ownCloud
ff85d38c2a
[tx-robot] updated from transifex
2015-03-01 01:54:38 -05:00
Jenkins for ownCloud
42f6448da2
[tx-robot] updated from transifex
2015-02-28 01:55:32 -05:00
Vincent Petry
22bc622f9b
Move keys instead of copy during encryption key migration
2015-02-27 17:14:17 +01:00
Robin Appelman
6f000ffc7b
Disable the cache updater when doing the encryption migration
2015-02-27 17:14:16 +01:00
Robin Appelman
c65c717379
Fix external shares without password on oracle
2015-02-27 13:22:57 +01:00
Thomas Müller
f72f9e0159
Merge pull request #14530 from owncloud/revert-14403
...
Revert "Updating license headers"
2015-02-27 00:39:29 -08:00
Thomas Müller
64138b0af5
Merge pull request #14561 from owncloud/fix-sftp
...
apply suggestions from @atmoz to fix SFTP setup
2015-02-27 00:02:39 -08:00
Jenkins for ownCloud
d20061e5b1
[tx-robot] updated from transifex
2015-02-27 01:55:28 -05:00
Morris Jobke
63f5d7d3d6
apply suggestions from @atmoz to fix SFTP setup
2015-02-26 23:49:18 +01:00
Vincent Petry
1777609d47
Merge pull request #14532 from owncloud/defaultvalueforremoteid
...
Add default value for remote_id
2015-02-26 16:46:12 +01:00
Morris Jobke
0c1e6fad6c
Merge pull request #14300 from owncloud/commandbus
...
Add async command system to handle asynchronous operations
2015-02-26 15:10:13 +01:00
Vincent Petry
80e5ad3131
Bump up files_sharing version for schema update
2015-02-26 15:04:15 +01:00
Morris Jobke
7b2b74d731
Merge pull request #14473 from owncloud/remove-uneeded-assignment
...
Remove uneeded assignment
2015-02-26 14:01:21 +01:00
Morris Jobke
62d54e4c2a
fix files external test run and add common-tests option
2015-02-26 13:32:44 +01:00
Vincent Petry
ba71ee6059
Add default value for remote_id
...
Fixes SQLite migration with non-null column.
2015-02-26 12:09:21 +01:00
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
...
This reverts commit 6a1a4880f0
.
2015-02-26 11:37:37 +01:00
Thomas Müller
adc986f3e4
Merge pull request #14502 from owncloud/failing-mysql-master-tests
...
Failing mysql master tests
2015-02-26 01:48:37 -08:00
Joas Schilling
fe8df31fa5
Sort the array to be sure
2015-02-26 09:13:09 +01:00
Jenkins for ownCloud
8a4fddeb4a
[tx-robot] updated from transifex
2015-02-26 01:55:50 -05:00
Lukas Reschke
94bf2c8d6d
Merge pull request #14509 from owncloud/fix/14231
...
Show 404 page when accessing empty share URL
2015-02-25 21:39:49 +01:00
Lukas Reschke
921a76ae2e
Merge pull request #14245 from cmeh/master
...
Message clean-up
2015-02-25 17:46:41 +01:00
Lukas Reschke
fca4628a5c
Show 404 page when accessing empty share URL
...
Testplan:
- [ ] Without: Accessing `public.php?service=files&t=` throws an exception
- [ ] With: No exception thrown and 404 page displayed.
Fixes https://github.com/owncloud/core/issues/14231
2015-02-25 17:29:12 +01:00
Joas Schilling
ac5bb97d04
Reset the group backend aswell
2015-02-25 16:03:12 +01:00
Joas Schilling
993d89b3cc
Extend the class so the Filesystem is cleaned up
2015-02-25 16:03:10 +01:00
Robin Appelman
bf65b1f18b
Rename getAsyncCommandBus to getCommandBus
2015-02-25 15:09:41 +01:00
Robin Appelman
27d047979d
require command that do file access to be run sync when encryption is enabled
2015-02-25 15:09:41 +01:00
Robin McCorkell
695f43a1ed
Merge pull request #10735 from owncloud/use_remote_addr
...
Use getRemoteAddress which supports reverse proxies
2015-02-25 13:24:39 +00:00
Thomas Müller
f5b6226732
Merge pull request #14462 from owncloud/add-some-php-docs
...
Add some PHPDocs
2015-02-25 02:53:22 -08:00
Thomas Müller
f6044fe429
Merge pull request #14460 from owncloud/revive/12971
...
Add support for sftp custom port
2015-02-25 02:52:25 -08:00
Robin McCorkell
af96078153
Merge pull request #14475 from owncloud/fix-ext-owncloud
...
Fix bugs in ownCloud external storage
2015-02-25 10:39:25 +00: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
Robin McCorkell
edfeb05a05
Fix bugs in ownCloud external storage
2015-02-25 10:10:13 +00: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
Lukas Reschke
5bb0889b30
Remove uneeded assignment
...
'files' is neither used in the controller or the template
2015-02-24 19:50:23 +01:00
Thomas Müller
09a06e4f0a
Merge pull request #14068 from owncloud/autotest-external-sftp
...
[files_external] sftp tests
2015-02-24 08:06:27 -08:00
Lukas Reschke
52495dc995
Merge pull request #13740 from owncloud/fix-12190-2
...
Include primary groups in user and login filter when restricting group access and also fix user counting in primary groups
2015-02-24 16:37:49 +01:00
Lukas Reschke
dbb665a361
Add some PHPDocs
...
My IDE was crying...
2015-02-24 13:44:40 +01:00
Lukas Reschke
1229184873
Fix code that never worked
...
Introduced with 1df8a5a774
in February 2013…
2015-02-24 13:26:23 +01:00
Lukas Reschke
6dd5bc0379
Fix code style as per review
2015-02-24 13:22:12 +01:00
SA
350f8eb86e
Add support for sftp custom port
2015-02-24 13:15:38 +01:00
Lukas Reschke
165afb004b
Use getRemoteAddress which supports reverse proxies
...
Breaking change for 8.1 wiki (Security > Administrators):
The log format for failed logins has changed and uses now the remote address and is considering reverse proxies for such scenarios when configured correctly.
2015-02-24 11:49:40 +01:00
cmeh
649a1ba255
Typo: Missing "n"
...
A missing "n" was added in line 63.
2015-02-24 10:15:56 +01: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
5b6caf763c
Removed broken webdav tests
...
The encryption webdav tests are too broad and do not qualify as unit
test. Also, since the sabre upgrade they are not fixable.
The matching functionality is already tested in other classes on a
smaller scale.
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
Lukas Reschke
f54cd14c7e
Merge pull request #14439 from owncloud/fix-ajax-files-external
...
Fix Ajax type casting for files_external
2015-02-23 16:29:45 +01:00
Vincent Petry
4290e1990e
Merge pull request #13829 from owncloud/appmanager-list
...
Better caching for enabled apps
2015-02-23 16:03:32 +01:00
Robin McCorkell
9d36959d82
Fix Ajax type casting for files_external
2015-02-23 14:57:37 +00:00
Thomas Müller
df3c73de72
Merge pull request #14403 from owncloud/update-license-headers
...
Update license headers
2015-02-23 13:53:16 +01:00
Jenkins for ownCloud
6a1a4880f0
Updating license headers
2015-02-23 12:13:59 +01:00
Jenkins for ownCloud
f63b09faca
[tx-robot] updated from transifex
2015-02-23 01:55:10 -05: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