Commit Graph

249 Commits

Author SHA1 Message Date
Eric Davis 7b0cb6aba8 Upgraded to Rails 2.3.4 (#3597)
* Ran the Rails upgrade
* Upgraded to Rails Engines 2.3.2
* Added a plugin to let Engines override application views.
* Converted tests to use the new classes:
** ActionController::TestCase for functional
** ActiveSupport::TestCase for units
* Converted ActiveRecord::Error message to a string.
* ActiveRecord grouping returns an ordered hash which doesn't have #sort!
* Updated the I18n storage_units format.
* Added some default initializers from a fresh rails app
* Changed the order of check_box_tags and hidden_field_tags.  The hidden tag
  needs to appear first in Rails 2.3, otherwise it will override any value in
  the check_box_tag.
* Removed the custom handler for when the cookie store is tampered with.
  Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not
  load the data from it when it's been tampered with (e.g. no user login).
* Fixed mail layouts, 2.3 has problems with implicit multipart emails that
  use layouts.  Also removed some custom Redmine mailer code.
* Fixed a bug that occurred in tests where the "required" span tag would be
  added to the :field_status translation.  This resulted in an email string of:

    <li>Status<span class="required"> *</span><span class="required"> *</span>

  Instead of:

    <li>Status: New</li>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-13 17:14:35 +00:00
Azamat Hackimov fb349dc4ab Translation updates
* Korean (#3855)
* Russian
* Traditional Chinese (#3853)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-12 17:26:06 +00:00
Jean-Philippe Lang 8faa66f68f Adds spent time to the activity view (#3809).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-12 10:37:49 +00:00
Jean-Philippe Lang 8e3222195b Korean translation update (#3847).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-12 09:37:26 +00:00
Jean-Philippe Lang d4ed5ec30b Adds strings for user groups.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-12 08:38:02 +00:00
Jean-Philippe Lang 7707457145 User groups branch merged.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-12 08:36:46 +00:00
Azamat Hackimov 02d07d8a43 Translation update: pt-BR (#3839)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-10 14:22:44 +00:00
Azamat Hackimov d41544402c Translation updates
* Traditional Chinese (#3828)
* Swedish (#3829)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-07 11:09:43 +00:00
Azamat Hackimov edbfd09990 Changing l10n messages (fixes #3807)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-04 22:28:35 +00:00
Azamat Hackimov 925104288a Romanian translation update, adding missed diacritics (#3797)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-02 18:01:03 +00:00
Azamat Hackimov ec670f56ac Greek translation support, thanks to Vaggelis Typaldos for work (#3795)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-01 18:16:31 +00:00
Azamat Hackimov f9fe92dcb3 Translation updates:
* Swedish (#3774)
* Traditional Chinese (#3772)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-01 18:13:49 +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
Azamat Hackimov f1f65794e4 New strings for translation (fixes #2872), thanks for Enderson Maia for pointing and translation
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-21 19:43:33 +00:00
Azamat Hackimov f5517cd834 Translations updates:
* pt-BR.yml (#3752)
* ru.yml
* zh-TW.yml (#2750)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-21 19:27:20 +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
Azamat Hackimov d7d72c43c8 Translation updates
* Korean (#3650)
* Spanish (#3664)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-11 16:06:16 +00:00
Eric Davis ff0e5b019c Fixed missing translation for 'field_issue_to', the translation files ended in _id.
#3678

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-08-02 04:55:16 +00:00
Azamat Hackimov 6404945683 Russian update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-08 19:52:14 +00:00
Azamat Hackimov 03d1edaef1 Translation updates:
* Italian (#3501)
* Korean (#3552)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-08 18:42:31 +00:00
Jean-Philippe Lang ef8ef596de Fixes notice_failed_to_save_issues string in various locales (#3574).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-04 12:55:56 +00:00
Jean-Philippe Lang 9c287a0f98 DE locale update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-07-04 12:13:11 +00:00
Eric Davis 2221d68c4d Added workaround for a Ruby BigDecimal bug, CVE-2009-1904. (#3475)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-14 16:22:23 +00:00
Jean-Philippe Lang ddd14fe86b Fixes locales broken by r2781 (#3456).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-07 12:36:46 +00:00
Azamat Hackimov 43995a43a5 Translation updates (#3401, #3409, #3434, #3446)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-06-06 17:20:01 +00:00
Azamat Hackimov 2a5369e37d ru.yml translation, adding to zh.yml missed string
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-18 14:34:47 +00:00
Azamat Hackimov d1ee28758f Translation updates (#3374, #3375, # 3378, #3380, #3381)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-18 14:11:02 +00:00
Eric Davis 6bdd07275b Fixed an interpolation argument error in nl.yml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 18:10:28 +00:00
Jean-Philippe Lang 1d5479c1af Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 14:37:26 +00:00
Jean-Philippe Lang 52b5b29203 Adds a setting to choose which role is given to a non-admin user who creates a project (#1007).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 14:35:00 +00:00
Jean-Philippe Lang ce8bd16020 Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 14:04:08 +00:00
Jean-Philippe Lang 7f94e3446f Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 13:56:53 +00:00
Jean-Philippe Lang 8141110eb2 Ability to allow non-admin users to create projects (#1007).
This can be enabled in permissions settings. A non-admin user who creates a project is automatically added as a project member (the first role is given, TODO: make this given role configurable).
Projects can be added from the public projects list.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 12:59:14 +00:00
Jean-Philippe Lang 9c9dc6e814 Adds email notification on wiki changes (#413). It's disabled by default and can be enabled in application settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-17 09:55:13 +00:00
Jean-Philippe Lang fba02769f3 Removes untranslated string.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-10 11:33:02 +00:00
Eric Davis fa7bd1c71d Added the ability to copy a project in the Project Administration panel.
* Added Copy project button.
* Added Project#copy_from to duplicate a project to be modified and saved by the user
* Added a ProjectsController#copy based off the add method
** Used Project#copy_from to create a duplicate project in memory
* Implemented Project#copy to copy data for a project from another and save it.
** Members
** Project level queries
** Project custom fields
* Added a plugin hook for Project#copy.

  #1125  #1556  #886  #309

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-05-03 21:25:37 +00:00
Jean-Philippe Lang b557393252 Ticket grouping (#2679).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-26 13:09:14 +00:00
Jean-Philippe Lang 070c18746e Fixed: %0.2f is rendered as plain text in issues/destroy view (#3167).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-24 17:18:36 +00:00
Jean-Philippe Lang a7e32302a6 Adds single forum atom feed (#3181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-24 16:51:07 +00:00
Jean-Philippe Lang 31cf9be7ab Makes minimum password length configurable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-21 13:43:57 +00:00
Jean-Philippe Lang bb44430b63 Ask user what to do with child pages when deleting a parent wiki page (#3202).
3 options are available:
* move child pages as root pages
* move child pages to another parent page
* delete all descendants

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-21 12:19:56 +00:00
Azamat Hackimov 65cbd94e42 fix for he.yml (#3204), thank Orgad Shaneh for patch
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-19 21:43:46 +00:00
Azamat Hackimov df2e0dbcd7 Translation updates: ru #3067, pl #3076, sv #3124, sk #3164, cs #3166, nl #3198
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-17 18:00:27 +00:00
Jean-Philippe Lang c90878c817 Slight change to french locale.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-08 18:53:58 +00:00
Jean-Philippe Lang a4a41e05a8 Inform about minimum/maximum field lengths in error messages (#3128).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-04-07 17:50:17 +00:00
Eric Davis b4be8849c0 Added observers to watch model objects for mail delivery instead of calling Mailer.
* Added an IssueObserver to watch when Issues are created
* Added a JournalObserver to watch when Journals are created (Issue updates)
* Added a NewsObserver for News items.
* Added a DocumentObserver for Document notifications.
* Setup IssuesController#new to use the IssueObserver.
* Setup IssuesController#edit to use the IssueObserver.
* Setup IssuesController#bulk_edit to use the JournalObserver.
* Removed the Mailer call in Changeset#scan_commit_for_issue_ids, the
  JournalObserver will handle it.
* Removed Mailer calls in MailHandler in favor of the Observers.

  #2659

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-28 00:38:57 +00:00
Jean-Philippe Lang b2a6176828 Slight change to fr locale.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-25 17:44:59 +00:00
Azamat Hackimov 064ba5d8cd Romanian update (#2900)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-24 19:20:53 +00:00
Azamat Hackimov 17cc0ba44a Bosnian (Bosanski), initial commit from Ernad Husremovic (#2976)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-24 19:16:02 +00:00
Azamat Hackimov 899aee4011 Translation updates: sv, zh, zh-TW (#3022, #3025, #3028)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-24 18:58:03 +00:00
Azamat Hackimov 53a8264436 fix #3038, thanks to Konstantin Kuznetsov for reporting
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-24 18:45:24 +00:00
Azamat Hackimov 80acb00454 Fixing bug #3009, trivial updates of locales
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-22 20:33:21 +00:00
Azamat Hackimov ad34778cb1 fast translation update (#2969, #2978, #2989, #2994, #2999, #3006)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-22 20:15:10 +00:00
Jean-Philippe Lang 5fc7d097fe Fixing routes broken by r2581 (#2967, #2970).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-15 09:35:02 +00:00
Jean-Philippe Lang 7a3822448b pl update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 19:08:44 +00:00
Jean-Philippe Lang 6a9fcb23d0 Adds a lang string with arguments for date ranges (#2305).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 19:03:34 +00:00
Jean-Philippe Lang 3f52a0d3e8 sv update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 18:36:55 +00:00
Jean-Philippe Lang 57eadea091 Translations updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 18:35:19 +00:00
Jean-Philippe Lang 5eae20f3d4 zh-TW update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 18:32:36 +00:00
Jean-Philippe Lang 48e7b11065 pt-BR update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-13 18:27:51 +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 c7c8dc71f2 Ability to save "sort order" in custom queries (#2899).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-12 18:06:54 +00:00
Jean-Philippe Lang 04abeda1d7 Add doube quotes to user_name and password in email.yml.example (#2927).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-07 13:41:24 +00:00
Jean-Philippe Lang 02ecc8aa15 Fixes typo in locales (#2805).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-04 18:09:15 +00:00
Jean-Philippe Lang 0d86bbf3ad Added missing field_content translation (#2896).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-04 17:29:02 +00:00
Jean-Philippe Lang bd8ae3547e Removes double % in locales (#2891).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-04 17:13:05 +00:00
Azamat Hackimov 700df9da8e small update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-01 07:04:26 +00:00
Azamat Hackimov 71b55e54bf localization updates
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-03-01 07:03:07 +00:00
Jean-Philippe Lang 9fe6bcac74 Fixes user's activity link (#2853).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-27 12:08:52 +00:00
Jean-Philippe Lang 94cc23f103 Adds missing time format in locales (#2831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-25 09:41:58 +00:00
Jean-Philippe Lang a64b8695c8 Patch ActiveRecord::Errors#full_messages so that it contains custom values error messages.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-22 14:46:32 +00:00
Azamat Hackimov 0123f7cde0 New shiny locale config update - pt-BR (thank to Alexandre da Silva, #2802)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 19:20:49 +00:00
Jean-Philippe Lang 4596a35c0e Changes default english date/time formats.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 16:44:56 +00:00
Jean-Philippe Lang 82ea6c001d Translation update (#2798).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 16:41:31 +00:00
Jean-Philippe Lang 8cc8f5164d Adding more missing strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 16:25:38 +00:00
Jean-Philippe Lang 0624bdb6c9 Adds missing strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 16:10:51 +00:00
Jean-Philippe Lang 79c074dbe5 Fixes new setting name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 15:44:00 +00:00
Jean-Philippe Lang 66afc8c054 Adds a setting to limit the size of text attachments that can be displayed by the file viewer (default set to 512KB). Larger files are sent for download.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 15:34:11 +00:00
Jean-Philippe Lang 1511b31377 Add missing 'support' section to he and it locales.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-21 14:10:46 +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
Eric Davis 14e445c600 Fixed the bundled ruby-openid gem
* The open_id_authentication plugin will require the gem automatically so
  it doesn't need to be added to environment.rb
* Changed the version requirement on the open_id_authentication to match
  the latest stable version.  Rails config.gem looks for a directory named
  after that specific version and will not load newer versions.

  #699

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-12 01:32:50 +00:00
Eric Davis 8d53e433c5 Added a system setting for allowing OpenID logins and registrations
* Defaults to off
* Is set in the Administration panel under Authentication

  #699

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-11 19:24:28 +00:00
Eric Davis 896e64b759 Added the ability to login via OpenID.
* Refactored AccountController#login to use either
  password or openid based authentication
* Extracted AccountController#successful_authentication
  to setup a user's session cookies and redirect
* Implemented the start of AccountController#open_id_authentication
  which will check with the OpenID server and perform authentication.
* Added text field for the OpenID url to /login
* Added identity_url for OpenID to the user forms.
* Added option to login with OpenID to the register form.
* Added a root url route, which is used by the OpenID plugin

  #699

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-11 19:07:07 +00:00
Eric Davis f70be197e0 Unpacked OpenID gem. #699
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-11 19:06:37 +00:00
Jean-Philippe Lang 8cf3d7a492 Replaces the repositories management SOAP API with a simple REST API.
reposman usage is unchanged but the script now requires activeresource.
actionwebservice is now longer used and thus removed from plugins.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-10 22:03:25 +00:00
Jean-Philippe Lang ab5e07e83e Adds a setting to limit the number of revisions displayed on a repository file log (default=100).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-02-01 19:54:50 +00:00
Jean-Philippe Lang ef903ba70e Adds :async_smtp and :async_sendmail delivery methods to perform email deliveries asynchronously.
Code from http://www.datanoise.com/articles/2006/7/14/asynchronous-email-delivery.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-31 11:43:54 +00:00
Jean-Philippe Lang d590317856 Fixes other formats download links on the project issue list (project_id lost) broken r2317.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-29 11:09:46 +00:00
Jean-Philippe Lang c4af6efd25 Fixing calendar and gantt links broken by r2317.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-28 21:20:39 +00:00
Jean-Philippe Lang a4544b0b26 Fixed actions on issues (gantt, calendar, move, bulk_edit...) at global level broken by r2317.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-27 17:40:55 +00:00
Jean-Philippe Lang e1f96ca4db Replaces the obsolete robots.txt with a cached action (#2491).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-27 17:27:50 +00:00
Eric Davis 765f7abc60 Converted routing and urls to follow the Rails REST convention.
Patch supplied by commits from Gerrit Kaiser on Github.  Existing routes will
still work (backwards compatible) but any new urls will be generated using the
new routing rules.

Changes listed below:

* made the URLs for some project tabs and project settings follow the new rails RESTful conventions of /collection/:id/subcollection/:sub_id
* prettier URL for project roadmap
* more nice project URLs
* use GET for filtering form
* prettified URLs used on issues tab
* custom route for activity atom feeds
* prettier repository urls
* fixed broken route definition
* fixed failing tests for issuecontroller that were hardcoding the url string
* more RESTful routes for boards and messages
* RESTful routes for wiki pages
* RESTful routes for documents
* moved old routes that are retained for compatibility to the bottom and grouped them together
* added RESTful URIs for issues
* RESTfulness for the news section
* fixed route order
* changed hardcoded URLs in tests
* fixed badly written tests
* fixed forgotten parameter in routes
* changed hardcoded URLS to new scheme
* changed project add url to the standard POST to collection
* create new issue by POSTing to collection
* changed hardcoded URLs in integrations tests
* made project add form work again
* restful routes for project deletion
* prettier routes for project (un)archival
* made routes table more readable
* fixed note quoting
* user routing
* fixed bug
* always sort by GET
* Fixed: cross-project issue list should not show issues of projects for which the issue tracking module was disabled.
* prettified URLs used on issues tab
* urls for time log
* fixed reply routing
* eliminate revision query paremeter for diff and entry actions
* fixed test failures with hard-coded urls
* ensure ajax links always use get
* refactored ajax link generation into separate method

  #1901


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-26 01:47:51 +00:00
Jean-Philippe Lang 2644141a36 Makes the app boot with Rails 2.2.2
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-01-04 12:14:05 +00:00
Jean-Philippe Lang fec86a9ce1 Adds a setting to limit the number of diff lines that should be displayed (default to 1500).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-07 15:21:40 +00:00
Jean-Philippe Lang 657fa55118 Upgrade to Rails 2.1.2
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-12-07 09:53:27 +00:00
Eric Davis 81eee10d5b Removing the custom Redmine hook in routes in favor of Engine's hook.
* Plugins' routes.rb are now added automatically to Redmine's routing,
  including the ability to override Redmine's default routing.

  Thank you to Jean-Baptiste Barth for the suggestion.  #2142


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-08 00:12:43 +00:00
winterheart 0ecca9d8f1 D'oh...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-07 11:22:26 +00:00
winterheart c58298835d refreshing vn.yml (#2125)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-07 11:20:25 +00:00
winterheart d32b9b92cf Ooops, wrong.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-07 11:07:25 +00:00
winterheart de31cd9ef6 Intial support Vietnamese language (#2125), thanks to Kỳ Anh Huỳnh for work
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2008-11-07 10:53:09 +00:00