summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specs
Commit message (Collapse)AuthorAgeFilesLines
* Add beforeeach and aftereachLukas Reschke2014-10-091-4/+6
|
* Add unittest for filePathLukas Reschke2014-10-091-0/+18
|
* Fix share dropdown when links are not allowedVincent Petry2014-08-211-10/+16
| | | | | | | | | | When links are not allowed, the email field does not exist and autocomplete returns null. This causes Javascript errors. The fix prevents entering the bogus block when links aren't allowed, as it doesn't make sense to enter it in such cases anyway. Backport of 98d06094e70d657907b139431624740acde3bbd9 from master
* Fixed folder icon update routine when share owner existsVincent Petry2014-08-181-1/+46
| | | | | | | Whenever a folder has a "data-share-owner" attribute, the icon is now properly updated to a shared folder icon. Backport of 607ea636be4a5a48b6abec8df3eaefe20fe4a1ba from master
* update unit test, min date should be always today + 1Bjoern Schiessle2014-08-111-3/+5
|
* Fix enforced share expiration date to be based on share timeVincent Petry2014-07-282-10/+135
|
* reduce share action text to the user name onlyThomas Müller2014-07-151-7/+7
|
* Improved remote share owner displayVincent Petry2014-07-031-0/+79
| | | | | | | The parts of the remote share owner name is now split between user name, domain name and root so they can be formatted / displayed differently. The user name + domain name are displayed in the tooltip.
* Unit tests for share dropdown with nested link shareVincent Petry2014-06-271-1/+145
|
* Added unit tests for heartbeat interval min/max valuesVincent Petry2014-06-121-1/+23
|
* Merge pull request #8620 from owncloud/design-navigation-twoThomas Müller2014-06-051-82/+5
|\ | | | | Toggle app navigation not only on mobile, but on desktop as well
| * fix unit test templateMorris Jobke2014-06-051-1/+1
| |
| * fix first failing testMorris Jobke2014-06-051-2/+1
| |
| * Remove obsoleted code to trigger navigation menuVincent Petry2014-06-041-79/+3
| | | | | | | | | | Now that the navigation menu is always togglable, the media query dependent code can be removed.
* | Merge pull request #8791 from owncloud/share-overview-sharewithstatusMorris Jobke2014-06-041-5/+133
|\ \ | |/ |/| Update share action text to display owner/recipients
| * Use recipient display names when updating shares in the UIVincent Petry2014-06-041-23/+17
| | | | | | | | | | | | | | | | | | | | | | Since OC.Share didn't have any array containing the list of shares for the current file, OC.Share.currentShares has been introduced to contain the full share item structure instead of the reduced one OC.Share.itemShares. The event "sharesChanged" is now passing OC.Share.currentShares, which itself includes the display name to be displayed for the recipients in the action icon.
| * More unit tests and fixes for shareVincent Petry2014-06-021-5/+139
| |
* | Merge pull request #7485 from owncloud/scrutinizer_fix_1_kondouMorris Jobke2014-06-031-7/+7
|\ \ | | | | | | Scrutinizer cleanup
| * | Scrutinizer cleanupkondou2014-06-021-7/+7
| | |
* | | Merge pull request #8820 from owncloud/design-detailsFrank Karlitschek2014-06-021-0/+7
|\ \ \ | |/ / |/| | Design details
| * | fix unit tests after introduction of animations - adds delays for click triggerMorris Jobke2014-06-021-0/+7
| |/
* | Merge pull request #8613 from owncloud/filesize-alignmentMorris Jobke2014-06-021-0/+13
|\ \ | |/ |/| Improve aligment of file size
| * display "<1 kB" for really small filesMorris Jobke2014-06-021-0/+13
| | | | | | | | | | * added parameters for humanFileSize to trigger that behaviour * add unit tests for that
* | Merge pull request #8187 from owncloud/escape-more-characterMorris Jobke2014-06-021-0/+11
|\ \ | |/ |/| Also encode > and '
| * Fix typoLukas Reschke2014-05-311-1/+1
| |
| * Add unit tests for escapeHTMLLukas Reschke2014-05-281-0/+11
| |
* | Added ground work for OC.Share unit testsVincent Petry2014-05-131-0/+97
| |
* | Fix file summary to use the whole file listVincent Petry2014-04-281-0/+17
|/ | | | | | - moved the summary code into a new class FileSummary - FileSummary is calculated only once, then updated with add/remove - added new OC.Util namespace for JS utility functions
* Moved SVGSupport call to use OC.Util.SVGSupport()Vincent Petry2014-04-091-3/+3
|
* Moved code to replace svg with png to OC.UtilVincent Petry2014-04-041-0/+26
| | | | | | | | | - Moved code that replaces the "svg" extension for the given file to core as OC.Util.replaceSVGIcon. - Added unit test for OC.Util.replaceSVGIcon - Moved "replaceSVG" to OC.Util.replaceSVG and deprecated the global "replaceSVG" function. - Added alias for SVGSupport() as OC.Util.hasSVGSupport() (for now)
* Fixed parseQueryString to handle empty values and plus signsVincent Petry2014-04-011-1/+66
| | | | | | - now correctly parse query strings with '+' signs - empty values are now parsed either as null or empty string - added unit test for parseQueryString()
* Fixed matchMedia usage to make unit tests work in PhantomJSVincent Petry2014-03-181-12/+15
| | | | | | PhantomJS has a bug that makes it impossible to properly stub window.matchMedia. This fix adds a wrapper as OC._matchMedia that is used for unit tests
* Add/remove main menu action when switching between desktop/mobile modeVincent Petry2014-03-181-0/+101
|
* Merge pull request #7579 from owncloud/introduce-generateUrl-masterMorris Jobke2014-03-061-0/+9
|\ | | | | Introduce OC.generateUrl() in master
| * adding js unit tests for OC.generateUrl()Thomas Müller2014-03-061-0/+9
| |
* | fixing js unit testsThomas Müller2014-03-051-10/+4
|/
* Merge pull request #7067 from owncloud/core-sessionheartbeatconfigVincent Petry2014-02-051-0/+74
|\ | | | | Core sessionheartbeatconfig
| * Added unit tests for session_keepalive / heartbeatVincent Petry2014-02-041-0/+74
| |
* | Merge pull request #6969 from owncloud/tests-morecoverageThomas Müller2014-02-041-0/+99
|\ \ | |/ |/| Fixed unit test scripts + coverage
| * Added core unit tests for basename and dirnameVincent Petry2014-01-301-0/+99
| | | | | | | | | | Note that it doesn't work 100% like the PHP functions so the tests have TODO comments to fix those core functions eventually.
* | Added OC.buidQueryString() utility functionVincent Petry2014-01-241-0/+37
|/ | | | | Makes it possible to create query strings by passing a JavaScript hash map and automatically encodes the keys and values.
* Added Javascript unit testsVincent Petry2014-01-161-0/+70
- added karma utility to run jasmine unit tests - added Sinon library (for stubs/mocks/fakeserver) - added a few unit tests for core and files - added autotest-js.sh script