]>
source.dussan.org Git - nextcloud-server.git/log
Lukas Reschke [Mon, 16 Feb 2015 11:30:21 +0000 (12:30 +0100)]
Rename to allowEval
Lukas Reschke [Mon, 9 Feb 2015 15:30:01 +0000 (16:30 +0100)]
Allow AppFramework applications to specify a custom CSP header
This change allows AppFramework applications to specify a custom CSP header for example when the default policy is too strict. Furthermore this allows us to partially migrate away from CSS and allowed eval() in our JavaScript components.
Legacy ownCloud components will still use the previous policy. Application developers can use this as following in their controllers:
```php
$response = new TemplateResponse('activity', 'list', []);
$cspHelper = new ContentSecurityPolicyHelper();
$cspHelper->addAllowedScriptDomain('www.owncloud.org');
$response->addHeader('Content-Security-Policy', $cspHelper->getPolicy());
return $response;
```
Fixes https://github.com/owncloud/core/issues/11857 which is a pre-requisite for https://github.com/owncloud/core/issues/13458 and https://github.com/owncloud/core/issues/11925
Jenkins for ownCloud [Mon, 16 Feb 2015 06:54:30 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 15 Feb 2015 06:54:31 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sat, 14 Feb 2015 06:54:42 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Thomas Müller [Fri, 13 Feb 2015 15:06:34 +0000 (16:06 +0100)]
Merge pull request #14206 from owncloud/issue/14204-revert-14171
Issue/14204 revert #14171
Joas Schilling [Fri, 13 Feb 2015 14:24:53 +0000 (15:24 +0100)]
Update version to a higher one then before
Joas Schilling [Fri, 13 Feb 2015 14:15:28 +0000 (15:15 +0100)]
Revert "Improve: Index for file_map"
This reverts commit
c9b56084051ad33f15ad8a1a7fee95d38ba0d954 .
Joas Schilling [Fri, 13 Feb 2015 14:15:10 +0000 (15:15 +0100)]
Revert "Incorporate review changes"
This reverts commit
f6a452cabf02e4a8005f874a77754f68abbc8fa5 .
Morris Jobke [Fri, 13 Feb 2015 12:38:56 +0000 (13:38 +0100)]
Merge pull request #14178 from RealRancor/fix_config_sample
Removed anchor in config.sample.php
Lukas Reschke [Fri, 13 Feb 2015 12:30:54 +0000 (13:30 +0100)]
Merge pull request #14197 from owncloud/ensure-that-passed-file-path-is-always-a-string
Ensure that passed argument is always a string
Lukas Reschke [Fri, 13 Feb 2015 11:56:01 +0000 (12:56 +0100)]
Merge pull request #14086 from hlop/master
App install behind a Proxy
Lukas Reschke [Fri, 13 Feb 2015 11:49:34 +0000 (12:49 +0100)]
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.
Joas Schilling [Fri, 13 Feb 2015 09:55:21 +0000 (10:55 +0100)]
Merge pull request #14171 from owncloud/fix/11639
Improve: Index for file_map
Jenkins for ownCloud [Fri, 13 Feb 2015 06:55:06 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
RealRancor [Thu, 12 Feb 2015 21:00:24 +0000 (22:00 +0100)]
Removed anchor in config.sample.php
Lukas Reschke [Thu, 12 Feb 2015 18:11:14 +0000 (19:11 +0100)]
Incorporate review changes
windaishi [Fri, 17 Oct 2014 13:03:27 +0000 (15:03 +0200)]
Improve: Index for file_map
Added two indices for file_map, that improve syncing and uploading and deleting files
Lukas Reschke [Thu, 12 Feb 2015 17:34:54 +0000 (18:34 +0100)]
Merge pull request #13771 from owncloud/fix-humanfileSize
generate valid human readable text for 0
Lukas Reschke [Thu, 12 Feb 2015 17:34:07 +0000 (18:34 +0100)]
Merge pull request #13780 from owncloud/cmreflector-inheritance
Additional controllermethodreflector inheritance tests
Lukas Reschke [Thu, 12 Feb 2015 16:23:28 +0000 (17:23 +0100)]
Merge pull request #14145 from owncloud/no-whitespace-from-themes-master
catch any whitespaces which might get written to the output buffer while...
Thomas Müller [Thu, 12 Feb 2015 16:07:59 +0000 (17:07 +0100)]
Merge pull request #14159 from owncloud/remove-internal
Remove internal annotation
Thomas Müller [Thu, 12 Feb 2015 10:20:38 +0000 (11:20 +0100)]
catch any whitespaces which might get written to the output buffer while loading a theme
Lukas Reschke [Thu, 12 Feb 2015 15:35:47 +0000 (16:35 +0100)]
Remove internal annotation
PHPStorm complained about those functions being declared as Internal. I doubt that this is actually the case since they are even in the public API.
Morris Jobke [Thu, 12 Feb 2015 12:19:07 +0000 (13:19 +0100)]
Merge pull request #14121 from Zillode/app-favicon
Disable application-specific favicons for non-user pages
Lukas Reschke [Thu, 12 Feb 2015 12:17:45 +0000 (13:17 +0100)]
Merge pull request #9038 from owncloud/add_tag_file
Add .tag file to make tar balls tracable
Björn Schießle [Thu, 12 Feb 2015 10:38:35 +0000 (11:38 +0100)]
Merge pull request #14071 from owncloud/add_timeout_for_post_requests
add timeout to curl request
Lukas Reschke [Thu, 12 Feb 2015 10:21:40 +0000 (11:21 +0100)]
Merge pull request #13913 from rullzer/showusergroups
Added overview of groups a user is member of
Morris Jobke [Thu, 12 Feb 2015 10:03:49 +0000 (11:03 +0100)]
Merge pull request #14135 from cmeh/master
Clean-up of messages (orthography, format)
Morris Jobke [Thu, 12 Feb 2015 09:53:00 +0000 (10:53 +0100)]
Merge pull request #10993 from owncloud/scanner-reuse-fileid
Reuse known fileids and cache data in the scanner
Bjoern Schiessle [Tue, 10 Feb 2015 19:34:51 +0000 (20:34 +0100)]
add timeout to curl request
Roeland Jago Douma [Wed, 4 Feb 2015 19:32:41 +0000 (20:32 +0100)]
Added overview of groups a user is a member of
Morris Jobke [Thu, 12 Feb 2015 09:05:30 +0000 (10:05 +0100)]
Merge pull request #14129 from owncloud/deprecate-oc-json
Deprecate `OC_JSON` and `OCP\JSON`
cmeh [Thu, 12 Feb 2015 07:18:24 +0000 (08:18 +0100)]
Orthography: "Back-end" -> Backend (without hyphen) and correction of "users" to the genitive "user's"
cmeh [Thu, 12 Feb 2015 07:14:12 +0000 (08:14 +0100)]
Adding a missing space between value and unit
Added the missing space between value and unit, as it is formatted in all other places across ownCloud.
Jenkins for ownCloud [Thu, 12 Feb 2015 06:54:41 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Wed, 11 Feb 2015 23:56:13 +0000 (00:56 +0100)]
Deprecate `OC_JSON` and `OCP\JSON`
This deprecates – but not removes – those two classes and all functions in it. There is no reason that new developments should use those methods as with the AppFramework there is a replacement that allows testable code.
With the `@deprecated` annotation IDEs like PHPStorm will point out to the developer that a functionality is deprecated and that there is a better suited replacement.
Lukas Reschke [Wed, 11 Feb 2015 22:59:00 +0000 (23:59 +0100)]
Merge pull request #14126 from owncloud/remove-that-old-thing
Remove unused file
Lukas Reschke [Wed, 11 Feb 2015 22:26:48 +0000 (23:26 +0100)]
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...
Lode Hoste [Wed, 11 Feb 2015 19:09:03 +0000 (20:09 +0100)]
Disable application-specific favicons for non-user pages
Thomas Müller [Wed, 11 Feb 2015 17:04:54 +0000 (18:04 +0100)]
Merge pull request #14097 from yanntech/fix/utf8-check
in some case charset can be in lower case.
Vincent Petry [Wed, 11 Feb 2015 14:23:13 +0000 (15:23 +0100)]
Merge pull request #13979 from owncloud/group-share-collition-wrong-type-in-post-hook
Do not overwrite the shareType so the post hook is still correct
Thomas Müller [Wed, 11 Feb 2015 14:07:20 +0000 (15:07 +0100)]
Merge pull request #14105 from owncloud/second-parameter-is-optional
Second parameter is optional
Lukas Reschke [Wed, 11 Feb 2015 13:01:22 +0000 (14:01 +0100)]
Second parameter is optional
Makes my IDE happier.
Robin Appelman [Mon, 20 Oct 2014 14:53:06 +0000 (16:53 +0200)]
only read permissions once
Robin Appelman [Fri, 17 Oct 2014 15:06:37 +0000 (17:06 +0200)]
Only try to scan the children of directories
Robin Appelman [Wed, 10 Sep 2014 14:49:58 +0000 (16:49 +0200)]
Cast mtimes and size to int
Robin Appelman [Wed, 10 Sep 2014 13:57:59 +0000 (15:57 +0200)]
Reuse cache data of existing files during scan
Yann VERRY [Wed, 11 Feb 2015 10:59:33 +0000 (11:59 +0100)]
in some case charset can be in lower case.
Add strtoupper() in UTF-8 check to avoid error message
Jenkins for ownCloud [Wed, 11 Feb 2015 06:55:07 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Witali Rott [Wed, 11 Feb 2015 06:47:50 +0000 (07:47 +0100)]
App install behind a Proxy
Morris Jobke [Wed, 11 Feb 2015 00:11:31 +0000 (01:11 +0100)]
Merge pull request #14074 from RealRancor/documents_preview_notes
Add hint for troubleshooting MS Word previews
Thomas Müller [Tue, 10 Feb 2015 21:46:53 +0000 (22:46 +0100)]
Merge pull request #13861 from owncloud/remove-disabled-files-repair-step
Revert "enabled disabled files app in repair step"
RealRancor [Tue, 10 Feb 2015 20:20:05 +0000 (21:20 +0100)]
Add hint for troubleshooting MS Word previews
Lukas Reschke [Tue, 10 Feb 2015 20:45:21 +0000 (21:45 +0100)]
Merge pull request #14072 from owncloud/add-files-external-test-readme
add readme for files external tests
Morris Jobke [Tue, 10 Feb 2015 19:43:32 +0000 (20:43 +0100)]
add rreadme for files external tests
Morris Jobke [Tue, 10 Feb 2015 16:21:15 +0000 (17:21 +0100)]
Merge pull request #11056 from AdamWill/9885-opcode
add function to invalidate one opcache file, use it if possible #9885
Vincent Petry [Tue, 10 Feb 2015 15:44:29 +0000 (16:44 +0100)]
Merge pull request #13190 from is-apps/master-sftp-key
Add SFTP public key authentication support
Lukas Reschke [Tue, 10 Feb 2015 09:38:12 +0000 (10:38 +0100)]
Merge pull request #14028 from frsela/charset_utf8
Setting default charset to UTF-8 in .htaccess and .user.ini
Fernando Rodriguez Sela [Tue, 10 Feb 2015 08:39:06 +0000 (09:39 +0100)]
Setting default charset to UTF-8 in .htaccess and .user.ini
Jenkins for ownCloud [Tue, 10 Feb 2015 06:55:06 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Tue, 10 Feb 2015 00:14:00 +0000 (01:14 +0100)]
Merge pull request #13425 from owncloud/phpdoc_cleanup
Cleanup of PHPDoc return types
Morris Jobke [Mon, 9 Feb 2015 23:05:39 +0000 (00:05 +0100)]
Merge pull request #13663 from owncloud/issue/13624-notification-when-favorting-fails
Only update favorite icon if the operation was successful
Morris Jobke [Mon, 9 Feb 2015 22:45:32 +0000 (23:45 +0100)]
Merge pull request #13842 from owncloud/is_file_2_is_readable
check if cache files are readable
Morris Jobke [Mon, 9 Feb 2015 22:34:14 +0000 (23:34 +0100)]
Merge pull request #14007 from owncloud/fix-broken-master
[master] Request requires a second parameter
Thomas Müller [Mon, 9 Feb 2015 20:58:54 +0000 (21:58 +0100)]
Request requires a second parameter
Thomas Müller [Mon, 9 Feb 2015 20:07:13 +0000 (21:07 +0100)]
Merge pull request #13923 from owncloud/l10n-ignore-jsmin
Ignore minified js in translation process
Lukas Reschke [Mon, 9 Feb 2015 17:39:52 +0000 (18:39 +0100)]
Merge pull request #13511 from owncloud/naturalsort_speeeeeed
NaturalSort performance improvements
Vincent Petry [Mon, 9 Feb 2015 17:15:45 +0000 (18:15 +0100)]
Merge pull request #13928 from owncloud/prevent_ghost_files_master
prevent creation of ghost directories
Vincent Petry [Mon, 9 Feb 2015 17:11:47 +0000 (18:11 +0100)]
Merge pull request #13921 from owncloud/ocs-af
Add a controller and reponse for ocs
Vincent Petry [Mon, 9 Feb 2015 17:03:19 +0000 (18:03 +0100)]
Merge pull request #13852 from owncloud/cache-app-versions
Cache app versions
Vincent Petry [Mon, 9 Feb 2015 16:49:05 +0000 (17:49 +0100)]
Merge pull request #13870 from owncloud/drop-oc-preferences-2
drop OC\Preferences
Vincent Petry [Mon, 9 Feb 2015 16:48:36 +0000 (17:48 +0100)]
Merge pull request #13869 from owncloud/drop-oc-preferences
drop OC_Preferences
Lukas Reschke [Mon, 9 Feb 2015 16:35:19 +0000 (17:35 +0100)]
Merge pull request #13973 from owncloud/enhancement/security/13366
Respect `mod_unique_id` and refactor `OC_Request::getRequestId`
Robin McCorkell [Thu, 22 Jan 2015 11:04:10 +0000 (11:04 +0000)]
Store FileInfo::getType() result for future use
Robin McCorkell [Tue, 20 Jan 2015 12:40:18 +0000 (12:40 +0000)]
Performance improvements for NaturalSort
A combination of using isset() instead of count() or strlen(), caching the
chunkify function, and replacing is_numeric() with some comparisons
Vincent Petry [Mon, 9 Feb 2015 16:06:24 +0000 (17:06 +0100)]
Merge pull request #13854 from owncloud/avatar-exists
Add a better way to check if an avatar exists for the user
blizzz [Mon, 9 Feb 2015 15:55:50 +0000 (16:55 +0100)]
Merge pull request #13925 from owncloud/fix-13898
no fruitless count attempts, and notification should disappear
Joas Schilling [Mon, 9 Feb 2015 15:40:56 +0000 (16:40 +0100)]
Merge pull request #13977 from owncloud/tempmanager-check-handle
Check directory handle before we use it
Jan-Christoph Borchardt [Mon, 9 Feb 2015 13:23:19 +0000 (14:23 +0100)]
Merge pull request #13958 from owncloud/fix-resize-overlap
Avoid dropdown to float under sidebar for mid narrow screens
Vincent Petry [Mon, 9 Feb 2015 12:20:42 +0000 (13:20 +0100)]
Merge pull request #13364 from is-apps/files_external_cleanup
Clean up files_external
Joas Schilling [Mon, 9 Feb 2015 12:12:34 +0000 (13:12 +0100)]
Add a test for the post_shared hook shareType
Joas Schilling [Mon, 9 Feb 2015 11:59:29 +0000 (12:59 +0100)]
Do not overwrite the shareType so the post hook is still correct
Robin Appelman [Mon, 9 Feb 2015 11:36:18 +0000 (12:36 +0100)]
Check directory handle before we use it
Lukas Reschke [Mon, 9 Feb 2015 10:41:48 +0000 (11:41 +0100)]
Respect `mod_unique_id` and refactor `OC_Request::getRequestId`
When `mod_unique_id` is enabled the ID generated by it will be used for logging. This allows for correlation of the Apache logs and the ownCloud logs.
Testplan:
- [ ] When `mod_unique_id` is enabled the request ID equals the one generated by `mod_unique_id`.
- [ ] When `mod_unique_id` is not available the request ID is a 20 character long random string
- [ ] The generated Id is stable over the lifespan of one request
Changeset looks a little bit larger since I had to adjust every unit test using the HTTP\Request class for proper DI.
Fixes https://github.com/owncloud/core/issues/13366
Jenkins for ownCloud [Mon, 9 Feb 2015 06:54:53 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Sun, 8 Feb 2015 18:08:52 +0000 (19:08 +0100)]
Merge pull request #13948 from owncloud/cache-move-transaction
Use transactions when renaming directory contents
Lukas Reschke [Sun, 8 Feb 2015 13:03:57 +0000 (14:03 +0100)]
Merge pull request #13895 from owncloud/disable-autocomplete-1
Disable autocomplete for SMTP Password
Jenkins for ownCloud [Sun, 8 Feb 2015 06:54:53 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Sat, 7 Feb 2015 19:11:17 +0000 (20:11 +0100)]
Merge pull request #13963 from RealRancor/external_user_note
external user app: Add note to enable it first
RealRancor [Sat, 7 Feb 2015 13:01:38 +0000 (14:01 +0100)]
external user app: Add note to enable it first
Morris Jobke [Sat, 7 Feb 2015 12:33:49 +0000 (13:33 +0100)]
Merge pull request #12283 from oparoz/sfnt-fonts
Updated the media type of some font types
Morris Jobke [Sat, 7 Feb 2015 12:29:18 +0000 (13:29 +0100)]
Merge pull request #13435 from Zillode/app-favicon
Allow application-specific favicons
Morris Jobke [Sat, 7 Feb 2015 12:27:46 +0000 (13:27 +0100)]
Merge pull request #13502 from owncloud/streamline-authentication-in-newfile
Streamline CSRF and login check
Morris Jobke [Sat, 7 Feb 2015 12:25:43 +0000 (13:25 +0100)]
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
Morris Jobke [Sat, 7 Feb 2015 12:25:15 +0000 (13:25 +0100)]
Merge pull request #13753 from owncloud/use-403-instead-of-200
Use 403 instead of 200 response
Morris Jobke [Sat, 7 Feb 2015 12:24:47 +0000 (13:24 +0100)]
Merge pull request #13830 from owncloud/fix-redirect-404
Don't encode url unecessary twice
Morris Jobke [Sat, 7 Feb 2015 12:24:11 +0000 (13:24 +0100)]
Merge pull request #13848 from owncloud/ldap-warn
Reduce log level of bind failed to WARN - fixes #11624
Morris Jobke [Sat, 7 Feb 2015 12:23:34 +0000 (13:23 +0100)]
Merge pull request #13889 from owncloud/catch-exception
Catch exception properly
Jenkins for ownCloud [Sat, 7 Feb 2015 06:54:35 +0000 (01:54 -0500)]
[tx-robot] updated from transifex