]>
source.dussan.org Git - redmine.git/log
Toshi MARUYAMA [Sat, 3 Jan 2015 16:18:31 +0000 (16:18 +0000)]
Gemfile: pin activerecord-jdbcsqlite3-adapter version 1.3.11
1.3.13 breaks test/functional/issues_controller_test.rb.
git-svn-id: http://svn.redmine.org/redmine/trunk@13829
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 3 Jan 2015 15:56:53 +0000 (15:56 +0000)]
add jruby-21mode to .travis.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@13826
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 3 Jan 2015 14:59:01 +0000 (14:59 +0000)]
Adds table reference to textile help (#12734).
Patch by Matt Wiseley.
git-svn-id: http://svn.redmine.org/redmine/trunk@13825
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 3 Jan 2015 13:36:05 +0000 (13:36 +0000)]
Japanese wiki_syntax_detailed.html translation updated by Go MAEDA (#18637)
git-svn-id: http://svn.redmine.org/redmine/trunk@13824
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 3 Jan 2015 13:35:56 +0000 (13:35 +0000)]
Wiki formatting documentation for nested lists in translated languages (#4518)
git-svn-id: http://svn.redmine.org/redmine/trunk@13823
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 3 Jan 2015 13:35:45 +0000 (13:35 +0000)]
revert r13762 because character encodings are broken (#12734)
git-svn-id: http://svn.redmine.org/redmine/trunk@13822
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 3 Jan 2015 12:00:40 +0000 (12:00 +0000)]
fix Japanese "label_sort_by" misspelling (#18671)
Contributed by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@13821
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 3 Jan 2015 11:05:24 +0000 (11:05 +0000)]
Swedish translation updated by Khedron Wilk (#18587)
git-svn-id: http://svn.redmine.org/redmine/trunk@13819
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 30 Dec 2014 11:24:00 +0000 (11:24 +0000)]
The descendant count in the issues delete confirmation message is wrong if issues share some descendants.
git-svn-id: http://svn.redmine.org/redmine/trunk@13818
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 26 Dec 2014 12:23:05 +0000 (12:23 +0000)]
Preload wiki page content for search results.
git-svn-id: http://svn.redmine.org/redmine/trunk@13814
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 26 Dec 2014 12:08:55 +0000 (12:08 +0000)]
Fixed duplicate content_url tag introduced in r13806 (#18707).
git-svn-id: http://svn.redmine.org/redmine/trunk@13813
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 26 Dec 2014 12:05:01 +0000 (12:05 +0000)]
Updates comments for r13811.
git-svn-id: http://svn.redmine.org/redmine/trunk@13812
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 26 Dec 2014 12:03:01 +0000 (12:03 +0000)]
Converts timestamps to integers in #search_result_ranks_and_ids.
git-svn-id: http://svn.redmine.org/redmine/trunk@13811
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 26 Dec 2014 11:38:52 +0000 (11:38 +0000)]
Force UTF-8 encoding of language names.
git-svn-id: http://svn.redmine.org/redmine/trunk@13807
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 26 Dec 2014 11:26:24 +0000 (11:26 +0000)]
Allow attachment thumbnails from REST API (#18707).
git-svn-id: http://svn.redmine.org/redmine/trunk@13806
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 26 Dec 2014 05:08:09 +0000 (05:08 +0000)]
add Ruby 2.2 to .travis.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@13797
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 24 Dec 2014 12:29:49 +0000 (12:29 +0000)]
Do not truncate subissue/related issues titles on the issue view (#18659).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13796
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 24 Dec 2014 12:27:45 +0000 (12:27 +0000)]
Adds News and Forum link documentation (#13497).
Patch by Matt Wiseley.
git-svn-id: http://svn.redmine.org/redmine/trunk@13795
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 24 Dec 2014 12:24:00 +0000 (12:24 +0000)]
Adds p/n access keys for previous/next links (#18692).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@13794
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 22 Dec 2014 14:14:36 +0000 (14:14 +0000)]
Use upload helper method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13793
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 22 Dec 2014 13:46:31 +0000 (13:46 +0000)]
Use raw request content in tests to make sure that XML/JSON payload is properly parsed.
git-svn-id: http://svn.redmine.org/redmine/trunk@13792
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 22 Dec 2014 13:41:51 +0000 (13:41 +0000)]
Adds tests for creating an issue with multiple uploads.
git-svn-id: http://svn.redmine.org/redmine/trunk@13791
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 22 Dec 2014 13:41:15 +0000 (13:41 +0000)]
XML parameters parser extracted to actionpack-xml_parser gem in Rails 4 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13790
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 21:24:46 +0000 (21:24 +0000)]
Set en locale in test (#18679).
git-svn-id: http://svn.redmine.org/redmine/trunk@13789
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 21:07:13 +0000 (21:07 +0000)]
Send the content type as parameter when uploading a file.
git-svn-id: http://svn.redmine.org/redmine/trunk@13788
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 21:02:38 +0000 (21:02 +0000)]
Attachment content type not set when uploading attachment (#18667).
git-svn-id: http://svn.redmine.org/redmine/trunk@13787
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 20:19:39 +0000 (20:19 +0000)]
Fixed: LabelledFormBuilder#label outputs 2 label elements (#18679).
Patch by Masato NODA.
git-svn-id: http://svn.redmine.org/redmine/trunk@13786
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 20:15:24 +0000 (20:15 +0000)]
Error when adding user to group where he is already assigned (#18665).
git-svn-id: http://svn.redmine.org/redmine/trunk@13785
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 19:46:33 +0000 (19:46 +0000)]
Don't overwrite headers that were already set (#14699).
git-svn-id: http://svn.redmine.org/redmine/trunk@13784
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 15:05:18 +0000 (15:05 +0000)]
Leading slash required with Rails 4.2.
git-svn-id: http://svn.redmine.org/redmine/trunk@13783
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 12:50:43 +0000 (12:50 +0000)]
Subclasses may not be loaded when running the test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13782
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 12:39:48 +0000 (12:39 +0000)]
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 11:57:01 +0000 (11:57 +0000)]
PermissionsAttributeCoder.load called twice when mocha expectation is set.
git-svn-id: http://svn.redmine.org/redmine/trunk@13780
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 21 Dec 2014 11:48:00 +0000 (11:48 +0000)]
Use DOM assertion instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13779
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 14:41:04 +0000 (14:41 +0000)]
Use DOM assertions as attributes order changes from a Rails version to another.
git-svn-id: http://svn.redmine.org/redmine/trunk@13778
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 14:33:17 +0000 (14:33 +0000)]
Make sure that themes are reloaded after test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13777
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 14:30:33 +0000 (14:30 +0000)]
Rewrites assertions.
git-svn-id: http://svn.redmine.org/redmine/trunk@13776
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 14:22:50 +0000 (14:22 +0000)]
Removed that quote in a fixture subject.
git-svn-id: http://svn.redmine.org/redmine/trunk@13775
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 13:51:34 +0000 (13:51 +0000)]
Use a CustomFieldValue instead of CustomValue.
git-svn-id: http://svn.redmine.org/redmine/trunk@13774
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 13:42:57 +0000 (13:42 +0000)]
Removes test menu item after test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13773
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 13:35:57 +0000 (13:35 +0000)]
Set locale for error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13772
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 13:35:33 +0000 (13:35 +0000)]
Reset current user on each test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13771
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 09:33:02 +0000 (09:33 +0000)]
Cache search result ids for faster search pagination (#18631).
git-svn-id: http://svn.redmine.org/redmine/trunk@13770
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 08:10:05 +0000 (08:10 +0000)]
Moved search logic to Redmine::Search (#18631).
git-svn-id: http://svn.redmine.org/redmine/trunk@13769
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 20 Dec 2014 07:27:53 +0000 (07:27 +0000)]
Plugin migration confuses two plugins with similar names (#18685).
git-svn-id: http://svn.redmine.org/redmine/trunk@13768
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 15 Dec 2014 19:22:13 +0000 (19:22 +0000)]
Restore accent insensitive search with mysql (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13767
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 21:53:38 +0000 (21:53 +0000)]
Use logger.info? (#18605).
git-svn-id: http://svn.redmine.org/redmine/trunk@13766
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 21:46:53 +0000 (21:46 +0000)]
Support for named route in project menu and a new :permission option (#6426).
git-svn-id: http://svn.redmine.org/redmine/trunk@13765
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 21:01:51 +0000 (21:01 +0000)]
Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13764
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 20:47:31 +0000 (20:47 +0000)]
User detail : show user login to admins (#17354).
Patch by Jérôme BATAILLE.
git-svn-id: http://svn.redmine.org/redmine/trunk@13763
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 20:34:54 +0000 (20:34 +0000)]
Adds table reference to textile help (#12734).
Patch by Matt Wiseley.
git-svn-id: http://svn.redmine.org/redmine/trunk@13762
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 16:31:11 +0000 (16:31 +0000)]
Missing test helper (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13761
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 16:30:36 +0000 (16:30 +0000)]
SQLite does not support case insensitive match for non-ASCII characters (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13760
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 14 Dec 2014 13:55:52 +0000 (13:55 +0000)]
Use custom SQL for MySQL to behave like others DBMS: case-insensitive search without ignoring accentuation (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13759
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 14 Dec 2014 04:27:43 +0000 (04:27 +0000)]
add missing fixtures to test/unit/search_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13758
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 23:11:01 +0000 (23:11 +0000)]
Mysql LIKE treats Ö and O the same (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13757
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 18:49:13 +0000 (18:49 +0000)]
Wiki formatting documentation for nested lists (#4518).
Patch by Matt Wiseley.
git-svn-id: http://svn.redmine.org/redmine/trunk@13756
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 18:40:55 +0000 (18:40 +0000)]
Removed debug stuff.
git-svn-id: http://svn.redmine.org/redmine/trunk@13755
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 18:36:35 +0000 (18:36 +0000)]
Don't use #downcase on search tokens, let the database handle it (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13754
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 18:24:10 +0000 (18:24 +0000)]
HTML improvements on project landing page (#18565).
Patch by Tobias Fischer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13753
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 18:05:05 +0000 (18:05 +0000)]
Merged datepicker.js into application.js.
git-svn-id: http://svn.redmine.org/redmine/trunk@13752
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 13 Dec 2014 17:42:18 +0000 (17:42 +0000)]
add missing fixtures to SearchControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13751
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 16:55:28 +0000 (16:55 +0000)]
Use a simple count query.
git-svn-id: http://svn.redmine.org/redmine/trunk@13750
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 13 Dec 2014 15:38:49 +0000 (15:38 +0000)]
add missing fixture to MembersHelperTest
Test fails randomly.
<pre>
1) Error:
MembersHelperTest#test_render_principals_for_new_members:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
test/object_helpers.rb:38:in `generate!'
test/unit/helpers/members_helper_test.rb:29:in `test_render_principals_for_new_members'
</pre>
It can be reproduced on clean database and following change.
<pre>
- fixtures :projects, :users, :members, :member_roles
+ fixtures :projects, :users, :members, :member_roles,
+ :trackers
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13749
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 14:47:16 +0000 (14:47 +0000)]
Don't show roles without issue add/edit permission in workflow setup (#15988).
git-svn-id: http://svn.redmine.org/redmine/trunk@13748
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 14:31:58 +0000 (14:31 +0000)]
Don't consider roles without issue add/edit permissions for determining fields permissions (#15988).
git-svn-id: http://svn.redmine.org/redmine/trunk@13747
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 14:01:56 +0000 (14:01 +0000)]
Droped legacy behaviour that allows a user to edit a few attributes of an issue without the edit_issues permission if a status transition is allowed (#15988).
Now that we can control permission on each field, this behaviour is no longer needed. The edit_issues permission is now required, which is consistent with the current requirements for bulk edition.
git-svn-id: http://svn.redmine.org/redmine/trunk@13746
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 13:24:22 +0000 (13:24 +0000)]
Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13745
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 11:09:42 +0000 (11:09 +0000)]
Use projects association.
git-svn-id: http://svn.redmine.org/redmine/trunk@13744
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 13 Dec 2014 11:02:28 +0000 (11:02 +0000)]
Try to find out what causes a ruby bus error with ruby2.x on the CI server.
git-svn-id: http://svn.redmine.org/redmine/trunk@13743
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 12 Dec 2014 21:40:25 +0000 (21:40 +0000)]
Adds a test for editing a registered user.
git-svn-id: http://svn.redmine.org/redmine/trunk@13742
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 12 Dec 2014 21:39:43 +0000 (21:39 +0000)]
Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13741
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 12 Dec 2014 21:33:28 +0000 (21:33 +0000)]
Removed unused method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13740
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 12 Dec 2014 20:49:31 +0000 (20:49 +0000)]
Rewrites search engine to properly paginate results (#18631).
Instead of counting and retrieving results based on their timestamps, we now load all result ids then load the appropriate results by their ids. This also brings a 2x performance improvement as we search tokens in one of the 2 queries only.
git-svn-id: http://svn.redmine.org/redmine/trunk@13739
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 12 Dec 2014 04:58:31 +0000 (04:58 +0000)]
ignore X-Autoreply mails (#15999, #13425)
Contributed by Karel Pičman.
git-svn-id: http://svn.redmine.org/redmine/trunk@13738
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 11 Dec 2014 21:12:06 +0000 (21:12 +0000)]
Revert r13736, test fails with mysql.
git-svn-id: http://svn.redmine.org/redmine/trunk@13737
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 11 Dec 2014 20:18:30 +0000 (20:18 +0000)]
Adds a test for search with limited results.
git-svn-id: http://svn.redmine.org/redmine/trunk@13736
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 11 Dec 2014 17:58:08 +0000 (17:58 +0000)]
Adds some helpers tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13735
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 8 Dec 2014 17:31:48 +0000 (17:31 +0000)]
Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13734
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 8 Dec 2014 17:30:47 +0000 (17:30 +0000)]
Don't create a journal when creating an issue with attachments.
git-svn-id: http://svn.redmine.org/redmine/trunk@13733
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 8 Dec 2014 17:18:28 +0000 (17:18 +0000)]
Don't create a journal when creating an issue.
git-svn-id: http://svn.redmine.org/redmine/trunk@13732
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 7 Dec 2014 21:32:14 +0000 (21:32 +0000)]
Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13731
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 7 Dec 2014 04:36:47 +0000 (04:36 +0000)]
fix ProjectNestedSetTest fails randomly
<pre>
1) Error:
ProjectNestedSetTest#test_adding_a_root_to_first_position_should_update_nested_set_order:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
test/unit/project_nested_set_test.rb:27:in `setup'
</pre>
You can reproduce with following change.
<pre>
class ProjectNestedSetTest < ActiveSupport::TestCase
+ fixtures :trackers
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13730
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 6 Dec 2014 13:57:21 +0000 (13:57 +0000)]
pdf: use DejaVuSans font in Arabic and Persian (#16040, #18586, #10681)
git-svn-id: http://svn.redmine.org/redmine/trunk@13729
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 6 Dec 2014 13:49:50 +0000 (13:49 +0000)]
German translation updated by Daniel Felix (#18563)
git-svn-id: http://svn.redmine.org/redmine/trunk@13728
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 6 Dec 2014 13:49:26 +0000 (13:49 +0000)]
German translation updated by Daniel Felix (#18562)
git-svn-id: http://svn.redmine.org/redmine/trunk@13727
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 6 Dec 2014 13:49:09 +0000 (13:49 +0000)]
Gemfile: update rbpdf version to 1.18.3 (#16040, #18586, #10681)
git-svn-id: http://svn.redmine.org/redmine/trunk@13726
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 6 Dec 2014 13:16:43 +0000 (13:16 +0000)]
Adds tests for Role#has_permissions?
git-svn-id: http://svn.redmine.org/redmine/trunk@13725
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 6 Dec 2014 13:09:48 +0000 (13:09 +0000)]
Adds a test for Watcher.prune with :project option.
git-svn-id: http://svn.redmine.org/redmine/trunk@13724
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 6 Dec 2014 11:23:05 +0000 (11:23 +0000)]
Skip some validations if attribute did not change.
git-svn-id: http://svn.redmine.org/redmine/trunk@13723
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 6 Dec 2014 11:19:54 +0000 (11:19 +0000)]
Adds a test for #18584.
git-svn-id: http://svn.redmine.org/redmine/trunk@13722
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 15:03:29 +0000 (15:03 +0000)]
Specify the order for finding a setting.
git-svn-id: http://svn.redmine.org/redmine/trunk@13721
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 15:02:29 +0000 (15:02 +0000)]
Skip uniqueness validation when updating a setting without changing its name.
git-svn-id: http://svn.redmine.org/redmine/trunk@13720
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 15:00:27 +0000 (15:00 +0000)]
Adds methods for loading and adding settings.
git-svn-id: http://svn.redmine.org/redmine/trunk@13719
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 12:38:48 +0000 (12:38 +0000)]
Adds a few functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13718
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 12:38:34 +0000 (12:38 +0000)]
Un-inline statement.
git-svn-id: http://svn.redmine.org/redmine/trunk@13717
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 12:37:00 +0000 (12:37 +0000)]
Removed dead code, Rails4 handles that in its attribute writer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13716
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 12:34:59 +0000 (12:34 +0000)]
Removed unused scopes.
git-svn-id: http://svn.redmine.org/redmine/trunk@13715
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 12:22:35 +0000 (12:22 +0000)]
Make sure that Redmine::Thumbnail.generate is called.
git-svn-id: http://svn.redmine.org/redmine/trunk@13714
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 5 Dec 2014 12:17:20 +0000 (12:17 +0000)]
Tab "New Issue" should not be displayed if a project has no trackers (#18571).
git-svn-id: http://svn.redmine.org/redmine/trunk@13713
e93f8b46 -1217-0410-a6f0-
8f06a7374b81