Toshi MARUYAMA
e0811bc80d
scm: use nil instead of @rev at revision text box of "View all revisions" page
...
@rev is set as default branch at controller.
On Git, in most cases it is "master".
And it is set on revision text box of "View all revisions" page.
"master" branch is NOT revision, so clicking OK button causes error.
It is very confused.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-24 11:12:05 +00:00
Toshi MARUYAMA
c4ce048970
fix "Page not found" on OK button in SCM "View all revisions" page ( #12196 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-24 09:24:30 +00:00
Toshi MARUYAMA
c3e055bd70
explicitly define route at scm diff view ( #11966 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 16:05:33 +00:00
Jean-Philippe Lang
3586e44c1d
Use radio buttons instead of a select.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 20:51:31 +00:00
Jean-Philippe Lang
12de6a177a
Fixed that git diff displays deleted files as /dev/null ( #11868 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 19:32:58 +00:00
Toshi MARUYAMA
cbe28d75d0
fix deprecation warning of the format in the template name
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 03:15:00 +00:00
Jean-Philippe Lang
a3d0e82552
Use javascript_tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 17:01:45 +00:00
Jean-Philippe Lang
818f3564fa
Moved the javascript includes in html head.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 16:59:30 +00:00
Toshi MARUYAMA
bbed770fa4
remove redundant empty lines from app/views/repositories/_revision_graph.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-07 01:35:18 +00:00
Jean-Philippe Lang
265baa1b2c
Upgrade to Rails 3.2.8 ( #11758 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:08:51 +00:00
Jean-Philippe Lang
f82a7a35b0
Adds autocomplete to "Related issue" field on revision ( #11102 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-09 16:46:13 +00:00
Toshi MARUYAMA
96306f9dff
replace tabs to spaces at app/views/repositories/_dir_list_content.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-30 01:32:31 +00:00
Jean-Philippe Lang
3692369584
html5 compliance.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 11:34:00 +00:00
Jean-Philippe Lang
75b0c01431
Typo.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 11:33:47 +00:00
Jean-Philippe Lang
65524cc1cc
Don't repeat revision on annotate view.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 18:11:03 +00:00
Jean-Philippe Lang
87f284dcb6
Repository Identifier should be frozen ( #11109 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-26 17:41:47 +00:00
Jean-Philippe Lang
6a2ca5e034
JQuery in, Prototype/Scriptaculous out ( #11445 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-22 13:29:26 +00:00
Jean-Philippe Lang
87da04c808
Removes RJS from RepositoriesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:27:14 +00:00
Jean-Philippe Lang
a49d50614f
Removes a call to link_to_remote.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-18 16:31:36 +00:00
Jean-Philippe Lang
7b40767428
Deprecated :confirm => 'Text' option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 14:36:49 +00:00
Jean-Philippe Lang
d3aa9c6a7b
Removed invalid nested p tags.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-18 21:40:16 +00:00
Jean-Philippe Lang
9b63117856
Extract code from view.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 19:19:22 +00:00
Jean-Philippe Lang
7c105ec9e9
Adds a method to load changesets for repository entries.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 18:32:09 +00:00
Jean-Philippe Lang
ef01cada8b
Fixed argument to repository_path that triggers an error with Rails 3.2.5.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 12:02:46 +00:00
Jean-Philippe Lang
2cbf9c9cc4
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 11:46:58 +00:00
Toshi MARUYAMA
b0414ec1fb
route: scm: split entry and raw actions
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 01:01:29 +00:00
Toshi MARUYAMA
6c6467879a
scm: fix revision graph left padding
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-04 17:07:38 +00:00
Toshi MARUYAMA
d658ab22d6
scm: fix broken main repository 'root' link
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-02 15:58:03 +00:00
Toshi MARUYAMA
4b2fc90431
view: remote_form_for: equals sign mandatory to print blocks and replace to form_for and use :remote => true and :as
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-29 02:43:42 +00:00
Jean-Philippe Lang
5e57a1a9d9
Merged rails-3.2 branch.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Toshi MARUYAMA
ddce7ef142
code layout clean up app/views/repositories/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-04 10:43:29 +00:00
Toshi MARUYAMA
9aefe8b1e9
fix html tag at app/views/repositories/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-04 10:43:15 +00:00
Toshi MARUYAMA
72590ea997
code layout clean up app/views/repositories/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-04 10:19:55 +00:00
Toshi MARUYAMA
a5b480c62e
replace tabs to spaces at app/views/repositories/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-04 10:19:41 +00:00
Toshi MARUYAMA
0098c7b128
fix source indents of app/views/repositories/revisions.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-30 01:48:59 +00:00
Toshi MARUYAMA
b4630c03f7
Rails3: prevent double rendering file view and annotate on Rails 3.0.11 and Rails 3.1.3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 06:01:48 +00:00
Jean-Philippe Lang
9599875f48
Adds confirmation message to changeset/issue relation delete link.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 20:19:16 +00:00
Etienne Massip
f84273ca91
Prevents SCM browser to overlay over the new repository sidebar ( #779 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 18:24:23 +00:00
Etienne Massip
75f8c152ce
Removed useless style.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 06:27:23 +00:00
Etienne Massip
c5317a14ac
Redraw revision graph on window resize ( #10206 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-13 20:20:18 +00:00
Etienne Massip
9678e335a4
Moved revision graph holder div out of the table structure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 15:32:24 +00:00
Etienne Massip
2da8e97268
Included scm stylesheet in changes page.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 15:31:11 +00:00
Etienne Massip
ec537f6ea4
Use of local variable for consistency.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:59:57 +00:00
Etienne Massip
1ad977f712
Integrated revision graph into scmid column.
...
Allow wrapping of comment text so that the width doesn't overlap the sidebar while using multiple repositories.
Some code cleanup also.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:57:44 +00:00
Toshi MARUYAMA
c2943ffd29
code layout cleanup app/views/repositories/committers.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 03:37:09 +00:00
Jean-Philippe Lang
c0491d298b
Makes error class more specific to prevent clashes with syntax highlight ( #10193 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 18:03:10 +00:00
Toshi MARUYAMA
2ef86a2f0a
code layout cleanup app/views/repositories/_related_issues.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 23:51:26 +00:00
Toshi MARUYAMA
232fca78a2
scm: rename JavaScript "branchGraph" function name to "revisionGraph"
...
"Branch" is not a common concept in the SCMs.
Mercurial "branch" has three terms.
* named branch
* unnamed branch (multiple heads)
* big-picture branch (cloning repository)
Git "branch" is a reference to a specific revision.
It is popular that Mercurial GUI shows all revisions on the top page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 11:51:43 +00:00
Jean-Philippe Lang
1d4ef8964d
Adds a "Manage related isses" permission to add/remove commits/issues relations manually from the changeset view ( #2009 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 10:56:27 +00:00
Etienne Massip
b9c26d6ddc
Revision graph code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 14:02:31 +00:00