1 2011-04-04T00:03:17 <sl33k_> uid
2 2011-04-04T00:04:39 <ThomasWaldmann> line 297/298
3 2011-04-04T00:20:32 <sl33k_> ThomasWaldmann: it says to make_id. Could it be empty string '' ?
4 2011-04-04T00:21:45 <ThomasWaldmann> no
5 2011-04-04T00:21:51 <ThomasWaldmann> see make_id() :)
6 2011-04-04T00:22:04 <ThomasWaldmann> thus, using None is fine :)
7 2011-04-04T00:30:27 <sl33k_> makes sense now
8 2011-04-04T00:31:44 <sl33k_> where do i put this item_name? also, with jinja after iterating over the dictionary how do i display the count values in the dictionary?
9 2011-04-04T00:38:30 <dreimark> you replaced item_name = item.mame
10 2011-04-04T00:38:32 <dreimark> gn
11 2011-04-04T00:48:24 *** yufra
12 2011-04-04T00:49:56 <yufra> ThomasWaldmann, any luck with the rename stuff?
13 2011-04-04T00:50:31 <ThomasWaldmann> yufra: not yet
14 2011-04-04T00:54:05 <sl33k_> ThomasWaldmann: so this is fine i suppose? if revision.get(USERID) == flaskg.user.id:
15 2011-04-04T00:54:49 <ThomasWaldmann> sl33k_: yes
16 2011-04-04T01:00:54 <sl33k_> so thats a temporary id in make_id, no matter a user is registered?
17 2011-04-04T01:03:40 <ThomasWaldmann> it is just an id
18 2011-04-04T01:04:07 <ThomasWaldmann> if a user is not logged in, he has an id, but it changes
19 2011-04-04T01:04:17 <ThomasWaldmann> if a user is logged in, it stays same
20 2011-04-04T01:05:24 <sl33k_> i get that now.
21 2011-04-04T01:33:48 *** TheSheep_
22 2011-04-04T01:36:10 *** TheSheep
23 2011-04-04T01:40:34 *** MattMaker
24 2011-04-04T01:50:29 *** aa_
25 2011-04-04T01:55:48 *** aa_
26 2011-04-04T01:57:12 *** yufra
27 2011-04-04T02:04:54 *** MattMaker
28 2011-04-04T02:38:56 *** TheSheep
29 2011-04-04T02:39:08 *** TheSheep_
30 2011-04-04T02:39:15 *** xorAxAx
31 2011-04-04T02:39:55 *** xorAxAx
32 2011-04-04T03:20:16 *** kasun
33 2011-04-04T04:27:49 *** MattMaker
34 2011-04-04T04:54:07 *** kasun
35 2011-04-04T04:55:48 *** jek
36 2011-04-04T04:55:48 *** eSyr
37 2011-04-04T04:58:48 *** eSyr
38 2011-04-04T05:00:52 *** jek
39 2011-04-04T05:01:27 *** TheSheep
40 2011-04-04T05:01:27 *** CIA-58
41 2011-04-04T05:02:12 *** TheSheep
42 2011-04-04T05:02:12 *** CIA-58
43 2011-04-04T05:07:57 *** ronny
44 2011-04-04T05:15:42 *** ronny
45 2011-04-04T05:15:49 *** kasun
46 2011-04-04T05:26:50 *** not-xjjk
47 2011-04-04T05:28:46 *** kasun
48 2011-04-04T05:33:12 *** xjjk
49 2011-04-04T05:42:02 *** jek
50 2011-04-04T05:42:02 *** jek
51 2011-04-04T06:05:09 *** Marchael
52 2011-04-04T06:06:20 <Marchael> moin
53 2011-04-04T06:06:37 *** TheSheep_
54 2011-04-04T06:09:29 *** TheSheep
55 2011-04-04T06:09:30 *** CIA-58
56 2011-04-04T06:12:05 *** CIA-25
57 2011-04-04T06:13:30 *** Marchael1
58 2011-04-04T06:15:59 *** Marchael
59 2011-04-04T06:26:48 *** kasun
60 2011-04-04T06:31:18 *** kursor
61 2011-04-04T08:13:11 <sl33k_> ThomasWaldmann: dreimark: contributed.html is in the diff after hg add, in the template how the revision count could be displayed?
62 2011-04-04T08:14:01 <sl33k_> http://paste.pocoo.org/show/365192/
63 2011-04-04T08:30:21 *** sinha
64 2011-04-04T08:45:59 <ThomasWaldmann> moin
65 2011-04-04T08:47:11 <ThomasWaldmann> sl33k_: line 70 - sense? do you maybe want item_names[item_name] there?
66 2011-04-04T08:47:53 <ThomasWaldmann> btw, using a better name for the dict would make it less confusing
67 2011-04-04T08:48:54 <ThomasWaldmann> you added 46 again, why don't you just use item.name in 53 directly?
68 2011-04-04T08:52:52 <ThomasWaldmann> e.g. item_names -> contributions
69 2011-04-04T08:53:05 <ThomasWaldmann> or contribution_counts
70 2011-04-04T08:56:39 <sinha> ThomasWaldmann: hi
71 2011-04-04T08:59:30 <ThomasWaldmann> hi sinha
72 2011-04-04T09:01:55 <sinha> ThomasWaldmann: i have gone through your comment on the proposal,thanks for it. I am bit confused ,as I have picked the ideas there on my proposal by seeing them on moin moin idea pages and by discussing it with dreimark ,Can we please suggest that in that section which idea will be good to do ?
73 2011-04-04T09:02:27 *** kursor
74 2011-04-04T09:02:43 <sinha> means on which of them i could really work on,because after knowing them olny i could involve other things into that
75 2011-04-04T09:02:52 <ThomasWaldmann> i didn't say they are bad, but gave some criteria about how to set priorities
76 2011-04-04T09:04:50 <sinha> yes i understand that, but also i want to pick the ones which would be best for the project ,like i should pick the improvement for current feature only or include some new one
77 2011-04-04T09:05:06 <ThomasWaldmann> sinha: if you use moin2 a bit, you'll find lots of places where the functionality is principally there, but looks very bad still
78 2011-04-04T09:05:44 <ThomasWaldmann> so making that stuff look less ugly would come first before doing totally new UI enhancing things
79 2011-04-04T09:06:31 <sinha> ThomasWaldmann: okay,
80 2011-04-04T09:07:13 <ThomasWaldmann> and for any stuff you do, always think of the costs (cpu, I/O)
81 2011-04-04T09:07:26 <sinha> ThomasWaldmann: yes ofcourse
82 2011-04-04T09:08:04 <ThomasWaldmann> e.g. if you always show a tag cloud somewhere, it has to be computed always (or loaded from a cache)
83 2011-04-04T09:08:37 <sinha> ThomasWaldmann: for these kind of example i have suggested to load them after the actual page load
84 2011-04-04T09:08:51 <sinha> like currently this techinique is adapted in lots of new places
85 2011-04-04T09:09:37 <ThomasWaldmann> yes, then it wouldn't delay initial rendering at least
86 2011-04-04T09:10:07 <sinha> ThomasWaldmann: yes initial rendering is of importance
87 2011-04-04T09:10:54 <sinha> yes but we could add a bit delay in improving the look,like for inline diff what i suggested
88 2011-04-04T09:10:55 *** gwork
89 2011-04-04T09:11:05 <ThomasWaldmann> btw, if you talk of tree indexing, i know what you mean, but it sounds a bit confusing (we also have search indexing)
90 2011-04-04T09:11:33 <ThomasWaldmann> so maybe rather "item tree view" or so
91 2011-04-04T09:11:35 <sinha> tree indexing is what i was working on for last few days..i.e showing the index in a tree/hierarchical manner
92 2011-04-04T09:11:47 <sinha> yes
93 2011-04-04T09:12:25 <ThomasWaldmann> auto completion for search -> we don't have search yet, so this would depend on search project's progress
94 2011-04-04T09:12:59 <ThomasWaldmann> contribution list - done by sl33k_ currently
95 2011-04-04T09:13:01 <sinha> yes i am aware of that,but dreimark suggested that this might get implemented in the current gsco time
96 2011-04-04T09:13:17 <sinha> okay
97 2011-04-04T09:13:52 <ThomasWaldmann> karma and stuff like that -> nice idea, but new and not a basic feature, so not required for moin 2.0 release
98 2011-04-04T09:14:19 <ThomasWaldmann> (we should concentrate on stuff required or useful for 2.0 release)
99 2011-04-04T09:14:40 <ThomasWaldmann> improving global history view: YES!
100 2011-04-04T09:14:57 <ThomasWaldmann> (see 1.9)
101 2011-04-04T09:15:01 *** sinha_
102 2011-04-04T09:15:44 <ThomasWaldmann> sinha: you still read me?
103 2011-04-04T09:16:48 <sinha_> yes now i can
104 2011-04-04T09:17:12 <ThomasWaldmann> if you got disconnected, tell last line you got
105 2011-04-04T09:17:35 <sinha_> that "sl33k_ is working on author listing..
106 2011-04-04T09:17:48 *** sinha
107 2011-04-04T09:18:16 <sinha_> something wrong with chat logs
108 2011-04-04T09:18:28 <ThomasWaldmann> (09:14) < ThomasWal> karma and stuff like that -> nice idea, but new and not a basic feature, so not required for moin 2.0 release
109 2011-04-04T09:18:31 <ThomasWaldmann> (09:14) < ThomasWal> (we should concentrate on stuff required or useful for 2.0 release)
110 2011-04-04T09:18:34 <ThomasWaldmann> (09:14) < ThomasWal> improving global history view: YES!
111 2011-04-04T09:18:36 <ThomasWaldmann> (09:15) < ThomasWal> (see 1.9)
112 2011-04-04T09:19:10 <sinha_> yes for history view i have seen the one in 1.9 its nicer than 2.0
113 2011-04-04T09:19:20 <ThomasWaldmann> improving global index: yes
114 2011-04-04T09:19:37 <sinha_> means alphabetically/index tree view or both
115 2011-04-04T09:21:23 <ThomasWaldmann> maybe both, not sure
116 2011-04-04T09:22:15 <ThomasWaldmann> sliding notification: unclear what it means (i don't use twitter or web2py)
117 2011-04-04T09:22:58 <sinha_> animating the notification in a slide down manner at the top of the page
118 2011-04-04T09:23:14 <sinha_> used by phpmyadmin also
119 2011-04-04T09:23:28 <sinha_> just for the catchy effect
120 2011-04-04T09:23:51 <sinha_> and we dont need to reload page just to hide the notification "by clicking "Clear message"
121 2011-04-04T09:24:09 <ThomasWaldmann> well, has to be seen. if it is not annoying, maybe yes. not reloading is good.
122 2011-04-04T09:24:24 <ThomasWaldmann> inline diff: yes, but not only
123 2011-04-04T09:24:29 <sinha_> and in some cases also like leaving the textcha box empty..used like a warning
124 2011-04-04T09:24:57 <ThomasWaldmann> i had experimented with that a LONG time ago and found that if we do that, we'ld need both diff views
125 2011-04-04T09:25:31 <sinha_> yes i have also seen the same in other wikis also
126 2011-04-04T09:25:36 <ThomasWaldmann> e.g. if someone just fixes a comma or a blank, the inline full page diff view is a pain.
127 2011-04-04T09:25:48 <ThomasWaldmann> you can't easily find the difference then.
128 2011-04-04T09:25:48 <sinha_> yes,both smal diff and full diff will be required
129 2011-04-04T09:26:19 <ThomasWaldmann> so both views and UI element to toggle
130 2011-04-04T09:26:45 <ThomasWaldmann> showing tags: we do that already
131 2011-04-04T09:27:13 <ThomasWaldmann> showing meta on demand there: yes, good idea
132 2011-04-04T09:27:43 <sinha_> tags thing,i am not seeing on my page of mon2.0
133 2011-04-04T09:27:50 <sinha_> or at test.moinmo.in pages
134 2011-04-04T09:28:14 <ThomasWaldmann> random page stuff: optional
135 2011-04-04T09:28:40 <ThomasWaldmann> if you do tests, always use a repo checkout, test.moinmo.in is not updated too often
136 2011-04-04T09:29:10 <sinha_> okay
137 2011-04-04T09:29:25 <ThomasWaldmann> then, just use the wiki for an hour or so
138 2011-04-04T09:29:47 <ThomasWaldmann> and every time you think "this sucks" or "this is ugly", you have a todo item :)
139 2011-04-04T09:30:01 <sinha_> okay will do :)
140 2011-04-04T09:30:26 <sinha_> and that related pages box thing
141 2011-04-04T09:30:31 <sinha_> at bottom of pages
142 2011-04-04T09:30:39 <sinha_> is it doable ?
143 2011-04-04T09:30:50 <sinha_> means without affecting the page load etc
144 2011-04-04T09:31:37 <ThomasWaldmann> related pages might be a bit expensive, so if you do that, computation on demand
145 2011-04-04T09:31:56 <ThomasWaldmann> but what would be very useful and is very related, is sub items display
146 2011-04-04T09:32:27 <sinha_> yes that wouldn't be of much pain
147 2011-04-04T09:33:00 <ThomasWaldmann> maybe combined with sub items managment
148 2011-04-04T09:33:18 <ThomasWaldmann> and using some nice new browser features
149 2011-04-04T09:34:56 <ThomasWaldmann> e.g. try to create a page that has 5 pictures and a 3 pdfs as sub items and use them in item content somehow
150 2011-04-04T09:35:21 <ThomasWaldmann> you'll notice that this should be improved :)
151 2011-04-04T09:35:41 <sinha_> okay will try that and see
152 2011-04-04T09:36:57 <sinha_> And what about the priority of mediawiki like theme implementation ?
153 2011-04-04T09:37:12 <sinha_> is that comes after doing the feature improvement individually
154 2011-04-04T09:37:17 *** TheSheep_
155 2011-04-04T09:37:29 *** TheSheep
156 2011-04-04T09:38:08 <ThomasWaldmann> maybe same prio
157 2011-04-04T09:38:54 <ThomasWaldmann> the general rule is that we want something that has a basic featureset with good usability for 2.0 release
158 2011-04-04T09:40:17 <sinha_> okay,will keep this in mind.
159 2011-04-04T09:40:28 <ThomasWaldmann> so no exotic rarely used extra functions needed
160 2011-04-04T09:40:45 <ThomasWaldmann> but something you do all the time should be easy and comfortable
161 2011-04-04T09:41:04 *** cosmos_thought
162 2011-04-04T09:41:13 <ThomasWaldmann> see also the editor view for example :)
163 2011-04-04T09:41:16 <cosmos_thought> moin
164 2011-04-04T09:41:34 <ThomasWaldmann> hi cosmos_thought
165 2011-04-04T09:41:44 <cosmos_thought> hi ThomasWaldmann
166 2011-04-04T09:41:52 <cosmos_thought> :)
167 2011-04-04T09:42:02 * ThomasWaldmann just got ticket confirmation for Europython
168 2011-04-04T09:43:49 <cosmos_thought> :D sweetness... im still waiting for my paycheck to arrive so that i can make the transfer
169 2011-04-04T09:52:18 *** MattMaker
170 2011-04-04T09:53:05 *** sinha_
171 2011-04-04T10:18:39 *** moinBot
172 2011-04-04T10:21:41 *** vpv_
173 2011-04-04T10:23:28 *** moinBot`
174 2011-04-04T10:23:29 *** vpv
175 2011-04-04T10:53:36 *** kasunbg
176 2011-04-04T10:54:13 *** aa_
177 2011-04-04T10:54:13 *** aa_
178 2011-04-04T10:54:48 *** kasun
179 2011-04-04T11:01:44 *** greg_f
180 2011-04-04T11:05:28 *** vpv_
181 2011-04-04T11:06:55 <sl33k_> ThomasWaldmann: shows 0 for the pages i have not contributed to? http://paste.pocoo.org/show/365239/
182 2011-04-04T11:07:10 <sl33k_> said changes made
183 2011-04-04T11:14:24 <sl33k_> py.test is working fine
184 2011-04-04T11:38:51 *** cosmos_thought
185 2011-04-04T11:42:51 *** moinBot
186 2011-04-04T11:45:38 *** diofeher
187 2011-04-04T11:45:38 *** ThomasWaldmann
188 2011-04-04T11:57:03 *** kasunbg
189 2011-04-04T12:09:03 *** Marchael1
190 2011-04-04T12:20:58 *** jek
191 2011-04-04T12:20:59 *** jek
192 2011-04-04T12:23:42 *** ronny
193 2011-04-04T12:29:45 *** ronny
194 2011-04-04T12:50:49 *** Marchael
195 2011-04-04T12:50:52 *** andialbrecht_
196 2011-04-04T12:55:26 *** Marchael
197 2011-04-04T13:02:43 *** Marchael
198 2011-04-04T13:13:13 *** MattMaker
199 2011-04-04T13:13:34 *** ronny
200 2011-04-04T13:26:40 *** ronny
201 2011-04-04T13:26:47 *** MattMaker
202 2011-04-04T13:31:21 <dreimark> moin
203 2011-04-04T13:31:51 *** Marchael
204 2011-04-04T13:32:12 <dreimark> sl33k_: you mean you output something for pages you don't have contributed?
205 2011-04-04T13:32:15 <dreimark> why ?
206 2011-04-04T13:38:07 *** ronny
207 2011-04-04T13:38:29 <sl33k_> dreimark: dont know where this is going wrong http://www.webpagescreenshot.info/img/251191-44201123609PM
208 2011-04-04T13:39:32 *** ronny
209 2011-04-04T14:36:45 <sl33k_> dreimark: works now http://paste.pocoo.org/show/365315/ I suppose if i collect it outside the `if` then item revisio which does not match userid also gets collected.
210 2011-04-04T14:38:05 *** cosmos_thought
211 2011-04-04T14:45:08 *** sinha
212 2011-04-04T14:50:23 *** kursor
213 2011-04-04T14:51:17 *** sinha
214 2011-04-04T14:51:23 *** sinha
215 2011-04-04T14:58:15 <dreimark> sl33k_: if there are 10000 items, why do you want to show all the user has not contributed?
216 2011-04-04T15:00:24 <sl33k_> i get the reasoning behind that. its working fine now http://paste.pocoo.org/show/365315/
217 2011-04-04T15:09:03 <dreimark> sl33k_: i look soon
218 2011-04-04T15:18:19 *** ronny
219 2011-04-04T15:18:20 *** jek
220 2011-04-04T15:25:01 *** ronny
221 2011-04-04T15:47:29 *** kasunbg
222 2011-04-04T15:51:21 *** kursor
223 2011-04-04T16:05:49 *** ronny
224 2011-04-04T16:05:50 *** vpv
225 2011-04-04T16:05:50 *** gwork
226 2011-04-04T16:07:47 *** jek
227 2011-04-04T16:08:10 *** ronny
228 2011-04-04T16:08:10 *** vpv
229 2011-04-04T16:08:10 *** gwork
230 2011-04-04T16:16:08 *** cosmos_thought
231 2011-04-04T16:20:29 *** ronny
232 2011-04-04T16:20:31 *** vpv
233 2011-04-04T16:20:31 *** gwork
234 2011-04-04T16:20:57 *** ronny
235 2011-04-04T16:20:57 *** vpv
236 2011-04-04T16:20:57 *** gwork
237 2011-04-04T16:22:22 *** cosmos_thought
238 2011-04-04T16:37:04 *** sinha
239 2011-04-04T16:41:00 *** andialbrecht
240 2011-04-04T16:46:46 *** sl33k
241 2011-04-04T16:47:46 *** Marchael
242 2011-04-04T16:48:24 *** sl33k
243 2011-04-04T16:50:05 *** sl33k_
244 2011-04-04T16:50:53 *** sl33k_
245 2011-04-04T16:51:03 *** sl33k_
246 2011-04-04T17:09:55 *** cosmos_thought
247 2011-04-04T17:12:25 *** kasun
248 2011-04-04T17:21:16 <Marchael> moin
249 2011-04-04T17:23:07 <Marchael> does uuid changin from one revision to another?
250 2011-04-04T17:23:09 *** gwork
251 2011-04-04T17:23:12 <Marchael> *changing
252 2011-04-04T17:24:12 <ThomasWaldmann> of course it should stay the same, otherwise it would be pointless
253 2011-04-04T17:26:40 <Marchael> For example I created index for wiki`s page and want to add new revision after that
254 2011-04-04T17:26:43 <Marchael> ThomasWaldmann: I don`t quite understand what happening when ItemIndex.index_rebuild calls. How it rebuild indexes?
255 2011-04-04T17:28:50 <Marchael> It is drops all metadata for selected item, creates it again and cyclically add old revision to index?
256 2011-04-04T17:29:06 <Marchael> *revisions
257 2011-04-04T17:33:38 <ThomasWaldmann> usually, if you add a new revision, you copy uuid from previous revision (in fact the uuid is the one of the item as a whole, but iirc, currently it is stored into every revision)
258 2011-04-04T17:34:05 <ThomasWaldmann> and if you store that new revision, the index will be updated with the metadata of that new revision automatically
259 2011-04-04T17:35:13 <ThomasWaldmann> index_rebuild should be only used if you lost or damaged your index
260 2011-04-04T17:41:35 *** cosmos_thought
261 2011-04-04T17:56:44 *** yufra
262 2011-04-04T18:02:43 *** vpv
263 2011-04-04T18:04:00 *** jek
264 2011-04-04T18:04:00 *** jek
265 2011-04-04T18:16:43 <yufra> I found another oddity in the Hg backend... if you delete an item and then try to create an item with the same name you run into trouble since the Hg backend's internal hash will be the same for both items
266 2011-04-04T18:18:52 <yufra> I also fixed an issue where the +index was showing duplicates of all subpages
267 2011-04-04T18:23:03 <ThomasWaldmann> were the dupes hg specific?
268 2011-04-04T18:24:56 <yufra> they would be everything looking at the code... basically was iterating over the mercurial revisions AND the name-mapping database
269 2011-04-04T18:24:57 <yufra> the original writers could know about some edge-cases that I don't, though
270 2011-04-04T18:24:57 <yufra> I should probably set up branches and do testing before/after each small change and submit little patches to you
271 2011-04-04T18:25:51 <yufra> currently I am just hacking away on one large patch of changes
272 2011-04-04T18:25:52 <yufra> I still need to catch TheSheep and chat with him about the Hg backend, too
273 2011-04-04T18:30:27 <ThomasWaldmann> yufra: did you fork moin2 on bitbucket?
274 2011-04-04T18:31:01 <yufra> nope, that is what I should do... just saw the mirror notice in the moinmoin wiki
275 2011-04-04T18:31:50 <ThomasWaldmann> it is nice for publishing your (final) changes. plus maybe hg diff | pastebinit if you're not sure.
276 2011-04-04T18:32:39 <yufra> *nod* in my other hobby coding project I just post diffs
277 2011-04-04T18:34:42 *** cosmos_thought
278 2011-04-04T18:35:58 <xorAxAx> hg export rocks
279 2011-04-04T18:36:02 *** kasun
280 2011-04-04T18:39:47 <ThomasWaldmann> or push to bb :)
281 2011-04-04T18:40:13 <ThomasWaldmann> dealing manually with patches is a bit low-tech nowadays
282 2011-04-04T18:41:23 <yufra> *nod*
283 2011-04-04T18:47:56 *** Marchael
284 2011-04-04T18:56:21 *** kasun
285 2011-04-04T18:56:54 *** ThomasWaldmann
286 2011-04-04T18:56:54 *** ThomasWaldmann
287 2011-04-04T19:25:49 *** vpv
288 2011-04-04T19:25:50 *** vpv
289 2011-04-04T19:40:17 *** Marchael
290 2011-04-04T19:41:31 *** greg_f
291 2011-04-04T20:51:01 *** sinha
292 2011-04-04T21:01:49 <sinha> ThomasWaldmann: Tree like view changeset updated https://bitbucket.org/sinha/moin-2.0
293 2011-04-04T21:11:28 <sinha> and in this modify item function why not the meta content is also returned on failure, only content data is returned,as current meta contents gets lost in that validity and always the saved one is shown, or this is not a priority ?
294 2011-04-04T21:16:06 *** kasun
295 2011-04-04T21:29:24 <ThomasWaldmann> hi sinha
296 2011-04-04T21:30:10 <sinha> hello
297 2011-04-04T21:31:31 <ThomasWaldmann> your commit comments do not match the changeset
298 2011-04-04T21:31:54 <ThomasWaldmann> https://bitbucket.org/sinha/moin-2.0/changeset/b4575d8c2495
299 2011-04-04T21:35:14 <ThomasWaldmann> the js and css changes should get reviewed by someone more familiar with that
300 2011-04-04T21:37:46 <sinha> yes before this one i just forgot to remove the unnecessary comments earlier so pushed this changeset
301 2011-04-04T21:38:20 <sinha> the on earlier than this had the actual change
302 2011-04-04T21:39:02 <sinha> this one https://bitbucket.org/sinha/moin-2.0/changeset/e3ad0be367de
303 2011-04-04T21:40:15 <sinha> i did a hg pull and merge so i guess the change in common.css file is due to that
304 2011-04-04T21:40:17 <sinha> okay.
305 2011-04-04T21:40:17 <xorAxAx> do we need rietvield? :)
306 2011-04-04T21:40:17 <xorAxAx> rietveld that is
307 2011-04-04T21:40:18 <xorAxAx> hmm, subversion only
308 2011-04-04T21:52:39 <Marchael> ThomasWaldmann: can you provide me example of acl in metadata?
309 2011-04-04T21:53:13 <Marchael> I`m just never seen them before ^)
310 2011-04-04T21:53:16 <Marchael> :)
311 2011-04-04T21:56:54 *** sinha1
312 2011-04-04T21:57:06 *** sinha
313 2011-04-04T22:11:04 *** sinha1
314 2011-04-04T22:32:58 <sinha_> ThomasWaldmann: Added items like pdf and images at the content of a item ..it displays them in a iframe in a very weird manner ?
315 2011-04-04T22:32:58 <sinha_> how is this to be handled
316 2011-04-04T22:32:58 <sinha_> how come a user will insert a image which is not a static one ..
317 2011-04-04T22:35:15 <ThomasWaldmann> Marchael: see HelpOnAccessControlLists
318 2011-04-04T22:35:36 <Marchael> ok
319 2011-04-04T22:35:58 <ThomasWaldmann> sinha_: it is maybe <object>, not iframe
320 2011-04-04T22:36:38 <ThomasWaldmann> and for images, it should be <img>
321 2011-04-04T22:37:32 <sinha_> i tried doing this {{http://localhost/item}} on the page
322 2011-04-04T22:37:54 <sinha_> it has retrieved the html page for the "show item" and put it in a iframe
323 2011-04-04T22:38:00 <sinha_> here my item was a image
324 2011-04-04T22:38:20 <ThomasWaldmann> if it is an item in the wiki, that is wrong way
325 2011-04-04T22:38:29 <sinha_> so what tags i should use to display a image out there
326 2011-04-04T22:38:38 <ThomasWaldmann> {{item}} is if you want to transclude (embed) an item
327 2011-04-04T22:38:56 <ThomasWaldmann> [[item]] if you want to link to it
328 2011-04-04T22:40:12 <sinha_> is there any way to resize the image object
329 2011-04-04T22:41:42 <sinha_> liek after one clicks on it then its actual page will get opened
330 2011-04-04T22:41:55 <sinha_> with the original image size
331 2011-04-04T22:42:37 <ThomasWaldmann> there are url args w and h (if you have PIL installed, without it does not work)
332 2011-04-04T22:44:19 <dreimark> Marchael: isn't there a test for that?
333 2011-04-04T22:44:34 <dreimark> for metadata acls
334 2011-04-04T22:47:47 <sinha_> ThomasWaldmann: and there also would be option to add any custom class to that image
335 2011-04-04T22:50:13 *** sinha_
336 2011-04-04T22:53:42 *** sinha
337 2011-04-04T23:02:04 *** aa_
338 2011-04-04T23:02:10 *** Marchael
339 2011-04-04T23:02:14 *** CIA-25
340 2011-04-04T23:02:14 *** TheSheep
341 2011-04-04T23:02:14 *** not-xjjk
342 2011-04-04T23:02:17 *** sinha
343 2011-04-04T23:02:18 *** jek
344 2011-04-04T23:02:24 *** xorAxAx
345 2011-04-04T23:02:26 *** andialbrecht_
346 2011-04-04T23:02:26 *** waldi
347 2011-04-04T23:02:27 *** dreimark
348 2011-04-04T23:02:27 *** z^ck
349 2011-04-04T23:02:27 *** yufra
350 2011-04-04T23:02:31 *** sl33k_
351 2011-04-04T23:02:32 *** eSyr
352 2011-04-04T23:02:35 *** MattMaker
353 2011-04-04T23:02:35 *** ChanServ
354 2011-04-04T23:03:25 *** sinha
355 2011-04-04T23:03:25 *** Marchael
356 2011-04-04T23:03:25 *** yufra
357 2011-04-04T23:03:25 *** sl33k_
358 2011-04-04T23:03:25 *** jek
359 2011-04-04T23:03:25 *** MattMaker
360 2011-04-04T23:03:25 *** CIA-25
361 2011-04-04T23:03:25 *** TheSheep
362 2011-04-04T23:03:25 *** not-xjjk
363 2011-04-04T23:03:25 *** eSyr
364 2011-04-04T23:03:25 *** xorAxAx
365 2011-04-04T23:03:25 *** aa_
366 2011-04-04T23:03:25 *** dreimark
367 2011-04-04T23:03:25 *** waldi
368 2011-04-04T23:03:25 *** andialbrecht_
369 2011-04-04T23:03:25 *** z^ck
370 2011-04-04T23:03:25 *** ChanServ
371 2011-04-04T23:03:25 *** kornbluth.freenode.net
372 2011-04-04T23:21:17 <dreimark> sinha: http://hg.moinmo.in/moin/2.0/file/86642382d6c6/MoinMoin/items/__init__.py#l890 onlyy few arguments are used
373 2011-04-04T23:24:41 <sinha> how to specify them in displaying a item {{ item?w=100&h=100 }} or {{ item | w=100 h =100 }}
374 2011-04-04T23:26:59 <yufra> sinha, in moin 1.9 and lower it was {{item | alt text | w=100 h=100}}, so you could do {{item||w=100}} for example
375 2011-04-04T23:28:08 <sinha> yufra: not working !!
376 2011-04-04T23:28:35 <yufra> on what version of moin?
377 2011-04-04T23:28:43 <sinha> 2.0 ofcourse
378 2011-04-04T23:29:02 <yufra> I haven't looked at it in moin2, sorry :-/
379 2011-04-04T23:36:55 <ThomasWaldmann> sinha: check if you have PIL
380 2011-04-04T23:40:54 <ThomasWaldmann> sinha: http://localhost:8080/+get/png?w=100 works
381 2011-04-04T23:43:17 <ThomasWaldmann> hmm, does not seem to work with {{png|foo|&w=100}}
382 2011-04-04T23:43:31 <sinha> ThomasWaldmann: i have installed PIL in the environment ,but get these erro : IOError: decoder jpeg not available
383 2011-04-04T23:43:57 <sinha> yeah that embeding with width isnt working
384 2011-04-04T23:44:07 <sinha> and what if one want to add a custom class to it
385 2011-04-04T23:44:44 <sinha> like if one has to make the style of img as float left or something
386 2011-04-04T23:45:35 <ThomasWaldmann> looks like argument parsing is flawed there
387 2011-04-04T23:46:19 <sinha> yes it would be better if we could add some styling also
388 2011-04-04T23:46:30 <sinha> just as width and height has being added
389 2011-04-04T23:49:20 <ThomasWaldmann> IOError: decoder jpeg not available
390 2011-04-04T23:49:25 <ThomasWaldmann> yup, same here
391 2011-04-04T23:49:52 <sinha> so is that a bug ?
392 2011-04-04T23:53:27 <ThomasWaldmann> no, one needs to install libjpeg62-dev before installing pil
393 2011-04-04T23:53:52 <ThomasWaldmann> otherwise it won't enable its jpeg decoder due to missing header files