summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4307 from nextcloud/sharing-emailsRoeland Jago Douma2017-04-129-14/+245
|\ | | | | New emails for sharebymail
| * Fix unit testsMorris Jobke2017-04-125-13/+19
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Use instance name as alt-textJoas Schilling2017-04-124-3/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add addBodyButton to add a single button to email templatesMorris Jobke2017-04-123-0/+221
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4325 from nextcloud/downstream-27522Roeland Jago Douma2017-04-121-4/+9
|\ \ | |/ |/| Optimize put - Dont try to fetch filecache for not existing filecache…
| * Simplify the testJoas Schilling2017-04-121-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Optimize put - Dont try to fetch filecache for not existing filecache in ↵Piotr M2017-04-121-4/+9
| | | | | | | | encription
* | Merge pull request #3614 from nextcloud/discover-federatedsharing-endpointsBjörn Schießle2017-04-122-6/+105
|\ \ | |/ |/| Discover federatedsharing endpoints
| * remove discovery manager in favour of the OCSDiscoveryServiceBjoern Schiessle2017-04-111-6/+6
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * add tests for discovery serviceBjoern Schiessle2017-04-111-0/+99
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #4309 from nextcloud/remove-unused-codeLukas Reschke2017-04-121-124/+0
|\ \ | | | | | | Removes unused code for link share emails
| * | Removes unused code for link share emailsMorris Jobke2017-04-111-124/+0
| | | | | | | | | | | | | | | | | | | | | * now handled by sharebymail app * see https://github.com/nextcloud/server/pull/657 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Allow to set text versions for the plain text emailMorris Jobke2017-04-112-0/+53
|/ / | | | | | | | | | | * allows different texts for HTML and text version of the email Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Adjust class referencesLukas Reschke2017-04-111-1/+1
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Add IEMailTemplate to public OCP APILukas Reschke2017-04-111-11/+26
|/ | | | | | 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-1111-47/+38
|\ | | | | Move OC_Defaults to OCP\Defaults
| * Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-0911-47/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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-104-78/+144
|\ \ | | | | | | Allow getting the unread comment count for an entire folder at once
| * | fix quote helper testRobin Appelman2017-03-302-2/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | update FakeManagerRobin Appelman2017-03-301-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Add test for getting unread comment count by folderRobin Appelman2017-03-301-76/+139
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Dont use the permissions mask while scanningRobin Appelman2017-04-101-0/+12
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Also send the new account data with the eventJoas Schilling2017-04-101-5/+8
| |/ |/| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #4136 from nextcloud/expire-date-for-all-sharesMorris Jobke2017-04-071-7/+10
|\ \ | | | | | | Unified sharing options
| * | update unit testsBjoern Schiessle2017-04-071-7/+10
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Add support for themingLukas Reschke2017-04-076-213/+955
| | | | | | | | | | | | | | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Fix testsLukas Reschke2017-04-071-36/+98
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | New layout for welcome emailMorris Jobke2017-04-074-38/+316
| | | | | | | | | | | | | | | | | | | | | * thanks to @espina2 for make this nice design * the button says "Set password" if the admin didn't specified a password Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Don't force the use of Accept-Language anymoreJoas Schilling2017-04-071-26/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Save the scope of an auth token in the sessionRobin Appelman2017-04-052-32/+50
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #4123 from nextcloud/allow-password-reset-with-emailRoeland Jago Douma2017-04-051-10/+75
|\ \ \ | | | | | | | | Allow to reset the password with the email as an input
| * | | Allow to reset the password with the email as an inputJoas Schilling2017-03-281-10/+75
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #2095 from nextcloud/bruteforcesetttingsLukas Reschke2017-04-042-3/+93
|\ \ \ \ | | | | | | | | | | Introduce bruteforce settings
| * | | | Fix testsRoeland Jago Douma2017-04-043-16/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Fixed layout of bruteforcesettingsMorris Jobke2017-04-021-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Update App Manager testRoeland Jago Douma2017-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Respect bruteforce settings in the ThrottlerRoeland Jago Douma2017-04-021-1/+89
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Adds security section to the admin pageRoeland Jago Douma2017-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Initial commit of the bruteforcesettings appRoeland Jago Douma2017-04-022-0/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the bruteforce settings app that allows to configure (for now) subnets that are to be ignored when doing brute force analysis. This can for example be the LAN since we trust people from there. * Add app * Add php tests * Add js tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #4093 from nextcloud/endorse-password-protectionRoeland Jago Douma2017-04-041-2/+14
|\ \ \ \ | | | | | | | | | | Endorse password protection
| * | | | fix unit testsBjoern Schiessle2017-04-031-2/+14
| |/ / / | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* / / / Don't try to parse empty body if there is no bodyRoeland Jago Douma2017-04-041-1/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #3890 If we do a put request without a body the current code still tries to read the body. This patch makes sure that we do not try to read the body if the content length is 0. See RFC 2616 Section 4.3 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | rename fun to funcRobin Appelman2017-03-301-4/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add tests for query builder (i)likeRobin Appelman2017-03-301-0/+106
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add function builder to the query builderRobin Appelman2017-03-301-0/+74
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | add support for escaping like parameters when using the query builderRobin Appelman2017-03-301-8/+12
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix gzip files for SafariMorris Jobke2017-03-294-12/+12
| | | | | | | | | | | | | | * Safari support gzip only if the filename does not end on .gz - so this renames them to .gzip Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix unit testsMorris Jobke2017-03-286-112/+112
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix controller testsRoeland Jago Douma2017-03-282-2/+134
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix testsRoeland Jago Douma2017-03-282-28/+116
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>