Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/supybotconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow bool variables to be set via supybot registry.Richard Darst2009-07-311-8/+11
| | | | | | - Now, all str and bool variables can be set via supybot. darcs-hash:20090731181024-82ea9-afba08351c4d40af5612551a4945db351d809239.gz
* Improve semantics of setting the supybot config proxyRichard Darst2009-07-311-9/+10
| | | | | | - This no longer mucks with global variables as badly as before... darcs-hash:20090731180253-82ea9-c7a6c0a923353a81e3b8be45e366eb8fe1b3d8ee.gz
* Change writers dict semanticsRichard Darst2009-07-301-2/+2
| | | | darcs-hash:20090730193120-82ea9-7059c8b23c69fdd0f7544ed300e4d4b6644462b9.gz
* Add some copyright notices to other filesRichard Darst2009-07-071-0/+30
| | | | darcs-hash:20090707030320-82ea9-784086ecf5900a95b34f0337aaede06aa9078b4f.gz
* Don't require writers to have a filename extensionRichard Darst2009-07-061-3/+3
| | | | | | | | - The "extension" isn't just the extension, but more generally the data that tells the writer what to do with the output. This is a kludge for now, hopefully it will be replaced later. darcs-hash:20090706233707-82ea9-4279f3a820f5232b78811d0b759ca1672943dd2e.gz
* Change format of writer_mapRichard Darst2009-07-011-2/+2
| | | | | | | - we don't store already-instantiated classes in writer_map. The writers are now instantiated with the meeting object as the argument. darcs-hash:20090701224338-82ea9-1abfb53173ce382764868b6c57a5b2929b36a991.gz
* Re-bind methods when used through the supybot config proxyRichard Darst2009-07-011-1/+12
| | | | | | | | - See comment in this patch to understand what I mean - This is needed to have bound methods in the config class be able to see variables set in supybot. darcs-hash:20090701223232-82ea9-c495b40e37a104533b56d70826c664bbab8bc71a.gz
* Make writer_map not get reset in supybot-based configRichard Darst2009-07-011-2/+6
| | | | | | | - It would reset every time supybot was started, or `reload MeetBot` was called due to unregistering the value first. darcs-hash:20090701222220-82ea9-e3e16b8fd876ac8b6fb23e6734eabcf61a7d7647.gz
* misc changes to supybotconfig.pyRichard Darst2009-06-271-14/+5
| | | | darcs-hash:20090627225033-82ea9-fda4ec012e601a41162d62545ef3fd8d2529d618.gz
* add support for setting writer_map via supybotRichard Darst2009-06-271-0/+44
| | | | | | | - we define our own WriterMap class to translate the config to/from a string. This is the Right Way to integrate with the supybot registry. darcs-hash:20090627224926-82ea9-c1dfa4da4724e29d660382082a7ced0da1d4b5c1.gz
* Enable per-channel config via supybotRichard Darst2009-06-271-5/+5
| | | | darcs-hash:20090627224321-82ea9-69b62add26a3d4d5de1f87a0ae4c13d4c167beb0.gz
* Initial checkin of supybot-based config methodRichard Darst2009-06-261-0/+72
- this simply proxies all string attributes of the Config class to the supybot config namespace supybot.plugins.MeetBot.* When you adjust them in supybot, the MeetBot methods see the changes. - To enable, you must set supybot.plugins.MeetBot.enableSupybotBasedConfig to True, and then reload MeetBot. Then "config list supybot.plugins.MeetBot" and you'll see a bunch of variables for you to change. - To-do: think about supybot config stomping changes to defaults, and implement channel-based config. darcs-hash:20090626184017-82ea9-c24fcb02c54fd848de6ce5b212b1a48fcf42d970.gz