Jean-Philippe Lang
dcf2e15b06
Bulk edit form not show fields based on target tracker and status ( #23755 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:55:57 +00:00
Jean-Philippe Lang
fa3a167cdf
Adds before_render hook to WikiController#show ( #23545 ).
...
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:39:04 +00:00
Jean-Philippe Lang
3ccf7cf7ff
Set user's localization before redirecting ( #23346 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@15775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-31 17:01:47 +00:00
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
2016-08-30 21:05:22 +00:00
Jean-Philippe Lang
f435d1844d
Redirect to referer to preserve pagination and filter.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 20:20:09 +00:00
Jean-Philippe Lang
58c3270a7d
Adds pagination to group list.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 20:13:01 +00:00
Jean-Philippe Lang
daab32923d
Adds pagination to admin project list.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 20:10:56 +00:00
Jean-Philippe Lang
650a64cb00
Creating a wiki page named "Sidebar" without proper permission raises an exception ( #23700 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 19:21:42 +00:00
Jean-Philippe Lang
0925ce756c
Test failure ( #23410 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 12:41:24 +00:00
Jean-Philippe Lang
9ef42ce3d5
New "Spent time" menu tab when spent time module is enabled on project ( #23311 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 12:18:29 +00:00
Jean-Philippe Lang
011606745f
New issue raises an error if no projects available ( #23410 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 11:26:43 +00:00
Jean-Philippe Lang
3539cfcf0f
Adds issue tracker and status columns and filters on spent time list ( #23401 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 10:27:39 +00:00
Jean-Philippe Lang
8b107b6058
Don't use render :text => "".
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 20:49:14 +00:00
Jean-Philippe Lang
fcd8ace743
Don't check that params[:settings] is a Hash.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 18:07:52 +00:00
Jean-Philippe Lang
fcec4d0975
Set preferences with #safe_attributes=.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 17:56:26 +00:00
Jean-Philippe Lang
bb5ccb870c
Removes calls to #assert_template and #assigns in functional tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-19 20:06:01 +00:00
Jean-Philippe Lang
1db54e228d
Don't respond with the error template when annotate is not available.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 09:22:42 +00:00
Jean-Philippe Lang
f165bbd0d7
Use safe_attributes for email addresses.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 08:27:27 +00:00
Jean-Philippe Lang
d7a6c09822
Use safe_attributes for auth sources.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 08:18:26 +00:00
Jean-Philippe Lang
cc30a0423e
Use safe_attributes for issue statuses.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 08:09:50 +00:00
Jean-Philippe Lang
cf22053dd5
Use safe_attributes for custom field enumerations.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 07:27:23 +00:00
Jean-Philippe Lang
316eae078c
Use safe_attributes for custom fields.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 07:15:25 +00:00
Jean-Philippe Lang
43d8ab8288
Use safe_attributes for user preferences.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 06:43:12 +00:00
Jean-Philippe Lang
cad0036297
Use head instead of render :nothing => true.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 06:35:28 +00:00
Jean-Philippe Lang
57afa5345e
Don't pass conditions to #delete_all.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:30:45 +00:00
Jean-Philippe Lang
3396d5a1c4
Use head instead of render :nothing => true.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 09:46:51 +00:00
Jean-Philippe Lang
17aa2f68c2
Don't compare with Hash.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 09:41:24 +00:00
Jean-Philippe Lang
dca56a0350
Use safe_attributes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 09:34:45 +00:00
Jean-Philippe Lang
adde498b33
Use safe_attributes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 09:30:09 +00:00
Jean-Philippe Lang
c55dd52b07
Handle admin and login with safe_attributes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 11:56:39 +00:00
Jean-Philippe Lang
9e20edf2d4
Don't generate URL from params.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:43:34 +00:00
Jean-Philippe Lang
2457f5914d
Use .skip_before_action instead of .skip_before_filter.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:29:04 +00:00
Jean-Philippe Lang
ee82a55602
Use .before_action instead of .before_filter.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:27:31 +00:00
Jean-Philippe Lang
d2f7e31951
Use .distinct instead of .uniq.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:15:13 +00:00
Jean-Philippe Lang
793cb16764
Make time entries groupable ( #16843 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 19:02:48 +00:00
Jean-Philippe Lang
03dbf8abb8
Remove special behaviour for listing issue time entries, use a filter for that.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 19:28:49 +00:00
Jean-Philippe Lang
f01b0887ff
Helper is needed to render the sidebar ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 18:04:01 +00:00
Jean-Philippe Lang
beb5e60391
Makes spent time queries savable ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:40:19 +00:00
Jean-Philippe Lang
9fb339c4e2
Makes QueriesController able to handle other Query subclasses.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-11 17:41:46 +00:00
Jean-Philippe Lang
d4edd4d6a4
Removes action caching on /robots.txt.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 20:34:37 +00:00
Jean-Philippe Lang
21c4665e2a
Preload issues project.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 15:56:12 +00:00
Jean-Philippe Lang
0a8fe4e552
Preload email addresses for displaying avatars.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 11:14:18 +00:00
Jean-Philippe Lang
1f9bbd6b42
Wrap journal attributes with a journal parameter and use safe_attributes ( #22575 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 10:58:00 +00:00
Jean-Philippe Lang
7918285ac2
Enable updating private_notes property on journal edit form ( #22575 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@15620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 10:33:48 +00:00
Jean-Philippe Lang
83777f727a
Assignable users should not include users that cannot view the tracker ( #23172 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-28 20:31:08 +00:00
Jean-Philippe Lang
48a79bc093
Add params to Redmine::Search::Fetcher#initialize optional parameter ( #23153 ).
...
Patch by okkez.
git-svn-id: http://svn.redmine.org/redmine/trunk@15583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-28 19:08:04 +00:00
Jean-Philippe Lang
1b10649783
Sort messages by ids to avoid the left join.
...
The query was really slow with PostgreSQL and a few thousands messages, and last_message_id column was storing the highest id anyway.
git-svn-id: http://svn.redmine.org/redmine/trunk@15582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-20 19:03:53 +00:00
Jean-Philippe Lang
038789fbcc
Preload custom values when displaying the roadmap.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 07:12:30 +00:00
Jean-Philippe Lang
6cd84af522
Limits the tracker list in filters and issue counts ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:42:25 +00:00
Jean-Philippe Lang
f694839c82
Code cleanup ( #23054 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-15 18:24:02 +00:00