summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge pull request #7426 from nextcloud/Abijeet-masterMorris Jobke2017-12-082-29/+33
|\ \ \ \ \ | |_|_|_|/ |/| | | | Allows adding of hex color to the theme-color
| * | | | Allows adding of hex color to the theme-colorAbijeet2017-12-082-29/+33
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7158. Adds a # on the color if missing. Increased maxlength, added hash:true for jscolor, and adding a # if not present on the change event. Since the input element now allows a hex code, changed values to hexcode. In addition, added a function to get RGB array from hex or rgb values. Calling it in both methods and using it to perform comparison. Also changed the way we were determining whether the jscolor component had loaded. Changed the control to use data-jscolor rather than defining opts in the class. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* | | | Merge pull request #7115 from nextcloud/fix-flowMorris Jobke2017-12-081-2/+10
|\ \ \ \ | |/ / / |/| | | Fix flow
| * | | fix testsBjoern Schiessle2017-12-081-8/+0
| | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | | Fix flowMario Danic2017-11-091-2/+18
| | | | | | | | | | | | | | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* | | | use formal version of German if default_language is set to 'de_DE'Bjoern Schiessle2017-11-301-2/+42
| |/ / |/| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Fix current access list test and add one for $currentAccess === falseJoas Schilling2017-11-281-2/+113
| |/ |/| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7305 from nextcloud/log-level-for-log-extendingMorris Jobke2017-11-271-4/+4
|\ \ | | | | | | Pass log level to log reporters
| * | Pass log level to log reportersMorris Jobke2017-11-271-4/+4
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7210 from nextcloud/pg10Morris Jobke2017-11-271-17/+18
|\ \ \ | |/ / |/| | add postgresql 10 compatibility to dbal
| * | add postgresql10 compatibility to dbalRobin Appelman2017-11-221-17/+18
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #7295 from nextcloud/remove-unused-methodLukas Reschke2017-11-271-16/+1
|\ \ \ | | | | | | | | Remove unused mimetype detection method in OC_Image
| * | | Remove unused mimetype detection method in OC_ImageMorris Jobke2017-11-271-16/+1
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #7264 from nextcloud/cache-fetched-appsLukas Reschke2017-11-274-24/+52
|\ \ \ \ | | | | | | | | | | Cache fetched apps in update check
| * | | | Make isUpdateAvailable non-staticMorris Jobke2017-11-252-2/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Get the Installer via DIMorris Jobke2017-11-253-22/+41
| |/ / / | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / / Adjust tests for added lastCheck timeLukas Reschke2017-11-271-0/+1
|/ / / | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / / Use basename() instead of self implementationMorris Jobke2017-11-231-18/+0
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix testsRoeland Jago Douma2017-11-173-9/+67
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #6840 from nextcloud/feature/5282/calendar_apiMorris Jobke2017-11-161-0/+214
|\ \ | | | | | | Calendar API for apps
| * | implement CalendarManagerGeorg Ehrke2017-11-091-0/+214
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | check if the user still exists before we try to cleanup the previewsBjoern Schiessle2017-11-141-1/+10
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Merge pull request #7013 from nextcloud/forgot-passwordJan-Christoph Borchardt2017-11-141-1/+1
|\ \ \ | | | | | | | | Directly show "Forgot password?" link, fix #6808
| * | | Fix acceptance testJohn Molakvoæ (skjnldsv)2017-11-081-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #7166 from nextcloud/enhancement/crash-report-contextMorris Jobke2017-11-141-4/+4
|\ \ \ \ | | | | | | | | | | Pass the exception context to the crash reporter
| * | | | Pass the exception context to the crash reporterChristoph Wurst2017-11-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should allow better reports as often the app id is passed as context. While this is not used right now, I'd like to have this for NC13 as adding it later will break the interface for existing apps Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #7061 from kyrofa/bugfix/6028/app_path_realpathMorris Jobke2017-11-142-0/+292
|\ \ \ \ \ | |/ / / / |/| | | | {J,CS}SResourceLocator: account for symlinks in app path
| * | | | tests: change helper scopeKyle Fazzari2017-11-082-46/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seems to be the only way to have the same helpers used between tests in a manner that works for both standalone phpunit and autotest.sh. Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
| * | | | JSResourceLocator: account for symlinks in app pathKyle Fazzari2017-11-072-0/+287
| |/ / / | | | | | | | | | | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* | / / Add a mechanism to register crach reportersChristoph Wurst2017-11-142-12/+103
| |/ / |/| | | | | | | | | | | | | | | | | | | | This adds a crash reporter registry, which is meant for third party apps to hook into the error logging/reporting chain. This way, external tools like Sentry can be used to track and aggregate system crashes. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Fix welcome text for better grammar in themed instancesMorris Jobke2017-11-099-15/+15
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #6220 from nextcloud/cached-mount-info-filepathLukas Reschke2017-11-091-0/+4
|\ \ | | | | | | Allow getting the filepath when getting cached mounts by fileid
| * | Allow getting the filepath when getting cached mounts by fileidRobin Appelman2017-10-271-0/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Theming: theme flow redirection pageJulius Härtl2017-11-081-1/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #6402 from nextcloud/dav-email-customizationMorris Jobke2017-11-061-0/+5
|\ \ \ | |_|/ |/| | Enhance calendar invitation emails
| * | Make L10N->l provide weekdayNameGeorg Ehrke2017-11-031-0/+5
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-0172-245/+547
|\ \ \
| * \ \ Merge pull request #6958 from ↵Joas Schilling2017-11-011-0/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/improved-mimetype-detection-for-object-storage Improve mimetype detection for object storages
| | * | | Improve mimetype detection for object storagesMorris Jobke2017-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Object storage instances always fall back to the content based mimetype detection, because the file name for object storage was always random due to the fact that it was temporarily storage in a generated temp file. This patch adds a check before that to make sure to use the original file name for this purpose and also remove possible other extensions like the versioning or part file extension. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Merge pull request #7022 from nextcloud/acceptance-tests-7.1blizzz2017-10-311-1/+1
| |\ \ \ \ | | |_|/ / | |/| | | bump acceptance test suite to use php 7.1 image
| | * | | bump acceptance test suite to use php 7.1 imageArthur Schiwon2017-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | Merge pull request #6952 from nextcloud/correctly-search-for-resultsJoas Schilling2017-10-311-0/+105
| |\ \ \ \ | | | | | | | | | | | | Correctly search for existing collaboration results
| | * | | | Add unit tests for SearchResultJoas Schilling2017-10-251-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | Add foreign key support to OCPiotr Mrowczynski2017-10-301-2/+37
| | |/ / / | |/| | |
| * | | | Unit tests for #6977Joas Schilling2017-10-271-0/+26
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Use ::class in test mocks of encryption appMorris Jobke2017-10-267-15/+24
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Merge pull request #6939 from nextcloud/class-usage-in-mocks-dav-appMorris Jobke2017-10-267-11/+14
| |\ \ \ | | |_|/ | |/| | Use ::class in test mocks of dav app
| | * | Use ::class in test mocks of dav appMorris Jobke2017-10-267-11/+14
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Merge pull request #6709 from ↵Morris Jobke2017-10-252-7/+57
| |\ \ \ | | |/ / | |/| | | | | | | | | | nextcloud/show-checkbox-where-the-favourite-icon-is-now Show checkbox where the favourite icon is now
| | * | Solve acceptance test failure due to clicks on covered elementsDaniel Calviño Sánchez2017-10-192-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firefox and Chrome drivers for Selenium refuse to click on an element if the point to be clicked is covered by a different element, throwing an UnknownError exception with message "Element is not clickable at point ({x}, {y}). Other element would receive the click: {element}". Although in general that would be a legit error (as the user would not be able to click on the element) due to a bad layout, sometimes this can be just a temporal issue caused by an animation, in which case there would be no problem once the animation finished and the elements are all in their final location. Unfortunately, automatically handling those situations in which the problem is caused by an animation by just retrying a few times if the element to be clicked is covered before giving up would probably cause confusion instead of easing test writing. The reason is that if the center of the element is covered by another one the Firefox driver for Selenium tries to click on the corners of the element instead. The problem is that the coordinates used for the click are integer values, but Firefox has sub-pixel accuracy, so sometimes (depending on which corner is not covered and whether the left, top, width or height properties of the element to be clicked have a decimal component or not) the clicks silently land on a different HTML element (and that is with squared borders; with round borders they always land on a different HTML element. That was partially addressed for Selenium 3.0 by clicking first on the edges, but it would still fail if the middle point of the edges is covered but not the corners). It is not possible to fix or even detect all that from the tests (except maybe with some extreme hacks involving accessing private PHP members from Mink and bypassing or replacing the standard JavaScript executed by the Firefox driver with a custom implementation...), so it is not possible to ensure that clicks during an animation will land on the right element (in fact it is not possible even on static elements, although except when the layout is wrong there should be no problem); sometimes retrying a click when the element is covered would solve the problem, sometimes it would cause a different element to be clicked (and sometimes there would be even no retry, as the first click would have silently landed on a different element than the expected one). Therefore, a different approach must be used. Instead of trying to automatically handle clicks during animations the tests must be written being aware of the problem and thus waiting somehow for the animations that can cause a problem to end before performing the clicks. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>