Source

trac-ticketlinks / trac / util / text.py

Author Commit Message Labels Comments Date
jomae
0.12.3dev: Quotes non-ascii characters in a query string. IE7 cannot open such a URL. Closes #10275.
Branches
0.12-stable
rblank
0.12.3dev: Convert paths to unicode before integrating them into error messages on the console. Closes #9571.
Branches
0.12-stable
rblank
0.12.3dev: Generate the notification message using `'\n'` instead of `CRLF`, as the conversion is done in the respective `IEmailSender` implementations. Also, factored out EOL-fixing into a separate function, with unit tests. Closes #10377.
Branches
0.12-stable
cboos
0.12.3dev: `unicode_urlencode` should also encode the parameters keys. Also added a few unit tests for those `unicode_...` methods. Part of #10121.
Branches
0.12-stable
jomae
0.12.3dev: `print_table()` support unicode characters and wrong formatted table with non-string objects is fixed.
Branches
0.12-stable
jomae
0.12.3dev: Fixed the wrapping fields with unicode text in the table cells of ticket notification email. Closes #10006.
Branches
0.12-stable
rblank
0.12.2dev: Don't quote unreserved characters in generated URLs. Closes #9965.
Branches
0.12-stable
rblank
0.12.2dev: Improved the session admin commands. * Added "last visit" information to `session list`. * Consistently allow operating on unauthenticated and authenticated sessions. * Removed the possibility to delete all sessions (including authenticated ones), as this is just too dangerous. * Simplified the SQL queries. Closes #9658.
Branches
0.12-stable
rblank
util: Fixed `to_json()` and `javascript_quote()` to escape special HTML characters (`&<>"`) so that they aren't escaped by Genshi, and fixed escaping of those same characters when generating elements in !JavaScript through `jQuery()`. Initial patch by jomae. Closes #9396.
Branches
trunk
rblank
util: Moved concurrency utilities out of `trac.util` and into a separate module `trac.util.concurrency` to avoid circular dependencies. Added a few missing translation markers reported (with a patch) by nzoltan. Closes #9319.
Branches
trunk
cboos
Refactor `to_unicode`, handle `str` first.
Branches
trunk
cboos
Simplify `to_unicode`. The `charset` parameter to indicate the ''first'' encoding to try, by default "utf-8". The difference is that now specifying an encoding explicitly doesn't change the conversion to be in ''replace'' mode. Instead, if the first conversion fails, we use the failsafe 'latin1' encoding. If one really need a conversion in replacement mode, this must be done explicitly. A later simplification step will …
Branches
trunk
rblank
utils: Fixed `normalize_whitespace()` to actualy do what it advertises in its signature.
Branches
trunk
cboos
0.12dev: merged [source:sandbox/multirepos@9124] branch on trunk. Closes #2086.
Branches
trunk
rblank
0.12dev: Added an automatic preview to the ticket comment box and the ticket comment editor. Part of #8855.
Branches
trunk
cboos
text utils: only `empty` should be used, better hide `Empty` class as it originally was, so that people are not tempted to use it. Follow-up to r8669.
Branches
trunk
cboos
Minor corrections to the display of attachment size and pretty sizes in general. Patch contributed by sebastian@krysmanski.de. Closes #8448.
Branches
trunk
rblank
0.12dev: Autumn cleaning using pylint: * Removed unused imports. * Removed unused locals. * Fixed whitespace issues (indentation, spacing, coding conventions). * Removed semicolons at the end of lines (some people around here have been doing too much C ;-). Closes #7518.
Branches
trunk
cboos
psycopg2 and MySQLdb didn't handle correctly `execute()` arguments which were subclasses of `unicode`. For psycopg2, we register explicit adapters. For MySQLdb, we reuse the converter of the types.UnicodeType for the Markup class (Empty was OK since string_literal can convert it to `''`). Fixes #8740 (Empty class, introduced in r8661) and #3501 (Markup class). Thanks to harald.radi@nme.at for contributing a fix in #3501.
Branches
trunk
rblank
0.12dev: Catch all exceptions when loading modules and plugins, and print a complete traceback for "unexpected" ones. Thanks to Felix Schwarz for the patch. Closes #8667.
Branches
trunk
rblank
0.12dev: Added support for AND/OR queries, on the custom query page, in the ticket query syntax and in the `[[TicketQuery]]` macro. Thanks to Erik Bray for his excellent initial patch! Closes #2647.
Branches
trunk
cboos
0.12dev: port r8179, r8185 and r8186 from 0.11-stable.
Branches
trunk
cboos
0.12dev: ported r7897 and r7904 from 0.11-stable.
Branches
trunk
jonas
Merged [7889] from 0.11-stable.
Branches
trunk
cboos
0.12dev: merged [7828-7847/branches/0.11-stable]
Branches
trunk
rblank
0.12dev: Merged [7794] from 0.11-stable.
Branches
trunk
jonas
trunk: Merged [7786] from 0.11-stable. Closes #7912.
Branches
trunk
rblank
0.12dev: Modularized `trac-admin` by introducing an interface `IAdminCommandProvider` and moving all commands except `help`, `quit` and `initenv` into their respective owner modules. * Tab-completion has been reworked and should be closer to what's usual in shells. * Exceptions raised in tab-completion functions are now displayed, where they were previously swallowed by `readline`. This completes the first part of #7770. Don't forget to run: {{{ python setup.py develop }}} to pick up the new modules.
Branches
trunk
rblank
0.12dev: Merged [7611-7613] from 0.11-stable.
Branches
trunk
cboos
0.12dev: merged [7390-7394] via svnmerge from [source:branches/0.11-stable]
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. Next