summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix update from 9.0.0 and 9.0.1 (#24854)VicDeo2016-06-072-0/+65
| |
* | Allow public upload when the quota is unlimited (#24988)Joas Schilling2016-06-061-1/+1
| |
* | Merge pull request #24921 from owncloud/stable9-backport-24795Vincent Petry2016-06-021-1/+2
|\ \ | | | | | | [9.0] Allow opening the password reset link in a new window when …
| * | Allow opening the password reset link in a new window when its a URLJoas Schilling2016-06-011-1/+2
| | |
* | | Merge pull request #24944 from owncloud/fix_21173_stable9Vincent Petry2016-06-021-0/+1
|\ \ \ | | | | | | | | stable9: normalize path in getInternalPath
| * | | normalize path in getInternalPathGeorg Ehrke2016-06-011-0/+1
| |/ /
* | | Backport of share id as string fixVincent Petry2016-06-011-1/+1
| | |
* | | trigger size calculation after scanningRobin Appelman2016-06-011-0/+6
|/ /
* | [stable9] Properly check for mbstring extensionLukas Reschke2016-05-311-1/+1
| | | | | | | | mb_detect_encoding is in the fallback we ship in the polyfill library, mb_strcut is not. Thus this lead to a false positive and ownCloud would just break.
* | Only show message in the UI when the checker is enabled (#24773)Joas Schilling2016-05-301-1/+1
| |
* | replaced UnseekableException => NotPermittedExceptionPiotr Filiciak2016-05-253-40/+5
| |
* | Lowercase class name for unseekableexceptionVincent Petry2016-05-251-0/+0
| | | | | | | | Because 9.1 was PSR-4 and the backport goes back to the old style
* | Code style and doc fixPiotr Filiciak2016-05-253-10/+11
| |
* | Http Range requests support in downloadsPiotr Filiciak2016-05-253-12/+199
| | | | | | | | Http range requests support is required for video preview
* | Merge pull request #24417 from owncloud/fix_24182_9.0Vincent Petry2016-05-241-1/+9
|\ \ | | | | | | [stable9] first call the post_login hooks, before we call getUserFolder.
| * | first call the post_login hooks, before we call getUserFolder.Björn Schießle2016-05-031-1/+5
| | | | | | | | | | | | | | | | | | | | | The login process needs to be completed before we can safely create the users home folder. For example we need to give encryption a chance to initialize the users encryption keys in order to copy the skeleton files correctly
| * | Fixes #23899Thomas Müller2016-05-031-0/+4
| | |
* | | Make sure that installed is a booleanJoas Schilling2016-05-231-0/+1
| | |
* | | Remove the password from the validateUserPass() method as wellJoas Schilling2016-05-191-1/+1
| | |
* | | Merge pull request #24414 from owncloud/stable9_24405Vincent Petry2016-05-191-1/+11
|\ \ \ | | | | | | | | [Stable9] Use a CappedCache in the user database backend
| * | | Use a CappedCache in the user database backendRoeland Jago Douma2016-05-031-1/+11
| |/ / | | | | | | | | | | | | | | | When running with a user database backend on large installations the cache can grow to significant sizes. This can be especially problematic when running big cron/repair jobs.
* | | Merge pull request #24705 from owncloud/locking-mark-reload-free-9Vincent Petry2016-05-191-0/+3
|\ \ \ | | | | | | | | [9.0] free up memory when releasing the last shared lock
| * | | free up memory when releasing the last shared lockRobin Appelman2016-05-181-0/+3
| | | |
* | | | Merge pull request #24676 from owncloud/stable9-fixchunkttlVincent Petry2016-05-181-1/+3
|\ \ \ \ | |/ / / |/| | | [stable9] Allow chunk GC mtime tolerance for unfinished part chunks
| * | | Allow chunk GC mtime tolerance for unfinished part chunksVincent Petry2016-05-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever part chunks are written, every fwrite in the write loop will reset the mtime to the current mtime. Only at the end will the touch() operation set the mtime to now + ttl, in the future. However the GC code is expecting that every chunk with mtime < now are old and must be deleted. This causes the GC to sometimes delete part chunks in which the write loop is slow. To fix this, a tolerance value is added in the GC code to allow for more time before a part chunk gets deleted.
* | | | Merge pull request #24441 from ↵Vincent Petry2016-05-171-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | owncloud/backport-24432-never-save-app-language-into-request-lang [9.0] Do not save the language as request lang for apps when we didn't find…
| * | | Do not save the language as request lang for apps when we didn't find anyJoas Schilling2016-05-041-1/+1
| |/ /
* | | Merge pull request #24540 from ↵Vincent Petry2016-05-133-20/+121
|\ \ \ | | | | | | | | | | | | | | | | owncloud/stable9-do-not-automatically-try-to-enable-index-php-less-urls [Stable9] do not automatically try to enable index php less urls
| * | | Add repair step for copying the RewriteBaseLukas Reschke2016-05-102-0/+91
| | | |
| * | | Do not automatically try to enable index.php-less URLsLukas Reschke2016-05-101-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current logic for mod_rewrite relies on the fact that people have properly configured ownCloud, basically it reads from the `overwrite.cli.ur l` entry and then derives the `RewriteBase` from it. This usually works. However, since the ownCloud packages seem to install themselves at `/owncloud` (because subfolders are cool or so…) _a lot_ of people have just created a new Virtual Host for it or have simply symlinked the path etc. This means that `overwrite.cli.url` is wrong, which fails hard if it is used as RewriteBase since Apache does not know where it should serve files from. In the end the ownCloud instance will not be accessible anymore and users will be frustrated. Also some shared hosters like 1&1 (because using shared hosters is so awesome… ;-)) have somewhat dubious Apache configurations or use versions of mod_rewrite from the mediveal age. (because updating is money or so…) Anyhow. This makes this explicitly an opt-in configuration flag. If `htaccess.RewriteBase` is set then it will configure index.php-less URLs, if admins set that after installation and don't want to wait until the next ownCloud version they can run `occ maintenance:update:htaccess`. For ownCloud 9.0 we also have to add a repair step to make sure that instances that already have a RewriteBase configured continue to use it by copying it into the config file. That way all existing URLs stay valid. That one is not in this PR since this is unneccessary in master. Effectively this reduces another risk of breakage when updating from ownCloud 8 to ownCloud 9. Fixes https://github.com/owncloud/core/issues/24525, https://github.com/owncloud/core/issues/24426 and probably some more.
* | | | cap the normalized path cache (#24390)Robin Appelman2016-05-121-1/+6
| | | |
* | | | Remove repair steps for broken updater repair (#24438)Lukas Reschke2016-05-122-112/+0
| | | | | | | | | | | | That's only required for an update to 9.0.2, the updater server has the required logic to ensure that clients get the right update delivered.
* | | | Make update server URL configurableLukas Reschke2016-05-111-5/+2
| | | | | | | | | | | | | | | | Currently testing the updates is a big problem and not really super easy possible. Since we now have a new updater server we should also make this configurable so that people can properly test updates.
* | | | Merge pull request #24384 from ↵Thomas Müller2016-05-111-6/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | owncloud/backport-24327-memory-usage-in-callForAllUsers [9.0] Better callForAllUsers memory usage
| * | | | When we iterate over all users that might be too much memoryJoas Schilling2016-05-021-4/+9
| | | | |
| * | | | Don't loop over the backends, we already know where the user should beJoas Schilling2016-05-021-3/+3
| | |/ / | |/| |
* | | | Yo-ho-oh - Murder all band 'o pirates - backport of #24550Thomas Müller2016-05-112-10/+0
| |/ / |/| |
* | | solves problem with moving files via WebDAVPetr Svoboda2016-05-041-1/+1
|/ / | | | | | | | | | | | | When moving files via WebDAV I sometimes got PHP Fatal error: Nesting level too deep - recursive dependency? in /var/www/owncloud/lib/private/files/view.php on line 729 This small change has fixed the problem for me
* | Make ownCloud work again in php 7.0.6Roeland Jago Douma2016-05-011-0/+3
| | | | | | | | | | | | See https://bugs.php.net/bug.php?id=72117 Basically a bugfix in php caused this issue. So isset is not called more often. We have to catch this.
* | Check for hash instead of file existenceLukas Reschke2016-04-271-3/+4
| | | | | | | | | | | | The previous logic did not necessarily trigger in every case. This logic is more error-resistant, the autoload_classmap.php file has a guaranteed different hash on 9.0.0, 9.0.1 and 9.0.2 Fixes https://github.com/owncloud/updater/issues/342
* | Merge branch 'stable9' into local-invalid-9C. Montero Luque2016-04-263-1/+19
|\ \
| * \ Merge pull request #24292 from owncloud/stable9-work-around-more-updater-issuesC. Montero Luque2016-04-261-0/+1
| |\ \ | | | | | | | | [stable9] Also exclude __apps
| | * | Also exclude __appsLukas Reschke2016-04-261-0/+1
| | | | | | | | | | | | Workaround for https://github.com/owncloud/updater/issues/331 for 9.0.2
| * | | Merge pull request #24261 from owncloud/scanner-propagate-9C. Montero Luque2016-04-261-0/+16
| |\ \ \ | | | | | | | | | | [9.0] triger the propagator from the command line scanner
| | * | | triger the propagator from the command line scannerRobin Appelman2016-04-251-0/+16
| | | | |
| * | | | Merge pull request #24282 from owncloud/backport-24262-stable9C. Montero Luque2016-04-261-1/+2
| |\ \ \ \ | | | | | | | | | | | | [stable9] check whether index is set before using it
| | * | | | check whether index is set before using itArthur Schiwon2016-04-261-1/+2
| | | |/ / | | |/| |
* | / | | error out if a local storage isn't setup correctlyRobin Appelman2016-04-261-0/+3
|/ / / /
* / / / Don't write empty RewriteBaseLukas Reschke2016-04-261-1/+9
|/ / / | | | | | | | | | | | | | | | ownCloud may be configured to live at the root folder without a trailing slash being specified. In this case manually set the rewrite base to `/`
* | | Merge pull request #24202 from owncloud/backport-stable9-23972Thomas Müller2016-04-255-10/+34
|\ \ \ | | | | | | | | [9.0] Call private cache methods only for `OC\Files\Cache\Cache`