summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Adds some functional tests.Jean-Philippe Lang2009-03-012-2/+120
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reorder links refactoring (follows r2526).Jean-Philippe Lang2009-03-011-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2546 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds some functional tests.Jean-Philippe Lang2009-03-014-2/+108
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2545 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a failure when running rake test:coverage.Jean-Philippe Lang2009-03-011-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2543 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that some error messages were not displayed (#2866).Jean-Philippe Lang2009-03-011-0/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Undefined Method (l_YesNo) Being Called (#2867).Jean-Philippe Lang2009-03-011-0/+29
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2541 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes tests broken by r2532 (#2853).Jean-Philippe Lang2009-02-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Trackers controller refactoring.Jean-Philippe Lang2009-02-261-1/+52
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2526 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: When logging in via an autologin cookie the user's last_login_on ↵Jean-Philippe Lang2009-02-252-12/+32
| | | | | | should be updated (#2820). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2524 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing time format in locales (#2831).Jean-Philippe Lang2009-02-251-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2523 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixing Plugin and Mailer default_url_options.Eric Davis2009-02-251-1/+19
| | | | | | | | | | | | | | | Both the plugin hooks and Mailer were setting default_url_options incorrectly and causing ActionContoller::UrlWritter to cache the settings on the module (mattr_accessor) causing several url generators to fail in either the plugin hooks or the Mailer. * Replaced Mailer's use of the default_url_options accessor with the proper class method * Replaced Hook's use of the default_url_options accessor with the proper class method on the ViewListener class * Added a test to reproduce the bugs in the Mailer when a hook is registered (thanks Chaoqun Zou) #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Patch ActiveRecord::Errors#full_messages so that it contains custom values ↵Jean-Philippe Lang2009-02-221-0/+13
| | | | | | error messages. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2518 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Limit the size of repository files displayed inline too.Jean-Philippe Lang2009-02-212-0/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2505 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes new setting name.Jean-Philippe Lang2009-02-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to limit the size of text attachments that can be displayed ↵Jean-Philippe Lang2009-02-211-0/+11
| | | | | | 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
* Moves project menu tests to a dedicated integration test.Jean-Philippe Lang2009-02-212-32/+69
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes UsersControllerTest.Jean-Philippe Lang2009-02-211-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2494 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-2127-99/+172
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactored the mess known as Hook default_url_options in favor of the simplerEric Davis2009-02-211-33/+3
| | | | | | | | :only_path as suggested by splatteal on GitHub. #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2491 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Implementing the missing tests now that HookTest has a cleaner setup.Eric Davis2009-02-211-7/+21
| | | | | | | | Controller and Views are now tested through the Redmine::Hook::Helper module. #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2490 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactored the HookTest methods to use Redmine::Hook::Helper insteadEric Davis2009-02-211-7/+13
| | | | | | | | | of the Redmine::Hook class directly. Redmine::Hook::Helper is the public API so it should be one that is tested. #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2489 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds (a maximum of 3) links to project ancestors in the page title (#2788).Jean-Philippe Lang2009-02-201-0/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2485 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send an email to the user when an administrator activates a registered user ↵Jean-Philippe Lang2009-02-201-0/+16
| | | | | | (#2656). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2484 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed a bug in the OpenID login when a user signed up with OpenID but hasn'tEric Davis2009-02-201-0/+15
| | | | | | | | | | | been activated yet. When logging in the user would come back to the login page with the back_url of My Page. This was caused by open_id_authenticate sending the user to My Page and My Page redirecting the user back to the login page because they haven't been activated. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes Setting.openid? (#2764).Jean-Philippe Lang2009-02-191-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2481 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: User#identity_url raises an error when invalid url is supplied (#2742).Jean-Philippe Lang2009-02-151-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2476 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Create a wiki with a default start page named 'Wiki' when enabling wiki ↵Jean-Philippe Lang2009-02-151-0/+43
| | | | | | module (#2657). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2474 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not DELETE/INSERT enabled_modules when updating project modules.Jean-Philippe Lang2009-02-151-1/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces Enumeration.get_values and Enumeration.default with named scopes.Jean-Philippe Lang2009-02-153-15/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to ↵Jean-Philippe Lang2009-02-122-188/+201
| | | | | | enable openid support. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds ability to filter watched issues (#846).Jean-Philippe Lang2009-02-122-1/+25
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2456 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Normalize the identity_url when it's set.Eric Davis2009-02-121-0/+19
| | | | | | | | | OpenId uses a specific format for the url it uses which requires the protocol and trailing slash. This change will normalize the value to when a user sets it. #699 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2453 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added a system setting for allowing OpenID logins and registrationsEric Davis2009-02-111-0/+6
| | | | | | | | | * 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
* Prevent registration via OpenID if self registration is off. #699Eric Davis2009-02-111-1/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2448 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactored common methods out of register and open_id_authenticateEric Davis2009-02-111-3/+10
| | | | | | | | | | * Extracted register_by_email_activation * Extracted register_automatically * Extracted register_manually_by_administrator #699 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2447 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added user setup needed based on the system's registration settingsEric Davis2009-02-111-0/+23
| | | | | | | | | | | * Copied the register action's chunk of code used to setup the account based on Setting.self_registration * Extracted method for when onthefly_creation_failed * Added tests to confirm the behavior #699 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2446 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added tests for the other OpenID authentication cases. #699Eric Davis2009-02-112-4/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adding OpenID mock and test. #699Eric Davis2009-02-113-0/+60
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2444 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Hooked up on the fly OpenID user creation.Eric Davis2009-02-111-0/+7
| | | | | | | * Use OpenID registration fields for the user. * Generate a random password when a user is created. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Leave wiki links untouched if target project doesn't exist or have no wiki.Jean-Philippe Lang2009-02-101-0/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2436 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces the repositories management SOAP API with a simple REST API.Jean-Philippe Lang2009-02-102-50/+55
| | | | | | | 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
* Fixes broken action url on time edit form (#2707).Jean-Philippe Lang2009-02-101-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2434 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added request and controller objects to the hooks by default.Eric Davis2009-02-101-4/+79
| | | | | | | | | | | | | The request and controller objects are now added to all hook contexts by default. This will also make url_for work better in hooks by setting up the default_url_options :host, :port, and :protocol. Finally a new helper method @render_or@ has been added to ViewListener. This will let a hook easily render a partial without a full method definition. Thanks to Thomas Löber for the original patch. #2542 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip keywords from received email body (#2436).Jean-Philippe Lang2009-02-091-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2426 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: inline attached image should not match partial filename (#2683).Jean-Philippe Lang2009-02-051-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Closed issue are not overdue, fixes r2140 (#2337).Jean-Philippe Lang2009-02-031-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to limit the number of revisions displayed on a repository ↵Jean-Philippe Lang2009-02-011-0/+7
| | | | | | file log (default=100). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use estimated hours to weight issues in version completion calculation (#2182).Jean-Philippe Lang2009-02-011-1/+85
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2349 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: issue details view discloses relations to issues that the user is not ↵Jean-Philippe Lang2009-01-311-0/+15
| | | | | | allowed to view (#2589). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2343 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleaning test.Jean-Philippe Lang2009-01-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2337 e93f8b46-1217-0410-a6f0-8f06a7374b81