| Commit | Date | |
|---|---|---|
|
[r7341]
by
cboos
WikiRename: illustrate the transition towards use of context manager and `with` statement, for `transaction` (requires Python 2.5 - not meant for trunk). |
2008-07-10 17:46:14 | Tree |
| 2008-07-10 17:42:17 | Tree | |
| 2008-07-10 17:41:41 | Tree | |
|
[r7338]
by
cboos
WikiRename: added a functional test for the wiki rename operation - create wiki page with one attachment |
2008-07-08 18:31:26 | Tree |
|
[r7337]
by
cboos
WikiRename (rebasing r6424, r6497): add the possibility to leave a redirection page for pointing to the renamed page. This is admittedly a poor way to fix dangling links, but perhaps the most effective one in the current state, as it's not really possible for now to go back to all the wiki texts (on wiki pages, tickets, ...) that may contain a link to the old page and update them. |
2008-07-08 13:44:00 | Tree |
| 2008-07-08 13:33:35 | Tree | |
|
[r7335]
by
cboos
WikiRename: added unit-test for `WikiPage.rename`. - set correctly the `WikiPage.name` property after the rename |
2008-07-08 13:23:16 | Tree |
|
[r7334]
by
cboos
WikiRename (rebasing r6422): add a method to the model for renaming a wiki page in-place. New methods: Implementation note for `Attachment.reparent_all`: we move files individually instead of the whole folder, because: Note also that it's because of 3. (sub-folders may exists) that we don't remove the old attachment folder after the reparent. |
2008-07-08 12:52:01 | Tree |
|
[r7333]
by
cboos
WikiRename (rebasing r6421): simplify transaction handling in the Wiki model The !WikiPage public API is not modified. A helper `transaction` function is used to factor out the `handle_ta` business. Its usage is very simple: TODO: similar changes could apply to `trac.ticket.model` |
2008-07-08 12:48:18 | Tree |
| 2008-07-08 11:51:07 | Tree |