1. Alex Willmer
  2. trac-ticketlinks

Source

trac-ticketlinks / trac / config.py

Author Commit Message Date Builds
jomae
0.12.3dev: Raises `TracError` if a config file cannot be read, and `trac-admin` handles the exception. Closes #10044.
Branches
0.12-stable
rblank
0.12.2dev: Show an error message in `trac-admin $ENV config get` and `trac-admin $ENV config remove` if the option doesn't exist. Patch by Thijs Triemstra. Closes #9931.
Branches
0.12-stable
rblank
0.12.2dev: Refactored all uses of `trac.config._TRUE_VALUES` to use `trac.util.as_bool()` instead, and refactored the latter so that it behaves like `Configuration.getbool()`, except for the following: * Strings representing non-zero numbers are interpreted as true, whereas before only "1" was. This will break for users who disable options by setting them to "2", but hey... * The value "aye" was removed from the list of values interpreted as true, as it's not really useful and wasn't documented anyway. Part of #9721.
Branches
0.12-stable
osimons
0.12dev: `any()` was introduced in python 2.5, so need to import from compat seeing 2.4 is still supported for 0.12-stable.
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
rblank
i18n: Added a few missing translation markers.
Branches
trunk
rblank
config: Added a `ChoiceOption` descriptor for options that allow selecting one item out of a list. Closes #7432.
Branches
trunk
rblank
config: Added a `FloatOption` descriptor, and changed `[trac] auto_preview_timeout` to accept `float` values. Closes #9144 and part of #7432.
Branches
trunk
rblank
Config: Fixed multiple config inheritance so that default values defined in `Option` descriptors are taken last. Closes #8997.
Branches
trunk
rblank
0.12dev: Allow inheriting from multiple files in `trac.ini` by specifying a comma-separated list of files in `[inherit] file=`. Note that this changes the behavior introduced in 0.11.5 for `config.getpath()` and `PathOption` in that they now always resolve relative paths relative to the location of the ''base'' config file (normally `$ENV/conf`), not the file containing the option. Closes #5525.
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: Merged [8816,8819,8820] from 0.11-stable.
Branches
trunk
rblank
0.12dev: Handle `Option` instances defined in non-`Component` classes correctly when retrieving the list of options for enabled components. Closes #8808.
Branches
trunk
cboos
0.12dev: merged 0.11.6dev (more precisely, integrated [8711,8727,8729] and recorded r8728 as merged). And now a green bar to keep Remy happy: [[span(style=background:#99dd99, All tests passed on Windows, for all the db backends)]].
Branches
trunk
rblank
0.12dev: Hide configuration options for disabled components. Closes #8766.
Branches
trunk
rblank
0.12dev: Merged [8635] from 0.11-stable.
Branches
trunk
cboos
0.12dev: merged all recent changes from 0.11.6dev (only r8335 and r8354 missing)
Branches
trunk
osimons
0.12dev: Merged [8303] from 0.11-stable - `config.getpath()` and `PathOption` (#8358).
Branches
trunk
rblank
0.12dev: Merged [8218,8239,8242] from 0.11-stable.
Branches
trunk
osimons
0.12dev: Merged [8243] from 0.11-stable (#8290 - Bugfix and cleanup of how config handles Option from registry).
Branches
trunk
cboos
0.12dev: port r8179, r8185 and r8186 from 0.11-stable.
Branches
trunk
jonas
Merged [7889] from 0.11-stable.
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
jruigrok
Drop support for Python 2.3.
Branches
trunk
jonas
Fixed copyright year.
Branches
trunk
cboos
Yet another follow-up: add missing `os` scope for W_OK
Branches
trunk
thatch
Followup to r6837, don't try to touch a file that doesn't exist, or we don't have rights to. There was a test failure introduced in the wiki formatter tests because its EnvironmentStub doesn't have a filename.
Branches
trunk
cboos
While saving configuration changes, enforce ''unicode'' comparison between current value and default value taken from parent config. Fix #6535.
Branches
trunk
osimons
Updated the `trac.config.Configuration.get*() and Section.get*()` methods to be more consistent in their input and return values - with recommended default of string or 'base type' signified by method name, and always looking to return the 'base type'. Introduces a `Configuration.has_option(section, option)` that checks for the existence of an option somewhere in project trac.ini file, inherited trac.ini file, or in the options registry. Updated method documentation + added some tests. Closing #4977.
Branches
trunk
cboos
The test for the existence of a configuration section should take into account the inherited configuration files. Fixes #6215.
Branches
trunk
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next