summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #17941 from nextcloud/search-by-ownerRoeland Jago Douma2019-12-051-0/+8
|\ | | | | Allow filtering the search results to the users home storage
| * add @since to limitToHomeRobin Appelman2019-12-031-0/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Allow filtering the search results to the users home storageRobin Appelman2019-12-031-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done by adding a ```xml <d:eq> <d:prop> <oc:owner-id/> </d:prop> <d:literal>$userId</d:literal> </d:eq> ``` clause to the search query. Searching by `owner-id` can only be done with the current user id and the comparison can not be inside a `<d:not>` or `<d:or>` statement Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #17833 from nextcloud/propagator-no-negative-sizesRoeland Jago Douma2019-12-041-0/+30
|\ \ | | | | | | dont set folder size to negative values during propagation
| * | add LEAST and GREATER to db function builderRobin Appelman2019-11-261-0/+30
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add missing getUser method to direct editing IToken interfaceJulius Härtl2019-12-031-0/+6
| |/ |/| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add typed create user eventsChristoph Wurst2019-12-032-0/+134
| | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #18134 from nextcloud/enh/noid/flow-extend-scopeRoeland Jago Douma2019-11-286-0/+219
|\ \ | | | | | | allow user flows when the acting user is legitimate, but not its owner
| * | add convenience interfaces so entities can provide presentable detailsArthur Schiwon2019-11-285-0/+180
| | | | | | | | | | | | | | | | | | the File entity starts with a display text (used by talk) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | allow user flows when the acting user is legitimate, but not its ownerArthur Schiwon2019-11-282-0/+39
| | | | | | | | | | | | | | | | | | for instance, when a sharee changes a file, the owner can act upon Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Properly anotate LockedException in files node apiJulius Härtl2019-11-282-13/+29
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add mimetype to creatorsJulius Härtl2019-11-271-0/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Code style fixes and cleanupJulius Härtl2019-11-272-4/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Direct editing API to allow file editing using a one-time token forJulius Härtl2019-11-277-0/+502
| | | | | | | | | | | | mobile apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #18019 from nextcloud/enhancement/password-policy-eventsRoeland Jago Douma2019-11-272-0/+101
|\ \ | | | | | | Add typed events for password_policy
| * | Add typed events for password_policyChristoph Wurst2019-11-272-0/+101
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #17834 from nextcloud/enh/noid/generic-event-replacement-tk2blizzz2019-11-271-0/+169
|\ \ \ | |/ / |/| | Public API's GenericEvent replacement (take 2)
| * | add Nextcloud specific GenericEvent implementationArthur Schiwon2019-11-261-0/+169
| |/ | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #17948 from nextcloud/enh/check-if-property-is-boolRoeland Jago Douma2019-11-261-6/+18
|\ \ | |/ |/| Make isXXX available for bool properties only
| * Make isXXX available for bool properties onlyDaniel Kesselberg2019-11-161-6/+18
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #18108 from nextcloud/refactor/strict-credential-storeRoeland Jago Douma2019-11-261-4/+5
|\ \ | | | | | | Add return type hint to credential store and make it strict
| * | Add return type hint to credential store and make it strictChristoph Wurst2019-11-251-4/+5
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #17896 from nextcloud/fix/noid/consider-create-group-resultblizzz2019-11-251-2/+2
|\ \ \ | |/ / |/| | take group creation result into consideration
| * | fix documentation, get and createGroup may return nullArthur Schiwon2019-11-251-2/+2
| | | | | | | | | | | | | | | | | | * also have stricter checks in place Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Some php-cs fixesRoeland Jago Douma2019-11-22154-106/+111
|/ / | | | | | | | | | | | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make the post login event publicChristoph Wurst2019-11-201-0/+76
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #16828 from nextcloud/feature/noid/accept-incoming-sharesRoeland Jago Douma2019-11-183-0/+62
|\ \ | | | | | | 🔗☑️ Accept all incoming shares
| * | Only restrict loading of group and user shares for nowJoas Schilling2019-11-121-0/+6
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Allow to accept group sharesJoas Schilling2019-11-122-0/+22
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Respect the accepted flag for group and user sharesJoas Schilling2019-11-121-0/+34
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge remote-tracking branch 'origin/master' into filecache-extensionRoeland Jago Douma2019-11-184-4/+101
|\ \ \ | | |/ | |/|
| * | relax dependency on GenericEvent, instead stay compatible with old eventsArthur Schiwon2019-11-134-4/+101
| |/ | | | | | | | | | | * also fixes tagging events Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | dont expose metadata etag for nowRobin Appelman2019-11-131-10/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | expose filecache extension data in FileInfoRobin Appelman2019-11-131-0/+36
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | store filecache extension fieldsRobin Appelman2019-11-131-0/+24
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add count() as shortcut for count('*') in FunctionBuilderRobin Appelman2019-11-131-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | return from QueryBuilder instead of IQueryBuilderRobin Appelman2019-11-131-31/+31
|/ | | | | | this make the type hints work properly with querybuilder subclasses Signed-off-by: Robin Appelman <robin@icewind.nl>
* Do not throw an exception for base App classJulius Härtl2019-11-081-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* mark getAppContainer as a valid way to construct app containersRobin Appelman2019-11-041-0/+8
| | | | | | this is triggerd (and not cought by the query arm) if an item from an app is queried before the app queries it's own Application instance Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #17506 from nextcloud/bugfix/12790/workflow-frontendblizzz2019-11-041-3/+0
|\ | | | | Workflow frontend polishing
| * do not break on Checkers that do not need specific context infoArthur Schiwon2019-10-291-3/+0
| | | | | | | | | | | | request time, for example Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | fixup! Get all shares as iterableDaniel Calviño Sánchez2019-10-302-0/+2
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Get all shares as iterableRoeland Jago Douma2019-10-302-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Sometimes we need all shares or rather a specific subset of shares but creating dedicated functions is a pain. This just returns an iterable object for all shares so we can loop over them without allocating all the memory on the system. It should not be used by any user called code. But in an occ command or background job it is fine IMO. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #17562 from ↵Roeland Jago Douma2019-10-291-2/+25
|\ \ | | | | | | | | | | | | nextcloud/techdebt/17509/log-error-when-setting-up-application-incorrectly Log an error in development cases when the application class was set …
| * | Log an error in development cases when the application class was set up ↵Joas Schilling2019-10-161-2/+25
| | | | | | | | | | | | | | | | | | incorrectly Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Having the contructor in the interface makes no sense...Roeland Jago Douma2019-10-291-7/+0
| |/ |/| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #17173 from nextcloud/feature/event-broadcastingRoeland Jago Douma2019-10-282-0/+128
|\ \ | | | | | | Make it possible to broadcast events to (web) clients
| * | Make it possible to broadcast events to (web) clientsChristoph Wurst2019-10-282-0/+128
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Add isXXX getter to EntityChristoph Wurst2019-10-221-9/+12
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / use OCP\EventDispatcher\Event over Symfony's deprecated EventArthur Schiwon2019-10-178-8/+8
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>