summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Update comment to reflect current CSP policyThomas Citharel2020-12-121-1/+1
| | | JS unsafe-eval was removed a long time ago in https://github.com/nextcloud/server/pull/11028
* Address minor commentsJulius Härtl2020-12-091-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add internal DECK_USER type to allow unsharing for individual usersJulius Härtl2020-12-091-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add share type for deckJulius Härtl2020-12-091-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow apps to register their share providers from outsideJulius Härtl2020-12-092-0/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add an endpoint to search for accounts based on phone numberJoas Schilling2020-12-071-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow unified search results to have attributesChristoph Wurst2020-12-031-0/+21
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #24113 from nextcloud/extend-cache-eventsRoeland Jago Douma2020-12-026-6/+112
|\ | | | | extend cache events
| * code style and dispatchTypedRobin Appelman2020-12-022-2/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * rename cache event to follow new naming standardsRobin Appelman2020-11-265-7/+75
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * extend cache eventsRobin Appelman2020-11-262-0/+40
| | | | | | | | | | | | | | | | - adds cache remove event - expose storage id in event - emit events during cache move Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Allow subscription to indicate that a userlimit is reachedMorris Jobke2020-12-022-0/+14
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Reduce code complexity in Share::getItems by tracing all remaining callersMorris Jobke2020-11-291-1/+4
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #24319 from ↵Christoph Wurst2020-11-261-65/+0
|\ | | | | | | | | nextcloud/techdebt/noid/streamline-user-creation-and-deletion-events Streamline user creation and deletion events
| * Streamline user creation and deletion eventsMorris Jobke2020-11-231-65/+0
| | | | | | | | | | | | CreateUserEvent was the only one that didn't matched the naming scheme of BeforePASTTENSEEvent and PASTTENSEEvent. The event wasn't used at all so this just removes it again as there is BeforeUserCreatedEvent that is also available since 18. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | use in objectstore copyRobin Appelman2020-11-241-0/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #24324 from nextcloud/td/psalm/backgroundjob_jobRoeland Jago Douma2020-11-241-3/+3
|\ \ | | | | | | Fix the OCP\BackgroundJob\Job to make it compatible with its interface
| * | Fix the OCP\BackgroundJob\Job to make it compatible with its interfaceRoeland Jago Douma2020-11-241-3/+3
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Fix typo in @deprecated PHPDoc tagMorris Jobke2020-11-241-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add IRequest taint sourcesLukas Reschke2020-11-221-0/+16
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix DataResponse typehintsRoeland Jago Douma2020-11-191-4/+4
| | | | | | | | | We use this already in several places where we just pass strings or numbers. This all works because we just convert it to a json response in the end. So better to have the typehints reflect this. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #24189 from nextcloud/enh/csp/frame-ancestorsRoeland Jago Douma2020-11-181-0/+2
|\ | | | | Set frame-ancestors to none if none are filled
| * Set frame-ancestors to none if none are filledRoeland Jago Douma2020-11-181-0/+2
| | | | | | | | | | | | | | | | frame-ancestors doesn't fall back to default-src. So when we apply a very restricted CSP we should make sure to set it to 'none' and not leave it empty. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove some IRouter methodsRoeland Jago Douma2020-11-172-75/+5
|/ | | | | | | | | This is not the end. IRouter needs to burn. But it is a start. 🎵 we didn't start the fire 🎵 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add types to function builderJoas Schilling2020-11-161-27/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Create primary keys on all tables and add a command to create the afterwardsJoas Schilling2020-11-101-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update parametersJoas Schilling2020-11-071-6/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a function to get the unread count for multiple objects in one goJoas Schilling2020-11-041-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve CertificateManager to not be user context dependentMorris Jobke2020-11-032-12/+9
| | | | | | | | | * removes the ability for users to import their own certificates (for external storage) * reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions) The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated OCSResponseRoeland Jago Douma2020-11-011-95/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Psalm fixesRoeland Jago Douma2020-10-302-5/+21
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #23742 from ↵Morris Jobke2020-10-301-0/+2
|\ | | | | | | | | nextcloud/enhancement/eventdispatcher-typed-listener-callable Type the event dispatcher listener callables with Psalm
| * Type the event dispatcher listener callables with PsalmChristoph Wurst2020-10-281-0/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #23765 from ↵Morris Jobke2020-10-292-0/+134
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/sudadmin-events-into-typed-events Add typed events for adding and removing a subadmin
| * | Add typed events for adding and removing a subadminMorris Jobke2020-10-282-0/+134
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #23770 from ↵Morris Jobke2020-10-292-61/+31
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/remove-deprecated-isection Remove ISection in favor of IIconSection
| * | | Remove ISection in favor of IIconSectionMorris Jobke2020-10-282-61/+31
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #23771 from ↵Morris Jobke2020-10-291-18/+0
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/remove-deprecated-inotifystorage-listen Remove deprecated INotifyStorage::listen
| * | | Remove deprecated INotifyStorage::listenMorris Jobke2020-10-281-18/+0
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Deprecate OCP\Util::connectHook and emitHookMorris Jobke2020-10-281-0/+3
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #23746 from ↵Christoph Wurst2020-10-281-0/+1
|\ \ | | | | | | | | | | | | nextcloud/enhancement/iusermanager-callforseenusers-typed-closure Type the \OCP\IUserManager::callForSeenUsers closure with Psalm
| * | Type the \OCP\IUserManager::callForSeenUsers closure with PsalmChristoph Wurst2020-10-281-0/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #23752 from nextcloud/fix/noid/wfe-ux-errorsblizzz2020-10-281-0/+10
|\ \ \ | |/ / |/| | inform the user when flow config data exceeds thresholds
| * | inform the user when flow config data exceeds thresholdsArthur Schiwon2020-10-281-0/+10
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #23744 from ↵Morris Jobke2020-10-281-1/+4
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/enhancement/appframework-initialstate-typed-closure Type the \OCP\AppFramework\Services\IInitialState::provideLazyInitial…
| * | | Type the \OCP\AppFramework\Services\IInitialState::provideLazyInitialState ↵Christoph Wurst2020-10-281-1/+4
| | |/ | |/| | | | | | | | | | | | | closure with Psalm Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / | Type the \OCP\IUserManager::callForAllUsers closure with PsalmChristoph Wurst2020-10-281-0/+1
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #23601 from ↵Roeland Jago Douma2020-10-271-1/+55
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/comments-manager-improvements Comments manager improvements/extensions needed by Talk
| * | Fix missing sinceJoas Schilling2020-10-221-0/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix return typeJoas Schilling2020-10-211-1/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>