summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib/ShareByMailProvider.php
Commit message (Collapse)AuthorAgeFilesLines
* Set the data from the templateJoas Schilling2017-10-181-9/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Set the subject with the email template to allow themingJoas Schilling2017-10-181-7/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* do not show hyphen after instance name in emails if slogan does not existStephan Müller2017-09-251-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge setMetaData into constructorJoas Schilling2017-09-041-6/+3
| | | | | | This ensures that the meta data is set in the beginning Signed-off-by: Joas Schilling <coding@schilljs.com>
* Implement metadata for email templates of remaining emailsMorris Jobke2017-08-301-0/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add shareWith to email template metadataMorris Jobke2017-08-291-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow the expiration date to be set to nullMorris Jobke2017-08-281-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow the expiration date to be set to nullMorris Jobke2017-08-261-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add meta information to emails for better customisationJoas Schilling2017-08-241-2/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #5734 from nextcloud/only-readable-chars-in-share-tokensJoas Schilling2017-07-191-2/+1
|\ | | | | Only use readable chars in Share Tokens
| * Only use readable chars in Share TokensJoas Schilling2017-07-181-2/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Run phan over code baseLukas Reschke2017-07-191-1/+2
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* use the email address configured in Nextcloud as sender instead of the users ↵Bjoern Schiessle2017-06-081-2/+15
| | | | | | email address Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* no "mail" or mid sentence "E-mail"comradekingu2017-05-291-2/+2
|
* don't mention the owner of a file in case of a re-share by mail. The ↵Bjoern Schiessle2017-05-081-20/+8
| | | | | | recipient doesn't care about the owner and probably don't even know it Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix typoMorris Jobke2017-04-201-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix casingMorris Jobke2017-04-201-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix unit testsBjoern Schiessle2017-04-201-6/+0
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* respect password policy for auto generated passwordsBjoern Schiessle2017-04-201-3/+32
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* improve mail textBjoern Schiessle2017-04-201-3/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* create activity if a password was send by mailBjoern Schiessle2017-04-201-16/+57
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow admin to enforce password on mail sharesBjoern Schiessle2017-04-201-18/+116
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Rename renderHTML to renderHtmlMorris Jobke2017-04-191-2/+2
| | | | | | | * fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix indentationLukas Reschke2017-04-191-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add "Reply-To" on ShareByMailProvider mailsLukas Reschke2017-04-181-7/+49
| | | | | | Fixes https://github.com/nextcloud/server/issues/4209 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Mail shares trigger the public keyRoeland Jago Douma2017-04-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Adjust docs and make !$currentAccess simplerJoas Schilling2017-04-131-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add mail element to access listRoeland Jago Douma2017-04-131-1/+21
| | | | | | | | * Each provider just returns what they have so adding an element won't require changing everything * Added tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Offload acceslist creation to providersRoeland Jago Douma2017-04-131-0/+4
| | | | | | | | * 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>
* Dont add click-button text for plaintext mailsJoas Schilling2017-04-121-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't duplicate the sentence with the headerJoas Schilling2017-04-121-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use new email design for sharebymail emailsMorris Jobke2017-04-121-60/+39
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* properly quota table names in getSharesInFolderRobin Appelman2017-04-101-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* setting to disable sending password by mailBjoern Schiessle2017-04-031-1/+13
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* set expire date for all share typesBjoern Schiessle2017-04-031-0/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow password protected mail sharesBjoern Schiessle2017-04-031-11/+72
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix share provider idBjoern Schiessle2017-04-031-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* generate correct path for owner and use the display name instead of the user idBjoern Schiessle2017-01-121-7/+12
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add activity if a file was shared by mailBjoern Schiessle2016-11-081-2/+62
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Run code checker on more shipped appsLukas Reschke2016-11-031-1/+2
| | | | | | | | | | Adds: - sharebymail - systemtags - theming - workflowengine Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* import exceptionBjoern Schiessle2016-11-011-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add new method getSharesInFolder(), see #339Bjoern Schiessle2016-11-011-0/+42
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add tests for the share-by-mail providerBjoern Schiessle2016-11-011-8/+8
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* find and show share-by mail linksBjoern Schiessle2016-11-011-0/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send mail for share-by-mail sharesBjoern Schiessle2016-11-011-6/+77
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add share by mail share providerBjoern Schiessle2016-11-011-0/+594
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>