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
3 kuukautta sitten
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
1 vuosi sitten
Go MAEDA
92bd67c279
Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 vuosi sitten
Go MAEDA
5589fadb2c
Add missing fixture versions to RepositoryTest (#37469).
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21726 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 vuosi sitten
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
2 vuotta sitten
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
3 vuotta sitten
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
4 vuotta sitten
Toshi MARUYAMA
a2b0f35a26
cleanup: rubocop: fix Layout/IndentFirstArgument in test/unit/repository_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19224 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 vuotta sitten
Toshi MARUYAMA
dc95ef738f
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/repository_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19223 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 vuotta sitten
Toshi MARUYAMA
51380182e0
code cleanup: rubocop: fix Layout/AlignArguments in test/unit/repository_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18848 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 vuotta sitten
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
Go MAEDA
b900ae6107
Support frozen_string_literal in test/**/*.rb (#26561).
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
Go MAEDA
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly (#31004).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
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
5 vuotta sitten
Go MAEDA
6765505b2d
Add missing fixtures to several tests (#30276).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17780 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
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
5 vuotta sitten
Jean-Philippe Lang
015ca36634
Send individual emails for each mail recipient (#26791).
We are creating multipe mails per class notification event, one per
recipient, wrapped in a Mailer::MultiMessage object to send them all at
once.
We keep the existing interface of all class methods intended to be used
by external code the same as they were before, with one exception:
We provide additional recipient addresses in options[:recipients] for
Mailer.security_notification. Since the first-class recipients have to
be users to render individual mails for them, additional recipient
addresses have to be provided with some other channel.
By providing additional recipients in options[:recipients], we can solve
the use-case for address change notifications for users, which probably
is the only real use-case for having to use a plain email address
instead of a User as a notification recipient.
Patch by Holger Just and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17583 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 vuotta sitten
Jean-Philippe Lang
0910b2bdbe
Drop Darcs support (#26391).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 vuotta sitten
Toshi MARUYAMA
48259a1eda
add some tests to RepositoryTest#test_for_changeset_comments_strip
git-svn-id: http://svn.redmine.org/redmine/trunk@16811 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
Toshi MARUYAMA
7187e8dade
code style cleanup at RepositoryTest#test_for_changeset_comments_strip
git-svn-id: http://svn.redmine.org/redmine/trunk@16810 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
Toshi MARUYAMA
3a0cc09d7c
replace white spaces of here-text at RepositoryTest#test_for_changeset_comments_strip
git-svn-id: http://svn.redmine.org/redmine/trunk@16809 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
Jean-Philippe Lang
45a0daa16a
Be more conservative when fetching constants in Repository.factory (#23758).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@15816 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 vuotta sitten
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 vuotta sitten
Jean-Philippe Lang
5cd29b1a6b
Fixed that 2 repositories can be created with blank/nil identifier (#19400).
git-svn-id: http://svn.redmine.org/redmine/trunk@14156 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
Jean-Philippe Lang
e9caae140d
Don't allow 2 repositories with blank identifier (#19400).
git-svn-id: http://svn.redmine.org/redmine/trunk@14142 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
Toshi MARUYAMA
eacd619f5f
add missing fixtures
git-svn-id: http://svn.redmine.org/redmine/trunk@13911 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
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
9 vuotta sitten
Jean-Philippe Lang
ee173b64b8
Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13731 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
Jean-Philippe Lang
c0f082ad02
Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13508 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
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
9 vuotta sitten
Jean-Baptiste Barth
8c945fb791
Honnor committers/users mapping in repository statistics (#13487).
git-svn-id: http://svn.redmine.org/redmine/trunk@13353 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
Jean-Baptiste Barth
fc99c1851f
Fix text failing on some rubies/sql drivers because of improper length in Change#action (#13487).
git-svn-id: http://svn.redmine.org/redmine/trunk@13352 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
Jean-Baptiste Barth
41bf39df36
Move some RepositoriesController logic to Repository#stats_by_author (#13487).
git-svn-id: http://svn.redmine.org/redmine/trunk@13351 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 vuotta sitten
Jean-Philippe Lang
09b95905dc
Make sure that Repository#extra_info returns a Hash or nil (#16032).
git-svn-id: http://svn.redmine.org/redmine/trunk@12848 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
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
10 vuotta sitten
Toshi MARUYAMA
5315943bb9
remove trailing white-spaces from RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12561 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Toshi MARUYAMA
01e22fc4b8
code format cleanup RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12560 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Toshi MARUYAMA
56a40b3579
Rails4: replace deprecated find_all_by_* at RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12558 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Toshi MARUYAMA
95bc7bf189
Rails4: replace deprecated Relation#update_all at RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12557 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Toshi MARUYAMA
691e218a75
add unit test to have one default repository
git-svn-id: http://svn.redmine.org/redmine/trunk@12492 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Toshi MARUYAMA
24904b4a03
Rails4 compatibility of RepositoryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12470 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Jean-Philippe Lang
b6cb7aa8e3
Ability to define commit keywords per tracker (#7590).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12208 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Jean-Philippe Lang
a77b462a53
Support for multiple issue update keywords/rules in commit messages (#4911).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12197 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 vuotta sitten
Jean-Philippe Lang
f9ddb562d5
Cleanup of finders with :conditions option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 vuotta sitten
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
11 vuotta sitten
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
11 vuotta sitten
Jean-Philippe Lang
87f284dcb6
Repository Identifier should be frozen (#11109).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10081 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 vuotta sitten
Jean-Philippe Lang
7acd04fb87
Tests should not change settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9949 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 vuotta sitten