Jean-Philippe Lang
|
d10ab869a7
|
Handle csv columns selection in query to preload appropriate associations (#24865).
git-svn-id: http://svn.redmine.org/redmine/trunk@16219 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-18 12:51:41 +00:00 |
|
Jean-Philippe Lang
|
4a5ebfb778
|
Fixed that Query#has_column? returns false with default columns.
git-svn-id: http://svn.redmine.org/redmine/trunk@16217 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-17 21:29:22 +00:00 |
|
Jean-Philippe Lang
|
82afdc7f78
|
Moves sort joins for issues to IssueQuery.
git-svn-id: http://svn.redmine.org/redmine/trunk@16216 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-17 19:41:35 +00:00 |
|
Jean-Philippe Lang
|
c7f03c00a9
|
Use exists? instead of count (#24839).
Patch by Vincent Robert and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16211 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-16 18:12:49 +00:00 |
|
Jean-Philippe Lang
|
ae99ecd54f
|
Wrap conditions with a single if new_record?.
git-svn-id: http://svn.redmine.org/redmine/trunk@16201 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-15 12:58:07 +00:00 |
|
Jean-Philippe Lang
|
6d21b3c4ae
|
Add default timezone for new users (#16484).
git-svn-id: http://svn.redmine.org/redmine/trunk@16200 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-15 12:52:41 +00:00 |
|
Jean-Philippe Lang
|
14a98af864
|
Cast as decimal(30,0) instead of integer (#21249).
git-svn-id: http://svn.redmine.org/redmine/trunk@16197 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-14 12:37:16 +00:00 |
|
Jean-Philippe Lang
|
e808c62253
|
Filtering out specific subprojects (using 'is not' operator) (#15773).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16196 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-14 12:26:13 +00:00 |
|
Jean-Philippe Lang
|
f1678e4f77
|
Filters on chained custom fields and custom field attributes (#21249).
git-svn-id: http://svn.redmine.org/redmine/trunk@16191 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-14 10:52:38 +00:00 |
|
Jean-Philippe Lang
|
7b32a0371d
|
Let user always see his private notes (#17632).
git-svn-id: http://svn.redmine.org/redmine/trunk@16181 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-14 09:50:28 +00:00 |
|
Jean-Philippe Lang
|
45879a41b2
|
Moves journals selection to Issue#visible_journals_with_index (#17632).
git-svn-id: http://svn.redmine.org/redmine/trunk@16180 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-14 09:34:24 +00:00 |
|
Jean-Philippe Lang
|
04eefdc809
|
Adds settings to make the issue and/or comment fields mandatory for time logs (#24577).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16176 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-12 23:09:18 +00:00 |
|
Jean-Philippe Lang
|
82d96258f4
|
Don't compare timestamps with 0, triggers SQL errors with PostgreSQL (#10840).
git-svn-id: http://svn.redmine.org/redmine/trunk@16175 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-12 22:20:46 +00:00 |
|
Jean-Philippe Lang
|
5d4b5fd1f6
|
Allow "stay logged in" from multiple browsers (#10840).
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@16174 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-12 20:34:08 +00:00 |
|
Jean-Philippe Lang
|
309c6cec86
|
Don't preload custom field filter values (#24787).
git-svn-id: http://svn.redmine.org/redmine/trunk@16173 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-12 20:19:45 +00:00 |
|
Jean-Philippe Lang
|
fd3c08aaa1
|
Don't preload all query filters (#24787).
git-svn-id: http://svn.redmine.org/redmine/trunk@16170 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-09 19:59:54 +00:00 |
|
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
|
2017-01-08 06:20:07 +00:00 |
|
Jean-Philippe Lang
|
eef5023886
|
Don't destructively insert builtin_role into roles (#23519).
git-svn-id: http://svn.redmine.org/redmine/trunk@16155 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-07 11:41:59 +00:00 |
|
Jean-Philippe Lang
|
34a933a580
|
Reset #roles on reload (#23519).
git-svn-id: http://svn.redmine.org/redmine/trunk@16154 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-07 11:40:48 +00:00 |
|
Jean-Philippe Lang
|
3deb70d4aa
|
Don't preload projects and roles on Principal#memberships association (#23519).
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@16153 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-07 11:40:09 +00:00 |
|
Jean-Philippe Lang
|
3c005719ae
|
Sort user memberships by project.
git-svn-id: http://svn.redmine.org/redmine/trunk@16150 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-07 10:28:59 +00:00 |
|
Jean-Philippe Lang
|
1c44b16023
|
Validate length of custom field regexp (#24283).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16134 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-04 20:55:38 +00:00 |
|
Jean-Philippe Lang
|
98f8a17851
|
Speeds up Project.allowed_to_condition for users who belong to hundreds of projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@16124 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-03 20:53:57 +00:00 |
|
Jean-Philippe Lang
|
f8df935dca
|
Speeds up rendering of the project list for users who belong to hundreds of projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@16123 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-03 18:28:45 +00:00 |
|
Jean-Philippe Lang
|
fd067bc9df
|
Unneeded assignment (#24693).
git-svn-id: http://svn.redmine.org/redmine/trunk@16122 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-31 16:30:33 +00:00 |
|
Jean-Philippe Lang
|
987ca8cc2a
|
Handle time entries on subtasks and prevent from reassigning an issue that is going to be deleted (#24718, #24693).
git-svn-id: http://svn.redmine.org/redmine/trunk@16118 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-31 15:04:05 +00:00 |
|
Jean-Philippe Lang
|
d42397e9a7
|
Don't load Member#user, use #principal instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16117 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-31 13:44:41 +00:00 |
|
Jean-Philippe Lang
|
f3627e2a3d
|
Prevent parent issue from being closed if a child issue is open (#10989).
git-svn-id: http://svn.redmine.org/redmine/trunk@16108 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-21 09:09:22 +00:00 |
|
Jean-Philippe Lang
|
3b7da88a83
|
Show an error message when changing an issue's project fails due to errors in child issues (#23888).
git-svn-id: http://svn.redmine.org/redmine/trunk@16089 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-18 08:54:26 +00:00 |
|
Jean-Philippe Lang
|
20be00e437
|
Restrict the length attachment filenames on disk (#24186).
git-svn-id: http://svn.redmine.org/redmine/trunk@16083 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-16 08:45:41 +00:00 |
|
Toshi MARUYAMA
|
d42e8b3f5c
|
remove trailing white space from app/models/user_preference.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16076 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-14 12:28:47 +00:00 |
|
Toshi MARUYAMA
|
7fb2beebc1
|
remove training white space from app/models/user.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16075 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-14 12:06:30 +00:00 |
|
Toshi MARUYAMA
|
74b09be185
|
remove trailing white space from app/models/role.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16074 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-14 10:53:15 +00:00 |
|
Toshi MARUYAMA
|
3f0e720f56
|
remove trailing white space from app/models/issue_relation.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16073 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-14 10:17:07 +00:00 |
|
Jean-Philippe Lang
|
e0912b99f5
|
Unarchive link not working for subprojects of closed projects (#24595).
git-svn-id: http://svn.redmine.org/redmine/trunk@16071 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-13 20:01:57 +00:00 |
|
Jean-Philippe Lang
|
f30462595e
|
Optional Regex delimiters to truncate incoming emails (#5864).
git-svn-id: http://svn.redmine.org/redmine/trunk@16065 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-13 18:46:29 +00:00 |
|
Jean-Philippe Lang
|
3a2b6c7c96
|
Enforce issue assignee validation (#23921).
git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-10 12:02:37 +00:00 |
|
Jean-Philippe Lang
|
3e86a2ab52
|
Use .unscoped when querying and creating builtin objects (#24156).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16049 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-03 08:57:01 +00:00 |
|
Jean-Philippe Lang
|
af1182c8ba
|
Don't show project column by default when inside a project.
git-svn-id: http://svn.redmine.org/redmine/trunk@16042 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-03 08:29:44 +00:00 |
|
Jean-Philippe Lang
|
e22159a3cb
|
Sort members on the DB side.
git-svn-id: http://svn.redmine.org/redmine/trunk@16040 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-12-03 08:26:08 +00:00 |
|
Toshi MARUYAMA
|
65e08b259d
|
use symbol instead of string for 'position' (#24013)
git-svn-id: http://svn.redmine.org/redmine/trunk@16008 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-11-28 05:54:14 +00:00 |
|
Jean-Philippe Lang
|
42e6568552
|
Wrong validation introduced in r15989 (#24283).
git-svn-id: http://svn.redmine.org/redmine/trunk@15991 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-11-19 13:24:56 +00:00 |
|
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
|
2016-11-19 11:13:41 +00:00 |
|
Jean-Philippe Lang
|
d19aea9437
|
Don't return 2 errors when identifier is blank (blank + too short).
git-svn-id: http://svn.redmine.org/redmine/trunk@15987 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-11-19 10:50:03 +00:00 |
|
Jean-Philippe Lang
|
7ee5e95f14
|
Use the regular "icon icon-*" on search results (#24313).
git-svn-id: http://svn.redmine.org/redmine/trunk@15977 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-11-19 08:26:58 +00:00 |
|
Jean-Philippe Lang
|
fcbd06e090
|
Allow Journal to return empty Array instead nil in Journal#attachments (#24308).
Patch by Roman Shipiev.
git-svn-id: http://svn.redmine.org/redmine/trunk@15957 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-11-18 08:41:56 +00:00 |
|
Jean-Philippe Lang
|
db5bd2b2de
|
My page - Spent time: configurable number of days to display (#8761).
git-svn-id: http://svn.redmine.org/redmine/trunk@15942 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-10-30 08:32:31 +00:00 |
|
Jean-Philippe Lang
|
55be5e82b8
|
Adds #add_block and #remove_block methods.
git-svn-id: http://svn.redmine.org/redmine/trunk@15932 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-10-29 10:25:55 +00:00 |
|
Jean-Philippe Lang
|
8b86d5158e
|
Moves blocks definition to Redmine::MyPage.
git-svn-id: http://svn.redmine.org/redmine/trunk@15930 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-10-29 10:10:31 +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 |
|