Commit Graph

11365 Commits

Author SHA1 Message Date
Toshi MARUYAMA
c23c949d95 remove duplicated :remote key from app/views/messages/show.html.erb
Ruby 2.2 shows warning.

git-svn-id: http://svn.redmine.org/redmine/trunk@13836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-04 04:20:49 +00:00
Toshi MARUYAMA
11f2ccd42f remove duplicated :id key from app/views/timelog/report.html.erb
Ruby 2.2 shows warning.

git-svn-id: http://svn.redmine.org/redmine/trunk@13835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-04 04:20:40 +00:00
Toshi MARUYAMA
a9298224b1 fix Ruby 2.2 warning at lib/redmine/scm/adapters/cvs_adapter.rb
On ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]:

<pre>
lib/redmine/scm/adapters/cvs_adapter.rb:342:
  warning: Comparable#== will no more rescue exceptions of #<=> in the next release.
lib/redmine/scm/adapters/cvs_adapter.rb:342:
  warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison.
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-03 17:31:01 +00:00
Toshi MARUYAMA
9da6bb31c1 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
2015-01-03 16:18:31 +00:00
Toshi MARUYAMA
643e4917ca add jruby-21mode to .travis.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@13826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-03 15:56:53 +00:00
Toshi MARUYAMA
e817ea15f9 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
2015-01-03 14:59:01 +00:00
Toshi MARUYAMA
a3ea25ad34 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
2015-01-03 13:36:05 +00:00
Toshi MARUYAMA
f5cf7a5c04 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
2015-01-03 13:35:56 +00:00
Toshi MARUYAMA
f49ce92d27 revert r13762 because character encodings are broken (#12734)
git-svn-id: http://svn.redmine.org/redmine/trunk@13822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-03 13:35:45 +00:00
Toshi MARUYAMA
89bdf72d19 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
2015-01-03 12:00:40 +00:00
Toshi MARUYAMA
3cfd395a4f Swedish translation updated by Khedron Wilk (#18587)
git-svn-id: http://svn.redmine.org/redmine/trunk@13819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-03 11:05:24 +00:00
Jean-Philippe Lang
bfdd9f7c29 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
2014-12-30 11:24:00 +00:00
Jean-Philippe Lang
1699e37a0c Preload wiki page content for search results.
git-svn-id: http://svn.redmine.org/redmine/trunk@13814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 12:23:05 +00:00
Jean-Philippe Lang
a9e53531d3 Fixed duplicate content_url tag introduced in r13806 (#18707).
git-svn-id: http://svn.redmine.org/redmine/trunk@13813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 12:08:55 +00:00
Jean-Philippe Lang
88ec93ab74 Updates comments for r13811.
git-svn-id: http://svn.redmine.org/redmine/trunk@13812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 12:05:01 +00:00
Jean-Philippe Lang
14074fa4c2 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
2014-12-26 12:03:01 +00:00
Jean-Philippe Lang
3fcd683e6b Force UTF-8 encoding of language names.
git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 11:38:52 +00:00
Jean-Philippe Lang
12890945e5 Allow attachment thumbnails from REST API (#18707).
git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 11:26:24 +00:00
Toshi MARUYAMA
0e58ee44eb add Ruby 2.2 to .travis.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@13797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 05:08:09 +00:00
Jean-Philippe Lang
42e5e6146d 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
2014-12-24 12:29:49 +00:00
Jean-Philippe Lang
cc43ae099a 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
2014-12-24 12:27:45 +00:00
Jean-Philippe Lang
bfd8113046 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
2014-12-24 12:24:00 +00:00
Jean-Philippe Lang
e723081ff4 Use upload helper method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-22 14:14:36 +00:00
Jean-Philippe Lang
3fe8197d73 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
2014-12-22 13:46:31 +00:00
Jean-Philippe Lang
9b082712a0 Adds tests for creating an issue with multiple uploads.
git-svn-id: http://svn.redmine.org/redmine/trunk@13791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-22 13:41:51 +00:00
Jean-Philippe Lang
6c6ea394af 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
2014-12-22 13:41:15 +00:00
Jean-Philippe Lang
31a60c252e Set en locale in test (#18679).
git-svn-id: http://svn.redmine.org/redmine/trunk@13789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 21:24:46 +00:00
Jean-Philippe Lang
93690ee830 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
2014-12-21 21:07:13 +00:00
Jean-Philippe Lang
64763bece3 Attachment content type not set when uploading attachment (#18667).
git-svn-id: http://svn.redmine.org/redmine/trunk@13787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 21:02:38 +00:00
Jean-Philippe Lang
b8a586c475 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
2014-12-21 20:19:39 +00:00
Jean-Philippe Lang
c0800b330c 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
2014-12-21 20:15:24 +00:00
Jean-Philippe Lang
a3d4b63261 Don't overwrite headers that were already set (#14699).
git-svn-id: http://svn.redmine.org/redmine/trunk@13784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 19:46:33 +00:00
Jean-Philippe Lang
7296b569a3 Leading slash required with Rails 4.2.
git-svn-id: http://svn.redmine.org/redmine/trunk@13783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 15:05:18 +00:00
Jean-Philippe Lang
7ac9072270 Subclasses may not be loaded when running the test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 12:50:43 +00:00
Jean-Philippe Lang
2a6692248b Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 12:39:48 +00:00
Jean-Philippe Lang
e2998505b2 PermissionsAttributeCoder.load called twice when mocha expectation is set.
git-svn-id: http://svn.redmine.org/redmine/trunk@13780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 11:57:01 +00:00
Jean-Philippe Lang
8ed791d690 Use DOM assertion instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 11:48:00 +00:00
Jean-Philippe Lang
744ceaf61f 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
2014-12-20 14:41:04 +00:00
Jean-Philippe Lang
b1d2312dbf Make sure that themes are reloaded after test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 14:33:17 +00:00
Jean-Philippe Lang
c32d75a697 Rewrites assertions.
git-svn-id: http://svn.redmine.org/redmine/trunk@13776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 14:30:33 +00:00
Jean-Philippe Lang
f86d4940e1 Removed that quote in a fixture subject.
git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 14:22:50 +00:00
Jean-Philippe Lang
b35ed2ea2b Use a CustomFieldValue instead of CustomValue.
git-svn-id: http://svn.redmine.org/redmine/trunk@13774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 13:51:34 +00:00
Jean-Philippe Lang
c6e8f537bd Removes test menu item after test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 13:42:57 +00:00
Jean-Philippe Lang
49fdc5556b Set locale for error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 13:35:57 +00:00
Jean-Philippe Lang
d4915f0635 Reset current user on each test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 13:35:33 +00:00
Jean-Philippe Lang
717f491f50 Cache search result ids for faster search pagination (#18631).
git-svn-id: http://svn.redmine.org/redmine/trunk@13770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 09:33:02 +00:00
Jean-Philippe Lang
71172e2411 Moved search logic to Redmine::Search (#18631).
git-svn-id: http://svn.redmine.org/redmine/trunk@13769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 08:10:05 +00:00
Jean-Philippe Lang
c53eb532c2 Plugin migration confuses two plugins with similar names (#18685).
git-svn-id: http://svn.redmine.org/redmine/trunk@13768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 07:27:53 +00:00
Jean-Philippe Lang
30175bf85e Restore accent insensitive search with mysql (#18537).
git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-15 19:22:13 +00:00
Jean-Philippe Lang
15bb695bbb Use logger.info? (#18605).
git-svn-id: http://svn.redmine.org/redmine/trunk@13766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-14 21:53:38 +00:00