summaryrefslogtreecommitdiffstats
path: root/test/unit/changeset_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* scm: remove trailing white-spaces in unit changeset test.Toshi MARUYAMA2011-05-051-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: fix invalid UTF-8 tests fail on Windows Ruby 1.8.Toshi MARUYAMA2011-05-051-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5648 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add missing fixtures when running tests from scratch in unit changeset ↵Toshi MARUYAMA2011-04-221-3/+7
| | | | | | test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5512 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add unit test of preventing PostgreSQL or Ruby 1.9 errors if paths is ↵Toshi MARUYAMA2011-04-161-0/+29
| | | | | | invalid UTF-8. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5476 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: code clean up unit changeset test.Toshi MARUYAMA2011-04-161-138/+142
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add test of empty committer at unit changeset test.Toshi MARUYAMA2011-04-151-4/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add test of committer nil at unit changeset test.Toshi MARUYAMA2011-04-151-4/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5471 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add test of invalid utf8 sequences in committer at unit changeset test.Toshi MARUYAMA2011-04-151-3/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5470 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: replace invalid utf-8 sequences in comments instead of stripping on ↵Toshi MARUYAMA2011-04-091-19/+13
| | | | | | Ruby 1.8. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5373 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: fix log converting error in Ruby 1.9 and add more tests.Toshi MARUYAMA2011-04-091-0/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: more strict log converting test in Ruby 1.9.Toshi MARUYAMA2011-04-091-3/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: set empty log encoding UTF-8 in Ruby 1.9 and add tests.Toshi MARUYAMA2011-04-091-0/+36
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: not use Iconv for log converting in Ruby 1.9 and fix tests fails in ↵Toshi MARUYAMA2011-04-091-2/+2
| | | | | | Ruby 1.9. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5367 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: code clean up test/unit/changeset_test.rb.Toshi MARUYAMA2011-04-091-5/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5366 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: code clean up unit model changeset test.Toshi MARUYAMA2011-03-171-4/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: strict Ruby 1.9 string test in unit model test.Toshi MARUYAMA2011-03-171-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5160 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: code clean up test/unit/changeset_test.rb.Toshi MARUYAMA2011-03-011-4/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4984 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: add feature of per project repository log encoding setting (#1735).Toshi MARUYAMA2011-03-011-10/+11
| | | | | | Subversion, Mercurial and Git supports UTF-8 log. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4982 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: code clean up at test/unit/changeset_test.rb.Toshi MARUYAMA2011-03-011-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: refactor scm log encoding test (#1735, #3396, #7597).Toshi MARUYAMA2011-02-281-5/+28
| | | | | | | Bazaar log depends on locale. On Japanese Windows, standard out is CP932. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes syntax for time logging in commit messages (#7630, #7718).Jean-Philippe Lang2011-02-261-18/+34
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: for log in Ruby 1.9, replace invalid UTF-8 to '?' instead of removing.Toshi MARUYAMA2011-02-221-2/+7
| | | | | | Refer r3466 #4773. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: Ruby 1.9 compatibility for log.Toshi MARUYAMA2011-02-221-0/+19
| | | | | | | Remove assuming UTF-8 is valid. "\xC2\x80" of latin-1(iso-8859-1) is valid sequence of UTF-8. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: fix unit changeset_test.rb test methods calls randomly.Toshi MARUYAMA2011-02-221-3/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4924 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changing revision label and identifier at SCM adapter level (#3724, #6092)Toshi MARUYAMA2011-01-021-0/+5
| | | | | | Contributed by Yuya Nishihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050Jean-Baptiste Barth2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes Changeset#text_tag for numeric scmid (#6681).Jean-Philippe Lang2010-12-111-3/+7
| | | | | | Contributed by Toshi MARUYAMA. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4490 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Automatic spent time logging from commit messages (#4155).Jean-Philippe Lang2010-12-051-0/+81
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4470 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove invalid utf8 sequences from commit comments and author name (#4773).Jean-Philippe Lang2010-02-201-2/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3466 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow commits to reference issues of parent projects and subprojects (#4674).Jean-Philippe Lang2010-01-311-0/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3357 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: RepositoriesController#revision may show wrong revision (#3779).Jean-Philippe Lang2009-09-201-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgraded to Rails 2.3.4 (#3597)Eric Davis2009-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ran the Rails upgrade * Upgraded to Rails Engines 2.3.2 * Added a plugin to let Engines override application views. * Converted tests to use the new classes: ** ActionController::TestCase for functional ** ActiveSupport::TestCase for units * Converted ActiveRecord::Error message to a string. * ActiveRecord grouping returns an ordered hash which doesn't have #sort! * Updated the I18n storage_units format. * Added some default initializers from a fresh rails app * Changed the order of check_box_tags and hidden_field_tags. The hidden tag needs to appear first in Rails 2.3, otherwise it will override any value in the check_box_tag. * Removed the custom handler for when the cookie store is tampered with. Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not load the data from it when it's been tampered with (e.g. no user login). * Fixed mail layouts, 2.3 has problems with implicit multipart emails that use layouts. Also removed some custom Redmine mailer code. * Fixed a bug that occurred in tests where the "required" span tag would be added to the :field_status translation. This resulted in an email string of: <li>Status<span class="required"> *</span><span class="required"> *</span> Instead of: <li>Status: New</li> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow referencing issue numbers in brackets. This style is used by otherEric Davis2009-09-031-0/+22
| | | | | | | | | | | | bug trackers. Examples: * "[#nnn] Worked on this issue" * "[#nnn, #mmm] Worked on these" * "[#nnn #mmm] Working some more" git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* SCM:Jean-Philippe Lang2009-08-171-1/+1
| | | | | | | * Fixes file log for non-Git repositories (Repository#latest_changesets ignores path argument) * No longer used Repository#changesets_for_path method removed git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-101-1/+1
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added observers to watch model objects for mail delivery instead of calling ↵Eric Davis2009-03-281-0/+2
| | | | | | | | | | | | | | | | | | | Mailer. * Added an IssueObserver to watch when Issues are created * Added a JournalObserver to watch when Journals are created (Issue updates) * Added a NewsObserver for News items. * Added a DocumentObserver for Document notifications. * Setup IssuesController#new to use the IssueObserver. * Setup IssuesController#edit to use the IssueObserver. * Setup IssuesController#bulk_edit to use the JournalObserver. * Removed the Mailer call in Changeset#scan_commit_for_issue_ids, the JournalObserver will handle it. * Removed Mailer calls in MailHandler in favor of the Observers. #2659 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: using '*' as keyword for repository referencing keywords doesn't work ↵Jean-Philippe Lang2008-05-251-0/+11
| | | | | | when issue id is at the beginning of a line (#1253). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Postgresql 8.3 compatibility fix (#834).Jean-Philippe Lang2008-04-261-6/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Added links to previous and next revisions on revision view (patch by ↵Jean-Philippe Lang2007-12-011-0/+20
| | | | | | | | | Cyril Mougel slightly edited) * Fixed TimelogController#report december error * Fixed ProjectsControllerTest#test_activity 1st and 2nd day of the month failure git-svn-id: http://redmine.rubyforge.org/svn/trunk@938 e93f8b46-1217-0410-a6f0-8f06a7374b81
* * Referencing issues in commit messages: enter * in 'Referencing keywords' ↵Jean-Philippe Lang2007-11-201-0/+42
to link any issue id without using keywords. * Updated Polish translation (Mariusz Olejnik). git-svn-id: http://redmine.rubyforge.org/svn/trunk@918 e93f8b46-1217-0410-a6f0-8f06a7374b81