| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
This method triggers additional queries in $this->update() so to avoid
potential database locks or delays, we close the cursor as soon as it is not needed any more
|
|\ \
| | |
| | |
| | |
| | | |
owncloud/stable7-share-fixfindshareforuserwithmultiplegroups
[stable7] Fix getItemSharedWithUser for groups
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixed SQL query for whenever a user has more than one group.
Added missing $owner where clause for group lookup.
Added unit tests for the group cases.
Backport of 40931a8b0d5d10c0f711756a4e8a423ff055621e from master
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
* fixes Undefined offset: 1 at lib/private/mail.php#143
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Backport of 9b49b52fc6cd11615be86580c32e43a81d46772f from master
|
|\ \
| | |
| | | |
no need to store the form factor in the session - it's computation is ra...
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cheep
Conflicts:
lib/private/template.php
|
| | |
| | |
| | |
| | |
| | | |
Conflicts:
lib/private/helper.php
|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
lib/private/server.php
lib/public/iservercontainer.php
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This checks that imagecreatetruecolor actually creates an image, rather than returning FALSE.
Without this check, subsequent loop might create billions of ERROR-level log messages.
Signed-off-by: Byron Marohn <combustible@live.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
background job for user clean up
adjust user backend for clean up
register background job
remove dead code
dependency injection
make Helper non-static for proper testing
check whether it is OK to run clean up job. Do not forget to pass arguments.
use correct method to get the config from server
methods can be private, proper indirect testing is given
no automatic user deletion
make limit readable for test purposes
make method less complex
add first tests
let preferences accept limit and offset for getUsersForValue
DI via constructor does not work for background jobs
after detecting, now we have retrieving deleted users and their details
we need this method to be public for now
finalize export method, add missing getter
clean up namespaces and get rid of unnecessary files
helper is not static anymore
cleanup according to scrutinizer
add cli tool to show deleted users
uses are necessary after recent namespace change
also remove user from mappings table on deletion
add occ command to delete users
fix use statement
improve output
big fixes / improvements
PHP doc
return true in userExists early for cleaning up deleted users
bump version
control state and interval with one config.php setting, now ldapUserCleanupInterval. 0 will disable it. enabled by default.
improve doc
rename cli method to be consistent with others
introduce ldapUserCleanupInterval in sample config
don't show last login as unix epoche start when no login happend
less log output
consistent namespace for OfflineUser
rename GarbageCollector to DeletedUsersIndex and move it to user subdir
fix unit tests
add tests for deleteUser
more test adjustements
|
| | |
| | |
| | |
| | |
| | | |
The syntax ?<...> seems to be only supported from PCRE 7.0 on. For
backwards-compability ?P<...> is used.
|
| | | |
|
| | |
| | |
| | |
| | | |
Return the real (insecure) mime type on PROPFIND
|
| | | |
|
|\ \ \
| | | |
| | | | |
Patched french translation (backported from master)
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Wipe cache if there is no response from feed
|
| |/ / / |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The codepath that is executed when executing ownCloud via CLI is different than via browser. Specifically, the config is created by the user session already in `OC_Util::getInstanceId()` by a call to `setValue`. That said, this seems to be quite a bad side-effect, but for the sake of "not breaking whatever might break if we touch this" let's keep it that way for now.
When executing the autoconfig via `php -f index.php` the said session was not setup and thus no `config/config.php` file was created resulting in an installation error.
To reproduce this try to setup ownCloud via `php -f index.php` with and without that patch. (ensure to delete all existing configs before and don't access ownCloud with a browser in the meantime)
Fixes itself.
|
| | |
| | |
| | |
| | |
| | |
| | | |
To be removed with oCAdd workaround for older instances
To be removed with oC99
|
| | |
| | |
| | |
| | |
| | |
| | | |
Depending on the used environment the port might be appended to the host header resulting in an inaccessible instance when initially setting up on a system with a different HTTP or HTTPS port. (for example test:500)
To test this setup ownCloud under a different port with and without this patch. (heads-up: localhost is always white-listed, so use a different domain)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Workaround required for IIS setups running ownCloud to prevent dataloss.
Long-term solution would be to move some configuration settings to the database
Conflicts:
lib/base.php
settings/admin.php
|
|\ \ \
| | | |
| | | | |
Store credentials only in session if required
|
| | |/
| |/|
| | |
| | |
| | | |
Conflicts:
lib/repair/repairconfig.php
|
|\ \ \
| | | |
| | | | |
Check for XMLWriter class
|
| | | |
| | | |
| | | |
| | | | |
Backport of https://github.com/owncloud/core/pull/12321
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Since automatic schema migrations are not yet possible let's disable this for now.
Conflicts:
lib/private/setup.php
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
(but not forced) and the user does not want the link to expire.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The permissions are already catched properly on the installation so we just have to check whether the file is readable to prevent fatal errors from happening.
Fixes https://github.com/owncloud/core/issues/12135
Conflicts:
lib/private/config.php
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
add phpdoc
Conflicts:
lib/private/preview.php
|
|/ / |
|
|\ \
| | |
| | | |
Backport mapper fixes
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we used uniqid() here.
However this means that the behaviour is not reproducable, so
when uploading files into a "empty" folder, the folders name is
different.
If there would be a md5() hash collition, the deduplicate check
will spot this and append an index later, so this should not be
a problem.
Fix #6722
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|