summaryrefslogtreecommitdiffstats
path: root/app/helpers/comments_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable clicking a comment to jump to the inline context.Marius Mathiesen2009-11-161-1/+1
| | | | - Also got back support for side by side rendering of diffs
* Store affected lines of an inline diff comment correctlyJohan Sørensen2009-11-041-1/+1
| | | | | | | | | In order to be able to place the comment correctly in the diff we now store a tuple of [old_linenumber, new_line_number] along with the number of lines the comment spans. We store both the first and the last line number tuple so that we can calculate the placement of things generated outside the DOM tree (such as the InlineTableCallback diff rendering callback).
* Support for editing comments for the author 10 minutes after creating themMarius Mathiesen2009-11-041-1/+1
| | | | | - A new link is displayed when hovering over an editable comment - Clicking on this loads the edit form, and makes it submit over ajax
* Clicking a comment link will ask the controller to update, then goto comment ↵Marius Mathiesen2009-11-041-0/+2
| | | | | | afterwards Using a closure for this, still need to fetch the correct shas
* When POSTing a comment on a MR version, the controller renders the relevant ↵Marius Mathiesen2009-11-041-0/+1
| | | | | | diff, which is displayed via JS - Needed to extract the diff browsing to a separate helper as other helpers include each other
* Make it possible to jump from comment listing to code diffMarius Mathiesen2009-11-041-3/+7
|
* Render a list of comments both to the merge and the diffs affected.Marius Mathiesen2009-11-041-1/+6
| | | | - When new diffs are loaded, the comments are loaded too
* Updated copyrights-blurb in all application filesJohan Sørensen2009-04-221-0/+4
|
* include UsersHelper everywhereJohan Sørensen2009-01-051-1/+1
|
* Included UsersHelper in CommentsHelper to fix a problem with the ↵Peter Dalmaris2008-12-221-0/+1
| | | | commits_infobox not being able to find method encoded_mail when the comments view was selected.
* Add copyright and license headers (AGPL) to code filesTor Arne Vestbø2008-11-281-0/+17
| | | | | The authors in each copyright header was computed by running 'git log --reverse' on that particular file.
* Added commenting of repositories and commitsJohan Sørensen2008-01-071-0/+2