Commit Graph

6308 Commits

Author SHA1 Message Date
Jean-Philippe Lang
cb15f0df38 Filter group should be a Symbol.
git-svn-id: http://svn.redmine.org/redmine/trunk@16190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 10:08:44 +00:00
Jean-Philippe Lang
bbede05f2e Handle the case of none existing enumerations using no-data blocks (#24776).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 10:04:40 +00:00
Jean-Philippe Lang
898a55fa70 Add 'icon' and 'icon-add' classes to new enum links (#24776).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 10:04:00 +00:00
Jean-Philippe Lang
7f3ce996c2 Move 'New enumeration' links to above the item tables (#24776).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 10:03:26 +00:00
Jean-Philippe Lang
780d95889a Remove superfluous spaces before colon (#24720).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 10:00:41 +00:00
Jean-Philippe Lang
1d63635e9c Add nbsp below project settings version filter section (#24720).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:59:55 +00:00
Jean-Philippe Lang
ea73cbceee Move 'New ...' links to above item tables in project settings (#24720).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:58:53 +00:00
Jean-Philippe Lang
b60596532e Don't always load data that is for html response only.
git-svn-id: http://svn.redmine.org/redmine/trunk@16182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:56:04 +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
2734eaffd8 Adds a link to all projects in the jump drop down (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@16172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-10 18:33:36 +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
Jean-Philippe Lang
583ee1c8c5 Adds a flash message when deleting a board (#24535).
Patch by Javier Menéndez.

git-svn-id: http://svn.redmine.org/redmine/trunk@16166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 22:51:12 +00:00
Jean-Philippe Lang
f0c9c0ef23 Issue destroy : Reassign time issue autocomplete (#24692).
Patch by David Côté-Tremblay and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 22:47:32 +00:00
Jean-Philippe Lang
e5d15c031b Remove iteration in ApplicationHelper#syntax_highlight_lines (#24713).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 22:41:52 +00:00
Jean-Philippe Lang
aa030bf39a Adds a tooltip to cells on workflow page (#12598).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 22:38:02 +00:00
Toshi MARUYAMA
84b880e1aa remove trailing white space from app/controllers/files_controller.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 08:16:30 +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
a6c61c8c2e Preload :roles for displaying user memberships (#23519).
git-svn-id: http://svn.redmine.org/redmine/trunk@16156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-07 12:10:06 +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
79c2e42889 More readable regexp for parse_redmine_links (#24382).
Patch by Dmitry Lisichkin.

git-svn-id: http://svn.redmine.org/redmine/trunk@16152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-07 10:52:40 +00:00
Jean-Philippe Lang
6a1865905f Don't redirect to lost password page after login (#13741).
Patch by Gregory Van der Steen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-07 10:49:31 +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
a4f167ec1a Don't render memberships forms, use #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-07 10:26:36 +00:00
Jean-Philippe Lang
62b64f4834 Wrong activity timezone on user page (#14658).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-04 21:21:15 +00:00
Jean-Philippe Lang
84732abd0a Missing "next" pagination link when looking at yesterday's activity (#18399).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-04 21:13:28 +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
9d709c0267 Updates year in footer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-04 17:59:03 +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
1bda8ce940 Don't show the "reassign" option when deleting issues from different projects (#24722).
git-svn-id: http://svn.redmine.org/redmine/trunk@16121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 15:26:00 +00:00
Jean-Philippe Lang
1b30422354 Update project_id column in case some time entries were on subtasks of different projects (#24693).
git-svn-id: http://svn.redmine.org/redmine/trunk@16120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 15:16:23 +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
514d9bad9e Fixed that project settings should show locked members (#22034).
git-svn-id: http://svn.redmine.org/redmine/trunk@16116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 13:33:02 +00:00
Jean-Philippe Lang
d521e49dbd Don't reload attachments if they are already loaded.
git-svn-id: http://svn.redmine.org/redmine/trunk@16113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 12:35:15 +00:00
Jean-Philippe Lang
e068f855dc Files REST API (#19116).
Patch by Lucile Quirion and Jake Kemme.

git-svn-id: http://svn.redmine.org/redmine/trunk@16109 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-21 10:05:55 +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
2bcbb30546 Rename "issue" to "item" in query helpers (#24643).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-20 09:07:24 +00:00
Jean-Philippe Lang
18463cad4d Typo: s/changset-comments/changeset-comments/ (#22758, #24604).
git-svn-id: http://svn.redmine.org/redmine/trunk@16091 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-18 09:35:43 +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
757f378ab1 Sort completed versions in reverse order on the roadmap (#23137).
git-svn-id: http://svn.redmine.org/redmine/trunk@16088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-18 08:34:43 +00:00
Jean-Philippe Lang
e8e92ca054 Make the email notifications for adding/updating issues more readable/clear (#23978).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-16 08:53:52 +00:00