Commit Graph

2871 Commits

Author SHA1 Message Date
Jean-Philippe Lang 62c83bdd2e Adds a 'Add subprojects' permission.
* 'Add project' permission will let user create a root project
* 'Add subprojects' permission will let project members create subprojects

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-24 16:18:15 +00:00
Jean-Philippe Lang 24fde6f109 Hide "Groups" tab on user form if no group exist.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-24 16:14:15 +00:00
Jean-Philippe Lang 6ea202f808 Translation updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-24 13:58:15 +00:00
Jean-Philippe Lang 2a19efaf05 Rails 2.3.5 deprecation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 20:55:42 +00:00
Jean-Philippe Lang 962827c793 Upgrade to Rails 2.3.5
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 20:54:32 +00:00
Jean-Philippe Lang e4d06246cd Set version to 0.9.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 20:47:10 +00:00
Jean-Philippe Lang d63784569f Force TimeEntry#hours default to nil (#3075, #4449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 20:05:46 +00:00
Jean-Philippe Lang 5e1dc78d75 Fixed: wiki pages in search results are referenced by project number, not by project identifier (#4456).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 20:01:28 +00:00
Jean-Philippe Lang 32bb0226e7 Remove invalid escaping in version field (#4460).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 19:58:41 +00:00
Jean-Philippe Lang 0704ac9444 Fixes delimiters regexp.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 19:52:48 +00:00
Jean-Philippe Lang 569d13b7f5 Translation updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 19:35:24 +00:00
Jean-Philippe Lang c4b01e5c13 Adds Indonesian translation by Raden Prabowo (#4399).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:56:03 +00:00
Jean-Philippe Lang a54fa93b2e Adds a setting to remove incoming emails body after a delimiter (#4409).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:35:19 +00:00
Jean-Philippe Lang e26eeef837 Display API key in the sidebar, just below the API key heading.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:13:24 +00:00
Jean-Philippe Lang d404d2f586 Do not display API key if API is disabled.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:08:39 +00:00
Jean-Philippe Lang 682829a904 Fills translations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 18:03:40 +00:00
Jean-Philippe Lang ff36245f3e Move API setting to Authentication tab and add translations strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 17:56:39 +00:00
Jean-Philippe Lang edab0f0cbb Do not mass create API keys for existing users.
They will be created on the fly if needed, just like for new users.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 17:49:32 +00:00
Eric Davis bfcd5039f2 Added an Admin setting to enable/disable the REST web service. (#3920)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 06:27:44 +00:00
Eric Davis e07e9d8bfe Added support for HTTP Basic access to the API. (#3920)
A user can authenticate using either their:

* username/password
* api-key/random

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 06:27:38 +00:00
Eric Davis baa1ad4256 Allow authenticating with an API token via XML or JSON. (#3920)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 06:27:33 +00:00
Eric Davis aa9951b38b Added an API token for each User to use when making API requests. (#3920)
The API key will be displayed on My Account page with a link to reset or
generate a new one.  All existing users will have a token generated by the
migration.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 06:27:28 +00:00
Eric Davis 9f59cd64ab Added the revision title to any revision links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-22 23:23:54 +00:00
Jean-Philippe Lang ffe8222257 Redmine.pm: deny access if user doesn't have browse_repository permission (#4338).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-22 18:08:19 +00:00
Jean-Philippe Lang 18c7c0d3ee Fixes a test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-21 21:19:01 +00:00
Jean-Philippe Lang fce25d4488 Fixes test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-21 21:03:29 +00:00
Jean-Philippe Lang 3b7e7be72a Fixes odd test failures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-21 20:02:51 +00:00
Eric Davis 87e83c7285 Fixed the view_hook_helper test, it was reading all of the log files into
memory and would throw a NoMemoryError (2GB+ used).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-21 02:24:56 +00:00
Eric Davis e1013c44a3 Make sure the RSS token is getting destroyed and created.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-21 02:24:49 +00:00
Eric Davis c478fa7f90 Extract method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-21 02:24:44 +00:00
Eric Davis 0844a22b02 Refactor: Use the existing method for failing onthefly creations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 20:13:50 +00:00
Eric Davis 6be0e335fb Added an optimization note for later.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 19:13:27 +00:00
Eric Davis 1ebb78e412 Added some database indexes to commonly queried fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 19:13:22 +00:00
Eric Davis 7955e1eb9f Change the cursor for context menus. (#2924)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 18:05:53 +00:00
Jean-Philippe Lang c5976333c2 Adds a 'Create and continue' button on new user form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 10:51:33 +00:00
Jean-Philippe Lang 1099d704b5 Removes unused css classes (closes #4452).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 09:47:16 +00:00
Jean-Philippe Lang e92802508e Change MailHandler 403 error message.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 09:45:04 +00:00
Jean-Philippe Lang cf9bb2699f Adds on optional API key to repositories management controller and reposman.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-20 09:44:28 +00:00
Jean-Philippe Lang 4398386c48 Admin info cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 20:33:24 +00:00
Jean-Philippe Lang 503d613403 Changes errors style.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 20:17:40 +00:00
Jean-Philippe Lang 6ccbcfb589 Adds helpers for setting field tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 20:07:09 +00:00
Jean-Philippe Lang b5b6a5e971 Speeds up very slow tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 20:06:32 +00:00
Jean-Philippe Lang 3285230708 Translation update (#4352).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 14:17:20 +00:00
Jean-Philippe Lang 06ca18b042 Adds a 'no_permission_check' option to the MailHandler.
Used with the 'project' option, it allows anyone to submit emails to a private inbox project (#4407).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 14:08:48 +00:00
Jean-Philippe Lang 9d120c872c Fixes block reordering on my page (#2971).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 13:32:21 +00:00
Jean-Philippe Lang 008ad85d10 Fixes an error with postgres.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 12:40:43 +00:00
Jean-Philippe Lang 03b57415d6 Avoid a ruby warning.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 12:16:45 +00:00
Jean-Philippe Lang 77aeca5d55 Fixes 'follows' relation validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 20:59:30 +00:00
Jean-Philippe Lang beb20e7c6e Adds 'follows' relation (#1432).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 20:35:16 +00:00
Jean-Philippe Lang 111950108a Issue sidebar cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 20:15:49 +00:00