Menu

Trac Commit Log


Commit Date  
[r6426] by jruigrok

Add some more translations.

2008-01-30 07:53:50 Tree
[r6425] by cboos

bugzilla2trac.py: some syntax fixes, should fix #6732.

2008-01-29 16:41:37 Tree
[r6424] by cboos

WikiRename: 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 that may contain a link to the old page and update them.

2008-01-28 21:15:42 Tree
[r6423] by cboos

WikiRename: add a simple user interface for renaming wiki pages.

The interface was modeled after the one for deleting wiki pages, i.e. with a confirmation page that asks for the additional details.

2008-01-28 21:15:21 Tree
[r6422] by cboos

WikiRename: add a method to the model for renaming a wiki page in-place.

New methods:
- `WikiPage.rename(self, new_name, db=None)`
- `Attachment.reparent_all(cls, env, old_realm, old_id, new_realm, new_id, db)`

Implementation note for `Attachment.reparent_all`: we move files individually instead of the whole folder, because:
1. this will work even if the new resource already exists (e.g. for merges)
2. it's complex when the new resource is a sub-folder if the old one
3. it's simply not possible in the general case (e.g. when the new page doesn'titself exist, but there are already sub-folders)

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-01-28 21:14:53 Tree
[r6421] by cboos

WikiRename: 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:
- if the function is given a database connection, it will simply execute the callback as part of another transaction,
- if the function has to retrieve a new database connection, it takes responsibility to either `commit` the changes performed by the callback or to `rollback` them, if any exception was raised.

TODO: similar changes could apply to `trac.ticket.model`

2008-01-28 21:14:29 Tree
[r6420] by cboos

Branching WikiRename for implementing #1106

2008-01-28 20:59:29 Tree
[r6419] by cboos

A few clean-ups:
- remove unused variable in wiki/model.py
- typo in wiki_delete.html template

2008-01-28 20:57:56 Tree
[r6418] by osimons

SpamFilter: Fixing a minor glitch with title attributes. Closes #4941.

2008-01-27 23:53:12 Tree
[r6417] by osimons

Small visual fix for label of Inter* links. When used as `[trac🎫1]` it did not show the prefix of 'trac', whereas `trac🎫1` (no brackets) did. Now they both do.

2008-01-25 20:54:13 Tree
Older >