summaryrefslogtreecommitdiffstats
path: root/core/js/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove check for outdated cachesDaniel Kesselberg2019-01-021-13/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add setup check for pending bigint conversionMorris Jobke2018-12-051-13/+26
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add setup check for recommended PHP modules (i.e. Imagick, intl)Morris Jobke2018-12-051-12/+25
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add check for missing .woff2 rule in Nginx via setup checkMorris Jobke2018-11-291-0/+27
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix whitespace and file action cleanupJulius Härtl2018-11-201-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix share link password inputJohn Molakvoæ (skjnldsv)2018-11-202-7/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #12105 from nextcloud/using-resharing-right-to-display-sharesRoeland Jago Douma2018-11-041-1/+8
|\ | | | | Shares are displayed to users with resharing rights
| * Add uid_owner to enable permission settings on the viewsJulius Härtl2018-11-021-1/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix app menu calculation for random size of the right headerJulius Härtl2018-11-021-0/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add "Password protect by Talk" to the menu of link sharesDaniel Calviño Sánchez2018-11-022-3/+123
|/ | | | | | | | | | | | | | | | | | | | | | | When Talk is enabled the menu for link shares now shows a checkbox to protect the password by Talk (that is, to show the "Request password by Talk" UI in the authentication page for the link share). Although in e-mail shares protecting the share with a password and protecting the password by Talk are mutually exclusive actions (as when the password is set it is sent to the sharee, so it must be set again when protecting it by Talk to be able to verify the identity of the sharee), in the case of link shares protecting the password by Talk is an additional step to protecting the share with a password (as just setting the password does not disclose it to anyone). As such, the checkbox is shown only when there is a password set for the link share (even if the field itself for the password is not shown, like when they are enforced in the settings). Note that the icon set for the field, "icon-passwordtalk", does not currently exist; it is the same used for e-mail shares, and it is needed simply to get the right padding in the menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #11844 from nextcloud/multiple-link-sharesMorris Jobke2018-11-015-69/+75
|\ | | | | allow to create multiple link shares via share api
| * Fixed jsunitJohn Molakvoæ (skjnldsv)2018-11-015-69/+75
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add tests for edit permission state on file sharesJulius Härtl2018-10-311-0/+31
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add "Hide download" to the menu of link sharesDaniel Calviño Sánchez2018-10-302-3/+104
| | | | | | | | | | Hiding the download does not depend on other settings and it does not affect other settings either (for example, it would be possible to hide the downloads yet make the share editable), so a simple checkbox was added to the menu. However, note that this option is only available for files, but not for folders. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #11893 from caugner/7837-filesize-format-with-localeMorris Jobke2018-10-251-0/+58
|\ | | | | Formats file sizes using the user's locale
| * OC.getCanonicalLocale: fix testsClaas Augner2018-10-241-4/+8
| | | | | | Signed-off-by: Claas Augner <git@caugner.de>
| * humanFileSize: use toLocaleStringClaas Augner2018-10-241-0/+54
| | | | | | | | | | | | | | | | | | | | | | humanFileSize: add test with locale humanFileSize: use canonical locale humanFileSize: skip test w/o toLocaleString support humanFileSize: stub getCanonicalLocale OC.getCanonicalLocale: cover undefined case humanFileSize: fix getCanonicalLocale stub Signed-off-by: Claas Augner <git@caugner.de>
* | Merge pull request #11396 from nextcloud/wellknown-webfingerMorris Jobke2018-10-241-3/+14
|\ \ | |/ |/| adding .well-known/webfinger
| * Make possible to set the expected status of the well known URL checkDaniel Calviño Sánchez2018-10-101-3/+14
| | | | | | | | | | | | | | | | | | The check is based on the HTTP status returned by the URL, and different URLs may return different status (for example, DAV returns 207, while a service like WebFinger would return 200), so the expected status needs to be set depending on the URL. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix failing tests and add some moreDaniel Peukert2018-10-171-8/+106
| | | | | | | | Signed-off-by: Daniel Peukert <dan.peukert@gmail.com>
* | Tests: Remove spacing from html before comparing the templateJulius Härtl2018-10-161-6/+6
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix plural function to be hardcodedRoeland Jago Douma2018-10-141-22/+0
| | | | | | | | | | | | | | No more weird eval to construct a plural function. We just use the plural function from symfony. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Allow "same-origin" as "Referrer-Policy"Moritz Beck2018-10-111-11/+6
|/ | | | | | | | | Fixes #11531 Although "same-origin" is more strict than e.g. strict-origin it showed up a warning in setupcheck Based on https://scotthelme.co.uk/a-new-security-header-referrer-policy/ Signed-off-by: Moritz Beck <git@birkenstab.de>
* Fix a misleading setup check for .well-known/caldav & carddavMorris Jobke2018-10-101-4/+4
| | | | | | The problem is that the version without the slash is the correct one. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix usage of deprecated OC.webrootChristoph Wurst2018-10-093-22/+22
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #11036 from ↵Joas Schilling2018-09-131-63/+203
|\ | | | | | | | | nextcloud/fix/10903/users-undefined-maxautocompleteresults fix check for more users in sharing dialogue
| * adjust and extend js unit testsArthur Schiwon2018-09-121-63/+203
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Change check if secure randomness is possible.Timo Förster2018-08-241-15/+15
|/ | | | Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
* Fix jsunitJohn Molakvoæ (skjnldsv)2018-08-241-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Adds license to files. Updates the branch.Michael Weimann2018-08-202-12/+72
|\ | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Merge pull request #10700 from nextcloud/fix/10516/sharepermissionsMorris Jobke2018-08-201-1/+1
| |\ | | | | | | Fix share dialog sidebar in share views
| | * adapt jsunit testArthur Schiwon2018-08-161-1/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Merge pull request #10628 from ↵Morris Jobke2018-08-201-11/+69
| |\ \ | | | | | | | | | | | | | | | | nextcloud/feature/10154/app-directory-permission-check Adds a permission check for app directories
| | * | Extends the setup check js testsMichael Weimann2018-08-091-11/+69
| | |/ | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | Adds tests for the memory checksMichael Weimann2018-08-201-13/+13
| | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | Adds tests for the setup memory limit checksMichael Weimann2018-08-201-11/+67
|/ / | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* / Tests fixesJohn Molakvoæ (skjnldsv)2018-08-101-6/+6
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Improve URL detectionJoas Schilling2018-07-311-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Tests fixes and design bumpJohn Molakvoæ (skjnldsv)2018-07-212-185/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Jsunit fixes 1John Molakvoæ (skjnldsv)2018-07-201-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #5280 from nextcloud/shared-with-display-nameMorris Jobke2018-07-131-4/+32
|\ | | | | sharedWithDisplayName & sharedWithAvatar
| * SharedWithDisplayName + SharedWithAvatarMaxence Lange2018-05-211-4/+32
| | | | | | | | | | Signed-off-by: Maxence Lange <maxence@nextcloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix unit tests - follow up to #10197Morris Jobke2018-07-111-32/+15
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #9895 from nextcloud/fed-group-sharesMorris Jobke2018-07-111-24/+82
|\ \ | | | | | | implement federated group sharing
| * | fix js testsBjoern Schiessle2018-07-111-24/+82
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Merge pull request #10197 from nextcloud/feature/9410/improve-opcache-feedbackRoeland Jago Douma2018-07-111-1/+73
|\ \ \ | | | | | | | | Improve opcache feedback
| * | | opcache module checkCthulhux2018-07-111-1/+73
| |/ / | | | | | | | | | | | | | | | Improved the speed of isOpcacheProperlySetup() (instant return instead of continuing when we're already failed), added a check for the opcache extension itself. Potentially fixes #9410 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Improve url detection in commentsJoas Schilling2018-07-111-0/+50
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge all setup checks into one controllerMorris Jobke2018-06-131-10/+120
| | | | | | | | | | | | * renamed hasMissingIndexes to missingIndexes Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #9836 from ↵Morris Jobke2018-06-132-10/+12
|\ \ | | | | | | | | | | | | nextcloud/feature/noid/merge-tips-and-tricks-into-setup-checks Merge tips & tricks section into setup checks