summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7915 from nextcloud/backport/7909/fix-migration-type-hintsRoeland Jago Douma2018-01-171-2/+0
|\ | | | | Fix the type hints of migrations and correctly inject the wrapped sch…
| * Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-171-2/+0
| | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Support arbitrary number of arguments for d:or and d:and in search queriesRobin Appelman2018-01-161-1/+6
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add unit testJoas Schilling2018-01-151-0/+123
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #7650 from rpirritano/masterMorris Jobke2018-01-111-1/+1
|\ | | | | made small changes to login screen
| * made small changes to login screenRobert Pirritano2018-01-111-1/+1
| | | | | | | | | | | | added height back 70px back to footer and removed .htaccess file Signed-off-by: Robert R Pirritano <rpirritano@gmail.com>
* | Add acceptance test for renaming a file with the details view openDaniel Calviño Sánchez2018-01-112-0/+57
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Don't lie about the preview mimetypeRoeland Jago Douma2018-01-071-0/+8
| | | | | | | | | | | | | | For legacy reasons we stored all the previews with a png extention. However we did not put png data in them all the time. This caused the preview endpoints to always report that a preview is a png file. Which was a lie. Since we abstract away from the storage etc in the previewmanager. There is no need anymore to store them as .png files and instead we can use the actual file extention. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* removes invalid tests, adapts another oneArthur Schiwon2018-01-031-33/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* never translate login names when requiring with a user idArthur Schiwon2018-01-031-12/+28
| | | | | | where appropriate, the preLoginNameUsedAsUserName hook should be thrown. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* extend tests for status quoArthur Schiwon2018-01-032-0/+19
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #7487 from nextcloud/no-password-confirm-with-ssoblizzz2018-01-032-4/+133
|\ | | | | disable password confirmation with SSO
| * Move passwordconfirmation to its own midlewareRoeland Jago Douma2018-01-022-10/+130
| | | | | | | | | | | | Add tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * disable password confirmation with SSOBjoern Schiessle2018-01-021-1/+10
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #7526 from ↵Morris Jobke2018-01-031-1/+1
|\ \ | |/ |/| | | | | nextcloud/make-possible-for-apps-to-disable-the-navigation-bar-slide-gesture Make possible for apps to disable the navigation bar slide gesture
| * Add unit tests for the navigation bar slide gestureDaniel Calviño Sánchez2017-12-141-1/+1
| | | | | | | | | | | | | | | | The slide gesture is enabled or disabled depending on the width of the browser window. In order to easily control that width the karma-viewport plugin is now used in the unit tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7631 from nextcloud/fix-scss-webroot-and-url-rewriteMorris Jobke2018-01-023-13/+72
|\ \ | | | | | | Fix scss webroot and url rewrite
| * | Fixed testsJohn Molakvoæ (skjnldsv)2017-12-303-13/+32
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Correctly remove temp test directory treeJohn Molakvoæ (skjnldsv)2017-12-301-1/+13
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Added tests for various installations typesJohn Molakvoæ (skjnldsv)2017-12-301-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - With root installation - Core css - App inside server root - Secondary apps directory outside server root - With an installation in a sub directory - Core css - App inside server root - Secondary apps directory outside server root Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixed webroot for scss filesJohn Molakvoæ (skjnldsv)2017-12-301-11/+2
| | | | | | | | | | | | | | | | | | Fixed tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #7590 from nextcloud/flow-hide-stay-logged-inMorris Jobke2018-01-021-0/+33
|\ \ \ | | | | | | | | Hide stay logged in checkbox when flow authentication is used
| * | | Hide stay logged in checkbox when flow authentication is usedJulius Härtl2017-12-281-0/+33
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / Get correct translations for SecurityProviderRoeland Jago Douma2018-01-021-2/+2
|/ / | | | | | | | | | | Fixes #7657 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Wait for the shared link to be set in the acceptance testsDaniel Calviño Sánchez2017-12-221-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When clicking on "Share link" in the "Sharing" tab of the Files app an input field with the link appears. That input field already exists in the DOM, although empty, before clicking on "Share link", and when that is done the proper value is set and then the input field is shown. In the acceptance tests "getValue()" can return the value of hidden elements too, so as long as an element exists its value is returned without waiting for the field to be visible. Due to this if the test code runs too fast the "I write down the shared link" step could be executed before the proper value was set, so the shared link got in that case would be an empty value, and this would lead to failures when the following steps were executed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add missing timeout multiplierDaniel Calviño Sánchez2017-12-221-2/+6
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix typo in callback nameDaniel Calviño Sánchez2017-12-221-2/+2
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix failing AvatarTestJulius Härtl2017-12-191-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #7566 from nextcloud/fix-opening-the-menu-in-a-share-pageRoeland Jago Douma2017-12-192-0/+95
|\ \ | | | | | | Fix opening the menu in a share page
| * | Add acceptance test for opening the menu in a public shared linkDaniel Calviño Sánchez2017-12-192-0/+95
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #7562 from nextcloud/fix-wrongly-cached-resultRoeland Jago Douma2017-12-191-1/+52
|\ \ \ | |/ / |/| | Cache final result of update check
| * | Cache final result of update checkMorris Jobke2017-12-181-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | If the parsed data is not a valid response we should not cache it and only cache the preprocessed result set. Fixes #7442 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Fix testsRoeland Jago Douma2017-12-184-4/+4
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Fix and tests for MailPluginTobia De Koninck2017-12-161-1/+138
|/ | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Test fixes 2John Molakvoæ (skjnldsv)2017-12-141-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Test fixesJohn Molakvoæ (skjnldsv)2017-12-141-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use cached app listMorris Jobke2017-12-141-0/+1
| | | | | | Followup to #7264 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add testsRoeland Jago Douma2017-12-131-1/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* allow 'Nextcloud' in the user agent string of AndroidBjoern Schiessle2017-12-121-0/+14
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #6651 from nextcloud/remote-cloud-clientRoeland Jago Douma2017-12-113-0/+307
|\ | | | | Add api clients for talking to remote clouds
| * Add some more tests for ocs remote apiRobin Appelman2017-12-083-53/+232
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * refuse to use http if we know a remote has httpsRobin Appelman2017-12-081-0/+128
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #7324 from nextcloud/no-sorters-no-instancesRoeland Jago Douma2017-12-111-41/+99
|\ \ | | | | | | don't create sorter instances when none was requested
| * | don't create sorter instances when none was requestedArthur Schiwon2017-11-281-41/+99
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #7427 from nextcloud/fix-white-color-in-emailsMorris Jobke2017-12-115-5/+29
|\ \ \ | | | | | | | | Fix email buttons for white theme
| * | | Fix email buttons for white themeMorris Jobke2017-12-115-5/+29
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #6876 from nextcloud/always_img_avatarMorris Jobke2017-12-082-13/+39
|\ \ \ \ | | | | | | | | | | Always generate avatar
| * | | | Fix testsRoeland Jago Douma2017-11-292-13/+39
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | 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>