Commit Graph

8834 Commits

Author SHA1 Message Date
Jean-Philippe Lang 5328c4adcb Anonymous users should always see public issues only (#11872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-20 19:26:58 +00:00
Jean-Philippe Lang 30b3e796ff New relation form Cancel link is broken with Chrome 21 (#11036).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-20 16:59:37 +00:00
Toshi MARUYAMA c1b71e84c6 Traditional Chinese translation updated by ChunChang Lo (#11897)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-20 10:48:47 +00:00
Jean-Philippe Lang 59d8ae61ef Anonymous users should not see private issues with anonymous author (#11872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 21:48:33 +00:00
Jean-Philippe Lang fa2fe3e1e8 Slight changes to diff/file/annotate styles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 18:32:34 +00:00
Toshi MARUYAMA cb01d87ddd set svn:eol-style native to test/fixtures/files/hg-export.diff (#11868)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 03:08:07 +00:00
Toshi MARUYAMA 37351ddecc remove empty setup method from test/unit/lib/redmine/unified_diff_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 03:02:17 +00:00
Toshi MARUYAMA 551c024b45 add functional attachment test of mercurial export file (#11868)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 03:02:03 +00:00
Toshi MARUYAMA f18edc4e1c use git diff format for all diff (#11868)
Mercurial diff uses git format.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 02:29:11 +00:00
Toshi MARUYAMA 0af04b8ae0 use radio buttons instead of a select at attachment as same as r10426 repository
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 23:48:52 +00:00
Jean-Philippe Lang 3586e44c1d Use radio buttons instead of a select.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 20:51:31 +00:00
Jean-Philippe Lang d277d14432 Remove trailing (revision nn) from filenames in subversion diffs.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 19:44:08 +00:00
Jean-Philippe Lang 12de6a177a Fixed that git diff displays deleted files as /dev/null (#11868).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 19:32:58 +00:00
Toshi MARUYAMA 74f7fc38f0 scm: bazaar: add more comment to non ASCII path tests at unit model test (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 10:10:55 +00:00
Toshi MARUYAMA 1f58b94bd8 scm: bazaar: do not call super initialize method at adapter (#11834)
On Bazaar 2.0.5, in case of using non ASCII *repository* path,
following trace raise on all operation.

<pre>
Traceback (most recent call last):
  File "/usr/bin/bzr", line 142, in <module>
    exit_val = bzrlib.commands.main()
  File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1102, in main
    argv = osutils.get_unicode_argv()
  File "/usr/lib/python2.6/site-packages/bzrlib/osutils.py", line 90, in get_unicode_argv
    "encoding." % a))
bzrlib.errors.BzrError:
 Parameter ''/somewhere/\xe3\x83\x90\xe3\x82\xb6\xe3\x83\xbc/non_ascii/''
 is unsupported by the current encoding.
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 10:10:29 +00:00
Toshi MARUYAMA 1fcd3d956f scm: bazaar: add non ASCII path test to unit model test (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 09:30:35 +00:00
Toshi MARUYAMA f9208d7c5c scm: bazaar: use log encoding as path encoding (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10420 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 09:30:11 +00:00
Toshi MARUYAMA cbe28d75d0 fix deprecation warning of the format in the template name
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 03:15:00 +00:00
Toshi MARUYAMA a701bd5fbd scm: bazaar: convert path encoding from @path_encoding to UTF-8 at adapter entries method (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 23:46:53 +00:00
Toshi MARUYAMA a3ae06921d scm: bazaar: convert path encoding from @path_encoding to UTF-8 at adapter revisions method (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 23:46:27 +00:00
Toshi MARUYAMA a6368733ad scm: bazaar: convert command line character encoding to @path_encoding (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 23:45:59 +00:00
Toshi MARUYAMA f230ffbd54 scm: bazaar: add @path_encoding instance value and set it UTF-8 at adapter initialize method (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 23:45:31 +00:00
Toshi MARUYAMA 51e6c7589e scm: bazaar: update test repository (#11834)
Add new "non_ascii" branch.
It was created by "bzr branch --no-tree branch00 non_ascii".
It is equivalent to Git bare repository and Mercurial "hg update null".
It has non ASCII path name files and directory.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 22:49:31 +00:00
Jean-Philippe Lang 581058f663 Fixed: load_default_data task fails to print the error message if one occurs (#11844).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 18:38:54 +00:00
Jean-Philippe Lang 187d5db6b4 Fixed #onthefly_creation_failed broken by r9940 (#11850).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 18:31:20 +00:00
Toshi MARUYAMA 01e2472c92 scm: bazaar: add entry test to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 10:41:59 +00:00
Toshi MARUYAMA 2da70de1a7 scm: git: add entry test to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 10:41:33 +00:00
Toshi MARUYAMA dd89ce4594 scm: bazaar: code layout cleanup adapter revisions method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 07:58:31 +00:00
Toshi MARUYAMA 55748b6fc0 scm: bazaar: add revisions test to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 07:58:05 +00:00
Jean-Philippe Lang e05e9179fd Added a test for JSON upload.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 19:14:44 +00:00
Jean-Philippe Lang f825167003 Removed test contexts.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 19:11:59 +00:00
Jean-Philippe Lang 57c38a33e5 Adds assertions on the confirmation form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:39:11 +00:00
Jean-Philippe Lang b81a578eb6 Adjust tests for new fixture.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:36:05 +00:00
Jean-Philippe Lang 8593e34722 Adds missing WikiContent fixture.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:31:59 +00:00
Jean-Philippe Lang 34b64d646f Updates macro description (#10789).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:27:21 +00:00
Jean-Philippe Lang 747e4ecd3a Adds a "depth" option to the child_pages macro (#10789).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:24:35 +00:00
Jean-Philippe Lang ca4f2c59b6 Attachments should be available to the text formatter when previewing an existing news.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:18:43 +00:00
Toshi MARUYAMA 2058c66d73 scm: bazaar: remove unused scm.revisions ":with_paths => true" option from fetch_changesets method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:15:07 +00:00
Toshi MARUYAMA 53e2eb1867 scm: bazaar: add asserting entries root path at unit model test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:14:52 +00:00
Jean-Philippe Lang a81da3491e Do not consider that versions that are due today are completed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:09:41 +00:00
Jean-Philippe Lang ff0989a702 Accept float in inline styles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 13:54:04 +00:00
Jean-Philippe Lang 49d93a5cab Updates for 2.0.4 and 2.1.0 releases.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 12:42:48 +00:00
Toshi MARUYAMA 17db2dca3d scm: mercurial: add test of diff from new to old revision to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 08:51:19 +00:00
Toshi MARUYAMA 3cd15102c6 scm: bazaar: add diff test to unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 08:50:55 +00:00
Toshi MARUYAMA dd5844b86c scm: bazaar: separate constant repository path to repository and trunk branch at unit model test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 06:13:23 +00:00
Toshi MARUYAMA ee0fc2e1d5 scm: bazaar: do not use file:// for repository path at unit app test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 04:12:42 +00:00
Toshi MARUYAMA 4a7e148aff scm: bazaar: add asserting entries subdirectory path at unit app test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 00:22:25 +00:00
Toshi MARUYAMA c2b12d853f scm: git: remove unnecessary encoding header from unit adapter test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-15 15:42:14 +00:00
Toshi MARUYAMA 67cdaabe6f scm: git: change test author encoding in unit adapter test to ASCII-8BIT
Author encoding in adapter is ASCII-8BIT.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-15 15:41:47 +00:00
Toshi MARUYAMA 72af2730ff remove unused "require 'redmine/codeset_util'" from RepositoriesHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-15 15:40:58 +00:00