]>
source.dussan.org Git - nextcloud-server.git/log
Thomas Müller [Mon, 16 Mar 2015 08:56:31 +0000 (09:56 +0100)]
Merge pull request #14848 from owncloud/kill-curl-fallback-master
drop any fallback code related to curl
Jenkins for ownCloud [Mon, 16 Mar 2015 05:55:15 +0000 (01:55 -0400)]
[tx-robot] updated from transifex
Morris Jobke [Sun, 15 Mar 2015 19:20:32 +0000 (20:20 +0100)]
Merge pull request #14899 from owncloud/setupwarning-text
Put notice about checking logs in setup warning
Jenkins for ownCloud [Sun, 15 Mar 2015 05:54:38 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Robin McCorkell [Sun, 15 Mar 2015 01:22:03 +0000 (01:22 +0000)]
Put notice about checking logs in setup warning
Joas Schilling [Sat, 14 Mar 2015 10:43:18 +0000 (11:43 +0100)]
Merge pull request #14872 from owncloud/issue/14870-avatar-user-non-object
Fix getting the avatar of a non-existing user
Jenkins for ownCloud [Sat, 14 Mar 2015 05:54:45 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Thomas Müller [Fri, 13 Mar 2015 22:30:49 +0000 (23:30 +0100)]
Merge pull request #14871 from owncloud/use-proper-error-type
Use proper error type and clean-up code
Thomas Müller [Fri, 13 Mar 2015 22:00:03 +0000 (23:00 +0100)]
Merge pull request #14880 from owncloud/drop-example-backend
Drop example user backend
Joas Schilling [Fri, 13 Mar 2015 16:35:34 +0000 (17:35 +0100)]
No user no avatar easy as that
Lukas Reschke [Fri, 13 Mar 2015 15:19:52 +0000 (16:19 +0100)]
Remove outdated comment
Lukas Reschke [Fri, 13 Mar 2015 15:12:32 +0000 (16:12 +0100)]
Drop example user backend
We already provide an interface for application developers, this file is outdated and thus should get removed.
Addresses No. 3 from https://github.com/owncloud/core/issues/14847
Morris Jobke [Fri, 13 Mar 2015 14:53:22 +0000 (15:53 +0100)]
Merge pull request #14867 from owncloud/drop-OC_User_HTTP
Remove OC_User_HTTP
Joas Schilling [Fri, 13 Mar 2015 12:30:26 +0000 (13:30 +0100)]
Color avatars of non-existing users gray and display X instead
Joas Schilling [Fri, 13 Mar 2015 14:14:01 +0000 (15:14 +0100)]
Fix order of expected and actual on assertEquals() calls
Joas Schilling [Fri, 13 Mar 2015 12:12:14 +0000 (13:12 +0100)]
Fix getting the avatar of a non-existing user
Lukas Reschke [Fri, 13 Mar 2015 13:36:00 +0000 (14:36 +0100)]
Merge pull request #14874 from owncloud/correct-typehint
Can also be null
Lukas Reschke [Fri, 13 Mar 2015 12:19:29 +0000 (13:19 +0100)]
Can also be null
If the user does not exist this returns null and can lead to nasty bugs since the IDE is not indicating this...
Lukas Reschke [Fri, 13 Mar 2015 12:04:31 +0000 (13:04 +0100)]
Use proper error type and clean-up code
blizzz [Fri, 13 Mar 2015 12:16:33 +0000 (13:16 +0100)]
Merge pull request #14849 from owncloud/fix-11292
support paged results against 389ds.
Lukas Reschke [Fri, 13 Mar 2015 11:26:33 +0000 (12:26 +0100)]
Remove OC_User_HTTP
Addresses No. 1 from https://github.com/owncloud/core/issues/14847
Thomas Müller [Fri, 13 Mar 2015 08:25:05 +0000 (09:25 +0100)]
Merge pull request #14844 from owncloud/fix-14843-master
cron shall not operate in case we are in maintenance mode
Jenkins for ownCloud [Fri, 13 Mar 2015 05:54:55 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Arthur Schiwon [Thu, 12 Mar 2015 21:47:20 +0000 (22:47 +0100)]
support paged results against 389ds.
Thomas Müller [Thu, 12 Mar 2015 20:43:41 +0000 (21:43 +0100)]
drop any fallback code related to curl - refs https://github.com/owncloud/core/pull/14838#issuecomment-
78586447
Thomas Müller [Thu, 12 Mar 2015 20:03:26 +0000 (21:03 +0100)]
cron shall not operate in case we are in maintenance mode - fixes #14843
Thomas Müller [Thu, 12 Mar 2015 19:37:14 +0000 (20:37 +0100)]
Merge pull request #14838 from owncloud/add-curl-hard-dependency
Add cURL as hard-dependency
Lukas Reschke [Thu, 12 Mar 2015 17:39:54 +0000 (18:39 +0100)]
Add cURL as hard-dependency
It is required by other functionalities such as S2S anyways and ownCloud will fail hard at a lot of places without it.
Morris Jobke [Thu, 12 Mar 2015 15:12:26 +0000 (16:12 +0100)]
Merge pull request #14830 from owncloud/kill-locks-table-master
we no longer support webdav locks - no need to keep the column
Thomas Müller [Thu, 12 Mar 2015 14:23:44 +0000 (15:23 +0100)]
we no longer support webdav locks - no need to keep the column
Thomas Müller [Thu, 12 Mar 2015 09:45:03 +0000 (10:45 +0100)]
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
Morris Jobke [Thu, 12 Mar 2015 09:06:21 +0000 (10:06 +0100)]
Merge pull request #14613 from kampka/no-table-prefix
Install command should not require table prefix
Jenkins for ownCloud [Thu, 12 Mar 2015 05:55:59 +0000 (01:55 -0400)]
[tx-robot] updated from transifex
Thomas Müller [Wed, 11 Mar 2015 22:27:47 +0000 (23:27 +0100)]
Merge pull request #14809 from rullzer/avatarcontroller_cache_fix
Fix the avatarcontroller cache needing the cache dir
Christian Kampka [Sat, 28 Feb 2015 20:41:33 +0000 (21:41 +0100)]
Install command should not require table prefix
Morris Jobke [Wed, 11 Mar 2015 17:33:51 +0000 (18:33 +0100)]
Merge pull request #14357 from owncloud/fix/1373
Run `updateDataDirectory` after Update
Roeland Jago Douma [Wed, 11 Mar 2015 17:18:33 +0000 (18:18 +0100)]
Fix the avatarcontroller cache needing the cache dir
This was removed in
82254ad5efb65e8650567f49343ec37eb55e2f3e and
unfortunatly missed by jenkins before mering into master.
Lukas Reschke [Wed, 11 Mar 2015 16:15:42 +0000 (17:15 +0100)]
Merge pull request #14705 from rullzer/avatarcontroller
Move AvatarController to AppFramework
Morris Jobke [Wed, 11 Mar 2015 15:49:24 +0000 (16:49 +0100)]
Merge pull request #13893 from owncloud/create-cachedir-on-user
Only make sure the cache directory exists when we use it
Roeland Jago Douma [Tue, 3 Mar 2015 11:52:27 +0000 (12:52 +0100)]
Avatar controller moved to AppFrameWork
* Original avatarcontroller migrated to the appframework
* Added DataDisplayResponse that show data inline in the browser (used
to retrun the image)
* Removed some unneeded code
* Added unit tests for the avatarcontroller
Lukas Reschke [Wed, 11 Mar 2015 15:14:54 +0000 (16:14 +0100)]
Merge pull request #14798 from owncloud/enable-oci-autotest-master
Setting oci as supported database
Morris Jobke [Wed, 11 Mar 2015 15:09:23 +0000 (16:09 +0100)]
Merge pull request #14794 from owncloud/add-console-command-user-add
Add a console command user:add to create users over the console
Morris Jobke [Wed, 11 Mar 2015 14:56:32 +0000 (15:56 +0100)]
Merge pull request #13648 from oparoz/sfnt-fonts-preview
Add support for font previews
Thomas Müller [Wed, 11 Mar 2015 14:47:24 +0000 (15:47 +0100)]
Don't play with config values ...
Lukas Reschke [Wed, 11 Mar 2015 14:13:59 +0000 (15:13 +0100)]
Merge pull request #14773 from owncloud/allow-iframes-from-self-in-share-view
Allow iframes from same domain in share view
Morris Jobke [Wed, 11 Mar 2015 13:38:41 +0000 (14:38 +0100)]
Merge pull request #13839 from owncloud/issue/13678-improve-remote-domain-detection-in-sharedropdown
Better finding the remote URL from user input in share dropdown
Thomas Müller [Wed, 11 Mar 2015 13:29:22 +0000 (14:29 +0100)]
Setting oci as supported database
Joas Schilling [Wed, 11 Mar 2015 11:35:16 +0000 (12:35 +0100)]
Add a console command user:add to create users over the console
Morris Jobke [Wed, 11 Mar 2015 12:32:33 +0000 (13:32 +0100)]
Merge pull request #13513 from owncloud/repair-legacystoragenofatalfail
Do not abort when meeting unfixable legacy storages
Lukas Reschke [Wed, 11 Mar 2015 11:52:18 +0000 (12:52 +0100)]
Merge pull request #14791 from owncloud/fix-14516
Adding a more meaningful message for sabre dav exception
Thomas Müller [Wed, 11 Mar 2015 11:26:49 +0000 (12:26 +0100)]
Merge pull request #14788 from cmeh/patch-3
Correct "one invalid characters" to "one invalid character"
Thomas Müller [Wed, 11 Mar 2015 11:23:22 +0000 (12:23 +0100)]
Merge pull request #14662 from owncloud/issue/14661-show-versions-in-occ-applist
Add an option to include the installed app version in "occ app:list"
Thomas Müller [Wed, 11 Mar 2015 10:53:31 +0000 (11:53 +0100)]
Adding a more meaningful message for sabre dav exception - fixes #14516
Bernhard Posselt [Wed, 11 Mar 2015 10:28:28 +0000 (11:28 +0100)]
Merge pull request #14789 from owncloud/better-app-install-error-messages
display app update error messages
Thomas Müller [Wed, 11 Mar 2015 10:00:49 +0000 (11:00 +0100)]
Merge pull request #14778 from owncloud/use-occ-setup-in-autotest-master
Use occ to install ownCloud in autotest.sh
Thomas Müller [Wed, 11 Mar 2015 08:59:56 +0000 (09:59 +0100)]
display app update error messages - fixes #14611
cmeh [Wed, 11 Mar 2015 08:59:42 +0000 (09:59 +0100)]
Correct "one invalid characters" to "one invalid character"
Corrected "one invalid characters" to "one invalid character" in line 1575.
Joas Schilling [Tue, 3 Mar 2015 09:26:09 +0000 (10:26 +0100)]
Always include the installed app version in "occ app:list"
Joas Schilling [Wed, 11 Mar 2015 08:27:28 +0000 (09:27 +0100)]
Do not overwrite the active menu entry of the navigation
Thomas Müller [Tue, 10 Mar 2015 22:44:29 +0000 (23:44 +0100)]
Properly handle available databases at runtime and respect setup checks in command line as well
Thomas Müller [Tue, 10 Mar 2015 21:59:23 +0000 (22:59 +0100)]
No need to restart the web server in cli mode
Thomas Müller [Tue, 10 Mar 2015 14:59:07 +0000 (15:59 +0100)]
Use occ to install ownCloud in autotest.sh
Morris Jobke [Wed, 11 Mar 2015 08:23:22 +0000 (09:23 +0100)]
Merge pull request #14783 from owncloud/dont-timeout-cron-master
cron.php on cli has no time limitation - fixes #14481
Jenkins for ownCloud [Wed, 11 Mar 2015 05:55:38 +0000 (01:55 -0400)]
[tx-robot] updated from transifex
Thomas Müller [Wed, 11 Mar 2015 00:09:12 +0000 (01:09 +0100)]
cron.php on cli has no time limitation - fixes #14481
Thomas Müller [Tue, 10 Mar 2015 23:54:20 +0000 (00:54 +0100)]
Merge pull request #14640 from owncloud/rescanversionsonlyonce
Only rescan versions once in trashbin
Morris Jobke [Tue, 10 Mar 2015 15:06:01 +0000 (16:06 +0100)]
update 3rdparty master
Morris Jobke [Tue, 10 Mar 2015 15:05:12 +0000 (16:05 +0100)]
Merge pull request #14115 from owncloud/update-symphony-components
update symphony components to 2.6.4
Robin Appelman [Tue, 10 Mar 2015 13:47:08 +0000 (14:47 +0100)]
update symphony components to 2.6.4
Lukas Reschke [Tue, 10 Mar 2015 13:18:21 +0000 (14:18 +0100)]
Merge pull request #14759 from owncloud/clean-up-code
Clean-up code and use proper exception types
Lukas Reschke [Tue, 10 Mar 2015 10:02:47 +0000 (11:02 +0100)]
Merge pull request #14346 from owncloud/storage-based-path-validation
adding storage specific filename verification
Thomas Müller [Tue, 10 Mar 2015 09:30:44 +0000 (10:30 +0100)]
Merge pull request #14534 from owncloud/add-child-src
Add support for 'child-src' directive
Lukas Reschke [Tue, 10 Mar 2015 09:06:15 +0000 (10:06 +0100)]
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 ;))
Jenkins for ownCloud [Tue, 10 Mar 2015 05:55:39 +0000 (01:55 -0400)]
[tx-robot] updated from transifex
Thomas Müller [Mon, 9 Mar 2015 22:33:25 +0000 (23:33 +0100)]
Merge pull request #14689 from owncloud/better-missing-resource-handling
Log errors and create 404 in network list when a css or js is missing
Thomas Müller [Mon, 9 Mar 2015 22:06:15 +0000 (23:06 +0100)]
Merge pull request #14753 from owncloud/verify-csrf-token-earlier
Verify CSRF token already in update.php and not the EventSource code
Morris Jobke [Mon, 9 Mar 2015 15:24:06 +0000 (16:24 +0100)]
Merge pull request #14720 from owncloud/fix-shareetagpropagation
Fix size propagation over shared storage boundary
Morris Jobke [Mon, 9 Mar 2015 15:16:16 +0000 (16:16 +0100)]
Merge pull request #14429 from owncloud/issue/14176-validate-timezone-before-using
Etc timezones don't exist for .5 and .75 offsets
Vincent Petry [Mon, 9 Mar 2015 11:41:29 +0000 (12:41 +0100)]
Add unit test for size propagation across share boundaries
Joas Schilling [Mon, 9 Mar 2015 10:56:46 +0000 (11:56 +0100)]
Merge pull request #14713 from owncloud/issue/14671-preview-delete-check-for-valid-fileid
Check whether the file id is valid, before using it to delete the previews
Lukas Reschke [Mon, 9 Mar 2015 10:48:55 +0000 (11:48 +0100)]
Clean-up code and use proper exception types
Joas Schilling [Thu, 5 Mar 2015 15:07:42 +0000 (16:07 +0100)]
Check whether the file id is valid, before using it to delete the previews
Thomas Müller [Wed, 4 Mar 2015 13:03:47 +0000 (14:03 +0100)]
no translation service in common storage class
Thomas Müller [Tue, 24 Feb 2015 16:42:26 +0000 (17:42 +0100)]
Respect http header 'Accept-Language' on ocs and remote.php calls
Thomas Müller [Tue, 24 Feb 2015 16:20:59 +0000 (17:20 +0100)]
translate error messages
Lukas Reschke [Fri, 20 Feb 2015 17:19:14 +0000 (18:19 +0100)]
Optimize loop
Thomas Müller [Thu, 19 Feb 2015 10:23:01 +0000 (11:23 +0100)]
fixing js unit tests
Thomas Müller [Wed, 18 Feb 2015 17:35:27 +0000 (18:35 +0100)]
deprecate isValidFileName()
Thomas Müller [Wed, 18 Feb 2015 17:28:24 +0000 (18:28 +0100)]
fixing namespaces and PHPDoc
Thomas Müller [Wed, 18 Feb 2015 16:44:13 +0000 (17:44 +0100)]
adding storage specific filename verification - refs #13640
Lukas Reschke [Mon, 9 Mar 2015 09:07:30 +0000 (10:07 +0100)]
Verify CSRF token already in update.php and not the EventSource code
Issue report:
> Hum, well I upgraded the package then visited the web interface to
trigger the update and it failed; the UI would say there was a
possible CSRF attack and after that it'd be stuck in maintenance mode.
Tried a few times (by editing maintenance to false in owncloud.conf)
and same result each time.
That smells partially like an issue caused by our EventSource implementation, due to legacy concerns the CSRF verification happens within the EventSource handling and not when the actual endpoint is called, what happens here then is:
1. User has somehow an invalid CSRF token in session (or none at all)
2. User clicks the update button
3. Invalid CSRF token is sent to update.php - no CSRF check there => Instance gets set in maintenance mode
4. Invalid CSRF token is processed by the EventSource code => Code Execution is stopped and ownCloud is stuck in maintenance mode
I have a work-around for this problem, basically it verifies the CSRF token already in step 3 and cancels execution then. The same error will be shown to the user however he can work around it by refreshing the page – as stated by the error. I think that’s an acceptable behaviour for now: INSERT LINK
To verify this test:
1. Delete your ownCloud cookies
2. Increment the version in version.php
3. Try to upgrade
=> Before the patch: Instance shows an error, is set to upgrade mode and a refresh does not help
=> After the patch: Instance shows an error, a refresh helps though.
This is not really the best fix as a better solution would be to catch such situations when bootstrapping ownCloud, however, I don’t dare to touch base.php for this sake only, you never know what breaks then…
That said: There might be other bugs as well, especially the stacktrace is somewhat confusing but then again it installing ownCloud under /usr/share/owncloud/ and I bet that is part of the whole issue ;-)
Thomas Müller [Mon, 9 Mar 2015 08:55:21 +0000 (09:55 +0100)]
Merge pull request #14750 from owncloud/possible-fix-for-OC_Version
proper filename for "require version.php"
Morris Jobke [Mon, 9 Mar 2015 07:12:25 +0000 (08:12 +0100)]
Merge pull request #14706 from owncloud/ldap-reset-paged-search-on-null-limit
LDAP: set up paged search even if limit is 0
Morris Jobke [Mon, 9 Mar 2015 07:02:09 +0000 (08:02 +0100)]
proper filename for "require version.php"
Morris Jobke [Mon, 9 Mar 2015 06:54:22 +0000 (07:54 +0100)]
Merge pull request #14743 from owncloud/autoconfig-password
Convert 'abcpassword' to 'abcpass' during setup
Jenkins for ownCloud [Mon, 9 Mar 2015 05:54:36 +0000 (01:54 -0400)]
[tx-robot] updated from transifex
Jenkins for ownCloud [Sun, 8 Mar 2015 06:54:36 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Robin McCorkell [Sat, 7 Mar 2015 13:10:43 +0000 (13:10 +0000)]
Convert 'abcpassword' to 'abcpass' during setup
This allows autoconfig files to use 'dbpassword' instead of 'dbpass', which
is more consistent with config.php
Jenkins for ownCloud [Sat, 7 Mar 2015 06:54:37 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Fri, 6 Mar 2015 22:13:44 +0000 (23:13 +0100)]
Merge pull request #14736 from owncloud/errors-list
adjust list of errors, more compact and readable