Commit Graph

189 Commits

Author SHA1 Message Date
Toshi MARUYAMA 4c7ae6da39 remove trailing white-spaces from test/integration/api_test/versions_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 06:48:10 +00:00
Toshi MARUYAMA bc15b437de remove trailing white-spaces from test/integration/api_test/http_basic_login_with_api_token_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:03:58 +00:00
Toshi MARUYAMA 50f7af6b93 remove trailing white-spaces from test/integration/api_test/news_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:03:37 +00:00
Toshi MARUYAMA 1762486c23 remove trailing white-spaces from test/integration/api_test/projects_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:03:14 +00:00
Toshi MARUYAMA a53f979bc6 remove trailing white-spaces from test/integration/api_test/token_authentication_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:02:53 +00:00
Toshi MARUYAMA e2b4742ceb remove trailing white-spaces from test/integration/api_test/http_basic_login_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 08:47:04 +00:00
Toshi MARUYAMA 0cbd686a85 remove trailing white-spaces from test/integration/api_test/disabled_rest_api_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 08:46:29 +00:00
Toshi MARUYAMA 2a2cc6baf0 remove trailing white-spaces from test/integration/lib/redmine/menu_manager_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 08:45:56 +00:00
Toshi MARUYAMA a7a4da4d69 remove trailing white-spaces from test/integration/lib/redmine/themes_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 08:45:13 +00:00
Toshi MARUYAMA 28a8048749 remove trailing white-spaces from test/integration/api_test/attachments_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 08:44:31 +00:00
Toshi MARUYAMA 15bd634933 fix copyright format at test/integration/admin_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 05:48:59 +00:00
Toshi MARUYAMA f908dc5210 remove trailing white-spaces from test/integration/application_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 04:53:24 +00:00
Toshi MARUYAMA 201ad03ce1 remove trailing white-spaces from test/integration/admin_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 04:52:39 +00:00
Toshi MARUYAMA 3791487569 remove trailing white-spaces from test/integration/account_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:11:34 +00:00
Toshi MARUYAMA 4b60e577ca remove trailing white-spaces from test/integration/issues_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:10:59 +00:00
Toshi MARUYAMA db8beabfa3 remove trailing white-spaces from test/integration/routing_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:10:26 +00:00
Toshi MARUYAMA 17c87c1432 remove trailing white-spaces from test/integration/projects_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:09:56 +00:00
Toshi MARUYAMA 29c5714297 remove trailing white-spaces from test/integration/layout_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 02:09:21 +00:00
Jean-Philippe Lang 521eaa79cb Ability to load relations on /issues API (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 15:34:41 +00:00
Jean-Philippe Lang fdd5367eba Respond with errors and appropriate content type on /issues API calls with invalid query params (#8883).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:45:23 +00:00
Jean-Philippe Lang 8769eb53bc Removed a few assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 21:21:29 +00:00
Jean-Philippe Lang f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +00:00
Jean-Philippe Lang d48ea90876 Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:57:04 +00:00
Jean-Philippe Lang 42f9dc7d2c Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:47:34 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang b86a748b1d Adds REST API for versions (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:34:58 +00:00
Jean-Philippe Lang daa426167f Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:44:41 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Jean-Philippe Lang 12801ca031 Fixed: GET /time_entries.xml ignores limit/offset parameters (#8356).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 10:48:59 +00:00
Toshi MARUYAMA bc5be82683 Fix typo "attachements" in test/integration/issues_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-02 08:01:06 +00:00
Jean-Philippe Lang 063ae06b09 Gantt routes with format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:30:32 +00:00
Jean-Philippe Lang a80b909cc8 Converted issue filters to non-AJAX GET requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:34:44 +00:00
Jean-Philippe Lang 1cd6a2aa84 Adds User and Version custom field format that can be used to reference a project member or version in custom fields (#2096).
These new field formats are available for project, issue, version and time entry custom fields.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 13:44:58 +00:00
Toshi MARUYAMA 122ba564b9 Fix test/integration/api_test/users_test.rb fails due to changing en.yml (#8035, #7855).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 00:46:29 +00:00
Jean-Philippe Lang 70d765e906 Moves jstoolbar script include tags to head.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 19:56:22 +00:00
Jean-Philippe Lang e41b76b459 Fixed: Login page should not show projects link and search box if authentication is required (#3715).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 15:14:24 +00:00
Jean-Philippe Lang e9f62d1209 Enable ability for administrators to delete users (#7296).
User's personal data (eg. preferences, tokens, private queries...) are deleted, public data (eg. issues, wiki edits, attachments...) are reassigned to the anonymous user.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-16 15:23:11 +00:00
Jean-Philippe Lang 9fb770ba50 Moves enabled_module_names param to project attribute so that it can be set through the Project API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-06 20:36:31 +00:00
Jean-Philippe Lang 3b53ec20e6 Adds themes test for when Redmine is in a sub-uri.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-23 09:42:33 +00:00
Jean-Philippe Lang 523febf9c1 Support for Javascript in Themes (#2803).
If javascripts/theme.js is found in the theme directory, it will be automatically loaded on each page.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-22 21:37:07 +00:00
Jean-Philippe Lang 6d4126f17e Adds routing tests for users and xml format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-20 18:06:14 +00:00
Jean-Philippe Lang 599bc45073 Adds support for requesting information about current user using /users/current (#7141).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-20 17:45:09 +00:00
Jean-Baptiste Barth 17f86d964f Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Jean-Philippe Lang ac60fc9c1c Refactor and add tests for News #index API (#7072).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 17:00:52 +00:00
Jean-Philippe Lang 87ae744dce Fixes test according to r4493.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:43:55 +00:00
Jean-Philippe Lang 9e2d401f43 Moves mail_notification param to user hash param so that it can be set using the User API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:19:24 +00:00
Jean-Philippe Lang cde02954c8 Moves password param to user hash param so that it can be set using the User API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 13:39:55 +00:00
Jean-Philippe Lang 00d50157d3 Restores object count and adds offset/limit attributes to API responses for paginated collections (#6140).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-11 13:13:49 +00:00
Jean-Philippe Lang 5f57bceabb Makes some attributes optional in API response to get faster/lightweight 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
2010-12-11 10:19:11 +00:00
Jean-Philippe Lang ab6a93b029 Changes the representation of journal details in issue API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-10 12:22:37 +00:00