summaryrefslogtreecommitdiffstats
path: root/lib/base.php
Commit message (Collapse)AuthorAgeFilesLines
* fix preview hooks, enable_previews default is trueGeorg Ehrke2015-05-131-1/+1
|
* use hooks to update encryption keys instead of the storage wrapper if a file ↵Bjoern Schiessle2015-05-111-0/+2
| | | | | | gets renamed/restored, as long as we are in the storage wrapper the file cache isn't up-to-date
* Do not trigger preview hooks if enable_previews is falseHugo Gonzalez Labrador2015-05-061-10/+10
|
* Do not trigger preview hooks if enable_previews is falseHugo Gonzalez Labrador2015-05-061-7/+9
|
* Don't display errors and log themLukas Reschke2015-05-051-5/+3
| | | | Fixes https://github.com/owncloud/core/issues/16014
* Try to set required ini values in base.phpLukas Reschke2015-05-031-0/+7
| | | | Fixes https://github.com/owncloud/core/issues/16006
* use the preSetup hook to ensure the encryption wrapper is applied correctlyRobin Appelman2015-04-301-1/+1
|
* Delay initialization of the OC\Encryption\Update - introducing ↵Thomas Müller2015-04-171-19/+2
| | | | 'OC\Encryption\HookManager'
* detect system wide mount points correctlyBjoern Schiessle2015-04-161-0/+1
|
* Merge pull request #15489 from owncloud/dont_hide_exceptions_masterThomas Müller2015-04-101-0/+4
|\ | | | | Dont hide exceptions master
| * do not disclose information, show generic error on login pageJörn Friedrich Dreyer2015-04-101-0/+4
| | | | | | | | | | | | Conflicts: core/templates/login.php lib/base.php
* | Merge pull request #15510 from owncloud/cron-singleuserThomas Müller2015-04-101-14/+24
|\ \ | |/ |/| block cron when in single user mode
| * Fix singe user mode on public.php - take twoThomas Müller2015-04-101-1/+5
| |
| * Fix single user check in case no user is logged inThomas Müller2015-04-091-13/+19
| |
* | Adding check command to validate server environment - fixes #15429Thomas Müller2015-04-081-25/+26
|/
* Encryption storage wrapper is enabled by default - necessary to detect ↵Thomas Müller2015-04-071-4/+1
| | | | encrypted files even if encryption was disabled after files have been encrypted - prevents data corruption
* add helper class accessible for encryption modules to ask for a list of ↵Bjoern Schiessle2015-04-071-0/+1
| | | | users with access to a file, needed to apply the recovery key to all files
* Setting up the encryption wrapper in a setup hook - temporarily fixes the ↵Thomas Müller2015-04-071-17/+1
| | | | wrapping order
* Further cleanup of files_encryptionThomas Müller2015-04-071-3/+0
|
* fix lib/private/encryption/util.php callBjoern Schiessle2015-04-071-12/+18
|
* Add mount point to disable the encryption wrapperRobin Appelman2015-03-311-8/+12
|
* Merge pull request #15234 from owncloud/encryption2_coreThomas Müller2015-03-261-2/+43
|\ | | | | core part of encryption 2.0
| * implement basic encryption functionallity in core to enable multiple ↵Bjoern Schiessle2015-03-261-2/+43
| | | | | | | | encryption modules
* | Merge pull request #15232 from owncloud/remove-arg-separator-magicLukas Reschke2015-03-261-1/+0
|\ \ | | | | | | Remove custom `arg_separator.output`
| * | Remove custom `arg_separator.output`Lukas Reschke2015-03-261-1/+0
| |/ | | | | | | | | | | This seems unrequired nowadays and like a legacy fragment. It should be safe to remove. Fixes https://github.com/owncloud/core/issues/14782
* / Update license headersJenkins for ownCloud2015-03-261-12/+42
|/
* Handle session initialization errors and display error page - fixes #15053Thomas Müller2015-03-201-0/+1
|
* Stop executing, when 3rdparty is missing or apps directory is invalidJoas Schilling2015-03-181-10/+21
|
* Properly handle available databases at runtime and respect setup checks in ↵Thomas Müller2015-03-111-1/+2
| | | | command line as well
* Use occ to install ownCloud in autotest.shThomas Müller2015-03-111-1/+1
|
* Refactor \OC\Memcache\FactoryRobin McCorkell2015-03-051-2/+2
| | | | | | | | | | Caches divided up into two groups: distributed and local. 'Low latency' is an alias for local caches, while the standard `create()` call tries to get distributed caches first, then local caches. Memcache backend is set in `config.php`, with the keys `memcache.local` and `memcache.distributed`. If not set, `memcache.distributed` defaults to the value of `memcache.local`.
* Let users configure security headers in their WebserverLukas Reschke2015-03-021-29/+4
| | | | | | | | | | Doing this in the PHP code is not the right approach for multiple reasons: 1. A bug in the PHP code prevents them from being added to the response. 2. They are only added when something is served via PHP and not in other cases (that makes for example the newest IE UXSS which is not yet patched by Microsoft exploitable on ownCloud) 3. Some headers such as the Strict-Transport-Security might require custom modifications by administrators. This was not possible before and lead to buggy situations. This pull request moves those headers out of the PHP code and adds a security check to the admin settings performed via JS.
* Simplify codeLukas Reschke2015-03-011-4/+4
|
* Add detection for invalid CLI configuration for settings pageLukas Reschke2015-02-271-1/+16
| | | | | | | | | | | | | | This change will log all failures that prevent the CLI cronjob from happening to the database and display a warning to administrators when an error happened. To test: 1. Configure some invalid CLI php.ini settings 2. Enable the CLI cronjob and run php cron.php 3. See the errors printed and also in the admin page 4. Configure the CLI settings correctly 5. Errors should be gone. Fixes https://github.com/owncloud/core/issues/13994
* Revert "Updating license headers"Morris Jobke2015-02-261-42/+13
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Always load authentication appsLukas Reschke2015-02-241-3/+4
| | | | | | | | | | The current code path may trigger situations where the LDAP application is not yet loaded and thus problems with the authentication appeared. In previous versions of ownCloud the authentication mechanism manually loaded these apps which is why this affects ownCloud 8 and master only for my knowledge. (certainly not 6, maybe 7) Backport to 8 might be something to consider. Fixes https://github.com/owncloud/core/issues/14469
* properly initialize OC::$WEBROOT and host nameThomas Müller2015-02-231-11/+16
|
* implement command maintenance:installThomas Müller2015-02-231-0/+3
|
* Updating license headersJenkins for ownCloud2015-02-231-13/+42
|
* Merge pull request #14199 from owncloud/cast-type-manuallyMorris Jobke2015-02-191-3/+3
|\ | | | | Manually type-cast all AJAX files
| * Manually type-case all AJAX filesLukas Reschke2015-02-131-3/+3
| | | | | | | | | | | | 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
* | Merge pull request #14335 from owncloud/enable-strict-mode-per-deafultClark Tomlinson2015-02-181-2/+2
|\ \ | | | | | | Fix invalid `ini_set` directives
| * | Fix invalid `ini_set` directivesLukas Reschke2015-02-181-2/+2
| | | | | | | | | | | | Somehow they got messed up. Because PHP does automatic type juggling this has worked before as well however it's not guaranteed that this might work in the future as well.
* | | Merge pull request #14330 from ↵Lukas Reschke2015-02-181-2/+1
|\ \ \ | | | | | | | | | | | | | | | | owncloud/revert-13879-add_debug_log_for_memcache_instantiation Revert "add debug log for memcache instantiation"
| * | | Revert "add debug log for memcache instantiation"Lukas Reschke2015-02-181-2/+1
| |/ /
* / / Check if instance is not yet installedLukas Reschke2015-02-181-0/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Due to a security hardening in 8.1 a missing value of empty trusted domains in the config would provoke an error as this was misused by a lot of users. This caused a problem where the initial installation happened from another domain than 127.0.0.1 as in this case the domain was considered untrusted as no value was defined. However, this special case should not get intercepted. To test: - [ ] Installing ownCloud on 127.0.0.1 works - [ ] Installing ownCloud on another domain / IP works - [ ] When setting up ownCloud from 127.0.0.1 and accessing it from the domain above the trusted domain error should be shown if not specified in the config Fixes https://github.com/owncloud/core/issues/14320
* | Incorporate review changesLukas Reschke2015-02-161-2/+1
| |
* | Add blackmagic due to cyclic dependency :see_no_evil:Lukas Reschke2015-02-161-1/+8
| |
* | Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-13/+27
| | | | | | | | | | | | | | | | | | | | This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed. This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions. Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though. Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
* | add debug log for memcache instantiationJörn Friedrich Dreyer2015-02-161-1/+2
| |