Menu

Trac Commit Log


Commit Date  
[r3315] by cboos

Added unit test for mixed lists with multi-line items.

2006-05-18 12:57:07 Tree
[r3314] by cboos

Fixed a subtle unicode issue related to string expansion when using an `trac.util.markup.Element` argument.

The result of a string expansion (e.g. `"%s" % text`) is either a `str` object or an `unicode` object, depending on the arguments:
* if there's at least one `unicode` argument, the result will be `unicode`
* otherwise, it will be a `str` object, regardless of the actual type of
the argument __after__ the call to `__str__`.

So in this case, doing `"</p>%s<p>" % text`
when `text` is a `trac.util.markup.Element` object
will result in the `unicode` object returned by
`Fragment.__str__` to be coerced into a `str` object,
which in turn may raise the usual `UnicodeEncodeError` ...

2006-05-18 09:03:02 Tree
[r3313] by cboos

Quick fix for the log TracLinks syntax involving hexa ids: a minimal length is now required if hexa numbers are used.

2006-05-17 17:38:21 Tree
[r3312] by cboos

Added a `send_converted` helper method to `Mimeview`.

It can be used in modules that provide alternative download links.

2006-05-17 17:22:44 Tree
[r3311] by cboos

Small fixes for the `IContentConverter`s in the ticket subsystem:

* ''Comma-delimited Text'' uses the `text/csv` MIME Type, as per rfc:4180 (actually, that was already done in r3309)
* ''Tab-delimited Text'' now uses the [http://www.iana.org/assignments/media-types/text/tab-separated-values text/tab-separated-values] MIME Type.

2006-05-17 17:16:34 Tree
[r3310] by cboos

Use the wikified changeset log message in order to compute the ETag of a changeset view. Fixes #3116.

2006-05-17 16:16:32 Tree
[r3309] by cboos

Small fixes for the `IContentConverter`s in the ticket subsystem:

* use `trac.ticket.Ticket` instead of `trac.ticket.model.Ticket`
* use `trac.ticket.Query` instead of `trac.ticket.query`
* use quality `8` instead of `9`, so that it's easily possible for
the user to force the usage of a custom converter, while staying
in the 0-9 range.
* make the conversion tests more platform independant (both modified
tests failed for me on Windows)

2006-05-17 15:27:46 Tree
[r3308] by athomas

PermissionPolicy: Merged log:trunk@...:3307

2006-05-17 10:06:59 Tree
[r3307] by athomas

Added unit tests for ticket content conversion.

2006-05-17 09:34:10 Tree
[r3306] by athomas

`s/get_conversions/get_supported_conversions/g`

2006-05-17 08:35:37 Tree
Older >
MongoDB Logo MongoDB