1 2011-03-25T00:06:56 *** ronny
2 2011-03-25T00:09:00 <sinha> ThomasWaldmann: Please resolve this http://paste.pocoo.org/show/359198/
3 2011-03-25T00:24:46 *** sinha
4 2011-03-25T00:31:20 *** sinha
5 2011-03-25T00:35:39 *** cdom
6 2011-03-25T00:35:49 *** cdom
7 2011-03-25T00:36:33 *** cdom
8 2011-03-25T00:42:14 <ThomasWaldmann> sinha: you should read the jinja2 templating language docs
9 2011-03-25T00:42:22 <ronny> ThomasWaldmann: see # pocoo :P
10 2011-03-25T01:00:44 <sinha> ThomasWaldmann: is there any attribute associate with item ..which tells us that how many subitem it has ?
11 2011-03-25T01:22:42 *** grzywacz
12 2011-03-25T01:25:10 *** sinha
13 2011-03-25T01:33:57 *** sinha
14 2011-03-25T01:34:07 *** sinha
15 2011-03-25T02:02:11 *** CoryDominguez
16 2011-03-25T02:06:57 *** CoryDominguez
17 2011-03-25T03:56:52 *** TheSheep
18 2011-03-25T03:56:54 *** franklin
19 2011-03-25T03:56:55 *** ronny
20 2011-03-25T03:57:00 *** ThomasWaldmann
21 2011-03-25T03:57:01 *** CIA-58
22 2011-03-25T03:57:02 *** CoryDominguez
23 2011-03-25T03:57:10 *** vpv
24 2011-03-25T03:57:12 *** dariusH
25 2011-03-25T03:57:17 *** aa_
26 2011-03-25T03:57:17 *** xjjk
27 2011-03-25T03:57:19 *** ChanServ
28 2011-03-25T03:57:21 *** andialbrecht_
29 2011-03-25T03:57:21 *** waldi
30 2011-03-25T03:57:22 *** dreimark
31 2011-03-25T03:57:22 *** z^ck
32 2011-03-25T03:57:23 *** kasun
33 2011-03-25T03:57:25 *** xorAxAx
34 2011-03-25T03:57:25 *** eSyr
35 2011-03-25T03:57:28 *** diofeher
36 2011-03-25T04:01:46 *** TheSheep
37 2011-03-25T04:01:46 *** CoryDominguez
38 2011-03-25T04:01:46 *** ronny
39 2011-03-25T04:01:46 *** kasun
40 2011-03-25T04:01:46 *** dariusH
41 2011-03-25T04:01:46 *** aa_
42 2011-03-25T04:01:46 *** ThomasWaldmann
43 2011-03-25T04:01:46 *** xjjk
44 2011-03-25T04:01:46 *** z^ck
45 2011-03-25T04:01:46 *** franklin
46 2011-03-25T04:01:46 *** CIA-58
47 2011-03-25T04:01:46 *** diofeher
48 2011-03-25T04:01:46 *** xorAxAx
49 2011-03-25T04:01:46 *** andialbrecht_
50 2011-03-25T04:01:46 *** waldi
51 2011-03-25T04:01:46 *** vpv
52 2011-03-25T04:01:46 *** eSyr
53 2011-03-25T04:01:46 *** dreimark
54 2011-03-25T04:01:46 *** ChanServ
55 2011-03-25T04:01:46 *** leguin.freenode.net
56 2011-03-25T04:03:30 *** Marchael
57 2011-03-25T04:07:01 *** ronny
58 2011-03-25T04:09:26 *** ronny
59 2011-03-25T04:27:34 <CoryDominguez> Hello I am experimenting with moin2. I already have a successful build of 1.9.3. I cloned the repository and ran quickinstall successfully. Now when I run moin from the cli I get a FATAL ERROR: must specify command module and name. Runnong moin --version results in moinmoin 1.9.3? I am in the moin-2.0 directory, Any ideas?
60 2011-03-25T04:28:28 *** Marchael
61 2011-03-25T04:36:16 <CoryDominguez> aye, I didn't realize how late it is.
62 2011-03-25T04:36:23 *** CoryDominguez
63 2011-03-25T04:42:46 *** cdom
64 2011-03-25T05:20:11 *** Marchael
65 2011-03-25T06:56:27 *** andialbrecht_
66 2011-03-25T07:18:37 <Marchael> moin
67 2011-03-25T07:24:45 <Marchael> ThomasWaldmann: moin2 already have indexing support in MoinMoin/storage/backends/router.py and I`m not quitely understand for what exactly this using.
68 2011-03-25T07:25:28 <Marchael> I think what I can use router.py to add whoosh indexing
69 2011-03-25T07:30:10 <Marchael> then it will be easy to add search template and implement search query
70 2011-03-25T07:39:29 *** ei-grad
71 2011-03-25T07:39:33 <ei-grad> moin
72 2011-03-25T08:06:28 *** cdom
73 2011-03-25T08:13:54 *** sl33k_
74 2011-03-25T08:15:49 <sl33k_> how would i get the compare the userid of the revision and that of the logged in user?
75 2011-03-25T08:25:40 *** ronny
76 2011-03-25T08:53:36 <dreimark> sl33k_: look at User, likly the logged in users id is at something like flaskg.user.id
77 2011-03-25T08:53:43 <dreimark> moin
78 2011-03-25T08:54:45 <dreimark> and on the revision it is on something like config.NAME
79 2011-03-25T08:55:06 <dreimark> if you have eclipse just search for that
80 2011-03-25T09:04:09 *** ronny
81 2011-03-25T10:25:53 *** franklin
82 2011-03-25T10:35:04 <ThomasWaldmann> moin
83 2011-03-25T10:36:10 <ThomasWaldmann> Marchael: yes, there is some sqlalchemy based indexing support in router and indexing module
84 2011-03-25T10:37:15 <ThomasWaldmann> it is still rather experimental and keeps item/revision metadata in an index
85 2011-03-25T10:39:01 <ThomasWaldmann> the initially intended use case for this is mostly select-like kind of access
86 2011-03-25T10:39:15 <ThomasWaldmann> (like sql select)
87 2011-03-25T10:39:47 <ThomasWaldmann> like:
88 2011-03-25T10:40:17 <ThomasWaldmann> select all items with some specific mimetype
89 2011-03-25T10:40:49 <ThomasWaldmann> select all items, order names
90 2011-03-25T10:41:10 <ThomasWaldmann> select user item for username x (and access userid)
91 2011-03-25T10:41:40 <ThomasWaldmann> select latest 100 revision changes, reverse time order
92 2011-03-25T10:42:03 <ThomasWaldmann> select all changes done by user x
93 2011-03-25T10:44:10 <ThomasWaldmann> and finally (not there yet): name -> uuid translation support for backends
94 2011-03-25T10:49:29 <ThomasWaldmann> Marchael: as i said, there is some overlap with search indexing and we have to get clear asap whether we need both or just one, and if both, where the boundary should be
95 2011-03-25T10:55:25 <ThomasWaldmann> so, check what whoosh can do for use in that domain (see above)
96 2011-03-25T10:55:32 <ThomasWaldmann> us*
97 2011-03-25T10:56:32 *** kasun
98 2011-03-25T11:01:49 *** greg_f
99 2011-03-25T11:26:02 *** ronny
100 2011-03-25T12:06:41 *** Marchael
101 2011-03-25T12:50:47 *** ronny
102 2011-03-25T12:56:53 *** Marchael
103 2011-03-25T13:08:09 *** Marchael
104 2011-03-25T13:24:51 *** Marchael
105 2011-03-25T13:28:22 *** m4k3r
106 2011-03-25T13:32:22 *** sinha
107 2011-03-25T13:53:22 *** Marchael
108 2011-03-25T14:49:42 <xorAxAx> apple kicks out samba because its gplv3
109 2011-03-25T14:50:36 * dreimark kicks apple
110 2011-03-25T14:53:26 <dreimark> and apple need a new c compiler too
111 2011-03-25T14:54:13 <xorAxAx> they have clang
112 2011-03-25T15:11:45 *** dany2k
113 2011-03-25T15:16:24 *** Marchael
114 2011-03-25T15:37:18 *** kasun
115 2011-03-25T16:15:00 *** dany2k
116 2011-03-25T16:20:00 *** andialbrecht
117 2011-03-25T16:38:23 *** Marchael
118 2011-03-25T16:38:28 *** Marchael
119 2011-03-25T16:48:32 *** maker
120 2011-03-25T16:49:07 *** m4k3r
121 2011-03-25T17:21:33 *** Marchael
122 2011-03-25T17:22:30 *** Marchael
123 2011-03-25T18:04:27 *** Marchael
124 2011-03-25T18:54:35 *** Marchael
125 2011-03-25T18:56:37 *** maker
126 2011-03-25T18:56:43 *** m4k3r
127 2011-03-25T19:05:52 *** Marchael
128 2011-03-25T19:16:57 *** grzywacz
129 2011-03-25T19:34:34 *** greg_f
130 2011-03-25T20:19:26 *** kursor
131 2011-03-25T20:30:03 <sinha> ThomasWaldmann : dreimark: How will be this http://web.iiit.ac.in/~akash.sinhaug08/moin/Web Tutorial.html
132 2011-03-25T20:30:11 <sinha> ^ http://web.iiit.ac.in/~akash.sinhaug08/moin/Web%20Tutorial.html
133 2011-03-25T20:30:39 <sinha> I have added some temp icons will modify it soon
134 2011-03-25T20:31:00 <sinha> and if this is fine will do the same thing with Global index
135 2011-03-25T20:34:45 <ThomasWaldmann> sinha: looks nice
136 2011-03-25T20:35:34 <ThomasWaldmann> just replace the dots by [-] or | or something else that looks more consistent
137 2011-03-25T20:38:47 <sinha> ThomasWaldmann: And what about icons based on mime types..if it ok to put them in right hand side
138 2011-03-25T20:39:02 <sinha> as earlier they were before the content
139 2011-03-25T20:42:56 <ThomasWaldmann> yes, we need nice mimetype items
140 2011-03-25T21:05:26 <sinha> ThomasWaldmann : And how should i appy these changes..means where to write these css
141 2011-03-25T21:05:41 <sinha> currently i have changed it under modernized theme
142 2011-03-25T21:05:49 <sinha> is it fine by doing that ?
143 2011-03-25T21:06:27 <sinha> And kept the javascript file into MoinMoin/static ..i hope this is fine
144 2011-03-25T21:07:52 *** kursor
145 2011-03-25T21:37:58 *** m4k3r
146 2011-03-25T21:39:10 *** m4k3r
147 2011-03-25T22:13:26 <dreimark> sl33k_: looks nice
148 2011-03-25T22:13:50 <dreimark> because we have only one theme currently that is ok
149 2011-03-25T22:15:54 <dreimark> please keep the prefix moin- for moins class and id
150 2011-03-25T22:19:53 *** aa__
151 2011-03-25T22:20:26 <sinha> dreimark: i guess that was for me
152 2011-03-25T22:20:26 <sinha> :P
153 2011-03-25T22:20:26 *** aa_
154 2011-03-25T22:21:07 <dreimark> sinha: oh yes, too much names with s*
155 2011-03-25T22:21:57 <sinha> dreimark: is there any icon repo for Moin or i have to create some new one for mime types
156 2011-03-25T22:21:58 <dreimark> sinha: which license do the icons have
157 2011-03-25T22:22:08 <sinha> those are temps
158 2011-03-25T22:22:13 <dreimark> we use mostly tango items
159 2011-03-25T22:22:16 <sinha> i will definetely replace them
160 2011-03-25T22:22:16 <dreimark> icons
161 2011-03-25T22:22:34 <sinha> is there any page from where i can pick some of them
162 2011-03-25T22:22:46 <dreimark> TheSheep: can you suggest some ^^
163 2011-03-25T22:23:10 <dreimark> sinha: i know http://tango.freedesktop.org/Tango_Icon_Library
164 2011-03-25T22:24:29 <sinha> dreimark: i will search'em out
165 2011-03-25T22:24:53 <sinha> dreimark: And is this kind of jquery coding is ok !
166 2011-03-25T22:25:13 <sinha> means any specific standard to be foloowed for that
167 2011-03-25T22:26:40 <dreimark> we need to define that coding standard ;) because moin-1.x has quite nothing done by jquery
168 2011-03-25T22:26:52 <dreimark> we used some parts of it in plugins
169 2011-03-25T22:27:28 <sinha> okay..then i guess by changing icons i can push the changes
170 2011-03-25T22:29:16 <sinha> This is the new index.html template file http://paste.pocoo.org/show/359647/
171 2011-03-25T22:31:56 <sinha> dreimark: ^
172 2011-03-25T22:32:10 <dreimark> sinha: look at indenting
173 2011-03-25T22:34:07 <dreimark> e.g. l11++ looks like to much indentes
174 2011-03-25T22:34:56 <sinha> okay..will correct that..i tried to match it with the earlier html tags indentation
175 2011-03-25T22:36:28 <dreimark> ok, i think we should do it similiar to http://hg.moinmo.in/moin/2.0/file/8b811bdef521/MoinMoin/templates/itemviews.html#l55
176 2011-03-25T22:37:10 <dreimark> in the past at 1.6 we had much work to refactor all code for pep8
177 2011-03-25T22:37:35 *** maker
178 2011-03-25T22:37:36 * dreimark don't want to do that again
179 2011-03-25T22:37:57 *** m4k3r
180 2011-03-25T22:39:22 <sinha> okay i will do it similar to that
181 2011-03-25T22:40:10 <dreimark> ok, in that case the indenting should be fixed separatly
182 2011-03-25T22:40:40 <dreimark> additional cs to the one implementing your new code
183 2011-03-25T22:42:42 <sinha> dreimark: ^ i didnt get you..you mean something with jinja coding
184 2011-03-25T22:44:42 <dreimark> sinha: i realized that i don't want a mixed changeset
185 2011-03-25T22:44:48 <dreimark> keep the indenting as it was
186 2011-03-25T22:44:59 <dreimark> and fix it afterwards
187 2011-03-25T22:46:40 <dreimark> hmm, fsck, http://hg.moinmo.in/moin/2.0/file/8b811bdef521/MoinMoin/templates/index.html
188 2011-03-25T22:46:45 <dreimark> there it is right
189 2011-03-25T22:47:24 <dreimark> so forget the last part i told, and do it correct
190 2011-03-25T22:48:10 <dreimark> sinha: line 24 of your index.html
191 2011-03-25T22:48:12 <dreimark> <span class='expand expand-inactive
192 2011-03-25T22:48:25 <dreimark> <span class='expand expand-inactive '
193 2011-03-25T22:48:57 <dreimark> there is a blank at the end of the class, typo?
194 2011-03-25T22:49:01 <sinha> yes
195 2011-03-25T22:49:09 <sinha> i will rectify them
196 2011-03-25T22:51:13 <sinha> okay i will push them after adding the proper icons ..by tomorrow
197 2011-03-25T22:52:06 <sinha> dreimark: and i wanted to discuss regarding gsoc projects
198 2011-03-25T22:52:29 <sinha> as i stated earlier i want to work UI improvment
199 2011-03-25T22:53:11 <sinha> i means i can work with jinja and also capable of changing few python code as well and i can do well in css/javascript
200 2011-03-25T22:54:45 <dreimark> we need lots of ui improvements
201 2011-03-25T22:55:14 <sinha> as in moin page there is two projects i) Mediawiki like theme and ii) UI improvements ..i guess both are quite similar in soem sense
202 2011-03-25T22:55:46 <sinha> i am confused what to choose
203 2011-03-25T22:56:14 <sinha> means what i did now..that is tree like navigation..will fall in first one or second one
204 2011-03-25T22:56:53 <dreimark> the UI improvements at all is very important and also the base for other themes
205 2011-03-25T22:56:59 <dreimark> not only mediawiki
206 2011-03-25T22:57:09 <dreimark> we need to have the infrastructure first
207 2011-03-25T22:57:27 <sinha> yes exactly that is what i want to do
208 2011-03-25T22:57:55 <sinha> means like adding different views of content on the page
209 2011-03-25T22:58:01 <dreimark> it also could mean that the modernized theme becomes reorganized
210 2011-03-25T22:58:05 <sinha> improving the apperamce
211 2011-03-25T22:58:14 <sinha> okay
212 2011-03-25T22:58:48 <dreimark> some of the views must become much more comfortable
213 2011-03-25T22:59:14 <dreimark> e.g. the gloabl history view, aka old RecentChanges
214 2011-03-25T23:00:03 <dreimark> also all modify, upload feature could get that nice html5 drag and drop support
215 2011-03-25T23:00:12 <dreimark> there are many places
216 2011-03-25T23:01:29 <sinha> yes
217 2011-03-25T23:01:46 <sinha> i will try to explore more
218 2011-03-25T23:02:31 <sinha> So before starting the UI improvement we will plan first what changes need to be there , right
219 2011-03-25T23:03:08 <sinha> means confirming the layout ..can do the changes one by one
220 2011-03-25T23:03:15 <dreimark> yes and which are wanted (or wanted most)
221 2011-03-25T23:06:32 <sinha> okay
222 2011-03-25T23:06:34 <dreimark> if someone jumps on Jinja2/Flatland that would create dependencies likly after midterm
223 2011-03-25T23:08:06 <sinha> yes,but for doing front end changes one has to do workout with jinja2 as well rather than javascript/css
224 2011-03-25T23:08:24 <sinha> like what if i want to add ajax feature in search box
225 2011-03-25T23:08:30 <TheSheep> sinha: the tango icons don't really have a single repository, but they are all distributed under a creative commons by-sa license, afair
226 2011-03-25T23:09:12 <TheSheep> sinha: they are quite nice because they have very consistent style: colo palette, lighting and perspective
227 2011-03-25T23:09:15 <dreimark> TheSheep: http://web.iiit.ac.in/~akash.sinhaug08/moin/Web%20Tutorial.html
228 2011-03-25T23:09:18 <TheSheep> color*
229 2011-03-25T23:10:00 <sinha> TheSheep: yes i have seen so many links on it pages..and repositries also
230 2011-03-25T23:11:50 <TheSheep> sinha: be sure to check the license and author of any icon you include
231 2011-03-25T23:12:05 <sinha> okay.
232 2011-03-25T23:12:43 <sinha> and can i do some modification in them..if i feel so
233 2011-03-25T23:13:57 <TheSheep> as long as the license allows that -- most do
234 2011-03-25T23:15:47 <TheSheep> it's also possible to use a different set of icons, but then we need to replace all of them
235 2011-03-25T23:16:34 <TheSheep> like the famfamfam's icons
236 2011-03-25T23:17:23 <TheSheep> they are quite popular
237 2011-03-25T23:18:47 <sinha> yes they seem a bit nicer
238 2011-03-25T23:21:41 <TheSheep> it's just a question of making a new skin
239 2011-03-25T23:27:27 *** sinha
240 2011-03-25T23:27:32 *** sinha
241 2011-03-25T23:27:38 *** sinha
242 2011-03-25T23:32:57 *** grzywacz
243 2011-03-25T23:33:43 *** grzywacz
244 2011-03-25T23:37:48 *** grzywacz
245 2011-03-25T23:39:50 *** maker
246 2011-03-25T23:40:36 <dreimark> gn