Menu

Trac Commit Log


Commit Date  
[r5161] by eblot

Fix up #4393 (trunk)

2007-04-01 21:35:02 Tree
[r5160] by eblot

Fix up #4393.

2007-04-01 21:25:35 Tree
[r5159] by cboos

Applying Erik Rose's edits from PyCon (log:sandbox/pycon/eriks-edits@...:4871)

2007-03-31 12:30:52 Tree
[r5158] by cboos

Distinctive style for the author info in the TracTimeline. Thanks to karmadude for the patch. Closes #5063.

2007-03-31 11:45:43 Tree
[r5157] by cboos

0.10.4dev: ported r5156 (''call repos.sync in post-commit hook'')

2007-03-31 08:11:39 Tree
[r5156] by cboos

Fix up the trac-post-commit-hook contrib script, after calling `Repository.sync()` explicitly has been mandatory. Thanks to otavio for raising the issue on IRC.

2007-03-31 08:05:59 Tree
[r5155] by cboos

VcRefactoring/Controller quick fix: posargc adjusted to skip 'self'

2007-03-30 14:32:00 Tree
[r5154] by cboos

VcRefactoring/Controller: improve the `RequestProcessor` dispatching logic.

The requests parameters are now automatically associated to arguments of the action methods (`do_<action>` for POSTs, `render_<action>` for GETs and `xhr_<action>` for XMLHttpRequest handler methods).

The complete rules are the following:
0. `req.path_info` is matched using `RequestProcessor.url_pattern` regular expression
1. the handler method's positional arguments are set to either:
1. the value of the similarly named request parameter,
2. the value of the corresponding positional groups from the match
3. to `None`
2. the handler method's keyword arguments are set:
1. the value of the similarly named request parameter,
2. the value of the corresponding named groups from the match
3. to the default value specified in the method signature

This is quite similar to cmlenz's original approach in source:sandbox/controller/trac/web/controller.py, though not exactly the same (there, only keyword arguments could be overriden by request parameters).

2007-03-30 13:56:37 Tree
[r5153] by cboos

VcRefactoring/Controller: clean-up of the Browser module

The remaining _render... methods in !BrowserModule have been moved to the !BrowserRequest class.

2007-03-30 08:01:31 Tree
[r5152] by cboos

0.10.4dev: ported r5151 (''Repository.sync API fix #5014'')

2007-03-30 07:54:33 Tree
Older >