Commit Graph

153 Commits

Author SHA1 Message Date
Toshi MARUYAMA ae086b5ef6 scm: view: remove redundant br tag from the revision page (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-04 01:33:24 +00:00
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