summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Add catch for RuntimeExceptionDaniel Kesselberg2019-05-171-1/+2
| | | | | | | | getDirectoryListing can throw a NotFoundException or a RuntimeException. The repair step should be skipped if the cache directory is missing so a catch for both exceptions is required. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow 2FA to be setup on first loginRoeland Jago Douma2019-05-172-3/+32
| | | | | | | | | Once 2FA is enforced for a user and they have no 2FA setup yet this will now prompt them with a setup screen. Given that providers are enabled that allow setup then. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #15497 from nextcloud/3rdparty/doctrine/dbal-292Roeland Jago Douma2019-05-151-22/+0
|\ | | | | [3rdparty] Doctrine dbal to 2.9.2
| * No need for platform hacks anymoreRoeland Jago Douma2019-05-141-22/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #15336 from epma01/redis-patchRoeland Jago Douma2019-05-151-1/+3
|\ \ | | | | | | Fix Redis with unix socket #730
| * | Fix Redis with unix socketAlejandro Varela2019-05-141-1/+3
| | | | | | | | | | | | Signed-off-by: Alejandro Varela <epma01@gmail.com>
* | | Move OC.theme to the bundle and deprecate oc_defaultsChristoph Wurst2019-05-141-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Move OC.getCapabilities to the bundle and deprecate OC._capabilities, ↵Christoph Wurst2019-05-131-1/+1
| | | | | | | | | | | | | | | | | | oc_capabilities Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Show supported apps in app managementMorris Jobke2019-05-131-0/+8
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Add interfaces to interact with subscription from support appMorris Jobke2019-05-132-0/+76
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Allow crash reporters to catpture any messageChristoph Wurst2019-05-092-7/+35
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke2019-05-081-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #15308 from nextcloud/fix/13550/loggingMorris Jobke2019-05-081-3/+25
|\ \ | | | | | | remove setup args from logging
| * | fix class might be undefinedJoas Schilling2019-05-081-2/+2
| | | | | | | | | | | | | | | | | | Co-Authored-By: blizzz <blizzz@arthur-schiwon.de> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | remove args from logging of common-spelled methods dependent on classArthur Schiwon2019-05-071-10/+24
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | remove setup args from loggingArthur Schiwon2019-05-061-0/+8
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #15259 from nextcloud/bugfix/15256-wrong-column-typeMorris Jobke2019-05-071-1/+1
|\ \ \ | | | | | | | | Make access column a real boolean
| * | | Set type for access column on cacheAccessForCollectionDaniel Kesselberg2019-05-021-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Add a login chain to reduce the complexity of LoginController::tryLoginChristoph Wurst2019-05-0717-1/+1052
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | remove extra param in cache update callRobin Appelman2019-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | param was leftover from earlier iterations of the "update event" Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Move OC.appswebroots to the bundle and deprecate oc_appswebrootsChristoph Wurst2019-05-071-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #15385 from nextcloud/bugfix/noid/broken-federated-sharesblizzz2019-05-061-0/+3
|\ \ \ \ | | | | | | | | | | Make sure all middlewares are only registered once
| * | | | Make sure all middlewares are only registered onceJoas Schilling2019-05-061-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Move oc_webroot, OC.webroot and OC.getRootPath() to the bundleChristoph Wurst2019-05-061-1/+1
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Move oc_debug to the bundleChristoph Wurst2019-05-061-1/+1
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / Deprecate oc_isadmin and move OC.isUserAdmin() to the bundleChristoph Wurst2019-05-031-1/+1
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Move oc_config to the bundleChristoph Wurst2019-05-021-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #15289 from nextcloud/bugfix/15229/fix-non-default-prefixesMorris Jobke2019-04-301-1/+1
|\ | | | | Remove the custom prefix from the table name length when checking on …
| * Remove the custom prefix from the table name length when checking on the ↵Joas Schilling2019-04-301-1/+1
| | | | | | | | | | | | default primary index Signed-off-by: Joas Schilling <coding@schilljs.com>
* | take return of mkdir into account, throw exception on failureArthur Schiwon2019-04-291-1/+3
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #15141 from nextcloud/fix/noid/regenerate-seen-users-onlyRoeland Jago Douma2019-04-241-2/+0
|\ | | | | fix searching all users in repair regenerate birthday cal reparir job
| * remove obsolete use statementsArthur Schiwon2019-04-241-2/+0
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #15168 from nextcloud/fix/13554/always_tmpfile_for_swiftRoeland Jago Douma2019-04-241-8/+3
|\ \ | | | | | | Always use a temp file for swift writes
| * | Always use a temp file for swift writesRoeland Jago Douma2019-04-181-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | Apparently the if statement doesn't work in all cases (even if I could not reproduce it). So for the time being we will just not directly stream to swift. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Deprecate legacy share code and cleanup some unused methodsMorris Jobke2019-04-181-74/+0
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #14572 from ↵Morris Jobke2019-04-181-504/+47
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/cleanup-legacy-share.php-from-unused-code Cleanup legacy Share.php from unused code
| * | Cleanup legacy Share.php from unused codeMorris Jobke2019-04-171-504/+47
| |/ | | | | | | | | | | * the code was only used by tests and thus this reduces the code to the used paths and removes the branches that wouldn't be used anyway to reduce complexity and gain some overview while working towards completely removing this class Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #15152 from ↵Morris Jobke2019-04-181-5/+15
|\ \ | | | | | | | | | | | | nextcloud/enhancement/noid/contactsmenu-sharing-enum-settings Respect sharing enumeration config in contacts menu
| * | Respect sharing enumeration config in contacts menuJulius Härtl2019-04-181-5/+15
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #14363 from nextcloud/debt/cleanup-httpserviceMorris Jobke2019-04-182-63/+38
|\ \ | |/ |/| Set User-Agent as header without middleware
| * Refactor getProxyUriDaniel Kesselberg2019-04-161-9/+6
| | | | | | | | | | | | Get proxyuserpwd only if proxy not empty. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Set User-Agent as header without middlewareDaniel Kesselberg2019-04-162-57/+35
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add return typesJoas Schilling2019-04-161-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use the querybuilder for the queriesJoas Schilling2019-04-161-34/+49
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow to use Subqueries in fromJoas Schilling2019-04-161-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Repair step for link sharesRoeland Jago Douma2019-04-162-0/+224
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* lib/private/User: do not change user properties if value has not changedLeon Klingele2019-04-111-1/+1
|
* lib/private/User,apps/user_ldap/lib/User: always pass old value to ↵Leon Klingele2019-04-111-1/+2
| | | | User::triggerChange
* Merge pull request #15020 from nextcloud/bugfix/noid/fix-too-many-event-triggersMorris Jobke2019-04-112-7/+6
|\ | | | | Bugfix/noid/fix too many event triggers
| * Remove unnecessary event dispatcherJoas Schilling2019-04-091-2/+1
| | | | | | | | | | | | The event is already triggered in OC\User\User::triggerChange Signed-off-by: Joas Schilling <coding@schilljs.com>