1 2010-06-03T00:44:56 <TheSheep> I guess no diofeher anymore :(
2 2010-06-03T00:45:12 <TheSheep> ah, 1 more hour
3 2010-06-03T00:45:23 <TheSheep> well, I'm going to sleep
4 2010-06-03T01:49:56 <CIA-47> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8249:e5c2924c743c 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_html_in.py: Improve tests using better XPath queries
5 2010-06-03T01:50:20 <valeuf> I guess everybody is sleeping, but you can answer when you will wake up tomorrow :)
6 2010-06-03T01:50:36 <valeuf> I am looking to use my converter in the reality not only with py.test
7 2010-06-03T01:50:50 <valeuf> however I cannot find how I can convert page in MoinMoin2.0
8 2010-06-03T01:51:12 <valeuf> I can create page in HTML (with really nice WYSIWYG editor)
9 2010-06-03T01:51:22 <valeuf> but, it is naturally not converted
10 2010-06-03T01:51:41 <valeuf> I am also probably wrong with the mimetype in the declaration of my factory
11 2010-06-03T01:52:32 <valeuf> So if someone can give some explain about it tomorrow it could be nice :)
12 2010-06-03T04:37:39 *** ronny_
13 2010-06-03T04:42:33 *** ronny
14 2010-06-03T05:57:05 *** ValentinJaniaut
15 2010-06-03T05:57:05 *** valeuf
16 2010-06-03T05:57:07 *** ValentinJaniaut
17 2010-06-03T06:23:26 *** kursor
18 2010-06-03T07:48:42 *** kursor
19 2010-06-03T08:03:06 *** gwork
20 2010-06-03T09:58:49 <valeuf> wow :) I succed to book everything for EuroPython !
21 2010-06-03T10:47:50 <CIA-47> Eugene Syromyatnikov <evgsyr@gmail.com> default * 5674:68ba3cc79513 1.9/MoinMoin/PageEditor.py: Fixed MoinMoinBugs/1.9.2XSSTemplateParameter by escaping template name in messages.
22 2010-06-03T11:03:03 <dreimark> 1.7, 1.8
23 2010-06-03T11:08:44 <eSyr> dreimark: i'm not sure if i have access to moin 1.7 repo
24 2010-06-03T11:09:46 <dreimark> hmm, i can't verify. can you try? if not i can backport that patch
25 2010-06-03T11:10:07 * dreimark has activated the patch on master19 and mm
26 2010-06-03T11:10:10 <eSyr> ok, i'll try.
27 2010-06-03T11:12:56 <eSyr> yes, looks like i have no access to 1.7 repo.
28 2010-06-03T11:17:12 <eSyr> (hehe, hg pull -u still in progress...)
29 2010-06-03T11:17:33 <eSyr> (tell me once again that hg is petter than git)
30 2010-06-03T11:17:36 <eSyr> *better
31 2010-06-03T11:17:52 <dreimark> which version do you use?
32 2010-06-03T11:25:13 <eSyr> 1.5
33 2010-06-03T11:25:29 <dreimark> old
34 2010-06-03T11:28:29 <eSyr> hm, i'm starting to fix similiar issues in other places (mostly in actions)
35 2010-06-03T11:28:35 <eSyr> *i've started
36 2010-06-03T11:29:22 <dreimark> if possible do it in 1.7 so it can be merged in to all otehr upper versions
37 2010-06-03T11:30:37 <eSyr> oh, if i only have acssess to this version. I'll do it in 1.8.
38 2010-06-03T11:31:18 * dreimark calls ThomasWaldmann in a minute
39 2010-06-03T11:32:26 <dreimark> eSyr: ok, we can backport to 1.7 from 1.8
40 2010-06-03T11:32:52 <eSyr> ok.
41 2010-06-03T11:32:54 <eSyr> bbl
42 2010-06-03T11:36:43 <ThomasWaldmann> moin
43 2010-06-03T11:37:03 <dreimark> eSyr: ping
44 2010-06-03T11:37:12 <ThomasWaldmann> eSyr: try to fix it in 1.7, forward merging is easier
45 2010-06-03T11:37:53 <dreimark> he needs commit rights for 1.7
46 2010-06-03T11:42:10 <ThomasWaldmann> eSyr: you have commit access to 1.7 now
47 2010-06-03T11:43:16 <ThomasWaldmann> (changes in 1.7 are severe bugs only, like security bugs or data loss or so)
48 2010-06-03T11:48:51 <ThomasWaldmann> diofeher: TheSheep: we should think about how to improve XSS resistance in moin2
49 2010-06-03T11:53:42 <TheSheep> ThomasWaldmann: jinja2 escapes text by default, as most other templates
50 2010-06-03T11:54:10 <TheSheep> ThomasWaldmann: but that won't help with the generated html
51 2010-06-03T11:56:57 <ThomasWaldmann> iirc jinja has some switch to auto-escape or not
52 2010-06-03T11:59:03 <eSyr> okk
53 2010-06-03T11:59:16 <dreimark> :)#
54 2010-06-03T11:59:19 <dreimark> -#
55 2010-06-03T11:59:30 <ThomasWaldmann> eSyr: and be careful when merging back and forth :)
56 2010-06-03T11:59:30 <eSyr> Faxem yesm i have noscript too :)
57 2010-06-03T11:59:33 <TheSheep> yes, the point is, you can't escape the content you get from the wiki
58 2010-06-03T11:59:36 <TheSheep> the parsed page
59 2010-06-03T12:00:03 <eSyr> yesm i'll try my best.
60 2010-06-03T12:00:24 <eSyr> (sorry for typos, i'm from treo now)
61 2010-06-03T12:00:41 <TheSheep> generally, we have to try to move as much html as possible into templates, and make moin and its plugin generate plain text as much as possible
62 2010-06-03T12:00:56 <TheSheep> eSyr: train?
63 2010-06-03T12:02:55 <eSyr> TheSheep: palm treo, i'm ihaving lunch now.
64 2010-06-03T12:03:14 <TheSheep> ah, bon apetite
65 2010-06-03T12:03:28 <eSyr> thanks :)
66 2010-06-03T12:34:35 <eSyr> (updating underlay always makes me worrying)
67 2010-06-03T12:36:52 <eSyr> errm, what was these youtube-related msgs about?
68 2010-06-03T12:37:04 <ThomasWaldmann> my fault, already gone again
69 2010-06-03T12:37:47 <ThomasWaldmann> (I had a 3rd party macro in my workdir when running the updater)
70 2010-06-03T12:38:05 <eSyr> ah, ok.
71 2010-06-03T12:44:55 <dreimark> bbl
72 2010-06-03T13:30:59 <CIA-47> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5675:de7d4e43d3aa 1.9/wiki/underlay.tar: updated underlay
73 2010-06-03T13:44:12 <eSyr> btw, how merge between branches should be done properly in hg?
74 2010-06-03T13:44:40 <eSyr> hg branches tell about only one branch, looks like i'm missing something
75 2010-06-03T13:46:24 <ThomasWaldmann> we use repos, not branches
76 2010-06-03T13:46:55 <ThomasWaldmann> and if you fix something in moin/1.7, you just pull that from 1.7 repo into 1.8 repo and merge
77 2010-06-03T13:48:00 <eSyr> ah, ok, understand.
78 2010-06-03T13:49:56 <CIA-47> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 4503:cc754d368e13 1.8/wiki/underlay.tar: updated underlay
79 2010-06-03T13:50:11 <ThomasWaldmann> (and before doing that, pull all changesets from hg.moinmo.in)
80 2010-06-03T14:22:52 *** ei-grad
81 2010-06-03T14:28:34 *** grad
82 2010-06-03T14:28:40 *** grad
83 2010-06-03T15:32:17 <eSyr> hehe, found implementation of ActionBase.render_msg in backup action - sendMsg
84 2010-06-03T15:35:02 <CIA-47> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5676:9dd52dff85e7 1.9/ (MoinMoin/support/flup/server/threadpool.py docs/REQUIREMENTS): update flup to latest upstream repo version
85 2010-06-03T15:43:00 <ThomasWaldmann> diofeher: http://moinmo.in/DiogenesAugustoFernandesHerminio/GSoC2010/Diary please remember to work on your project regularly and also update your diary
86 2010-06-03T15:51:05 <valeuf> I got a mail from the admin of : http://wiki.tldp.org/
87 2010-06-03T15:51:19 <valeuf> he is really interested in DocBook converter for moin2 :)
88 2010-06-03T15:52:25 <ThomasWaldmann> :)
89 2010-06-03T15:53:14 <valeuf> he proposed me to use his wiki for test :)
90 2010-06-03T15:53:16 <valeuf> pretty fun
91 2010-06-03T15:53:16 <ThomasWaldmann> well, in the past docbook stuff didn't lack interest of users, but rather of continuous maintainers
92 2010-06-03T15:54:03 <valeuf> :)
93 2010-06-03T16:21:06 <diofeher> moin!
94 2010-06-03T16:26:03 <ThomasWaldmann> hi dio
95 2010-06-03T16:30:16 <diofeher> Hi ThomasWaldmann :)
96 2010-06-03T16:30:32 <diofeher> hey, i'm still doing the "backlink" action
97 2010-06-03T16:36:32 <ThomasWaldmann> that shouldn't be that hard?
98 2010-06-03T16:38:59 <diofeher> no... but i played with this just a little :P
99 2010-06-03T16:39:26 <ThomasWaldmann> if you have something to review > pastebinit :)
100 2010-06-03T16:39:42 <diofeher> http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/5d5ea6c65643
101 2010-06-03T16:39:50 <diofeher> i use paste.pocoo.org :P
102 2010-06-03T16:40:07 <diofeher> my only problem is to do this conversion... is any existing function in moin to do this?
103 2010-06-03T16:40:24 <diofeher> %3A to "
104 2010-06-03T16:40:37 <diofeher> if it doesn't exists i do a new
105 2010-06-03T16:41:03 <ThomasWaldmann> 1.26 \ No newline at end of file
106 2010-06-03T16:41:18 <diofeher> oush, i putted a newline ._.
107 2010-06-03T16:41:22 <diofeher> put*
108 2010-06-03T16:41:27 <ThomasWaldmann> you still don't read your diffs before committing
109 2010-06-03T16:41:59 <diofeher> srry
110 2010-06-03T16:42:18 <ThomasWaldmann> 1.6 + MoinMoin - backurl - removing backling magic from Themebase.title() and moving to actions
111 2010-06-03T16:42:33 <ThomasWaldmann> that is rather a description of the changeset than of the action
112 2010-06-03T16:42:50 <ThomasWaldmann> (and the action name seems to be backlink not backurl)
113 2010-06-03T16:43:15 <ThomasWaldmann> 1.21 + # TODO: Fix convertion of " to %3A
114 2010-06-03T16:43:25 <ThomasWaldmann> what does that mean / refer to?
115 2010-06-03T16:44:50 <ThomasWaldmann> 1.23 + #request.http_redirect(url, code=301)
116 2010-06-03T16:44:54 <ThomasWaldmann> why commented?
117 2010-06-03T16:45:09 <diofeher> ok, gonna change
118 2010-06-03T16:45:29 <diofeher> because if discommented, give me an error and cannot debug with print :P
119 2010-06-03T16:45:57 <ThomasWaldmann> you shouldn't debug with print anyway :) use logging.debug() :)
120 2010-06-03T16:46:15 <ThomasWaldmann> and what error does it give?
121 2010-06-03T16:46:17 <diofeher> this TODO refer to url... because is giving me with %3A instead of ~
122 2010-06-03T16:46:25 <diofeher> s/~/"
123 2010-06-03T16:46:56 <ThomasWaldmann> i don't quite understand why you have trouble with url generation
124 2010-06-03T16:47:18 <ThomasWaldmann> the piece of code is there, it is in the code you want to remove / had removed
125 2010-06-03T16:47:44 <diofeher> but is different
126 2010-06-03T16:48:01 <diofeher> because the title return html code... with class and so
127 2010-06-03T16:48:28 <diofeher> i'm using url that returns only link
128 2010-06-03T16:52:55 <ThomasWaldmann> i suggest you look at behaviour of code before your change
129 2010-06-03T16:53:05 <ThomasWaldmann> esp. at how the target url looks like
130 2010-06-03T16:53:43 <diofeher> i saw the target url looks like... the only difference is that
131 2010-06-03T16:53:46 <ThomasWaldmann> (and don't get fooled by some browsers prettifying URLs)
132 2010-06-03T16:54:25 <diofeher> what browsers do this? and how is it works? never read about
133 2010-06-03T16:55:38 <diofeher> whoa, this is exactly the problem
134 2010-06-03T16:55:57 <ThomasWaldmann> e.g. if you have a page name with a blank inside
135 2010-06-03T16:56:01 <diofeher> safari renders in other way.. render both the same
136 2010-06-03T16:56:08 <diofeher> and i was using firefox
137 2010-06-03T16:56:09 <ThomasWaldmann> the url will be ../page%20name
138 2010-06-03T16:56:25 <ThomasWaldmann> but firefow will show /page name in url input line
139 2010-06-03T16:57:00 <diofeher> didn't know about this... thanks :)
140 2010-06-03T16:57:07 <diofeher> so i think my generation is correct
141 2010-06-03T16:57:34 <ThomasWaldmann> maybe do some practical tests?
142 2010-06-03T16:57:57 <ThomasWaldmann> btw, dict alignment. i like to format it that way:
143 2010-06-03T16:58:00 <diofeher> they both giving me the same error when try to fullsearch (AttributeError: 'Page' object has no attribute 'encode)
144 2010-06-03T16:58:13 <ThomasWaldmann> foo = {'bar': baz,
145 2010-06-03T16:58:45 <ThomasWaldmann> 'foo': 42,
146 2010-06-03T16:58:53 <ThomasWaldmann> }
147 2010-06-03T16:59:23 <ThomasWaldmann> or the dict(bar=baz, foo=42) method
148 2010-06-03T16:59:50 <diofeher> yes... i changed because giving me pep8 error (space between the end and }
149 2010-06-03T16:59:59 <ThomasWaldmann> search is broken, just compare whether the url it redirects to is same as before
150 2010-06-03T17:01:07 <diofeher> yes, it's the same
151 2010-06-03T17:01:38 <ThomasWaldmann> also check the redirect code, 301 is likely incorrect
152 2010-06-03T17:02:26 <diofeher> 302 looks more correct, right?
153 2010-06-03T17:04:18 <ThomasWaldmann> yes, I think so
154 2010-06-03T17:05:00 <ThomasWaldmann> your code is also likely still missing some "long text" for the action menu
155 2010-06-03T17:05:23 *** gwork
156 2010-06-03T17:06:01 <diofeher> "long text"?
157 2010-06-03T17:06:03 <ThomasWaldmann> if you don't give that, it will just show "backlink", but "What links here" would be more familiar, esp. to Mediawiki users.
158 2010-06-03T17:06:27 <ThomasWaldmann> maybe we even could use "What links here?" :)
159 2010-06-03T17:06:32 <diofeher> ooh, yes
160 2010-06-03T17:06:46 <diofeher> but i don't how to this yet... i was looking yesterday but didn't found
161 2010-06-03T17:06:59 <ThomasWaldmann> just search for one of the other long texts
162 2010-06-03T17:07:08 <ThomasWaldmann> (in english)
163 2010-06-03T17:07:29 <ThomasWaldmann> eSyr: how is it going?
164 2010-06-03T17:08:37 <CIA-47> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5677:0103720137bd 1.9/docs/ (CHANGES REQUIREMENTS): updated docs/CHANGES and REQUIREMENTS
165 2010-06-03T17:08:53 <diofeher> i'm really enjoying to do this project :)
166 2010-06-03T17:09:03 <diofeher> want to continue to contribute to moin after it
167 2010-06-03T17:09:23 <ThomasWaldmann> :)
168 2010-06-03T17:12:29 <ThomasWaldmann> btw, do the hg status, hg diff, (repeat until happy), hg commit thing next time :)
169 2010-06-03T17:21:06 <diofeher> okay =)
170 2010-06-03T17:21:12 <CIA-47> Diogenes Augusto <diofeher@gmail.com> default * 8242:42930899fc13 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (action/backlink.py theme/jinja.py): removing backling magic from Themebase.title() and moving to actions and fixing some docs
171 2010-06-03T17:21:14 <diofeher> did all the cycle now
172 2010-06-03T17:24:10 <diofeher> ThomasWaldmann: good idea to pass request.cfg and request.page to template? if I do this, can remove a lot of code later
173 2010-06-03T17:26:45 <ThomasWaldmann> diofeher: do you know what happens if you don't use "return" at the end of a function?
174 2010-06-03T17:27:38 <diofeher> nothing?
175 2010-06-03T17:28:05 <diofeher> return void, i think
176 2010-06-03T17:28:20 <ThomasWaldmann> it will return None
177 2010-06-03T17:28:33 <ThomasWaldmann> same as if you say "return"
178 2010-06-03T17:29:00 <ThomasWaldmann> thus, you usually never see a "return" at the end of a function
179 2010-06-03T17:29:30 <diofeher> ok so... never payed attention in this :P
180 2010-06-03T17:29:50 <ThomasWaldmann> 1.7 + MoinMoin - link used to do fullsearch for related page_name
181 2010-06-03T17:29:56 <ThomasWaldmann> try to improve that
182 2010-06-03T17:31:51 <diofeher> ok
183 2010-06-03T17:32:14 <ThomasWaldmann> (because that is not completely true, nor understandable by someone who doesn't know it anyway)
184 2010-06-03T17:33:11 <ThomasWaldmann> (look at other action's module docstrings)
185 2010-06-03T18:18:26 <valeuf> so nobody saw my message in the middle of the night ^ ^
186 2010-06-03T18:18:45 <valeuf> I am looking how we can launch conversion in moin2.0
187 2010-06-03T18:18:52 <valeuf> to test my converter
188 2010-06-03T18:20:28 <valeuf> I tried stuffs like do=show7mimetype=application/x.moin.wiki
189 2010-06-03T18:20:31 <valeuf> but no results
190 2010-06-03T18:22:58 <ThomasWaldmann> try to store an item and give it some appropriate mimetype?
191 2010-06-03T18:23:24 <valeuf> I have an item with text/html mimetype
192 2010-06-03T18:23:27 <valeuf> with some HTML code,
193 2010-06-03T18:23:47 <valeuf> but I'd like to show the MoinWiki syntax to edit the page instead of the HTML
194 2010-06-03T18:26:25 <valeuf> maybe I am wrong with the registration of the converter to the factory, but anyway the get method from the converter2 Registry is not called ...
195 2010-06-03T18:28:56 <valeuf> (but when I print an HTML page with MoinMoin wiki syntax the get method is called with the different mimetypes parameters)
196 2010-06-03T18:32:02 <ThomasWaldmann> waldi: ^^
197 2010-06-03T18:33:45 <CIA-47> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8250:c1b5abf822f3 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/ (__init__.py html_in.py): Add stuffs to process real HTML page
198 2010-06-03T18:34:20 <valeuf> ThomasWaldmann: where do we process the request ?
199 2010-06-03T18:34:46 <valeuf> ThomasWaldmann: in web/request.py
200 2010-06-03T18:34:47 <valeuf> :p
201 2010-06-03T18:43:34 <valeuf> well I think I will wait waldi's explain, I cannot understand well how the conversion process is handle ...
202 2010-06-03T18:43:57 <valeuf> I will work on other stuffs
203 2010-06-03T19:22:22 <eSyr> uhoh
204 2010-06-03T19:24:27 <eSyr> http://paste.pocoo.org/show/221523/
205 2010-06-03T19:25:42 <eSyr> http://paste.pocoo.org/show/221524/
206 2010-06-03T19:26:23 <eSyr> I afraid if i'll push it as is, without proper testing (i've tested only part of usecases). some things may become broken.
207 2010-06-03T19:31:04 <ThomasWaldmann> how about hg diff | pastebinit?
208 2010-06-03T19:31:55 <eSyr> ok.
209 2010-06-03T19:32:38 *** RogerHaase
210 2010-06-03T19:32:51 <eSyr> http://paste.pocoo.org/show/221528/
211 2010-06-03T19:33:54 <eSyr> http://paste.pocoo.org/show/221530/
212 2010-06-03T19:36:18 <ThomasWaldmann> mtime_printable() needs escaping?
213 2010-06-03T19:39:49 <eSyr> http://paste.pocoo.org/show/221532/
214 2010-06-03T19:40:06 <eSyr> well, i've looked at it and considered that no.
215 2010-06-03T19:42:34 <ThomasWaldmann> LikePages wikiutil.escape(pagename, quote=1) - why quote=1?
216 2010-06-03T19:42:47 <ThomasWaldmann> that is usually used only when setting element attrs
217 2010-06-03T19:44:00 <eSyr> yes, i've fixed this after SyncPages, so write it semiautomatically, you're right, it's not needed.
218 2010-06-03T19:45:14 <ThomasWaldmann> bookmark does not need fix
219 2010-06-03T19:45:26 <ThomasWaldmann> it's the module name, not user input
220 2010-06-03T19:47:10 <ThomasWaldmann> chart action: move import to top of module?
221 2010-06-03T19:48:26 <eSyr> well, it's needed only when we need to show this message, so i considered import it inplace.
222 2010-06-03T19:48:42 <eSyr> (reverted bookmark)
223 2010-06-03T19:49:07 <eSyr> ok, i'll go from work, will be back in hour or so.
224 2010-06-03T19:50:38 <eSyr> http://moinmo.in/4ct10n/diff/MoinMoinBugs/MigrationData158To161?action=diff&rev1=9&rev2=10 oh lolz
225 2010-06-03T20:20:31 *** RogerHaase1
226 2010-06-03T20:29:50 *** RogerHaase
227 2010-06-03T20:33:44 *** RogerHaase1
228 2010-06-03T20:36:32 *** RogerHaase1
229 2010-06-03T20:37:24 *** RogerHaase1
230 2010-06-03T20:37:57 <ThomasWaldmann> eSyr: btw, the wikiutil late import might be pointless, the module gets imported all over the place anyway
231 2010-06-03T20:54:19 *** RogerHaase
232 2010-06-03T20:57:35 <eSyr> ok
233 2010-06-03T20:57:50 <RogerHaase> ThomasWaldmann: re: auto scroll debug -- how soon is 1.9.3? I was hoping dreimark would find it useful for figuring out what was going on with his tables.
234 2010-06-03T21:00:08 <eSyr> ThomasWaldmann: http://paste.pocoo.org/show/221578/
235 2010-06-03T21:03:29 <ThomasWaldmann> RogerHaase: rather soon, we have some XSS to fix
236 2010-06-03T21:06:07 <RogerHaase> ThomasWaldmann: Yes, please put it in the next release.
237 2010-06-03T21:07:00 <vpv> ThomasWaldmann: even more XSS's than currently listed in SecurityFixes?
238 2010-06-03T21:07:09 <ThomasWaldmann> eSyr: ok
239 2010-06-03T21:09:27 <ThomasWaldmann> vpv: the bug is rather general, see eSyr's patches above
240 2010-06-03T21:12:20 <vpv> ThomasWaldmann: right. I might wait for 1.9.3 then so that I can avoid shipping n+1 patches in Fedora.
241 2010-06-03T21:13:49 <ThomasWaldmann> good idea :)
242 2010-06-03T21:18:44 <ThomasWaldmann> RogerHaase: if you set a cookie for /, that might affect multipe sites
243 2010-06-03T21:20:05 <eSyr> well, looks like these patches covers virtually everything related to this issue.
244 2010-06-03T21:20:37 <eSyr> but they need to be tested.
245 2010-06-03T21:21:37 <TheSheep> diofeher: with that backlinks action, there is a convention that actions that should appear in the menu should start with capital letter
246 2010-06-03T21:22:00 <TheSheep> diofeher: but we need a better mechanism for actions to decide where they are displayed anyways
247 2010-06-03T21:22:14 <TheSheep> diofeher: just like with the showing info thing
248 2010-06-03T21:27:43 <RogerHaase> ThomasWaldmann: good point. I'm trying to decide if that would ever be useful, or a disadvantage...
249 2010-06-03T21:29:44 <ThomasWaldmann> maybe a simple switch in the js source would be better than all that magic
250 2010-06-03T21:29:58 <ThomasWaldmann> so one who wants to debug it, can just enable it in the src
251 2010-06-03T21:36:52 <RogerHaase> The intent was for a user to be able to turn on debug mode when using moinmo.in (or anybody's site). The Javascript is rather fragile and dependent upon all the parsers, formatters, and caching mechanisms putting out span line-numbers as expected.
252 2010-06-03T21:37:29 <RogerHaase> I am hoping the debug is rarely used. Never is even better.
253 2010-06-03T21:39:28 <TheSheep> I'm thinking that at some point we should start using jquery everywhere, and cleanup/rewrite the scripts to take advantage of it
254 2010-06-03T21:39:46 <TheSheep> hopefully that would also make them less fragile
255 2010-06-03T21:41:20 <ThomasWaldmann> == moin2
256 2010-06-03T21:43:06 <RogerHaase> Yes, the little bits of javascript embedded in the pages has always annoyed me. Moin2?
257 2010-06-03T21:45:17 <ThomasWaldmann> RogerHaase: we are currently working on quite big changes in moin (since quite a while and it will also take quite a while longer), moin/2.0-dev is the repo
258 2010-06-03T21:49:14 <RogerHaase> I had the moin2 DOM-bblank version downloaded, and was looking at it. It seems to have gone away and I have been too busy with other things to get back to it.
259 2010-06-03T21:49:52 <ThomasWaldmann> it was renamed to moin/2.0-dev
260 2010-06-03T21:51:12 <RogerHaase> OK, will download it.
261 2010-06-03T21:52:07 <ThomasWaldmann> not very usable yet, rather for developing/hacking/debugging
262 2010-06-03T22:02:39 <ThomasWaldmann> eSyr: you are still working on the 1.7 changeset?
263 2010-06-03T22:03:16 <eSyr> well, looks like i've done with basic testing.
264 2010-06-03T22:03:21 <RogerHaase> My preference for the / cookie issue and the js switch vs. cookie is to leave both as is. My intent was not to document debug mode in HelpOnEditing, as it is not useful for most users.
265 2010-06-03T22:06:08 <eSyr> ThomasWaldmann: hm, py.test revealed little pep8 whitespace inconformance in 1.7 code. Can i commit it as separate patch?
266 2010-06-03T22:06:18 <eSyr> or leave it as is?
267 2010-06-03T22:07:00 <ThomasWaldmann> separate fix "pep8 cosmetic fix"
268 2010-06-03T22:07:23 <eSyr> `ok.
269 2010-06-03T22:07:31 <ThomasWaldmann> (so that distribution package maintainers see they don't need it)
270 2010-06-03T22:13:47 <CIA-47> Eugene Syromyatnikov <evgsyr@gmail.com> default * 3894:0d76fbaa3cd9 1.7/MoinMoin/userprefs/prefs.py: PEP-8 whitespace fix.
271 2010-06-03T22:13:48 <CIA-47> Eugene Syromyatnikov <evgsyr@gmail.com> default * 3895:37306fba2189 1.7/MoinMoin/ (13 files in 2 dirs): Fixing security issues related to MoinMoinBugs/1.9.2UnescapedInputForThemeAddMsg (possible XSS)
272 2010-06-03T22:19:22 * ThomasWaldmann looks
273 2010-06-03T22:22:54 <ThomasWaldmann> eSyr: you'll merge it forwards also?
274 2010-06-03T22:28:13 <ThomasWaldmann> http://www.europython.eu/talks/timetable/
275 2010-06-03T22:44:45 <eSyr> ThomasWaldmann: yes, in progress
276 2010-06-03T22:48:01 <TheSheep> our talk is on monday
277 2010-06-03T22:48:14 <TheSheep> in the big hall
278 2010-06-03T23:04:13 <ThomasWaldmann> there's a flatland and glashammer talk
279 2010-06-03T23:10:04 <TheSheep> so much good stuff, but so many decisions
280 2010-06-03T23:14:50 <diofeher> TheSheep: already did the action button... 'What links here?' as suggested by thomas :)
281 2010-06-03T23:21:18 <ThomasWaldmann> diofeher: http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/42930899fc13
282 2010-06-03T23:21:32 <ThomasWaldmann> the commit comment does not match the changeset content
283 2010-06-03T23:28:20 <valeuf> waldi: ping ?
284 2010-06-03T23:31:07 <waldi> valeuf: yes?
285 2010-06-03T23:31:44 <valeuf> waldi: I do not know if you saw my question, but I am looking for the way to convert document in moin2
286 2010-06-03T23:32:04 <valeuf> waldi: it is to try my converter
287 2010-06-03T23:32:39 <valeuf> waldi: so I am looking for a way to convert an HTML item in moin2 into another format
288 2010-06-03T23:35:55 <dreimark> re
289 2010-06-03T23:43:26 <waldi> valeuf: where is it used? the current existing code in the items is hardcoded to convert from some text formats into a tree and then html
290 2010-06-03T23:44:01 <valeuf> well, so there is no way :p
291 2010-06-03T23:44:31 <dreimark> ThomasWaldmann: http://moinmo.in/MoinMoinBugs/NeedLockingForSavingUserData is that patch ok?
292 2010-06-03T23:44:45 <valeuf> I'd like to see if I can convert an HTML item to the tree, but it seems that Moin2 is just keeping html without any conversion
293 2010-06-03T23:45:01 <valeuf> waldi: where could I add this ? to convert an HTML item into the dom tree ?
294 2010-06-03T23:46:37 <ThomasWaldmann> dreimark: see comments below patch
295 2010-06-03T23:47:26 <dreimark> oops thx should have read it again
296 2010-06-03T23:55:16 <CIA-47> Bastian Blank <bblank@thinkmo.de> default * 65:d3fcc3556413 EmeraldTree/emeraldtree/tree.py: Tree - Move remaining serialization code into writer class
297 2010-06-03T23:55:20 <CIA-47> Bastian Blank <bblank@thinkmo.de> default * 66:048d2f8de762 EmeraldTree/emeraldtree/tree.py: Tree - Make Node writable
298 2010-06-03T23:55:20 <CIA-47> Bastian Blank <bblank@thinkmo.de> default * 67:47b1c1aa1a2b EmeraldTree/emeraldtree/tests/test_tree.py: Tests for Tree - Use node write support
299 2010-06-03T23:55:20 <CIA-47> Bastian Blank <bblank@thinkmo.de> default * 68:d7e235461c97 EmeraldTree/emeraldtree/ (html.py tests/test_html.py): HTML Support - Change imports to internal names
300 2010-06-03T23:55:22 <CIA-47> Bastian Blank <bblank@thinkmo.de> default * 69:54c60c7e7e35 EmeraldTree/emeraldtree/html.py: HTML Support - Move imports
301 2010-06-03T23:55:32 <CIA-47> Eugene Syromyatnikov <evgsyr@gmail.com> default * 4506:4238b0c90871 1.8/MoinMoin/ (14 files in 3 dirs):
302 2010-06-03T23:55:32 <CIA-47> merge moin/1.7
303 2010-06-03T23:55:32 <CIA-47> Fixing security issues related to MoinMoinBugs/1.9.2UnescapedInputForThemeAddMsg (possible XSS)