1 2010-07-04T00:13:50  <CIA-98> Dmitry Andreev <klieg.polar@gmail.com> default * 8330:527e79deeecf 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/ (rst_in.py rst_out.py): ReStructuredText: conversion of a blockquote
   2 2010-07-04T00:14:03  *** RogerHaase has left #moin-dev
   3 2010-07-04T00:16:46  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8489:c49dd76d1d3f 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/head.html theme/jinja.py): [templating] removing a lot of unused variables in send_title. creating a property called special_pagenames to return a list used to compare in head
   4 2010-07-04T00:22:41  <ThomasWaldmann> another untested changeset 8(
   5 2010-07-04T00:28:01  <ThomasWaldmann> http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/rev/c49dd76d1d3f#l1.8
   6 2010-07-04T00:39:18  <diofeher> ThomasWaldmann: ? i've tested
   7 2010-07-04T02:02:02  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8490:aa21765b7224 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (4 files in 2 dirs): [templating] removed unused variables in send_title, and changed some dict values to be filled by JinjaTheme attribute
   8 2010-07-04T02:14:49  <TheSheep> yay, finally d is dying :)
   9 2010-07-04T02:16:13  <diofeher> TheSheep: hehee
  10 2010-07-04T02:16:23  <diofeher> can you give me some hint about keyword?
  11 2010-07-04T02:17:07  <TheSheep> shoot
  12 2010-07-04T02:19:52  <diofeher> send_title(.., **keywords)
  13 2010-07-04T02:20:32  <diofeher> TheSheep send_tittle gonna die too, right? but how to render these attributes?
  14 2010-07-04T02:20:47  <diofeher> i don't know if it's a good idea to put this in render_content
  15 2010-07-04T02:23:08  <TheSheep> it should all be a single call
  16 2010-07-04T02:23:38  <TheSheep> the caller may choose a different template if he doesn't want everything
  17 2010-07-04T02:24:09  <TheSheep> and it should return the rendered html, not write it
  18 2010-07-04T02:24:30  <diofeher> hm, this part Thomas told me
  19 2010-07-04T02:24:45  <diofeher> return string to response object
  20 2010-07-04T02:24:50  <TheSheep> yes
  21 2010-07-04T02:25:05  <TheSheep> also, the http headers shouldn't be done in render
  22 2010-07-04T02:25:13  <TheSheep> they should be set before it in the caller
  23 2010-07-04T02:25:47  <diofeher> ok
  24 2010-07-04T02:26:22  <diofeher> but about these **keywords in send_title... where i move this to?
  25 2010-07-04T02:26:28  <diofeher> put in render_content?
  26 2010-07-04T02:26:52  <TheSheep> yes
  27 2010-07-04T02:27:05  <diofeher> ok, gonna kill send_title now xD
  28 2010-07-04T02:27:07  <TheSheep> but not as **, try to use specific paramter names
  29 2010-07-04T02:27:25  <TheSheep> so that one can see what can be actually used jsut by looking at the function
  30 2010-07-04T02:28:39  <TheSheep> I think that many of them should also get moved into the render itself
  31 2010-07-04T02:28:53  <TheSheep> so that the caller doesn't pass them, they get computed in the render function
  32 2010-07-04T02:29:06  <TheSheep> but I don't know how they are all used now
  33 2010-07-04T02:29:20  <TheSheep> so first move them, and then decide which ones to kill
  34 2010-07-04T02:30:18  <diofeher> right
  35 2010-07-04T02:30:22  <TheSheep> if you put a return at line 851 you can get rid of the else
  36 2010-07-04T02:32:02  <TheSheep> no, wait, that whole if should go away
  37 2010-07-04T02:32:10  <TheSheep> you are going to always use templates
  38 2010-07-04T02:32:20  <TheSheep> so that config flag is useless
  39 2010-07-04T02:32:34  <diofeher> yes, but it's not working yet
  40 2010-07-04T02:32:51  <diofeher> calling render in base.html doesn't work because i'm still passing values in dict
  41 2010-07-04T02:33:20  <diofeher> what i have to do is change **keywords in send_title and we can use render in base.html
  42 2010-07-04T02:37:56  <diofeher>     def render_content(self, item_name, content=None, title=None, page=None, pagename=None, body_attr=None,
  43 2010-07-04T02:37:57  <diofeher>                        body_onload=None, allow_doubleclick=None, pi_refresh=None, html_head=None):
  44 2010-07-04T02:37:58  <diofeher> good idea?
  45 2010-07-04T02:37:59  <diofeher> :P
  46 2010-07-04T02:38:20  <TheSheep> are these really used?
  47 2010-07-04T02:38:30  <diofeher> yes
  48 2010-07-04T02:38:41  <diofeher> well, used by other parts?
  49 2010-07-04T02:38:48  <TheSheep> I think at least some could be taken from config
  50 2010-07-04T02:39:07  <TheSheep> html_head and allows_doubleclick for example
  51 2010-07-04T02:39:33  <diofeher> mm, body_attr is not used
  52 2010-07-04T02:39:57  <TheSheep> and body_onload should get replaced by a jquery's document.ready()
  53 2010-07-04T02:40:03  <TheSheep> at some point
  54 2010-07-04T02:40:07  <TheSheep> (not now though)
  55 2010-07-04T02:43:45  <diofeher> Page.py:                        html_head = '<link rel="openid2.provider" href="%s">' % \
  56 2010-07-04T02:43:55  <diofeher> Page.py use html_head keyword
  57 2010-07-04T02:44:08  <TheSheep> that should go to the template
  58 2010-07-04T02:44:17  <diofeher> and other part is rendered with cfg.html_head
  59 2010-07-04T02:44:31  <TheSheep> it should have an openid_href or something
  60 2010-07-04T02:44:49  <TheSheep> it should all be included in the template
  61 2010-07-04T02:45:16  <TheSheep> those are hacks around the limitations of the old theming system
  62 2010-07-04T02:45:22  <TheSheep> you need to clean them up now
  63 2010-07-04T02:45:31  <TheSheep> but do it step by step
  64 2010-07-04T02:45:31  <diofeher> oh ok
  65 2010-07-04T02:45:40  <TheSheep> first leave those parameters
  66 2010-07-04T02:45:50  <TheSheep> then remove them one by one and include in the template
  67 2010-07-04T02:46:03  <TheSheep> add other parameters if needed
  68 2010-07-04T02:57:26  <diofeher> body_onload is not used currently
  69 2010-07-04T03:04:32  <diofeher> TheSheep: can i remove these attributes that are not used (body_attr and body_onload) ? or better stay to future functionality?
  70 2010-07-04T03:04:57  <TheSheep> remove them
  71 2010-07-04T03:05:05  <TheSheep> you can always add them back if they are needed
  72 2010-07-04T03:05:25  <TheSheep> so body_onload is not used either after all?
  73 2010-07-04T03:06:17  <TheSheep> it's 3am here, so I'm going to sleep, keep up the good work!
  74 2010-07-04T03:15:42  <diofeher> TheSheep: thanks! good night
  75 2010-07-04T03:45:27  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8491:4d01ff95333a 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/head.html theme/jinja.py): [templating] removing unused variables from send_title and killing dict crap. changing logic of render_content
  76 2010-07-04T03:51:23  *** ronny has quit IRC
  77 2010-07-04T04:39:52  *** diofeher has quit IRC
  78 2010-07-04T04:41:06  *** diofeher has joined #moin-dev
  79 2010-07-04T04:42:26  *** diofeher has joined #moin-dev
  80 2010-07-04T05:16:48  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8492:dfc4edfbb001 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/head.html theme/jinja.py): [templating] killed dict crap, moving some keywords arguments to test directly in template, rendering with base.html in render_content now
  81 2010-07-04T05:17:05  <diofeher> ThomasWaldmann TheSheep sorry for the boilerplate code, i'm gonna refactor this more tomorrow,
  82 2010-07-04T05:17:19  <diofeher> i just committed to you two see how the code is now
  83 2010-07-04T05:17:20  <diofeher> :)
  84 2010-07-04T05:17:22  <diofeher> gn
  85 2010-07-04T05:18:01  *** diofeher has quit IRC
  86 2010-07-04T07:20:57  *** kursor has joined #moin-dev
  87 2010-07-04T08:48:21  *** DmitryAndreev has quit IRC
  88 2010-07-04T09:29:49  *** DmitryAndreev has joined #moin-dev
  89 2010-07-04T10:05:03  *** DmitryAndreev has quit IRC
  90 2010-07-04T12:11:37  *** ritinardo has joined #moin-dev
  91 2010-07-04T12:18:51  <ThomasWaldmann> moin
  92 2010-07-04T12:32:53  *** ritinardo has quit IRC
  93 2010-07-04T12:37:07  *** ritinardo has joined #moin-dev
  94 2010-07-04T14:25:33  *** valeuf has quit IRC
  95 2010-07-04T14:25:39  *** valeuf has joined #moin-dev
  96 2010-07-04T14:37:44  *** kursor has quit IRC
  97 2010-07-04T14:56:20  *** DmitryAndreev has joined #moin-dev
  98 2010-07-04T15:16:47  <dreimark> moin
  99 2010-07-04T16:32:39  * dreimark looks at export dump
 100 2010-07-04T16:36:22  <ThomasWaldmann> dreimark: in 1.9?
 101 2010-07-04T16:40:25  *** grzywacz has joined #moin-dev
 102 2010-07-04T16:43:19  *** ritinardo_ has joined #moin-dev
 103 2010-07-04T16:46:09  *** ritinardo has quit IRC
 104 2010-07-04T16:55:36  <dreimark> ThomasWaldmann: yes, at the latest bug report
 105 2010-07-04T16:59:02  <ThomasWaldmann> good luck. iirc I looked at that a while ago, but didn't see an easy fix.
 106 2010-07-04T17:04:52  <ei-grad> moin
 107 2010-07-04T17:09:04  <ThomasWaldmann> hi ei-grad
 108 2010-07-04T17:23:41  *** kursor has joined #moin-dev
 109 2010-07-04T17:33:11  * ei-grad found that ldap_login now don't work with unicode... %(
 110 2010-07-04T17:34:54  <ei-grad> in my repository, of course... %(
 111 2010-07-04T17:36:09  *** kursor has quit IRC
 112 2010-07-04T17:36:29  *** DmitryAndreev has quit IRC
 113 2010-07-04T17:58:11  * ei-grad testing nested groups with AD on Win2k3...
 114 2010-07-04T17:58:26  *** diofeher_ has joined #moin-dev
 115 2010-07-04T17:58:48  <diofeher_> moin
 116 2010-07-04T17:59:45  <diofeher_> TheSheep: are you there?
 117 2010-07-04T17:59:53  <diofeher_> i was reading Flask mailing list
 118 2010-07-04T18:00:07  <diofeher_> "This allows us to have multiple static folders inside the
 119 2010-07-04T18:00:07  <diofeher_> modules."
 120 2010-07-04T18:00:17  <diofeher_> maybe we can use this to do the plugin system
 121 2010-07-04T18:00:54  <diofeher_> or we can just get the idea mitsuhiko is using
 122 2010-07-04T18:00:54  <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5776:b92738147613 1.9-ldap-kerberos-agrigorev/MoinMoin/_tests/ldap_testbase.py: [LDAP2010] Default schema_dir value changed back to /etc/ldap/schema, to be in conformance with most of MoinMoin developers systems
 123 2010-07-04T18:00:54  <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5777:7a8a4a0c3b25 1.9-ldap-kerberos-agrigorev/MoinMoin/datastruct/backends/ldap_groups.py:
 124 2010-07-04T18:00:54  <CIA-98> [LDAP2010] added support of memberOf attribute
 125 2010-07-04T18:00:54  <CIA-98> added missed "request" argument in ADGroups.__init__
 126 2010-07-04T18:00:55  <CIA-98> Andrew Grigorev <andrew@ei-grad.ru> default * 5778:6df5e4bc062e 1.9-ldap-kerberos-agrigorev/MoinMoin/ (auth/ldap_login.py datastruct/backends/ldap_groups.py): [LDAP2010] fixed unicode-related error in ldap_login appeared after LDAPConnection-related refactoring, added some unicode-related fixes in other places
 127 2010-07-04T18:04:33  <diofeher_> brb
 128 2010-07-04T18:12:35  <ThomasWaldmann> diofeher_: sure, that's what it is intended for, but it doesn't solve the extension/plugin framework
 129 2010-07-04T18:18:41  <dreimark> diofeher_: TheSheep valeuf xorAxAx waldi eSyr ei-grad meeting in 42mins
 130 2010-07-04T18:31:17  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8493:30c0065d77ec 2.0-dev-jinja2-plugins-dfeher/MoinMoin/templates/head.html: [templating] fix favicon tag, reverting to html4
 131 2010-07-04T18:32:03  <diofeher_> ThomasWaldmann: unrun, but we can use the functionality to solve static files in separate modules in moin (just this) :P
 132 2010-07-04T18:32:11  <diofeher_> dreimark: ok
 133 2010-07-04T18:38:43  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8494:d9e61cd3fea4 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/head.html theme/jinja.py): [templating] fix special_pagenames in template. merging ifs in allowdoubleclick in head. JinjaTheme._cache is unused and was removed.
 134 2010-07-04T18:43:36  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8495:b7bd90701783 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/jinja.py: [templating] replacing self.request by request in JinjaTheme.__init__
 135 2010-07-04T18:44:10  *** diofeher_ is now known as diofeher
 136 2010-07-04T18:44:32  <xorAxAx> i wont attend todays meeting because i will be travelling
 137 2010-07-04T18:45:15  <dreimark> ok
 138 2010-07-04T18:50:45  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8496:4efe92cf8fbd 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/header.html theme/jinja.py): [templating] renaming JinjaTheme.title to JinjaTheme.location_breadcdcrumbs and trail to path_breadcrumbs
 139 2010-07-04T18:57:44  * dreimark here - anyone else alreay?
 140 2010-07-04T18:59:41  <ThomasWaldmann> me is here
 141 2010-07-04T19:00:00  <TheSheep> moin
 142 2010-07-04T19:00:34  * dreimark metting now
 143 2010-07-04T19:00:36  * ei-grad there
 144 2010-07-04T19:01:00  <valeuf> hi
 145 2010-07-04T19:01:42  <dreimark> ei-grad: can you start
 146 2010-07-04T19:01:45  <ei-grad> This week I worked on LDAPGroups backend with support for nested groups. I assumed that the memberOf attribute is not commonly used, and maked it optional. Now I resolving troubles with unicode and some others bugs in it.
 147 2010-07-04T19:01:47  <ei-grad> Next week I planning to finish the LDAPGroups part of my project - write some additional tests, snippets, write/update some pages in the moinmo.in wiki. And, if i have time, start to work on kerberos auth.
 148 2010-07-04T19:02:52  <dreimark> ei-grad: can you add this please also on a ToDo page
 149 2010-07-04T19:03:12  <ei-grad> it's there already... or i missed something?
 150 2010-07-04T19:03:12  <dreimark> then it is easier to collect dependencies and stting an order
 151 2010-07-04T19:03:18  <dreimark> link
 152 2010-07-04T19:03:29  <ei-grad> http://moinmo.in/LDAP2010
 153 2010-07-04T19:03:45  <dreimark> please make it a subpage
 154 2010-07-04T19:03:52  <dreimark> the ToDo
 155 2010-07-04T19:04:00  <dreimark> LDAP2010/toDo
 156 2010-07-04T19:04:06  <ei-grad> hm... ok
 157 2010-07-04T19:04:52  <dreimark> is something blocking you ?
 158 2010-07-04T19:04:52  <ThomasWaldmann> ei-grad: can you give a bit more details?
 159 2010-07-04T19:05:26  <ei-grad> dreimark: seems like nothing...
 160 2010-07-04T19:05:28  <dreimark> yes that todo is only showing topics
 161 2010-07-04T19:05:31  <ThomasWaldmann> (that also applies for your diary pages btw, the "i worked on ldapgroups backend" is a bit, well, obvious :)
 162 2010-07-04T19:07:32  <dreimark> after your tests are working please make snippets with a similiar documentation than the others
 163 2010-07-04T19:07:52  <dreimark> while doing this write a HowTo page
 164 2010-07-04T19:08:34  <dreimark> (of course together with finishing it)
 165 2010-07-04T19:08:51  <ThomasWaldmann> http://hg.moinmo.in/moin/1.9-ldap-kerberos-agrigorev/file/6df5e4bc062e/wiki/config/more_samples/ldap_wikiconfig_snippet wrong indentation
 166 2010-07-04T19:09:16  <ThomasWaldmann> is that tested?
 167 2010-07-04T19:09:54  <ei-grad> hm... strange...
 168 2010-07-04T19:11:40  <ThomasWaldmann> also the snippet for 2 ldap servers still looks old style, does it work? does it make sense to update it like the other one?
 169 2010-07-04T19:12:18  <ei-grad> vim doesn't highlight errors in not .py files, it looks normal in it... fixed...
 170 2010-07-04T19:13:41  <ei-grad> hm... it should work, i not tested it yet... i'll add this in snippet section in the ToDo section
 171 2010-07-04T19:14:00  <ThomasWaldmann> did you implement waldi's idea how to do groups?
 172 2010-07-04T19:14:56  <eSyr> hi.
 173 2010-07-04T19:15:20  <eSyr> excuse me for being late.
 174 2010-07-04T19:15:24  <dreimark> eSyr: ok
 175 2010-07-04T19:15:36  <ei-grad> ThomasWaldmann: yes, i did, as i understand...
 176 2010-07-04T19:16:02  <ei-grad> did you saw my reply?
 177 2010-07-04T19:16:23  <dreimark> ei-grad: in the future it would be good to collect those ideas on the HowTo too (or a summarize).
 178 2010-07-04T19:16:59  <dreimark> torry not HowTo - ToDo#
 179 2010-07-04T19:17:34  *** DmitryAndreev has joined #moin-dev
 180 2010-07-04T19:17:46  <ThomasWaldmann> ei-grad: aren't there lots of snippets missing?
 181 2010-07-04T19:17:50  <DmitryAndreev> moin
 182 2010-07-04T19:18:05  <dreimark> DmitryAndreev: hi you will be after valeuf
 183 2010-07-04T19:18:09  <ThomasWaldmann> i see misc group implementations, but only 1 example
 184 2010-07-04T19:18:36  <ThomasWaldmann> it should be rather clear for an admin what to choose and how to configure it
 185 2010-07-04T19:18:39  <ei-grad> ThomasWaldmann: yes
 186 2010-07-04T19:19:14  <diofeher> this TODO list is a good idea, it's helping me a lot. :)
 187 2010-07-04T19:19:20  * ThomasWaldmann .oO(nothing more from me - waldi maybe? )
 188 2010-07-04T19:19:55  <waldi> not now
 189 2010-07-04T19:19:55  <dreimark> valeuf: please prepare you will be the next
 190 2010-07-04T19:20:05  <valeuf> dreimark: ok :)
 191 2010-07-04T19:20:12  <dreimark> ok, thx ei-grad
 192 2010-07-04T19:20:30  <dreimark> valeuf: your turn
 193 2010-07-04T19:20:34  <valeuf> First of all : What I did this week
 194 2010-07-04T19:20:37  <valeuf>  * Finished HTML_Converter
 195 2010-07-04T19:20:38  <valeuf>  * Tested roundtrip with HTML_IN and HTML_OUT. Especially added support of some missing features for HTML_OUT.
 196 2010-07-04T19:20:38  <valeuf>  * Started DocBook converter. So I read more documentation about DocBook, committed the groundwork of the converters (basic tests, and first conversions handled).
 197 2010-07-04T19:20:38  <valeuf>  * Finished first draft of the DocBook equivalences.
 198 2010-07-04T19:21:01  <valeuf> My plan for the upcoming week :
 199 2010-07-04T19:21:15  <valeuf>  * More tests, documentation for HTML converter.
 200 2010-07-04T19:21:16  <valeuf>  * Continue DocBook converter, at least : table, lists in and out.
 201 2010-07-04T19:21:16  <valeuf>  * See for the best solutions for the paragraph elements  * Add the DocBook mimetype in the wiki (so we will be able to use DocBook document inside moin 2.0).
 202 2010-07-04T19:21:16  <valeuf>  * See with "The Linux Documentation Project" what can of need they can have for DocBook with MoinMoin. And probably some people can test DocBook support with Moin2 (since they already have a lot of DocBook documents in their current DocBook moin1.X installation).
 203 2010-07-04T19:22:39  <dreimark> valeuf: do you have identified missing part of the domtree ?
 204 2010-07-04T19:22:58  <valeuf> http://moinmo.in/ValentinJaniaut/GSoC/TreeOutputModification
 205 2010-07-04T19:23:15  <valeuf> According to the color, it is all the different modification I did
 206 2010-07-04T19:23:48  <valeuf> We style have to make a choice for the style, if we use something similar to CSS, or just attributes
 207 2010-07-04T19:24:33  <dreimark> waldi: comments?
 208 2010-07-04T19:24:52  <valeuf> But I want to progress a little bit more in the DocBook converter to see what can be the best according to my experience
 209 2010-07-04T19:25:19  <waldi> dreimark: no
 210 2010-07-04T19:26:42  <dreimark> valeuf: can you please also summarize next steps on a ToDo subpage
 211 2010-07-04T19:27:37  <valeuf> dreimark: I am using putting my ToDo for each weex in my diary, but I agree it is not readable, I also have todo list for each converter on their respective pages
 212 2010-07-04T19:27:50  <valeuf> dreimark: but It can be a good idea to regroup it on one page
 213 2010-07-04T19:28:00  <ThomasWaldmann> todo in diary doesn't make much sense
 214 2010-07-04T19:28:15  <valeuf> ThomasWaldmann: that's true :)
 215 2010-07-04T19:28:16  <ThomasWaldmann> one needs a specific page for that, diary is for reporting stuff DONE
 216 2010-07-04T19:28:18  <valeuf> I will fix it
 217 2010-07-04T19:29:35  <dreimark> valeuf: any blockers?
 218 2010-07-04T19:30:22  <valeuf> not specially at this time (except that I discover that DocBook was much more larger than the subset I was using ! So I have to carefully check the specification, and some example for some rare elements)
 219 2010-07-04T19:30:51  <ThomasWaldmann> images are still not done, right?
 220 2010-07-04T19:31:04  <valeuf> ThomasWaldmann: In HTML-DOM ?
 221 2010-07-04T19:31:25  <ThomasWaldmann> something -> dom -> html i mean
 222 2010-07-04T19:32:10  <valeuf> it is working, but some code can be refactor, because the main problem is to check the validity of
 223 2010-07-04T19:32:14  <valeuf> the URI of the image
 224 2010-07-04T19:32:37  <valeuf> We do not have good way to check what we put in the src attribute of the img tag
 225 2010-07-04T19:32:44  <ThomasWaldmann> how can i see it working in the wiki?
 226 2010-07-04T19:33:58  <valeuf> For instance, using my stupid HTML mimetype (should be merge with HTML safe later I think) then use <img src="URI Of your image" />
 227 2010-07-04T19:34:05  <valeuf> it will be converted in to the DOM Tree
 228 2010-07-04T19:34:11  <valeuf> and then converted back in to HTML
 229 2010-07-04T19:34:23  <valeuf> I do not know how the other converter handle the images
 230 2010-07-04T19:34:41  <dreimark> valeuf: please also search on the archive of the mailing list for people using docbook. and may be reply to their requests so that you can talk to current moin users of that feature
 231 2010-07-04T19:34:57  <valeuf> If I remember well, I think that MoinMoin syntax converter can understand [[Attachement]]
 232 2010-07-04T19:34:58  <dreimark> http://blog.gmane.org/gmane.comp.web.wiki.moin.general
 233 2010-07-04T19:35:30  <valeuf> dreimark: good idea, because this is quite important for me to check the need of the user, I have a specific usage of DocBook
 234 2010-07-04T19:36:06  <valeuf> dreimark: but for example TLDP project, have a quite different need for DocBook, so I should find the most generic way to implement the conversion
 235 2010-07-04T19:37:08  <dreimark> sure, you may get valuable input by more than one responsible
 236 2010-07-04T19:37:55  <dreimark> ok, any more questions to valeuf ?
 237 2010-07-04T19:38:09  <valeuf> I will try to regroup all the different usecase I can find, and make some clear page about it for next week, as long I implement the basic DocBook features (anyway, for basic elements it would not be really different from an user to another one)
 238 2010-07-04T19:38:45  <dreimark> :)
 239 2010-07-04T19:39:07  <dreimark> DmitryAndreev: eSyr please prepare you will be next
 240 2010-07-04T19:39:58  <dreimark> ThomasWaldmann: valeuf i think you can continue with the image question after the meeting
 241 2010-07-04T19:40:06  <dreimark> thx valeuf
 242 2010-07-04T19:40:10  <valeuf> :)
 243 2010-07-04T19:40:13  <dreimark> DmitryAndreev: please start
 244 2010-07-04T19:40:44  <ThomasWaldmann> sure
 245 2010-07-04T19:40:52  <DmitryAndreev> At the begining of the week i've tried to convert page with my rst->DOM->rst converters
 246 2010-07-04T19:41:14  <DmitryAndreev> and it was awful   http://moinmo.in/4ct10n/recall/DmitryAndreev/Diary/RstPrimerConversion?action=recall&rev=1
 247 2010-07-04T19:41:33  * ThomasWaldmann just wanted to point out that the image stuff should be addressed soon, otherwise this will later block completion of converters
 248 2010-07-04T19:41:59  <dreimark> -> ToDo valeuf
 249 2010-07-04T19:42:25  <DmitryAndreev> but i fix all the errors with shifts in list and references, and now page after conversion looks equal with original
 250 2010-07-04T19:42:42  <DmitryAndreev> http://moinmo.in/DmitryAndreev/Diary/RstPrimerConversion
 251 2010-07-04T19:43:41  <ThomasWaldmann> equal means identical string?
 252 2010-07-04T19:43:42  <DmitryAndreev> so rst converters works good with all stuffs on this page  http://moinmo.in/HelpOnParsers/ReStructuredText/RstPrimer
 253 2010-07-04T19:44:39  <DmitryAndreev> ThomasWaldmann, very similar
 254 2010-07-04T19:45:20  <dreimark> DmitryAndreev: compared the size of test_moinwiki_in.py to test_rst_in.py there are less tests
 255 2010-07-04T19:45:43  <DmitryAndreev> dreimark, yes, i have this in my TODO
 256 2010-07-04T19:45:57  <dreimark> DmitryAndreev: link
 257 2010-07-04T19:46:13  <DmitryAndreev> #
 258 2010-07-04T19:46:13  <DmitryAndreev> Create more unit tests for ReStructuredText->DOM and DOM->ReStructuredText
 259 2010-07-04T19:46:13  <DmitryAndreev> # Fix pep8 in rst_in and rst_out converters
 260 2010-07-04T19:46:13  <DmitryAndreev> # Copy the part of code related to shifts in lists to moinwiki_out converter.
 261 2010-07-04T19:46:13  <DmitryAndreev> # Write a lot of docstrings for all my converters
 262 2010-07-04T19:46:30  <DmitryAndreev> http://moinmo.in/DmitryAndreev/GSoC2010/Diary/2010-07-03 daily
 263 2010-07-04T19:47:01  <dreimark> DmitryAndreev: please make a ToDo subpage of your project and add ToDos there
 264 2010-07-04T19:47:21  <DmitryAndreev> dreimark, ok, i'll do
 265 2010-07-04T19:47:33  <dreimark> it is quite difficult to collect all todos from all diary pages for me
 266 2010-07-04T19:47:42  <dreimark> and see if they are done or not
 267 2010-07-04T19:48:08  <DmitryAndreev> no problem
 268 2010-07-04T19:48:15  <ThomasWaldmann> DmitryAndreev: are you using xpath now for dom tests or string compares?
 269 2010-07-04T19:49:02  <DmitryAndreev> DmitryAndreev, no. do i need?
 270 2010-07-04T19:49:06  <DmitryAndreev> ThomasWaldmann,
 271 2010-07-04T19:50:33  <DmitryAndreev> ThomasWaldmann, i use the same structure in tests which was in moinwiki_in and html_out
 272 2010-07-04T19:50:49  <valeuf> DmitryAndreev: I changed html_out tests with XPATH if you want to have a look
 273 2010-07-04T19:51:10  <dreimark> from the todo of pep8 fixes please make sure that you run all test_source before the commitment
 274 2010-07-04T19:51:11  <valeuf> this is a little bit more powerful than string comparison tests,
 275 2010-07-04T19:51:32  <valeuf> DmitryAndreev: If you need help with XPATH, feel you free to ask me
 276 2010-07-04T19:51:48  <DmitryAndreev> valeuf, thx, i'll look
 277 2010-07-04T19:51:54  <dreimark> DmitryAndreev:,valeuf -> after the meeting please
 278 2010-07-04T19:52:06  <ThomasWaldmann> DmitryAndreev: if you use string comparisions, it breaks all the time, even if something that you didn't want to test changes
 279 2010-07-04T19:52:17  <ThomasWaldmann> so have a look at valeuf's stuff
 280 2010-07-04T19:53:08  <dreimark> yes, please
 281 2010-07-04T19:53:35  <dreimark> DmitryAndreev: any blockers?
 282 2010-07-04T19:53:45  <DmitryAndreev> dreimark, no
 283 2010-07-04T19:54:25  <dreimark> more questions ( eSyr ) ?
 284 2010-07-04T19:54:58  <dreimark> diofeher: please prepare you will be next :)
 285 2010-07-04T19:55:49  <dreimark> DmitryAndreev: if you take some rest pages fromn the python doc documentation
 286 2010-07-04T19:55:50  <eSyr> hm, no.
 287 2010-07-04T19:56:11  <eSyr> we're told today already.
 288 2010-07-04T19:56:29  <dreimark> figure out what works and what not. or what needs to be implemented
 289 2010-07-04T19:56:39  <dreimark> or if our re
 290 2010-07-04T19:56:45  <dreimark> ST usage is compatible
 291 2010-07-04T19:56:50  <DmitryAndreev> dreimark, i think the best test is the page with rst specification.)
 292 2010-07-04T19:57:21  <dreimark> good. I assum that you will have later also tests for these cases.
 293 2010-07-04T19:57:30  <DmitryAndreev> dreimark, ok
 294 2010-07-04T19:57:43  <dreimark> thx DmitryAndreev
 295 2010-07-04T19:57:52  <dreimark> diofeher: please start
 296 2010-07-04T19:58:02  <diofeher> This week I've not worked because I've two projects and two tests to study in the college. But what I've done since friday night:
 297 2010-07-04T19:58:02  <diofeher>  - refactored _status and msg(). now it's msg_list and is rendered in templates.
 298 2010-07-04T19:58:02  <diofeher>  - created an function in Request object (static_href) used to render static files
 299 2010-07-04T19:58:02  <diofeher>  - refactored supplementation_page_nameLink(). changed rtype (boolean) and did some logic in templates.
 300 2010-07-04T19:58:02  <diofeher>  - removed a lot of unused variables, functions, renamed some and changed place of some.
 301 2010-07-04T19:58:03  <diofeher>  - killed dict crap
 302 2010-07-04T19:58:05  <diofeher> Planning to do:
 303 2010-07-04T19:58:07  <diofeher>  - kill send_title (but I have to see how the actions gonna render theme because some of them use send_title)
 304 2010-07-04T19:58:10  <diofeher>  - create a hierarchical structure (actions and so)
 305 2010-07-04T19:59:18  <TheSheep> any blockers (except for the send_title thing)
 306 2010-07-04T19:59:20  <TheSheep> ?
 307 2010-07-04T19:59:41  <TheSheep> anything you are putting off because you're not sure how to do it?
 308 2010-07-04T20:00:08  <diofeher> mm, my blocker now is send_title...
 309 2010-07-04T20:00:21  <TheSheep> you will need to modify the actions code anyways
 310 2010-07-04T20:00:28  <TheSheep> to make them use templates directly
 311 2010-07-04T20:00:34  <diofeher> ok!
 312 2010-07-04T20:00:41  <diofeher> one doubt: actions have tests?
 313 2010-07-04T20:00:53  <diofeher> i looked, but didn't found
 314 2010-07-04T20:00:53  <TheSheep> some do
 315 2010-07-04T20:00:58  <TheSheep> I think...
 316 2010-07-04T20:01:10  <TheSheep> let me see
 317 2010-07-04T20:01:29  <diofeher> because i used py.test and none errors... when i got test actions, some break
 318 2010-07-04T20:01:57  <TheSheep> I guess they don't
 319 2010-07-04T20:02:17  * dreimark most of the actions don't have tests yet
 320 2010-07-04T20:02:24  <diofeher> i think when i'm gonna modify actions it's good to do a little tests for they
 321 2010-07-04T20:02:58  <diofeher> just a little, and we can see if we don't have error imports, wrong parameters and these basic errors
 322 2010-07-04T20:03:02  <TheSheep> at least for the important ones, like view
 323 2010-07-04T20:03:49  <diofeher> ok
 324 2010-07-04T20:04:10  <TheSheep> well, there isn't much code in that one...
 325 2010-07-04T20:04:37  <TheSheep> and they don't interact with each other
 326 2010-07-04T20:04:58  <TheSheep> so I suppose manual testing would be enough, especially when you deal with one action at a time
 327 2010-07-04T20:05:58  <dreimark> diofeher: please add to a list the actions in order which you have modified. some of them i guess can only by humans tested
 328 2010-07-04T20:06:49  <diofeher> dreimark: i've not modified yet. but they call functions of theme, and a change of some parameters breaked them
 329 2010-07-04T20:07:04  <TheSheep> .oO( broke )
 330 2010-07-04T20:07:25  <diofeher> what it means .oO()  ? :P
 331 2010-07-04T20:07:35  <TheSheep> a thought ballon, like in comic books
 332 2010-07-04T20:07:48  <TheSheep> baloon
 333 2010-07-04T20:07:49  <diofeher> haha didn't know
 334 2010-07-04T20:08:19  <ThomasWaldmann> diofeher: you'll have to catch up until midterm
 335 2010-07-04T20:08:38  <TheSheep> we need at least working code :)
 336 2010-07-04T20:08:38  <diofeher> ok ThomasWaldmann
 337 2010-07-04T20:08:47  <diofeher> ^^
 338 2010-07-04T20:09:39  <TheSheep> commiting code that breaks other parts is kinda dirty
 339 2010-07-04T20:09:45  <ThomasWaldmann> and as you see on todo, there is lots todo aside from the html stuff, so the html/templates should be in sane state and working until midtime
 340 2010-07-04T20:09:55  <ThomasWaldmann> ...term
 341 2010-07-04T20:10:34  <diofeher> yea, i didn't know that they've broken other parts... because py.test didn't told me... and i've been curious to test manually actions only yesterday :/
 342 2010-07-04T20:11:19  <diofeher> i know... but i have only 3 soft classes  missing in college, will have free time this week
 343 2010-07-04T20:11:34  <dreimark> we can discuss afterwards what part of the action we can try to cover by tests - or for which it does not make sense - or how
 344 2010-07-04T20:11:35  <diofeher> three more difficulty i've ended this week ^^ (friday)
 345 2010-07-04T20:11:49  <ThomasWaldmann> sounds good. can you work 5x8h next week?
 346 2010-07-04T20:11:49  <diofeher> ok dreimark
 347 2010-07-04T20:11:55  <diofeher> yea, sure
 348 2010-07-04T20:12:09  <diofeher> and i'm gonna work today until night
 349 2010-07-04T20:12:17  <diofeher> (midnight here)
 350 2010-07-04T20:13:23  <dreimark> more questions ?
 351 2010-07-04T20:13:31  <ThomasWaldmann> btw, quite a lot of actions are broken and need rewrite anyway, not sure whether we should write tests for them now
 352 2010-07-04T20:13:54  <ThomasWaldmann> not from me
 353 2010-07-04T20:14:29  <dreimark> TheSheep: ?
 354 2010-07-04T20:15:37  <TheSheep> dreimark: no, sorry
 355 2010-07-04T20:15:47  <dreimark> ok, thx diofeher
 356 2010-07-04T20:16:05  * dreimark thx to everyone attending our weekly meeting
 357 2010-07-04T20:16:10  <valeuf> dreimark:  :)
 358 2010-07-04T20:16:43  <ThomasWaldmann> as a general advice:
 359 2010-07-04T20:16:47  <diofeher> ^^
 360 2010-07-04T20:17:13  <ThomasWaldmann> it is rather likely that we will do some thorough tests of your code before midterm
 361 2010-07-04T20:17:51  <ThomasWaldmann> so it is a good idea to have it in good shape and as a student doing some practical tests
 362 2010-07-04T20:18:26  <ThomasWaldmann> just emulate a picky mentor/admin yourself to avoid him finding all sorts of problems and missing stuff :)
 363 2010-07-04T20:18:43  <TheSheep> we *will* be cruel
 364 2010-07-04T20:18:55  <valeuf> ThomasWaldmann: Do you want I push a merge with the normal HTML Safe mimetype for my HTML, or can we keep my dummy mimetype at this time ?
 365 2010-07-04T20:19:18  <valeuf> TheSheep: cruel ? Are you going to maltreat code ? :p
 366 2010-07-04T20:19:32  <diofeher> hahahahaha
 367 2010-07-04T20:19:36  <TheSheep> valeuf: yes!
 368 2010-07-04T20:19:48  <dreimark> TheSheep: ThomasWaldmann diofeher i think we should start with a list of actions we know are yet fully implemented. these can be regulary tested by using the wiki. Also we should know which actions needs a rewrite and it is pointless to test them now.
 369 2010-07-04T20:19:55  * valeuf need to check if there is international law about code protection :p
 370 2010-07-04T20:19:59  <TheSheep> valeuf: it will have tears in its eyes!
 371 2010-07-04T20:20:43  <TheSheep> looking at the code of random actions, there are mostly 3 kinds
 372 2010-07-04T20:20:53  <diofeher> dreimark: ok, gonna do this list now
 373 2010-07-04T20:21:00  <ThomasWaldmann> also, a good idea is to fully read through your code. often, you'll find stuff todo yourself then.
 374 2010-07-04T20:21:31  <TheSheep> one kind is like the show.py, it just calls the theme, there isn't much to test, except manually
 375 2010-07-04T20:21:53  <ThomasWaldmann> valeuf: no idea, can you give more details?
 376 2010-07-04T20:21:56  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8497:6a53af460b99 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/jinja.py: [templating] fix documentation of location_breacrumbs and path_breadcrumbs (return type and some text
 377 2010-07-04T20:21:57  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8498:951a848beab5 2.0-dev-jinja2-plugins-dfeher/MoinMoin/theme/jinja.py: [templating] adding old status of functions path_breadcrumbs and location_breadcrumbs in documentation
 378 2010-07-04T20:22:08  <dreimark> login/logout too
 379 2010-07-04T20:22:10  <TheSheep> second kind is similar, but has a lot of code unrelated to theme itself -- those should get unit tests, but they are unlikely to break due to theme changes
 380 2010-07-04T20:22:37  <valeuf> ThomasWaldmann: actually, to avoid confilct with thu current code for the mimetype, I created a specific mimetype to process HTML->DOM->HTML conversion
 381 2010-07-04T20:22:42  <TheSheep> and the third kind is the worst, they generate html themselves in the code -- they need to have that html moved into their own template
 382 2010-07-04T20:22:52  <ThomasWaldmann> dreimark: btw, i had a look at do=supplementation, it seems too complicated for what's needed
 383 2010-07-04T20:22:57  <TheSheep> but I don't see a way to test them other than manually
 384 2010-07-04T20:22:58  <diofeher> wow, a lot to do =O
 385 2010-07-04T20:23:02  <valeuf> (otherwise, the HTML code is directly outputted without any conversion)
 386 2010-07-04T20:24:09  <ThomasWaldmann> valeuf: this looks rather like a thing the tests should do, not so much a wiki user
 387 2010-07-04T20:24:18  <valeuf> ThomasWaldmann: so for test purpose I have this weird mimetype : "Html for MoinMoin"
 388 2010-07-04T20:24:41  <valeuf> ThomasWaldmann: It was just to avoid conflict with main 2.0 repos, but it should not be released
 389 2010-07-04T20:25:24  <valeuf> ThomasWaldmann: it is just because we never determine how we will handle HTML conversion, but this is not a big deal at this time
 390 2010-07-04T20:25:31  <ThomasWaldmann> well, in any case add some sane docs for that mimetype so it is clear for what it is and for what not
 391 2010-07-04T20:25:38  <valeuf> ThomasWaldmann: ok
 392 2010-07-04T20:25:46  <ThomasWaldmann> in the code
 393 2010-07-04T20:27:23  <dreimark> ThomasWaldmann: i think it should become simplified. I have yet no idea if its complex features were used
 394 2010-07-04T20:27:59  <dreimark> and we can improve it afterwards again or make a different approach
 395 2010-07-04T20:28:04  <ThomasWaldmann> i didn't see much complex features :)
 396 2010-07-04T20:28:21  <ThomasWaldmann> it's just about a link in the editbar, right :)
 397 2010-07-04T20:28:48  <dreimark> it makes it possible to choose the name, the template, which makes it possible to get any subpage one wants into the editbar
 398 2010-07-04T20:29:14  <ThomasWaldmann> sure
 399 2010-07-04T20:29:53  <ThomasWaldmann> i just mean we don't need an action at all for this
 400 2010-07-04T20:29:58  <dreimark> and we have pragma and config logic to switch it on and off
 401 2010-07-04T20:30:13  <dreimark> s/and/or/ however
 402 2010-07-04T20:30:36  <dreimark> and that it does not get on its own page another supplementation editbar link
 403 2010-07-04T20:30:36  <ThomasWaldmann> and we could also drop the pragma
 404 2010-07-04T20:30:54  <valeuf> bbl
 405 2010-07-04T20:31:16  <ThomasWaldmann> dreimark: no meta-discussions? :D
 406 2010-07-04T20:31:30  <ThomasWaldmann> "i find this discussion exciting" :D
 407 2010-07-04T20:31:50  <dreimark> intersting, that is a kind of comment feature?
 408 2010-07-04T20:32:20  <ThomasWaldmann> that would be for foo/Discussion/Discussion :D
 409 2010-07-04T20:32:27  <dreimark> no
 410 2010-07-04T20:32:38  <dreimark> that never will end
 411 2010-07-04T20:32:58  * ThomasWaldmann just joking
 412 2010-07-04T20:33:24  <dreimark> the other question is (just getting it at the moment) if that supplementation is stored in meta
 413 2010-07-04T20:33:37  <diofeher> TheSheep: as soon as I finish hierarchical structure, i'm fix actions
 414 2010-07-04T20:34:02  <dreimark> because somehow it is an attribute of the page (item)
 415 2010-07-04T20:34:41  <dreimark> e.g. if you destry the page you want to destroy the supplementation too
 416 2010-07-04T20:34:48  <ThomasWaldmann> with the same reasoning, that would also apply for other subitems
 417 2010-07-04T20:37:12  <dreimark> so metadata of an item needs to have all ids of all subitems (or similair key)
 418 2010-07-04T20:37:29  <ThomasWaldmann> no, the relation is given via the name
 419 2010-07-04T20:38:58  <dreimark> hmm, not sure if that is enough. is it allowed to rename a subitem to an item? (or is it a normal item just having a relation)
 420 2010-07-04T20:40:21  <ThomasWaldmann> you can rename whatever you like, if you do stupid and wrong stuff, you own the pieces
 421 2010-07-04T20:40:44  <dreimark> yeah
 422 2010-07-04T20:41:43  <dreimark> brb
 423 2010-07-04T20:48:04  <diofeher> TheSheep http://www.moinmo.in/DiogenesAugusto/GSoC2010/TODO/Actions
 424 2010-07-04T20:49:07  <TheSheep> diofeher: did you compare it with what's borken in the main branch?
 425 2010-07-04T20:49:27  <TheSheep> doesn't look so bad, btw
 426 2010-07-04T20:49:31  <TheSheep> fix it asap :)
 427 2010-07-04T20:52:00  <diofeher> okay =D
 428 2010-07-04T20:53:18  <dreimark> there may be some more in __init__ (at least we have that in 1.9)
 429 2010-07-04T20:54:15  <dreimark> diofeher: please list all - the once which work too
 430 2010-07-04T20:54:43  <dreimark> they may become broken one can give you a note by that
 431 2010-07-04T20:56:10  <diofeher> dreimark ok
 432 2010-07-04T20:56:50  <diofeher> TheSheep: well, some actions have tests in theme/_tests
 433 2010-07-04T20:57:08  <TheSheep> oh, I didn't see that
 434 2010-07-04T20:57:24  <TheSheep> by "some" you mean one :)
 435 2010-07-04T20:57:46  <diofeher> hehe
 436 2010-07-04T20:58:08  <TheSheep> it's not for actions
 437 2010-07-04T20:58:10  <TheSheep> it's for the theme
 438 2010-07-04T20:58:16  <TheSheep> and the actions list in it
 439 2010-07-04T21:00:04  <diofeher> yea, didn't looked right :/
 440 2010-07-04T21:00:52  <TheSheep> didn't look right :)
 441 2010-07-04T21:01:18  <TheSheep> (if you don't want me to correct you, just say, but it's a good opportunity to improve)
 442 2010-07-04T21:02:59  <diofeher> TheSheep: no, you can correct me, my english is bad :P
 443 2010-07-04T21:03:15  <diofeher> as you said, it's good time to improve it ^^
 444 2010-07-04T21:03:22  <diofeher> a good time*
 445 2010-07-04T21:03:29  <TheSheep> it's easy to understand though
 446 2010-07-04T21:04:12  *** franklin has quit IRC
 447 2010-07-04T21:05:44  *** franklin has joined #moin-dev
 448 2010-07-04T21:07:18  <diofeher> TheSheep: where instantiation of ThemeBase occurs?
 449 2010-07-04T21:07:35  <TheSheep> diofeher: this is a virtual class
 450 2010-07-04T21:07:49  <TheSheep> diofeher: it's only for inheriting from it
 451 2010-07-04T21:08:50  *** grzywacz has quit IRC
 452 2010-07-04T21:09:23  <diofeher> ah, i've grepped now and understood a little
 453 2010-07-04T21:09:34  * TheSheep <3 grep
 454 2010-07-04T21:10:32  <TheSheep> diofeher: btw, check out http://betterthangrep.com/ when you have a moment
 455 2010-07-04T21:11:15  <diofeher> execute of Theme is used by plugin system TheSheep?
 456 2010-07-04T21:11:55  <diofeher> liked the url of the site :P
 457 2010-07-04T21:12:18  <TheSheep> themes have execute? :/
 458 2010-07-04T21:12:48  <TheSheep> aaah
 459 2010-07-04T21:13:01  <dreimark> http://hrnjad.net/src/scriptutil/scriptutil-module.html
 460 2010-07-04T21:13:40  <TheSheep> diofeher: I think it's used somewhere when creating request
 461 2010-07-04T21:13:54  <TheSheep> diofeher: that part changed in 1.9 and 1.8, so I'm not up to date :(
 462 2010-07-04T21:16:40  <diofeher> TheSheep ok :(
 463 2010-07-04T21:37:41  <diofeher> hey guys, in your opinion, what is the best book about python 2.6?
 464 2010-07-04T21:40:05  <TheSheep> docs.python.org
 465 2010-07-04T21:40:26  <TheSheep> it has all I ever needed
 466 2010-07-04T21:40:57  <TheSheep> tw, 2.7 got released today
 467 2010-07-04T21:41:03  <TheSheep> btw
 468 2010-07-04T21:44:07  <dreimark> you don't need another book than that + google
 469 2010-07-04T21:45:39  <TheSheep> books are old before they even get published
 470 2010-07-04T21:47:27  <diofeher> hmm.. ok :P
 471 2010-07-04T21:47:40  <diofeher> thx
 472 2010-07-04T21:53:08  * TheSheep bleeds a little
 473 2010-07-04T21:56:36  <ThomasWaldmann> hail 2.7
 474 2010-07-04T21:56:58  <ThomasWaldmann> we won't require it for now, though :D
 475 2010-07-04T22:12:08  <diofeher> ThomasWaldmann: you told me to feed title with a tuple list containing item_name and url
 476 2010-07-04T22:12:11  <diofeher> http://paste.pocoo.org/show/233502/
 477 2010-07-04T22:12:40  <diofeher> but this piece of code don't treat non-existant pages yet
 478 2010-07-04T22:14:32  <diofeher> i have to test if exists and put class="nonexistant" if they don't exist.. but if i put this in template, code gonna grows up a lot :P
 479 2010-07-04T22:17:30  <ThomasWaldmann> ok, then add an exists boolean to the tuple
 480 2010-07-04T22:17:57  <ThomasWaldmann> (same for trail)
 481 2010-07-04T22:31:10  <diofeher> trail is not working here... it's not showed
 482 2010-07-04T22:35:10  *** ritinardo_ has quit IRC
 483 2010-07-04T22:36:06  <dreimark> diofeher: do you be logged in?
 484 2010-07-04T22:36:25  <CIA-98> Diogenes Augusto <diofeher@gmail.com> default * 8499:35ccfcae96c5 2.0-dev-jinja2-plugins-dfeher/MoinMoin/ (templates/base.html templates/header.html theme/jinja.py): [templating] location_breadcumbs return a tuple instead of html formed, rest of render is done at templates
 485 2010-07-04T22:36:56  <diofeher> dreimark: yes
 486 2010-07-04T22:41:21  <diofeher> maybe it's because send_page isn't being called... because using Item now
 487 2010-07-04T22:41:32  <diofeher> send_page calls addTrail
 488 2010-07-04T22:41:45  <diofeher> Page.send_page
 489 2010-07-04T22:45:35  <ThomasWaldmann> diofeher: use a hardcoded trail to test until it is fixed
 490 2010-07-04T22:51:22  *** _diofeher has joined #moin-dev
 491 2010-07-04T23:12:50  <diofeher> ThomasWaldmann: hardcoded trail (ThemeBase.trail()) is not working too
 492 2010-07-04T23:14:03  <diofeher> bbl, gonna drop my gsoc money now :D:D:D
 493 2010-07-04T23:14:44  *** diofeher has quit IRC
 494 2010-07-04T23:14:54  *** _diofeher is now known as diofeher
 495 2010-07-04T23:22:56  <TheSheep> diofeher: just make some list with dummy entries and use that

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-07-04 (last edited 2010-07-03 22:45:02 by IrcLogImporter)