| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
- This should bring the template writers in line with what the other
writers do.
darcs-hash:20091124065442-82ea9-61ecf0ee5343d0b679fa70f0f41e12eeb3a002c4.gz
|
|
|
|
|
|
| |
- Main page title now is "
darcs-hash:20090930191728-82ea9-1bf2957cbebdd16ff09addcf77ed4091e1164ae0.gz
|
|
|
|
|
|
|
| |
- Unify the TextTemplate and HTMLTemplate writers
- Template writer depends on the genshi templating engine
darcs-hash:20090924062930-82ea9-b77c45f717e110201231498557d568255699abbf.gz
|
|
|
|
|
|
|
|
| |
- For previous work, ActionItemsPerson was returned as None, which
meant to not include it in the final output. This needs to not
happen for the templates, or else it causes exceptions.
darcs-hash:20090924060414-82ea9-350d8b6fd92e086088a681821aaaa0987e84069d.gz
|
|
|
|
|
|
|
|
| |
Ignore-this: fd659a7ae6fdf33393d5cbda81b614b3
This commit adds the possibility to control the text output with a Genshi text template.
darcs-hash:20090923235257-fa9d6-2b1c550f26384e5a2418e251d9149c48eaa1a5c9.gz
|
|
|
|
|
|
|
|
|
| |
Ignore-this: dc565ec2e3087ffec03d44c8786be875
This commit enables the first steps towards the use of the Genshi templating system.
A templating system makes it possible to control totally the formatted output without any Python skills.
darcs-hash:20090922224326-fa9d6-899b1080212c02f2ea74bf2b9b7fad82b18e6066.gz
|
|
|
|
|
|
|
|
|
|
|
| |
- This adds .get_template method on the _BaseWriter which gives a big
data structure object that can be used with genshi templates to
write custom HTML.
- Template writer added - place to add the new writer code.
- For information on how this works, search for these two names in
the code and read the comments in them.
darcs-hash:20090922183039-82ea9-c403d1e748e13ee79afc8dbdf7f8ee286000797a.gz
|
|
|
|
|
|
|
|
|
|
| |
- Alter MediaWiki writer to be subclassable to suit the PmWiki changes.
- Make a trivial subclass of MediaWiki to produce PmWiki.
- PmWiki (like MediaWiki) still needs to be enabled by using the
writer_map config variable.
- I should look into unifying all of the differennt writers even more.
darcs-hash:20090919035738-82ea9-e662bd934f895012a5fc27c3b6ccaa0842348c0b.gz
|
|
|
|
| |
darcs-hash:20090919033046-82ea9-7f67d48e3151707d39343027cb190a2e0919b5f0.gz
|
|
|
|
| |
darcs-hash:20090919033001-82ea9-2eba1daba5ea870df027d7985a341203ab62df9e.gz
|
|
|
|
|
|
| |
- It should work now.
darcs-hash:20090918234611-82ea9-1686b28b5cabc1d2f87874b7328b35c3504793c5.gz
|
|
|
|
|
|
|
|
|
| |
- This is just a copy of the Text writer for now, no changes have
been made for the MediaWiki syntax yet.
- This will allow a nice diff of how Text has to be changed to
become MediaWiki once I make the next commit.
darcs-hash:20090914155337-82ea9-1e1fe08d58d85f8da6189a75b105f20cf3d41f8b.gz
|
|
|
|
|
|
|
| |
- Functionality should be the same, but now has the moduler mechanism
that I recently added to the HTML2 writer.
darcs-hash:20090914155022-82ea9-5b8bc05ca6516661c1aef8913b863ba61fb6808e.gz
|
|
|
|
|
|
| |
- Rename HTML -> HTML1, HTMLlog -> HTMLlog1. Set HTML
darcs-hash:20090912021843-82ea9-e82a99401cf16dc6ffd9eab5819182d0c372f4e3.gz
|
|
|
|
|
|
| |
- This ports the fix I made to the HTML2 writer to these writers, too.
darcs-hash:20090912021300-82ea9-b9d7944864971c43089f9933a1e6d462bfdbfd7c.gz
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- In the various text-based writers.
darcs-hash:20090911194043-82ea9-8747499b5d24ab23d5c92740ec23d198d6663fbb.gz
|
|
|
|
|
|
| |
- cssFile_*, cssEmbed_* config variables for {log, minutes}
darcs-hash:20090911015629-82ea9-c3d400078be748da433269fabb3ba06be2f0ca1b.gz
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- This patch should not change any user-visible behavior - yet!
darcs-hash:20090831224059-82ea9-c384d4266b483d4d230c08182c5817a8bde9b3a3.gz
|
|
|
|
| |
darcs-hash:20090831224005-82ea9-d0f012c2fc284288d3308ca92af58712fa72a05c.gz
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
darcs-hash:20090814212701-82ea9-cd1e86a9e27e5c0f0de3d3e11f00d20b7cafb605.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
darcs-hash:20090731184052-82ea9-15abffebe8c99e14e64f3f2ae2b9546a3186c3c2.gz
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
darcs-hash:20090730191403-82ea9-130d777301c6c3296b37499624d298fbf8df268e.gz
|
|
|
|
|
|
|
| |
- we now let writers return already-encoded text, this helps in a few
cases.
darcs-hash:20090707200621-82ea9-e012cd62add13db0c62016414585846a6ed817f7.gz
|
|
|
|
| |
darcs-hash:20090707195955-82ea9-776095ac6d9df1ee5e4fa1f96717123bc6c5ccd8.gz
|
|
|
|
| |
darcs-hash:20090707195829-82ea9-0ccdab7bae6ea8c08ad8edf09c33e6b530dd2388.gz
|
|
|
|
| |
darcs-hash:20090707030320-82ea9-784086ecf5900a95b34f0337aaede06aa9078b4f.gz
|
|
|
|
| |
darcs-hash:20090707030018-82ea9-5c1e5568869556ca128ecbc620003f739e9581da.gz
|
|
|
|
|
|
|
| |
- RST -> ReST
- add the argument "extension
darcs-hash:20090706233113-82ea9-f3b6b93a72b939881be3bdb7be14f65f2b5a2ed3.gz
|
|
|
|
| |
darcs-hash:20090702180043-82ea9-5c15ca5b47dbd4c72e02f4a6c6a4ba6ff09f7ce5.gz
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- and this time, i've actually tested it...
darcs-hash:20090702061217-82ea9-8c50a0578709beb760f179c03be46c9e3115f95e.gz
|
|
|
|
| |
darcs-hash:20090702061113-82ea9-cdd7a53f07b9b23a3cf35281562e7f30799b658a.gz
|
|
|
|
| |
darcs-hash:20090702060757-82ea9-4a07f4b3a2198f8241ac694dcd9f42ba2e3472e4.gz
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- disallow includes and raw html
- http://docutils.sourceforge.net/docs/howto/security.html
darcs-hash:20090701050141-82ea9-7c548a15dc4427c248871eb3eec43fa88c8a0f17.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
darcs-hash:20090701002601-82ea9-45a8d9f773cfec8795c3e42932e9f045bc81bd86.gz
|