Source

trac-ticketlinks / trac / wiki / admin.py

Author Commit Message Labels Comments Date
rblank
0.12.3dev: Convert paths to unicode before integrating them into error messages on the console. Closes #9571.
Branches
0.12-stable
jomae
0.12.3dev: Added validations for a wiki page name to create, rename and import. Closes #10274.
Branches
0.12-stable
rblank
0.12.2dev: Improved the error message when exporting a wiki page that doesn't exits. Initial patch by Thijs Triemstra. Closes #9926.
Branches
0.12-stable
rblank
0.12.1dev: Added two missing translation markers.
Branches
0.12-stable
cboos
Deprecate `Environment.get_db_cnx` in favor of `Environment.with_transaction` and `Environment.get_read_db()`.
Branches
trunk
rblank
db: Allow nesting `with_transaction()` without having to pass the database connection explicitly. This allowed greatly simplifying the cache code, which has been reduced to a single `@cached` decorator. Part of #9060.
Branches
trunk
cboos
l10n: new extraction and new consolidation (+1 message, -1 message)
Branches
trunk
cboos
l10n: consolidate two similar messages and fix a parameter list of an i18n:msg directive (-1 message)
Branches
trunk
rblank
wiki: Added a command `trac-admin $ENV wiki rename` to (you guessed it) rename a wiki page. Part of #1106.
Branches
trunk
rblank
db: A few `with_transaction`-related fixes.
Branches
trunk
rblank
db: Converted all timestamp columns for resource tables from seconds to microseconds. * Ticket comments can now be added with a shorter interval than one second. * Conversions of datetime objects from / to microsecond timestamps should be done exclusively throught the new `from_utimestamp()` and `to_utimestamp()` functions. '''This changeset requires a database upgrade.''' Closes #6466.
Branches
trunk
rblank
db: Mostly cosmetic fixes related to #8751, and fixed #9059 as suggested in comment:1:ticket:9059.
Branches
trunk
cboos
Refactor transaction handling, using a with_transaction function decorator (paves the way for using `with transaction(env, db) as db` in future versions of Trac). Many thanks to Jan Schukat for this exhaustive patch. Main part of #8751. (contains the fix for the usage of `with_transaction` in `RepositoryCache.sync_changeset`)
Branches
trunk
rblank
0.12dev: Allow importing several files and directories with `trac-admin $ENV wiki load`, and added `trac-admin $ENV wiki replace` to replace the latest version of wiki pages without changing the page metadata. Closes #8861.
Branches
trunk
rblank
0.12dev: Improved the plugin admin panel to provide better grouping of components by module, and to display the component and module docstrings as descriptions. Closes #8839.
Branches
trunk
rblank
0.12dev: Allow dumping a subset of wiki pages with `trac-admin $ENV wiki dump`. Closes #7901.
Branches
trunk
rblank
0.12dev: Don't invalidate the wiki page name cache when importing wiki pages through `trac-admin` if this doesn't create a new page. Related to #8270.
Branches
trunk
rblank
0.12dev: Added missing cache invalidation when importing wiki pages from `trac-admin`. Related to #8270.
Branches
trunk
rblank
0.12dev: `printout()` doesn't support keyword arguments for string expansion.
Branches
trunk
cboos
i18n: don't extract copy feedback (`"%(src)s => %(dst)s"`)
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