summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixes tests after fixtures changes.Jean-Philippe Lang2010-12-121-5/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4507 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor and add tests for News #index API (#7072).Jean-Philippe Lang2010-12-123-0/+107
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4505 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure there's no nil result in auto_complete.Jean-Philippe Lang2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4503 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Autocomplete issue relations on subject (#3170).Jean-Philippe Lang2010-12-121-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4502 e93f8b46-1217-0410-a6f0-8f06a7374b81
* UsersController tests cleanup.Jean-Philippe Lang2010-12-121-49/+33
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4501 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes password sending when creating user.Jean-Philippe Lang2010-12-121-1/+35
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4500 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extracts user groups assignment from controller.Jean-Philippe Lang2010-12-122-4/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4499 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes test according to r4493.Jean-Philippe Lang2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves mail_notification param to user hash param so that it can be set using ↵Jean-Philippe Lang2010-12-122-6/+7
| | | | | | the User API. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4496 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Validates user's mail_notification and turn options into strings (the ↵Jean-Philippe Lang2010-12-121-16/+17
| | | | | | attribute type). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4494 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves password param to user hash param so that it can be set using the User ↵Jean-Philippe Lang2010-12-122-7/+13
| | | | | | API. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Declare safe attributes for User and Projects models.Jean-Philippe Lang2010-12-121-6/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4492 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes issue safe_attributes extensible (#6000).Jean-Philippe Lang2010-12-121-0/+87
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4491 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes Changeset#text_tag for numeric scmid (#6681).Jean-Philippe Lang2010-12-111-3/+7
| | | | | | Contributed by Toshi MARUYAMA. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4490 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restores object count and adds offset/limit attributes to API responses for ↵Jean-Philippe Lang2010-12-111-2/+52
| | | | | | paginated collections (#6140). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4489 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes duplicate custom_values fixture that caused failure with Postgresql.Jean-Philippe Lang2010-12-112-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes some attributes optional in API response to get faster/lightweight ↵Jean-Philippe Lang2010-12-111-3/+3
| | | | | | | | responses. These attributes are not required for common uses case (eg. updating an object). They can be requested in the reponse using the 'include' parameter. Example GET /issues/1.xml?include=journals. The list of attributes that can be included in responses will be documented in the wiki. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4486 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes unsafe assertion that may cause failures.Jean-Philippe Lang2010-12-101-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4485 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes the representation of journal details in issue API.Jean-Philippe Lang2010-12-101-0/+34
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4483 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a fixture with valid attributes (start_date < due_date).Jean-Philippe Lang2010-12-101-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for updating custom fields using the received custom_fields array ↵Jean-Philippe Lang2010-12-102-1/+18
| | | | | | (#6345, #6403). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4481 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: error when serializing back objects with custom fields using ↵Jean-Philippe Lang2010-12-101-0/+26
| | | | | | ActiveResource (#6403). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4480 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tests for wiki edit notifications (#7024).Jean-Philippe Lang2010-12-071-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4479 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Select projects with issue_tracking module for gantt display and remove the ↵Jean-Philippe Lang2010-12-071-16/+0
| | | | | | nil start/due dates trick. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4477 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Automatic spent time logging from commit messages (#4155).Jean-Philippe Lang2010-12-052-1/+82
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4470 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: class attribute with spaces on pre tags truncated (#7033).Jean-Philippe Lang2010-12-051-0/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4468 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Safer code in IssueRelation (#7018).Jean-Philippe Lang2010-12-041-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds subtasks to GET /issues/:id API (#5338).Jean-Philippe Lang2010-12-041-0/+54
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4465 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes unhandled case in json builder.Jean-Philippe Lang2010-12-041-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes unhandled case in json builder.Jean-Philippe Lang2010-12-041-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds REST API for TimeEntries (#6823).Jean-Philippe Lang2010-12-041-0/+134
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4461 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves project attributes default assignments from ProjectsController#new to ↵Jean-Philippe Lang2010-12-032-0/+31
| | | | | | the model (#6064). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4460 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevents random failure in XmlTest.Jean-Philippe Lang2010-12-031-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4459 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converts IssuesController to use the new API template system and makes ↵Jean-Philippe Lang2010-12-032-3/+12
| | | | | | xml/json responses consistent (#6136). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Projects API tests rewriting.Jean-Philippe Lang2010-12-031-79/+161
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds xml/json REST API for Users (#6260).Jean-Philippe Lang2010-12-031-0/+256
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4453 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a builder-like template system for rendering xml and json API responses.Jean-Philippe Lang2010-12-032-0/+108
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4452 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept key auth for ProjectsController#show (#6841).Jean-Philippe Lang2010-11-271-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4444 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept key auth for ProjectsController#destroy (#6841).Jean-Philippe Lang2010-11-271-8/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept key auth for ProjectsController#update (#6841).Jean-Philippe Lang2010-11-271-10/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4442 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept key auth for ProjectsController#create (#6841).Jean-Philippe Lang2010-11-271-14/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4441 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reload themes so that new themes can be used without restarting Redmine (#5712).Jean-Philippe Lang2010-11-271-0/+59
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4432 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: messages attachments/watchers are not deleted when deleting a project ↵Jean-Philippe Lang2010-11-272-3/+20
| | | | | | or forum (#6966). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4431 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Wiki#find_page should not be case sensitive because page title ↵Jean-Philippe Lang2010-11-272-1/+11
| | | | | | uniqueness is not (#6987). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4430 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Missing template wiki/update.erb error introduced in r4272 (#6987).Jean-Philippe Lang2010-11-272-1/+47
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: new gantt chart discloses all private projects names (#6276).Jean-Philippe Lang2010-11-211-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4425 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: r4417 breaks MercurialAdapter with ruby 1.8.6 (#5117).Jean-Philippe Lang2010-11-211-5/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4422 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: MercurialAdapter.client_version depends on LANG environment variable ↵Jean-Philippe Lang2010-11-201-5/+6
| | | | | | (#5117). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4417 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add assertions for #6929 in MailHandler tests.Jean-Philippe Lang2010-11-201-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4416 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: submitting a non numerical parent task input creates a 500 error (#6932).Jean-Philippe Lang2010-11-201-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4414 e93f8b46-1217-0410-a6f0-8f06a7374b81