summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix default parameter of OC_DB::executeAudited()Morris Jobke2017-12-181-2/+2
| | | | | | * fixes #7546 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7427 from nextcloud/fix-white-color-in-emailsMorris Jobke2017-12-111-0/+9
|\ | | | | Fix email buttons for white theme
| * Fix email buttons for white themeMorris Jobke2017-12-111-0/+9
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7334 from ↵blizzz2017-12-081-1/+17
|\ \ | |/ |/| | | | | nextcloud/feature/noid/language-depending-skeleton-directory Allow `{lang}` as a placeholder in the skeleton directory
| * Fallback to "default" and check if directory existsMorris Jobke2017-12-081-1/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Allow `{lang}` as a placeholder in the skeleton directoryJoas Schilling2017-11-291-1/+14
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow to skip data dir permission checks by configArthur Schiwon2017-11-301-1/+4
|/ | | | | | | Enables installation on services that don't allow/support permission changes. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #7295 from nextcloud/remove-unused-methodLukas Reschke2017-11-271-16/+0
|\ | | | | Remove unused mimetype detection method in OC_Image
| * Remove unused mimetype detection method in OC_ImageMorris Jobke2017-11-271-16/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Get the Installer via DIMorris Jobke2017-11-252-16/+11
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use basename() instead of self implementationMorris Jobke2017-11-231-10/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6788 from staabm/masterLukas Reschke2017-11-081-1/+1
|\ | | | | Prevent XSS in links which open a new browser window
| * Prevent XSS in links which open a new browser windowMarkus Staab2017-10-191-1/+1
| |
* | Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-071-1/+1
|\ \ | | | | | | Remove unused variables
| * | Remove unused variablesMorris Jobke2017-11-061-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Change @georgehrke's emailMorris Jobke2017-11-065-5/+5
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Update license headersMorris Jobke2017-11-0613-11/+36
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-015-20/+6
|\ \
| * \ Merge pull request #6928 from nextcloud/remove-unneeded-methodMorris Jobke2017-10-241-15/+0
| |\ \ | | | | | | | | Remove unused method of OC_App
| | * | Remove unused method of OC_AppMorris Jobke2017-10-241-15/+0
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Deprecate OC_App:isEnabledMorris Jobke2017-10-241-0/+1
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Merge pull request #6920 from nextcloud/appmanager-usageMorris Jobke2017-10-243-3/+3
| |\ \ | | | | | | | | Use appmanager instead of OC_App for check for enabled app
| | * | Use appmanager instead of OC_App for check for enabled appMorris Jobke2017-10-233-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Doc: Fix phpDoc issuesJulius Härtl2017-10-232-2/+2
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / AutoCompletion backendArthur Schiwon2017-10-221-0/+2
|/ / | | | | | | | | | | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Allow apps to have their own autoloaderRoeland Jago Douma2017-10-171-4/+12
| | | | | | | | | | | | | | | | | | | | This will allow apps to also have a proper classmap and authorative autoloader. Currently if a file: <appdir>/composer/autoload.php exists we will use it. Else we keep the current behavior. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Do not return app names multiple timesJulius Härtl2017-10-101-0/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* adapt attribute name (changed letter case style)Arthur Schiwon2017-09-271-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* reduce nesting of the required app XMLArthur Schiwon2017-09-271-3/+12
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* make it possible to register plugins and kick out the circle oneArthur Schiwon2017-09-261-0/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* 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>