summaryrefslogtreecommitdiffstats
path: root/test/integration
Commit message (Collapse)AuthorAgeFilesLines
* Separated ReportsController#issue_report into two separate actions.Eric Davis2010-02-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3396 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved a routing test from a functional to an integration test.Eric Davis2010-02-081-0/+26
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3395 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept filters from API calls without set_filter parameter.Jean-Philippe Lang2010-01-181-0/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3335 e93f8b46-1217-0410-a6f0-8f06a7374b81
* XML REST API for Projects (#296).Jean-Philippe Lang2010-01-141-0/+134
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* XML REST API for issues that provides CRUD operations for Issues (#1214).Jean-Philippe Lang2010-01-131-0/+158
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3310 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an Admin setting to enable/disable the REST web service. (#3920)Eric Davis2009-12-234-0/+116
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3220 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added support for HTTP Basic access to the API. (#3920)Eric Davis2009-12-233-6/+171
| | | | | | | | | 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
* Allow authenticating with an API token via XML or JSON. (#3920)Eric Davis2009-12-231-0/+73
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3218 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Version sharing (#465) + optional inclusion of subprojects in the roadmap ↵Jean-Philippe Lang2009-12-061-1/+1
| | | | | | | | | | | | | | | | view (#2666). Each version of a project can be shared with: * subprojects * projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project) * projects in the project tree: root project + all its descendants (same as above) * all projects (can be set by admin users only) Notes: * when sharing a version of a private project with others projects, its name will be visible within the other projects * a project with versions used by non descendant projects can not be archived git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reset session on login/logout (#4248).Jean-Philippe Lang2009-11-211-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3080 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix 500 errors with a POST request that requires a login. #4216Eric Davis2009-11-141-0/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renames uploaded_test_file helper.Jean-Philippe Lang2009-10-101-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2909 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User groups branch merged.Jean-Philippe Lang2009-09-121-3/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reset the default language for the test, autotest was caught it staying at :noEric Davis2009-09-041-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not start user session when accessing atom feed with token-based ↵Jean-Philippe Lang2009-06-061-1/+12
| | | | | | authentication. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2779 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed Enumerations to use a Single Table InheritanceEric Davis2009-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Added migrations to change Enumerations to an STI relationship * Added TimeEntryActivity model (STI) * Added DocumentCategory model (STI) * Added IssuePriority model (STI) * Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration * Changed Enumeration to use the STI type field instead of the opt field * Changed Enumeration#opt to return the old opt values but with a deprecation warning. * Removed Enumeration::OPTIONS * Removed the dynamic named_scopes in favor of specific named_scopes. Kept for compatibility reasons. * Added Enumeration#default so each subclass can easily find it's default record. * Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default. * Added a 'all' named scope for getting all records in order by position. * Added Deprecation warnings to the old named_scopes in Enumerations. * Moved various methods off of Enumeration and onto the concrete classes * Changed the EnumerationsController to use types * Updated the Enumeration list template * Added has_many relationships to the Enumeration STI classes. * Fixes for tests. #3007 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to allow non-admin users to create projects (#1007).Jean-Philippe Lang2009-05-171-24/+0
| | | | | | | This can be enabled in permissions settings. A non-admin user who creates a project is automatically added as a project member (the first role is given, TODO: make this given role configurable). Projects can be added from the public projects list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2750 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure (#3041).Jean-Philippe Lang2009-03-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2640 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that user's last_login_on was not set when using registration with ↵Jean-Philippe Lang2009-03-151-1/+4
| | | | | | automatic activation. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2594 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: export links on the issue list lose project param after applying a ↵Jean-Philippe Lang2009-03-061-1/+38
| | | | | | filter (#2908). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2554 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: When logging in via an autologin cookie the user's last_login_on ↵Jean-Philippe Lang2009-02-251-0/+32
| | | | | | should be updated (#2820). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2524 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves project menu tests to a dedicated integration test.Jean-Philippe Lang2009-02-211-0/+69
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-214-12/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted routing and urls to follow the Rails REST convention.Eric Davis2009-01-263-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch supplied by commits from Gerrit Kaiser on Github. Existing routes will still work (backwards compatible) but any new urls will be generated using the new routing rules. Changes listed below: * made the URLs for some project tabs and project settings follow the new rails RESTful conventions of /collection/:id/subcollection/:sub_id * prettier URL for project roadmap * more nice project URLs * use GET for filtering form * prettified URLs used on issues tab * custom route for activity atom feeds * prettier repository urls * fixed broken route definition * fixed failing tests for issuecontroller that were hardcoding the url string * more RESTful routes for boards and messages * RESTful routes for wiki pages * RESTful routes for documents * moved old routes that are retained for compatibility to the bottom and grouped them together * added RESTful URIs for issues * RESTfulness for the news section * fixed route order * changed hardcoded URLs in tests * fixed badly written tests * fixed forgotten parameter in routes * changed hardcoded URLS to new scheme * changed project add url to the standard POST to collection * create new issue by POSTing to collection * changed hardcoded URLs in integrations tests * made project add form work again * restful routes for project deletion * prettier routes for project (un)archival * made routes table more readable * fixed note quoting * user routing * fixed bug * always sort by GET * Fixed: cross-project issue list should not show issues of projects for which the issue tracking module was disabled. * prettified URLs used on issues tab * urls for time log * fixed reply routing * eliminate revision query paremeter for diff and entry actions * fixed test failures with hard-coded urls * ensure ajax links always use get * refactored ajax link generation into separate method #1901 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2317 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes User.find_by_mail case-insensitive (password reminder #2322, repo ↵Jean-Philippe Lang2008-12-121-1/+1
| | | | | | users mapping). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2122 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improved on-the-fly account creation. If some attributes are missing (eg. ↵Jean-Philippe Lang2008-07-191-0/+48
| | | | | | not present in the LDAP) or are invalid, the registration form is displayed so that the user is able to fill or fix these attributes. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1678 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.1 compatibility branch.Jean-Philippe Lang2008-07-041-0/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields refactoring: most of code moved from controllers to models ↵Jean-Philippe Lang2008-06-271-2/+3
| | | | | | (using new module ActsAsCustomizable). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Log the user in after registration if account activation is not needed.Jean-Philippe Lang2008-06-091-2/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1521 e93f8b46-1217-0410-a6f0-8f06a7374b81
* File viewer for attached text files.Jean-Philippe Lang2008-06-091-0/+18
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix tests broken by r1243 (Redirect to issue page after creating a new issue).Jean-Philippe Lang2008-03-151-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1257 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an optional description to attachments.Jean-Philippe Lang2008-02-291-1/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed a bug in localization introduced by r1131 (anonymous users inherit the ↵Jean-Philippe Lang2008-02-131-0/+43
| | | | | | language of the first anonymous user). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1144 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged IssuesController #edit and #update into a single actions.Jean-Philippe Lang2008-02-091-1/+1
| | | | | | Users with 'edit issues' permission can now update any property including custom fields when adding a note or changing the status (#519, #581, #587). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1129 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added default value for custom fields. Fixed javascript on custom field form ↵Jean-Philippe Lang2008-01-201-2/+12
| | | | | | for project and user custom fields. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ProjectsController#add_issue moved to IssuesController#new.Jean-Philippe Lang2008-01-201-3/+3
| | | | | | Tracker can now be changed/selected on the new issue form. This action can be invoked without the tracker_id parameter (the first enabled tracker will be used by default). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1080 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged IssuesController change_status and add_note actions.Jean-Philippe Lang2008-01-061-1/+3
| | | | | | | The 'Change status' specific form removed and now accessible from issue/show view with no additional request (click on 'Update' to show the form). The 'Change issue status' permission is removed. To change the status, the user just needs to have either 'Edit' or 'Add note' permissions and some workflow transitions allowed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project identifier is now used in URLs (instead of project id).Jean-Philippe Lang2007-12-171-1/+1
| | | | | | URLs with a project id will still be recognized. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1007 e93f8b46-1217-0410-a6f0-8f06a7374b81
* There's now 3 account activation strategies (available in application settings):Jean-Philippe Lang2007-11-181-1/+42
| | | | | | | | * activation by email: the user receives an email containing a link to active his account * manual activation: an email is sent to administrators for account approval (default) * automatic activation: the user can log in as soon as he has registered git-svn-id: http://redmine.rubyforge.org/svn/trunk@915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf ↵Jean-Philippe Lang2007-11-051-1/+1
| | | | | | merged into IssuesController#index git-svn-id: http://redmine.rubyforge.org/svn/trunk@887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: error when posting to projects/add or users/add with no custom_fields ↵Jean-Philippe Lang2007-08-291-1/+5
| | | | | | parameter. git-svn-id: http://redmine.rubyforge.org/svn/trunk@675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-292-4/+4
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added the ability to archive projects:Jean-Philippe Lang2007-05-271-0/+44
| | | | | | | | | * Only administrators can archive/unarchive projects. * Once archived, the project is visible on the admin project listing only. It doesn't show up anywhere else in the app. Subprojects are also archived. * Archive/unarchive preserve everything on the project (issues, members, ...). * A subproject can not be unarchived if its parent project is archived. git-svn-id: http://redmine.rubyforge.org/svn/trunk@549 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved functional tests for MyControllerJean-Philippe Lang2007-04-281-43/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@487 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Initial commit for svn repository management and access control:Jean-Philippe Lang2007-04-011-1/+1
| | | | | | | * Identifier attribute added on Project model. Used as the unix group name for the project * Web services (disabled by default) and scripts for repository management on a remote svn host git-svn-id: http://redmine.rubyforge.org/svn/trunk@396 e93f8b46-1217-0410-a6f0-8f06a7374b81
* file upload test now uses ActionController::TestUploadedFileJean-Philippe Lang2007-02-181-23/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* empty tokens tableJean-Philippe Lang2007-02-021-0/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* added issues integration testsJean-Philippe Lang2006-12-261-0/+78
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@124 e93f8b46-1217-0410-a6f0-8f06a7374b81
* trunk moved from /trunk/redmine to /trunkJean-Philippe Lang2006-12-052-0/+161
git-svn-id: http://redmine.rubyforge.org/svn/trunk@67 e93f8b46-1217-0410-a6f0-8f06a7374b81