summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge pull request #4096 from nextcloud/touch-floorMorris Jobke2017-03-271-0/+17
|\ | | | | round the mtime in touch
| * round the mtime in touchRobin Appelman2017-03-271-0/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Allow multiple navigation links from info.xmlJoas Schilling2017-03-261-37/+73
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't run JSCombiner when not installedLukas Reschke2017-03-251-26/+200
| | | | | | When the instance is not installed don't run the JSCombiner as the appdata folder does not yet exist. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* TestsRoeland Jago Douma2017-03-245-0/+384
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #4025 from nextcloud/downstream-27292Roeland Jago Douma2017-03-241-4/+1
|\ | | | | Update karma
| * Update karma, use sinon from npmVincent Petry2017-03-231-4/+1
| | | | | | | | | | | | | | Update karma library and use sinon JS library provided by karma-jasmine-sinon instead of local file. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #3928 from nextcloud/downstream-17978Morris Jobke2017-03-233-4/+6
|\ \ | |/ |/| Adjust 4 byte MySQL code to upstream
| * Adjust tests as wellMorris Jobke2017-03-211-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Adding tests for 4 byte unicode charactersMorris Jobke2017-03-212-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * success on SQLite and Postgres * failure on MySQL due to the limited charset that only supports up to 3 bytes Add config option to update charset of mysql to utf8mb4 * fully optional * requires additional options set in the database only disable unicode test on mysql Fixing ctor call Adding docker based unit test execution for mysql utf8mb4 Add mysqlmb4 test configuration to Jenkinsfile fix collation on utf8mb4 Properly setup charset and collation in the doctrine connection Allow files containing 4-byte chars in case the database supports it During setup of a mysql database we try to detect if charset 'utf8mb4' can be used Fix mysql settings Add console command to migrate the charset Set ROW_FORMAT before setting collation to mb4 Also select tables with wrong collation Faster MySQL docker Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix testsRoeland Jago Douma2017-03-221-31/+89
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Cache SCSS dependency file in memcacheRoeland Jago Douma2017-03-221-2/+4
| | | | | | | | | | | | | | Since reading a file from disks can be costly. Lets store the dependency json also in memcache. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add the AppContainerRoeland Jago Douma2017-03-221-0/+8
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Don't do a recursive searchJoas Schilling2017-03-221-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #3844 from nextcloud/unshare_eventJoas Schilling2017-03-212-171/+189
|\ | | | | Unshare event
| * Add LegacyHooksRoeland Jago Douma2017-03-172-171/+189
| | | | | | | | | | | | | | Use a helper class to listen to the eventDispatcher calls from the share manager to emit the old \OC_Hooks Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #3955 from nextcloud/downstream-27113Roeland Jago Douma2017-03-212-4/+10
|\ \ | | | | | | Can we get some faster phpunit execution?
| * | [CI] Can we get some faster phpunit execution? (#27113)Thomas Müller2017-03-202-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | * Don't backup globals and static attributes * Unset global variable to remove impact on followup tests Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Fix NODB tests etcRoeland Jago Douma2017-03-211-4/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add DI intergration testsRoeland Jago Douma2017-03-211-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved some interface definitions to Server.php (more to come) * Build/Query only for existing classes in the AppContainer * Build/Query only for classes of the App in the AppContainer * Offload other stuff to the servercontainer Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Extend DI testsRoeland Jago Douma2017-03-211-5/+14
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #3530 from nextcloud/scss-variablesLukas Reschke2017-03-203-0/+280
|\ \ \ | | | | | | | | Implement scss variables
| * | | Fix testsJulius Härtl2017-03-201-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add tests for SCSSCacherJulius Härtl2017-03-203-30/+202
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Add tests for SCSSCacherJulius Haertl2017-03-201-0/+108
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #3957 from nextcloud/downstream-27307Christoph Wurst2017-03-201-53/+50
|\ \ \ \ | | | | | | | | | | Follow up to #3949 (app exists on enable)
| * | | | createMockJoas Schilling2017-03-201-24/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Fix the testJoas Schilling2017-03-201-34/+46
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Don't use a generic exceptionJoas Schilling2017-03-201-3/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Revert "Add a magic wrapper to allow phpunit4 to run the code again "Roeland Jago Douma2017-03-204-108/+5
| |/ / / |/| | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #3939 from nextcloud/downstream-27159Joas Schilling2017-03-201-0/+2
|\ \ \ \ | | | | | | | | | | Fix malformed logging in exception
| * | | | Move error message to log entryLukas Reschke2017-03-201-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>