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 години
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
преди 2 години
Go MAEDA
2a564a1376
DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1. (#29914, #32897).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@20880 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 3 години
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 години
Toshi MARUYAMA
581fb1f96d
use "do end" instead of {} at ActiveRecord scope lambda of app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20343 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 3 години
Toshi MARUYAMA
aaebab85c5
add empty line after guard clause to app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20264 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 3 години
Toshi MARUYAMA
52eba6ead5
remove spaces inside {} of app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20113 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 3 години
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 години
Go MAEDA
47a71c8011
Reverts r19478 (#32897).
git-svn-id: http://svn.redmine.org/redmine/trunk@19479 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 4 години
Go MAEDA
10bb12e09f
Fix 'DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1.' (#32897).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19478 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 4 години
Toshi MARUYAMA
4696722a53
cleanup: rubocop: fix Layout/AlignArguments in app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18921 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 4 години
Toshi MARUYAMA
4c22248143
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18675 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 4 години
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
преди 4 години
Go MAEDA
22165fd071
Per role visibility settings for version custom fields (#23997).
Patch by Jens Krämer and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18386 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 4 години
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 5 години
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
преди 5 години
Go MAEDA
07b3087fda
Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 5 години
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 години
Jean-Philippe Lang
537f162f27
Moved Version#fixed_issues extension to a module (#30115).
Patch by Jérôme BATAILLE.
git-svn-id: http://svn.redmine.org/redmine/trunk@17754 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 5 години
Jean-Philippe Lang
d8a2024715
Dangerous query method deprecation warnings (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17411 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 6 години
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
преди 6 години
Jean-Philippe Lang
d0b10af3ff
Performance opt - cache AR Proxy for Version#fixed_issues.visible (#27676).
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17052 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 6 години
Jean-Philippe Lang
96a854a4b3
Moves issue calculations into the fixed_issues relation (#27676).
This way, we can reuse them on refined relations,
e.g. @version.fixed_issues.closed_count@ vs. @version.fixed_issues.visible.closed_count@
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17050 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 6 години
Jean-Philippe Lang
d74f0bfd5c
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 7 години
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 7 години
Toshi MARUYAMA
cfda8cdb91
remove trailing white space from app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16160 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 7 години
Jean-Philippe Lang
7b3f2b51c0
Add length validations for string fields (#24283).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15989 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 7 години
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
преди 7 години
Jean-Philippe Lang
efabbedebe
Enable filtering versions on Project -> Settings -> Versions (#22608).
git-svn-id: http://svn.redmine.org/redmine/trunk@15759 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 7 години
Jean-Philippe Lang
050d2bee84
2 spaces instead of a tab.
git-svn-id: http://svn.redmine.org/redmine/trunk@15602 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 8 години
Jean-Philippe Lang
0b16423104
Group versions by status in issue filters (#10412).
git-svn-id: http://svn.redmine.org/redmine/trunk@15601 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 8 години
Jean-Philippe Lang
ed50d42210
Replace Date.today with User.current.today (#22320).
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.
A test case illustrating the problem with Issue#overdue? is included
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 8 години
Jean-Philippe Lang
e63bf1d597
Additional CSS class for version status (#21434).
git-svn-id: http://svn.redmine.org/redmine/trunk@15270 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 8 години
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 8 години
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
преди 8 години
Jean-Philippe Lang
9178d4748f
Default target version for new issues (#1828).
git-svn-id: http://svn.redmine.org/redmine/trunk@14786 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 8 години
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
преди 9 години
Jean-Philippe Lang
481f70d125
Don't store total estimated hours on parent issues (#16092).
Parent can now have its own estimate that is summed up with children estimates.
git-svn-id: http://svn.redmine.org/redmine/trunk@14272 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
Jean-Philippe Lang
24d6211f4e
Missing validation for description size of versions (#19840).
Patch by Bruno Orcha García.
git-svn-id: http://svn.redmine.org/redmine/trunk@14267 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
Jean-Philippe Lang
288c014aa7
Edit attachments after upload (#1326).
git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
Jean-Philippe Lang
67c4936908
Restores commits reverted when rails-4.1 branch was merged (#18174).
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@13504 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
Toshi MARUYAMA
6f92548b38
remove unneeded "references" of joins
"references" is needed for includes, but not needed for joins.
git-svn-id: http://svn.redmine.org/redmine/trunk@13501 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
Jean-Philippe Lang
0fc1906201
Removed deprecated stuff for Redmine 3.0.
git-svn-id: http://svn.redmine.org/redmine/trunk@13483 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
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 години
Jean-Philippe Lang
e124da5488
Fixed: Files assigned to a version can not be deleted if Issue Tracking module is disabled (#17163).
Patch by Michael Esemplare.
git-svn-id: http://svn.redmine.org/redmine/trunk@13390 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 9 години
Jean-Philippe Lang
2e04614e21
Don't prepend project name if the version is not shared.
git-svn-id: http://svn.redmine.org/redmine/trunk@13325 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 10 години
Toshi MARUYAMA
f773219426
fix typos of source comments at Version model
git-svn-id: http://svn.redmine.org/redmine/trunk@13062 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 10 години
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 години
Toshi MARUYAMA
e17bf40fe1
use lambda form in Version model scope (#12499)
git-svn-id: http://svn.redmine.org/redmine/trunk@12486 e93f8b46-1217-0410-a6f0-8f06a7374b81
преди 10 години