Commit Graph

3610 Commits

Author SHA1 Message Date
Jean-Philippe Lang 6577f37fc3 Resourcified trackers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Jean-Philippe Lang 33f7f5a00d Strings as html safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 20:57:20 +00:00
Jean-Philippe Lang 34c73c7573 REST API for issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang 6f4fb8b892 Resourcified issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang 30556f8cbf Makes issue categories available in project REST API (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:55:44 +00:00
Toshi MARUYAMA 95c172dab3 remove unused Iconv from issues helper "issues_to_csv" method (#4742)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:47:33 +00:00
Jean-Philippe Lang 248b725875 Adds API response to /issue_statuses to get the list of all available statuses (#7180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang 053adaef52 Adds API response to /trackers to get the list of all available trackers (#7181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Jean-Philippe Lang 8b5b928b92 Do not show the paragraph if no message is set.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:07:22 +00:00
Jean-Philippe Lang ca300ccdea Adds a dialog box for CSV export options (#4742).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Jean-Philippe Lang 668184e520 Removed useless return false; statement.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:07:46 +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 f3b6e69c1a attachment: move repositories encodings setting to the general tab and update the label (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:48:13 +00:00
Toshi MARUYAMA 77710ece26 attachment: use repositories setting to convert contents character encoding (#2371)
This commit results replacing invalid encoding instead to stripping.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:46:52 +00:00
Jean-Philippe Lang 85db02d486 Allows double click to move columns between available/selected columns.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 10:07:11 +00:00
Toshi MARUYAMA 06bc4e50ef code layout clean up app/views/common/_diff.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 09:44:58 +00:00
Toshi MARUYAMA 245b534c83 attachment: add a new feature to switch "side by side" and "inline" for patches (#9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 06:13:26 +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
Toshi MARUYAMA 2d7f0d66b2 code layout clean up app/views/common/_file.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 04:17:19 +00:00
Toshi MARUYAMA 05abcb0663 code layout clean up app/views/repositories/annotate.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 04:16:39 +00:00
Toshi MARUYAMA 5eb388b851 code layout clean up link_to_attachment of application helper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 00:10:18 +00:00
Jean-Philippe Lang e4cda67cf4 Fixed: Issue filter by assigned_to_role is not project specific (#9540).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 15:11:20 +00:00
Jean-Philippe Lang 8ec1231dbc Makes author column sortable and groupable on the issue list (#1567).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 12:47:56 +00:00
Jean-Philippe Lang bf18ee107d Moved the project name after the item in the html title (#9593).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:43:11 +00:00
Jean-Philippe Lang 12d05431c2 Adds a way to filter issues with or without start date (#9607).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:25:36 +00:00
Jean-Philippe Lang 9ac86d4f4e Wiki links for news and forums (#9600).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:16:23 +00:00
Etienne Massip 548e27c343 Fixed wiki page version in annotated page (#9597).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 22:24:50 +00:00
Etienne Massip 872f631396 Remove reference to deleted method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 21:29:50 +00:00
Jean-Philippe Lang b3b2eb3e50 Fixes section edit links when text includes pre/code tag (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 18:22:41 +00:00
Jean-Philippe Lang 1e8a9da131 Handle the case of a text formatter that doesn't support section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang 2770e28535 Do not show section edit links for wiki page history (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:31:17 +00:00
Jean-Philippe Lang 6fc245327c Wiki: allows single section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA 88f8daf8b7 move repositories helper to_utf8 logic to lib/redmine/codeset_util.rb for common use (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 11:53:15 +00:00
Toshi MARUYAMA eb498a86ac fix malformed issues csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA 4a3581c748 fix malformed time entry report csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:29:18 +00:00
Toshi MARUYAMA 4b5d50e40a fix malformed time log csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:10:53 +00:00
Toshi MARUYAMA 9a93bd1484 move Changeset#to_utf8 logic to lib/redmine/codeset_util.rb for common use (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 23:04:45 +00:00
Jean-Philippe Lang f953426935 Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" (#9534).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 16:30:35 +00:00
Jean-Philippe Lang b170a40ed4 Adds a method to clear the settings cache.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 15:20:31 +00:00
Toshi MARUYAMA 3511292a17 Ruby 1.9: add "encoding: utf-8" header at application_helper.rb
Following error raises in case that time log has non ASCII comments.

<pre>
ActionView::TemplateError (incompatible character encodings: UTF-8 and ASCII-8BIT)
 on line #5 of app/views/timelog/index.html.erb:
3: </div>
4:
5: <%= render_timelog_breadcrumb %>
6:
7: <h2><%= l(:label_spent_time) %></h2>

    app/helpers/application_helper.rb:407:in `join'
    app/helpers/application_helper.rb:407:in `breadcrumb'
    app/helpers/timelog_helper.rb:32:in `render_timelog_breadcrumb'
    app/views/timelog/index.html.erb:5
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 13:56:20 +00:00
Jean-Philippe Lang 3da92d7da7 Fixed: copied private queries not visible after project copy (#9520).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 17:33:02 +00:00
Jean-Philippe Lang 981a6223e4 Custom date field accepts invalid dates (#9394).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 13:22:57 +00:00
Jean-Philippe Lang 5b37920cce Fixed: Custom 'version' field don't show shared versions (#8615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:32:21 +00:00
Jean-Philippe Lang 857cf5db38 Fixed: User with groups may not see issues assigned to him or to its groups (#9478).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:22:47 +00:00
Toshi MARUYAMA 00faf35e05 pdf: add a new feature to export wiki pdf (#401)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:49:09 +00:00
Etienne Massip 269014ced8 Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269).
Based on the patch of #2277 contributed by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 18:40:33 +00:00
Toshi MARUYAMA 4ae7f82f3a do not annotate text files which exceed the size limit for viewing (#9484)
Contributed by Antonio García-Domínguez.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 03:47:03 +00:00
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 9e238171ca scm: model: mercurial: set revision graph support true (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:12:47 +00:00
Toshi MARUYAMA 57afa111a9 scm: model: git: set revision graph support true (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:12:24 +00:00
Toshi MARUYAMA 15795c4385 scm: model: add method to switch revision graph support or not and set default false (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:12:01 +00:00
Toshi MARUYAMA e33ce24849 scm: controller: include parents in changesets (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:11:38 +00:00
Toshi MARUYAMA d10102e940 scm: mercurial: model: save parent/child relation for changesets (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:03:16 +00:00
Toshi MARUYAMA f63dc936ad scm: git: model: save parent/child relation for changesets (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:02:22 +00:00
Toshi MARUYAMA ef1223dd3a scm: db: model: add parent/child relation for changesets (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:01:41 +00:00
Toshi MARUYAMA 23fe2be246 fix typos (#9499, #9489)
Contributed by Igor Zubkov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-31 09:55:52 +00:00
Toshi MARUYAMA 86ba8491a5 [#9489] use class instead of redundant id for label "no-css"
Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-30 00:27:33 +00:00
Etienne Massip 1032210edd Don't escape already parsed wiki link title (#9471).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 11:45:59 +00:00
Toshi MARUYAMA 7fab60cdd2 [#9489] corrected labels and translations for reassign forms
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:24:11 +00:00
Toshi MARUYAMA 62f87e3091 [#9489] made labels visible as this is an accessibility issue even for sighted users
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:23:47 +00:00
Toshi MARUYAMA c6870edd55 [#9489] added invisible label
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:23:23 +00:00
Toshi MARUYAMA 23cf476891 [#9489] added invisible label
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:22:56 +00:00
Toshi MARUYAMA 26313afd5a [#9489] added invisible label for mail notification, linked label where possible
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:22:31 +00:00
Toshi MARUYAMA b8637aaf76 [#9489] linked labels to their elements
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:22:02 +00:00
Toshi MARUYAMA 53d05e641a [#9489] linked label to its element
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:21:21 +00:00
Toshi MARUYAMA 8ea09238da [#9489] set ids, created invisible labels and linked them
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:20:55 +00:00
Toshi MARUYAMA 21d74ecead [#9489] linked labels to their element
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:20:28 +00:00
Toshi MARUYAMA 320829ad5a [#9489] link label to element
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:20:00 +00:00
Toshi MARUYAMA d1a59a2a7d [#9489] linked label to its element
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:19:18 +00:00
Toshi MARUYAMA f108ff95dc [#9489] linked labels to their elements
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:18:46 +00:00
Toshi MARUYAMA 52f2879559 [#9489] added invisible labels for reassign select-tag on destroy views
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:18:10 +00:00
Toshi MARUYAMA fb0c6d433f [#9489] set unique id for each checkbox and linked it
added "no-css" class to overwrite the current label style

Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:17:30 +00:00
Toshi MARUYAMA e76e7fd6ea [#9489] set id for message_subject and linked it to label, added invisible label
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:16:48 +00:00
Toshi MARUYAMA 2446d5b83c [#9489] link label to element
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:16:11 +00:00
Toshi MARUYAMA 6505bf80e5 [#9489] link label to element
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:15:37 +00:00
Toshi MARUYAMA f8c9efdb31 [#9489] linked labels to their elements
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:14:47 +00:00
Toshi MARUYAMA fc54fac556 [#9489] added invisible labels for queries
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:14:10 +00:00
Toshi MARUYAMA f8fa9b767d [#9489] added invisible search label
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:13:38 +00:00
Toshi MARUYAMA 303ce0ae53 [#9489] added invisible project scope label
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:13:06 +00:00
Toshi MARUYAMA 370de46974 scm: git: fix typo of comments about fetching revisions (#9472)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-27 01:31:56 +00:00
Toshi MARUYAMA 01d3af65b3 scm: git: recovery and improve comments of fetching from 1.1 about harmful influence that git does not have the revision number (#9472)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-27 00:35:43 +00:00
Etienne Massip ad9e486077 Make queries resources fully conform to common behavior (removed additonal routes) (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 18:00:56 +00:00
Etienne Massip a47979bcc2 Reverted removal of project assignment to query (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 17:00:16 +00:00
Toshi MARUYAMA 856b777362 show avatars on the news list (#9470)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 23:43:27 +00:00
Toshi MARUYAMA 8dc7f1d1ee scm: git: return saved revision at model "save_revision" (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 14:58:03 +00:00
Toshi MARUYAMA 55c98d4297 scm: git: use to_s for branches at model (#5501)
"scm.branches" will extend to have the revision for the branch.
no "to_s" will have a problem.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 14:57:34 +00:00
Etienne Massip 8f96f0c40d Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Toshi MARUYAMA 657fcd97aa add newline at end of app/views/journals/index.builder
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 11:43:12 +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 4eed0dca15 Reverted r7628.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 21:19:58 +00:00
Etienne Massip 33f65c5a48 Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 17:51:21 +00:00
Etienne Massip a118c4ccb0 Fixed shot filter expression parsing depending upon field operators (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-12 23:45:47 +00:00
Toshi MARUYAMA 1f4ff3687c Rails3: controller: repositories: use to_s for revision parameter
On Rails 3.0 and Ruby 1.8.7, following error raises.

Error:
test_revision(RepositoriesControllerTest):
NoMethodError: undefined method `strip' for 1:Fixnum
    app/controllers/repositories_controller.rb:252:in `find_repository'
    test/functional/repositories_controller_test.rb:44:in `test_revision'

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-09 23:34:53 +00:00
Toshi MARUYAMA 54d553b27f Rails3: model: replace deprecated errors.add_to_base at validate_issue_relation of IssueRelation
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 23:53:49 +00:00
Toshi MARUYAMA d986a35a9b Rails3: model: replace deprecated errors.add_to_base at validate_on_create of User
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:25:20 +00:00
Toshi MARUYAMA 7183530e7a Rails3: model: replace deprecated errors.add_to_base at cannot_reply_to_locked_topic of Message
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:53 +00:00