Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/meeting.py
Commit message (Collapse)AuthorAgeFilesLines
* Allow dashes in command nameAleksey Lim2010-09-301-2/+2
|
* Fix supybot meetings urlAleksey Lim2010-09-121-1/+1
|
* Remove logging to let MyLogger handle all logsAleksey Lim2010-09-101-36/+13
|
* Add %(channel) replacement to filenamesupstreamRichard Darst2009-11-251-2/+7
| | | | | | - Allows configuration of saving on a per-network basis. darcs-hash:20091125085704-82ea9-6068d1ae3eb521f19447c6e07f8dd46390ad6868.gz
* Separate start/endmeeting variables into a replacements methodRichard Darst2009-11-241-12/+16
| | | | | | - The logic of generating replacement variables is only in one spot now. darcs-hash:20091124071505-82ea9-1e7c37da96e9463c29bfb32ee5eb81c8c5b3acea.gz
* Warn when #chair'ing a nick that isn't in the channelRichard Darst2009-10-111-1/+6
| | | | darcs-hash:20091011213501-82ea9-3c525113fb5d54919bb81220143d64217c562fdb.gz
* Add argument parsing for writer extensionsRichard Darst2009-09-241-1/+9
| | | | | | | - The syntax is this: writer_map[".txt|template darcs-hash:20090924061804-82ea9-3eb26b5e91373851376ef0895c070e9265843907.gz
* Create ways for tests to disable meetingLocalConfigRichard Darst2009-09-121-0/+4
| | | | | | | | | - We have the __main__.running_tests that can disable it, for things running in the same python process. - We have an environment variable MEETBOT_RUNNING_TESTS for different python processes. darcs-hash:20090912031547-82ea9-2eaee7f221b6fc07e42fdd0bb04e4c11c6037154.gz
* Move extraConfig for process_meeting to inside __init__Richard Darst2009-09-121-7/+11
| | | | | | | | | - This means that we can use extraConfig to set writer_map (as well as other things that need to be set sooner). - extraConfig was originally added to aid in testing: you can use this to test different config options. darcs-hash:20090912021429-82ea9-8711fd18f0ed10b2241f492b911b1fc8f70401e5.gz
* Change version to 0.1.40_1_4Richard Darst2009-09-111-1/+1
| | | | darcs-hash:20090911214859-82ea9-1e56c042363822cb5521c2751680678b232d0e5d.gz
* Remove pygments import in meeting.pyRichard Darst2009-09-111-2/+0
| | | | | | | | | - Pygments is no longer a dependency for MeetBot. - HTML logs can now use a custom processing method, instead of the pygments-using processing method. The pygments method still exists, but does the import only when necessary, if the old method is enabled. darcs-hash:20090911020204-82ea9-e7d5d1acabb6adc59d3cd4ef355ca7c68f65d3b6.gz
* Fix/improve CSS writers for the HTMLxxx2 writersRichard Darst2009-09-111-0/+5
| | | | | | - cssFile_*, cssEmbed_* config variables for {log, minutes} darcs-hash:20090911015629-82ea9-c3d400078be748da433269fabb3ba06be2f0ca1b.gz
* Add process_meeting function to replay a meetingRichard Darst2009-09-111-0/+30
| | | | | | | | | - The process_meeting method takes the contents of a file, runs it through the Meeting object, and returns the resulting Meeting object. This is useful for doing tests - the Meeting object can be analyzed to make sure the meeting performed as expected. darcs-hash:20090911011646-82ea9-59cea8a934d082d45bf45585b798eac9a430ed59.gz
* add dontSave config variable test in .save()Richard Darst2009-09-111-0/+3
| | | | | | | | - If dontSave is True, then do not write any physical files to disk. The output is only returned. This also helps tests run quickly and without too many side effects. darcs-hash:20090911011253-82ea9-6c9eae67aef7f8549fc374344fafcf2794b391e7.gz
* Make .save() methods return the resultant textRichard Darst2009-09-111-1/+4
| | | | | | | - This allows us to make tests which check the output files from meetings, makeing it so that tests can actually perform useful tasks. darcs-hash:20090911010958-82ea9-64ef270bd49aff09880207f32f7b985cf469e808.gz
* Add safeMode to the Config class, also doc changesRichard Darst2009-09-051-4/+10
| | | | | | | | | | | | | | - safeMode is a variable not designed to be user set which enables a "recovery mode". With this mode, MeetBot will try harder to not let exceptions propogate and have a command fail. - This is good for live meetings, where failure means it loses data. - This is not good for interactive command usage (like replaying logs), since if it breaks you will notice it immediately and can re-run it. - As such, safe mode is by default off, except when run from the supybot plugin where it defaults to on. - Some misc doc changes, in the comments in the Config class. darcs-hash:20090905021856-82ea9-f35a0e382faf274a7f834315cd6fcd9079524ed4.gz
* Rename "#halp" command to "#help".Richard Darst2009-08-311-5/+5
| | | | | | | | - because not everyone speaks lolcat as their native language. - remember, "#help" puts a call for help in the minutes, not give you MeetBot help. darcs-hash:20090831213215-82ea9-48ac6c8594969f87c4101fcf4547f843636dcc6c.gz
* Update __version__ to 0.1.30_1_3Richard Darst2009-08-161-1/+1
| | | | darcs-hash:20090816034909-82ea9-ed9fc6708a7413c0ae1aa4697dec3d8a572991ff.gz
* Rename `.init()` method to `.init_hook()`Richard Darst2009-08-161-2/+2
| | | | | | - because that's more descriptive of what it does. darcs-hash:20090816025725-82ea9-fbdc4f6ef48b73259ffcd3761fda10409e512a6a.gz
* Improve code for realtime updating of log filesRichard Darst2009-08-161-36/+28
| | | | | | | | | | | | | | | - The old code for realtime logfile updating was very messy and hard to understand. This is better, but still not perfect. - Updating in realtime still will have issues if the filename changes during the meeting. This would (right now) be only if you use the #meetingname command. - This is not the most efficient in that it rewrites the whole file every time it updates it. This is for convenience and to keep it from getting too complicated (but may not be true forever). - Right now only the .log.txt writer updates at every step, since that one requires the least computation at each step. darcs-hash:20090816022559-82ea9-f952ffebd683907ff599f8ae78544dfc5faaa13b.gz
* Improve real-time writing of logfilesRichard Darst2009-08-151-21/+17
| | | | | | - Config variable update_realtime now is more useful (saves excess work). darcs-hash:20090815002243-82ea9-c486d2cc0effa9e12c3f0fb16e37ce55ed9bac57.gz
* Add meetbot version to end meeting messageRichard Darst2009-08-141-3/+8
| | | | darcs-hash:20090814212612-82ea9-7e8b84dd130c820423d431fec681201073547c06.gz
* Add a hook which is run each #saveRichard Darst2009-08-071-0/+2
| | | | | | | - This ends the need for a personal local change... should have done this long ago. darcs-hash:20090807211154-82ea9-8b3e00919a311bdd706c3464f707346b02ef0b75.gz
* Change default writers to HTML2 and TextRichard Darst2009-08-071-4/+4
| | | | darcs-hash:20090807203625-82ea9-e906db8ad7fe020c4ccefd22025e8d2526bef854.gz
* Fix asctime() -> localtime() bug in previous recordRichard Darst2009-08-061-1/+1
| | | | darcs-hash:20090806215655-82ea9-7465533a8d09ba71a2d7164c546aefc5b950ac5f.gz
* Set a default self.starttime to avoid some problemsRichard Darst2009-08-061-0/+6
| | | | | | | - This only helps to avoid problems if they come up during the initial #startmeeting command of an real-time meeting. darcs-hash:20090806212932-82ea9-0b63f2adabcfbfcf3f22dadf0f98e9bb991eb50b.gz
* First effort at realtime updating of log filesRichard Darst2009-08-011-10/+24
| | | | | | | | | | | | | - With this change, the .log.txt is updated after every said line, so that people can catch up to the meeting. - This is a general mechanism, but not the most efficient for this task: It re-opens the file after every line. This isn't ideal, but was easiest to integrate. There are other considerations, such as the fact that filenames can change during the meeting (#meetingname command) or file permissions change (#restrictlogs). I still need to work out how to deal with these issues... darcs-hash:20090801003826-82ea9-fddfe6f61bf11ccce94fd80f6f66f3ffbe5fc9f7.gz
* Add a warning then the __main__ command isn't foundRichard Darst2009-07-311-1/+2
| | | | darcs-hash:20090731214209-82ea9-4c1695375475ab581ad7cbff22acf0a9029876ab.gz
* Make MeetBot able to log output from other supybot commandsRichard Darst2009-07-311-15/+23
| | | | | | | | - Responds to a bug report from fedora-devel list. - Now meetbot's output will appear in the logs, too. Before it didn't, such as the start meeting messages. darcs-hash:20090731213147-82ea9-14f497fb994bcee1b0210c27d5c95eb9e2d45125.gz
* Make .additem() method to standardize adding items to minutesRichard Darst2009-07-301-9/+21
| | | | darcs-hash:20090730193225-82ea9-d5c697837abba0659f1a0424684cfc688a61e22a.gz
* Change writers dict semanticsRichard Darst2009-07-301-12/+27
| | | | darcs-hash:20090730193120-82ea9-7059c8b23c69fdd0f7544ed300e4d4b6644462b9.gz
* add a __version__ tag - should be auto-updated, probably...Richard Darst2009-07-301-0/+1
| | | | darcs-hash:20090730192332-82ea9-9e58518cb3ed457c50b727f3147b378651f038ae.gz
* Fix oldtopic encoding issue0_1_2Richard Darst2009-07-121-2/+12
| | | | | | | | - If the oldtopic had non-ascii characters in it, it would have failed to restore it. This fixes that. - Some other rearrangement to support this. darcs-hash:20090712235408-82ea9-da0844509fef51838e773898f02b7ef704005e40.gz
* Fix a problem with supybot-based configRichard Darst2009-07-081-1/+1
| | | | | | - This is caused by use of @property in the supybot-based config. darcs-hash:20090708200038-82ea9-85daca15dc89dfa862d26f9d8acc5d9fc48bc8a7.gz
* Improve mechanisms of encodingRichard Darst2009-07-071-1/+3
| | | | | | | - we now let writers return already-encoded text, this helps in a few cases. darcs-hash:20090707200621-82ea9-e012cd62add13db0c62016414585846a6ed817f7.gz
* update to config variables and initializationRichard Darst2009-07-061-2/+2
| | | | darcs-hash:20090706233407-82ea9-1ccb2a78d350c992ce0e513ec6d98a52d976824e.gz
* Update to config save function to modularizeRichard Darst2009-07-061-7/+23
| | | | darcs-hash:20090706233236-82ea9-15f6d87348ed49cb7e3b2f514e6b11e51568396b.gz
* Some updates to names and semantics of writersRichard Darst2009-07-061-2/+2
| | | | | | | - RST -> ReST - add the argument "extension darcs-hash:20090706233113-82ea9-f3b6b93a72b939881be3bdb7be14f65f2b5a2ed3.gz
* Remove default of config values on richard's computerRichard Darst2009-07-061-2/+4
| | | | | | - Now we default to "." for the logdir and "" for the URL prefix. darcs-hash:20090706231844-82ea9-866700f2d88bb3e4e8d80055f3b424f000ecf4c6.gz
* Change format of writer_mapRichard Darst2009-07-011-6/+6
| | | | | | | - 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
* change order of imports and reloadsRichard Darst2009-07-011-2/+4
| | | | | | | | - From plugin.py, I think that reload in the same order is a slighly better form, though it probably won't matter here (it did matter in plugin.py) darcs-hash:20090701032801-82ea9-d5349f2a6f5944324d5a7669f16fecde0347cb1c.gz
* Move all items from the main namespace to items module namespaceRichard Darst2009-07-011-10/+9
| | | | | | - Needed to prevent problems when reloading modules darcs-hash:20090701030344-82ea9-e699bb620028781ccfa0f9c3c5e559f772141267.gz
* move writer configuration to main class ; other rearrangementRichard Darst2009-06-261-25/+28
| | | | | | | - writer_map is now a class property for easy configuration. - move functions and data related to __main__ scripts to the end. darcs-hash:20090626031006-82ea9-f29cb81e7db8f6d6f2ca2e3e9b9c50fef0672a03.gz
* remove an extraneous print statementRichard Darst2009-06-261-1/+0
| | | | darcs-hash:20090626025807-82ea9-24a2d2e900101bdb8d3a20ee5e061e9b27a50032.gz
* Another update to configurability of start/endmeeting messagesRichard Darst2009-06-261-9/+11
| | | | darcs-hash:20090626025038-82ea9-7f5033e24722986a2f4df22e7a71b0f5b5c512d7.gz
* Make meetingLocalConfig.py work again - changed syntaxRichard Darst2009-06-261-10/+7
| | | | | | | | | - see Manual.txt for the new syntax. Basically, put everything you had before into a class called Config in meetingLocalConfig.py: class Config(object): logFileDir darcs-hash:20090626024247-82ea9-8bf2c82f170efd581aae87912cf799d2b20e2ee2.gz
* Changes and configurability of start/endmeeting msgsRichard Darst2009-06-251-9/+28
| | | | darcs-hash:20090625205829-82ea9-2b3e367e4572d3a62b3139674b676856d89f5672.gz
* security fix - remove '/' from channel and meetingnameRichard Darst2009-06-251-3/+2
| | | | darcs-hash:20090625202854-82ea9-69dc7280273802b0e7c77e2e7c3e623c037574bc.gz
* Major reorganizationRichard Darst2009-06-251-337/+135
| | | | | | | | | | | | - Add a separate Config object. - Split writers and items into writers.py and items.py - Much other reorganization related to this, and preparing for the next iteration of MeetBot. This isn't an easy to read diff. - Most old functionality works with this patch, however, some more is needed before everything is back up to date (mainly local configuration, but there are indubitably many other new bugs). darcs-hash:20090625200700-82ea9-273d409059461a8e62e1a2d048322eae537aa8f7.gz
* Improvements to objects for meeting agenda items0_1_-_Pre-module_split_versionRichard Darst2009-06-231-14/+38
| | | | darcs-hash:20090623171700-82ea9-0dac9da8aaf185785924eecad98f51d577f6affe.gz