summaryrefslogtreecommitdiffstats
path: root/test/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Fix live search test in IEJohan Sørensen2009-12-141-6/+6
| | | | | The fixture HTML was nested improperly, causing IE to fail in its usual fashion
* Make the javascripts powering favorite_button work with several elements on ↵Marius Mathiesen2009-12-081-14/+14
| | | | | | the page The jQuery extension now calls a function on each element matched by the selector
* Favorites: GUI improvements, rename user accessor to eventsMarius Mathiesen2009-12-031-1/+24
| | | | | - Added waiting indicator when favoriting, added CSS classes - Renamed User#favorite_events -> User#events_in_watchlist
* Giving test coverage to link helperMarius Mathiesen2009-12-031-7/+42
|
* Moving the form replacer into a testable jQuery pluginMarius Mathiesen2009-12-031-0/+30
|
* Some UX tweaks to the live search functionMarius Mathiesen2009-11-161-0/+28
| | | | | - Performing an empty search resets the search form (no search, just display standard contents) - When no matches are found, render a div with class no-results-found (if any)
* Make the repo search form work w/different screen width, better test coverageMarius Mathiesen2009-11-121-0/+12
|
* Style the search field differently, adding a reset element to the DOM which ↵Marius Mathiesen2009-11-121-0/+23
| | | | resets the form.
* Further cleaning of the testsMarius Mathiesen2009-11-121-1/+2
|
* The tests had better keep freshMarius Mathiesen2009-11-121-18/+10
|
* Test the live search renderer tooMarius Mathiesen2009-11-121-0/+17
|
* Adding a liveSearch plugin, enable it on the repository listingMarius Mathiesen2009-11-122-0/+149
| | | | | | - The json rendering in Repositories#index is now done by the controller - Include a new js-file for live searching - Searching repositories in a project now matches repo description
* Make the inline comment list appear when a new comment is postedJohan Sørensen2009-11-051-0/+11
|
* Make sure CommentForm.setInitialCommentBody works with windows line-endingsJohan Sørensen2009-11-041-0/+12
|
* When click 'reply' in an inline diff comment, insert the original quoted msgJohan Sørensen2009-11-041-0/+8
|
* Add and use a Function.bind() for binding scope to the NotificationCenter ↵Johan Sørensen2009-11-041-11/+14
| | | | | | | callbacks Instead of passing the receiver around, we're now responsible for binding the callback correctly when we add the observer
* Selecting line numbers without text now works, line numbers are sorted correctlyMarius Mathiesen2009-11-041-0/+7
| | | | | - Fetch line number from parent instead of text - Extended Array.prototype with min() and max() methods, use these to extract first and last line numbers
* Fix inline commenting on a single commitJohan Sørensen2009-11-041-1/+28
| | | | | | | | | When a single commit is loaded we need to both update the magic data-merge-request-current-shas attribute as well as parse a single SHA properly with Gitorious.ShaSpec.parseShas() and add a testcase for it Also wrap some ungodly long line lengths.
* Mark the current shas as selected when displaying a comment for another sha ↵Marius Mathiesen2009-11-041-0/+4
| | | | range.
* Do not log to the JS consoleMarius Mathiesen2009-11-041-1/+0
|
* Clicking a comment in the listing should now update the display correctlyMarius Mathiesen2009-11-041-1/+2
| | | | | | - first, we ensure the current version is being displayed - then we ensure the current sha range is being displayed - finally, we highlight the comment
* Clicking a comment link will ask the controller to update, then goto comment ↵Marius Mathiesen2009-11-041-0/+20
| | | | | | afterwards Using a closure for this, still need to fetch the correct shas
* Use the power of the arguments builtin instead of passing around arraysJohan Sørensen2009-11-042-8/+6
| | | | | | | | | | This gives us a cleaner api, that actually works as expected Use a normal for-loop instead when notifying the observers, so we don't pass on the jQuery.each function as an argument to the callback. Furthermore, update the docs to actually match the code instead of being bollocks
* Moving the fetching of sha listings for a version into the controllerMarius Mathiesen2009-11-041-8/+18
|
* Handling errors when fetching diffsMarius Mathiesen2009-11-041-16/+9
|
* Four spaces indentMarius Mathiesen2009-11-041-2/+2
|
* More work on the JS merge request constrollerMarius Mathiesen2009-11-041-5/+19
| | | | | | - Tag the versions with version and URI for retrieval from javascript - Remove code comments in MergeRequestVersions#show - Include code comments in MergeRequests#show
* Refactor the MergeRequestController, prepare for message-drivennessMarius Mathiesen2009-11-041-0/+67
| | | | - Support for RESET=true to test:javascripts (for resetting browsers)
* Changed the NotificationCenter a bitMarius Mathiesen2009-11-041-20/+21
| | | | | - Arguments are passed when observers are notified - Observers know only of their receivers, not senders
* Be able to remove a single observer by sender from the NotificationCenterJohan Sørensen2009-11-041-2/+14
|
* Instead of NotificationCenter.defaultCenter(), use NotificationCenterJohan Sørensen2009-11-041-8/+8
| | | | | | If a custom notification center is needed, instantiate a new NotificationCenterManager. By getting rid of the defaultCenter() singleton, we save us some dull typing
* Add a NotificationCenter object to de-couple some of the javascript via ↵Johan Sørensen2009-11-041-0/+86
| | | | | | | | observers While multiple NotificationCenters are supported, the NotificationCenter.defaultCenter() method is provided for a common default shared notification center.
* Removing js debugMarius Mathiesen2009-11-041-1/+0
|
* Not all diff lines are commentableMarius Mathiesen2009-11-041-0/+16
| | | | - Also removed bug where empty line numbers would produce an invalid range
* The javascript tests now work, and even passMarius Mathiesen2009-11-042-3/+3
|
* Bookmarkable merge request versions.Marius Mathiesen2009-09-281-6/+30
| | | | | - When selecting a range of commits: set the location hash accordingly - When entering the page: extract the location hash and select the correct shas
* Started added tests for parsing merge request data from the location hashMarius Mathiesen2009-09-282-0/+15