1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-22 16:31:12 +00:00

6308 Commits

Author SHA1 Message Date
Jean-Philippe Lang
3642626052 Fixed Stack level too deep error when calling #find_name_by_reflection for missing record.
git-svn-id: http://svn.redmine.org/redmine/trunk@14002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:57:22 +00:00
Jean-Philippe Lang
efbbabe620 Don't include unused helper modules.
git-svn-id: http://svn.redmine.org/redmine/trunk@14001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:13:09 +00:00
Jean-Philippe Lang
8534fc04a0 Updated code comments.
git-svn-id: http://svn.redmine.org/redmine/trunk@14000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:09:06 +00:00
Jean-Philippe Lang
3da7b1bc28 Implements /issues/new form for creating issues outside a project (#1003).
git-svn-id: http://svn.redmine.org/redmine/trunk@13999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:03:51 +00:00
Jean-Philippe Lang
b17883a2df IssuesController#edit as XML is not implemented.
git-svn-id: http://svn.redmine.org/redmine/trunk@13998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:02:54 +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
37aa016740 Added Issue#attributes_editable?
git-svn-id: http://svn.redmine.org/redmine/trunk@13996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 19:30:15 +00:00
Jean-Philippe Lang
9548d39a15 Moved users list diplayed as available watchers on the new issue form to an helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 17:32:26 +00:00
Jean-Philippe Lang
2b124f1e61 Don't call #upcase on nil.
git-svn-id: http://svn.redmine.org/redmine/trunk@13994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 16:24:19 +00:00
Jean-Philippe Lang
db9bf8cd73 Fixed filtering on date custom field with SQLServer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 16:23:16 +00:00
Jean-Philippe Lang
6aaaac2373 Fixed an error in IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_reverse_order with SQLServer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 15:35:12 +00:00
Jean-Philippe Lang
aeb6dbc306 Links to completed versions on the roadmap page might lead to a "403 not authorized page" (#19030).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 15:06:31 +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
Jean-Philippe Lang
01f673be08 Removed :move_issues permission (#18855).
This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 10:20:53 +00:00
Jean-Philippe Lang
b4c75f8806 Adds a specific string for blank values (#18918).
git-svn-id: http://svn.redmine.org/redmine/trunk@13979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 09:37:27 +00:00
Jean-Philippe Lang
3519083dbe Extract grouping logic to an helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:39:39 +00:00
Jean-Philippe Lang
4bbd3d81fd TimeEntry acts_as_activity_provider scope should joins(:project) (#18818).
Patch by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@13971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:10:57 +00:00
Jean-Philippe Lang
f7cfaf06ad Sort helper undefined to_a for string (#18817).
Patch by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@13970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:08:54 +00:00
Jean-Philippe Lang
86a329eb8b Respect cross-project subtask setting on issue bulk edit form (#18711).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:06:49 +00:00
Jean-Philippe Lang
3bd2b43a2f Raise an error if version is not found (#18983).
git-svn-id: http://svn.redmine.org/redmine/trunk@13965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 08:12:06 +00:00
Jean-Philippe Lang
e94920a5ff Allow filtering of Redmine Reminders by Version (#18983).
Patch by Merul Patel.

git-svn-id: http://svn.redmine.org/redmine/trunk@13964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 07:56:58 +00:00
Jean-Philippe Lang
756eaeffb4 Make search results per page configurable (#19005).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@13962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 07:44:44 +00:00
Jean-Philippe Lang
e11f77a4b0 Show long text custom field changes as a diff (#15236).
git-svn-id: http://svn.redmine.org/redmine/trunk@13954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-31 10:42:41 +00:00
Jean-Philippe Lang
defd3f439f Removed :update key and use :edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-27 21:55:34 +00:00
Jean-Philippe Lang
0ac022e91d The :change_status permission was removed in r1043.
git-svn-id: http://svn.redmine.org/redmine/trunk@13952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-27 21:52:34 +00:00
Jean-Philippe Lang
7a0432d85c Adds support for macro and Redmine links in PDF export (#13051).
git-svn-id: http://svn.redmine.org/redmine/trunk@13944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 09:04:52 +00:00
Jean-Philippe Lang
91967554b9 Use named route.
git-svn-id: http://svn.redmine.org/redmine/trunk@13941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 10:58:21 +00:00
Jean-Philippe Lang
9dc0da6334 Link to the anchor only.
git-svn-id: http://svn.redmine.org/redmine/trunk@13940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 10:54:41 +00:00
Jean-Philippe Lang
18abb3fd88 Use .klass instead of .class_name.constantize.
git-svn-id: http://svn.redmine.org/redmine/trunk@13939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 10:47:21 +00:00
Jean-Philippe Lang
ec09c2c3ca Memorize journal details value name to display.
git-svn-id: http://svn.redmine.org/redmine/trunk@13938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 10:45:45 +00:00
Jean-Philippe Lang
e3ffb1f23b Use journalized attachments to prevent a query when displaying added file.
git-svn-id: http://svn.redmine.org/redmine/trunk@13937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 10:25:05 +00:00
Jean-Philippe Lang
726a9aa809 Set :inverse_of on details association.
git-svn-id: http://svn.redmine.org/redmine/trunk@13936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 10:23:53 +00:00
Jean-Philippe Lang
e04c819895 Don't check if attachments are editable individually.
git-svn-id: http://svn.redmine.org/redmine/trunk@13935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 09:07:33 +00:00
Jean-Philippe Lang
9d3f3289b8 Memorize project override roles.
git-svn-id: http://svn.redmine.org/redmine/trunk@13934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 08:54:04 +00:00
Jean-Philippe Lang
6f661d40b3 Set :inverse_of option on journals association.
git-svn-id: http://svn.redmine.org/redmine/trunk@13923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 08:27:46 +00:00
Jean-Philippe Lang
4730ef894f Fixed that group is not displayed when the first group is a boolean custom field group with "No" value (#18896).
git-svn-id: http://svn.redmine.org/redmine/trunk@13922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:36:59 +00:00
Jean-Philippe Lang
0cde1fccbc Fixed that boolean custom field groups have same label for blank and false values (#18894).
git-svn-id: http://svn.redmine.org/redmine/trunk@13921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:23:11 +00:00
Toshi MARUYAMA
8327f650c3 fix code indent at app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:40:42 +00:00
Toshi MARUYAMA
ad9fd2b66b use "where" instead of find_by_ at Repository::Cvs class
git-svn-id: http://svn.redmine.org/redmine/trunk@13904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:40:34 +00:00
Toshi MARUYAMA
2cc3ba063f revert r13901
git-svn-id: http://svn.redmine.org/redmine/trunk@13903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:27:31 +00:00
Toshi MARUYAMA
6cc1f2be54 workaround unit cvs test failure on sqlite3
git-svn-id: http://svn.redmine.org/redmine/trunk@13901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:13:05 +00:00
Jean-Philippe Lang
93d270388b Prevents calling #truncate on nil.
git-svn-id: http://svn.redmine.org/redmine/trunk@13897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 11:45:08 +00:00
Jean-Philippe Lang
0bcd5be0a5 Use attribute writers instead of before_create callback to normalize comments and committer (#14534).
Unlike other adapters, SQLite raises Encoding::UndefinedConversionError before the callback that reencodes attributes is called.

git-svn-id: http://svn.redmine.org/redmine/trunk@13896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 11:43:58 +00:00
Jean-Philippe Lang
d85f73a30d Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 17:02:55 +00:00
Jean-Philippe Lang
a3a8fee8ad Send password reset email to the email used in lost password form (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:51:29 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Jean-Philippe Lang
000124f44f Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
a18c719fcc Fixed: Custom field is rendered, even if its value is empty (for multiple) (#18654).
git-svn-id: http://svn.redmine.org/redmine/trunk@13864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 13:03:52 +00:00
Jean-Philippe Lang
a4499274a2 Fixed open div tag position.
git-svn-id: http://svn.redmine.org/redmine/trunk@13859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 10:10:48 +00:00
Jean-Philippe Lang
0ed895388b Option to search open issues only (#10734).
git-svn-id: http://svn.redmine.org/redmine/trunk@13858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 10:09:34 +00:00