summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3778 from nextcloud/verify_jpg_filesLukas Reschke2017-03-101-1/+5
|\ | | | | Test if a file is a valid jpg file
| * Test is a file is a valid jpg fileRoeland Jago Douma2017-03-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | During preview generation if we provide an invalid JPG file the system errors out with a PHP Fatal Error. Now we can't catch Fatal Errors (in 5.6). I suspect that exif_imagetype to fall back to the extention. However a valid jpg file has a size. So we request the size of the image and just drop out if that returns false. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-092-303/+3
| | | | | | | | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add more styles to the server.scssMorris Jobke2017-03-091-9/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [PoC] combine 2 scss files!Roeland Jago Douma2017-03-091-2/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #3689 from nextcloud/cleanup-legacy-classesJoas Schilling2017-03-035-248/+0
|\ | | | | Cleanup not used legacy classes
| * Get rid of static OCS::notFound()Morris Jobke2017-03-031-43/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Cleanup not used legacy classesMorris Jobke2017-03-034-205/+0
| | | | | | | | | | | | | | * Person was removed via #2170 * other lcasses/interfaces are not used at all Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove deprecated OC_User::isLoggedInSebastian Wessalowski2017-03-023-5/+5
|/ | | | Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
* Fix code quality a bitJoas Schilling2017-02-221-13/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use 90% JPEG quality for thumbnails and previews by defaultJoas Schilling2017-02-221-3/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "cache the storage info for 5 min"Morris Jobke2017-02-161-29/+5
|
* Merge pull request #3439 from nextcloud/oc-26963Lukas Reschke2017-02-161-8/+8
|\ | | | | Make sure invalid images don't flood the log file
| * Check if color exists in palette before using itVictor Dubiniuk2017-02-101-3/+3
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * Make sure invalid images don't flood the log fileJoas Schilling2017-02-101-5/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Don't force displayname if backend already provides oneLukas Reschke2017-02-161-1/+12
| | | | | | | | | | | | | | | | `\OC_User::loginWithApache` is used in combination with backend mechanisms like our SSO / SAML integration. Those can optionally already provide a displayname using other means. For example by mapping SAML attributes. The current approach makes it however impossible for backends using `\OCP\Authentication\IApacheBackend` to set a displayname on their own. Because the display name will simply be overwritten with the loginname. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Always enable avatarsMorris Jobke2017-02-131-4/+2
|/ | | | | | | | | * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2044 from nextcloud/login-credential-storeMorris Jobke2017-01-301-21/+0
|\ | | | | Login credential store
| * always allow remembered loginChristoph Wurst2017-01-111-21/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #3214 from nextcloud/cache-storage-infoRobin Appelman2017-01-241-5/+29
|\ \ | | | | | | cache the storage info for 5 min
| * | hash the path used for the cache key to prevent key length problemsRobin Appelman2017-01-241-2/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | cache the storage info for 5 minRobin Appelman2017-01-231-5/+28
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Prevent PHP request to get killed when using fclose callback (#26775)Vincent Petry2017-01-231-0/+1
|/ / | | | | | | | | | | | | | | * Prevent PHP request to get killed when using fclose callback * Add ignore_user_abort everywhere where the time limit is set to 0 Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix testsJoas Schilling2017-01-131-8/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove the magic parsing of the descriptionJoas Schilling2017-01-131-24/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove group restrictions when those are not allowed anymoreJoas Schilling2017-01-041-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2820 from nextcloud/testing-md5homeLukas Reschke2016-12-231-2/+9
|\ | | | | Testing md5home (#26854)
| * Testing md5home (#26854)Vincent Petry2016-12-221-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow clearing default user backends in config.php When specifying "user_backends" in config.php, a new option "default" when set to false will prevent the default user backend to be registered. The default one is the database backend. This makes it possible to select exclusive user backends from apps. * Testing app provides test user backend for alternative homes The backend provide md5 result to getHome() * Only md5 the user home when it's not the admin Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Only show version in settings - do not list channelMorris Jobke2016-12-221-2/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Don't use cached informations for app versionLukas Reschke2016-12-091-4/+7
| | | | | | | | | | | | | When installing an app from the appstore the `\OC_App::getAppVersion` code is triggered twice: - First when the downloader tries to compare the current version to the new version on the appstore to check if there is a newer version. This protects against downgrade attacks and is implemented in `\OC\Installer::downloadApp`. - Second, when the app is actually installed the current version is written to the database. (`\OC\Installer::installApp`) This fails however when the version is actually cached. Because in step 1 the cached version will be set to "0" and then be reused in the second step. While this is probably not the cleanest version I assume this is an approach that is least invasive. Feedback and suggestions welcome :) Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Cahnge URL for desktop clients directly to pop-upFelix A. Epp2016-12-081-1/+1
| | | | | | by adding `/#install-clients` to the URL Signed-off-by: Felix A. Epp <work@felixepp.de>
* Properly check the data dirMorris Jobke2016-12-051-0/+2
| | | | | | * fixes #1364 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #2066 from nextcloud/fix-redirect-double-encodingMorris Jobke2016-11-291-1/+1
|\ | | | | do not double encode the redirect url
| * do not double encode the redirect urlChristoph Wurst2016-11-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use correct channel informationMorris Jobke2016-11-291-7/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Keep the filemtime for files when downloading them in a zip/tarJoas Schilling2016-11-281-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add jquery ui fixes js fileJohn Molakvoæ (skjnldsv)2016-11-251-0/+1
| | | | | | | | | | | | + fix autocomplete width (fix #2324) Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Update link to the docs to 11Lukas Reschke2016-11-221-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | fix white screen of death in maintenance mode when theming is disabledRobin Appelman2016-11-211-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add system config htaccess.IgnoreFrontController for prettyURLs w/o mod_envFelix Epp2016-11-161-3/+4
| | | | | | | | | | | | | | Added the system config which sets all conditions to true that query the FrontControllerActive mod_env variable. Signed-off-by: Felix A. Epp <work@felixepp.de>
* | Add autoloader path for newly installed apps tooMorris Jobke2016-11-161-0/+2
| | | | | | | | | | | | | | * followup to https://github.com/nextcloud/server/pull/2148 * problem noticed in https://github.com/nextcloud/files_antivirus/pull/11 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #2148 from nextcloud/add_autoloader_before_enablingRoeland Jago Douma2016-11-161-0/+2
|\ \ | | | | | | Add autoloader before enabling apps
| * | Add autoloader before enabling appsRoeland Jago Douma2016-11-151-0/+2
| | | | | | | | | | | | | | | | | | | | | Else apps that require already autoloading in the installer (files_antivius) die hard! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Allow to register ProvidersJoas Schilling2016-11-161-0/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Allow to register settings/types via info.xmlJoas Schilling2016-11-161-0/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Allow to register activity filters via info.xmlJoas Schilling2016-11-161-0/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #2145 from nextcloud/docs_to_comMorris Jobke2016-11-161-1/+1
|\ \ \ | | | | | | | | docs are on nc.com
| * | | docs are on nc.comRoeland Jago Douma2016-11-151-1/+1
| |/ / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix testsRoeland Jago Douma2016-11-151-15/+9
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Do not cache version info in the sessionsRoeland Jago Douma2016-11-151-29/+32
|/ / | | | | | | | | | | | | | | | | If the session is cleared and closed for whatever reason the loadVersion will write to the session anyways. This will lead to an exception. This should fix #1303 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>