2008-03-05T00:30:23  * ThomasWaldmann sets up wsgi stuff on new server
2008-03-05T00:35:38  <dreimark> acl_rights_valid = ['read', 'write', 'delete', 'admin'] in wikiconfig does give a traceback for request.user.may.revert(pagename) showing an AttributeError
2008-03-05T00:37:03  <dreimark> http://paste.pocoo.org/show/31557/
2008-03-05T00:37:16  <ThomasWaldmann> revert is missing
2008-03-05T00:38:06  <dreimark> the question was what happens if one configures acl_rights_valid without revert
2008-03-05T00:39:13  <ThomasWaldmann> a backtrace happens :)
2008-03-05T00:40:07  <ThomasWaldmann> that stuff is configurable mainly for extending it. it is not intended removing ACL rights moin relies on internally.
2008-03-05T00:42:27  <ThomasWaldmann> if you like, you can make the error prettier :)
2008-03-05T00:43:07  <dreimark> yep, will do
2008-03-05T00:44:08  <dreimark> gn
2008-03-05T00:45:25  <ThomasWaldmann> gn dreimark
2008-03-05T03:10:34  *** irc.freenode.net sets mode: +o ChanServ
2008-03-05T05:31:49  *** irc.freenode.net sets mode: +o ChanServ
2008-03-05T08:05:36  <ThomasWaldmann> moin
2008-03-05T09:11:42  <dreimark> moin
2008-03-05T09:25:44  <dreimark> http://moinmo.in/MoinMoinBugs/ParagraphBreaksBrokenWhenIndented
2008-03-05T09:30:14  <ThomasWaldmann> read it, but somehow seems backwards
2008-03-05T09:30:57  <dreimark> do you know the reason to do this change by css?
2008-03-05T09:35:35  <ThomasWaldmann> hm?
2008-03-05T10:54:37  <dreimark> johill: I have used the latex pareser and macro only, do you think a soc project for a latex formatter is a good idea
2008-03-05T10:59:49  <johill> dreimark: I have a latex formatter
2008-03-05T10:59:52  <johill> what's wrong with it?
2008-03-05T11:00:15  <johill> except maybe it needs updates for 1.6/1.7?
2008-03-05T11:11:39  <ThomasWaldmann> maybe we should concentrate on updating existing useful stuff before inventing new stuff
2008-03-05T11:12:32  * ThomasWaldmann will try to update the auth stuff to objects soon
2008-03-05T11:15:46  <dreimark> johill: ah ok, I thought it was not completed. can iot be used with images now?
2008-03-05T11:20:13  <ThomasWaldmann> hmm, looks like only ldap auth needs an update
2008-03-05T11:27:10  <johill> dreimark: with images?
2008-03-05T11:27:29  <johill> dreimark: ah. no, not really, but latex doesn't allow that
2008-03-05T11:27:45  <johill> dreimark: so I have that multipart formatter... bit of a hack but do you want to output zip files? :)
2008-03-05T12:18:08  <dreimark> johill: you can use images calling pdflatex, a zip file which bundle all the files is nice
2008-03-05T12:18:26  <johill> you can embed images in a latex file with pdflatex? as base64?
2008-03-05T12:18:49  <johill> dreimark: a zip file should be trivially written based on the multipart/latex formatter (same idea, but images/latex text encoded in a text instead of zip file)
2008-03-05T12:19:17  <dreimark> if you add  \includegraphics[height=6.5cm,bb=0 0 884 787]{images/moinmoin/StartSeite.png}
2008-03-05T12:19:47  <johill> well yes
2008-03-05T12:19:50  <johill> you can do that in latex too
2008-03-05T12:20:01  <johill> but you have no way to transfer the images along with the latex text unless you zip them up etc
2008-03-05T12:22:15  <dreimark> yes, the image should be in a zip file then.
2008-03-05T12:22:30  <johill> yeah
2008-03-05T12:23:09  <johill> see http://moinmo.in/FormatterMarket/multipart_latex.py
2008-03-05T12:23:27  <johill> should be trivial to make zip instead
2008-03-05T12:25:52  <dreimark> it would be nice to have a formatter doing that added to 1.7/1.8 too.
2008-03-05T12:26:22  <johill> I don't personally use the latex stuff any more so I think it'd be better if somebody else maintains it
2008-03-05T12:26:34  <johill> I've been doing odd fixes mostly if anything
2008-03-05T12:26:51  <johill> conversely, I'd definitely help maintain the gallery stuff :)
2008-03-05T12:27:51  <dreimark> ok, sounds great, I do have some users here they do like to have latex output for nice printouts
2008-03-05T12:28:15  <johill> there's also a formatter based on it that directly converts to pdf
2008-03-05T12:28:17  <dreimark> currently printouts by firefox are sometimes split an image
2008-03-05T12:28:22  <johill> but of course, running pdflatex can be dangerous
2008-03-05T12:29:03  <dreimark> someone doing it outside of the wiki gives more possibilities to arrange images different
2008-03-05T12:29:38  <johill> yeah
2008-03-05T12:30:35  * dreimark goes to lunch 
2008-03-05T12:30:36  <dreimark> bbl
2008-03-05T12:30:40  * johill too
2008-03-05T13:34:16  <ThomasWaldmann> re
2008-03-05T13:34:42  * johill too :P
2008-03-05T13:35:10  <ThomasWaldmann> johill: ldap auth is much better now :)
2008-03-05T13:35:26  <johill> :)
2008-03-05T13:35:40  <ThomasWaldmann> (just needs someone testing it :)
2008-03-05T13:35:48  <johill> I failed setting up ldap last I tried
2008-03-05T13:35:49  <johill> sorry
2008-03-05T16:04:31  <ThomasWaldmann> btw, please everybody make sure you use hg.moinmo.in as the repo
2008-03-05T16:04:39  <ThomasWaldmann> (not hg.thinkmo.de)
2008-03-05T16:10:17  <johill> oh. why?
2008-03-05T16:10:52  <johill> also for ssh push?
2008-03-05T16:31:44  <ThomasWaldmann> yes
2008-03-05T16:31:57  <ThomasWaldmann> because it is likely that the ip will be different soon
2008-03-05T16:32:27  <ThomasWaldmann> so check your repo/.hg/hgrc please
2008-03-05T16:36:32  <ThomasWaldmann> btw, the new setup will be apache2/mod_wsgi based
2008-03-05T16:37:11  <ThomasWaldmann> on the machine rented with google soc 2007 org cash
2008-03-05T16:37:43  <TheSheep> nice
2008-03-05T16:38:03  <TheSheep> ThomasWaldmann: running in daemon mode?
2008-03-05T16:38:15  <ThomasWaldmann> test16.moinmo.in test17.moinmo.in hgnew.moinmo.in are the test setups there (NOT PRODUCTION YET!)
2008-03-05T16:38:32  <ThomasWaldmann> TheSheep: yes
2008-03-05T16:38:38  <ThomasWaldmann> of course :)
2008-03-05T17:02:18  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3183:952f8f1268c5 1.7/MoinMoin/formatter/text_docbook.py:
2008-03-05T17:02:18  <CIA-38> - Remove dummy formatter which did a lot of stuff to output text, instead
2008-03-05T17:02:18  <CIA-38>  simply serialize dom to text when endDocument is called.
2008-03-05T17:02:18  <CIA-38> - Output valid doctype
2008-03-05T17:02:18  <CIA-38> - Temporarily disable Include macro support which required the dummy
2008-03-05T17:02:20  <CIA-38>  formatter.
2008-03-05T17:02:24  <CIA-38> - Update copyright
2008-03-05T17:02:26  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3184:4c7c12b775e0 1.7/MoinMoin/formatter/text_docbook.py:
2008-03-05T17:02:29  <CIA-38> - Add support for the Include macro
2008-03-05T17:02:31  <CIA-38> - Output comment about ignored macros
2008-03-05T17:02:33  <CIA-38> - Rework the paragraph handling a bit so that the Include macro doesn't
2008-03-05T17:02:35  <CIA-38>  cause problems like nested paragraphs.
2008-03-05T17:02:37  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3185:5e0aede39dea 1.7/MoinMoin/formatter/text_docbook.py: (log message trimmed)
2008-03-05T17:02:40  <CIA-38> - The DocBook formatter will try to execute any macros it encounters and will
2008-03-05T17:02:42  <CIA-38>  emit a comment if the macro doesn't work with the formatter.
2008-03-05T17:02:44  <CIA-38> - Added blacklisting for macros that doen't work with the DocBook formatter
2008-03-05T17:02:46  <CIA-38>  and which should not be executed
2008-03-05T17:02:48  <CIA-38> - Added the ShowSmileys to the blacklist as the output of it causes the xml
2008-03-05T17:02:58  <CIA-38>  parser to choke.
2008-03-05T17:03:00  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3186:a36faa9f9d9f 1.7/MoinMoin/formatter/text_docbook.py: Add support for the FootNote macro by creating a DocBook-native footnote.
2008-03-05T17:03:03  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3187:4232b56627c7 1.7/MoinMoin/formatter/text_docbook.py:
2008-03-05T17:03:08  <CIA-38> Only some elements can contain text-nodes directly, while other elements must
2008-03-05T17:03:10  <CIA-38> have the text wrapped in a paragraph for them to be able to contain it. This
2008-03-05T17:03:12  <CIA-38> commit adds support for wrapping textnodes in paragrap-elements when needed.
2008-03-05T17:03:14  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3188:fd905ed64dff 1.7/MoinMoin/formatter/text_docbook.py: Added support for linebreaks in paragraphs by exiting the current paragraph element and creating a new one.
2008-03-05T17:03:21  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3189:c13eca15e247 1.7/MoinMoin/formatter/text_docbook.py: (log message trimmed)
2008-03-05T17:03:24  <CIA-38> Completely reworked table support, including:
2008-03-05T17:03:26  <CIA-38>  - both html and wiki markup for attributes
2008-03-05T17:03:28  <CIA-38>  - horizontal alignment
2008-03-05T17:03:30  <CIA-38>  - vertical alignment
2008-03-05T17:03:32  <CIA-38>  - cell spanning multiple columns
2008-03-05T17:03:38  <CIA-38>  - cell spanning multiple rows
2008-03-05T17:03:40  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3190:a8d2fdac4662 1.7/MoinMoin/formatter/text_docbook.py: Reordered some functions, no changes to code
2008-03-05T17:03:43  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3191:a4cfe360dd33 1.7/MoinMoin/formatter/text_docbook.py: Removed cruft from section handling and made it cover more possible cases
2008-03-05T17:03:46  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3192:2c556643b167 1.7/MoinMoin/formatter/text_docbook.py: Preformatted data such as programlistings need to be in CDATA sektions. Made sure we don't add more CDATA sektions than needed, but that we do add them when they are needed
2008-03-05T17:03:54  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3193:c21d8620e432 1.7/MoinMoin/formatter/text_docbook.py: Improve support for lists and glossaries: bulletless lists, glassary terms with multiple definitions etc.
2008-03-05T17:03:59  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3194:3e7bfe175714 1.7/MoinMoin/formatter/text_docbook.py: Improve code areas to support line numbering and programming language
2008-03-05T17:04:04  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3195:d186dc68f95f 1.7/MoinMoin/formatter/text_docbook.py: Prevent empty code- and para-elements. Output xml comment for some unsupported/unimplemented stuff instead of silently ignoring.
2008-03-05T17:04:09  <CIA-38> Mikko Virkkilä <mvirkkil@cc.hut.fi> default * 3196:08c2e2727641 1.7/MoinMoin/formatter/text_docbook.py: Add support for entity refs such as arrows as raw unicode codepoints. Uses name2codepoint from htmlentitydefs.
2008-03-05T17:04:16  <CIA-38> (1 lines omitted)
2008-03-05T17:14:03  <johill> ouch
2008-03-05T17:14:06  <johill> who did the message stuff?
2008-03-05T17:14:15  <johill> "Your account is now associated to your OpenID." isn't a red X message :)
2008-03-05T17:42:51  <ThomasWaldmann> hehe
2008-03-05T17:42:53  <dreimark> should be info and not error
2008-03-05T17:44:54  <johill> isn't info even default?
2008-03-05T17:46:43  <dreimark> don't know
2008-03-05T17:46:48  * dreimark goes home now
2008-03-05T18:14:26  <johill> there used to be toolkits to allow editing databases w/o writing much code where you'd just declare all the properties etc. and maybe some labels and you'd get a gui
2008-03-05T18:14:31  <johill> does anybody know if such a thing exists for python?
2008-03-05T19:56:14  <grzywacz> moin
2008-03-05T19:59:50  <ThomasWaldmann> hi grzywacz
2008-03-05T20:00:57  <TheSheep> johill: django?
2008-03-05T20:04:12  <johill> TheSheep: looks pretty cool. know any apps written with it?
2008-03-05T20:04:35  <TheSheep> johill: several cms-es for some newspapers
2008-03-05T20:05:26  <johill> anything public?
2008-03-05T20:06:16  <TheSheep> johill: you mean with the database editor public? I guess no
2008-03-05T20:06:47  <johill> or just a simple test app you can download and run I guess
2008-03-05T20:06:59  <johill> but I suppose just following the tutorial would be good enough :)
2008-03-05T20:08:04  <grzywacz> Django is nice.
2008-03-05T20:08:30  <johill> background of my question is that for linux (and maybe bsd) we want a central, wiki-like regulatory control database
2008-03-05T20:08:34  <johill> that lists regulatory restrictions
2008-03-05T20:08:41  <johill> like "can't use OFDM on channel 14 in Japan"
2008-03-05T20:39:17  <cb22> xorAxAx: hmm, i cant edit that damn page
2008-03-05T21:31:04  <dreimark> later on cache will need something like a section id

MoinMoin: MoinMoinChat/Logs/moin-dev/2008-03-05 (last edited 2008-03-04 23:45:02 by IrcLogImporter)