| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This is an `is_array` operation and not a `in_array` one. Thus this typecast is not required.
Fixes https://github.com/owncloud/core/issues/20095
|
|
|
|
| |
This reverts commit 7cbdd9b90bcea3566b7d0198f23da3d427e6ef45.
|
| |
|
|
|
|
|
| |
Even more code mess :(
All tests pass again. But I'm really not happy with this endpoint.
|
|\
| |
| | |
Update: state which step we are going to start and warn if it might b…
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
setting to skip migration tests by default
|
| |
| |
| |
| |
| |
| |
| | |
* if you install owncloud via package it is not
possible to skip migration tests
* this also allows to disable migration tests for
an instance by default
|
|/ |
|
|
|
|
|
| |
* fixes #16913
* fixes issues in IE8 where the thumbnail is too big
|
|
|
|
|
| |
* resets afterwards
* adds output about the previous log level
|
|\
| |
| | |
Publish an activity when sending a share link via email
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| | |
allow remote shares for users with email as usernames
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Update license headers
|
| | | |
|
|\ \ \
| | | |
| | | | |
Improve splitting of username and remote adress when username contains an `@`
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
owncloud/federated_cloud_sharing_search_address_book
Search address book for federated cloud id
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| | |
If no array of arrays is submitted make sure we still keep $sharedUsers
and $sharedGroups as arrays so the rest of the code keeps functioning as
it should.
|
|\ \
| | |
| | | |
Persist the state of the maintenance after an upgrade
|
| | |
| | |
| | |
| | |
| | |
| | | |
* if maintenance mode was enabled before an upgrade
it will be enabled afterwards too
* fixes #16429
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
* this is the preparation for some upcoming logger related changes
* also fixes an issue in the public interface where we request
an internal class as parameter
|
| | |
|
|\ \
| | |
| | | |
ajax/share.php should return correct list of suggestions
|
| | |
| | |
| | |
| | |
| | | |
We should use the provided list of users and groups that we already
shared with to filter suggestions.
|
|\ \ \
| | | |
| | | | |
Groupmanagers displayNamesInGroup should actually search in displaynames
|
| |/ /
| | |
| | |
| | | |
* Fix for #6967
|
|/ / |
|
|/ |
|
|\
| |
| | |
Do not abort when meeting unfixable legacy storages
|
| |
| |
| |
| |
| | |
This makes repair errors and warnings visible for the user when
upgrading on the command line or in the web UI.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 ;-)
|
|
|
|
| |
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
|
| |
|
| |
|
|
|
|
|
|
| |
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 :see_no_evil:
Fixes https://github.com/owncloud/core/issues/14196 for core
|
| |
|