Commit Graph

246 Commits

Author SHA1 Message Date
Jean-Philippe Lang
94c2356f38 Load changesets and time entries tabs async (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:12:30 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
776ec24907 Explicitly load redmine/info in order to avoid "uninitialized constant" error (#31337).
Contributed by Lluís Gili.


git-svn-id: http://svn.redmine.org/redmine/trunk@18193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-23 12:05:57 +00:00
Go MAEDA
ff458df977 Fix an error "uninitialized constant Redmine::ProjectJumpBox" in the production environment (#31355).
git-svn-id: http://svn.redmine.org/redmine/trunk@18183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-21 08:28:32 +00:00
Go MAEDA
29403e710a Adds favorites and recently used projects lists to project jump box (#31355).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +00:00
Go MAEDA
b540046ed7 Generalize issues imports (#28234).
Extend import controller to support arbitrary imports based on Import subclasses. This way, we may add other kinds of imports, by providing some views and a custom import class. This may also be done from within plugins.

Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@18145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-09 07:40:06 +00:00
Go MAEDA
1ff42ec5bc New Permission: Edit own issue (#1248).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-25 05:32:58 +00:00
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
2019-03-16 09:37:35 +00:00
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
2019-03-15 01:32:57 +00:00
Go MAEDA
1d3e2006b1 Hide menu item in the cross-project menu if the module is not enabled in any project (#30207).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-13 03:23:18 +00:00
Jean-Philippe Lang
2fdbcd35dd Adds a permission to log time for another user (#3848).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 16:28:22 +00:00
Go MAEDA
795bdb9ee5 Fix: Irrelevant permission is required to access some tabs in project settings page (#28693).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-03 00:48:11 +00:00
Jean-Philippe Lang
e930ee8e98 Adds a checkbox to set a page as the wiki start page (#26579).
git-svn-id: http://svn.redmine.org/redmine/trunk@16915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 07:38:48 +00:00
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
2017-07-25 17:32:53 +00:00
Toshi MARUYAMA
c15eaf46db Remove duplicate notifiable require (#26312).
This duplication was introduced as part of r10909.

Contributed by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-02 07:16:52 +00:00
Jean-Philippe Lang
2cc8759175 Display menu items if user is allowed.
git-svn-id: http://svn.redmine.org/redmine/trunk@16727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-28 20:14:21 +00:00
Jean-Philippe Lang
b03e03b770 Global News view should not be allowed without permission (#7068).
git-svn-id: http://svn.redmine.org/redmine/trunk@16721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 19:49:02 +00:00
Jean-Philippe Lang
f3523f25fd Fixed that time entry queries cannot be saved when issue tracking is disabled (#14790).
git-svn-id: http://svn.redmine.org/redmine/trunk@16718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 19:30:36 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
4d4f330b0c Highlight menu item when viewing an attachment (#25988).
git-svn-id: http://svn.redmine.org/redmine/trunk@16652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 10:48:34 +00:00
Jean-Philippe Lang
9b0fcdaf2b New permission: view news (#7068).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:25:25 +00:00
Jean-Philippe Lang
b674e80128 New Permission: View Forum (#4866).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:20:22 +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
124a459d55 Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 10:30:02 +00:00
Jean-Philippe Lang
5a7211f70e Use the regular "icon icon-*" for admin menu links (#24313).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@15972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 14:44:40 +00:00
Jean-Philippe Lang
b2171c8dfd Add "Log time" to global button menu (+) (#23639).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@15760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 21:08:15 +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
79fcbc82dc Adds a setting for choosing the new object menu item style (#15880).
Set to use the new "+" drop-down by default, but let users revert to the "New issue" tab, or no menu item at all.

git-svn-id: http://svn.redmine.org/redmine/trunk@15508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:26:23 +00:00
Jean-Philippe Lang
cec8fe4cfa Add link to add a new wiki page to "new object" menu (#15880).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:29:34 +00:00
Jean-Philippe Lang
a25a2e9112 Move "New issue" menu item to the new object menu (#15880).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:28:01 +00:00
Jean-Philippe Lang
3da6062d7e Keep the "new object" drop down open when the + sign was clicked (#15880).
For touch displays where :hover does not exist.

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:26:03 +00:00
Jean-Philippe Lang
5adc6a5c9f Add virtual menu at the beginning of the project menu (#15880).
It contains menu items for creating issue categories, versions, news,
documents, and files.

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:23:33 +00:00
Jean-Philippe Lang
2691613c55 Display view permissions first.
git-svn-id: http://svn.redmine.org/redmine/trunk@15467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 17:44:38 +00:00
Jean-Philippe Lang
a6828512c0 Adds Issue#allowed_target_trackers (#7839).
git-svn-id: http://svn.redmine.org/redmine/trunk@15430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-30 18:20:13 +00:00
Jean-Philippe Lang
4019ba76ab Restores the "New issue" tab in the project menu and makes it optional (#6204).
git-svn-id: http://svn.redmine.org/redmine/trunk@15407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-09 17:16:55 +00:00
Jean-Philippe Lang
bda78a4679 Adds "New wiki page" link to create a new wiki page (#5536).
git-svn-id: http://svn.redmine.org/redmine/trunk@15346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-22 17:47:11 +00:00
Jean-Philippe Lang
dcc569fa34 Removed the "New issue" menu item (#6204).
git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 18:37:52 +00:00
Jean-Philippe Lang
64afa24a7f Replaces acts_as_list with an implementation that handles #position= (#12909).
Objects are reordered using the regular attribute writer #position= and AR callbacks.

git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 06:57:20 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
6bb1ea8ae8 Use regular edit/update actions and named routes for JournalsController.
git-svn-id: http://svn.redmine.org/redmine/trunk@15074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 04:39:56 +00:00
Jean-Philippe Lang
9244f67e28 Extract classes to their own files to prevent loading issues (#20508).
git-svn-id: http://svn.redmine.org/redmine/trunk@14694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-19 18:03:25 +00:00
Jean-Philippe Lang
2b43b7e838 Redmine I18n autoload instead of require (#20506).
Patch by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@14509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-18 06:54:26 +00:00
Jean-Philippe Lang
035edd39c4 Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 08:20:32 +00:00
Jean-Philippe Lang
3ae42cb326 Better handle html-only emails (#16962).
git-svn-id: http://svn.redmine.org/redmine/trunk@14313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-15 21:16:42 +00:00
Jean-Philippe Lang
49914f010d Adds a class for handling CSV generation (#7037).
git-svn-id: http://svn.redmine.org/redmine/trunk@14302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-13 07:33:20 +00:00
Jean-Philippe Lang
78384d147a Menu should not include "New issue" for users with copy issues permission only.
git-svn-id: http://svn.redmine.org/redmine/trunk@14290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-30 09:10:06 +00:00
Jean-Philippe Lang
f2b4bd5005 Removed experimental flag on markdown format (#15520).
git-svn-id: http://svn.redmine.org/redmine/trunk@14244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-09 10:35:55 +00:00
Toshi MARUYAMA
40c4682b5b upgrade rmagick to 2.14
And replace deprecated requiring "RMagick" to "rmagick".

git-svn-id: http://svn.redmine.org/redmine/trunk@14170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-14 05:38:14 +00:00
Jean-Philippe Lang
a328224771 Removed IssuesController#update_form action, use #new and #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:00:22 +00:00
Jean-Philippe Lang
c3c7d9a4d2 Adds a :copy_issues permission (#18855).
When copy is allowed, target projects are those on which the user has the :add_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 12:07:00 +00:00