Commit Graph

2652 Commits

Author SHA1 Message Date
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
Jean-Philippe Lang 6bf0723d06 By default, only show statuses that are used by the tracker on the workflow edit view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 15:41:32 +00:00
Jean-Philippe Lang 6a369f28dd Display shared versions on the issue summary view (#4425).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 14:59:19 +00:00
Jean-Philippe Lang 1ba5779f94 Fixed: rubytree gem breaks db:migrate:plugins (#4394).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 14:41:37 +00:00
Jean-Philippe Lang 488c192286 Removes "xxx and return" calls (#4446).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 14:22:18 +00:00
Jean-Philippe Lang 0e4525d76c Fixes test broken by r3176 (#4439).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 14:15:26 +00:00
Jean-Philippe Lang 8e3def7129 Icons updates and cleaning.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-18 14:10:26 +00:00
Jean-Philippe Lang 6b94614c36 Added missing translation for permission_view_issues (#4415).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 20:18:43 +00:00
Jean-Philippe Lang a011e9a9bf Group icon changed on project members list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 19:58:31 +00:00
Jean-Philippe Lang 46d27f16d5 IE8 fix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 19:00:31 +00:00
Jean-Philippe Lang 91a493e2c7 Removes large icons.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 18:52:28 +00:00
Jean-Philippe Lang b8cd280bec Do not hide scroll buttons if some tabs are still hidden.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 18:23:00 +00:00
Jean-Philippe Lang 7eb9cca660 Adds auto overflow to content div.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 18:21:50 +00:00
Jean-Philippe Lang dfabadf4f7 Adds an admin layout that displays the admin menu in the sidebar.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-17 18:21:02 +00:00
Eric Davis 39b44b1cb9 Adds a Plugin API to allow one plugin to depend on another.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-16 02:07:46 +00:00
Jean-Philippe Lang 1c11d3403e Adds buttons to scroll the tabs when they overflow.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-14 20:13:29 +00:00
Azamat Hackimov 09e47a3b63 One missing string (#4380)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-14 17:44:18 +00:00
Azamat Hackimov 7e0ed924da Translation updates
* lt (#4384)
* pt-BR (#4380)
* ru
* zh-TW (#4352)


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-14 17:38:05 +00:00
Jean-Philippe Lang 0b34755eb0 Moved charset meta tag before title (#4320).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-13 14:55:17 +00:00
Jean-Philippe Lang 9a452a5c35 Make sure user can not watch what he is not allowed to view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-13 14:48:28 +00:00