1 2010-11-30T00:36:59  *** moin2 has joined #moin-dev
   2 2010-11-30T00:37:51  <moin2> is mr.waldmann there, i am the wanted views tasker
   3 2010-11-30T00:42:20  <moin2> is anyone here?
   4 2010-11-30T00:43:56  <dreimark> ThomasWaldmann: ^
   5 2010-11-30T00:43:57  <dreimark> gn
   6 2010-11-30T00:44:16  <moin2> mr. waldmann
   7 2010-11-30T00:45:41  <moin2> i am trying to run the moin in  the top level of 2.0-dev, but i am getting a syntax error
   8 2010-11-30T00:46:20  <ThomasWaldmann> hi moin2
   9 2010-11-30T00:46:30  <moin2> hello
  10 2010-11-30T00:47:19  <moin2> i am getting a syntax error in _init_.py
  11 2010-11-30T00:47:45  <ThomasWaldmann> how do you invoke moin?
  12 2010-11-30T00:47:51  <ThomasWaldmann> python version?
  13 2010-11-30T00:48:00  <ThomasWaldmann> traceback > pastebin please
  14 2010-11-30T00:48:10  <moin2> in command line, call moin.py
  15 2010-11-30T00:48:34  <ThomasWaldmann> complete command line please
  16 2010-11-30T00:48:56  <moin2> hold on please
  17 2010-11-30T00:54:11  <moin2> Traceback (most recent call last):   File "C:\Users\Rahul\Desktop\2.0-dev\moin.py", line 60, in <module>     from MoinMoin import create_app   File "C:\Users\Rahul\Desktop\2.0-dev\MoinMoin\__init__.py", line 154     def set_umask(new_mask=0777^config.umask):                               ^ SyntaxError: invalid token
  18 2010-11-30T00:54:28  <moin2> that was badly done
  19 2010-11-30T00:56:49  <ThomasWaldmann> python version?
  20 2010-11-30T00:57:12  <ThomasWaldmann> doesnt look like a syntax error btw
  21 2010-11-30T00:57:24  <moin2> really
  22 2010-11-30T00:58:26  <moin2> i use python3.1
  23 2010-11-30T00:58:31  <ThomasWaldmann> hah
  24 2010-11-30T00:58:42  <moin2> what's funny
  25 2010-11-30T00:58:42  <ThomasWaldmann> use 2.6 please
  26 2010-11-30T00:58:55  <moin2> i got something else for 2.6
  27 2010-11-30T01:00:14  <moin2> 2010-11-29 17:59:29,888 WARNING MoinMoin.log:136 using logging configuration rea d from built-in fallback in MoinMoin.log module! 2010-11-29 17:59:30,835 WARNING MoinMoin.log:108 C:\Users\Rahul\Desktop\2.0-dev\ MoinMoin\support\sqlalchemy\engine\default.py:230: SAWarning: Unicode type recei ved non-unicode bind param value '' 2010-11-29 17:59:32,542 INFO werkzeug:116  * Running on http://127.0.0.1:8080/ 2010-11-29 17:59:32,543 INFO
  28 2010-11-30T01:00:20  <moin2> when i use 2.6
  29 2010-11-30T01:00:39  <ThomasWaldmann> that's ok
  30 2010-11-30T01:00:55  <moin2> so what do i do?
  31 2010-11-30T01:01:15  <ThomasWaldmann> use 2.6
  32 2010-11-30T01:01:27  <moin2> and it didn't work
  33 2010-11-30T01:01:38  <ThomasWaldmann> what does that mean?
  34 2010-11-30T01:01:52  <moin2> the last message i pasted,
  35 2010-11-30T01:02:08  <ThomasWaldmann> * Running on http://127.0.0.1:8080/
  36 2010-11-30T01:02:10  <ThomasWaldmann> so?
  37 2010-11-30T01:02:26  <moin2> it works?
  38 2010-11-30T01:02:34  <ThomasWaldmann> use your browser?
  39 2010-11-30T01:03:01  <moin2> how to make the template?
  40 2010-11-30T01:03:30  <ThomasWaldmann> there are quite some examples under templates/
  41 2010-11-30T01:04:12  <ThomasWaldmann> first first approach (just a simple list of wanted pages), you can use same template as the orphaned pages code does
  42 2010-11-30T01:11:09  <moin2> so copy orphans.html as wanteds.html
  43 2010-11-30T01:12:46  <ThomasWaldmann> yes
  44 2010-11-30T01:13:14  <moin2> and submit wanteds.html and the changeset
  45 2010-11-30T01:15:02  *** waldi has quit IRC
  46 2010-11-30T01:15:12  <ThomasWaldmann> no
  47 2010-11-30T01:15:36  <ThomasWaldmann> you add wanteds.html to revision control, so it will be in your changeset also
  48 2010-11-30T01:18:30  *** waldi has joined #moin-dev
  49 2010-11-30T01:19:11  <moin2> ok submitted
  50 2010-11-30T01:25:30  <moin2> have you looked at it?
  51 2010-11-30T01:25:39  <ThomasWaldmann> have a look at orphans code
  52 2010-11-30T01:25:50  <ThomasWaldmann> atribute names are better there
  53 2010-11-30T01:26:05  <ThomasWaldmann> it uses ITEMLINKS constant
  54 2010-11-30T01:27:05  <ThomasWaldmann> you can basically just copy the first 6 code lines of it
  55 2010-11-30T01:29:21  <moin2> i think i've matched it
  56 2010-11-30T01:30:05  <ThomasWaldmann> and look at orphans code render_template call, how it has now blanks around =
  57 2010-11-30T01:30:32  <ThomasWaldmann> that is because this is a function call, there no blanks around = is preferred style
  58 2010-11-30T01:32:18  <moin2> done
  59 2010-11-30T01:32:19  <ThomasWaldmann> ok, so do you get your wanteds shown in your browser?
  60 2010-11-30T01:36:09  <moin2> is it in the moin that ran? if so, where do i go for it?
  61 2010-11-30T01:36:42  <ThomasWaldmann> http://127.0.0.1:8080/+wanteds
  62 2010-11-30T01:39:52  <moin2> no, i'm getting a name error
  63 2010-11-30T01:40:47  <ThomasWaldmann> traceback > paste.pocoo.org
  64 2010-11-30T01:42:28  <moin2> http://paste.pocoo.org/show/297843/
  65 2010-11-30T01:43:11  <ThomasWaldmann> File "C:\Users\Rahul\Desktop\2.0-dev\MoinMoin\apps\frontend\views.py", line 455, in wanted_items
  66 2010-11-30T01:43:14  <ThomasWaldmann> item_names=wanteds)
  67 2010-11-30T01:43:16  <ThomasWaldmann> NameError: global name 'wanteds' is not defined
  68 2010-11-30T01:43:20  <ThomasWaldmann> so, what's unclear?
  69 2010-11-30T01:44:21  <moin2> is the global name suppose to be wanted or Wanted_Items? either way it gives me that error
  70 2010-11-30T01:45:05  <ThomasWaldmann> you have to be just consistent
  71 2010-11-30T01:45:30  <ThomasWaldmann> and it is only telling "global ..." because it didn't find a local of that name either
  72 2010-11-30T01:45:39  <moin2> i changed it to match orphans after submitting it, is that the problem
  73 2010-11-30T01:46:31  <ThomasWaldmann> look at the line above, where you compute it
  74 2010-11-30T01:46:43  <ThomasWaldmann> the names mismatch
  75 2010-11-30T01:47:12  <moin2> u'Wanted Items'
  76 2010-11-30T01:47:15  <moin2> ?
  77 2010-11-30T01:47:31  <ThomasWaldmann> no, the name ("variable name")
  78 2010-11-30T01:48:37  <moin2> ok!!!!!!!
  79 2010-11-30T01:48:58  <moin2> i feel like an idiot, it works
  80 2010-11-30T01:50:08  <ThomasWaldmann> ok, submit a changeset
  81 2010-11-30T01:50:29  <ThomasWaldmann> so that we have 2/3 of the task in melange :)
  82 2010-11-30T01:51:27  <ThomasWaldmann> now, you have to compute which source items link to each wanted item and list that to the right of the wanted item
  83 2010-11-30T01:53:06  <moin2> i'm getting server errors
  84 2010-11-30T01:53:19  <ThomasWaldmann> on melange?
  85 2010-11-30T01:53:44  <moin2> nevermind
  86 2010-11-30T01:53:53  <moin2> submitted
  87 2010-11-30T01:54:06  <moin2> continue editing the same function
  88 2010-11-30T01:54:10  <moin2> ?
  89 2010-11-30T01:54:20  <ThomasWaldmann> sure
  90 2010-11-30T01:54:28  *** nickr5 has quit IRC
  91 2010-11-30T01:56:13  <moin2> the submition works?
  92 2010-11-30T01:57:47  <ThomasWaldmann> looks ok
  93 2010-11-30T01:57:52  <ThomasWaldmann> it works?
  94 2010-11-30T01:57:54  *** nickr5 has joined #moin-dev
  95 2010-11-30T01:58:15  <moin2> a link works both ways right?
  96 2010-11-30T01:58:28  <moin2>  if a has link to b, then b has link to a
  97 2010-11-30T01:59:44  <ThomasWaldmann> no
  98 2010-11-30T02:00:08  <ThomasWaldmann> wikis have normal links, like any other web site
  99 2010-11-30T02:00:48  <ThomasWaldmann> but that's not relevant here
 100 2010-11-30T02:01:12  <moin2> ok
 101 2010-11-30T02:01:12  <ThomasWaldmann> what you need is simple data gathering and feeding it to the template
 102 2010-11-30T02:01:37  <ThomasWaldmann> first think about (or look up) a good data structure
 103 2010-11-30T02:02:25  <ThomasWaldmann> now you have a set for wanted items
 104 2010-11-30T02:02:43  <ThomasWaldmann> that's pretty ok as long as you just gather their names
 105 2010-11-30T02:03:08  <ThomasWaldmann> but now you want to gather also a list of source items linking to the wanted item
 106 2010-11-30T02:03:22  <ThomasWaldmann> so you need a slightly different data structure
 107 2010-11-30T02:05:22  <moin2> a list for each wanted item?
 108 2010-11-30T02:05:46  <ThomasWaldmann> yes, that's part of it
 109 2010-11-30T02:07:40  <ThomasWaldmann> now, how do you associate the wanted item with the corresponding list?
 110 2010-11-30T02:10:42  <moin2> i was thinking of a dictionary
 111 2010-11-30T02:10:52  <ThomasWaldmann> sure
 112 2010-11-30T02:10:58  <ThomasWaldmann> how exactly?
 113 2010-11-30T02:11:24  <ThomasWaldmann> dicts are very popular in python, for good reasons :)
 114 2010-11-30T02:12:40  <ThomasWaldmann> just assume w1 is wanted by a and b, w2 is wanted by c
 115 2010-11-30T02:12:51  <ThomasWaldmann> how would the dict look like?
 116 2010-11-30T02:13:28  <moin2> i have a dict that maps each wanted item to a list of links
 117 2010-11-30T02:13:53  <ThomasWaldmann> list of links?
 118 2010-11-30T02:14:14  <moin2> the list of links is all the items that link to it
 119 2010-11-30T02:14:28  <ThomasWaldmann> yes, a list of the item names
 120 2010-11-30T02:14:43  <ThomasWaldmann> so the dict for the example would be...?
 121 2010-11-30T02:15:23  <moin2> hold on a second, what does the current_rev.get   in the orphans function do
 122 2010-11-30T02:15:41  <ThomasWaldmann> ITEMLINKS?
 123 2010-11-30T02:15:55  <moin2> yes
 124 2010-11-30T02:16:05  <moin2> what does it return?
 125 2010-11-30T02:16:22  <ThomasWaldmann> it tells you all target item names of the items that revision is linking to
 126 2010-11-30T02:16:34  <ThomasWaldmann> a list of names
 127 2010-11-30T02:17:03  <moin2> is that what i would use to get the links to the item?
 128 2010-11-30T02:17:39  <ThomasWaldmann> no
 129 2010-11-30T02:18:03  <ThomasWaldmann> that list is telling you "outgoing links" from the current item
 130 2010-11-30T02:18:33  <ThomasWaldmann> you don't have a list of "incoming links", especially not for a non-existing wanted item
 131 2010-11-30T02:18:59  <ThomasWaldmann> thus, you have to compute that
 132 2010-11-30T02:21:52  <moin2> i think i get it, hold on
 133 2010-11-30T02:22:04  <ThomasWaldmann> btw, you can look at the moin 1.9 WantedPages code
 134 2010-11-30T02:22:18  <ThomasWaldmann> it's a bit ugly, but maybe it helps getting the idea
 135 2010-11-30T02:25:15  <moin2> can i use more than 1 for loop
 136 2010-11-30T02:25:25  <moin2> that may do a full search
 137 2010-11-30T02:27:16  <ThomasWaldmann> yes, you'll likely use more than 1 for loop
 138 2010-11-30T02:29:39  <ThomasWaldmann> btw wanted[link] = {name: 1}
 139 2010-11-30T02:30:16  <ThomasWaldmann> in the old code can be done better with a set or list
 140 2010-11-30T02:32:30  <ThomasWaldmann> btw, do you have computer stuff at school? like programming?
 141 2010-11-30T02:33:37  *** rfwalrus has joined #moin-dev
 142 2010-11-30T02:34:00  *** rfw has quit IRC
 143 2010-11-30T02:34:00  *** rfwalrus has quit IRC
 144 2010-11-30T02:34:00  *** rfwalrus has joined #moin-dev
 145 2010-11-30T02:34:10  *** rfwalrus is now known as rfw
 146 2010-11-30T02:34:32  <moin2> yeah, i do have stuff at school
 147 2010-11-30T02:34:39  <moin2> mainly java though
 148 2010-11-30T02:35:07  <ThomasWaldmann> python is like vacation from that :D
 149 2010-11-30T02:35:43  <moin2> i like it in someways, someways i like jave
 150 2010-11-30T02:35:51  <moin2> java
 151 2010-11-30T02:36:03  <ThomasWaldmann> (there is jython btw)
 152 2010-11-30T02:36:16  <moin2> yeah
 153 2010-11-30T02:36:45  <rfw> moin2: you'll soon learn that almost every programming language is like every other :p
 154 2010-11-30T02:36:52  <moin2> i think i have too many loops, but i'll paste it and you can look at
 155 2010-11-30T02:37:15  <moin2> i have seen many similarities rfw, its just a matter of building experience
 156 2010-11-30T02:37:42  <rfw> you have different concepts, but you still do everything the same way :D
 157 2010-11-30T02:38:23  <ThomasWaldmann> no, you don't :P
 158 2010-11-30T02:38:51  <moin2> i pasted it, is that a problem
 159 2010-11-30T02:39:01  <ThomasWaldmann> some languages are a bit more powerful than others, and then of course you use that power :)
 160 2010-11-30T02:39:16  <rfw> ThomasWaldmann: it's all about moving things around in your computer anyway :D
 161 2010-11-30T02:39:40  <moin2> should i paste it?
 162 2010-11-30T02:39:53  <ThomasWaldmann> yeah, you could use a turing machine for the most pain :)
 163 2010-11-30T02:39:59  *** moin2 has quit IRC
 164 2010-11-30T02:40:13  <ThomasWaldmann> wrong button :)
 165 2010-11-30T02:40:22  *** moin2 has joined #moin-dev
 166 2010-11-30T02:40:27  <moin2> sorry
 167 2010-11-30T02:40:32  <moin2> accident
 168 2010-11-30T02:40:39  <moin2> should i paste it?
 169 2010-11-30T02:41:05  <moin2> or post on melange
 170 2010-11-30T02:41:09  <ThomasWaldmann> use teh pastebin
 171 2010-11-30T02:41:15  <ThomasWaldmann> luke
 172 2010-11-30T02:41:40  <moin2> http://paste.pocoo.org/show/297859/
 173 2010-11-30T02:41:45  <moin2> too many loops
 174 2010-11-30T02:43:05  <ThomasWaldmann> 15 and 16 is bad
 175 2010-11-30T02:43:27  <ThomasWaldmann> you don't manually iterate over a list just to check whether something is in there
 176 2010-11-30T02:43:42  <ThomasWaldmann> e in l does that for you
 177 2010-11-30T02:44:26  <ThomasWaldmann> but i think the rest is logically correct
 178 2010-11-30T02:44:39  <ThomasWaldmann> now you just have to optimize that
 179 2010-11-30T02:44:50  <moin2> ok
 180 2010-11-30T02:57:21  <moin2> trimmed a bit: http://paste.pocoo.org/show/297862/
 181 2010-11-30T02:58:59  *** moin2 has quit IRC
 182 2010-11-30T02:59:40  *** moin2 has joined #moin-dev
 183 2010-11-30T02:59:53  <moin2> logged out by mistake again
 184 2010-11-30T02:59:55  *** moin2 has quit IRC
 185 2010-11-30T03:00:21  <ThomasWaldmann> dont call a dict ..._list
 186 2010-11-30T03:00:32  <ThomasWaldmann> hmm
 187 2010-11-30T03:01:34  *** moin2 has joined #moin-dev
 188 2010-11-30T03:01:39  <moin2> i'm having issues
 189 2010-11-30T03:01:44  <moin2> with the chat
 190 2010-11-30T03:01:53  <moin2> so how does it look?
 191 2010-11-30T03:01:54  <ThomasWaldmann> use a real irc client
 192 2010-11-30T03:02:00  <ThomasWaldmann> dont call a dict ..._list
 193 2010-11-30T03:02:12  <ThomasWaldmann> needs much more optimization
 194 2010-11-30T03:02:15  *** moin2 has quit IRC
 195 2010-11-30T03:03:51  *** moin2 has joined #moin-dev
 196 2010-11-30T03:03:59  <moin2> back again
 197 2010-11-30T03:04:32  <moin2> how does the trim look?
 198 2010-11-30T03:04:45  <ThomasWaldmann> (03:02) < ThomasWal> needs much more optimization
 199 2010-11-30T03:04:58  <moin2> ok
 200 2010-11-30T03:05:09  <ThomasWaldmann> try to do it with ONE outer loop
 201 2010-11-30T03:05:14  <ThomasWaldmann> and ONE inner
 202 2010-11-30T03:06:23  <ThomasWaldmann> that'll need a bit different code than what you started with, but it'll be better in the end
 203 2010-11-30T03:43:18  <moin2> i'll think about it, see you tomorrow
 204 2010-11-30T03:43:25  *** moin2 has quit IRC
 205 2010-11-30T04:14:26  *** GCIBot has quit IRC
 206 2010-11-30T04:14:31  *** GCIBot has joined #moin-dev
 207 2010-11-30T05:17:49  *** kursor has joined #moin-dev
 208 2010-11-30T06:31:31  *** kursor has quit IRC
 209 2010-11-30T07:42:17  <dreimark> moin
 210 2010-11-30T08:02:15  <dreimark> i think we can add later an other one of find a background image and close the current one
 211 2010-11-30T09:45:30  <dreimark> re
 212 2010-11-30T10:21:35  *** rfw has quit IRC
 213 2010-11-30T10:26:17  <GCIBot> ClaimRequested: http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965833 (make an alternate stylesheet that shows our theme in different colorsets / fonts / etc. 3/3)
 214 2010-11-30T10:30:43  <dreimark> comment added
 215 2010-11-30T10:30:47  <dreimark> bbl
 216 2010-11-30T10:57:30  <GCIBot> ClaimRequested: http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965833 (make an alternate stylesheet that shows our theme in different colorsets / fonts / etc. 3/3)
 217 2010-11-30T11:27:41  <GCIBot> ClaimRequested: http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037965833 (make an alternate stylesheet that shows our theme in different colorsets / fonts / etc. 3/3)
 218 2010-11-30T11:31:07  *** greg_f has joined #moin-dev
 219 2010-11-30T12:09:47  *** achshar has joined #moin-dev
 220 2010-11-30T12:11:44  <achshar> hello!
 221 2010-11-30T12:13:31  <achshar> ??
 222 2010-11-30T12:18:00  *** achshar has left #moin-dev
 223 2010-11-30T12:20:08  <ThomasWaldmann> no patience :)
 224 2010-11-30T12:48:59  <dreimark> hi ThomasWaldmann
 225 2010-11-30T13:05:05  <ThomasWaldmann> dreimark: yes, we can have another bg img task. maybe we refer to the existing one, so we don't get same idea.
 226 2010-11-30T13:05:45  <dreimark> i just verified ubuntu 10.10 mplayer version playes well the ogg
 227 2010-11-30T13:06:25  <dreimark> the question is for the http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037966479
 228 2010-11-30T13:06:42  <dreimark> if we want him to explain dry-run
 229 2010-11-30T13:08:00  <ThomasWaldmann> i rarely use that
 230 2010-11-30T13:08:15  <ThomasWaldmann> (but the ogv look bad for me, too)
 231 2010-11-30T13:09:47  <dreimark> it looks good in ub 10.04 vlc and in 10.10 mplayer
 232 2010-11-30T13:10:10  <dreimark> may be he should share the avi too
 233 2010-11-30T14:37:36  *** m4k3r has joined #moin-dev
 234 2010-11-30T15:29:39  <GCIBot> ClaimRequested: http://www.google-melange.com/gci/task/show/google/gci2010/moinmoin/t129037970449 (extend TableOfContents macro)
 235 2010-11-30T15:33:13  <m4k3r> whoa, cool bot.
 236 2010-11-30T15:38:57  <dreimark> yay
 237 2010-11-30T16:01:45  *** achshar has joined #moin-dev
 238 2010-11-30T16:01:57  <achshar> hello
 239 2010-11-30T16:02:17  <achshar> :-D
 240 2010-11-30T16:02:33  <pvinogradov> Hello, all
 241 2010-11-30T16:02:45  <achshar> i am participating in google code in
 242 2010-11-30T16:02:50  <pvinogradov> Hello, ThomasWaldmann
 243 2010-11-30T16:03:03  <achshar> and i had a question relating my task
 244 2010-11-30T16:03:09  <pvinogradov> i'm finally come to work on password storage for moin
 245 2010-11-30T16:03:10  <xorAxAx> achshar: shoot :)
 246 2010-11-30T16:03:31  <achshar> my task is to create a sub theme
 247 2010-11-30T16:03:51  <achshar> and
 248 2010-11-30T16:04:06  <achshar> i need to put a background color
 249 2010-11-30T16:04:24  <achshar> but i cant because the child elements have a float
 250 2010-11-30T16:04:25  <pvinogradov> ThomasWaldmann: a'm already read 1.9 test_user and found some basic unit test for password storage
 251 2010-11-30T16:04:30  <achshar> and the designer didnt clear them
 252 2010-11-30T16:04:57  <pvinogradov> which additional unit-test for password storage you want have implemented in 1.9 tree?
 253 2010-11-30T16:05:10  <achshar> so i need to add <div style="clear:both"></div> to the code
 254 2010-11-30T16:05:38  <pvinogradov> and hi dreimark, i'm already remember you:)
 255 2010-11-30T16:05:58  <xorAxAx> achshar: now you want to know where?
 256 2010-11-30T16:06:23  <achshar> well i know where to add it. but i cant because its in the site's code
 257 2010-11-30T16:07:01  <xorAxAx> yes, the task doesnt allow it but i think its ok if you added just this tiny bit as long as it doesnt break anything for other "subthemes"
 258 2010-11-30T16:08:23  <achshar> i believe it wont if anything it will make irt mre w3c compatible :P
 259 2010-11-30T16:08:48  <xorAxAx> yeah
 260 2010-11-30T16:09:06  <achshar> so how do i put it over there?
 261 2010-11-30T16:11:37  <achshar> =-O
 262 2010-11-30T16:12:32  <xorAxAx> what do you mean by how?
 263 2010-11-30T16:12:33  *** achshar has quit IRC
 264 2010-11-30T16:14:27  *** achshar has joined #moin-dev
 265 2010-11-30T16:14:28  <xorAxAx> achshar: what do you mean by how? (This message has been postponed.)
 266 2010-11-30T16:15:07  *** pvinogradov has left #moin-dev
 267 2010-11-30T16:15:51  <achshar> like i want it to be there for my thee to work.  I can save it localy and work over it but then you woukd have to add it for my css file to work
 268 2010-11-30T16:17:25  <achshar> just wanted to in form you that some code needs t be added before i submit my work
 269 2010-11-30T16:18:05  <xorAxAx> just submit as part of your patch
 270 2010-11-30T16:19:19  <dreimark> xorAxAx: how do you do this postponed messages ?
 271 2010-11-30T16:19:36  <xorAxAx> with postpone.py in weechat or postpone.pl in irssi
 272 2010-11-30T16:20:29  <achshar> ohkzz thats cool.. :) thanks :D
 273 2010-11-30T16:21:15  * dreimark needs that for communication with pvinogradov :)
 274 2010-11-30T16:22:34  <xorAxAx> for certain students you might need DAU.pl
 275 2010-11-30T16:22:47  *** achshar has left #moin-dev
 276 2010-11-30T16:26:32  *** pvinogradov has joined #moin-dev
 277 2010-11-30T16:47:19  <m4k3r> xorAxAx:  during development, you tried to preserve the same directory structure of moin 1.9?
 278 2010-11-30T16:47:36  <xorAxAx> dev of 2.0?
 279 2010-11-30T16:47:39  <m4k3r> (the question really is, should I too?)
 280 2010-11-30T16:47:42  <m4k3r> xorAxAx:  yep.
 281 2010-11-30T16:47:46  <xorAxAx> well, things changed
 282 2010-11-30T16:47:48  <xorAxAx> make an example
 283 2010-11-30T16:48:13  <m4k3r> i?
 284 2010-11-30T16:48:25  <m4k3r> I'should re-implement openID.
 285 2010-11-30T16:49:40  <xorAxAx> yes, now which kind of file do you want to place?
 286 2010-11-30T16:50:30  <m4k3r> .py, in 1.9 there are lots of files matching 'openid' word inside.
 287 2010-11-30T16:51:04  <xorAxAx> yes, its kind of evasive :)
 288 2010-11-30T17:43:05  <m4k3r> xorAxAx:  is there an online doxygen documentation for both 1.9 and 2.0dev?
 289 2010-11-30T17:43:17  <xorAxAx> no idea
 290 2010-11-30T17:45:13  <m4k3r> dreimark, ThomasWaldmann ^
 291 2010-11-30T18:03:06  <dreimark> m4k3r: we have sphinx for moin-2.0
 292 2010-11-30T18:03:17  <m4k3r> link!
 293 2010-11-30T18:03:41  <dreimark> you have it locally in the tree, this one is recent.
 294 2010-11-30T18:04:07  <dreimark> http://hg.moinmo.in/moin/2.0-dev/file/a75f2d683d88/docs
 295 2010-11-30T18:04:09  <dreimark> make html
 296 2010-11-30T18:04:26  <dreimark> i am looking for the online url, mom
 297 2010-11-30T18:06:33  <dreimark> http://static.moinmo.in/m2/html/
 298 2010-11-30T18:06:47  <dreimark> m4k3r: ^
 299 2010-11-30T18:07:19  <m4k3r> \m/ thanks.
 300 2010-11-30T18:08:39  * dreimark is doing ldap stuff 
 301 2010-11-30T18:10:06  <ThomasWaldmann> pvinogradov: you just have to check that test coverage is there for all the pw hash and upgrading stuff. if something is missing, write it. :)
 302 2010-11-30T18:16:53  <pvinogradov> ThomasWaldmann: Thanks. Now i see some test to implement
 303 2010-11-30T18:18:45  <ThomasWaldmann> (this will also make the porting to moin2 easier, as you'll have a test then to check it)
 304 2010-11-30T18:42:06  *** kursor has joined #moin-dev
 305 2010-11-30T19:04:17  <m4k3r> ThomasWaldmann:  any help on this error? http://bpaste.net/show/11740/
 306 2010-11-30T19:11:56  <m4k3r> dreimark:  ^
 307 2010-11-30T19:11:58  <m4k3r> :S
 308 2010-11-30T19:18:10  <ThomasWaldmann> flaskg is only available when a request is running
 309 2010-11-30T19:18:40  <ThomasWaldmann> see flask docs about "g"
 310 2010-11-30T19:22:57  *** Guest59204 has joined #moin-dev
 311 2010-11-30T19:25:59  *** Guest59204 is now known as rfw
 312 2010-11-30T19:26:07  *** rfw has joined #moin-dev
 313 2010-11-30T19:27:41  <m4k3r> ThomasWaldmann:  uhm, could you tell me where is defined a flaskg.user?
 314 2010-11-30T19:27:52  <m4k3r> It's just a MoinMoin.user.User?
 315 2010-11-30T19:40:03  *** greg_f has quit IRC
 316 2010-11-30T19:45:26  <pvinogradov> How can i mark test is optional?
 317 2010-11-30T19:45:57  <pvinogradov> this is test which try to auth with DES password and crypt not available on some platforms
 318 2010-11-30T19:46:27  <ThomasWaldmann> try to catch exception and skip it then
 319 2010-11-30T19:47:24  <pvinogradov> User class don't throw exception it handles this and User with fail auth
 320 2010-11-30T19:47:46  <pvinogradov> User class don't throw exception it handles this and return User without auth
 321 2010-11-30T19:48:21  <m4k3r> ThomasWaldmann:  ^
 322 2010-11-30T19:49:25  <dreimark> pvinogradov: you can skip the test because of a missing dependency
 323 2010-11-30T19:49:32  <dreimark> bbl
 324 2010-11-30T19:50:15  <pvinogradov> dreimark: i can simply comment this test and py.test have special annotation?
 325 2010-11-30T20:02:44  <pvinogradov> ThomasWaldmann: i create new password hash test for 1.9 tree. i submite pull request at bitbucket
 326 2010-11-30T20:03:16  <pvinogradov> i'm never work with mercurial before and hope that i made all things right
 327 2010-11-30T20:03:59  <pvinogradov> others can review my chages at https://bitbucket.org/pavel_vinogradov/gci10-moin-1.9-pass
 328 2010-11-30T20:08:54  <ThomasWaldmann> pvinogradov: you can check what it would transmit with hg out
 329 2010-11-30T20:18:54  <ThomasWaldmann> pvinogradov: how did you create the test hashes?
 330 2010-11-30T20:23:30  <ThomasWaldmann> pvinogradov: https://bitbucket.org/pavel_vinogradov/gci10-moin-1.9-pass/changeset/51240cc99af5#chg-MoinMoin/_tests/test_user.py_newline140
 331 2010-11-30T20:23:48  <ThomasWaldmann> that is pointless, consider skip or xfail
 332 2010-11-30T20:47:39  *** maker__ has joined #moin-dev
 333 2010-11-30T20:49:25  *** m4k3r has quit IRC
 334 2010-11-30T20:59:42  *** kursor has quit IRC
 335 2010-11-30T21:17:45  <dreimark> ha, it is good that we have this class="linexxx" stuff - now it can be used to identify moin sites :)
 336 2010-11-30T21:25:53  <ThomasWaldmann> hehe
 337 2010-11-30T21:34:48  * ThomasWaldmann tries to catch up with the gci tasks
 338 2010-11-30T21:34:59  <ThomasWaldmann> if someone has questions now, just ask
 339 2010-11-30T21:53:09  <ThomasWaldmann> GCIBot: ?
 340 2010-11-30T22:19:07  <CIA-62> pavel_vinogradov default * 5738:02798509e918 1.9/MoinMoin/_tests/test_user.py: Add new tests for password upgrading on login (ARP1, MD5, DES)
 341 2010-11-30T22:19:09  <CIA-62> pavel_vinogradov default * 5739:1b4b3f510f9b 1.9/MoinMoin/_tests/test_user.py: Rename hash name from ARP1 to APR1
 342 2010-11-30T22:19:11  <CIA-62> pavel_vinogradov default * 5740:51240cc99af5 1.9/MoinMoin/_tests/test_user.py: Add new tests for user auth with migrated passwords (ARP1, MD5, DES)
 343 2010-11-30T22:19:12  <CIA-62> pavel_vinogradov default * 5741:62875f1ab006 1.9/MoinMoin/_tests/test_user.py: Remove unused comment
 344 2010-11-30T22:19:19  <ThomasWaldmann> pvinogradov: ^^
 345 2010-11-30T22:35:14  <dreimark> http://code.google.com/p/svg-edit/issues/detail?id=123 progress on mapping to an url
 346 2010-11-30T22:51:08  <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10120:f0cf5fc9ecd1 2.0-dev/MoinMoin/util/chartypes.py: u200b is not considered a space any more in unicode 4.0.1 (thanks to piotrb for fixing, GCI 2010)
 347 2010-11-30T22:51:11  <CIA-62> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10121:a891ea086121 2.0-dev/MoinMoin/util/_tests/test_lock.py: make lock timeout test less timing critical (thanks to piotrb for fixing, GCI 2010)
 348 2010-11-30T23:15:52  <maker__> ThomasWaldmann: I didn't see any answer;  a flaskg.user, is it just a MoinMoin.user.User?
 349 2010-11-30T23:17:20  *** Abhishek_Singh has joined #moin-dev
 350 2010-11-30T23:17:32  <ThomasWaldmann> maker__: iirc yes
 351 2010-11-30T23:17:52  <ThomasWaldmann> most stuff that is in flaskg now, used the be request.x in 1.9
 352 2010-11-30T23:18:43  <maker__> ThomasWaldmann:  Ok, thanks.
 353 2010-11-30T23:28:41  *** Abhishek_Singh has quit IRC
 354 2010-11-30T23:31:14  <dreimark> gn
 355 2010-11-30T23:44:29  <ThomasWaldmann> gn dreimark
 356 2010-11-30T23:45:35  *** moin2 has joined #moin-dev
 357 2010-11-30T23:53:59  <moin2> is mr.waldmann there?
 358 2010-11-30T23:57:26  <xorAxAx> no
 359 2010-11-30T23:57:32  <xorAxAx> only his sockpuppet
 360 2010-11-30T23:57:44  <xorAxAx> called thomas
 361 2010-11-30T23:57:48  <xorAxAx> ThomasWaldmann: say hi to moin2 :)
 362 2010-11-30T23:58:00  <ThomasWaldmann> hi to moin2
 363 2010-11-30T23:58:57  <moin2> hello
 364 2010-11-30T23:59:22  <moin2> i think i have the code trimmed well enough, when i have it ready i'll post to lodgeit

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-11-30 (last edited 2010-11-29 23:45:02 by IrcLogImporter)