summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
Commit message (Collapse)AuthorAgeFilesLines
* Reset bruteforce on token refresh OAuthRoeland Jago Douma2018-11-021-1/+2
| | | | | | | | | | When using atoken obtained via OAuth the token expires. Resulting in brute force attempts hitting the requesting IP. This resets the brute force attempts for that UID on a valid refresh of the token. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Actually clear cache values for all base urlsJulius Härtl2018-03-091-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move base url from global cache prefix to frontend related onesJulius Härtl2018-03-091-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #8197 from nextcloud/stable13-8144Roeland Jago Douma2018-02-071-0/+12
|\ | | | | [stable13] Repair step to clear frontend related caches
| * Add repair step to clear frontend related cachesJulius Härtl2018-02-061-0/+12
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Don't polute log when loggin into dav with emailRoeland Jago Douma2018-01-251-1/+10
|/ | | | | | | | | | * We first try the email as username but this fails * Then we get the uid from the email and try again We should not log the first attempt since it polutes the log with failed login attempts while the login actually is valid. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove generated avatar on displayname changeRoeland Jago Douma2017-12-191-1/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7531 from nextcloud/ldap/createdistributedRoeland Jago Douma2017-12-181-1/+1
|\ | | | | don't use deprecated method for requesting memcache
| * Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Let DI handle the background jobRoeland Jago Douma2017-12-181-10/+0
|/ | | | | | Fixes #7548 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* The user displayNameResolver is specific to users, not the comments appArthur Schiwon2017-12-121-1/+15
| | | | | | | Other apps like spreed rely on it, and only can resolver per type can be registered anyhow. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Register ContactsStore using alias + run autoloaderchecker.shTobia De Koninck2017-12-111-1/+3
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Make ContactsStore a public APITobia De Koninck2017-12-111-0/+10
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* handle not found mounts when cleaning avatarsRobin Appelman2017-12-111-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove avatar on user deletionRoeland Jago Douma2017-12-111-0/+23
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Dispatch event on User predeleteRoeland Jago Douma2017-12-111-1/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add public api for remote apiRobin Appelman2017-12-081-0/+27
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Get the Installer via DIMorris Jobke2017-11-251-0/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6840 from nextcloud/feature/5282/calendar_apiMorris Jobke2017-11-161-0/+10
|\ | | | | Calendar API for apps
| * implement CalendarManagerGeorg Ehrke2017-11-091-0/+10
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Add a mechanism to register crach reportersChristoph Wurst2017-11-141-1/+5
|/ | | | | | | | This adds a crash reporter registry, which is meant for third party apps to hook into the error logging/reporting chain. This way, external tools like Sentry can be used to track and aggregate system crashes. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersMorris Jobke2017-11-061-2/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-011-2/+2
|\
| * Use local cache for the CachingRouterRoeland Jago Douma2017-10-251-2/+2
| | | | | | | | | | | | | | | | There is no need to cache routes distributed. It even has the downside that the router might return different routes then the ones in the local routes.php files. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | simplify registration of manager in server containerArthur Schiwon2017-10-311-5/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | AutoCompletion backendArthur Schiwon2017-10-221-0/+12
|/ | | | | | | | | | * 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>
* split off former searchSharee unit testArthur Schiwon2017-09-261-1/+14
| | | | | | also moves registering default plugins to Server for proper unit testing Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Splits off the logic from sharees endpoint thus making it available fromArthur Schiwon2017-09-261-0/+12
| | | | | | within Nc/via PHP. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use IAppManager instead of private APIJulius Härtl2017-09-121-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use the language of the recipient for the share notificationJoas Schilling2017-09-081-4/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #6254 from nextcloud/async-bus-splitMorris Jobke2017-09-041-31/+42
|\ | | | | Allow configuring different command bus backends
| * allow configuring the command busRobin Appelman2017-08-241-30/+41
| |
| * split async test bus for easier subclassingRobin Appelman2017-08-241-2/+2
| |
* | Improve 2FARoeland Jago Douma2017-08-291-1/+10
|/ | | | | | | | * Store the auth state in the session so we don't have to query it every time. * Added some tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #5897 from nextcloud/add-share-mail-for-user-shareRoeland Jago Douma2017-08-011-1/+4
|\ | | | | Send an email once a file/folder is shared with a user
| * Send an email once a file/folder is shared with a userMorris Jobke2017-07-281-1/+4
| | | | | | | | | | | | | | * only if user has set an email address * only for user shares (no group shares for now) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Stricter phan config fixesLukas Reschke2017-08-011-1/+0
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Proper DI for ILockingProviderRoeland Jago Douma2017-07-241-1/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix error message on untrusted domain error pageMorris Jobke2017-07-211-1/+1
| | | | | | Fixes #5347 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add bruteforce capabilitiesRoeland Jago Douma2017-07-131-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Write cert bundle to tmp file firstRoeland Jago Douma2017-07-121-2/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* take over changes from #5084Arthur Schiwon2017-06-231-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* completing PersonalInfoArthur Schiwon2017-06-231-1/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add tests and inject IRequestJulius Härtl2017-06-161-2/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not open version file againJulius Härtl2017-06-151-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make cache and scss caching depend on the baseUrlJulius Härtl2017-06-151-6/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #4892 from nextcloud/fix/encryption-remembered-login-hookLukas Reschke2017-05-171-0/+4
|\ | | | | Fix encryption + remembered login due to missing login hook
| * Fix encryption + remembered login due to missing login hookChristoph Wurst2017-05-161-0/+4
| | | | | | | | | | | | | | | | | | | | The encryption app relies on the post_login hook to initialize its keys. Since we do not emit it on a remembered login, the keys were always un- initialized and the user was asked to log out and in again. This patch *translates* the postRememberedLogin hook to a post_login hook. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use appdata logo when generating iconsJulius Härtl2017-05-171-1/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #4783 from nextcloud/lite-application-classesMorris Jobke2017-05-101-18/+2
|\ | | | | Use automatic injection for appdata folders