Commit Graph

202 Commits

Author SHA1 Message Date
Toshi MARUYAMA 5d98eb6ece scm: git: mercurial: add a new feature of revision graph (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 11:36:12 +00:00
Toshi MARUYAMA cc79b6d04a scm: view: add parents and children on the revision page (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 11:34:09 +00:00
Toshi MARUYAMA ccda115f15 scm: view: add #to_s to changeset.author (#5501)
On Ruby 1.8.6, following error raises.

undefined method `mb_chars' for #<ActiveRecord::Associations::BelongsToAssociation:0x7f86950f3e58>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-21 13:08:11 +00:00
Toshi MARUYAMA b89d563078 scm: view: truncate author with length 30 (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-21 11:17:31 +00:00
Toshi MARUYAMA 335ac4f326 code layout clean up of app/views/repositories/_dir_list_content.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-20 01:07:10 +00:00
Etienne Massip 4ecd65c465 Remove unecessary page title HTML escaping from views (#9252).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 18:45:17 +00:00
Toshi MARUYAMA 307dd7d73a replace tabs to spaces at app/views/repositories/diff.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:05:20 +00:00
Toshi MARUYAMA 71d31b772d replace tabs to spaces at app/views/repositories/revisions.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 08:04:36 +00:00
Toshi MARUYAMA 6068784b10 remove trailing white-spaces from app/views/repositories/revisions.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 06:04:25 +00:00
Toshi MARUYAMA eb18218c34 remove trailing white-spaces from app/views/repositories/changes.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 06:04:03 +00:00
Toshi MARUYAMA 4f132c7f3d replace tabs to spaces at app/views/repositories/committers.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 04:06:46 +00:00
Toshi MARUYAMA 7f4af3bfb9 remove trailing white-spaces from app/views/repositories/_breadcrumbs.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 00:14:39 +00:00
Toshi MARUYAMA ec11c1c566 rename .rhtml to .html.erb of app/views/repositories/_breadcrumbs.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:42:17 +00:00
Toshi MARUYAMA 96581b7a54 rename .rhtml to .html.erb of app/views/repositories/_dir_list_content.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:41:54 +00:00
Toshi MARUYAMA e338d16b70 rename .rhtml to .html.erb of app/views/repositories/diff.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:41:31 +00:00
Toshi MARUYAMA 804db5d073 rename .rhtml to .html.erb of app/views/repositories/changes.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:41:08 +00:00
Toshi MARUYAMA 9dd2197cf5 rename .rhtml to .html.erb of app/views/repositories/annotate.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:40:39 +00:00
Toshi MARUYAMA ddd45e56a2 rename .rhtml to .html.erb of app/views/repositories/entry.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:40:06 +00:00
Toshi MARUYAMA 56abefca91 rename .rhtml to .html.erb of app/views/repositories/committers.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:39:34 +00:00
Toshi MARUYAMA 42e6d6333c rename .rhtml to .html.erb of app/views/repositories/revision.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:39:02 +00:00
Toshi MARUYAMA 84dc66dd3d rename .rhtml to .html.erb of app/views/repositories/_navigation.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:38:18 +00:00
Toshi MARUYAMA 4b14a18bfc rename .rhtml to .html.erb of app/views/repositories/_link_to_functions.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:37:43 +00:00
Toshi MARUYAMA b8558d08e2 rename .rhtml to .html.erb of app/views/repositories/revisions.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:37:07 +00:00
Toshi MARUYAMA 9145a38ac6 rename .rhtml to .html.erb of app/views/repositories/_dir_list.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:36:23 +00:00
Toshi MARUYAMA 2bc4de71e8 rename .rhtml to .html.erb of app/views/repositories/_revisions.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:35:26 +00:00
Toshi MARUYAMA 737538bd9a rename .rhtml to .html.erb of app/views/repositories/stats.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 08:34:43 +00:00
Toshi MARUYAMA 60e3a64814 rename .rhtml to .html.erb of app/views/repositories/show.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-23 06:57:23 +00:00
Toshi MARUYAMA 05eeb7cc6f HTML escape at app/views/repositories/revision.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:13:50 +00:00
Toshi MARUYAMA 19f62c96a6 HTML escape at app/views/repositories/diff.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:13:05 +00:00
Toshi MARUYAMA bd4eb197e1 HTML escape at app/views/repositories/_breadcrumbs.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 13:12:21 +00:00
Toshi MARUYAMA dc1258df48 HTML escape at app/views/repositories/_dir_list_content.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:46:31 +00:00
Toshi MARUYAMA f36d8cacba scm: code clean up app/views/repositories/revisions.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 00:59:40 +00:00
Toshi MARUYAMA e4d726bde3 scm: code clean up app/views/repositories/revision.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 00:58:47 +00:00
Toshi MARUYAMA d65c3d438d scm: git: show only filename and filesize if setting of reporting last commit is disable (#8365, #7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 03:55:21 +00:00
Toshi MARUYAMA a78b12706a add Redmine::CodesetUtil and move replacing invalid utf8 logic to it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:43:49 +00:00
Toshi MARUYAMA 590cc111fc scm: remove "View all revisions" in sub directory (#7984).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-26 02:40:13 +00:00
Toshi MARUYAMA 7ec605fe04 scm: add rev param to "View revisions" (#7984).
There are two paths to show specific revision.
* http://www.redmine.org/projects/redmine/repository/revisions/5219/show
* http://www.redmine.org/projects/redmine/repository/show?rev=5219

First link is http://www.redmine.org/projects/redmine/repository/revisions/5219/changes .
But, Second link is http://www.redmine.org/projects/redmine/repository/changes .

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-26 02:39:31 +00:00
Toshi MARUYAMA 69311c9d2f scm: do not display 'View revision' links in subversion if path or revision are nil (#7984).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 23:43:33 +00:00
Toshi MARUYAMA 023a0efa10 scm: backout r5213. do not display both 'View all revisions' and 'View revision' links (#7984, #7246).
Git and Mercurial support *branch*.

Git in repository root shows *master branch*.
Git master branch does not have all revisions.

Mercurial default branch is *default branch*.
Mercurial shows *tip* in repository root.

Mercurial does not treat directory. "hg log DIR" costs high.
Getting correct limited changesets in sub directory and branch is very heavy.
So, if there is no recent revision in sub directory and branch,
no changeset shows.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 23:42:50 +00:00
Jean-Philippe Lang 4d7e61c49e Do not display both 'View all revisions' and 'View revision' links (#7984).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 17:58:50 +00:00
Toshi MARUYAMA 16b02fcfad scm: use blank? for "root @ branch" in repository tree viewing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 00:51:14 +00:00
Toshi MARUYAMA 20fa628de5 scm: switch showing link all revisions and directory revisions if scm supports these feature or not.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 00:50:32 +00:00
Toshi MARUYAMA b6dfa0b081 scm: recovery showing "root @ branch" in repository tree viewing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 08:21:26 +00:00
Toshi MARUYAMA 1ec3f1c696 scm: code clean up repositories/show.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 07:14:39 +00:00
Toshi MARUYAMA 78f11a232f scm: code clean up repositories/show.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 05:11:21 +00:00
Toshi MARUYAMA 1d6fbe5602 scm: Ruby 1.9 compatibility for browsing repository tree (#2664, #2274).
If repository path is not UTF-8, Ruby 1.9 shows trace.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-22 08:16:05 +00:00
Toshi MARUYAMA 0a87041504 scm: in repository tree, use find_changeset_by_name instead of changesets.find_by_revision (#3724, #3421).
Mercurial revision numbers are far too brittle.
Please see #6681 description.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-16 15:43:36 +00:00
Toshi MARUYAMA 6e1fa1603b scm: use format_revision() for history, view and annotate (#3724).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-21 13:22:08 +00:00
Toshi MARUYAMA ebb19c5863 scm: changing two revision diff text at SCM adapter level (#3724).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 16:04:07 +00:00
Toshi MARUYAMA 2e1bcb2abf Changing revision label and identifier at SCM adapter level (#3724, #6092)
Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 09:45:05 +00:00
Jean-Baptiste Barth 099761d8fb Fixes switching between inline and side-by-side in diff view with path. #6242
Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-18 16:50:08 +00:00
Jean-Baptiste Barth 32f6fa5b00 Fixed: changing view style in repository/diff doesn't keep previously selected file. #6045
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-13 06:09:38 +00:00
Jean-Philippe Lang 89aa60cbbd Escape revision on repository view (#5153).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-27 12:46:45 +00:00
Jean-Philippe Lang ad487bf7cc Replace the hardcoded "CodeRay" css class name for highlighted elements.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-14 13:22:50 +00:00
Eric Davis 667a7256a7 Escape the parent id parameter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-13 17:27:37 +00:00
Eric Davis 9f59cd64ab Added the revision title to any revision links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-22 23:23:54 +00:00
Jean-Philippe Lang 14e88ec420 Fixes revision form when browsing a subdirectory (#4281).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-24 17:55:45 +00:00
Jean-Philippe Lang cbeeaa4d4d Refactoring ApplicationHelper#link_to_issue.
Now displays issue subject by default.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 12:53:50 +00:00
Jean-Philippe Lang dfd0204052 Add view_issues permission (#3187).
A migration adds this permission to all existing roles to preserve current behaviour.
This permission controls access to issues, roadmap and changelog.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 12:08:47 +00:00
Jean-Philippe Lang 21e18c1eb4 Adds missing native eol properties.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-20 14:06:57 +00:00
Jean-Philippe Lang 5b97570693 SCM:
* add latest changesets for the current directory when browsing the repository and a link to the full log
* ability to diff a directory (#3575)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-01 12:13:17 +00:00
Jean-Philippe Lang a4d7a03b14 SCM browser:
* don't show repository commits when showing a subfolder
* remove obsolete view browse.rhtml

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-17 14:26:13 +00:00
Eric Davis c28b044d68 Added branch and tag support to the git repository viewer. (#1406)
Many thanks to Adam Soltys and everyone else who tested this patch.

* Updated git test repository so it has a branch with some differences from the master branch
* Moved redmine diff class into a module so as not to clash with diff-lcs gem which is required by grit
* Find changesets from all branches, not just master
* Got revision browsing working
* Got file actions working properly
* Allow browsing by short form of commit identifier
* Added a method to retrieve repository branches
* Allow browsing by branch names as well as commit numbers
* Handle the case where a git repository has no master branch
* Expand revision box and handle finding revisions by first 8 characters
* Added branches dropdown to repository show page
* Combined repository browse and show into a single action.  Moved branch/revision navigation into a partial.
* Renamed partial navigation -> breadcrumbs
* Made it so latest revisions list uses branch and path context
* Preserve current path when changing branch or revision
* Perform slightly more graceful error handling in the case of invalid repository URLs
* Allow branch names to contain periods
* Allow dashes in branch names
* Sort branches by name
* Adding tags dropdown
* Need to disable both branches and tags dropdowns before submitting revision form
* Support underscores in revision (branch/tag) names
* Making file history sensitive to current branch/tag/revision, adding common navigation to changes page
* Updated translation files to include labels for 'branch', 'tag', and 'view all revisions'
* Reenable fields after submit so they don't look disabled and don't stay disabled on browser back button
* Instead of dashes just use empty string for default dropdown value
* Individual entry views now sport the upgraded revision navigation
* Don't display dropdowns with no entries
* Consider all revisions when doing initial load
* Fixed bug grabbing changesets.  Thanks to Bernhard Furtmueller for catching.
* Always check the entire log to find new revisions, rather than trying to go forward from the latest known one
* Added some cleverness to avoid selecting the whole changesets table any time someone views the repository root
* File copies and renames being detected properly
* Return gracefully if no revisions are found in the git log
* Applied patch from Babar Le Lapin to improve Windows compatibility

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-15 22:41:40 +00:00
Jean-Philippe Lang 5ec4d4cdab Adds a link to the file history on repository file views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-18 09:59:55 +00:00
Jean-Philippe Lang 43200e2122 Adds mime type specific css classes to the SCM browser.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-19 08:25:25 +00:00
Jean-Philippe Lang 0100011e5c Fixing repository routes (#2967).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 17:45:47 +00:00
Jean-Philippe Lang 4c28291a19 Clickable/linkable line #'s while browsing the repo or viewing a text file (#2835).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-26 09:28:33 +00:00
Jean-Philippe Lang 79fd564b61 Do not show the changed files list on the revision page if the user is not allowed to browse the repository (#2762).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 12:58:18 +00:00
Jean-Philippe Lang fe28193e4e Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 11:04:50 +00:00
Jean-Philippe Lang b998572def Fixed: path parameter is not an array when changing diff style (#2695), broken by r2317.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-07 20:11:03 +00:00
Jean-Philippe Lang f1aa0df326 Adds an helper to render other formats download links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-29 13:53:17 +00:00
Jean-Philippe Lang 76a9101998 Do not show a link to the current annotate or view page (#2367).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-27 18:10:36 +00:00
Jean-Philippe Lang 3f80a89a69 Show view/annotate/download links on repositories/entries and repositories/annotate views (#2367).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-22 20:33:01 +00:00
Jean-Philippe Lang 7cea286c23 Fixes repository user mapping submission when a repository username is blank (#2339, Conflicting types for parameter containers).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-15 18:02:25 +00:00
Jean-Philippe Lang 79c33bbc83 Maps repository users to Redmine users (#1383).
Users with same username or email are automatically mapped. Mapping can be manually adjusted in repository settings. Multiple usernames can be mapped to the same Redmine user.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-10 18:59:06 +00:00
Eric Davis 48ae6f38e1 Added hook :view_repositories_show_contextual to allow adding items to the
repository's contextual menu.

  #2073


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-10-25 04:21:57 +00:00
Jean-Philippe Lang 9131cdf6b9 Truncate comments on changeset list.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-22 19:50:10 +00:00
Jean-Philippe Lang 3520961eae Render the commit changes list as a tree (#1896).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-17 16:39:23 +00:00
Jean-Philippe Lang b73141a153 Adds links to changesets atom feed on repository browser (#1873).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-09-12 17:17:25 +00:00
Jean-Philippe Lang de3d5a88e4 Fixes links to entries on the revision view (Rails 2.1 compatibility) (#1600).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-09 17:25:19 +00:00
Jean-Philippe Lang 12fbd06c02 Display svn properties in the browser, svn >= 1.5.0 only (#1581).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-05 08:59:04 +00:00
Jean-Philippe Lang 7cdd88a6ce Merged Rails 2.1 compatibility branch.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-07-04 17:58:14 +00:00
Jean-Philippe Lang be57c20cd8 Fixes quick jump to a revision.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-30 21:52:29 +00:00
Jean-Philippe Lang 94cf4f258f Wider SVG graphs in repository stats.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-29 11:13:10 +00:00
Jean-Philippe Lang b3939fb134 Link to view specific file on revision view fails with Subversion repository subdirectory (#1525).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-26 17:02:09 +00:00
Jean-Philippe Lang b14aa23c8c Revision view: do not display links for deleted files.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-22 14:40:45 +00:00
Jean-Philippe Lang 9737beecc4 Adds a field on the repository view to browse at specific revision (#1443).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-15 15:56:47 +00:00
Jean-Philippe Lang 93b3dba926 Makes changes link to entries on the revision view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-15 14:40:05 +00:00
Jean-Philippe Lang 597c1e6c09 Adds links to repository directories in the browser (#1094).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-15 11:40:13 +00:00
Jean-Philippe Lang aa0beecad0 Move the file viewer to a partial.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-09 17:02:55 +00:00
Jean-Philippe Lang e833cab30e Move diff viewer to a partial.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-08 18:10:49 +00:00
Jean-Philippe Lang b78b62df8d SCM browser: ability to download raw unified diffs.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-08 16:48:21 +00:00
Jean-Philippe Lang ec0525d497 Move unified diff parser out of the scm abstract adapter so it can be reused for viewing attached diffs (#1403).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-08 16:28:42 +00:00
Jean-Philippe Lang 731d15fe9b Don't search for the changeset if revision identifier is nil.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-08 15:47:55 +00:00
Jean-Philippe Lang 0aba4255f5 Don't display the table headers if there is no changeset to display.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-08 15:46:15 +00:00
Jean-Philippe Lang 36162c6cf2 Diff: adds some space between 2 changes in the same file and reduces html size.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-06-02 19:18:17 +00:00
Jean-Philippe Lang 193b2450f4 Fixed: View differences for individual file of a changeset fails if the subversion repository URL doesn't point to the repository root (#1209, #1262, #1275).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-05-24 17:58:34 +00:00
Jean-Philippe Lang 8d4aa6f9ad Fixed: single file 'View difference' links do not work because of duplicate slashes in url.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-04-03 22:29:58 +00:00
Jean-Philippe Lang f162337e1b Always show 'View' and 'Annotate' links on repository files (download will be forced when clicking 'View' if the file is binary).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-19 17:51:13 +00:00
Jean-Philippe Lang 93d1b2e0a4 Add Redmine links for repository files using source: and export: keyworkds (#867).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-03-17 17:45:01 +00:00