Jean-Philippe Lang
5c0078c63a
Fixed that non-GET API requests respond with 422 ( #15427 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-22 22:57:30 +00:00
Jean-Philippe Lang
0569005759
Code cleanup: unverified request no longer raises a InvalidAuthenticityToken exception.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-11 20:59:17 +00:00
Jean-Philippe Lang
71b43ea1c7
Wiki Pages REST API with version returns wrong comments ( #15235 ).
...
Patch by Yukinari TOYOTA.
git-svn-id: http://svn.redmine.org/redmine/trunk@12245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-09 07:42:54 +00:00
Jean-Philippe Lang
886284b33f
REST API: custom fields definition ( #11159 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-09-29 10:08:30 +00:00
Jean-Philippe Lang
b764e39847
Option to force a user to change his password ( #3872 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-05 17:58:33 +00:00
Toshi MARUYAMA
7ee06dfe08
gender neutral source comment at test/integration/account_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-06 01:02:21 +00:00
Toshi MARUYAMA
6db84ab0c1
remove trailing white-space from test/integration/account_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-05 22:50:29 +00:00
Jean-Philippe Lang
f9ddb562d5
Cleanup of finders with :conditions option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-12 19:13:25 +00:00
Toshi MARUYAMA
ebb73fa258
set html lang by user locale ( #14206 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-10 01:41:30 +00:00
Jean-Philippe Lang
4bd874ab46
Adds a way for a registered user to get a new action email ( #14228 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-09 10:01:56 +00:00
Toshi MARUYAMA
596366b062
upgrade mocha 0.14 and remove deprecation warning
...
<pre>
Mocha deprecation warning: Change `require 'mocha'` to `require 'mocha/setup'`.
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 12:57:11 +00:00
Jean-Philippe Lang
8f7b69f77e
Removed some shoulda context.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 08:57:27 +00:00
Jean-Philippe Lang
0d4bb7558f
Removed some shoulda context.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 08:27:53 +00:00
Jean-Baptiste Barth
ec4dbbced5
Add status to /users/:id API for admins ( #13948 ).
...
Patch by Kambiz Darabi
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-05 08:19:17 +00:00
Jean-Philippe Lang
5a3b903733
Fixed: Unable to set custom fields for versions using the REST API ( #13850 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 15:57:31 +00:00
Toshi MARUYAMA
8045ef9d3d
add missing Portuguese jQuery UI date picker ( #13584 )
...
jquery.ui.datepicker-pt.js is from
https://raw.github.com/jquery/jquery-ui/49f9b849b9c5023f13/ui/i18n/jquery.ui.datepicker-pt.js
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-25 12:12:28 +00:00
Toshi MARUYAMA
213e8facee
add test of datepicker in Simplified Chinese and Traditional Chinese ( #13579 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-25 11:46:41 +00:00
Toshi MARUYAMA
8cbd91214d
code layout cleanup test/integration/account_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-20 06:02:48 +00:00
Jean-Philippe Lang
a010372458
Fixed that autologin cookie is not deleted when using custom cookie name ( #13335 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:30:57 +00:00
Jean-Philippe Lang
08ef201cec
Fixed that autologin is broken when using a custom cookie name ( #13335 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:28:21 +00:00
Jean-Philippe Lang
80807a8c49
Add user's API key to /users/current.format ( #8529 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 16:32:30 +00:00
Jean-Philippe Lang
aca31973c2
Fixed that delete watcher link was broken by r11290 ( #13231 ).
...
Deleting a watcher now use DELETE /watchers instead of POST /watchers/destroy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:43:28 +00:00
Jean-Philippe Lang
504116bfca
Add login to /users/:id API for current user ( #13155 ).
...
Patch by Jérôme Bataille.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 17:24:54 +00:00
Jean-Philippe Lang
7799788b3d
Fixed that updating the issue form was broken by r4011 when user is not allowed to add issues ( #13188 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 11:35:18 +00:00
Jean-Philippe Lang
dbe7d6fbfb
Removed unused fixtures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-11 20:14:26 +00:00
Jean-Philippe Lang
deffd81ada
Use POST/DELETE to watch/unwatch an item.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-10 16:10:53 +00:00
Jean-Philippe Lang
a0158eff96
Add/remove issue watchers via the REST API ( #6727 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-30 20:51:21 +00:00
Jean-Philippe Lang
f2fd78f7b8
Use POST instead of GET for logging out ( #13022 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-30 17:34:48 +00:00
Jean-Philippe Lang
9f127793be
Make JSONP support optional and disabled by default ( #12992 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-26 18:37:09 +00:00
Jean-Philippe Lang
5397216190
Adds missing copyright.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-22 18:27:27 +00:00
Jean-Philippe Lang
55a994cb29
Adds a subclass of ActionDispatch::IntegrationTest for API tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-22 18:26:04 +00:00
Jean-Philippe Lang
1257f1960f
Adds pagination to users list when adding project or group members ( #9549 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-18 17:57:16 +00:00
Jean-Philippe Lang
17e8664b61
Attachment name is added in the generated link.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 23:07:26 +00:00
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 ( #12788 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00
Jean-Philippe Lang
44ceb513ed
Plugins cannot route wiki page sub-path ( #12749 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-11 17:42:31 +00:00
Jean-Philippe Lang
fc19b180c8
Fixed that previews are broken by r10957 ( #12642 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-06 13:26:25 +00:00
Jean-Philippe Lang
7b8ebb7e3f
Auto-populate fields while creating a new user with LDAP ( #10286 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-26 11:23:53 +00:00
Jean-Philippe Lang
ef25210aca
Merged ajax_upload branch ( #3957 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-10 20:09:41 +00:00
Jean-Philippe Lang
ea296a109a
Replaces find(:first/:all) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 21:30:10 +00:00
Jean-Philippe Lang
31c33f462d
Replaces find(:first) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 18:21:32 +00:00
Jean-Philippe Lang
e43448f6ca
Use 8+ characters long passwords in tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-27 21:52:38 +00:00
Jean-Baptiste Barth
7f3cc6e38b
Fixed some more test/integration/*_test.rb breaking when run alone ( #12285 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-01 22:47:59 +00:00
Jean-Philippe Lang
beb2610650
REST API for deleting wiki pages ( #7082 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-28 20:17:38 +00:00
Jean-Philippe Lang
a679d19709
Adds last edit comments on the wiki page ( #7082 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 21:17:46 +00:00
Jean-Philippe Lang
03062394fc
Adds ?include=attachments option when retrieving a wiki page with the REST API ( #7082 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 20:44:37 +00:00
Jean-Philippe Lang
eff874b29a
REST API for creating/updating wiki pages ( #7082 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 20:38:29 +00:00
Jean-Philippe Lang
9e31308720
REST API for retrieving wiki pages ( #7082 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 19:44:04 +00:00
Toshi MARUYAMA
2beae77c58
backout r10707 ( #12196 )
...
fix "Page not found" on OK button in SCM "View all revisions" page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-24 09:23:59 +00:00
Toshi MARUYAMA
440232a54d
fix "Page not found" on OK button in SCM "View all revisions" page ( #12196 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-24 07:59:16 +00:00
Jean-Philippe Lang
6cccdce06e
Ability to delete a version from a wiki page history ( #10852 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-23 18:45:14 +00:00