1 2010-07-07T00:05:26 *** RogerHaase
2 2010-07-07T00:18:17 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8527:a245a75bf096 2.0-dev-jinja2-plugins-dfeher/MoinMoin/action/_tests/__init__.py: [templating] turning actions/_tests in python package
3 2010-07-07T00:29:54 <diofeher> TheSheep: looking now, if i move editbar to show.html, template will break, cause editbar is inside header div
4 2010-07-07T00:30:05 <diofeher> if i can change css, it's ok
5 2010-07-07T03:59:15 <diofeher> gn
6 2010-07-07T05:00:12 *** kursor
7 2010-07-07T05:34:37 *** DmitryAndreev
8 2010-07-07T06:08:26 *** eSyr
9 2010-07-07T06:09:48 *** kursor
10 2010-07-07T06:16:55 *** eSyr
11 2010-07-07T06:51:36 *** kursor
12 2010-07-07T06:54:35 *** kursor_
13 2010-07-07T06:57:04 *** kursor
14 2010-07-07T06:57:05 *** kursor_
15 2010-07-07T07:02:53 *** kursor
16 2010-07-07T08:02:32 *** DmitryAndreev
17 2010-07-07T08:21:33 <ThomasWaldmann> moin
18 2010-07-07T08:31:15 <TheSheep> diofeher: maybe the header should be a block that you could override then?
19 2010-07-07T08:31:36 <TheSheep> diofeher: then you can call the old block inside it, and add the editbar
20 2010-07-07T08:31:44 <TheSheep> ThomasWaldmann: moin :)
21 2010-07-07T09:00:08 *** DmitryAndreev
22 2010-07-07T09:12:54 *** DmitryAndreev
23 2010-07-07T09:34:16 *** DmitryAndreev
24 2010-07-07T09:37:48 <dreimark> moin
25 2010-07-07T09:46:33 *** DmitryAndreev
26 2010-07-07T10:07:29 *** gwork
27 2010-07-07T10:25:36 <valeuf> moi
28 2010-07-07T10:25:44 <valeuf> *moin
29 2010-07-07T10:59:20 *** DmitryAndreev_
30 2010-07-07T11:02:30 *** DmitryAndreev
31 2010-07-07T11:43:52 *** valeuf
32 2010-07-07T11:43:59 *** valeuf
33 2010-07-07T12:05:44 *** DmitryAndreev_
34 2010-07-07T13:05:54 *** DmitryAndreev
35 2010-07-07T13:06:23 *** gwork
36 2010-07-07T13:06:24 *** ronny_
37 2010-07-07T13:09:34 *** ronny_
38 2010-07-07T13:11:17 <ei-grad> moin
39 2010-07-07T13:41:33 <diofeher> moin
40 2010-07-07T13:41:41 <DmitryAndreev> moin
41 2010-07-07T13:44:05 <diofeher> ThomasWaldmann: this not get right because of closing tag of div
42 2010-07-07T13:44:05 *** DmitryAndreev
43 2010-07-07T13:44:18 <diofeher> but can done right if i put a placeholder
44 2010-07-07T13:44:54 <diofeher> e.g {% block additional_header %}{% endblock %} inside header
45 2010-07-07T13:44:58 <diofeher> and same for pageinfo
46 2010-07-07T13:46:10 *** DmitryAndreev
47 2010-07-07T14:04:09 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8528:6ded7fde4bb8 2.0-dev-jinja2-plugins-dfeher/MoinMoin/templates/ (layout.html show.html): [templating] creating a structure for pages that need pageinfo and editbar
48 2010-07-07T14:05:49 <diofeher> well, we can replace theme.emit_custom_html by that placeholders
49 2010-07-07T14:08:11 * valeuf facing an unexpected problem with heading in DocBook :s
50 2010-07-07T14:08:16 <dreimark> hi ei-grad
51 2010-07-07T14:11:34 <ei-grad> hi
52 2010-07-07T14:14:33 * ei-grad thinking about case-insensitivity problem in ldap auth, may be there is a better solution, than capitalizing the username?
53 2010-07-07T14:16:33 <dreimark> ei-grad: i figured some days ago that people can have different cases in their ldap name
54 2010-07-07T14:16:58 <dreimark> so it is may be only a matter how it is configured on ldap
55 2010-07-07T14:17:26 <dreimark> while thinking on a solution please prepare the snippets
56 2010-07-07T14:17:57 * dreimark has not the problem with case insensitivity of most ldap acoounts.
57 2010-07-07T14:18:20 <dreimark> but more with that the username defined there doesn't look like a nane
58 2010-07-07T14:18:28 <dreimark> s/nane/name/
59 2010-07-07T14:18:38 <dreimark> on some places
60 2010-07-07T14:28:36 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8529:3cdc4cb6065b 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (config/multiconfig.py templates/layout.html): [templating] removing Theme.emit_custom_html in templates and some cnonfigs (page_footer1, page_footer2, page_header1 and page_header2). they are completely desnecessary now.
61 2010-07-07T14:29:00 <dreimark> cnonfigs
62 2010-07-07T14:35:53 <diofeher> ooh i hate these typos, sorry dreimark
63 2010-07-07T14:50:23 *** DmitryAndreev_
64 2010-07-07T14:50:23 *** DmitryAndreev
65 2010-07-07T14:54:23 *** DmitryAndreev_
66 2010-07-07T14:54:53 *** DmitryAndreev_
67 2010-07-07T14:57:24 <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5791:ac6f86ca98fe 1.9-ldap-kerberos-agrigorev/wiki/config/more_samples/ldap_lazygroups_wikiconfig_snippet: [LDAP2010] added LDAPLazyGroups snippet
68 2010-07-07T14:57:26 <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5792:21b6b2f4082a 1.9-ldap-kerberos-agrigorev/wiki/config/more_samples/active_directory_groups_wikiconfig_snippet: [LDAP2010] added ADGroups snippet
69 2010-07-07T14:58:45 *** DmitryAndreev
70 2010-07-07T15:08:25 <diofeher> anyone here is going to europython?
71 2010-07-07T15:09:13 <diofeher> if anyone can record the talks about moin and send me later, i would be very grateful ^^
72 2010-07-07T15:10:13 <valeuf> diofeher: http://moinmo.in/EuroPython2010
73 2010-07-07T15:10:26 <valeuf> diofeher: I guess that there will be some official record anyway
74 2010-07-07T15:10:40 <diofeher> valuef: oh nice!
75 2010-07-07T15:11:05 <diofeher> coding sprint? :-O i wish to be there :(
76 2010-07-07T15:15:53 <diofeher> you are lucky to live in europe valeuf ^^
77 2010-07-07T15:16:06 <valeuf> diofeher: :D I live in Europe less and less ^ ^
78 2010-07-07T15:18:56 <TheSheep> diofeher: s/desnecessary/unnecessary/ :)
79 2010-07-07T15:20:40 <diofeher> TheSheep: sorry :p
80 2010-07-07T15:20:49 <diofeher> des is prefix un in portuguese
81 2010-07-07T15:20:50 <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8599:9a91dc04f528 2.0-dev-jinja2-plugins-dfeher/ (95 files in 28 dirs): [templating] merged with main repo
82 2010-07-07T15:21:06 <diofeher> desnecessário (unnecessary in portuguese)...
83 2010-07-07T15:21:24 <TheSheep> diofeher: so how do you say 'description'? :P
84 2010-07-07T15:21:36 <TheSheep> unscription?
85 2010-07-07T15:21:45 <diofeher> oh no no
86 2010-07-07T15:21:53 <diofeher> description is descrição
87 2010-07-07T15:22:13 <diofeher> but if you want to say un-something
88 2010-07-07T15:22:20 <TheSheep> from old german Skrit, I see
89 2010-07-07T15:22:20 <diofeher> portuguese: des-something
90 2010-07-07T15:22:30 <diofeher> Skrit?
91 2010-07-07T15:22:53 <TheSheep> skrita, actually, I think, but the stem is 'skrit'
92 2010-07-07T15:23:00 <TheSheep> 'to write'
93 2010-07-07T15:23:25 <diofeher> hmm ^^
94 2010-07-07T15:23:36 <TheSheep> 'scratch' comes from the same word, btw
95 2010-07-07T15:24:14 <TheSheep> anyways
96 2010-07-07T15:24:49 <TheSheep> so, how are users supposed to add their custom html now?
97 2010-07-07T15:25:36 <diofeher> TheSheep: modify template directly
98 2010-07-07T15:25:51 <diofeher> modify html is not a battle anymore xD
99 2010-07-07T15:26:40 <TheSheep> diofeher: then what happens on upgrade?
100 2010-07-07T15:27:36 <valeuf> diofeher: do you plane do write some tutorial to write template later ?
101 2010-07-07T15:27:36 <valeuf> *plan
102 2010-07-07T15:28:17 <diofeher> valeuf: hmm, good idea
103 2010-07-07T15:28:27 <diofeher> TheSheep: what upgrade?
104 2010-07-07T15:28:41 <TheSheep> diofeher: of moinmoin
105 2010-07-07T15:29:11 <TheSheep> diofeher: suppose I have version 2.2 and I added something to templates, and I upgrade to version 2.3 that also changed somthing in its templates
106 2010-07-07T15:29:50 <diofeher> hmm
107 2010-07-07T15:32:08 <diofeher> didn't think about this... i have to found a structure that makes easy to user modify html and deals with compatibilty with future versions
108 2010-07-07T15:33:49 <TheSheep> diofeher: you can use the same mechanism that will let add themes
109 2010-07-07T16:27:04 *** kursor
110 2010-07-07T16:42:00 <xorAxAx> valeuf: ok, my comments regarding your commits:
111 2010-07-07T16:42:35 <xorAxAx> http://hg.moinmo.in/moin/2.0-dev-docbook-html-vjaniaut/rev/aeae83bfa9ce -- didnt you want to give up these or'ed xpath exprs?
112 2010-07-07T16:43:19 <xorAxAx> http://hg.moinmo.in/moin/2.0-dev-docbook-html-vjaniaut/rev/97995585d6e0 , http://hg.moinmo.in/moin/2.0-dev-docbook-html-vjaniaut/rev/27a964723f67 and others: IMHO visit_* should output a debug message if it ignores an unknown tag
113 2010-07-07T16:43:39 <xorAxAx> http://hg.moinmo.in/moin/2.0-dev-docbook-html-vjaniaut/rev/4dec4083765e -- how could that have ever passed your tests?
114 2010-07-07T16:50:08 <valeuf> xorAxAx: http://hg.moinmo.in/moin/2.0-dev-docbook-html-vjaniaut/rev/aeae83bfa9ce --> Old commit I changed these stupid XPATH tests in this commit : http://hg.moinmo.in/moin/2.0-dev-docbook-html-vjaniaut/rev/e058e064678d
115 2010-07-07T16:50:23 <xorAxAx> ok
116 2010-07-07T16:50:24 <valeuf> debug message for ignored tag is a good idea, I add this to my todo list
117 2010-07-07T16:51:20 <valeuf> and what the problem with the last one ?
118 2010-07-07T16:51:43 <valeuf> *what is
119 2010-07-07T16:51:57 <valeuf> I was wrong with indentation, I just fixed it :)
120 2010-07-07T16:57:06 <valeuf> to try to be compatible with python 2.3 ?
121 2010-07-07T16:57:14 <valeuf> or python2.4 is enough ?
122 2010-07-07T16:57:24 <valeuf> (hum since I saw decorator, I think I have my answer :p )
123 2010-07-07T16:59:06 <xorAxAx> valeuf: ah, ignore the last changeset and run the pep8 tests more often ;-)
124 2010-07-07T16:59:19 <valeuf> yep, that's true :)
125 2010-07-07T16:59:44 <valeuf> I sometimes do not run PEP8 test before small commit, and I usually regret after !
126 2010-07-07T17:00:09 <xorAxAx> hehe
127 2010-07-07T17:00:40 <valeuf> I am currently fighting with heading conversion for DocBook out, it is going to give me an headcahe !
128 2010-07-07T17:00:43 <valeuf> *headache
129 2010-07-07T17:01:39 <xorAxAx> valeuf: btw, whats the status of roundtripping syntaxreference?
130 2010-07-07T17:01:52 <valeuf> syntaxreference ?
131 2010-07-07T17:01:57 <xorAxAx> SyntaxReference
132 2010-07-07T17:02:05 <valeuf> http://moinmo.in/HelpOnMoinWikiSyntax
133 2010-07-07T17:02:09 <xorAxAx> snibrils holy grail of testing moinmoin
134 2010-07-07T17:02:43 <xorAxAx> yes
135 2010-07-07T17:03:18 <valeuf> well it would not make really sense for the HTML roundtrip
136 2010-07-07T17:03:54 <xorAxAx> why?
137 2010-07-07T17:04:17 <valeuf> you want I take the HTML output from moin1.9 to see if the HTML roundtrip of Moin2.0 is working ?
138 2010-07-07T17:04:58 <xorAxAx> why - cant the page be rendered in moin 2.0 yet?
139 2010-07-07T17:06:27 <valeuf> well I can do it, but it won't prove many things since some part of the page is using javascript, and also specific CSS style
140 2010-07-07T17:06:29 <xorAxAx> i have to admit that i havent run moin 2.0 for myself
141 2010-07-07T17:06:34 <valeuf> but I can show you the result
142 2010-07-07T17:06:45 <xorAxAx> valeuf: the point is that this page contains a lot of the wiki markup
143 2010-07-07T17:06:55 <valeuf> anyway, I am going to write a page to show the different tests I did for the HTML converter
144 2010-07-07T17:07:02 <xorAxAx> and at least that should be a guidance of feature completeness
145 2010-07-07T17:07:31 <valeuf> xorAxAx: yep, but for the HTML roundtrip it is not considering MoinMoin syntax
146 2010-07-07T17:07:56 <valeuf> xorAxAx: my reference for my tests was the list of features of the WYSIWYG editor in moin2.0
147 2010-07-07T17:08:45 <valeuf> the HTML roundtrip should preserve all the markup of the editor. with same looking
148 2010-07-07T17:08:58 <xorAxAx> then generate the wysiwyg version of the page and roundtrip it
149 2010-07-07T17:09:12 <valeuf> it is globally what I did :)
150 2010-07-07T17:09:27 <xorAxAx> so where is the html source? :-P
151 2010-07-07T17:10:09 <valeuf> on my computer :p I should write a page to show the result of my tests ^ ^
152 2010-07-07T17:10:16 <xorAxAx> ok
153 2010-07-07T17:10:41 <valeuf> I add this at the top of my ToDo list,
154 2010-07-07T17:10:46 * xorAxAx is gone for the next hours
155 2010-07-07T17:10:58 <valeuf> but before I want to finish the heading conversion, since I am working on it since this morning :)
156 2010-07-07T17:11:03 <valeuf> and I am almost done :)
157 2010-07-07T17:11:06 <xorAxAx> cool
158 2010-07-07T17:11:08 <valeuf> xorAxAx: see ya :)
159 2010-07-07T17:11:13 <xorAxAx> c u
160 2010-07-07T17:18:11 *** kursor
161 2010-07-07T17:26:16 <CIA-98> Dmitry Andreev <klieg.polar@gmail.com> default * 8443:0ed3187331b6 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/ (_tests/test_rst_in.py rst_in.py): ReStructuredText->DOM: directive for moinwiki parsers
162 2010-07-07T17:26:16 <CIA-98> Dmitry Andreev <klieg.polar@gmail.com> default * 8444:3e189b7c867c 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/_tests/test_rst_in.py: ReStructuredText->DOM: more tests
163 2010-07-07T17:26:17 <CIA-98> Dmitry Andreev <klieg.polar@gmail.com> default * 8445:eb1789ebc8aa 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/rst_in.py: ReStructuredText->DOM: various bugfixes
164 2010-07-07T17:38:15 *** DmitryAndreev_
165 2010-07-07T17:44:52 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8543:6722f1e769e3 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_out.py: Add tests for definition lists conversion in the DocBook_OUT converter
166 2010-07-07T17:44:55 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8544:a3af684c9d61 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Implement the conversion of definition list into variable list in the DocBook_OUT converter
167 2010-07-07T17:44:56 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8545:74a26a976672 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_out.py: Add basic test for headings conversion in DocBook_out converter
168 2010-07-07T17:44:57 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8546:729256d54029 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_docbook_out.py: Fix typo in test for simple headings in DocBook_out converter
169 2010-07-07T17:44:58 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8547:53c14effbeb4 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/docbook_out.py: Implementation of conversion for simple heading in DocBook_out converter
170 2010-07-07T17:45:28 <valeuf> wow \o/ Still need to check more complicate heading, but it is working for simple situation :)
171 2010-07-07T17:53:35 <dreimark> mass upload ... :)
172 2010-07-07T17:53:59 <dreimark> bbl
173 2010-07-07T17:58:32 *** RogerHaase
174 2010-07-07T18:26:16 <ThomasWaldmann> re
175 2010-07-07T18:47:24 <ThomasWaldmann> diofeher: http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/file/tip/MoinMoin/theme/__init__.py#l168
176 2010-07-07T18:47:34 <ThomasWaldmann> did you look at that before killing the calls?
177 2010-07-07T18:58:32 <valeuf> xorAxAx: here are the tests results : http://moinmo.in/DOM%20DocBook%20and%20HTML%202010/HTML-DOM/Tests
178 2010-07-07T19:19:56 *** RogerHaase
179 2010-07-07T19:35:19 *** diofeher
180 2010-07-07T19:42:57 <CIA-98> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8548:f913c010c610 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/html_in.py: Add list of ignored tag in the HTML_IN converter
181 2010-07-07T19:43:14 *** diofeher
182 2010-07-07T19:44:35 *** grzywacz
183 2010-07-07T19:49:08 *** DmitryAndreev_
184 2010-07-07T21:19:55 *** RogerHaase
185 2010-07-07T21:43:12 <diofeher> ThomasWaldmann: yes (sorry for the delayed answer)
186 2010-07-07T21:51:00 <ThomasWaldmann> diofeher: so how is dynamically computing something working now?
187 2010-07-07T21:53:06 <diofeher> ThomasWaldmann: i was talking this with TheSheep in the morning... it's easy to add tags in templates now
188 2010-07-07T21:53:28 <diofeher> but i have to deal with upgrades, like him said, and incompatibility with versions
189 2010-07-07T21:54:18 <diofeher> he told me to use the same mechanism that will be used to deal with themes
190 2010-07-07T21:55:17 <TheSheep> sorry, maybe it's too early for that
191 2010-07-07T21:55:34 <TheSheep> I meant that it would be eventually done like that
192 2010-07-07T22:00:25 <ThomasWaldmann> "tags"?
193 2010-07-07T22:01:19 <ThomasWaldmann> diofeher: maybe have a look at the header of master19.moinmo.in - that is done by using a function, not a string for the head
194 2010-07-07T22:21:54 <diofeher> ThomasWaldmann: oh, get it the problem
195 2010-07-07T22:22:49 <diofeher> well, ideally user writes a macro to compute dinamically
196 2010-07-07T22:23:53 <diofeher> but the user will have to know jinja syntax
197 2010-07-07T22:24:54 <ThomasWaldmann> ok
198 2010-07-07T22:25:27 <diofeher> valeuf give me a good idea, to write tutorials teaching how to write templates
199 2010-07-07T22:25:59 <diofeher> a good one is how to write macros ^^.. and of course, point to jinja documentations
200 2010-07-07T22:27:47 <diofeher> s/templates/themes
201 2010-07-07T22:30:38 *** grzywacz
202 2010-07-07T22:30:42 *** grzywa
203 2010-07-07T22:31:08 <ThomasWaldmann> diofeher: does you todo need an update?
204 2010-07-07T22:31:54 <diofeher> in what way?
205 2010-07-07T22:33:50 <ThomasWaldmann> checking/removing stuff done?
206 2010-07-07T22:34:51 <diofeher> if you want to :P
207 2010-07-07T22:35:07 <diofeher> i'm looking for a way to not compute actions/editbar twice
208 2010-07-07T22:37:24 <ThomasWaldmann> look at cached_property of werkzeug
209 2010-07-07T22:37:37 <ThomasWaldmann> could maybe get used for all non-trivial stuff
210 2010-07-07T22:37:46 <diofeher> hm.. i was thinking in pass template objects
211 2010-07-07T22:37:49 <diofeher> but i will look, thx
212 2010-07-07T22:39:20 <diofeher> ThomasWaldmann: is it better to use Jinja cache, no? http://jinja.pocoo.org/2/documentation/api#bytecode-cache
213 2010-07-07T22:44:33 <ThomasWaldmann> hmm, not sure. delay that until.
214 2010-07-07T22:44:36 <ThomasWaldmann> later.
215 2010-07-07T22:47:47 <ThomasWaldmann> bytecode has not the variable parts, so it doesn't help for the stuff you need to compute.
216 2010-07-07T22:48:10 <ThomasWaldmann> but first get rid of the link_to crap
217 2010-07-07T22:55:35 <diofeher> ok
218 2010-07-07T22:57:30 <ThomasWaldmann> http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/file/9a91dc04f528/MoinMoin/theme/jinja.py#l434
219 2010-07-07T22:57:38 <ThomasWaldmann> for what is the page object needed?
220 2010-07-07T23:10:07 <ThomasWaldmann> brb
221 2010-07-07T23:39:17 <waldi> re
222 2010-07-07T23:39:21 <CIA-98> Dmitry Andreev <klieg.polar@gmail.com> default * 8446:5008985a27b4 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/ (_tests/test_rst_out.py rst_out.py):
223 2010-07-07T23:39:21 <CIA-98> DOM->ReStructuredText:
224 2010-07-07T23:39:21 <CIA-98> + various bugfixes for converter
225 2010-07-07T23:39:21 <CIA-98> + correct expected output in tests