summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused sectionLukas Reschke2015-03-171-1/+0
| | | | This section is now unused as the security configuration has to happen on the webserver layer since https://github.com/owncloud/core/pull/14651
* Let users configure security headers in their WebserverLukas Reschke2015-03-021-5/+0
| | | | | | | | | | 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.
* Add detection for invalid CLI configuration for settings pageLukas Reschke2015-02-271-0/+1
| | | | | | | | | | | | | | 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
* Merge pull request #14530 from owncloud/revert-14403Thomas Müller2015-02-271-26/+4
|\ | | | | Revert "Updating license headers"
| * Revert "Updating license headers"Morris Jobke2015-02-261-26/+4
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Move UTF-8 check to setupLukas Reschke2015-02-241-2/+1
|/ | | | | | | | Nobody reads the warnings anyways and so we should enforce it at installation time... Also allows us to get rid of some duplicated code. To test change the `default_charset` to something other than `utf-8` or `UTF-8`, both should work fine with that change here. An error should then get shown. We already set those default charsets in the shipped .user.ini and .htaccess
* Updating license headersJenkins for ownCloud2015-02-231-4/+26
|
* Use APCu only if available in version 4.0.6 and higherLukas Reschke2015-02-171-0/+4
| | | | | | | | APCu before 4.0.6 is unbelievable buggy and tend to segfault the PHP process (i.e. the whole webserver) This potentially fixes https://github.com/owncloud/core/issues/14175 Requires a backport to stable8
* Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-2/+3
| | | | | | | | | | 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 a Windows warningFrank Karlitschek2015-01-201-0/+2
|
* fix typo - caused by 3d997e8c62bd752f38bcc11f02fb2af0e46d9154Morris Jobke2015-01-181-1/+1
|
* Merge pull request #12988 from owncloud/logfile_downloadMorris Jobke2015-01-091-2/+11
|\ | | | | Logfile download
| * add Download logfile button to admin settingsGeorg Ehrke2015-01-071-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add logSettingsController add download logfile button move getEntries to LogSettingsController move set log level to logsettingscontroller.php add warning if logfile is bigger than 100MB add unit test for set log level fix typecasting, add new line at EoF show log and logfile download only if log_type is set to owncloud add unit test for getFilenameForDownload
* | Fix incorrect warning about setting the overwrite.cli.urlJoas Schilling2015-01-071-4/+4
|/
* Add an option to disallow sending sharing emails to non-owncloud usersJoas Schilling2014-12-091-0/+1
| | | | Fix #10836
* Remove unexisting `htAccessWorkinght`Lukas Reschke2014-12-081-1/+1
| | | | Partially fixes https://github.com/owncloud/core/issues/12690 - remark to myself: improve grep skills.
* Check for working .htaccess via AJAXLukas Reschke2014-12-061-2/+0
| | | | Fixes https://github.com/owncloud/core/issues/12650
* PHP 5.4 is now required for masterLukas Reschke2014-12-041-2/+1
| | | | :beers:
* Allow read-only configurationLukas Reschke2014-11-251-0/+1
| | | | | | Workaround required for IIS setups running ownCloud to prevent dataloss. Long-term solution would be to move some configuration settings to the database
* Deduplicate function by moving it to the OC_HelperJoas Schilling2014-11-201-17/+1
|
* Remove exec() call with invalid name on windowsJoas Schilling2014-11-191-1/+1
| | | | | | Currently running unit tests prints the following message 3 times: The command "command" is misspelt or could not be found. Instead of trying this, we just skip this now.
* Merge pull request #12110 from owncloud/fix-12080Thomas Müller2014-11-121-1/+1
|\ | | | | add 'namespace' for automatically created navigation divs, fixes #12080
| * add 'namespace' for automatically created navigation divs, fixes #12080Arthur Schiwon2014-11-121-1/+1
| |
* | Migrate "setsecurity.php" to the AppFrameworkLukas Reschke2014-11-031-1/+2
|/ | | | | | | | | | | | Add switch to enforce SSL for subdomains Add unit tests Add test for boolean values Camel-case Fix ugly JS
* fix loading of more log entriesThomas Müller2014-10-301-1/+1
|
* introduce sidebar for admin pageThomas Müller2014-10-301-67/+95
|
* Make files non executableLukas Reschke2014-10-241-0/+0
| | | | There is not much sense in having these files marked executable, we should avoid that.
* Moved WebDAV and internet checks to client side JSVincent Petry2014-09-231-5/+4
| | | | | | | - Added setup checks in JavaScript - Moved isWebDAVWorking to JS using SetupChecks - Moved internet connection checks to an ajax call that goes through the server
* Fixed select2 for admin and apps pageVincent Petry2014-09-101-1/+2
| | | | | | Added explicit escaping. Now internally using a pipe symbol as separator for select2, to make it possible to use group names containing commas.
* Added select2 on the apps pageVincent Petry2014-09-091-1/+2
| | | | | | | Moved setupGroupsSelect() from admin.js to a common settings.js as OC.Settings.setupGoupsSelect(). Now using select2 as well on the apps page.
* Load select2 on admin pageVincent Petry2014-09-091-0/+2
|
* Now using select2 for the groups excluded from sharingVincent Petry2014-09-091-15/+1
|
* Don't show warning when has_internet_connection is set to falseLukas Reschke2014-09-051-1/+1
| | | | | | Revert Add disabled
* Add a note about overwritewebroot when using system cronJoas Schilling2014-08-181-6/+9
| | | | | | | | If the current webroot is non-empty but the webroot from the config is, and system cron is used, the URL generator fails to build valid URLs. So we notify the admin to set it up correctly. Fix #9995
* Merge pull request #9890 from owncloud/check-php-charset-masterThomas Müller2014-08-111-0/+1
|\ | | | | setting and checking default_charset in php.ini to be UTF-8
| * setting and checking default_charset in php.ini to be UTF-8Thomas Müller2014-07-251-0/+1
| |
* | only call exec() if allowed toThomas Müller2014-07-291-3/+5
|/
* Fixes typo with sendmail detection - fixes #9203Steffen Lindner2014-06-301-1/+1
|
* unify share settingsBjoern Schiessle2014-06-051-1/+1
|
* Merge pull request #8840 from owncloud/share_settingsThomas Müller2014-06-031-1/+1
|\ | | | | by default don't show option to send mail notifications for shares
| * set "allow users to send mail notification for shared files default" setting ↵Bjoern Schiessle2014-06-031-1/+1
| | | | | | | | to "no" now that we have the activity app
* | simplify SQLite warningMorris Jobke2014-06-031-21/+1
| |
* | check for user count and files countMorris Jobke2014-06-031-3/+22
| |
* | add notification on admin pageMorris Jobke2014-06-031-0/+5
|/
* Merge pull request #7614 from owncloud/test_annotations_workingThomas Müller2014-05-301-0/+1
|\ | | | | Check if ReflectionMethod::getDocComment is working
| * Merge branch 'master' into test_annotations_workingThomas Müller2014-05-191-0/+1
| |\ | | | | | | | | | | | | Conflicts: lib/private/util.php
| * | Check if ReflectionMethod::getDocComment is workingThomas Tanghus2014-05-091-0/+1
| | |
* | | allow admin to disable sharing for specific groups of usersBjoern Schiessle2014-05-221-0/+18
| |/ |/|
* | allow admin to enforce passwords for public link sharesBjoern Schiessle2014-05-161-0/+1
|/
* add setting to set default expire dateBjoern Schiessle2014-04-241-0/+4
|