2008-08-11T01:09:06 <ThomasWaldmann> zenhase: i didn't measure, but I would say all of them
2008-08-11T01:09:11 <zenhase> hmm ok
2008-08-11T01:16:30 <ThomasWaldmann> zenhase: also, some code you added to conftest looks a bit strange (that Client stuff)
2008-08-11T01:21:37 <ThomasWaldmann> hmm, no, not strange, it is just used rarely. therefore questionable whether you want it patched into every test class.
2008-08-11T01:23:11 <zenhase> actually i thought it could be used more often
2008-08-11T01:24:08 <zenhase> whenever headers or output are tested against
2008-08-11T01:24:33 <zenhase> but you are right, i can move that to the test_wsgiapp file
2008-08-11T01:24:47 <ThomasWaldmann> it doesn't seem to be the cause of slowness
2008-08-11T01:27:34 <zenhase> no
2008-08-11T01:27:38 <zenhase> i found the cause
2008-08-11T01:28:02 <zenhase> logging calls on context-objects
2008-08-11T01:28:48 <zenhase> 2x speedup when i remove those
2008-08-11T01:34:09 <ThomasWaldmann> xorAxAx: fckeditor 2.6.3 was released some days ago
2008-08-11T01:40:17 <CIA-54> Florian Krupicka <florian.krupicka@googlemail.com> default * 4072:867da7983aba 1.8-wsgi-fkrupicka/MoinMoin/web/contexts.py: Remove logging calls on proxy methods (performance hog)
2008-08-11T01:51:15 <ThomasWaldmann> zenhase: i just compare runtimes. moin/1.8 is real 2:11, user 1:02, sys 0:03
2008-08-11T02:02:58 <dennda> with what did you compare? :)
2008-08-11T02:03:11 <ThomasWaldmann> it is still running X)
2008-08-11T02:03:18 <dennda> doing what?
2008-08-11T02:04:04 <ThomasWaldmann> py.test
2008-08-11T02:07:15 <ThomasWaldmann> moin/1.8-wsgi real 17:45 user 1:19 sys 0:5
2008-08-11T02:07:26 <ThomasWaldmann> zenhase: ^^
2008-08-11T02:07:43 <dennda> huh
2008-08-11T02:07:58 <ThomasWaldmann> 8x slower
2008-08-11T02:08:11 <zenhase> uarg :)
2008-08-11T02:08:24 <zenhase> what system btw?
2008-08-11T02:08:46 <ThomasWaldmann> my small notebook
2008-08-11T02:10:24 <dennda> So, suggested pencils down take today
2008-08-11T02:10:29 <dennda> Anybody already finished? :p
2008-08-11T02:10:37 <CIA-54> Pawel Pacana <pawel.pacana@gmail.com> default * 4762:afba8848a3d1 1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py: (hg) Cleared up revision iterating, docstring update.
2008-08-11T02:10:38 <CIA-54> Pawel Pacana <pawel.pacana@gmail.com> default * 4763:eee3fb1a7ddf 1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py: (hg) Added MercurialStoredRevision, _get_revision_node, _get_revision_parents - requirements for revision graph drawing.
2008-08-11T02:10:41 <CIA-54> Pawel Pacana <pawel.pacana@gmail.com> default * 4771:4e091df79260 1.8-mercurialbackend-ppacana/MoinMoin/ (13 files in 7 dirs): Merge with 1.8-storage-cdenter.
2008-08-11T02:10:57 <dennda> revision graph drawing? :)
2008-08-11T02:11:04 <PawelPacana> see: http://mc.kwadr.at/tree.png
2008-08-11T02:11:06 <PawelPacana> :)
2008-08-11T02:11:19 <dennda> w00t
2008-08-11T02:11:21 <dennda> cool
2008-08-11T02:11:57 <dennda> to what extent is that comparable to the usual hg graphs?
2008-08-11T02:12:43 <dennda> or rather, what is that second instance?
2008-08-11T02:13:00 <PawelPacana> second instance of wiki
2008-08-11T02:13:07 <PawelPacana> or call it separate backend
2008-08-11T02:13:19 <PawelPacana> this is output after hg pull
2008-08-11T02:13:20 <PawelPacana> :)
2008-08-11T02:13:21 <dennda> hm ok
2008-08-11T02:13:25 <dennda> ah
2008-08-11T02:14:23 <PawelPacana> merge actions, and this TreeInfo after sleeping well ;)
2008-08-11T02:14:24 <PawelPacana> gn
2008-08-11T02:14:25 <dennda> PawelPacana: How far are you from finishing your task?
2008-08-11T02:14:28 <dennda> good night
2008-08-11T02:15:21 <PawelPacana> i would say wednesday is optimal, as i'll be off for tuesday
2008-08-11T02:16:09 <dennda> ok
2008-08-11T02:16:13 <dennda> good night
2008-08-11T02:16:18 * dennda goes zzzzzzzzZZzzzZzzzZzzzZZzzzz too
2008-08-11T02:17:57 * zenhase too
2008-08-11T02:24:51 <ThomasWaldmann> PawelPacana: nice domain :)
2008-08-11T07:29:04 <ThomasWaldmann> moin
2008-08-11T07:55:23 <CIA-54> Byeongweon [tasyblue@gmail.com] default * 3990:3791b2e8e471 1.8-guieditor-mbyeongweon/wiki/htdocs/applets/FCKeditor/ (477 files in 55 dirs): remove fckeditor to replace with recent one
2008-08-11T07:55:26 <CIA-54> Byeongweon [tasyblue@gmail.com] default * 3991:f5c322ae1c7b 1.8-guieditor-mbyeongweon/wiki/htdocs/applets/FCKeditor/ (477 files in 55 dirs): add recent version of fckeditor 2.6.3
2008-08-11T07:55:27 <CIA-54> Byeongweon [tasyblue@gmail.com] default * 3992:751b42486f2a 1.8-guieditor-mbyeongweon/wiki/htdocs/applets/FCKeditor/editor/ (2 files in 2 dirs): apply > convert problem on safari and opera solving patch to fckeditor
2008-08-11T07:55:28 <CIA-54> Byeongweon [tasyblue@gmail.com] default * 3996:bcb56b2011af 1.8-guieditor-mbyeongweon/MoinMoin/ (4 files in 3 dirs): merged main
2008-08-11T08:13:40 <ThomasWaldmann> byeongweon: moin. hey, you're fast! :)
2008-08-11T08:13:57 <byeongweon> ThomasWaldmann: hehe
2008-08-11T08:31:30 <ThomasWaldmann> byeongweon: btw, do you know what's the difference between those:
2008-08-11T08:32:10 <ThomasWaldmann> -rw-r--r-- 1 tw tw 12436 2008-07-28 13:30 fckeditor.html
2008-08-11T08:32:10 <ThomasWaldmann> -rw-r--r-- 1 tw tw 17712 2008-07-28 13:30 fckeditor.original.html
2008-08-11T09:34:25 <ThomasWaldmann> http://moinmo.in/4ct10n/info/GoogleSoc2008?action=diff&rev2=78&rev1=77
2008-08-11T09:34:46 <ThomasWaldmann> students please read (and subscribe to that page!)
2008-08-11T09:34:57 <ThomasWaldmann> mentors please check and add missing stuff
2008-08-11T09:43:37 <dreimark> moin
2008-08-11T09:53:56 <ThomasWaldmann> hi dreimark
2008-08-11T10:12:16 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4299:7be7f2dc6eeb 1.8-dom-bblank/MoinMoin/parser/ (_tests/test_text_moin_wiki.py text_moin_wiki.py): Remove Moin Wiki parser
2008-08-11T10:12:18 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4300:87d860de42cb 1.8-dom-bblank/MoinMoin/parser/_tests/test_text_creole.py: Remove tests for Creole parser
2008-08-11T10:12:19 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4301:1b3df477d1a1 1.8-dom-bblank/MoinMoin/util/_tests/test_uri.py: PEP8 fixes
2008-08-11T10:36:16 <waldi> ThomasWaldmann: would you mind if I just skip the tests for the old macros?
2008-08-11T10:44:49 <ThomasWaldmann> depends on what they test. do you mean tests like expectedhtml == html?
2008-08-11T10:46:31 <dreimark> waldi: is that TypeError for PageList fixed ?
2008-08-11T10:47:43 <waldi> dreimark: -v?
2008-08-11T10:48:40 <waldi> ah, lets check
2008-08-11T10:49:01 <dreimark> <<PageList>>
2008-08-11T10:50:47 <dreimark> ThomasWaldmann: waldi <<MontCalendar()>> works but <<MontCalendar>> gives <<MonthCalendar: args must be unicode>>
2008-08-11T10:51:15 <dreimark> and the current EmbedObject gives an AssertionError
2008-08-11T10:51:51 <dreimark> I can refactor EmbedObject but is the reason for this problem known
2008-08-11T10:54:18 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4302:aac09b0fd4db 1.8-dom-bblank/MoinMoin/converter2/_tests/test_moinwiki_in.py: Tests for Moin Wiki input converter - Fix empty inline nowiki test
2008-08-11T10:54:20 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4303:397021d1d6ef 1.8-dom-bblank/MoinMoin/ (4 files in 2 dirs):
2008-08-11T10:54:20 <CIA-54> Page - Provide complete page URI to input converters
2008-08-11T10:54:20 <CIA-54> Creole, Moin Wiki, Text input converter - Use page URI
2008-08-11T10:54:21 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4304:cbbdab5fa7a2 1.8-dom-bblank/MoinMoin/macro/_tests/ (test_FootNote.py test_GetVal.py): Remove tests for converted macros
2008-08-11T10:54:26 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4305:461db894d61c 1.8-dom-bblank/MoinMoin/macro2/_tests/test__base.py: Test for macro base classes - Don't use None as text
2008-08-11T11:00:34 <waldi> dreimark: yeah. i just try to find _where_ this exception is catched ...
2008-08-11T11:02:09 <dreimark> waldi: where is the creole and moin parser located ?
2008-08-11T11:03:10 <waldi> MoinMoin/converter2/{creole,moinwiki}_in.py?
2008-08-11T11:04:07 <dreimark> waldi: some places needs to be fixed then "from MoinMoin.parser.text_moin_wiki import Parser"
2008-08-11T11:04:19 <dreimark> in wikiutil line 900
2008-08-11T11:11:28 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4306:215cf347d59b 1.8-dom-bblank/MoinMoin/converter2/ (creole_in.py moinwiki_in.py): Creole, Moin Wiki input converter - Make default values for macro and nowiki args unicode
2008-08-11T11:14:23 <waldi> dreimark: pagelinkmarkup? hmm i would just remove the check for camelcase and always produce explicit links
2008-08-11T11:16:20 <waldi> (and mark it as to be replaced by a converter)
2008-08-11T11:20:52 <dreimark> ok, but the current one behaves different without a param. previous one has listed all pages. the current gives Please use a more selective search term instead of ""
2008-08-11T11:23:26 <waldi> dreimark: hmm, pagelinkmarkup is used in the category output of the page editor
2008-08-11T11:29:08 <waldi> okay. I decided to 1. change action/edit to use [[$category]] for now, the comment still applies. 2. remove the usage of pagelinkmarkup from category list generation. 3. make pagelinkmarkup always return full links. this should not break other things
2008-08-11T11:30:23 <waldi> hrm, no
2008-08-11T11:33:09 <waldi> drop 1.
2008-08-11T11:34:10 * waldi detex: graphical editor is really broken
2008-08-11T11:40:58 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4307:9193f809f469 1.8-dom-bblank/MoinMoin/ (PageEditor.py PageGraphicalEditor.py): PageEditor - Don't try to convert category list into wiki markup links
2008-08-11T11:40:58 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4308:b1f34e0ca602 1.8-dom-bblank/MoinMoin/wikiutil.py: wikiutil.pagelinkmarkup - Don't try to generate camelcase links
2008-08-11T11:46:39 <ThomasWaldmann> waldi: quite some gui editor stuff is fixed in moon's repo (and this is likely the first that will get merged into moin/1.8 main branch soon, just because there are almost none conflicts/regressions expected)
2008-08-11T11:47:17 <ThomasWaldmann> if it helps you, I can do that soon
2008-08-11T11:49:26 <waldi> ThomasWaldmann: fyi: links generated by macros can never reach pagelinks
2008-08-11T11:51:11 <ThomasWaldmann> ah, good, so we need no generated=True stuff
2008-08-11T11:51:59 <ThomasWaldmann> otoh, OrphanedPages will show pages that are just used via automatically generated lists
2008-08-11T11:52:32 <ThomasWaldmann> (that's no regression, but might be nice if it could be solved somehow for the cases wanted)
2008-08-11T11:53:20 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4309:0c00f154d512 1.8-dom-bblank/MoinMoin/converter2/macro.py: Macro converter - Use None instead of empty string for old-style macros
2008-08-11T11:53:20 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4310:2d50283c4af3 1.8-dom-bblank/MoinMoin/macro2/_base.py: Macro base classes - Use absolute links in page list macros, comment about pagelinks
2008-08-11T11:54:24 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4311:7f1dbe20c6b8 1.8-dom-bblank/MoinMoin/converter2/link.py: Link converter - Handle encoded URIs
2008-08-11T11:58:00 <waldi> ThomasWaldmann: this would mean that links of immutable macros would get into paglinks, links of all other macros not. i don't really like that
2008-08-11T11:59:37 <xorAxAx> waldi: umm, macros need to add pagelinks
2008-08-11T11:59:50 <xorAxAx> think about wikis using titlesearch macros for navigation
2008-08-11T12:01:56 <ThomasWaldmann> it has to be an option determined by the macro
2008-08-11T12:02:27 <waldi> xorAxAx: this means cache invalidation for each request or at least for every change in the whole wiki
2008-08-11T12:05:01 <xorAxAx> waldi: ?
2008-08-11T12:05:13 <xorAxAx> waldi: it means that you cannot cache a complete wiki page, yes.
2008-08-11T12:05:25 <xorAxAx> neither the complete list of links
2008-08-11T12:07:41 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4312:123d3767d3bd 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Readd whitespace checks in interwiki rules
2008-08-11T12:28:34 * ThomasWaldmann does fscking paperwork
2008-08-11T12:34:39 <waldi> the rst parser does weird things ...
2008-08-11T12:35:20 <waldi> ah, yes, it uses request.write
2008-08-11T12:53:01 <dreimark> waldi: I don't want to bother, I just don't know to destinguish currently what of the wiki stuff currently work or is in work. I like to report everything I found.
2008-08-11T12:54:28 <dreimark> *Template on a new page creation is shown but it looks like a non existing page
2008-08-11T13:00:15 <dreimark> RecentChanges renders ##last, but not least, a randomly chosen page: RandomPage(1)
2008-08-11T13:00:51 <dreimark> waldi: is the commenting by ## broken ?
2008-08-11T13:04:06 <dreimark> waldi: please try http://moinmo.in/ReimarBauer?action=AttachFile&do=get&target=UnderConstruction.zip
2008-08-11T13:04:11 <dreimark> in a testwiki
2008-08-11T13:04:24 <waldi> it is not implemented
2008-08-11T13:04:26 <dreimark> install it and go to the page
2008-08-11T13:05:05 <dreimark> if I go to the page i get an AttributeError 'Converter' object has no attribute 'page_name'
2008-08-11T13:06:08 <waldi> please provide the complete stacktrace (the one from the log)
2008-08-11T13:06:44 <waldi> ah, see it
2008-08-11T13:08:17 <dreimark> http://paste.pocoo.org/show/81837/
2008-08-11T13:09:44 <dreimark> http://localhost:8080/HelpOnMoinWikiSyntax shows this problem too
2008-08-11T13:10:25 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4313:8da67df1312b 1.8-dom-bblank/MoinMoin/converter2/compatibility_in.py: Compatibility input converter - Use page URI
2008-08-11T13:10:25 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4314:aee9a6b41b80 1.8-dom-bblank/MoinMoin/converter2/creole_in.py: Creole input converter - Support non-creole nowiki/parser sections
2008-08-11T13:10:28 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4315:8bdfd123521b 1.8-dom-bblank/MoinMoin/converter2/compatibility_in.py: Compatibility input converter - Comment, move some code
2008-08-11T13:10:28 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4316:fae5deda45f2 1.8-dom-bblank/MoinMoin/converter2/creole_in.py: Creole input converter - Move tag objects creation
2008-08-11T13:10:30 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4317:37662a126bb9 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Support comments
2008-08-11T13:10:33 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4318:558cc9e6f732 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Provide page URI to sub-converter
2008-08-11T13:11:08 <waldi> fixed
2008-08-11T13:12:41 <dreimark> :)
2008-08-11T13:13:35 <dreimark> waldi: looks like the css has been changed for the . syntax
2008-08-11T13:13:54 <dreimark> it shows up a *
2008-08-11T13:21:53 <dreimark> the comment syntax /* Verweis */ does not work
2008-08-11T13:30:03 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4319:a49ec3b32c4f 1.8-dom-bblank/MoinMoin/converter2/html_out.py: HTML output converter - Comment
2008-08-11T13:30:03 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4320:f46dc76e4246 1.8-dom-bblank/MoinMoin/converter2/include.py: Include converter - Comment
2008-08-11T13:30:52 <dreimark> sorry phone call
2008-08-11T13:31:11 <dreimark> wanted to add the {{{#!wiki comment .... }}} works
2008-08-11T13:31:19 <dreimark> but the default looks changed
2008-08-11T13:31:29 <dreimark> it should not vissible from the beginning
2008-08-11T13:32:32 <dreimark> +be
2008-08-11T13:34:14 <dreimark> waldi: attachments doesn't show up
2008-08-11T13:35:28 <dreimark> some of the url stuff looks broken too. [[http://www.rrzn.uni-hannover.de/buecher.html?&no_cache=1&tx_rrznbuecher_pi1[showUid]=215|german python book]].
2008-08-11T13:41:47 <waldi> it does not like ] in the links
2008-08-11T13:44:54 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4321:ea81560eab8f 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Move tag objects creation
2008-08-11T13:44:55 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4322:e7689df5ba46 1.8-dom-bblank/MoinMoin/converter2/ (creole_in.py moinwiki_in.py): Creole, Moin Wiki input converter - Remove overstrict check for ] in links
2008-08-11T13:45:13 <dreimark> user@example.com in SyntaxReference is not rendered as email
2008-08-11T13:45:19 <dreimark> waldi: ^
2008-08-11T13:47:19 <dreimark> HelpOnMoinWikiSyntax
2008-08-11T13:54:45 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4323:05d33bb0f3b2 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Parse inline comments
2008-08-11T13:54:47 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4324:edaaf5297e43 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Support email freelinks
2008-08-11T13:59:33 <PawelPacana> moin
2008-08-11T14:14:26 <ThomasWaldmann> hi Pawel
2008-08-11T15:03:10 <ThomasWaldmann> waldi: 'ascii' codec can't encode character u'\xc4' in position 9: ordinal not in range(128)
2008-08-11T15:03:21 <ThomasWaldmann> util.uri:84
2008-08-11T15:04:38 <ThomasWaldmann> you should test more using the german underlay :P
2008-08-11T15:05:16 <ThomasWaldmann> waldi: NotImplementedError instance has no attribute 'message'
2008-08-11T15:05:40 <ThomasWaldmann> converter2.macro:131
2008-08-11T15:06:21 <ThomasWaldmann> converter2.macro:123 same
2008-08-11T15:12:14 <waldi> bah, new attribut message, undocumented when it showed up
2008-08-11T15:13:41 <waldi> exception.args works also
2008-08-11T15:17:34 <waldi> ThomasWaldmann: did you remove the cache? i fixed some uri encoding problems
2008-08-11T15:24:59 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4325:c9b1ea32f430 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Parse underline
2008-08-11T15:24:59 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4326:b0bda9ab426d 1.8-dom-bblank/MoinMoin/converter2/macro.py: Macro converter - Don't use Exception.message
2008-08-11T15:25:00 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4327:4fe1eb7c7bc1 1.8-dom-bblank/MoinMoin/macro2/RandomPage.py: RandomPage macro - Encode URI
2008-08-11T15:26:04 <waldi> "Diese Seite ist keine Unterseite!"
2008-08-11T15:26:30 <xorAxAx> "Dieser Satz ist falsch"
2008-08-11T15:27:25 <waldi> http://de.wikipedia.org/wiki/L%C3%BCgner-Paradox
2008-08-11T15:27:32 * ThomasWaldmann nukes the cache
2008-08-11T15:30:29 <ThomasWaldmann> FindPage looks rather fscked
2008-08-11T15:34:23 * dennda 's PC sounds like it will explode in a moment
2008-08-11T15:39:06 <PawelPacana> hide :)
2008-08-11T15:39:31 <CIA-54> Pawel Pacana <pawel.pacana@gmail.com> default * 4772:017a00c15e2b 1.8-mercurialbackend-ppacana/ (4 files in 2 dirs): (GraphInfo) Initial version of page info action drawing revision graph.
2008-08-11T15:39:32 <CIA-54> Pawel Pacana <pawel.pacana@gmail.com> default * 4773:ac89ecc0722b 1.8-mercurialbackend-ppacana/tests/wikiconfig.py: (tests config) Fixed test_num_pages (expecting wrong param).
2008-08-11T15:39:33 <CIA-54> Pawel Pacana <pawel.pacana@gmail.com> default * 4774:1aaef342a742 1.8-mercurialbackend-ppacana/MoinMoin/storage/backends/hg.py: (hg) Reverse history traversing.
2008-08-11T15:39:50 <ThomasWaldmann> waldi: i have anchors on wantedpages. bug or feature?
2008-08-11T15:40:14 <ThomasWaldmann> e.g.: #classic: HilfeZurNavigation
2008-08-11T15:41:03 <ThomasWaldmann> (in case that should be a feature, the link for the anchor is wrong)
2008-08-11T15:41:24 <waldi> ThomasWaldmann: yeah, seen this, not investigates
2008-08-11T15:42:44 <waldi> bug
2008-08-11T15:45:23 <ThomasWaldmann> 'ascii' codec can't decode byte 0xc3 in position 52: ordinal not in range(128) fullsearch:215
2008-08-11T15:47:28 <ThomasWaldmann> args = ('ascii', '<div xmlns="http://www.w3.org/1999/xhtml"><p>(!) Erw\xc3\xa4gen Sie eine</p></div>', 52, 53, 'ordinal not in range(128)')
2008-08-11T15:48:40 <ThomasWaldmann> similar problem for ?action=AttachFile
2008-08-11T15:49:03 <ThomasWaldmann> 'ascii' codec can't decode byte 0xc3 in position 56: ordinal not in range(128) AttachFile:372
2008-08-11T15:50:02 <waldi> getText calls which does not return unicode?
2008-08-11T15:50:43 * dennda tries to get his hair cut at 15:49, bbiab
2008-08-11T15:51:34 <waldi> ThomasWaldmann: äh, sure ...
2008-08-11T15:52:28 <waldi> i18n/__init__.py:198 should read: return out.getvalue().decode('utf-8')
2008-08-11T15:54:33 <waldi> /home/bastian/moin/1.8-dom-bblank/MoinMoin/converter2/macro.py:37: DeprecationWarning: Macro WantedPages used request.write: ERROR: EOF in multi-line statement
2008-08-11T15:57:40 <ThomasWaldmann> links fed to the gui editor look broken
2008-08-11T15:57:50 <ThomasWaldmann> (umlauts)
2008-08-11T15:58:08 <ThomasWaldmann> also, processing instructions seem unsupported
2008-08-11T15:58:37 <ThomasWaldmann> hmm, no, not only links, everything non-ascii looks broken
2008-08-11T15:59:07 <ThomasWaldmann> missing encoding declaration?
2008-08-11T15:59:19 <ThomasWaldmann> <div xmlns="http://www.w3.org/1999/xhtml"><p>#format...
2008-08-11T16:00:10 <waldi> what should be the behaviour of [[?bla]]?
2008-08-11T16:00:50 <ThomasWaldmann> where is that?
2008-08-11T16:00:51 <waldi> err, we had that already
2008-08-11T16:00:55 <waldi> http://master17.moinmo.in/Hj%C3%A4lpMed%C3%85tg%C3%A4rder
2008-08-11T16:02:54 <waldi> ThomasWaldmann: AdvancedSearch is broken because it uses the formatter and pushs the "output" back into rawHTML of the same formatter
2008-08-11T16:06:29 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4328:cc7e22d2c774 1.8-dom-bblank/MoinMoin/converter2/link.py: Link converter - Handle empty path in links for pagelinks creation
2008-08-11T16:06:31 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4329:7a02a4b9553a 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Handle fragments in links
2008-08-11T16:06:31 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4330:840544eed881 1.8-dom-bblank/MoinMoin/Page.py: Page - Disable highlighting
2008-08-11T16:23:48 <ThomasWaldmann> waldi: i think we can't support such stuff
2008-08-11T16:24:21 <ThomasWaldmann> [[/foo is a subpage link, not a link to http://sameserver/foo
2008-08-11T16:24:57 <ThomasWaldmann> even [[www.google.de]] would be a link to a page called like that
2008-08-11T16:25:52 <ThomasWaldmann> so everything without <supported_proto>: except for [[#anchor]] should be a pagelink imho
2008-08-11T16:26:54 <ThomasWaldmann> that's not very clean, but that's the price we have to pay for common link syntax for internal links and other (external) links
2008-08-11T16:27:50 <ThomasWaldmann> btw, is http:?action=... a valid link?
2008-08-11T16:29:20 <xorAxAx> waldi: and why doesnt that work (the advancedsearch pattern)?
2008-08-11T16:35:05 <waldi> ThomasWaldmann: according to the uri spec, it is. it uses the base uri, replaces the scheme with http and the query with "action=..."
2008-08-11T16:35:36 <dreimark> waldi: ThomasWaldmann why do we always see comments activated ?
2008-08-11T16:36:12 <waldi> xorAxAx: the compatibility formatter uses the method calls to build a tree instead of returning markup fragments
2008-08-11T16:36:26 <waldi> dreimark: because there is a TODO marker
2008-08-11T16:37:13 <xorAxAx> waldi: hmm, then how does it work with nested formatters?
2008-08-11T16:37:18 <xorAxAx> waldi: redirect output etc.
2008-08-11T16:37:27 <dreimark> waldi: ok
2008-08-11T16:37:28 <xorAxAx> one of the most important coding patterns in moin's plugins
2008-08-11T16:37:30 <xorAxAx> :-)
2008-08-11T16:37:52 <waldi> xorAxAx: nested formatters?
2008-08-11T16:38:29 <xorAxAx> waldi: well, e.g. randomquote uses a new Page() object to render a page part into a string and output it
2008-08-11T16:38:37 <waldi> and what do you mean with "redirect output"? it proxies request.write
2008-08-11T16:39:08 <waldi> and disallows the usage
2008-08-11T16:39:36 <xorAxAx> quote = macro.request.redirectedOutput(page.send_page,
2008-08-11T16:39:36 <xorAxAx> content_only=1, content_id="RandomQuote")
2008-08-11T16:39:47 <xorAxAx> thats an often seen pattern to solve things :)
2008-08-11T16:40:02 <xorAxAx> and quote is returned by the macro
2008-08-11T16:41:31 <waldi> redirectedOutput is used 4 times currently
2008-08-11T16:42:31 <xorAxAx> because you rewrote a few usages already
2008-08-11T16:42:46 <xorAxAx> i think its not even necessary if this crude pattern is supported 1:1
2008-08-11T16:43:04 <xorAxAx> there should be just a simple function to do exactly that, render a page into a string
2008-08-11T16:43:32 <xorAxAx> btw, did you think about the boilerplate cruft in the plugins? do you think its usable like that?
2008-08-11T16:44:22 <xorAxAx> umm, not a string, a tree of course
2008-08-11T16:44:42 <waldi> "boilerplate cruft"?
2008-08-11T16:46:32 <xorAxAx> as i said a few times already
2008-08-11T16:47:25 <xorAxAx> 47 tag_p = ET.QName('p', namespaces.moin_page)
2008-08-11T16:47:25 <xorAxAx> 48 tag_code = ET.QName('code', namespaces.moin_page)
2008-08-11T16:47:32 <xorAxAx> thats completly over-verbose
2008-08-11T16:47:44 <xorAxAx> and equivalent to someobj.p and someobj.code
2008-08-11T16:48:09 <xorAxAx> its bad to have every caller produce boilerplatish things to get trivial things done
2008-08-11T16:49:11 <waldi> well, i already pushed that into the class level for the large converters
2008-08-11T16:49:12 <TheSheep> waldi: libs are to avoid 'copy-paste' programming
2008-08-11T16:49:45 <xorAxAx> waldi: thats not enough
2008-08-11T16:50:00 <xorAxAx> you need a module that has helpers for the moin_page namespace
2008-08-11T16:50:15 <waldi> okay
2008-08-11T16:50:17 <xorAxAx> or even more generic
2008-08-11T16:50:31 <xorAxAx> basically anything that makes it less boilerplatisch to write a single macro
2008-08-11T16:50:36 <dennda> heh, I can see again
2008-08-11T16:51:12 <waldi> class bla(object): def __getattr__(self, key): return ET.QName(key, namespaces...)
2008-08-11T16:51:31 <TheSheep> dennda: xorAxAx has shown you the brainfuck interpreter implemented in sed?
2008-08-11T16:51:41 <dennda> TheSheep: No he hasn't
2008-08-11T16:51:50 <TheSheep> dennda: so why were you blind?
2008-08-11T16:52:03 <xorAxAx> waldi: namespace probably coming from an arg to init and then a singleton of that class, yes
2008-08-11T16:52:11 <xorAxAx> waldi: next question is how you handle attributes
2008-08-11T16:52:27 <xorAxAx> TheSheep: hairs
2008-08-11T16:52:30 <dennda> I wasn't really blind, I just couldn't see things that were more than 2 cm away from my eyes
2008-08-11T16:52:36 <dennda> because my hair hung over them
2008-08-11T16:52:54 <TheSheep> ah
2008-08-11T16:52:57 <dennda> but the issue has now been fixed
2008-08-11T16:54:12 <ThomasWaldmann> "i couldn't code because my hair was so long" :P
2008-08-11T16:54:13 <dennda> My project is 2.4? I wonder why I was messing around with 2.3 all the time ;)
2008-08-11T16:54:20 <waldi> xorAxAx: bla.moin_page.p(a=u'test')
2008-08-11T16:54:30 <ThomasWaldmann> dennda: read it again
2008-08-11T16:54:32 <dennda> actually I think that's a problem most hackers suffer from
2008-08-11T16:55:59 <dreimark> dennda: too long hair or reading ?
2008-08-11T16:56:01 <dreimark> ;)
2008-08-11T16:56:08 <dennda> too long hair
2008-08-11T16:56:09 <xorAxAx> waldi: for example
2008-08-11T17:11:32 <waldi> okay, done
2008-08-11T17:11:48 <ThomasWaldmann> dennda: when you get older, that problem gets less :P
2008-08-11T17:13:57 <ThomasWaldmann> TheSheep: btw, that link ambiguity is also in creole spec
2008-08-11T17:14:29 <ThomasWaldmann> [[/foo]] - URL with just a path or (sub)page link!?
2008-08-11T17:16:03 <ThomasWaldmann> btw, mediawiki uses [target ...] for "external" links
2008-08-11T17:18:22 <waldi> xorAxAx: http://paste.debian.net/14519/
2008-08-11T17:19:23 <xorAxAx> waldi: neat, yep
2008-08-11T17:19:38 <xorAxAx> you will see that it makes the macros much cleaner
2008-08-11T17:20:25 <waldi> lets try it
2008-08-11T17:21:14 <ThomasWaldmann> waldi: nice :)
2008-08-11T17:22:15 <ThomasWaldmann> waldi: Element or QName?
2008-08-11T17:22:43 <waldi> hmm?
2008-08-11T17:23:05 <ThomasWaldmann> ah, no, ignore
2008-08-11T17:23:47 <ThomasWaldmann> the "Name" class mislead me a bit
2008-08-11T17:25:59 <ThomasWaldmann> '''Inhalt''' <<TableOfContents>>
2008-08-11T17:26:08 <ThomasWaldmann> (markup from HilfeAllgemein X)
2008-08-11T17:28:06 <waldi> xorAxAx: works nice
2008-08-11T17:28:13 <ThomasWaldmann> underlined, strike, sub/superscript, big/small is missing still
2008-08-11T17:29:16 <ThomasWaldmann> table params
2008-08-11T17:30:55 <waldi> MoinMoin/macro2/_base.py: 1 file changed, 15 insertions(+), 37 deletions(-)
2008-08-11T17:31:57 <ThomasWaldmann> AttachFile.py in 2009: 9999 deletions :P
2008-08-11T17:34:10 <waldi> xorAxAx: is this better now?
2008-08-11T17:35:52 <xorAxAx> waldi: i think i would import moin_page directly but besides that it looks nice
2008-08-11T17:35:56 <TheSheep> ThomasWaldmann: not really, Creole leaves the interpretation of the address up to the particular wiki engine
2008-08-11T17:39:58 <ThomasWaldmann> yes, but it's ambigue, except if you put wiki:foo there
2008-08-11T17:48:01 <waldi> ThomasWaldmann: TableOfContents inline does not work ...
2008-08-11T17:51:38 <ThomasWaldmann> yes, I know. just wanted to point out our broken content...
2008-08-11T17:52:04 <waldi> okay
2008-08-11T17:55:17 <ThomasWaldmann> dreimark: 9 days no commit on melita's repo. maybe ask her if she doesn't want to at least leave it in a cleaned up state.
2008-08-11T17:59:04 <ThomasWaldmann> byeongweon: iirc, the sourcecode tests fails in your repo (maybe just a trailing blank or so)
2008-08-11T18:05:00 <ThomasWaldmann> zenhase: 87 mapping = {config.url_prefix_static: shared, <- i think this needs the _local prefix as the one you used can be remote
2008-08-11T18:05:03 <ThomasWaldmann> (from serving.py)
2008-08-11T18:11:31 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4334:6cab219d56a2 1.8-dom-bblank/MoinMoin/converter2/moinwiki_in.py: Moin Wiki input converter - Parse subscript and superscript
2008-08-11T18:11:31 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4332:b4f9119f6000 1.8-dom-bblank/MoinMoin/macro2/_base.py: Macro base classes - Use tree element generator
2008-08-11T18:11:31 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4331:b361ae205ead 1.8-dom-bblank/MoinMoin/util/ (_tests/test_tree.py tree.py): Add tree element generator
2008-08-11T18:11:33 <CIA-54> Bastian Blank <bblank@thinkmo.de> default * 4335:41116881be95 1.8-dom-bblank/MoinMoin/converter2/ (_tests/test_moinwiki_in.py moinwiki_in.py): Moin Wiki input converter - Support size changes
2008-08-11T19:09:43 <dreimark> bbl
2008-08-11T20:11:57 <ThomasWaldmann> re
2008-08-11T20:13:38 <ThomasWaldmann> waldi: read heiseticker about xen?
2008-08-11T20:18:04 <waldi> ThomasWaldmann: no. but it is known (to me) that flask is unsafe
2008-08-11T20:19:03 <waldi> and the second attack is priviledged-only
2008-08-11T20:22:23 <dennda> attachment movement turns out to be harder than I originally thought
2008-08-11T20:38:56 * ThomasWaldmann watches Dr. Who :)
2008-08-11T20:40:16 <dennda> Who?
2008-08-11T20:41:03 <dennda> AttachFile is ugly
2008-08-11T20:41:41 <ThomasWaldmann> tell news :P
2008-08-11T20:42:30 <ThomasWaldmann> if you want to see the real horror, look at an older version :)
2008-08-11T20:43:06 <dennda> no thanks, this is bad enough
2008-08-11T20:43:20 <dennda> If I had enough time I'd rewrite the whole module
2008-08-11T20:43:32 <dennda> or at least large parts thereof
2008-08-11T20:43:48 <dennda> For now I will come up with a solution that "just works", if you don't mind
2008-08-11T20:44:32 <ThomasWaldmann> that's ok
2008-08-11T20:44:49 * dennda notes that it's ok
2008-08-11T20:44:50 <ThomasWaldmann> the rewrite will of course use items directly via a new ui
2008-08-11T20:45:51 <dennda> yes, a new UI is also needed
2008-08-11T20:50:03 * dennda writes a looong docstring so a future refactorer will not kill him out of desperation
2008-08-11T20:57:11 <ThomasWaldmann> btw, what's complicated about rename?
2008-08-11T20:58:09 <dennda> yes, that's the way you'd intuitively go
2008-08-11T20:58:25 <dennda> but unfortunately you will end up having a fscked history of the attachment
2008-08-11T20:59:21 <dennda> even if you say "i don't care about the attachments history" you'd still want it to show up on recent changes
2008-08-11T20:59:51 <dennda> which you can only achieve by creating a new revision (on the renamed item, in that case), and adding appropriate metadata
2008-08-11T21:00:36 <dennda> so you still have to copy the data from an old revision to a new one. and then you can as well create a new item, copy the revision, and create a "deleted" revision on the old item
2008-08-11T21:10:30 <ThomasWaldmann> how does it work for a page?
2008-08-11T21:15:26 <ThomasWaldmann> dennda:
2008-08-11T21:17:09 <dennda> forgot, will check
2008-08-11T21:27:14 <dennda> hm yeah, that just renames the item. I will experiment with that a bit
2008-08-11T21:33:03 <dennda> ThomasWaldmann: When just renaming the item, RC reports: Upload of attachment 'problem2.py'.
2008-08-11T21:33:28 <dennda> but I will investigate that
2008-08-11T21:39:19 <dennda> (Which is of course caused by the revision being kept, and revisions metadata edit_log_action was set to ATTNEW when it was created, and cannot be changed afterwards)
2008-08-11T21:39:48 <dennda> but maybe it's better to just rename the item and copy the revision on the item rather than messing around the way I do now
2008-08-11T21:45:14 <dennda> actually I think the current attachment actions arn
2008-08-11T21:45:20 <dennda> oops
2008-08-11T21:46:01 <dennda> ..aren't capable of handling a "rename" as such
2008-08-11T21:46:13 <dennda> what is done at the moment is just ATTDEL and ATTNEW
2008-08-11T21:49:02 <dennda> ThomasWaldmann: So, if you want attachments to be shown on RecentChanges as deleted when they are renamed, I need to do it the hard way. If it is sufficient that attachments are shown as "newly created" on move, I can just rename the item
2008-08-11T21:49:14 <dennda> Which way shall I go? :)
2008-08-11T23:35:03 <ThomasWaldmann> how is it for pages? aren't they also show deleted AND created when renamed?
2008-08-11T23:35:22 <ThomasWaldmann> dennda:
2008-08-11T23:36:21 <xorAxAx> dennda: edit_log_action?!?!?
2008-08-11T23:36:27 <ThomasWaldmann> waldi: some ET tests failing
2008-08-11T23:36:36 <xorAxAx> dennda: you noticed that this is legacy?
2008-08-11T23:36:45 <dennda> the edit log is legacy
2008-08-11T23:36:49 <xorAxAx> and that redesigning it might be fine if its completly gone
2008-08-11T23:37:00 <xorAxAx> yeah, but who needs the edit log?
2008-08-11T23:38:09 <ThomasWaldmann> dennda: btw, if you committed somethinh, push it
2008-08-11T23:50:12 <CIA-54> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4336:6985759cb1dc 1.8-dom-bblank/MoinMoin/macro/_tests/ (test_Hits.py test_PageHits.py test_macro.py): tests for macros converted to macro2: skip them for now
MoinMoin: MoinMoinChat/Logs/moin-dev/2008-08-11 (last edited 2008-08-10 23:15:01 by IrcLogImporter)