Project

General

Profile

Actions

Feature #202

open

Textilization of Documents, News and Timelog-entry comments

Feature #202: Textilization of Documents, News and Timelog-entry comments

Added by Warren Harris almost 19 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Resolution:

Description

I've noticed another missing textilization:

Under projects/list_documents page, documents are listed with
a preview of their descriptions. However, the descriptions are
not textilized. When the description is shown under the documents/show
page, it is correctly textilized.


Files

news-summ.patch (1.92 KB) news-summ.patch Warren Harris, 2008-02-03 10:56
doc-descr.patch (725 Bytes) doc-descr.patch Warren Harris, 2008-02-03 10:56
textilize-document-description_r3084.patch (663 Bytes) textilize-document-description_r3084.patch Patch against trunk at r3084. Mischa The Evil, 2009-11-22 22:34
textilize-news-summary_r3084.patch (1.2 KB) textilize-news-summary_r3084.patch Patch against trunk at r3084. Mischa The Evil, 2009-11-22 22:34
textilize-timelog-entry-comment_r3084.patch (581 Bytes) textilize-timelog-entry-comment_r3084.patch Patch against trunk at r3084. Mischa The Evil, 2009-11-22 22:34
long_and_textilized_time_entry_comments.patch (4.23 KB) long_and_textilized_time_entry_comments.patch Gustavo Gama, 2010-03-19 15:49
textilization_for_spent_time_comments.patch (1.9 KB) textilization_for_spent_time_comments.patch Marius BĂLTEANU, 2016-12-29 22:57
textilization_for_spent_time_comments_with_test.patch (3.71 KB) textilization_for_spent_time_comments_with_test.patch Takenori TAKAKI, 2022-06-01 09:05
clipboard-202310091009-lju9y.png (34.7 KB) clipboard-202310091009-lju9y.png Go MAEDA, 2023-10-09 03:09
textilization_for_spent_time_comments_with_test-fix-21.patch (4 KB) textilization_for_spent_time_comments_with_test-fix-21.patch Takenori TAKAKI, 2023-10-12 07:07
textilize-time-entry-comments_r25176.patch (6.44 KB) textilize-time-entry-comments_r25176.patch Takenori TAKAKI, 2026-09-29 09:43
textilize-time-entry-comments-extra_r25176.patch (6.52 KB) textilize-time-entry-comments-extra_r25176.patch Takenori TAKAKI, 2026-09-29 09:43

Related issues 13 (2 open — 11 closed)

Related to Redmine - Defect #3740: Code syntax highlighting not working in Document pageClosedActions
Related to Redmine - Defect #5104: Description of document not wikified on documents indexClosedActions
Related to Redmine - Patch #258: Textilize document snippet on overview and activity pageNewActions
Related to Redmine - Feature #8668: make project overview text input fully wiki input text enabledClosedActions
Related to Redmine - Feature #1179: Optionally allow Text and Long Text custom fields support wiki formattingClosedJean-Philippe LangActions
Related to Redmine - Defect #44244: Spent time tab on issue page does not render commit references as linksNeeds feedbackMarius BĂLTEANUActions
Has duplicate Redmine - Defect #3406: Documents view does not parse textile syntax, while detailed view in documents does.ClosedActions
Has duplicate Redmine - Patch #221: Textilized timelog commentsClosedActions
Has duplicate Redmine - Patch #4579: Missing Textilization on Document IndexClosedActions
Has duplicate Redmine - Patch #3815: Format links in TimelogClosedActions
Has duplicate Redmine - Feature #3810: Link to SCM Revision from Time Tracking SummaryClosedActions
Has duplicate Redmine - Feature #4627: Wiki style Formatting in a few placesClosedActions
Has duplicate Redmine - Defect #6038: wiki formatting in spent time commentsClosedActions

Updated by Warren Harris almost 19 years ago Actions #1

Here's another one... seems like there's no reason the news
summary shouldn't also be textilized. (patch included)

Updated by Mischa The Evil almost 17 years ago Actions #2

  • Category set to Text formatting

Just a bump on the issue. Plus is seems slightly related to issue #3740.

Updated by Mischa The Evil almost 17 years ago Actions #3

  • Subject changed from another missing textilization to Textilization of Documents and News

Changed subject only.

Updated by Mischa The Evil almost 17 years ago Actions #4

  • Tracker changed from Defect to Feature

Updated by Mischa The Evil almost 17 years ago Actions #5

Warren Harris wrote:

[...] When the description is shown under the documents/show
page, it is correctly textilized [...]

Except that syntax-highlighting isn't working in that specific case: see issue #3740.

Updated by Mischa The Evil almost 17 years ago Actions #6

I'll make a summary of several different changes regarding proposals to render content as being "textilized":

