Menu

Trac Commit Log


Commit Date  
[r2977] by cmlenz

`trac.util` is now a package. Split out `Markup` class into separate `trac.util.html` module.

2006-03-09 14:06:40 Tree
[r2976] by cmlenz

Add two methods to the `Markup` class:
`stripentities(keepxmlentities=False)`:: Replaces all character or numeric entities in the text with equivalent UTF-8 characters, optionally keeping the core XML named entities in place.
`plaintext(keeplinesbreaks=True)`:: Strip all tags and entities from the text, and optionally also replace line breaks with regular spaces (replacing the `rss_title` method).

2006-03-09 11:02:53 Tree
[r2975] by cboos

Correctly highlight a search term prefixed by a "!" character. Closes #2718.

2006-03-08 16:04:14 Tree
[r2974] by cboos

A few typos fixes contributed by Andres Salomon, thanks!

Closes #2813 and #2822.

2006-03-08 15:36:24 Tree
[r2973] by cboos

Improve TracRevisionLog textual !ChangeLog format (3/3): Adding ''action'' information to the output

2006-03-08 11:01:51 Tree
[r2972] by cboos

Improve TracRevisionLog textual !ChangeLog format (2/3): Move the information specific to the changelog format out of the generic `get_changes` function.

2006-03-08 10:58:43 Tree
[r2971] by cboos

Improve TracRevisionLog textual !ChangeLog format (1/3): Refactoring log_changelog.cs to use the ClearSilver ''with'' command.

2006-03-08 10:57:15 Tree
[r2970] by cmlenz

Ported [2969] to 0.9-stable (fixing #2777).

2006-03-08 09:36:21 Tree
[r2969] by cmlenz

Gracefully handle invalid character entities in verbatim HTML. Closes #2777.

2006-03-08 09:34:50 Tree
[r2968] by cboos

Autodetect big changesets and optimize their display.

When a changeset is deemed to be too big to be displayed in one page containing all the diffs, the actual diffs are simply not included in the view.

Instead, the modified file entries have a link pointing to a TracChangeset view that will contain only the changes affecting that file.

In order to detect big changesets, the following heuristic is used:
1. The sum of the sizes in bytes of the modified files (old ones + new ones) should not exceed the `max_diff_bytes` parameter
2. The total number of files in the changeset should not exceed the `max_diff_files` parameter.
3. If there's only one file modified, rule 1. is ignored and the diff content is always shown.

The following defaults are used:
{{{
[changeset]
max_diff_bytes = 10000000
max_diff_files = 1000
}}}

This should close #2343 and #2591.

2006-03-08 09:28:30 Tree
Older >
MongoDB Logo MongoDB