Commit Graph

204 Commits

Author SHA1 Message Date
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
Jean-Philippe Lang e4ef0b04ef Adds specific css class for information in forms.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 20:07:37 +00:00
Toshi MARUYAMA 73b175df8f code layout cleanup app/views/repositories/revisions.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-26 06:40:55 +00:00
Toshi MARUYAMA 564653167e code layout cleanup app/views/repositories/_revisions.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-26 06:40:29 +00:00
Jean-Philippe Lang 83e45cad9f Fixed: Git: Mercurial: Branch dropdown broken on repositories page (#10026).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 19:46:28 +00:00
Toshi MARUYAMA e347fba11a add newline at end of app/views/repositories/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 13:46:31 +00:00
Toshi MARUYAMA f92b2cb7b5 add newline at end of app/views/repositories/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 13:45:42 +00:00
Jean-Philippe Lang 0c6830f8e0 Moved the "Main repository" checkbox before the identifier (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-17 18:40:52 +00:00
Jean-Philippe Lang 346fccf782 Do not show revisions links and field on filesystem repositories.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 20:22:12 +00:00
Jean-Philippe Lang ad1330c780 Search for changeset in the current repository (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 18:03:18 +00:00
Jean-Philippe Lang 276e647779 Display repository identifier in breadcrumbs (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 23:09:15 +00:00
Jean-Philippe Lang 1bd5e58c84 Adds support for multiple repositories per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:19:19 +00:00
Jean-Philippe Lang fb1a2fd7cd Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Jean-Philippe Lang a5ed9c7e2d Adds avatar on changeset view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:41:50 +00:00
Jean-Philippe Lang 9b27e1cd83 Prevent empty table from being rendered.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 18:31:27 +00:00
Toshi MARUYAMA 25477e452c Rails3: view: html_safe for repositories/_revision_graph.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 08:08:43 +00:00
Toshi MARUYAMA 65959100f4 code layout cleanup app/views/repositories/_navigation.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 14:41:02 +00:00
Jean-Philippe Lang f1fec5eee0 Fixed that _revision_graph.html.erb breaks window load events (#9775).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 19:29:35 +00:00
Toshi MARUYAMA 10ae93826e Rails3: view: html_safe for parents and children revisions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 06:15:03 +00:00
Toshi MARUYAMA 3d379c4d07 scm: git: mercurial: not show revision graph in sub directory (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 23:41:03 +00:00
Toshi MARUYAMA fb75372b86 scm: attachment: remove "to_utf8" methods from helpers (#2371)
It is confusing that same name methods are in several helpers.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:04:11 +00:00
Toshi MARUYAMA 700c6de3db code layout clean up app/views/repositories/diff.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 04:18:01 +00:00