1. Alex Willmer
  2. trac-ticketlinks

Source

trac-ticketlinks / trac / env.py

Author Commit Message Date Builds
rblank
0.12.3dev: Convert paths to unicode before integrating them into error messages on the console. Closes #9571.
Branches
0.12-stable
rblank
0.12.3dev: Added explicit encodings when rendering Genshi streams, for compatibility with Genshi trunk.
Branches
0.12-stable
rblank
0.12.3dev: Fixed two misuses of `property()`, and cleaned up all other instances. Closes #10078.
Branches
0.12-stable
rblank
0.12.2dev: Fixed an obsolete docstring. Patch by Felix Schwarz. Closes #9720.
Branches
0.12-stable
rblank
0.12.1dev: Be explicit about the resolution of relative paths in `[logging] log_file`. Part of #9361.
Branches
0.12-stable
rblank
0.12.1dev: Improved the error reporting when backing up the database. In particular, catch the case when the backup tool (`pg_dump`, `mysqldump`) cannot be found. Closes #9400.
Branches
0.12-stable
rblank
0.12-stable: Refactored the environment creation to: * ensure that plugins located in a shared plugin directory specified in an inherited configuration file are actually called during environment creation; * simplify the code path and avoid having to re-load the configuration after creation. Closes #9416.
Branches
0.12-stable
cboos
0.12.1dev: ported r9924, fix for deploy
Branches
trunk
cboos
TracIni#inherit-section: a bit of clarification of the terminology (related to #9416)
Branches
trunk
cboos
env: fix glitch in `[logging] log_format` doc.
Branches
trunk
rblank
env: Fixed `Environment` so that `IEnvironmentSetupParticipant.environment_created()` is actually called on creation. Patch by jomae. Part of #9416.
Branches
trunk
cboos
Move `with_transaction` and `get_read_db` from `trac.db.util` to `trac.db.api`.
Branches
trunk
cboos
env: unify `get_db_cnx` with `get_read_db`. As ''transaction-safe'' usage of db connection require the use of `with_transaction`, the legacy `get_db_cnx` which was used to indifferently get connections for reading or for writing should not be used anymore. However, as we continue to support it for 0.12.x, it can nevertheless be made aware of the new mechanism by doing the same thing as `get_read_db`: - when used for reading, it can therefo…
Branches
trunk
cboos
logger: more robust clean-up of log handler. It was wrong to hook the Handler on the Logger, as the latter is unique for a given environment. Therefore the wrong handler could be closed. Should fix #6580.
Branches
trunk
cboos
env: simplify `shutdown` method, no need for `except_logging`, as it's simpler to just shutdown the \!DatabaseManager.
Branches
trunk
rblank
chrome: Follow-up to [9665], made more enumerations more robust. Closes #9342.
Branches
trunk
rblank
util: Moved concurrency utilities out of `trac.util` and into a separate module `trac.util.concurrency` to avoid circular dependencies. Added a few missing translation markers reported (with a patch) by nzoltan. Closes #9319.
Branches
trunk
rblank
Made the collection from enumeration methods of interfaces more robust against the "accidental" return of `None`. Discussed in comment:8:ticket:9316 and following.
Branches
trunk
cboos
i18n for the footer.
Branches
trunk
rblank
upgrade: Added a hint to run `trac-admin $ENV wiki upgrade` after a successful `trac-admin $ENV upgrade`.
Branches
trunk
cboos
Make environment upgrades more robust by committing after each upgrade step. This was anyway the de facto way to make upgrades more robust (see e.g. [Bitten 786/trunk/bitten/main.py]).
Branches
trunk
cboos
Plugin admin: the currently selected db connector becomes a required component. To that end, replace the global list of components by the use of an optional `required` flag on the Component (if missing, equivalent to `False`).
Branches
trunk
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
rblank
env: Improved the `project_url` docstring. Suggested by Anatoly Techtonik on trac-dev.
Branches
trunk
rblank
admin: Remove `wiki-macros` on upgrade (or warn if it is non-empty). Closes #9023.
Branches
trunk
rblank
env: Added a new interface `ISystemInfoProvider` for components to provide version information of external packages they use. This information is displayed on the "About Trac" page and in internal error reports. Closes #8908.
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
versioncontrol: Use `RepositoryManager.get_repository()` consistently instead of `Environment.get_repository()`, and updated the documentation of the latter to emphasize the standard way of retrieving a repository.
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next