Commit Graph

237 Commits

Author SHA1 Message Date
Jean-Philippe Lang e24358bc43 Use /raw/ for url instead of ?format=raw for getting raw repository files (#1901, #4119).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-16 19:39:16 +00:00
Azamat Hackimov 2a3a6da45a Translation updates:
*pt-BR (#4223)
*ru


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-16 15:32:20 +00:00
Jean-Philippe Lang b2018dfa8a Adds a setting for new projects default modules (#1797).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-15 16:20:33 +00:00
Jean-Philippe Lang 7d57833740 Adds a 'Move and follow' button on Move/Copy view to be redirected to the created issue(s) rather than the source project issue list (#1847).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-15 14:31:19 +00:00
Eric Davis ea0bc56a65 Protect controllers from potential CSRF attacks. #4216
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 19:41:07 +00:00
Azamat Hackimov ed15b2aa14 Locales update
* pt-BR (#4214)
* ru
* zh (#4207)
* zh-TW (#4201)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 13:43:55 +00:00
Jean-Philippe Lang c31411ec00 Fixes ApplicationHelper#link_to_user
* No link to a locked user page (closes #4182)
* Translate Anonymous string

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-11 10:48:54 +00:00
Jean-Philippe Lang 8f40750ad7 Adds a link to automatically close completed versions in project settings (#1245).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-09 18:53:12 +00:00
Jean-Philippe Lang d201c54455 Adds version status to limit issue assignments (#1245).
Available version statuses are:
* open: no restriction
* locked: can not assign new issues to the version
* closed: can not assign new issues and can not reopen assigned issues

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-08 13:03:41 +00:00
Eric Davis e02caeab0f Allow a config/additional_environment.rb file to customize the Rails::Initializer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-08 02:16:42 +00:00
Jean-Philippe Lang 86a9d90f07 Fixes distance of date in words calculation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-07 09:50:16 +00:00
Jean-Philippe Lang c201581c05 Fixes test environments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-04 17:15:20 +00:00
Azamat Hackimov 03548f2d63 Locales update
* Swedish (#4161)
* Traditional Chinese (#4145)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-03 15:09:18 +00:00
Jean-Philippe Lang 5667b2b7d1 Translation updates (closes #4102, #4108, #4118).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-31 10:09:43 +00:00
Jean-Philippe Lang 92ec35e657 Unified UsersController#list and #index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-29 18:48:19 +00:00
Jean-Philippe Lang a842769c3f AccountController#show (/account/show/:id) moved to UsersController#show (/users/:id).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-29 18:37:00 +00:00
Jean-Philippe Lang 72d208cb35 Typo fixed (#4134).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-29 17:59:09 +00:00
Jean-Philippe Lang a3fcdfe391 Add translations for new permission.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-25 12:13:51 +00:00
Jean-Philippe Lang 2cec9f87ab Translation updates (closes #4054, #4060, #4075).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-24 11:22:06 +00:00
Jean-Philippe Lang e5c4cfc688 Add missing strings (rake locales:update).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-22 17:39:12 +00:00
Eric Davis 5833ba9f81 Added a Activities tab to Project Settings
* Changed Project#activities to allow getting inactive Activities also:
  * Changed the Enumeration#all named_scope to exclude project specific Activities
  * Changed the Project has_many time_entry_activities to include all by default
    and provided an #active method to filter them to active ones only
  * Split Project#activities to two methods and gave it a parameter that is used
    to determine if inactive activities are included (default is no)
* Added a reset button to delete all project specific activities.
* Added ProjectsController#reset_activities to remove the project
  specific activities
* Added a HTTP DELETE route for reset_activities
* Changed the permissions for managing project activities to have access to the
  ProjectsController#reset_activities action
* Added a way to bulk save Project specific Activities in ProjectsController
  * #save_activities will save all the changed activities, including update the
    existing records
  * Added helper methods to the controller which will be refactored later
  * Allow the same TimeEntryActivity names on different projects

  #4077

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-21 22:34:45 +00:00
Eric Davis e76d4c5c4c Added an active field track if an Enumeration is active on the frontend view.
* Changed TimelogHelper#activity_collection_for_select_options to only use
  active TimeEntryActivities.
* Changed TimelogHelper#activity_collection_for_select_options to return a blank
  option if the time_entry's current activity is inactive.

  #4077

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-21 22:34:28 +00:00
Eric Davis 50bab8b429 Mocha is needed for tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-21 03:13:24 +00:00
Eric Davis a41ba2aed7 Renamed the default "Assigned" status to "In Progress". #3605
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-20 05:06:14 +00:00
Eric Davis 35333367df Configured object_daddy to help generate test data instead of fixtures. #4004
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-18 22:25:00 +00:00
Azamat Hackimov ee9c2d3d88 pt-BR update (#4040)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-18 21:27:26 +00:00
Eric Davis 4425acafff Setup shoulda for testing. (#4005)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-17 20:37:23 +00:00
Jean-Philippe Lang 6224f7caca da locale updated (closes #3919).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-11 09:24:45 +00:00
Jean-Philippe Lang 1088c7360b el locale updated (closes #3932).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-11 09:20:57 +00:00
Jean-Philippe Lang c5d8bbeb8c translation updates (closes #4016, #4017).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-11 09:17:32 +00:00
Jean-Philippe Lang 4c42e1a08f ko locale updated (closes #3954).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-11 09:15:33 +00:00
Jean-Philippe Lang ca250c1f2e ro locale updated (closes #2900).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-11 08:33:46 +00:00
Jean-Philippe Lang 94d34887cc Change deprecated dbfile parameter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-10 14:37:47 +00:00
Jean-Philippe Lang 8ffc61f66c Completes r2856 (#3979).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-10 11:11:01 +00:00
Jean-Philippe Lang 480ccbf045 French locale update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-10 10:30:21 +00:00
Azamat Hackimov e6ac92487a Translation updates
* Japanese (#3865)
* Portuguese Brazilian (#3864)
* Russian
* Spanish (#3871)
* Traditional Chinese (#3863)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-24 15:03:23 +00:00
Jean-Philippe Lang 21e18c1eb4 Adds missing native eol properties.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-20 14:06:57 +00:00
Azamat Hackimov d3691239fa Russian update (#3859)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-09-13 17:41:36 +00:00
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