1 2011-08-05T00:15:13  <ThomasWaldmann> re
   2 2011-08-05T00:15:32  <ThomasWaldmann> back on a reasonable connection
   3 2011-08-05T00:37:12  *** m4k3r_ has joined #moin-dev
   4 2011-08-05T00:37:57  *** m4k3r has quit IRC
   5 2011-08-05T00:52:07  *** raignarok has quit IRC
   6 2011-08-05T01:22:11  *** m4k3r_ has quit IRC
   7 2011-08-05T02:19:11  *** sinha has quit IRC
   8 2011-08-05T02:50:33  *** moin7 has joined #moin-dev
   9 2011-08-05T02:52:16  <moin7> Hi there...can someone help me out with my moin wiki?  I have it installed on an IIS server (using isapi_wgi).  It looks great from the server, but from client machines or remot machines there are no themes, styles, etc
  10 2011-08-05T02:56:07  *** moin7 has quit IRC
  11 2011-08-05T02:59:34  *** Chris__ has joined #moin-dev
  12 2011-08-05T03:01:43  <Chris__> Hi... got a moin wiki config issue.  Installed wiki on my IIS server - looks great from there - but form a client on the network or a remote machine no themes, styles, etc
  13 2011-08-05T03:02:09  <Chris__> can anyone offer some imput?
  14 2011-08-05T03:08:21  *** Chris__ has left #moin-dev
  15 2011-08-05T04:24:41  <Marchael> moin
  16 2011-08-05T04:24:49  <Marchael> ah, sorry
  17 2011-08-05T04:49:37  <Marchael> ThomasWaldmann: seems like I can't use order as you suggest because whoosh sorted all fields in alphabetic order
  18 2011-08-05T04:53:28  <Marchael> so order looking like ['address', 'content', 'contenttype', ..
  19 2011-08-05T05:05:12  *** Marchael has quit IRC
  20 2011-08-05T06:00:15  *** m4k3r has joined #moin-dev
  21 2011-08-05T06:06:28  *** m4k3r has quit IRC
  22 2011-08-05T06:11:00  *** MattMaker has quit IRC
  23 2011-08-05T06:14:03  *** MattMaker has joined #moin-dev
  24 2011-08-05T06:27:07  *** Marchael has joined #moin-dev
  25 2011-08-05T07:08:30  *** m4k3r has joined #moin-dev
  26 2011-08-05T07:53:19  *** m4k3r has quit IRC
  27 2011-08-05T07:56:11  *** m4k3r has joined #moin-dev
  28 2011-08-05T08:06:16  *** m4k3r has quit IRC
  29 2011-08-05T08:39:05  *** Marchael has quit IRC
  30 2011-08-05T08:39:32  *** pkumar has joined #moin-dev
  31 2011-08-05T08:48:32  *** MattMaker has quit IRC
  32 2011-08-05T09:01:00  *** Marchael has joined #moin-dev
  33 2011-08-05T09:14:30  *** raignarok has joined #moin-dev
  34 2011-08-05T09:20:29  *** Marchael has quit IRC
  35 2011-08-05T09:24:05  *** Marchael has joined #moin-dev
  36 2011-08-05T09:39:16  *** raignarok has quit IRC
  37 2011-08-05T09:39:27  *** raignarok has joined #moin-dev
  38 2011-08-05T09:46:57  *** raignarok has quit IRC
  39 2011-08-05T10:11:45  *** raignarok has joined #moin-dev
  40 2011-08-05T10:40:11  *** greg_f has joined #moin-dev
  41 2011-08-05T10:54:14  *** pkumar has quit IRC
  42 2011-08-05T10:54:43  <ThomasWaldmann> Marchael: pop out the ones you want to have first, display them, sort the rest, display it
  43 2011-08-05T10:56:21  <Marchael> ThomasWaldmann: may be just have list of keys and iterate over them?
  44 2011-08-05T10:56:36  <ThomasWaldmann> no
  45 2011-08-05T10:56:44  <ThomasWaldmann> you don't know them
  46 2011-08-05T10:57:36  <ThomasWaldmann> http://paste.pocoo.org/show/453008/
  47 2011-08-05T10:57:46  <Marchael> why? I mean list ["name", "uuid", ..] so I'll iterate over that list and pop values
  48 2011-08-05T10:58:47  <ThomasWaldmann> you soon will not be able to know the list of key names
  49 2011-08-05T10:59:26  <ThomasWaldmann> (as soon as we introduce dynamic fields)
  50 2011-08-05T10:59:38  <Marchael> ok
  51 2011-08-05T11:02:53  <ThomasWaldmann> btw, after you are finished with what you are working on currently, you should try to close the easy issues in the tracker
  52 2011-08-05T11:04:50  *** m4k3r has joined #moin-dev
  53 2011-08-05T11:05:01  <ThomasWaldmann> #3, #6, #11
  54 2011-08-05T11:47:07  *** Marchael has quit IRC
  55 2011-08-05T12:06:14  <CIA-114> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 312:23a6a6b85d4c 2.0/MoinMoin/converter/__init__.py: convert_to_indexable: clarify that usage of rev.seek(0) might be needed
  56 2011-08-05T13:27:25  <CIA-114> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 313:8fa4a76d71ff 2.0/MoinMoin/ (7 files in 5 dirs): (log message trimmed)
  57 2011-08-05T13:27:25  <CIA-114> cleanup interwiki code, new easier/more powerful functions
  58 2011-08-05T13:27:25  <CIA-114> removed crappy resolve_interwiki
  59 2011-08-05T13:27:25  <CIA-114> added is_known_wiki(wiki_name) - check if <wiki_name> is in the interwiki_map
  60 2011-08-05T13:27:25  <CIA-114> added is_local_wiki(wiki_name) - check if <wiki_name> is THIS wiki
  61 2011-08-05T13:27:25  <CIA-114> new powerful url_for_item(...) function, that is somehow similar to url_for,
  62 2011-08-05T13:27:26  <CIA-114> but also includes computing interwiki URLs. It either can compute standard
  63 2011-08-05T13:27:26  <CIA-114> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 314:f39b2747ac16 2.0/MoinMoin/converter/_tests/test_link.py: link converter: fix tests (uses test wiki url_root == '/' now)
  64 2011-08-05T13:27:27  <CIA-114> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 315:fed6024028b4 2.0/MoinMoin/ (3 files in 3 dirs): link converter: remove url_root param, not needed any more
  65 2011-08-05T13:46:31  <dreimark> looks like sinha should merge
  66 2011-08-05T13:54:44  <ThomasWaldmann> yes, soon
  67 2011-08-05T13:55:09  <ThomasWaldmann> marchael also soon
  68 2011-08-05T13:56:18  <ThomasWaldmann> i didn't change the *.html templates yet, but maybe i rather don't do that to avoid lots of conflicts for sinha
  69 2011-08-05T14:01:50  <dreimark> hmm, that can be much. Is it better he works on this in his repo?
  70 2011-08-05T14:03:33  <CIA-114> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 316:4ee796d759bf 2.0/MoinMoin/ (4 files in 4 dirs):
  71 2011-08-05T14:03:33  <CIA-114> use url_for_item where appropriate (in py code, no template changes yet)
  72 2011-08-05T14:03:33  <CIA-114> make url_for_item available for templates
  73 2011-08-05T14:05:15  <ThomasWaldmann> we should think about merging back some student code at a good time. code should be in a good state then, but maybe it makes sense to do that soon (before end of SOC)
  74 2011-08-05T14:06:29  *** raignarok has quit IRC
  75 2011-08-05T14:11:45  <dreimark> dirk haun has a talk at froscon about gsoc
  76 2011-08-05T14:12:12  <dreimark> http://programm.froscon.org/2011/events/661.html
  77 2011-08-05T14:50:22  *** raignarok has joined #moin-dev
  78 2011-08-05T15:28:57  *** m4k3r has quit IRC
  79 2011-08-05T15:31:27  *** MattMaker has joined #moin-dev
  80 2011-08-05T15:54:42  *** raignarok has quit IRC
  81 2011-08-05T15:58:36  *** MattMaker has quit IRC
  82 2011-08-05T16:24:12  *** sinha has joined #moin-dev
  83 2011-08-05T16:24:56  *** m4k3r has joined #moin-dev
  84 2011-08-05T16:27:08  *** pkumar has joined #moin-dev
  85 2011-08-05T16:47:22  *** m4k3r has quit IRC
  86 2011-08-05T16:54:27  *** m4k3r has joined #moin-dev
  87 2011-08-05T17:25:43  *** m4k3r_ has joined #moin-dev
  88 2011-08-05T17:26:57  *** m4k3r has quit IRC
  89 2011-08-05T17:36:53  *** m4k3r_ has quit IRC
  90 2011-08-05T17:41:41  *** MattMaker has joined #moin-dev
  91 2011-08-05T17:52:30  *** RogerHaase has joined #moin-dev
  92 2011-08-05T18:04:02  *** m4k3r has joined #moin-dev
  93 2011-08-05T18:16:26  *** m4k3r has quit IRC
  94 2011-08-05T18:17:18  *** m4k3r has joined #moin-dev
  95 2011-08-05T18:18:23  *** MattMaker has quit IRC
  96 2011-08-05T18:45:54  *** MattMaker has joined #moin-dev
  97 2011-08-05T19:13:38  <ThomasWaldmann> somehow there is not enough student activity these days
  98 2011-08-05T19:37:13  *** m4k3r has quit IRC
  99 2011-08-05T19:37:41  *** Marchael has joined #moin-dev
 100 2011-08-05T19:37:56  *** m4k3r has joined #moin-dev
 101 2011-08-05T19:39:35  *** Marchael has quit IRC
 102 2011-08-05T19:40:52  *** Marchael has joined #moin-dev
 103 2011-08-05T19:42:48  <ThomasWaldmann> Marchael: can we speed up a bit?
 104 2011-08-05T19:44:09  *** m4k3r has quit IRC
 105 2011-08-05T19:44:12  <Marchael> moin
 106 2011-08-05T19:44:35  <Marchael> hm, I'm setting up home router, get back to work in several mins
 107 2011-08-05T19:45:45  <ThomasWaldmann> what type of router is it?
 108 2011-08-05T19:45:58  <Marchael> dir-615 with dd-wrt
 109 2011-08-05T19:46:19  <ThomasWaldmann> nice, linux-driven :)
 110 2011-08-05T19:46:22  <Marchael> that's good stuff for sharing internet in home
 111 2011-08-05T19:47:14  <Marchael> seems done
 112 2011-08-05T19:47:46  * ThomasWaldmann mostly uses either fritzboxes or openwrt
 113 2011-08-05T19:48:07  <Marchael> dd-wrt has good supported devices list
 114 2011-08-05T19:50:08  * ThomasWaldmann currently repairs a almost double broken RAID
 115 2011-08-05T19:50:26  *** greg_f has quit IRC
 116 2011-08-05T19:52:17  <Marchael> it's mdadm?
 117 2011-08-05T19:52:32  <Marchael> I mean programm RAID
 118 2011-08-05T19:52:54  <ThomasWaldmann> no, old 3ware dualport sata raid
 119 2011-08-05T19:53:36  <ThomasWaldmann> one disk only works sometimes and the other disk has read errors :(
 120 2011-08-05T19:54:22  * Marchael have 1 Tb RAID 10 on cathedral domain server with mdadm
 121 2011-08-05T19:54:49  <Marchael> it's rather good thing, but resync continues almost 8 hours
 122 2011-08-05T19:58:26  <ThomasWaldmann> i also like md raid rather than hw raid
 123 2011-08-05T20:04:37  <ThomasWaldmann> btw, before working on farm stuff, merge main repo
 124 2011-08-05T20:05:20  *** pkumar has quit IRC
 125 2011-08-05T20:10:13  <Marchael> ok
 126 2011-08-05T20:16:07  *** m4k3r has joined #moin-dev
 127 2011-08-05T20:19:49  <Marchael> ThomasWaldmann: http://paste.pocoo.org/show/453239/
 128 2011-08-05T20:21:29  <ThomasWaldmann> Marchael: except in france, you don't put spaces before :
 129 2011-08-05T20:22:36  <ThomasWaldmann> and maybe rather use an empty line than * * *
 130 2011-08-05T20:22:50  <Marchael> france?
 131 2011-08-05T20:24:06  <ThomasWaldmann> that's the country west from germany :)
 132 2011-08-05T20:24:29  <ThomasWaldmann> of*
 133 2011-08-05T20:24:45  <Marchael> "except in france" what does it mean?
 134 2011-08-05T20:25:15  <ThomasWaldmann> in france they put spaces before :, but maybe nobody else does
 135 2011-08-05T20:25:32  <ThomasWaldmann> at least not english speakers, not germans
 136 2011-08-05T20:25:45  <ThomasWaldmann> in russia, do you put blanks before punctuation?
 137 2011-08-05T20:26:12  <Marchael> in mostly cases no\
 138 2011-08-05T20:26:27  <ThomasWaldmann> so, don't do it. :)
 139 2011-08-05T20:26:31  <Marchael> ah
 140 2011-08-05T20:27:03  <Marchael> but may be it's mor greapable?
 141 2011-08-05T20:27:11  <Marchael> *more
 142 2011-08-05T20:27:20  <Marchael> *grepable
 143 2011-08-05T20:27:38  <ThomasWaldmann> no, it isn't
 144 2011-08-05T20:27:56  <Marchael> admin could write scripte using grep or awk for extracting data from output
 145 2011-08-05T20:27:59  <Marchael> hm, ok
 146 2011-08-05T20:28:01  <ThomasWaldmann> another thing: content entry. if you have an image item, do you also output its content? :)
 147 2011-08-05T20:28:23  <Marchael> hm
 148 2011-08-05T20:28:56  <ThomasWaldmann> maybe use something like repr(content[:500]) to avoid evil things happening
 149 2011-08-05T20:29:56  <Marchael> ThomasWaldmann: http://codereview.appspot.com/4819060 ps 1
 150 2011-08-05T20:31:15  <ThomasWaldmann> unicode(value) is likely to blow up when fed with binary data
 151 2011-08-05T20:31:44  <ThomasWaldmann> so better use what I said. and you don't need len() then
 152 2011-08-05T20:32:12  <Marchael> hm, but all binary data will be converted before psasing to index
 153 2011-08-05T20:32:21  <Marchael> *passing
 154 2011-08-05T20:32:36  <ThomasWaldmann> erhm, oops, yeah, right
 155 2011-08-05T20:32:59  <ThomasWaldmann> but still, you'll have \n in there
 156 2011-08-05T20:33:09  <Marchael> is it bad?
 157 2011-08-05T20:33:33  <ThomasWaldmann> well, it won't be in same line then. depends.
 158 2011-08-05T20:33:45  <ThomasWaldmann> btw, i told you not to hardcode the names, but you just did that.
 159 2011-08-05T20:33:52  <Marchael> ah, of course
 160 2011-08-05T20:34:03  <ThomasWaldmann> what was the problem with the pop and sorted items approach?
 161 2011-08-05T20:35:53  <Marchael> If I understand right. First, I use ordered list of schema field, second pop up values from rev, and third sort last fields and printing
 162 2011-08-05T20:36:42  <RogerHaase> ThomasWaldmann: is the tip currently broken for pages with transcluded png's:  http://paste.pocoo.org/show/453247/
 163 2011-08-05T20:36:55  <ThomasWaldmann> you just pop the keys from the rev dict for the keys you want to print first. wikiname, itemname, rev
 164 2011-08-05T20:37:15  <ThomasWaldmann> then your iterated over the sorted dicts items and print everything remaining there
 165 2011-08-05T20:38:01  <ThomasWaldmann> RogerHaase: yes, the list is incomplete, therefore the #... :)
 166 2011-08-05T20:38:01  <Marchael> ok
 167 2011-08-05T20:38:06  <ThomasWaldmann> i'll fix it
 168 2011-08-05T20:38:17  <RogerHaase> ok
 169 2011-08-05T20:38:20  <ThomasWaldmann> RogerHaase: btw, there is a bug report about object tag, did you see it
 170 2011-08-05T20:38:49  <RogerHaase> yes, I was trying to reproduce it
 171 2011-08-05T20:39:36  <brunomartin> RogerHaase: If you put an image, and a text after it, there it is!
 172 2011-08-05T20:40:47  <RogerHaase> brunomartin: like {{image.png}}\nxxxx?
 173 2011-08-05T20:41:54  <brunomartin> RogerHaase: yes... I just have tried with html and rest, but I thing this should reproduce it...
 174 2011-08-05T20:42:04  <brunomartin> *think
 175 2011-08-05T20:44:00  <brunomartin> RogerHaase: I have spent some time trying to solve this... I think html_out is generating object tag like <object data=... /> but in html 5 we should explicit close it with
 176 2011-08-05T20:44:02  <brunomartin>  </object>...
 177 2011-08-05T20:44:39  <CIA-114> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 317:c61d7e7c6c6b 2.0/MoinMoin/converter/link.py: link converter: support do=get, do=download
 178 2011-08-05T20:44:41  <ThomasWaldmann> RogerHaase: try now ^^
 179 2011-08-05T20:45:53  <brunomartin> RogerHaase: I'm really annoyed with this bug... if you want I could help you to fix it... I was thinking maybe it can be a emeraldTree issue, but I'm not sure about that....
 180 2011-08-05T20:46:39  <RogerHaase> how do you transclude an image in rst?
 181 2011-08-05T20:47:12  <ThomasWaldmann> btw, we need a better reST sample page :)
 182 2011-08-05T20:56:15  *** Marchael has quit IRC
 183 2011-08-05T20:56:34  *** Marchael has joined #moin-dev
 184 2011-08-05T21:01:01  *** m4k3r has quit IRC
 185 2011-08-05T21:01:30  <RogerHaase> brunomartin: I sort of reproduced the problem with ".. image:: logo.png\n\nxxx" with rst, but there is no ending </object> tag.  Plus the logo.png page is transcluded, not just the image.
 186 2011-08-05T21:02:59  *** m4k3r has joined #moin-dev
 187 2011-08-05T21:03:15  <ThomasWaldmann> RogerHaase: is it using the +get url?
 188 2011-08-05T21:03:58  <RogerHaase> ThomasWaldmann: I was testing on my older repo, am switching back to tip now.
 189 2011-08-05T21:04:43  <brunomartin> RogerHaase: yes, I think the problem is that it isn't generating the </object> tag... it just try to close it  whit /> at the end of the tag...
 190 2011-08-05T21:06:23  <brunomartin> RogerHaase: if I see in firebug, seens that firefox forces a ending </object> after footer, but if I look at the source html, the tag is like <object data=... />
 191 2011-08-05T21:09:23  <Marchael> ThomasWaldmann: http://paste.pocoo.org/show/453272/
 192 2011-08-05T21:10:24  <Marchael> ps 2 http://codereview.appspot.com/4819060
 193 2011-08-05T21:10:37  *** m4k3r has quit IRC
 194 2011-08-05T21:12:13  *** m4k3r has joined #moin-dev
 195 2011-08-05T21:12:23  <ThomasWaldmann> Marchael: pop content also and print it as last thing
 196 2011-08-05T21:12:59  <Marchael> content was poped
 197 2011-08-05T21:13:08  <Marchael> but ok
 198 2011-08-05T21:13:11  <brunomartin> RogerHaase: I realize that the html in html_out (MoinMoin.util.tree.html) is using xhtml namespace... Shouldn't be html5 namespace in html_out?
 199 2011-08-05T21:18:46  <ThomasWaldmann> http://www.w3.org/TR/html5/namespaces.html
 200 2011-08-05T21:18:56  <RogerHaase> brunomartin: I reproduced the problem on the tip with rst.  I am using Firefox 5.0, but I do not see the an ending </object>.   To get the image rather than the image page, I had to use ".. image:: /+get/0/logo\n\nxxx".  Fails both ways.
 201 2011-08-05T21:27:57  <Marchael> ThomasWaldmann: ps 3 http://codereview.appspot.com/4819060
 202 2011-08-05T21:28:32  <Marchael> output like http://paste.pocoo.org/show/453287/
 203 2011-08-05T21:30:46  <ThomasWaldmann> you still have that hardcoded fieldnames list
 204 2011-08-05T21:31:36  <ThomasWaldmann> why do you need it?
 205 2011-08-05T21:31:42  <Marchael> do you know another way how to make result output in order "name", "uuid", etc?
 206 2011-08-05T21:32:09  <ThomasWaldmann> we just want some few things first and one thing last and everything else sorted in the middle
 207 2011-08-05T21:32:25  <ThomasWaldmann> to achieve this, you only need the few and the one, nothing else
 208 2011-08-05T21:33:24  <Marchael> so I have hardcode list only with ["name", "uuid", rev_no"] ?
 209 2011-08-05T21:33:35  <Marchael> *I'll
 210 2011-08-05T21:34:12  <ThomasWaldmann> yes, or even unroll that part of the loop
 211 2011-08-05T21:37:00  <ThomasWaldmann> hmm, best is to extract these items (key/value pairs), then sort the remaining items list, then iterate over [first ones] + sorted_list + [last one]
 212 2011-08-05T21:37:56  <ThomasWaldmann> you get the idea?
 213 2011-08-05T21:38:27  <Marchael> nope
 214 2011-08-05T21:38:38  <Marchael> why I should sort list first?
 215 2011-08-05T21:38:56  <Marchael> I could just pop [first] and then sort
 216 2011-08-05T21:39:38  <ThomasWaldmann> name = rev.pop('name')
 217 2011-08-05T21:39:52  <ThomasWaldmann> content = rev.pop('content')
 218 2011-08-05T21:40:42  <Marchael> m?
 219 2011-08-05T21:41:09  <ThomasWaldmann> for key, value in [('name', name), ] + sorted(rev.items()) + [('content', content), ]:
 220 2011-08-05T21:41:12  <ThomasWaldmann>  ...
 221 2011-08-05T21:41:35  <ThomasWaldmann> easy, isn't it? :)
 222 2011-08-05T21:41:49  <Marchael> oh, it's hack
 223 2011-08-05T21:41:52  <Marchael> :)
 224 2011-08-05T21:42:10  <ThomasWaldmann> no, that's still standard python :)
 225 2011-08-05T21:42:42  <Marchael> looks cool, I'll use that
 226 2011-08-05T21:44:05  *** MattMaker_ has joined #moin-dev
 227 2011-08-05T21:44:13  *** MattMaker has quit IRC
 228 2011-08-05T21:44:14  *** MattMaker_ is now known as MattMaker
 229 2011-08-05T21:49:47  *** m4k3r_ has joined #moin-dev
 230 2011-08-05T21:51:52  *** m4k3r has quit IRC
 231 2011-08-05T21:54:22  <ThomasWaldmann> brb
 232 2011-08-05T21:55:26  <Marchael> ThomasWaldmann: ps 4 http://codereview.appspot.com/4819060
 233 2011-08-05T22:04:57  <brunomartin> RogerHaase: Sorry, I was on a meeting. Yes, I think thats the problem, there is no ending </object>!!!
 234 2011-08-05T22:06:16  *** m4k3r_ has quit IRC
 235 2011-08-05T22:06:22  <brunomartin> RogerHaase: The ending tag, just like I file the bug, I saw using firebug... I will change it now...
 236 2011-08-05T22:08:12  *** m4k3r has joined #moin-dev
 237 2011-08-05T22:12:22  <ThomasWaldmann> Marchael: try it and see that it does not work
 238 2011-08-05T22:12:26  <RogerHaase> brunomartin: I reproduced the problem with rst and html.  But moinwiki and creole work.  Mediawiki gave me a traceback as I was trying to learn the syntax.  I am guessing the problem may be in rst_in.py and html_in.py..., or not.
 239 2011-08-05T22:13:18  <brunomartin> RogerHaase: Issue changed, please see https://bitbucket.org/thomaswaldmann/moin-2.0/issue/42/problem-rendering-image-on-page
 240 2011-08-05T22:14:33  <Marchael> ThomasWaldmann: what doesn't work exactly?
 241 2011-08-05T22:14:46  <ThomasWaldmann> check the keys
 242 2011-08-05T22:15:02  <Marchael> ah\
 243 2011-08-05T22:15:52  <ThomasWaldmann> and you used get(), not pop(). but even with pop() it would not work that way
 244 2011-08-05T22:16:27  <Marchael> yes yes
 245 2011-08-05T22:16:28  <ThomasWaldmann> you must not pop in same expression
 246 2011-08-05T22:18:46  <dreimark> re
 247 2011-08-05T22:19:24  <Marchael> ThomasWaldmann: ps 5 http://codereview.appspot.com/4819060
 248 2011-08-05T22:21:05  *** m4k3r_ has joined #moin-dev
 249 2011-08-05T22:22:16  *** m4k3r has quit IRC
 250 2011-08-05T22:22:59  <ThomasWaldmann> and you don't need that len() and if ...
 251 2011-08-05T22:24:40  <Marchael> why not?
 252 2011-08-05T22:25:01  <ThomasWaldmann> it's the same as value[:40] anyway
 253 2011-08-05T22:25:09  <Marchael> hm
 254 2011-08-05T22:25:18  <Marchael> value may be integer or date
 255 2011-08-05T22:26:00  <Marchael> or use something like unicode(value)[:40]
 256 2011-08-05T22:27:30  <brunomartin> RogerHaase: I think thats cause html_in (maybe rst_in too) transform img tag to object... note that MoinMoin.converter.html_in.visit_xhtml_img returns a  moin_page.object(attrib)
 257 2011-08-05T22:28:35  <brunomartin> RogerHaase: I forced MoinMoin.converter.html_in.visit_xhtml_img to return moin_page.img and works, so the problem is with the object tag I think...
 258 2011-08-05T22:29:49  <ThomasWaldmann> use repr(), as i said earlier
 259 2011-08-05T22:30:03  <ThomasWaldmann> if you have unicode data, it might blow up on output to console
 260 2011-08-05T22:31:06  <brunomartin> RogerHaase: I realize that the html in html_out (MoinMoin.util.tree.html) is using xhtml namespace... Shouldn't be html5 namespace in html_out?
 261 2011-08-05T22:37:24  <RogerHaase> brunomartin: With moinwiki, "{{http://localhost:8080/logo}}\n\nxxxx" creates "<object class="moin-http" data="http://localhost:8080/logo">http://localhost:8080/logo</object>..." so I am still thinking the problem is in rst_in and html_in.
 262 2011-08-05T22:40:09  <brunomartin> RogerHaase: hm..  that's intersting...
 263 2011-08-05T22:44:32  <Marchael> ThomasWaldmann: http://codereview.appspot.com/4819060 ps 6
 264 2011-08-05T22:47:21  <dreimark> Marchael: please prefix class definitions with moin-
 265 2011-08-05T22:47:29  <ThomasWaldmann> ok, so now just use a bit more than 40 and add the other fields you want to have displayed first
 266 2011-08-05T22:47:48  <ThomasWaldmann> 70 would still fit in one line
 267 2011-08-05T22:49:06  <ThomasWaldmann> revno and wikiname is also important to have it early
 268 2011-08-05T22:49:09  <Marchael> dreimark: what class exactly? MoinIndexOperations?
 269 2011-08-05T22:49:31  <ThomasWaldmann> m)
 270 2011-08-05T22:50:02  <dreimark> all. e.g. <p class="searchhint">
 271 2011-08-05T22:50:15  <dreimark> <p class="info foundedtext">
 272 2011-08-05T22:50:28  <dreimark> <p class="info searchhitinfobar">
 273 2011-08-05T22:50:37  <Marchael> ah
 274 2011-08-05T22:51:00  <ThomasWaldmann> and it is NOT foundedtext, but foundtext or hit or so
 275 2011-08-05T22:51:10  <dreimark> oh yeah
 276 2011-08-05T22:55:00  <dreimark> gn
 277 2011-08-05T22:55:12  <Marchael> gn dreimark
 278 2011-08-05T22:56:55  <Marchael> hm, but how I should use "moin-" there?
 279 2011-08-05T22:57:22  <Marchael> That stuff coming from main repo
 280 2011-08-05T22:57:42  <Marchael> I don't think that good idea to change them
 281 2011-08-05T22:57:51  <Marchael> I mean class names
 282 2011-08-05T23:00:54  <ThomasWaldmann> the point is to not have moin css class names collide with user defined stuff
 283 2011-08-05T23:03:39  <Marchael> and what should I do? use "moin-" instead "info"?
 284 2011-08-05T23:04:36  <ThomasWaldmann> moin-foo instead of foo
 285 2011-08-05T23:04:50  <ThomasWaldmann> but that's another changeset
 286 2011-08-05T23:06:49  <Marchael> ok, so now I have this http://codereview.appspot.com/4819060 ps 7, may I commit this?
 287 2011-08-05T23:08:46  <ThomasWaldmann> no
 288 2011-08-05T23:08:53  <ThomasWaldmann> read the diff
 289 2011-08-05T23:10:36  <Marchael> oops, [:0] instead of [:70]
 290 2011-08-05T23:11:25  <ThomasWaldmann> yup. and untested :)
 291 2011-08-05T23:12:38  <ThomasWaldmann> commit it after testing
 292 2011-08-05T23:12:48  <ThomasWaldmann> this is next: https://bitbucket.org/marchael/moin-2.0/issue/9/content-entered-via-wiki-ui-is-not-indexed
 293 2011-08-05T23:13:56  <Marchael> seems ok now
 294 2011-08-05T23:16:42  <CIA-114> Michael Mayorov <marchael@kb.csu.ru> * fdd1b2dec689 r389 moin-2.0/MoinMoin/ (3 files in 3 dirs): Improved index --for ... --action show output, syntax change in css class name
 295 2011-08-05T23:17:52  <Marchael> ThomasWaldmann: I have opening issues which seems to be done, but to make sure, can you test that?
 296 2011-08-05T23:22:30  <ThomasWaldmann> url?
 297 2011-08-05T23:24:52  <Marchael> https://bitbucket.org/marchael/moin-2.0/issue/6/unpretty-search-results-rendering
 298 2011-08-05T23:24:52  <Marchael> https://bitbucket.org/marchael/moin-2.0/issue/10/moin-index-show-output-formatting
 299 2011-08-05T23:27:21  <brunomartin> RogerHaase: well, I will work hard on this issue on Monday, cause I'm another project today... I give you feedback at the issue on bitbucket. Is there any hint?
 300 2011-08-05T23:29:08  <ThomasWaldmann> so, why is 6 fixed?
 301 2011-08-05T23:30:58  <Marchael> why you think what current style is bad?
 302 2011-08-05T23:31:43  <Marchael> for long search form
 303 2011-08-05T23:33:46  <ThomasWaldmann> it is written in the bug report
 304 2011-08-05T23:35:14  <Marchael> I use white background, I think that form visible enough
 305 2011-08-05T23:35:17  <RogerHaase> brunomartin: no hint, still looking.
 306 2011-08-05T23:35:58  <ThomasWaldmann> Marchael: http://awesomescreenshot.com/01ci0tx75
 307 2011-08-05T23:36:19  <ThomasWaldmann> the point is to use the same form style as usual in the content area
 308 2011-08-05T23:36:33  <Marchael> without any style?
 309 2011-08-05T23:36:46  <Marchael> ugly default buttons and forms?
 310 2011-08-05T23:36:47  <ThomasWaldmann> the style you use is copied from the top right mini search form, which has specific requirements
 311 2011-08-05T23:36:55  <ThomasWaldmann> (and then modified)
 312 2011-08-05T23:37:05  <ThomasWaldmann> just use the same style as e.g. the login form
 313 2011-08-05T23:37:27  <ThomasWaldmann> for field, for button
 314 2011-08-05T23:37:35  <ThomasWaldmann> and remove that line from the top
 315 2011-08-05T23:37:48  <Marchael> may insert search tip there?
 316 2011-08-05T23:38:30  <Marchael> Like "You may use query like rev_no:10 or contenttype:text"
 317 2011-08-05T23:38:54  <ThomasWaldmann> no, we won't show search tips there
 318 2011-08-05T23:39:22  <ThomasWaldmann> (that would be just too much, we'll have a separate view for search help, and docs)
 319 2011-08-05T23:40:36  <Marchael> ok
 320 2011-08-05T23:42:13  * Marchael fixing offline building\updating
 321 2011-08-05T23:52:55  <Marchael> rather strage
 322 2011-08-05T23:54:20  <Marchael> I use index_rebuild = None
 323 2011-08-05T23:54:21  <Marchael> load_xml = None
 324 2011-08-05T23:54:21  <Marchael> save_xml = None
 325 2011-08-05T23:54:21  <Marchael> and after moin index --for both --action build
 326 2011-08-05T23:54:21  <Marchael> moin index --for both --action show shows me preloaded items
 327 2011-08-05T23:54:43  <Marchael> I don't use --action move
 328 2011-08-05T23:55:03  <Marchael> and files looking like _all_revisions_index_5.fln
 329 2011-08-05T23:55:10  <Marchael> why 5?
 330 2011-08-05T23:56:17  <ThomasWaldmann> can you please concentrate on one thing?
 331 2011-08-05T23:56:20  <Marchael> but rather than that content indexing with offline script working well
 332 2011-08-05T23:57:12  <ThomasWaldmann> that results rendering is a 10 minutes fix, if not less
 333 2011-08-05T23:57:54  <Marchael> yes, but I already started doing fixing building\updating
 334 2011-08-05T23:58:11  *** MattMaker has quit IRC
 335 2011-08-05T23:58:21  <ThomasWaldmann> that is which bug?
 336 2011-08-05T23:59:41  <Marchael> http://codereview.appspot.com/4810076

MoinMoin: MoinMoinChat/Logs/moin-dev/2011-08-05 (last edited 2011-08-04 22:45:03 by IrcLogImporter)