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

6783 Commits

Author SHA1 Message Date
Go MAEDA
89f026e638 Remove trailing whitespaces from app/views/wiki/show.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@17613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-31 07:15:19 +00:00
Go MAEDA
5f96648717 Use Project::STATUS_ACTIVE constant instead of harcoded 1 (#29449).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 07:01:51 +00:00
Go MAEDA
bae9ffd327 Filter out issues from closed projects in the following widgets (#29449):
* Issues assigned to me
* Reported issues
* Watched issues

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 06:14:56 +00:00
Go MAEDA
f62b46def8 Revert unwanted changes in r17607 (#20081).
git-svn-id: http://svn.redmine.org/redmine/trunk@17609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 05:00:04 +00:00
Go MAEDA
a0479c768e Filter time entries after project status (#20081).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:05:18 +00:00
Go MAEDA
21034c5628 Filter issues after project status (#20081).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:03:52 +00:00
Go MAEDA
a99c7104c1 Reverted r17605 that breaks some tests (#26576, #29730).
git-svn-id: http://svn.redmine.org/redmine/trunk@17606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 00:18:48 +00:00
Go MAEDA
758b6f5a59 Previous/Next link on repository page disappears when switching to "View differences" tab (#26576, #29730).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 11:59:29 +00:00
Go MAEDA
57a4fedd34 Handles the case when an expired token is in the users session (#29781).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-28 05:59:11 +00:00
Go MAEDA
9a53b68b73 Fix that MyHelper::render_activity_block is not timezone aware (#2471, #29816).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-20 23:43:25 +00:00
Jean-Philippe Lang
e589937aa7 Removes method_missing override (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 19:04:25 +00:00
Jean-Philippe Lang
21e11bd9cd Replaces remaining #deliver with #deliver_later (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 18:45:34 +00:00
Jean-Philippe Lang
0c78056a69 Send emails asynchronously (#26791).
Custom async_* delivery methods are removed in favor of ActiveJob (Async by default).

git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-10 17:13:09 +00:00
Jean-Philippe Lang
5533eeff23 Fixed that test_email raises an error with #deliver_later (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 16:07:45 +00:00
Go MAEDA
e159928e6b Use find_by instead of where.first to remove unnecessary sorting (#26747).
Patch by  Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 16:03:26 +00:00
Jean-Philippe Lang
323ef3182b Ensure that ActiveRecord::Base objects are fully serialized for mail sending (#26791).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@17585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 13:10:22 +00:00
Jean-Philippe Lang
5416ed1022 Cleanup: Remove Issue#each_notification and Journal#each_notification (#26791).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@17584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 13:09:38 +00:00
Jean-Philippe Lang
015ca36634 Send individual emails for each mail recipient (#26791).
We are creating multipe mails per class notification event, one per
recipient, wrapped in a Mailer::MultiMessage object to send them all at
once.

We keep the existing interface of all class methods intended to be used
by external code the same as they were before, with one exception:

We provide additional recipient addresses in options[:recipients] for
Mailer.security_notification. Since the first-class recipients have to
be users to render individual mails for them, additional recipient
addresses have to be provided with some other channel.

By providing additional recipients in options[:recipients], we can solve
the use-case for address change notifications for users, which probably
is the only real use-case for having to use a plain email address
instead of a User as a notification recipient.

Patch by Holger Just and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 13:08:52 +00:00
Go MAEDA
00311c574e Let pagination always be visible (#29395).
Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@17570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:31:14 +00:00
Go MAEDA
7516823617 Adds file preview prev/next navigation with arrow keys (#29395).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:27:09 +00:00
Go MAEDA
7d615fd516 Repository entry pagination (#29395).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:24:06 +00:00
Go MAEDA
dcc7ecb34a Attachments prev/next navigation (#29395).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 13:20:11 +00:00
Go MAEDA
28c231473f Custom queries are broken by updating with nil parameter values (#29701).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-04 12:46:32 +00:00
Go MAEDA
3952c4d264 Extend Issue Summary to include subprojects (#2529).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-03 07:16:47 +00:00
Go MAEDA
824f98e353 Remove unused variable 'filter_options' from Query#add_filter (#29710).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-02 03:43:39 +00:00
Jean-Philippe Lang
3a35613fe3 Adds style to the empty preview message (#27758).
git-svn-id: http://svn.redmine.org/redmine/trunk@17541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-30 09:45:48 +00:00
Jean-Philippe Lang
d3f044c734 Add a checkbox to create the wiki page with or without parent (#26043).
git-svn-id: http://svn.redmine.org/redmine/trunk@17538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-30 09:20:35 +00:00
Jean-Philippe Lang
56138544e1 Removed unused helper #preview_link (#27758).
git-svn-id: http://svn.redmine.org/redmine/trunk@17527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 11:00:09 +00:00
Jean-Philippe Lang
dc4bb0fb06 Removes render_ prefix from cancel_button_tag methods (#8888).
git-svn-id: http://svn.redmine.org/redmine/trunk@17523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:49:48 +00:00
Jean-Philippe Lang
6c0aa5cb89 Add cancel button to new/edit log time page (#8888).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:47:59 +00:00
Jean-Philippe Lang
b9fa262165 Adds preview option to the wiki toolbar (#27758).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:27:30 +00:00
Go MAEDA
053017ae21 Move "Latest news" above "Members" on project overview page (#29183).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-25 00:45:00 +00:00
Go MAEDA
c76c0900bb Use the id field as project_key in ProjectCustomField#visibility_by_project_condition by default (#29161).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-24 05:31:13 +00:00
Jean-Philippe Lang
5282a45b9b Link to user in wiki syntax only works when login is written in lower case (#26892).
Patch by Marius BALTEANU and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:55:35 +00:00
Jean-Philippe Lang
bbb059d024 Use label_revision instead of label_version for wiki edits (#26575).
git-svn-id: http://svn.redmine.org/redmine/trunk@17513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:12:37 +00:00
Jean-Philippe Lang
0956d21756 Add some spacing.
git-svn-id: http://svn.redmine.org/redmine/trunk@17512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:10:31 +00:00
Jean-Philippe Lang
a54c69ce87 Cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@17511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:08:24 +00:00
Jean-Philippe Lang
8eb8cdc06d Remove link to current version, already present in the page breadcrumb (#26575).
git-svn-id: http://svn.redmine.org/redmine/trunk@17510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:58:45 +00:00
Jean-Philippe Lang
b085b2fce1 User label_revision instead of label_version for wiki edits (#26575).
git-svn-id: http://svn.redmine.org/redmine/trunk@17509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:55:40 +00:00
Jean-Philippe Lang
c9640667d1 redmine📧read and rdm-mailhandler.rb should use safe_receive instead of receive (#29614).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:36:30 +00:00
Jean-Philippe Lang
e978d480cd Remove unused and broken method CustomField.visibility_condition (#29160).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@17507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:34:24 +00:00
Jean-Philippe Lang
a9eaf563a5 Support self-signed LDAPS connections (#29606).
Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@17505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:28:36 +00:00
Jean-Philippe Lang
aac543dfba Column Project is no longer added by default to the list of default columns for time entries (#26537).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 11:59:52 +00:00
Jean-Philippe Lang
e856c9f879 Fixed that issue details page shows default values for custom fields that aren't actually set (#25726).
git-svn-id: http://svn.redmine.org/redmine/trunk@17499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 08:25:25 +00:00
Go MAEDA
55ee0b8f7f Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response (#28191).
Patch by Alex Stanev.


git-svn-id: http://svn.redmine.org/redmine/trunk@17498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 00:17:11 +00:00
Go MAEDA
d84837e6f6 Move left bottom links from project settings above (#25853).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 22:30:57 +00:00
Go MAEDA
0d29d3208d Expose the Admin flag on the users api to admin users (#29459).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 14:54:38 +00:00
Go MAEDA
e9d15d691b Add a link to issue summary to issue tracking box on overview page (#29644).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 06:25:01 +00:00
Go MAEDA
4a5a68f19c Add assignee's icon to tooltips in gantt and calendar (#29306).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-18 23:44:42 +00:00
Go MAEDA
dc8079fa22 Add "View Differences" button above wiki and repository revisions table (#12221).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-18 10:32:43 +00:00