1 2009-12-08T00:23:14 *** grzywacz
2 2009-12-08T08:07:24 <ThomasWaldmann> moin
3 2009-12-08T08:25:09 <dreimark> moin
4 2009-12-08T08:26:19 <dreimark> ThomasWaldmann: the zip unpack feature fits currently into the workflow. But I also can sent it unpacked. So the others are more important
5 2009-12-08T09:19:17 <dreimark> ThomasWaldmann: new patch without an api change to AttachFile._do_unzip (only addons to xmlprc base)
6 2009-12-08T12:01:42 <vpv> Nice to see new Moin releases, I'll put 1.9 into Fedora 13 eventually, as well as 1.8.6 into the current releases, but it might take a couple of weeks until I have the time...
7 2009-12-08T12:03:33 <ThomasWaldmann> vpv: thanks! :)
8 2009-12-08T12:15:08 <CIA-48> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5357:a7477cf9c536 1.9/wiki/config/wikifarm/farmconfig.py: farmconfig: remove wrong comment, add sample http/https entry
9 2009-12-08T12:25:27 *** ChanServ
10 2009-12-08T12:26:01 *** ChanServ
11 2009-12-08T12:26:01 *** irc.freenode.net
12 2009-12-08T13:32:13 *** vpv
13 2009-12-08T13:32:13 *** xorAxAx
14 2009-12-08T13:32:41 *** vpv
15 2009-12-08T13:32:41 *** xorAxAx
16 2009-12-08T14:29:06 <CIA-48> Reimar Bauer <rb.proj AT googlemail DOT com> default * 5358:a5bd554abd87 1.9/MoinMoin/xmlrpc/__init__.py: xmlrpc: renamePage and deleteAttachment method added
17 2009-12-08T15:25:48 <CIA-48> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5359:92fdc2ecbad5 1.9/MoinMoin/xmlrpc/__init__.py: xmlrpc: cleaned up docstrings
18 2009-12-08T15:26:58 <ThomasWaldmann> dreimark: see first lines of putPage for what's still missing for renamePage params
19 2009-12-08T15:28:16 <dreimark> looks
20 2009-12-08T15:31:53 <ThomasWaldmann> and while you're at it: get/put/deleteAttachment process attachname differently
21 2009-12-08T15:32:46 <ThomasWaldmann> after you found out the right way, please fix it in 1.8
22 2009-12-08T15:45:52 <ThomasWaldmann> xmlrpc_revertPage treats revision param as string and then converts it to int (WTF?)
23 2009-12-08T15:47:15 <ThomasWaldmann> although all other code just has it as an int
24 2009-12-08T15:53:01 <CIA-48> Reimar Bauer <rb.proj AT googlemail DOT com> default * 5360:71d0252a92a9 1.9/MoinMoin/xmlrpc/__init__.py: xmlrpc.renamePage: convert pagename to internal representation
25 2009-12-08T17:26:15 <dreimark> re
26 2009-12-08T17:52:35 <dreimark> ThomasWaldmann: http://paste.pocoo.org/show/155716/ ok?
27 2009-12-08T17:55:23 *** TheSheep
28 2009-12-08T17:55:23 *** CIA-48
29 2009-12-08T17:59:46 *** TheSheep
30 2009-12-08T17:59:55 *** CIA-62
31 2009-12-08T18:02:24 *** dennda_
32 2009-12-08T18:04:56 *** TheSheep
33 2009-12-08T18:04:56 *** waldi
34 2009-12-08T18:04:56 *** dennda
35 2009-12-08T18:05:35 *** TheSheep
36 2009-12-08T18:05:35 *** waldi
37 2009-12-08T18:05:35 *** dennda
38 2009-12-08T18:14:44 *** waldi
39 2009-12-08T18:14:44 *** TheSheep
40 2009-12-08T18:15:14 *** TheSheep
41 2009-12-08T18:15:14 *** waldi
42 2009-12-08T18:35:45 *** waldi
43 2009-12-08T18:35:45 *** TheSheep
44 2009-12-08T18:36:35 *** TheSheep
45 2009-12-08T18:36:35 *** waldi
46 2009-12-08T18:42:21 <ThomasWaldmann> dreimark: looks ok. did you test it? maybe even with xmlrpc v1?
47 2009-12-08T18:43:18 <ThomasWaldmann> and, after that patch, is it handled everywhere in the same way?
48 2009-12-08T18:46:34 <dreimark> deleteattachment needs to be changed in 1.9 too
49 2009-12-08T18:46:53 <dreimark> have to try xmlrpc v1
50 2009-12-08T18:47:04 <dreimark> v2 works
51 2009-12-08T18:49:47 *** dennda_
52 2009-12-08T18:57:15 <dreimark> ThomasWaldmann: when do you last have used xmlrpc1 ?
53 2009-12-08T18:59:24 <dreimark> ah ok 1 is not enumbered
54 2009-12-08T19:11:24 <CIA-62> Reimar Bauer <rb.proj AT googlemail DOT com> default * 4439:c6fd8b7f82b4 1.8/MoinMoin/ (6 files in 3 dirs): fixing copyright headers
55 2009-12-08T19:11:27 <CIA-62> Reimar Bauer <rb.proj AT googlemail DOT com> default * 4440:8fc12793ba3e 1.8/MoinMoin/xmlrpc/__init__.py: xmlrpc: process attachname in get and put Attachment similiar
56 2009-12-08T19:28:38 <ThomasWaldmann> dreimark: usually (IIRC) I use v2, because that is what the i18n po exchange scripts use (and that is my only use of xmlrpc)
57 2009-12-08T19:29:16 <ThomasWaldmann> btw, there is a bug about xmlrpc v2 and special chars < > etc.
58 2009-12-08T19:29:59 <ThomasWaldmann> (I didn't check it yet)
59 2009-12-08T19:34:14 <CIA-62> Reimar Bauer <rb.proj AT googlemail DOT com> default * 5363:c3b6639e101a 1.9/MoinMoin/ (7 files in 4 dirs): merged moin-1.8
60 2009-12-08T19:36:43 <CIA-62> Reimar Bauer <rb.proj AT googlemail DOT com> default * 5364:0a2d5a05cd9b 1.9/MoinMoin/xmlrpc/__init__.py: xmlrpc: process attachname in delete Attachment similiar to get and put
61 2009-12-08T19:36:57 * dreimark will check that bug report
62 2009-12-08T19:39:40 <ThomasWaldmann> just having a page with <foo or </xml> is maybe enough
63 2009-12-08T19:41:45 <dreimark> what is the reason that we don't url_quote in _outstr of XmlRpc2 ?
64 2009-12-08T19:42:13 <ThomasWaldmann> just compare xmlrpc v2 to v1 :)
65 2009-12-08T19:43:33 <ThomasWaldmann> in short: v1 has some "ascii" (i.e. NOT utf-8) requirement, that is why it makes sure everything really IS just ascii
66 2009-12-08T19:44:11 <ThomasWaldmann> this fact from the standard is commonly seen as a bug, because xml is usually quite happy with utf-8 and has no ascii-requirement per-se
67 2009-12-08T19:44:12 <dreimark> <foo or </xml> works in 1.8
68 2009-12-08T19:44:24 <dreimark> with cmlrpc2
69 2009-12-08T19:44:49 <dreimark> s/c/x/ me tries now XmlrpcGetPageProducesBrokenXML
70 2009-12-08T19:44:57 <dreimark> described chars
71 2009-12-08T19:45:48 <dreimark> 0x01 works too
72 2009-12-08T19:46:12 <ThomasWaldmann> it's not only a questions of "works", but whether the xml is valid
73 2009-12-08T19:46:36 <ThomasWaldmann> v1 is a bit complicated: quoting, base64, ...
74 2009-12-08T19:47:05 <ThomasWaldmann> v2 just uses utf-8 where possible, but MAYBE it was implemented a bit too simple...
75 2009-12-08T19:49:04 <dreimark> I don't get a traceback and the result '<foo or </xml> \n\n\n0x01 \n' is correct
76 2009-12-08T19:52:02 <ThomasWaldmann> maybe have a look at the data it transfers, there is some debug code in there
77 2009-12-08T20:28:35 <dreimark> hmm, should I have more than http://paste.pocoo.org/show/155767/
78 2009-12-08T20:30:58 <dreimark> bbl
79 2009-12-08T20:39:55 <ThomasWaldmann> ?
80 2009-12-08T20:57:24 *** |mmk[null]|
81 2009-12-08T20:59:57 *** |mmk[null]|
82 2009-12-08T21:33:59 <dreimark> re
83 2009-12-08T21:56:50 * ThomasWaldmann looks at the raw xmlrpc data
84 2009-12-08T22:00:48 <ThomasWaldmann> '<?xml version=\'1.0\'?>\n<methodResponse>\n<params>\n<param>\n<value><string><foo>\n\n<bar baz="\n\n</xml>\n</string></value>\n</param>\n</params>\n</methodResponse>\n'
85 2009-12-08T22:07:06 <ThomasWaldmann> obviously something is escaping the critical stuff in the string
86 2009-12-08T22:14:20 <ThomasWaldmann> thus, < > is no problem, but:
87 2009-12-08T22:14:23 <ThomasWaldmann> >>> p.putPage("FrontPage", "\x01")
88 2009-12-08T22:14:30 <ThomasWaldmann> >>> p.getPage("FrontPage")
89 2009-12-08T22:14:37 <ThomasWaldmann> xml.parsers.expat.ExpatError: not well-formed (invalid token): line 5, column 15
90 2009-12-08T22:17:25 <ThomasWaldmann> "<?xml version='1.0'?>\n<methodResponse>\n<params>\n<param>\n<value><string>\x01</string></value>\n</param>\n</params>\n</methodResponse>\n"
91 2009-12-08T22:20:13 <dreimark> ThomasWaldmann: I don't get the expat error
92 2009-12-08T22:20:27 <dreimark> '\x01'
93 2009-12-08T22:38:02 <CIA-62> Reimar Bauer <rb.proj AT googlemail DOT com> default * 4441:cbd72078ad91 1.8/MoinMoin/xmlrpc/__init__.py: xmlrpc.revertPage: convert pagename to internal representation
94 2009-12-08T22:48:34 <ThomasWaldmann> Char :: #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
95 2009-12-08T22:48:51 <ThomasWaldmann> those are the valid unicode chars for xml
96 2009-12-08T23:16:57 * ThomasWaldmann wonders whether there is some ready-to-use library code for unicode -> unicode-valid-subset-for-xml
97 2009-12-08T23:17:03 <ThomasWaldmann> waldi: ^^?
98 2009-12-08T23:20:22 <waldi> hmm, i think elementtree and forks ignores that part of the spec
99 2009-12-08T23:25:20 * ThomasWaldmann thinks about just living with that problem for 1.9 and dropping wiki xmlrpc v2 for moin2
100 2009-12-08T23:25:48 <ThomasWaldmann> v1 just base64 encodes stuff
101 2009-12-08T23:26:27 <ThomasWaldmann> and if we want to deal with generic items, we need to treat stuff as binary anyway
102 2009-12-08T23:28:28 <ThomasWaldmann> or even drop wiki xmlrpc completely. the api is maybe not a good match anymore then anyway.
103 2009-12-08T23:35:43 <ThomasWaldmann> any comments?
104 2009-12-08T23:35:53 * dreimark needs xmlrpc
105 2009-12-08T23:38:52 <ThomasWaldmann> http://www.jspwiki.org/wiki/WikiRPCInterface2 < try to match that with generic items with metadata and data
106 2009-12-08T23:41:05 <dreimark> well if it doesn't match we need an own definition
107 2009-12-08T23:43:10 <dreimark> i don't like to miss a funtionality to add items similiar to xmlrpc
108 2009-12-08T23:45:10 <ThomasWaldmann> maybe we just design moin xmlrpc after we are finished with the other stuff :)
109 2009-12-08T23:45:47 <dreimark> :)