Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added OC.L10N namespace with translation functions | Vincent Petry | 2014-10-29 | 2 | -9/+101 |
| | | | | | | | | | | | Added addTranslations and fixed de.js file Fixed de.js to use OC.L10N.register() and use to correct expected format. Added JS unit tests for OC.L10N class Include translations JS script for all apps | ||||
* | Merge pull request #7254 from owncloud/core-sortalgo | Lukas Reschke | 2014-09-16 | 2 | -0/+161 |
|\ | | | | | Fixed JS sort comparator to be consistent between JS and PHP | ||||
| * | Fixed sort algo for additional cases | Vincent Petry | 2014-08-11 | 1 | -1/+5 |
| | | |||||
| * | Fixed file list sorting | Vincent Petry | 2014-08-11 | 2 | -0/+157 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now using a natural sort algorithm that is more consistent between JS and PHP (although not perfect in some corner cases) - added OC.Util.naturalSortComparator that uses the same algo that was used for the user list - changed user list and files list to use OC.Util.naturalSortComparator - removed toLowerCase() and changed the comparator to use String.localeCompare() - added unit tests - added OC_NaturalSort that is used by OCP\Util::naturalSortCompare() | ||||
* | | Merge pull request #9753 from owncloud/filepath-css | Thomas Müller | 2014-09-09 | 1 | -0/+20 |
|\ \ | | | | | | | Remove special case for css in OC.filePath | ||||
| * | | Add beforeeach and aftereach | Lukas Reschke | 2014-09-09 | 1 | -4/+6 |
| | | | |||||
| * | | Add unittest for filePath | Lukas Reschke | 2014-09-09 | 1 | -0/+18 |
| | | | |||||
* | | | Use a route instead of s.php and convert tokens asap | kondou | 2014-09-04 | 1 | -3/+3 |
| | | | |||||
* | | | Init vars with a value if none is provided | Clark Tomlinson | 2014-08-28 | 1 | -0/+3 |
| | | | |||||
* | | | Fix share dropdown when links are not allowed | Vincent Petry | 2014-08-21 | 1 | -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. | ||||
* | | | Fixed folder icon update routine when share owner exists | Vincent Petry | 2014-08-15 | 2 | -1/+70 |
| |/ |/| | | | | | | | Whenever a folder has a "data-share-owner" attribute, the icon is now properly updated to a shared folder icon. | ||||
* | | update unit test, min date should be always today + 1 | Bjoern Schiessle | 2014-08-08 | 1 | -3/+5 |
| | | |||||
* | | Fix enforced share expiration date to be based on share time | Vincent Petry | 2014-07-21 | 2 | -10/+135 |
|/ | |||||
* | reduce share action text to the user name only | Thomas Müller | 2014-07-14 | 1 | -7/+7 |
| | |||||
* | Improved remote share owner display | Vincent Petry | 2014-07-03 | 1 | -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 share | Vincent Petry | 2014-06-27 | 1 | -1/+145 |
| | |||||
* | Test runner now loads CSS and hides testArea | Vincent Petry | 2014-06-24 | 1 | -1/+1 |
| | | | | | | | - serve CSS and font files properly to make sure that measurements are correct for the tests that need them (breadcrumb) - added opacity to testArea to make sure nothing is visible during testing | ||||
* | Added unit tests for heartbeat interval min/max values | Vincent Petry | 2014-06-12 | 1 | -1/+23 |
| | |||||
* | Fixed Snap mock | Vincent Petry | 2014-06-06 | 1 | -5/+10 |
| | | | | Also fixed JSHint errors | ||||
* | close sidebar when switching navigation entry, except on add or change settings | Jan-Christoph Borchardt | 2014-06-05 | 1 | -0/+3 |
| | |||||
* | Merge pull request #8620 from owncloud/design-navigation-two | Thomas Müller | 2014-06-05 | 1 | -82/+5 |
|\ | | | | | Toggle app navigation not only on mobile, but on desktop as well | ||||
| * | fix unit test template | Morris Jobke | 2014-06-05 | 1 | -1/+1 |
| | | |||||
| * | fix first failing test | Morris Jobke | 2014-06-05 | 1 | -2/+1 |
| | | |||||
| * | Remove obsoleted code to trigger navigation menu | Vincent Petry | 2014-06-04 | 1 | -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-sharewithstatus | Morris Jobke | 2014-06-04 | 1 | -5/+133 |
|\ \ | |/ |/| | Update share action text to display owner/recipients | ||||
| * | Use recipient display names when updating shares in the UI | Vincent Petry | 2014-06-04 | 1 | -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 share | Vincent Petry | 2014-06-02 | 1 | -5/+139 |
| | | |||||
* | | Merge pull request #7485 from owncloud/scrutinizer_fix_1_kondou | Morris Jobke | 2014-06-03 | 2 | -8/+9 |
|\ \ | | | | | | | Scrutinizer cleanup | ||||
| * | | Scrutinizer cleanup | kondou | 2014-06-02 | 2 | -8/+9 |
| | | | |||||
* | | | Merge pull request #8820 from owncloud/design-details | Frank Karlitschek | 2014-06-02 | 1 | -0/+7 |
|\ \ \ | |/ / |/| | | Design details | ||||
| * | | fix unit tests after introduction of animations - adds delays for click trigger | Morris Jobke | 2014-06-02 | 1 | -0/+7 |
| |/ | |||||
* | | Merge pull request #8613 from owncloud/filesize-alignment | Morris Jobke | 2014-06-02 | 1 | -0/+13 |
|\ \ | |/ |/| | Improve aligment of file size | ||||
| * | display "<1 kB" for really small files | Morris Jobke | 2014-06-02 | 1 | -0/+13 |
| | | | | | | | | | | * added parameters for humanFileSize to trigger that behaviour * add unit tests for that | ||||
* | | Merge pull request #8187 from owncloud/escape-more-character | Morris Jobke | 2014-06-02 | 1 | -0/+11 |
|\ \ | |/ |/| | Also encode > and ' | ||||
| * | Fix typo | Lukas Reschke | 2014-05-31 | 1 | -1/+1 |
| | | |||||
| * | Add unit tests for escapeHTML | Lukas Reschke | 2014-05-28 | 1 | -0/+11 |
| | | |||||
* | | Added ground work for OC.Share unit tests | Vincent Petry | 2014-05-13 | 2 | -0/+100 |
| | | |||||
* | | Fix file summary to use the whole file list | Vincent Petry | 2014-04-28 | 1 | -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 Petry | 2014-04-09 | 1 | -3/+3 |
| | |||||
* | Moved code to replace svg with png to OC.Util | Vincent Petry | 2014-04-04 | 1 | -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 signs | Vincent Petry | 2014-04-01 | 1 | -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 PhantomJS | Vincent Petry | 2014-03-18 | 1 | -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 mode | Vincent Petry | 2014-03-18 | 1 | -0/+101 |
| | |||||
* | Merge pull request #7592 from owncloud/fixstoragefreespace | Vincent Petry | 2014-03-06 | 1 | -0/+7 |
|\ | | | | | Fixed upload issue when free space is not known (ex: FTP) | ||||
| * | Added testArea for JS Unit tests | Vincent Petry | 2014-03-06 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | Added a testArea that is outside the viewport but still considered as visible from the jQuery code. The testArea is useful when: - tested code tries to access DOM elements using global ids - tested code is requiring some UI elements to be visible to activate themselves | ||||
* | | Merge pull request #7579 from owncloud/introduce-generateUrl-master | Morris Jobke | 2014-03-06 | 1 | -0/+9 |
|\ \ | | | | | | | Introduce OC.generateUrl() in master | ||||
| * | | adding js unit tests for OC.generateUrl() | Thomas Müller | 2014-03-06 | 1 | -0/+9 |
| |/ | |||||
* | | Removed obsolete OC.Router stubs in specHelper | Vincent Petry | 2014-03-05 | 1 | -10/+0 |
| | | |||||
* | | fixing js unit tests | Thomas Müller | 2014-03-05 | 2 | -10/+5 |
|/ | |||||
* | Added oc_defaults stub in specHelper.js | Vincent Petry | 2014-02-24 | 1 | -0/+1 |
| | | | | | This is needed for JS Unit tests to run properly as they are expecting the new "oc_default" map to exist. |