summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib
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 PNG version of the icons for shipped activitiesJoas Schilling2017-06-201-16/+48
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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 past tenseJoas Schilling2017-04-261-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix grammarMorris Jobke2017-04-211-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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-202-24/+101
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* allow admin to enforce password on mail sharesBjoern Schiessle2017-04-205-22/+150
| | | | 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>
* Merge pull request #4283 from nextcloud/shares-by-folder-quoteMorris Jobke2017-04-101-1/+1
|\ | | | | properly quota table names in getSharesInFolder
| * properly quota table names in getSharesInFolderRobin Appelman2017-04-101-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | move capabilities to share by mail appBjoern Schiessle2017-04-102-0/+95
|/ | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* setting to disable sending password by mailBjoern Schiessle2017-04-033-1/+129
| | | | 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>
* Remove leading slash from sharing activityJoas Schilling2016-12-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust all implementations in the server repoJoas Schilling2016-12-011-4/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Correctly match the subjects to the parametersJoas Schilling2016-11-251-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Get user name from contacts if availableJoas Schilling2016-11-251-2/+34
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move ShareByMail activities to new APIJoas Schilling2016-11-241-188/+148
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix some typosJoas Schilling2016-11-081-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add activity if a file was shared by mailBjoern Schiessle2016-11-082-2/+331
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>