1. I'll start with the initial request: At the documents page (at http://host.domain.tld/projects/projectfoo/documents) documents are listed with a preview of their descriptions. However, the descriptions are not textilized.
When the description is shown under the documents/show page (at http://host.domain.tld/documents/1), it is correctly textilized.

(patch; textilize-document-description_r3084.patch)

2. Lateron in the journal of this issue the textilisation of the news summary is also proposed and patched.

(patch; textilize-news-summary_r3084.patch)

3. I've now also merged issue #221 into this issue. It's basically a simple request to render the timelog-entry comments also textilized.

(patch; textilize-timelog-entry-comment_r3084.patch)

I've rebased all three patches against the latest trunk and attached them to this issue. I'll close/update issue #221 as being a (partial) duplicate of this issue (patch #221 does some more then what the issue's description says, which is only textilisation of the timelog-comment).

Can a Redmine Lead decide which of the patches will be implemented (in future) and decline the ones that aren't get integrated?

Updated by Mischa The Evil almost 17 years ago Actions #7

Mischa The Evil wrote:

[...] several different changes regarding proposals to render content as being "textilized":

1. [...] (patch; textilize-document-description_r3084.patch) [...]

2. [...] (patch; textilize-news-summary_r3084.patch [...]

3. [...] (patch; textilize-timelog-entry-comment_r3084.patch [...]

[...]

Can a Redmine Lead decide which of the patches will be implemented (in future) and decline the ones that aren't get integrated?

My personal proposal would be to only merge the patch for number 3. That one seems to provide the most useable UI-enhancement with a small change without any unwanted side-effects.
Number 2 seems to has a slight side-effect on the project-overview block and the news index view where trailing new-lines are added. Number 1 seems a good start considering related issue #3740 but therefor also seems to have a higher severity when integrating it in the current state of Redmine (before 0.9 feature freeze).

NB: With all these patches there exists a chance that the users enter comments with markup which /could/ make the UI break. It should be handled with care. This might also be a good reason to decline all off the three patches...

Updated by Jean-Philippe Lang over 16 years ago Actions #8

Text formatting on documents index added in r3602.

Updated by Gustavo Gama over 16 years ago Actions #9

I'm attaching a improved (imho) version of Micha's third patch (the one that deals with time entry comments).

It 'textilizes' time entry comments and removes the length restriction. Also, the form text_fields to enter the time entries were replaced by text_areas's.

Updated by Terence Mill over 15 years ago Actions #10

related with #8668 - missing WIki full textile for project overview

Updated by Ivan Cenov over 13 years ago Actions #11

Terence Mill wrote:

related with #8668 - missing WIki full textile for project overview

Not missing on present day.

News are textilized
time entry comment are not textilized

Updated by Mischa The Evil over 13 years ago Actions #12

Ivan Cenov wrote:

Terence Mill wrote:

related with #8668 - missing WIki full textile for project overview

Not missing on present day.

I've updated #8668 accordingly. Thanks for mentioning it.

Ivan Cenov wrote:

News are textilized

News items are indeed textilized, but not the news summary.

Updated by Dipan Mehta over 13 years ago Actions #13

+1. This is very useful.

When is this likely to be fully accomplished?

Updated by Anonymous about 10 years ago Actions #14

+1
Textilization in the above mentioned areas would be helpful.

Updated by Marius BĂLTEANU almost 10 years ago Actions #15

The attached patch adds textilization to spent time comments also.

Updated by Marius BĂLTEANU over 9 years ago Actions #16

Having textilization support for spent time comments is quite useful. Please let me know if tests are required for my patch.

Updated by Dipan Mehta about 9 years ago Actions #17

The document and news already seems to have textilization support as it seems. Don't know since when though!

Can we also complete the last part as well?

Second oldest unresolved issue by now.

Updated by Go MAEDA almost 5 years ago Actions #18

  • Target version set to Unplanned backlogs

Updated by Takenori TAKAKI over 4 years ago Actions #19

+1 Textlization of the spent time comments would be very useful.
I confirmed that the patch posted by @Marius in #202#note-15 works with the latest version of trunk (r21619).
I made a patch with a little bit refactoring and additional test code, and attache it.

Updated by Go MAEDA over 3 years ago Actions #20

  • Target version changed from Unplanned backlogs to 5.1.0

Setting the target version to 5.1.

Updated by Go MAEDA about 3 years ago Actions #21

Takenori TAKAKI wrote in #note-19:

+1 Textlization of the spent time comments would be very useful.
I confirmed that the patch posted by @Marius in #202#note-15 works with the latest version of trunk (r21619).
I made a patch with a little bit refactoring and additional test code, and attache it.

Thank you for updating the patch but I think the patch should not render Markdown/Textile also in the Spent time tab of an issue.

Updated by Takenori TAKAKI about 3 years ago Actions #22

Go MAEDA wrote in #note-21:

Thank you for updating the patch but I think the patch should not render Markdown/Textile also in the Spent time tab of an issue.

Go Maeda, thanks for pointing that out #note-21.
I have made a patch that fixes the problem you pointed out.
Please try the attached patch.

Updated by Marius BĂLTEANU about 2 years ago Actions #23

  • Target version changed from 6.0.0 to Candidate for next major release

Updated by Marius BĂLTEANU about 2 years ago Actions #24

  • Target version changed from Candidate for next major release to 6.1.0

Updated by Marius BĂLTEANU about 1 year ago Actions #25

  • Target version changed from 6.1.0 to Candidate for next major release

Updated by Marius BĂLTEANU 4 months ago Actions #26

  • Related to Defect #44244: Spent time tab on issue page does not render commit references as links added

Updated by Takenori TAKAKI about 2 months ago Actions #27

I have updated the patch from note-22 for the current trunk (r25176). It includes the fix for note-21 and also fixes #44244.

  • textilize-time-entry-comments_r25176.patch
    • Formats time entry comments in the spent time list
    • Formats time entry comments in the "Spent time" tab of the issue
    • Adds the wiki toolbar to the comment field of the time entry form
  • textilize-time-entry-comments-extra_r25176.patch (optional, apply after the first one)
    • Formats time entry comments in the "Spent time" block of "My page"
    • Adds the wiki toolbar to the comment field in the issue edit form
    • Adds the wiki toolbar to the comment field in the bulk edit form of time entries
Actions

Also available in: PDF Atom