1 2010-07-12T00:09:21 <CIA-98> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 8469:1f8d7f79abef 2.0-dev/MoinMoin/i18n/tools/ (markup15to16.py mk_POTFILES.py prepend.py recode.py): remove some i18n tools not needed any more (outdated or soon to be replaced by babel)
2 2010-07-12T00:09:23 <CIA-98> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 8470:7041ebd81b2b 2.0-dev/MoinMoin/i18n/tools/ (babel babel.cfg): babel: added a small wrapper and a config for it
3 2010-07-12T00:10:36 *** RogerHaase
4 2010-07-12T00:14:40 <CIA-98> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 8471:8fae85a9c24f 2.0-dev/MoinMoin/i18n/ (43 files in 2 dirs): remove all translations (they didn't get any updates yet for moin2)
5 2010-07-12T00:21:30 <CIA-98> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 8472:e28b8efd1ca1 2.0-dev/MoinMoin/i18n/README: remove outdated i18n README
6 2010-07-12T00:21:32 <CIA-98> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 8473:64010633c6be 2.0-dev/MoinMoin/i18n/MoinMoin.pot: babel: generated MoinMoin.pot
7 2010-07-12T00:22:27 <ThomasWaldmann> diofeher: time flies like an arrow, fruit flies like a banana.
8 2010-07-12T00:34:57 *** valeuf
9 2010-07-12T02:31:28 <diofeher> ei-grad: happy birthday :D
10 2010-07-12T02:31:35 <diofeher> ThomasWaldmann: liked the phrase
11 2010-07-12T02:44:23 * dreimark is sleepless
12 2010-07-12T02:48:31 <ThomasWaldmann> still too hot here :)
13 2010-07-12T02:48:51 * ThomasWaldmann thinks about stealing i18n stuff from zine
14 2010-07-12T02:50:00 <diofeher> finally i've get it what interwiki is oO
15 2010-07-12T02:50:08 <diofeher> http://moinmo.in/InterWiki
16 2010-07-12T02:50:09 <diofeher> :P
17 2010-07-12T02:54:58 <dreimark> it is difficult to steal foss software
18 2010-07-12T02:55:30 <dreimark> it is given to everybody already
19 2010-07-12T02:56:14 <dreimark> diofeher: do you have done your own example of an interwiki link?
20 2010-07-12T02:56:44 <dreimark> MoinMoin:DiogenesAugustoFernandesHerminio
21 2010-07-12T02:56:57 <dreimark> should link from any moinmoin wiki to your homepage ;)
22 2010-07-12T03:29:40 *** valeuf
23 2010-07-12T03:29:48 *** valeuf
24 2010-07-12T03:34:29 <diofeher> dreimark tested now, nice :D
25 2010-07-12T03:59:13 <diofeher> good tip: http://sale.sitepoint.com/
26 2010-07-12T03:59:26 <diofeher> jquery novice to ninja, for free!
27 2010-07-12T04:23:11 <diofeher> ThomasWaldmann: are you there?
28 2010-07-12T04:44:06 <ThomasWaldmann> diofeher: cool, thanks for link
29 2010-07-12T04:45:12 <diofeher> thx to spain, to get this book for us :D
30 2010-07-12T04:45:36 <diofeher> ThomasWaldmann: can i show you some diff of interwiki function?
31 2010-07-12T04:46:05 <ThomasWaldmann> sure
32 2010-07-12T04:46:29 <diofeher> http://paste.pocoo.org/show/236326/
33 2010-07-12T04:47:09 <diofeher> well, what i understood in this function: if interwiki name is Self: return /item_name
34 2010-07-12T04:47:30 <diofeher> if not, return interwiki url, like: www.wikipedia.org/item_name
35 2010-07-12T04:52:43 <ThomasWaldmann> needs more work
36 2010-07-12T04:53:49 <diofeher> but i'm going in right way?
37 2010-07-12T04:54:40 <ThomasWaldmann> resolve_interwiki does most of what you need
38 2010-07-12T04:54:54 <ThomasWaldmann> it works even for Self and OwnName
39 2010-07-12T04:55:15 <ThomasWaldmann> so you don't need to check for that yourself
40 2010-07-12T04:56:20 <ThomasWaldmann> at least not for href, you need it for exists, though
41 2010-07-12T04:57:38 <diofeher> hm
42 2010-07-12T04:58:01 <diofeher> and how i emulate this wrong behavior of function is taking?
43 2010-07-12T04:58:17 <diofeher> i mean, how attribute in config and what expected result
44 2010-07-12T04:59:45 <ThomasWaldmann> interwiki = wikiutil.getInterwikiHomePage(request)
45 2010-07-12T04:59:53 <ThomasWaldmann> this please change to:
46 2010-07-12T05:00:10 <ThomasWaldmann> wikiname, itemname = wikiutil.get...
47 2010-07-12T05:00:43 <ThomasWaldmann> and i didn't understand your question
48 2010-07-12T05:02:37 <diofeher> for "Self" interwiki for example, the function works well
49 2010-07-12T05:03:13 <diofeher> but you told me function is behaving strange in other case
50 2010-07-12T05:03:24 <ThomasWaldmann> i did?
51 2010-07-12T05:03:39 <diofeher> i think yes :p
52 2010-07-12T05:03:48 <diofeher> about remote wiki, i think
53 2010-07-12T05:04:07 <ThomasWaldmann> i meant your code was wrong
54 2010-07-12T05:04:30 <ThomasWaldmann> because you just used href(itemname) even for remote items
55 2010-07-12T05:05:10 <diofeher> aaah ok!
56 2010-07-12T05:07:27 <ThomasWaldmann> new pastebin when you're ready with it
57 2010-07-12T05:08:28 <diofeher> other doubt, this function sometimes can return other links? e.g www.wikipedia.org
58 2010-07-12T05:08:40 <diofeher> or just different names, like OwnWiki MyWiki?
59 2010-07-12T05:09:10 <diofeher> i get confused a lot trying to fix this part :P
60 2010-07-12T05:09:19 <diofeher> (all functions)
61 2010-07-12T05:10:10 <ThomasWaldmann> look at source of resolve_wiki
62 2010-07-12T05:10:45 *** kursor
63 2010-07-12T05:10:50 <ThomasWaldmann> look at source of resolve_interwiki
64 2010-07-12T05:11:21 <diofeher> i've looked, and saw interwiki_list
65 2010-07-12T05:12:38 <ThomasWaldmann> yes, and that "list" is a dict with key wikiname and value wikibaseurl
66 2010-07-12T05:13:37 <ThomasWaldmann> e.g. 'MoinMoin' -> 'http://moinmo.in/'
67 2010-07-12T05:15:13 <diofeher> hm
68 2010-07-12T05:15:20 <diofeher> gonna still trying
69 2010-07-12T05:15:28 <diofeher> but thx for explanation
70 2010-07-12T05:21:28 * ThomasWaldmann .sleep() # at least trying
71 2010-07-12T05:29:10 <diofeher> you're really addicted in code :P
72 2010-07-12T05:39:53 *** DmitryAndreev
73 2010-07-12T05:51:35 <diofeher> well, i've tested to put MoinMoin:Self
74 2010-07-12T05:51:42 <diofeher> and pointed to /Interwiki
75 2010-07-12T06:23:29 *** kursor
76 2010-07-12T06:38:55 <diofeher> going to continue this interwiki_item_url tomorrow
77 2010-07-12T06:39:01 <diofeher> i'm kind stucked :S
78 2010-07-12T06:40:28 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8656:aa52ddb407e2 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (theme/jinja.py wikiutil.py): [templating] temporary version of interwiki_item_url. refactored name and local variables
79 2010-07-12T07:14:53 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8657:b673e3e6196b 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/layout.html theme/jinja.py): [templating] fixed inconsistency of interwiki item in trail
80 2010-07-12T07:18:10 *** DmitryAndreev
81 2010-07-12T07:42:50 *** franklin
82 2010-07-12T09:43:56 *** franklin
83 2010-07-12T09:54:17 <ThomasWaldmann> moin
84 2010-07-12T09:54:47 * ThomasWaldmann .oO(that night was definitely too short and too hot 8| )
85 2010-07-12T10:08:05 <dreimark> re
86 2010-07-12T10:13:20 <valeuf> moin :)
87 2010-07-12T10:16:53 <valeuf> ThomasWaldmann: I am not sure I understood really well what was your worry about image and object
88 2010-07-12T10:19:12 <ThomasWaldmann> that image html generated from dom roundtrips correctly back to dom?
89 2010-07-12T10:20:24 <ThomasWaldmann> btw, I looked at zine's babel integration (for i18n stuff)
90 2010-07-12T10:21:21 <ThomasWaldmann> i guess we can at least copy the i18n maintenance scripts (extract messages, update catalogs, add translations, compile catalogs)
91 2010-07-12T10:22:53 <ThomasWaldmann> they solve that task for main code and also for zine-like plugins with own plugindir/i18n/
92 2010-07-12T10:23:13 <valeuf> ThomasWaldmann: actually I do not see what is your worry, in the DOM tree img or object are all represented using <object xlink:href="uri:test">
93 2010-07-12T10:23:52 <valeuf> so for img tag the conversion is rather simple (since I just use the src attribute for the uri:test) and then in the HTML out it is easily converted back
94 2010-07-12T10:24:53 <ThomasWaldmann> so how does the html look like exactly?
95 2010-07-12T10:28:16 <valeuf> for image for instance
96 2010-07-12T10:29:55 <valeuf> <img src="http://media.wiki.com/pics.png"> -----> <object xlink:href="http://media.wiki.com/pics.png"> -----> <img src="http://media.wiki.com/pics.png">
97 2010-07-12T10:30:59 <valeuf> the only problem which could happen, it is if you do not use image extension for your files (which would be quite weird anyway)
98 2010-07-12T10:31:29 <valeuf> but it won't be a so big deal since it will give the following conversion
99 2010-07-12T10:33:07 <valeuf> <img src="http://media.wiki.com/pics"/> -----> <object xlink:href="http://media.wiki.com/pics"/> ----> <object data="http://media.wiki.com/pics"/>
100 2010-07-12T10:42:10 * dreimark whishes to have a beach here and wants to sleep there
101 2010-07-12T10:43:32 <ThomasWaldmann> i mean local images in a moin wiki item
102 2010-07-12T10:45:17 <ThomasWaldmann> but yes, you are right, what could go wrong there is not in the dom/html half, if dom has already a fully expanded url
103 2010-07-12T10:47:07 <valeuf> well you point the problem I was talking about yesterday
104 2010-07-12T10:47:34 <valeuf> let's imagine that someone do not use absolute URL, but relative one
105 2010-07-12T10:47:40 <valeuf> we got the following
106 2010-07-12T10:48:38 <valeuf> <img src="myPics.png"> -----> <object xlink:href="myPics.png"> -----> <img src="myPics.png">
107 2010-07-12T10:49:23 <ThomasWaldmann> moin usually has at least an absolute path
108 2010-07-12T10:49:47 <valeuf> we do not know if the relative url will work after the conversion, because we do not in which context you output HTML code will be used
109 2010-07-12T10:50:20 <ThomasWaldmann> and if you have an item namen example.jpg, the url currently is /example.jpg?do=get (get raw item content)
110 2010-07-12T10:50:51 <waldi> and the corresponding URI is wiki:/example.jpg
111 2010-07-12T10:51:21 <valeuf> I need to check for HTML OUT, but after HTML_IN you will get
112 2010-07-12T10:51:43 <ThomasWaldmann> if you don't use ?do=get, you get an image with the moin theme around it
113 2010-07-12T10:51:47 <valeuf> <img src="myPics.png"> -----> <object xlink:href="myPics.png">
114 2010-07-12T10:51:53 <valeuf> rah sorry
115 2010-07-12T10:51:55 <dreimark> can't you replace wiki: by the netloc?
116 2010-07-12T10:52:06 <valeuf> <objec/example.jpg?do=get
117 2010-07-12T10:52:13 <valeuf> fail
118 2010-07-12T10:52:32 <valeuf> <object xlink:href="/example.jpg?do=get" />
119 2010-07-12T10:52:53 <valeuf> waldi: does the HTML_OUT converter expand such link ?
120 2010-07-12T10:53:03 <waldi> no
121 2010-07-12T10:56:03 <valeuf> I will test, but expected output should be <img src="/example.jpg?do=get" />
122 2010-07-12T10:56:18 <waldi> no
123 2010-07-12T10:56:31 <waldi> expected output is exactly what it gets
124 2010-07-12T10:56:58 <valeuf> which was <img src="/example.jpg?do=get" /> in ThomasWaldmann example
125 2010-07-12T10:57:12 <valeuf> (expected output after roundtrip)
126 2010-07-12T10:57:48 <waldi> the urls are _opaque_
127 2010-07-12T10:58:39 <ThomasWaldmann> the only "problem" might be in dom -> markup
128 2010-07-12T10:59:04 <valeuf> ThomasWaldmann: I will also face this problem in DOM--> DocBook
129 2010-07-12T10:59:41 <ThomasWaldmann> because it has to find out then that some URLs translate to lokal item transclusions and some others not
130 2010-07-12T11:00:34 <ThomasWaldmann> also we still need the code for markup -> dom for images and icons, of course that should be done first
131 2010-07-12T11:01:36 <valeuf> I know that URL is opaque, but some code should probably deal with context of URL, and make some conversion if needed
132 2010-07-12T11:02:20 <valeuf> brb
133 2010-07-12T11:02:22 *** valeuf
134 2010-07-12T11:02:56 *** valeuf
135 2010-07-12T11:05:39 * dreimark bad weather warning, hail and storm
136 2010-07-12T11:11:33 *** valeuf
137 2010-07-12T11:18:39 <ThomasWaldmann> valeuf: btw, when you told yesterday that you have to reboot your server, my internet connection broke. coincidence? :D
138 2010-07-12T11:21:08 <valeuf> :D
139 2010-07-12T11:21:15 <valeuf> impossible :p
140 2010-07-12T11:22:01 <valeuf> (especially, because I reboot at least 20 minutes after I wrote this, since the update was not completely done contrarily to what I thought)
141 2010-07-12T11:28:17 <dreimark> why do we have that slow startup in moin-2.0-dev?
142 2010-07-12T11:29:14 <ThomasWaldmann> likely because of storage backend stuff
143 2010-07-12T11:29:30 <ThomasWaldmann> you can try disabling preload xml
144 2010-07-12T11:31:12 <ThomasWaldmann> i plan to make a new and smaller wiki/syspages.xml after I finished the name/uuid stuff
145 2010-07-12T11:32:33 <ThomasWaldmann> also, i plan to remove the name<>uuid mapping db then from fs2 (and later from fs also), because that stuff will be done by router middleware then
146 2010-07-12T11:33:35 <ThomasWaldmann> also, some operations can be done in the router via the index. e.g. item.exists() will work in about zero time then :)
147 2010-07-12T11:35:28 <ThomasWaldmann> same for some selects that work on indexed metadata, like "give me all items of some specific mimetype"
148 2010-07-12T11:43:42 *** diofeher
149 2010-07-12T11:47:23 *** diofeher
150 2010-07-12T11:50:04 <ei-grad> moin
151 2010-07-12T12:00:04 <valeuf> wow, it will be short to get my flight next sunday, there is no early train to go to the airport :s
152 2010-07-12T12:20:53 * ThomasWaldmann flies in the evening from a local airport
153 2010-07-12T13:26:32 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8629:a27d63878a82 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add test for the numeration attribute for the orderedlist for the DocBook_IN converter
154 2010-07-12T13:26:35 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8630:c7d9050b02e0 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add conversion for the numeration attribute for the orderedlist for the DocBook_IN converter
155 2010-07-12T14:32:19 <dreimark> ei-grad: http://moinmo.in/MoinMoinBugs/LdapUsername please fix that
156 2010-07-12T14:35:48 <dreimark> ei-grad: ignore for now
157 2010-07-12T14:37:21 *** DmitryAndreev
158 2010-07-12T14:56:19 <diofeher> moin
159 2010-07-12T15:02:38 *** DmitryAndreev
160 2010-07-12T15:22:43 *** DmitryAndreev
161 2010-07-12T15:28:12 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8658:54c33f58ff7e 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/layout.html theme/jinja.py): [templating] fixed incosistency in navibar and splitNavilink (now return pagename, url, text and title (used by interwiki links)
162 2010-07-12T15:31:55 <ei-grad> dreimark: is that really a bug? what is a problem there?
163 2010-07-12T15:33:08 <ei-grad> http://moinmo.in/4ct10n/subscribe/MoinMoinBugs/LdapUsernameIssues looks more resonable to fix... %(
164 2010-07-12T15:33:12 <ei-grad> ups
165 2010-07-12T15:33:18 <ei-grad> sry wrong link
166 2010-07-12T15:33:30 <ei-grad> http://moinmo.in/MoinMoinBugs/LdapUsername
167 2010-07-12T15:34:20 <ei-grad> i mean http://moinmo.in/MoinMoinBugs/LdapUsernameIssues
168 2010-07-12T15:42:36 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8659:d3bb73f3a763 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/jinja.py: [templating] killed Page instances in the end of splitNavibar and refactored
169 2010-07-12T15:46:11 *** DmitryAndreev
170 2010-07-12T15:47:39 <dreimark> ei-grad: the problem that one can have now many usernames and multiple times the same email adress
171 2010-07-12T15:48:48 <dreimark> we need maybe store more data in the userprofile e.g. the dn of the ldap query
172 2010-07-12T15:49:28 <dreimark> then one can destinguish if this is the same user and just a different writing
173 2010-07-12T15:51:03 <dreimark> if one has multiple preferences files then it is not easy to unsubscribe
174 2010-07-12T15:51:27 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8660:db3b2a822d18 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/jinja.py: [templating] fixed html errors in userprefs
175 2010-07-12T15:51:41 <dreimark> also if you have user groups then the names there are casesensitive
176 2010-07-12T16:04:13 <diofeher> ThomasWaldmann TheSheep ping
177 2010-07-12T16:08:06 <diofeher> i'm going to move these "for" in stylesheets_list to base.html
178 2010-07-12T16:08:09 <dreimark> do we have a method which can decode that "data:image/png;base64,iVBORw0KGgoAAA" ?
179 2010-07-12T16:12:32 *** DmitryAndreev
180 2010-07-12T16:13:09 *** RogerHaase
181 2010-07-12T16:16:35 *** kursor
182 2010-07-12T16:37:23 *** DmitryAndreev
183 2010-07-12T16:50:40 <valeuf> /join #docbook
184 2010-07-12T16:50:47 <valeuf> fail .... sorry about it
185 2010-07-12T16:55:24 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8661:c2bcc53567d2 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/base.html theme/jinja.py): [templating] get rid of _stylesheet_link and stylesheets_list, css link tags are rendering directly in template
186 2010-07-12T16:58:21 <TheSheep> dreimark: why do you need to decode it?
187 2010-07-12T16:58:29 <TheSheep> dreimark: browsers can use it like that
188 2010-07-12T16:59:13 <TheSheep> diofeher: yes?
189 2010-07-12T16:59:42 *** valeuf
190 2010-07-12T17:01:38 *** valeuf
191 2010-07-12T17:05:07 <dreimark> TheSheep: i want to save it to a png file
192 2010-07-12T17:10:17 <TheSheep> dreimark: split on , and base64-decode
193 2010-07-12T17:11:11 <TheSheep> http://docs.python.org/library/base64.html#base64.b64decode
194 2010-07-12T17:11:30 <TheSheep> sorry, that's http://docs.python.org/library/base64.html#base64.urlsafe_b64decode
195 2010-07-12T17:12:05 <diofeher> TheSheep: http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/c2bcc53567d2
196 2010-07-12T17:12:07 <diofeher> is it ok?
197 2010-07-12T17:13:58 <TheSheep> user_css_url.lower!= "none" <-- why?
198 2010-07-12T17:14:18 <TheSheep> what is it supposed to do?
199 2010-07-12T17:14:36 <diofeher> it's in original if in ThemeBase
200 2010-07-12T17:14:53 <diofeher> i just translated to Jinja :P
201 2010-07-12T17:15:08 <TheSheep> do you understand what it does?
202 2010-07-12T17:15:10 <diofeher> maybe it's save None as string
203 2010-07-12T17:15:37 <diofeher> in user_css, if blank
204 2010-07-12T17:15:39 <TheSheep> maybe?
205 2010-07-12T17:15:42 <diofeher> not sure
206 2010-07-12T17:15:59 <TheSheep> don't just blindly translate things without understanding them first
207 2010-07-12T17:16:36 <diofeher> hm
208 2010-07-12T17:16:37 <diofeher> ok
209 2010-07-12T17:16:55 <diofeher> but what supposed to mean first?
210 2010-07-12T17:17:00 <dreimark> TheSheep: thx
211 2010-07-12T17:18:28 <diofeher> well, not save as 'None' when empty, so i can remove this test
212 2010-07-12T17:20:29 <TheSheep> diofeher: I don't see it used anywhere in the code
213 2010-07-12T17:20:39 <TheSheep> diofeher: I mean request.user_css
214 2010-07-12T17:20:51 <TheSheep> sorry
215 2010-07-12T17:20:55 <TheSheep> request.css_url
216 2010-07-12T17:22:38 *** DmitryAndreev
217 2010-07-12T17:22:44 <diofeher> you mean user.css_url?
218 2010-07-12T17:22:53 <TheSheep> yeah
219 2010-07-12T17:23:07 <diofeher> yea, just used there
220 2010-07-12T17:23:09 <TheSheep> well, there are only 3 spots with the text 'css_url'
221 2010-07-12T17:23:16 <TheSheep> to in the default config
222 2010-07-12T17:23:18 <TheSheep> two
223 2010-07-12T17:23:22 <TheSheep> and one in the theme
224 2010-07-12T17:23:50 <TheSheep> hmm... I suspect something
225 2010-07-12T17:24:20 <diofeher> css_url in config
226 2010-07-12T17:24:35 <diofeher> if leave empty, maybe return None when we try to access it
227 2010-07-12T17:24:42 <diofeher> let me test
228 2010-07-12T17:26:59 <TheSheep> no, it returns '' when empty
229 2010-07-12T17:27:12 <TheSheep> and if it was None, you couldn't call .lower() on it anyways
230 2010-07-12T17:27:29 <diofeher> yea
231 2010-07-12T17:28:05 <TheSheep> it's set in userprefs/prefs.py in line 190
232 2010-07-12T17:29:05 <TheSheep> well, a few lines lower in fact, but you get the idea
233 2010-07-12T17:29:54 <TheSheep> I think that 'none' might be a compatibility fix for old configs that could get a None and save it in the file as string...
234 2010-07-12T17:30:13 <TheSheep> for moin2 this can be handled in the migration, if ever needed
235 2010-07-12T17:30:30 <diofeher> get it
236 2010-07-12T17:30:34 <diofeher> so gonna leave this in code
237 2010-07-12T17:32:26 <TheSheep> no, remove it
238 2010-07-12T17:33:36 <TheSheep> only check if it's non-empty
239 2010-07-12T17:33:47 <diofeher> ok
240 2010-07-12T17:36:14 <TheSheep> diofeher: http://paste.pocoo.org/show/236550/
241 2010-07-12T17:37:46 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8662:16779b0e1fa4 2.0-dev-jinja2-plugins-dfeher/MoinMoin/templates/base.html: [templating] removing test condition of user_css in base.html
242 2010-07-12T17:37:47 <diofeher> thx, better than my version :P
243 2010-07-12T17:37:48 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8663:f8fa2874bbc1 2.0-dev-jinja2-plugins-dfeher/MoinMoin/templates/base.html: [templating] refactoring test condition of user_css
244 2010-07-12T18:08:25 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8631:a52b109e634d 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Add Bastian Blank copyright for DocBook_OUT
245 2010-07-12T18:08:27 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8632:a94a4ba50bff 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_out.py: Fix namespace problem in DocBook_OUT unit tests
246 2010-07-12T18:08:29 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8633:df89fb6766ca 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Add conversion for rowspan and colspan attributes
247 2010-07-12T18:08:31 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8634:dcfa5bf7acab 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_in.py: Add tests for table for DocBook_IN converter from HTML_IN converter
248 2010-07-12T18:08:32 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8635:ead34d89b3db 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Add table conversion for DocBook_IN converter from HTML_IN
249 2010-07-12T18:08:34 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8636:fbaaca196404 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_in.py: Fix PEP8 error
250 2010-07-12T18:27:12 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8664:6e3c41bb30b0 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (4 files in 2 dirs): [templating] merged JinjaTheme into ThemeBase and removed theme/jinja.py. modernized is now wrapper of ThemeBase instead of JinjaTheme
251 2010-07-12T18:27:14 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8665:14b55f280752 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/ (__init__.py _tests/test_editbar_actions.py): [templating] fixed some imports error in ThemeBase and canceled some tests of ThemeBase.
252 2010-07-12T18:27:35 <diofeher> TheSheep: JinjaTheme merged back in ThemeBase :D
253 2010-07-12T18:28:22 <diofeher> going to college now, one more project to deliver :/ bbl
254 2010-07-12T18:29:33 *** kursor
255 2010-07-12T18:36:19 <valeuf> waldi I get stuck with some unicode problem !
256 2010-07-12T18:36:37 <valeuf> I was doing some real test for my DocBook_IN converter
257 2010-07-12T18:37:07 <valeuf> and i got the famous UnicodeEncodeError: 'ascii' codec can't encode character error when there is non ASCII char in my DocBook d
258 2010-07-12T18:37:10 <valeuf> *document
259 2010-07-12T18:38:01 <valeuf> but the content given to the converter is supposed to be unicode (I check in the code in items/__init__.py)
260 2010-07-12T18:38:05 <valeuf> I probably missed something
261 2010-07-12T18:39:01 <waldi> yes, it gets unicode and you try to make byte strings out of it. check for any byte strings in the source
262 2010-07-12T18:43:10 <valeuf> grmbl I cannot find
263 2010-07-12T18:52:04 <waldi> but i do:
264 2010-07-12T18:52:06 <waldi> docbook_str = ''
265 2010-07-12T18:52:06 <waldi> docbook_str = docbook_str.join(content)
266 2010-07-12T18:52:13 <valeuf> no I fixed that
267 2010-07-12T18:52:25 <valeuf> well maybe not correctly
268 2010-07-12T18:52:42 <valeuf> I replace docbook_str = u''
269 2010-07-12T18:59:16 <valeuf> curiously it works with bytestring in fact
270 2010-07-12T18:59:52 <valeuf> with this line : tree = ET.XML(docbook_str.encode('utf-8'))
271 2010-07-12T18:59:57 <valeuf> it works fine
272 2010-07-12T19:00:11 <valeuf> but without the encode method
273 2010-07-12T19:01:58 <valeuf> I get the following traceback
274 2010-07-12T19:02:11 <valeuf> http://paste.pocoo.org/show/236610/
275 2010-07-12T19:04:58 <dreimark> there is a limitation
276 2010-07-12T19:05:01 <ThomasWaldmann> re
277 2010-07-12T19:05:03 * dreimark remebers a wikipage
278 2010-07-12T19:09:12 <ThomasWaldmann> yay, changesets :)
279 2010-07-12T19:13:04 <valeuf> ok DocBook_IN start to produce correct results with real data, however, still a lot of tags are missing
280 2010-07-12T19:13:27 <valeuf> btw waldi using the encode method as I wrote fixed the problem, is that an acceptable solution ?
281 2010-07-12T19:14:03 <waldi> maybe the xml parser fails with unicode, have to check
282 2010-07-12T19:15:42 <valeuf> waldi: yep, I think so too, I will try to have a look tonight about it, maybe I can find the problem
283 2010-07-12T19:15:55 <valeuf> I won't commit the fix so, since it is not a correct solution
284 2010-07-12T19:16:06 <valeuf> (dinner time, bbl)
285 2010-07-12T19:28:42 *** DmitryAndreev
286 2010-07-12T19:30:55 <ThomasWaldmann> http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/c2bcc53567d2 nice
287 2010-07-12T19:30:56 *** ValentinJaniaut
288 2010-07-12T19:31:45 *** valeuf
289 2010-07-12T19:31:45 *** ValentinJaniaut
290 2010-07-12T19:35:47 <ThomasWaldmann> diofeher: alternate stylesheet support was lost on the road?
291 2010-07-12T19:40:02 *** ValentinJaniaut
292 2010-07-12T19:40:48 *** valeuf
293 2010-07-12T19:40:48 *** ValentinJaniaut
294 2010-07-12T19:42:16 *** grzywacz
295 2010-07-12T19:55:28 <CIA-98> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 8474:46686d9218ba 2.0-dev/MoinMoin/i18n/en.MoinMoin.po: add dummy en .po file so moin doesn't crash
296 2010-07-12T23:30:48 <diofeher> re
297 2010-07-12T23:33:55 <ThomasWaldmann> hey :)
298 2010-07-12T23:34:15 <ThomasWaldmann> nice to see some more intensive work today
299 2010-07-12T23:37:24 <valeuf> ThomasWaldmann: do you have some thoughts about a timeline for moin2 ? or you adopt debian philosophy : realase when it is done :)
300 2010-07-12T23:39:00 <ThomasWaldmann> i think it is much too early to tell
301 2010-07-12T23:40:09 <ThomasWaldmann> but i want it before we run out of one digit numbers in 1.9.x
302 2010-07-12T23:40:26 <valeuf> :D