summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Use the new method in the old one to remove duplicate codeJoas Schilling2017-04-271-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to create a user for a specific backendJoas Schilling2017-04-261-0/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #4467 from nextcloud/lists-for-html-mailsRoeland Jago Douma2017-04-261-0/+14
|\ | | | | Add lists to HTML emails
| * Allow meta info and iconsJoas Schilling2017-04-251-2/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add lists to HTML emailsJoas Schilling2017-04-241-0/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Don't show contacts an entry for themselvesChristoph Wurst2017-04-251-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Contacts menuChristoph Wurst2017-04-255-0/+265
|/ | | | | | | * load list of contacts from the server * show last message of each contact Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused use statementsMorris Jobke2017-04-229-10/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4428 from nextcloud/file-by-id-limit-userRoeland Jago Douma2017-04-211-2/+4
|\ | | | | limit the user when searching for a file by id if we know the user already
| * limit the user when searching for a file by id if we know the user alreadyRobin Appelman2017-04-211-2/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix theming testsJoas Schilling2017-04-201-1/+1
|/ | | | | | | Trying to configure method "shouldReplaceIcons" which cannot be configured because it does not exist, has not been specified, is final, or is static Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename renderHTML to renderHtmlMorris Jobke2017-04-191-2/+2
| | | | | | | * fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix translationsJoas Schilling2017-04-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2834 from nextcloud/accesListToShareManagerMorris Jobke2017-04-153-0/+100
|\ | | | | Access list to share manager
| * Adjust docs and make !$currentAccess simplerJoas Schilling2017-04-132-16/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix returned paths for remote sharesJoas Schilling2017-04-133-3/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Return the paths for the users without setting them all upJoas Schilling2017-04-133-10/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix commentsRoeland Jago Douma2017-04-132-2/+47
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Offload acceslist creation to providersRoeland Jago Douma2017-04-131-0/+17
| | | | | | | | | | | | | | | | * This allows for effective queries. * Introduce currentAccess parameter to speciy if the users needs to have currently acces (deleted incomming group share). (For notifications) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Added to public interfaceRoeland Jago Douma2017-04-131-0/+30
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make BruteForceProtection annotation more cleverLukas Reschke2017-04-131-0/+19
| | | | | | | | | | | | | | | | This makes the new `@BruteForceProtection` annotation more clever and moves the relevant code into it's own middleware. Basically you can now set `@BruteForceProtection(action=$key)` as annotation and that will make the controller bruteforce protected. However, the difference to before is that you need to call `$responmse->throttle()` to increase the counter. Before the counter was increased every time which leads to all kind of unexpected problems. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Update email template for lost password emailMorris Jobke2017-04-121-1/+3
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4307 from nextcloud/sharing-emailsRoeland Jago Douma2017-04-121-3/+15
|\ | | | | New emails for sharebymail
| * No newlines when heading is emptyJoas Schilling2017-04-121-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Don't duplicate the sentence with the headerJoas Schilling2017-04-121-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Properly escape heading, body and button textMorris Jobke2017-04-121-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Add addBodyButton to add a single button to email templatesMorris Jobke2017-04-121-0/+10
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4331 from nextcloud/query-builder-sumMorris Jobke2017-04-121-0/+10
|\ \ | |/ |/| Add sum() to the query function builder
| * Add sub() to the query function builderRobin Appelman2017-04-121-0/+10
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #3614 from nextcloud/discover-federatedsharing-endpointsBjörn Schießle2017-04-121-0/+48
|\ \ | | | | | | Discover federatedsharing endpoints
| * | Do proper DIRoeland Jago Douma2017-04-111-6/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | remove discovery manager in favour of the OCSDiscoveryServiceBjoern Schiessle2017-04-111-0/+6
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | provide public discovery service to discover OCS end-points on another serverBjoern Schiessle2017-04-111-0/+48
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Allow to set text versions for the plain text emailMorris Jobke2017-04-111-3/+7
| | | | | | | | | | | | | | | | | | * allows different texts for HTML and text version of the email Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Remove constructor from interfaceLukas Reschke2017-04-111-11/+0
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add IEMailTemplate to public OCP APILukas Reschke2017-04-112-0/+136
|/ / | | | | | | | | | | Also adds `\OCP\Mail\IMailer::createEMailTemplate` as helper so the functionality can easily be used within apps. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #4256 from nextcloud/themingLukas Reschke2017-04-111-3/+42
|\ \ | | | | | | Move OC_Defaults to OCP\Defaults
| * | Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-3/+42
| |/ | | | | | | | | | | | | | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4146 from nextcloud/unread-comments-folderMorris Jobke2017-04-101-0/+12
|\ \ | |/ |/| Allow getting the unread comment count for an entire folder at once
| * Allow getting the unread comment count for an entire folder at onceRobin Appelman2017-03-301-0/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #4136 from nextcloud/expire-date-for-all-sharesMorris Jobke2017-04-071-1/+1
|\ \ | | | | | | Unified sharing options
| * | update unit testsBjoern Schiessle2017-04-071-1/+1
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Don't force the use of Accept-Language anymoreJoas Schilling2017-04-071-8/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not intended anymore, since it falls back to force english when the header is not set. Also 0228bc6e66cbcb2848eacb41f1de6e7f63ebcb65 makes clear that the order should be: 1. User setting 2. Accept language 3. Admin default This is the case since the commit from above, unless via OCS and DAV. Both forced to accept-language falling back to english. By removing the force, it now also matches the w3 priority list: https://www.w3.org/International/questions/qa-lang-priorities Signed-off-by: Joas Schilling <coding@schilljs.com>
* | rename fun to funcRobin Appelman2017-03-301-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix licence headersRobin Appelman2017-03-301-8/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add function builder to the query builderRobin Appelman2017-03-302-0/+80
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Web app manifestPierre Rudloff2017-03-281-0/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix type hints and doc blocksJoas Schilling2017-03-231-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't do a recursive searchJoas Schilling2017-03-221-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #3957 from nextcloud/downstream-27307Christoph Wurst2017-03-201-0/+1
|\ | | | | Follow up to #3949 (app exists on enable)