1. Alex Willmer
  2. trac-ticketlinks

Source

trac-ticketlinks / trac / web / href.py

Author Commit Message Date Builds
rblank
0.12.2dev: Don't quote unreserved characters in generated URLs. Closes #9965.
Branches
0.12-stable
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
rblank
0.12dev: Fixed `Href.__call__()` to also accept subclasses of `dict`, `list` and `tuple`. Closes #8632.
Branches
trunk
rblank
0.12dev: Ensure `Href` always generates valid URLs, even with an empty base. Closes #8159.
Branches
trunk
cboos
Href can be given a dictionary, a list or a tuple of parameters in its last positional argument, but this should also work if the collection is empty.
Branches
trunk
jonas
Fixed copyright year.
Branches
trunk
cboos
Add a `timeline:` TracLinks, for creating links to the Timeline from within wiki text. The format to use for the link is ISO:8601. If the timezone is not specified, the timezone is assumed to be UTC. At least the year and the month has to be specified. If the hour is specified, the events within that hour in the timeline will be highlighted, same for the minutes and the seconds. Examples: - timeline:2007 - links to the 1st of January, 2007 - timeline:2007-02 - links ot the 1s of …
Branches
trunk
cmlenz
Decouple `env.href` and `env.abs_href` from the current request, and instead base them on the `base_url` option in [wiki:TracIni trac.ini].
Branches
trunk
cmlenz
Update link to project site in all the boilerplate etc.
Branches
trunk
cboos
Move some of the trac.util functions in dedicated modules: * trac/util/text.py for the unicode and text formatting utilities * trac/util/datefmt.py for the date formatting and parsing utilities * reorganized a bit the remaining functions in __init__.py 1. algorithmic functions 2. os/sys utilities 3. crypto utilities * adapted all the `import` statements for the above changes * fixed a few remaining !TracError import from `trac.util` (shou…
Branches
trunk
cboos
Typos in trac.web.href.Href docstring spotted and fixed by Tim Hatch. Closes #2761.
Branches
trunk
jonas
Changed the encoding of our python files to utf-8.
Branches
trunk
jonas
Merged sandbox/unicode in trunk.
Branches
trunk
cboos
Fix remaining [http://www.python.org/peps/pep-0263.html PEP 263] coding declarations (`s/iso8859-1/iso-8859-1/`). This allows the test suite to be run when using ActiveState's Python 2.4.1 on Windows. Without this change, spurious syntax errors occur, see [http://sourceforge.net/tracker/index.php?func=detail&aid=1175396&group_id=5470&atid=105470 #sf1175396].
Branches
trunk
cmlenz
Use `dict.has_key(x)` instead of `x in dict.keys()`.
Branches
trunk
cmlenz
Switching to the modified BSD license. Unfortunately, this removes FastCGI support (the included implementation was GPL-licensed). Hopyfully, it'll be resurrected with a different implementation soon.
Branches
trunk
cboos
Make the `search:` link syntax consistent with the `query:` one. That is, one can construct complex search queries by starting the query argument with a `?` sign, followed by the search query parameters as they would appear in the URL. E.g. `search:?q=link+syntax&wiki=on` will prepare a link for searching about ''link syntax'' in the wiki pages only.
Branches
trunk
cmlenz
Allow {{{Href}}} objects to be called without args to get the base URL.
Branches
trunk
cmlenz
A couple of fixes for Python 2.2 compat.
Branches
trunk
cmlenz
Refactoring: Moved {{{Href}}} class to {{{trac.web.href}}}, and made it completely generic.
Branches
trunk