Go MAEDA
|
4fb1e4bea0
|
Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2024-12-11 10:17:57 +00:00 |
|
Marius Balteanu
|
82c88b3700
|
Adds estimated remaining time to version page (#37862, #1671).
git-svn-id: https://svn.redmine.org/redmine/trunk@22858 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2024-06-04 20:17:01 +00:00 |
|
Marius Balteanu
|
aaed5637b4
|
Fixes RuboCop offense Layout/SpaceInsideParens (#24457).
git-svn-id: https://svn.redmine.org/redmine/trunk@22806 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2024-05-02 21:55:52 +00:00 |
|
Marius Balteanu
|
3822b633ef
|
Adds test for #24457.
git-svn-id: https://svn.redmine.org/redmine/trunk@22804 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2024-05-02 21:15:43 +00:00 |
|
Marius Balteanu
|
cd8d4fe444
|
Progress of version should be calculated the same way as parent tasks (#24457, #4682).
git-svn-id: https://svn.redmine.org/redmine/trunk@22803 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2024-05-02 20:58:03 +00:00 |
|
Marius Balteanu
|
38d950df55
|
Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2024-02-26 22:55:54 +00:00 |
|
Go MAEDA
|
c1c9a50397
|
Fix RuboCop offense Style/InverseMethods: Use invalid? instead of inverting valid? (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22153 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2023-03-25 01:51:31 +00:00 |
|
Go MAEDA
|
1481c721a2
|
Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2023-01-01 07:13:39 +00:00 |
|
Go MAEDA
|
92bd67c279
|
Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2023-01-01 06:19:35 +00:00 |
|
Go MAEDA
|
f8a073b713
|
Add missing fixture issue_categories to VersionTest (#37466).
git-svn-id: https://svn.redmine.org/redmine/trunk@21717 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2022-07-19 14:01:23 +00:00 |
|
Go MAEDA
|
3686b77eb6
|
Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2022-01-02 05:29:10 +00:00 |
|
Marius Balteanu
|
05e9d7883b
|
Use sanitize_sql_like in like scopes (#35073).
Patch Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-10-03 19:44:39 +00:00 |
|
Go MAEDA
|
3e36b5c452
|
Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-03-25 06:58:56 +00:00 |
|
Toshi MARUYAMA
|
58a5f38cee
|
fix source indent of test/unit/version_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20206 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-10-27 15:18:09 +00:00 |
|
Go MAEDA
|
907e0173e4
|
Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-03-03 00:24:10 +00:00 |
|
Go MAEDA
|
6dffb3a5eb
|
Add missing fixtures to VersionTest (#32540).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19327 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-12-02 02:36:38 +00:00 |
|
Toshi MARUYAMA
|
d65cdf018d
|
cleanup: rubocop: fix Layout/IndentFirstArrayElement in test/unit/version_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19244 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-11-24 05:45:13 +00:00 |
|
Toshi MARUYAMA
|
cefde24aca
|
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/version_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19211 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-11-23 15:10:57 +00:00 |
|
Toshi MARUYAMA
|
21b3f318d4
|
code cleanup: rubocop: fix Layout/AlignArguments in test/unit/version_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18846 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-23 05:37:23 +00:00 |
|
Go MAEDA
|
c37d1b43a4
|
Reject version custom field values not visible for the user (#31954, #23997).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18402 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-08-27 10:44:39 +00:00 |
|
Go MAEDA
|
4082069c75
|
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-05-25 07:36:06 +00:00 |
|
Go MAEDA
|
f0d579adeb
|
Fix that deleting a version silently deletes its attachments (#31087).
Patch by Karel Pičman and Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18008 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-03-26 11:05:20 +00:00 |
|
Go MAEDA
|
4f5a3a156c
|
Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-03-16 15:03:47 +00:00 |
|
Go MAEDA
|
5861160ffc
|
Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-03-15 01:32:57 +00:00 |
|
Jean-Philippe Lang
|
2576292959
|
Set User.current to nil before unit tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2018-12-16 17:23:31 +00:00 |
|
Jean-Philippe Lang
|
4f5f1f3945
|
Tests failure with SQLite3.
ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: custom_fields_trackers.custom_field_id, custom_fields_trackers.tracker_id: INSERT INTO "custom_fields_trackers" ("custom_field_id", "tracker_id") VALUES (?, ?)
git-svn-id: http://svn.redmine.org/redmine/trunk@17674 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2018-12-01 12:35:45 +00:00 |
|
Go MAEDA
|
8662c7ef8b
|
Filter for version name should be case-insensitive (#27122).
Patch by Holger Just and Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17316 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2018-04-28 23:31:49 +00:00 |
|
Jean-Philippe Lang
|
7fd04e1f8d
|
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-06-25 08:40:31 +00:00 |
|
Jean-Philippe Lang
|
bf5dade8df
|
Use assert_nil instead of assert_equal.
git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-11 15:26:41 +00:00 |
|
Jean-Philippe Lang
|
eb023bdcce
|
Add option to set a new version as default directly from New Version page (#24011).
git-svn-id: http://svn.redmine.org/redmine/trunk@15922 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-10-23 11:31:20 +00:00 |
|
Jean-Philippe Lang
|
cda9c63d9c
|
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-03-13 10:30:10 +00:00 |
|
Jean-Philippe Lang
|
5e5506587e
|
Closed versions should be marked as completed (#21433).
git-svn-id: http://svn.redmine.org/redmine/trunk@15019 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-01-09 09:10:24 +00:00 |
|
Jean-Philippe Lang
|
bc9ca5fcfd
|
Disallow users to delete a version referenced by a custom field (#20159).
git-svn-id: http://svn.redmine.org/redmine/trunk@14376 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-06-27 09:02:24 +00:00 |
|
Jean-Philippe Lang
|
000124f44f
|
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-01-11 09:09:50 +00:00 |
|
Jean-Philippe Lang
|
5222650d95
|
Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-03 20:21:03 +00:00 |
|
Jean-Philippe Lang
|
2d1866d966
|
Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-22 17:37:16 +00:00 |
|
Toshi MARUYAMA
|
e8e9c046af
|
fix typos at unit version test
git-svn-id: http://svn.redmine.org/redmine/trunk@13061 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-04-07 00:21:55 +00:00 |
|
Toshi MARUYAMA
|
35cc911192
|
update copyright year (#15977)
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-29 22:45:39 +00:00 |
|
Toshi MARUYAMA
|
eeeada0773
|
code layout clean up VersionTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11881 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-19 01:06:04 +00:00 |
|
Toshi MARUYAMA
|
bbca694881
|
remove empty setup method from VersionTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11880 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-19 01:05:53 +00:00 |
|
Toshi MARUYAMA
|
de394f5f74
|
fix unit VersionTest failure
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11868 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-18 12:55:24 +00:00 |
|
Jean-Philippe Lang
|
61dfab12fd
|
Removed some shoulda context.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11865 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-18 09:27:48 +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
|
3e14c3017c
|
Adds a custom validator for dates (#12736).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11124 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-05 16:09:15 +00:00 |
|
Jean-Philippe Lang
|
9613a13b10
|
Deprecates Version#*_pourcent in favour of #*_percent (#12724).
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11113 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-04 08:30:25 +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
|
8b527ce247
|
Fixed version date validation (#12359).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10810 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-11-15 22:43:10 +00:00 |
|
Jean-Baptiste Barth
|
0eabfc5e72
|
Fixed test/unit/version_test.rb breaking when run alone (#12285)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10780 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-11-01 10:23:49 +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
|
2275f46138
|
Makes Version#<=> consistent with SQL sort.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10152 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-08-02 16:47:53 +00:00 |
|