summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* Remove private legacy OC_OCS_ResponseRoeland Jago Douma2017-09-211-28/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* OC_OCS_Response is deprecatedRoeland Jago Douma2017-09-211-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Read appinfo from a local cacheRoeland Jago Douma2017-09-191-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* don't pass User object when uid string is expectedArthur Schiwon2017-09-181-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Inject \OCP\IURLGenerator to make tests workLukas Reschke2017-08-181-2/+3
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Properly allow \OCP\Authentication\IApacheBackend to specify logout URLLukas Reschke2017-08-181-7/+5
| | | | | | | | | | | | | | | | | | | | Any `\OCP\Authentication\IApacheBackend` previously had to implement `getLogoutAttribute` which returns a string. This string is directly injected into the logout `<a>` tag, so returning something like `href="foo"` would result in `<a href="foo">`. This is rather error prone and also in Nextcloud 12 broken as the logout entry has been moved with 054e161eb5f4a5c5c13ee322ae8e93ce66f01b13 inside the navigation manager where one cannot simply inject attributes. Thus this feature is broken in Nextcloud 12 which effectively leads to the bug described at nextcloud/user_saml#112, people cannot logout anymore when using SAML using SLO. Basically in case of SAML you have a SLO url which redirects you to the IdP and properly logs you out there as well. Instead of monkey patching the Navigation manager I decided to instead change `\OCP\Authentication\IApacheBackend` to use `\OCP\Authentication\IApacheBackend::getLogoutUrl` instead where it can return a string with the appropriate logout URL. Since this functionality is only prominently used in the SAML plugin. Any custom app would need a small change but I'm not aware of any and there's simply no way to fix this properly otherwise. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Logo claim is not used anymoreMorris Jobke2017-08-021-7/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use public methods for OC_App::isShippedMorris Jobke2017-08-012-20/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #5939 from nextcloud/dont-have-set-uid-as-displaynameMorris Jobke2017-08-011-12/+0
|\ | | | | Remove setUidAsDisplayName
| * Remove setUidAsDisplayNameLukas Reschke2017-07-311-12/+0
| | | | | | | | | | | | This code is a leftover from the old Shibboleth implementation from ownCloud days, nowadays it causes more issues than it does good (such as https://github.com/nextcloud/user_saml/pull/137). Let's remove it for the future thus. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Some more invalid PHPDocs in legacy classesLukas Reschke2017-08-016-10/+19
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Replace wrong PHPDocsLukas Reschke2017-08-015-16/+32
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix template functionsLukas Reschke2017-08-011-3/+5
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix \OCP\UtilLukas Reschke2017-08-011-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Add proper PHPDocLukas Reschke2017-08-011-1/+3
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Use IConfig instead of static OCP\ConfigMorris Jobke2017-07-271-2/+3
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #5864 from nextcloud/legacy_userLukas Reschke2017-07-253-92/+1
|\ | | | | Remove legacy OC_User_Backend and OC_User_Interface
| * Remove legacy OC_User_Backend and OC_User_InterfaceRoeland Jago Douma2017-07-243-92/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move \OC_L10N_String to proper \OC\L10N\L10NStringRoeland Jago Douma2017-07-242-80/+1
|/ | | | | | | * Proper namespacing * Fixed phpdocs Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #5857 from nextcloud/database-exception-cleanupMorris Jobke2017-07-241-2/+2
|\ | | | | Remove unneeded parameter in DatabaseException
| * Remove unneeded parameter in DatabaseExceptionMorris Jobke2017-07-241-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #5855 from nextcloud/cleanup-legacy-user-classMorris Jobke2017-07-241-67/+1
|\ \ | | | | | | Cleanup legacy user class from unused methods
| * | Cleanup legacy user class from unused methodsMorris Jobke2017-07-241-67/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #5854 from nextcloud/improve-personal-page-codeMorris Jobke2017-07-241-51/+0
|\ \ | | | | | | Cleanup code of personal page to use public interfaces
| * | Cleanup code of personal page to use public interfacesMorris Jobke2017-07-241-51/+0
| |/ | | | | | | | | | | | | * public interfaces instead of static code calls * drop static private namespace methods Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / More phpstorm inspection fixesRoeland Jago Douma2017-07-241-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Redesign jQuery UI datepickerMarin Treselj2017-07-231-1/+1
| | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* PrivateData to appRoeland Jago Douma2017-07-211-28/+0
| | | | | | | * PrivateData is an app now: https://github.com/nextcloud/privatedata * No need to load the OCS routes.php (as there is none!) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #5529 from michaelletzgus/optimize_js_orderMorris Jobke2017-07-071-3/+3
|\ | | | | Optimize performance / Load CSS and JS in parallel on firefox
| * Optimize performance / Load CSS and JS in parallel on firefoxMichael Letzgus2017-06-241-3/+3
| | | | | | | | | | | | | | Move the inline <script> after the external <script> because the internal JS between CSS <link> and external JS makes firefox loading CSS and JS not in parallel. The internal js is now parsed last but will still be executed first since everything else is deferred js. Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* | Register autoloading before running migrationsJoas Schilling2017-07-051-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use migrations when there is no database.xmlJoas Schilling2017-07-051-3/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Start migrationsJoas Schilling2017-07-051-1/+8
|/ | | | | | | | | | Fixme: - Install and update of apps - No revert on live systems (debug only) - Service adjustment to our interface - Loading via autoloader Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4993 from michaelletzgus/emit_css-tagsMorris Jobke2017-06-141-1/+31
|\ | | | | Emit css tags
| * Streamline templates, more DRYMichael Letzgus2017-05-251-1/+31
| | | | | | | | | | | | | | | | Use Unified function to emit <link> tags for css loading, obey "Don't Repeat Yourself" ;-) (Next step might by to combine this with the emit <script> function (even more DRY?) AND move all this to a better place?) Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* | Update setupchecks.jsrakekniven2017-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | Fixed typo and removed doclink symbol. Reported at transifex Update util.php Another l10n improvement from transifex. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Register the autoloading earlier so we can load the background jobsJoas Schilling2017-05-241-2/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4854 from michaelletzgus/deferred-script-loading-v2Morris Jobke2017-05-202-0/+41
|\ | | | | Make page loading faster, deferred script loading, now switchable:
| * Make page loading faster by deferred script loading:Michael Letzgus2017-05-202-0/+41
| | | | | | | | | | | | | | | | * Create generalized function for emmitting <script defer src=""> tags to templates * Remove type attribute from inline_js * Add defer attribute to external <script> tags Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* | Remove OC_App:installAppMorris Jobke2017-05-151-27/+2
|/ | | | | | | | | * uses Installer->installApp now * removes unused code * fixes #4453 * added some additional checks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Correctly calculate used space for quota with external storageArdinis2017-05-121-1/+1
| | | | | | issue #4348 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Setup root FS for multibucket object storageMorris Jobke2017-05-101-1/+46
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix missing placeholder for doc linkJoas Schilling2017-05-101-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix escaped HTML on error pagesMorris Jobke2017-05-081-12/+8
| | | | | | * fixes #4655 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add function to request SVG or regular fallback imageLukas Reschke2017-05-081-7/+10
| | | | | | Fixes https://github.com/nextcloud/server/issues/4647 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* ensure theming app is loaded when showing an error pageRobin Appelman2017-05-061-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #4620 from nextcloud/preview-error-handlingRoeland Jago Douma2017-05-021-4/+4
|\ | | | | better handling of preview generation errors
| * better handling of preview generation errorsRobin Appelman2017-05-021-4/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update documentation go.php URL to 12Lukas Reschke2017-05-021-1/+1
|/ | | | | | Fixes https://github.com/nextcloud/server/issues/4646 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #4515 from nextcloud/downstream-27643Morris Jobke2017-04-261-8/+1
|\ | | | | Adjust query/event logging code in favour of more complex owncloud/di…