Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/writers.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't show unassigned action items when there are none.Richard Darst2009-09-111-4/+7
| | | | | | | | - I had left this here since "explicit is better than implicit", but because of requests (and also "less is better than more"), I'm removing it. darcs-hash:20090911212639-82ea9-eb11d665119f434148f4362a2082f6cf9fd9112f.gz
* Rename "meeting log" to "meeting summary" since it's more accurateRichard Darst2009-09-111-5/+5
| | | | | | - In the various text-based writers. darcs-hash:20090911194043-82ea9-8747499b5d24ab23d5c92740ec23d198d6663fbb.gz
* Fix/improve CSS writers for the HTMLxxx2 writersRichard Darst2009-09-111-90/+52
| | | | | | - cssFile_*, cssEmbed_* config variables for {log, minutes} darcs-hash:20090911015629-82ea9-c3d400078be748da433269fabb3ba06be2f0ca1b.gz
* Make HTML2 formater use CSS formatting from Francis GiannarosRichard Darst2009-09-021-5/+76
| | | | | | | | | | | - Francis provided a sample minutes file with nice CSS. This is the first merging into MeetBot main. It will still need work before it is releasable. - Not all of this will necessarily make it in to MeetBot mainline, but at least the ability to configure it will. - CSS will be user-customizable easily. darcs-hash:20090902154137-82ea9-2c9dcd91ee80cf77f0a4972ec55eda47a400f3d6.gz
* Add a self-done HTMLlog writerRichard Darst2009-09-021-0/+102
| | | | | | | | - This writer does the exact same thing as the current one, but has a custom parsing and writing. This means that it can be more easily customized eventually darcs-hash:20090902154053-82ea9-0aff7cbc7df35234846cc5abc5a968ebd2ba6ee9.gz
* Fix encoding of HTMLlog outputRichard Darst2009-09-011-1/+1
| | | | | | | | | | - With a previous patch, I had attempted to fix charset issues with HTMLlog. Unfortunately I got the name of the option mixed up, making it not output a charset designator in the HTML. Pygments didn't raise any errors about the wrong option name. - Now, the HTML says '... content darcs-hash:20090901173500-82ea9-d461508cc421c6020c25290e5401ab3963eadb32.gz
* Modularize the HTML2 writer in preparation for improvementsRichard Darst2009-08-311-53/+65
| | | | | | - This patch should not change any user-visible behavior - yet! darcs-hash:20090831224059-82ea9-c384d4266b483d4d230c08182c5817a8bde9b3a3.gz
* Add a generic html template to writers.pyRichard Darst2009-08-311-0/+13
| | | | darcs-hash:20090831224005-82ea9-d0f012c2fc284288d3308ca92af58712fa72a05c.gz
* Wrap lines in the HTML logRichard Darst2009-08-311-0/+15
| | | | | | | | | | | - This adds "pre { white-space: pre-wrap; }" to the css via a gross hack - I hope to soon redo this so that this gross hack isn't necessary, and the entire HTML log output is more customizable. - Thanks to commenter at http://francis.giannaros.org/blog/2009/08/27/create-minutes-and-\ logs-for-your-meetings-with-bugbot/ darcs-hash:20090831214329-82ea9-a30ea5f3f72bd0f5e008d0e8fb2a0a1b48c52255.gz
* Fix HTML validation when there is no initial topicRichard Darst2009-08-311-0/+7
| | | | | | | | | - you are allowed to use #info (or other command) before the first #topic command. This requires special handling of the HTML <li>, which I have just fixed. It now validates correctly with the w3 validator. darcs-hash:20090831213729-82ea9-351d0a485c7596ec10fcfc43b28ccc8ce3d9dbe6.gz
* Improve wrapping and Text writer writingRichard Darst2009-08-161-9/+8
| | | | | | | | | - Wrapping made less fragile (less likely to be miswrapped due to user input, but still not foolproof). - Full log link in Text version (but gets lost if you replay it). Also make the Text version look a bit like ReST. darcs-hash:20090816033754-82ea9-b2e52baff4cd77a6fd4ae92b47cb2d253c49b836.gz
* Two small formatting changes in writers: INFO and blank linesRichard Darst2009-08-161-0/+2
| | | | | | | | | | - Make INFO the assumed default in ReST and Text writers - don't show "INFO:" at the start of the line - Add extra blank lines in ReST between topics - makes it look a little bit nicer (but not much. ReST is sort of the worst of both worlds for something this specialized. darcs-hash:20090816031508-82ea9-a8e92abae01914e1bff7f9ee36f22512e27ce114.gz
* Improve code for realtime updating of log filesRichard Darst2009-08-161-4/+2
| | | | | | | | | | | | | | | - 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
* Add meeting version note to output of writersRichard Darst2009-08-141-4/+11
| | | | darcs-hash:20090814212701-82ea9-cd1e86a9e27e5c0f0de3d3e11f00d20b7cafb605.gz
* First effort at realtime updating of log filesRichard Darst2009-08-011-1/+5
| | | | | | | | | | | | | - 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 newlines to HTML2 and Text writers to improve readabilityRichard Darst2009-07-311-1/+3
| | | | darcs-hash:20090731184052-82ea9-15abffebe8c99e14e64f3f2ae2b9546a3186c3c2.gz
* add Text and HTML2 writersRichard Darst2009-07-301-1/+262
| | | | | | | - These combine the best features of the ReST and HTMLfromReST, without the disadvantages of having to make one source fit two formats. darcs-hash:20090730191919-82ea9-f7f88a57e8b59720f59c26bfe1961f93cda818bc.gz
* Minor changes in writersRichard Darst2009-07-301-3/+9
| | | | darcs-hash:20090730191403-82ea9-130d777301c6c3296b37499624d298fbf8df268e.gz
* Improve mechanisms of encodingRichard Darst2009-07-071-8/+3
| | | | | | | - we now let writers return already-encoded text, this helps in a few cases. darcs-hash:20090707200621-82ea9-e012cd62add13db0c62016414585846a6ed817f7.gz
* Fix very minor indention issue with ReSTRichard Darst2009-07-071-1/+1
| | | | darcs-hash:20090707195955-82ea9-776095ac6d9df1ee5e4fa1f96717123bc6c5ccd8.gz
* Enable some basic escaping of ReSTRichard Darst2009-07-071-1/+2
| | | | darcs-hash:20090707195829-82ea9-0ccdab7bae6ea8c08ad8edf09c33e6b530dd2388.gz
* Add some copyright notices to other filesRichard Darst2009-07-071-1/+30
| | | | darcs-hash:20090707030320-82ea9-784086ecf5900a95b34f0337aaede06aa9078b4f.gz
* remove extraneous quote marksRichard Darst2009-07-071-1/+1
| | | | darcs-hash:20090707030018-82ea9-5c1e5568869556ca128ecbc620003f739e9581da.gz
* Some updates to names and semantics of writersRichard Darst2009-07-061-8/+20
| | | | | | | - RST -> ReST - add the argument "extension darcs-hash:20090706233113-82ea9-f3b6b93a72b939881be3bdb7be14f65f2b5a2ed3.gz
* Fix encoding issue of reST->HTML version writerRichard Darst2009-07-021-1/+8
| | | | darcs-hash:20090702180043-82ea9-5c15ca5b47dbd4c72e02f4a6c6a4ba6ff09f7ce5.gz
* Changes to writers.pyRichard Darst2009-07-021-119/+99
| | | | | | | | - Move the body template to outside the functions - Check HTML sanitization of nicks. - Do reST sanitization of lines and nicks. Right now this is a null op. darcs-hash:20090702175730-82ea9-40a0ee253644d8e51ad91c4c4bec28343abc846a.gz
* another small fix...Richard Darst2009-07-021-1/+1
| | | | | | - and this time, i've actually tested it... darcs-hash:20090702061217-82ea9-8c50a0578709beb760f179c03be46c9e3115f95e.gz
* another bug fix...Richard Darst2009-07-021-1/+1
| | | | darcs-hash:20090702061113-82ea9-cdd7a53f07b9b23a3cf35281562e7f30799b658a.gz
* fix bug where html output wasn't substitutedRichard Darst2009-07-021-0/+1
| | | | darcs-hash:20090702060757-82ea9-4a07f4b3a2198f8241ac694dcd9f42ba2e3472e4.gz
* significant changes to writers.pyRichard Darst2009-07-021-103/+152
| | | | | | | - mainly reducing code duplication and making it more general. - also solving a problem with URLs getting wrapped in reST darcs-hash:20090702044834-82ea9-f942567f1a071d2724a441b2b5b94d504954dee0.gz
* Change format of writer_mapRichard Darst2009-07-011-15/+18
| | | | | | | - 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
* Security for rst->htmlRichard Darst2009-07-011-1/+3
| | | | | | | - disallow includes and raw html - http://docutils.sourceforge.net/docs/howto/security.html darcs-hash:20090701050141-82ea9-7c548a15dc4427c248871eb3eec43fa88c8a0f17.gz
* change to not use isinstance() in determing typesRichard Darst2009-07-011-7/+7
| | | | | | | | | | | | | | - reload() of modules messed this up greatly, in certain cases. Modules get re-executed when you reload(), which causes the classes to be redefined, meaning that the classes stored in the Meeting object are *not* any longer subclasses of items.* - With the other fixes I did, this was only going to be a problem if supybot reloaded the MeetBot module during a meeting, however, it's best to plan for that anyway. - I switch to comparing m.itemtype to a string value. Not as elegant, but works for now. darcs-hash:20090701033031-82ea9-cf69f235e06d70dd70265f5c5481e4c8262ec971.gz
* fix bug in RST writing: .append() bad argumentsRichard Darst2009-07-011-1/+1
| | | | darcs-hash:20090701002601-82ea9-45a8d9f773cfec8795c3e42932e9f045bc81bd86.gz
* Major reorganizationRichard Darst2009-06-251-0/+316
- 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