1 2011-05-03T00:00:17 <ThomasWaldmann> asmodai: you're getting ahead? :)
2 2011-05-03T00:01:12 <dreimark> re
3 2011-05-03T00:03:25 <asmodai> yeah, legwork done
4 2011-05-03T00:03:32 <asmodai> will do the proper setup tomorrow
5 2011-05-03T00:03:35 <asmodai> time for bed now.
6 2011-05-03T00:03:51 <asmodai> Needed to clean up stuff in my webserver and such lovely stuff.
7 2011-05-03T00:04:02 <asmodai> for now, zzz ^^
8 2011-05-03T00:04:39 <ThomasWaldmann> gn asmodai
9 2011-05-03T00:07:15 <dreimark> fsck what is akashs email adress?
10 2011-05-03T00:12:42 <dreimark> lets see if i parsed it correctly
11 2011-05-03T00:31:08 *** pkumar
12 2011-05-03T00:36:52 <ThomasWaldmann> dreimark: btw, there are autoresize jquery plugins for textareas and also functions to insert some stuff at cursor position with a click
13 2011-05-03T00:37:46 <ThomasWaldmann> http://stackoverflow.com/questions/946534/insert-text-into-textarea-with-jquery e.g. that one
14 2011-05-03T00:38:30 <ThomasWaldmann> if we show that subitems list in a sidebar of the editor, we can insert link markup with a click
15 2011-05-03T00:41:00 <ThomasWaldmann> (or at least the subitem name)
16 2011-05-03T00:44:29 <dreimark> ronny: http://wiki.python-forum.de/PythonBarCamp2011/Mercurial%20von%20Innen
17 2011-05-03T00:44:44 <dreimark> please add some of the examples you showed
18 2011-05-03T00:45:15 <dreimark> ThomasWaldmann: sounds nice
19 2011-05-03T00:46:05 <dreimark> btw. that makes another scope of plugins
20 2011-05-03T00:46:08 <ronny> oh fsck
21 2011-05-03T00:47:00 <ThomasWaldmann> hmm
22 2011-05-03T00:47:13 <ronny> dreimark: o completely neglected those wiki pages
23 2011-05-03T00:47:23 <ThomasWaldmann> we could add a level navigation
24 2011-05-03T00:47:58 <ThomasWaldmann> so it shows subitems by default, but of one clicks ^, it shows other toplevel items and you can also insert their name by clicking
25 2011-05-03T00:48:24 <ThomasWaldmann> s/toplevel/same level/
26 2011-05-03T00:51:40 <dreimark> hmm, somehow that is a iittle replacement of fck
27 2011-05-03T00:52:04 <dreimark> if we have more sidebars for common stuff it can look similiar to kile
28 2011-05-03T00:52:18 <dreimark> where you insert latex commands
29 2011-05-03T00:54:02 <dreimark> at least it solves the "hard way to add a attachment we had in 1.x"
30 2011-05-03T00:54:09 *** m4k3r
31 2011-05-03T00:55:28 <dreimark> ThomasWaldmann: we need a new plugin for fck then too
32 2011-05-03T00:56:30 <ThomasWaldmann> ck :)
33 2011-05-03T00:56:39 <ThomasWaldmann> and no u
34 2011-05-03T00:58:31 <ronny> dreimark: i added a general listing, i'll extend the rest of the sections later
35 2011-05-03T00:58:57 <dreimark> ronny: i've added your name to TrustedEditorsGroup
36 2011-05-03T00:58:59 <dreimark> thx
37 2011-05-03T01:35:07 <ronny> dreimark: i also started on the execnet page
38 2011-05-03T01:37:13 <xorAxAx> dreimark: your student didnt vote for the doodle
39 2011-05-03T02:36:09 *** MattMaker_
40 2011-05-03T02:38:17 *** MattMaker_
41 2011-05-03T02:38:44 *** MattMaker
42 2011-05-03T02:38:44 *** MattMaker_
43 2011-05-03T07:07:54 *** Marchael
44 2011-05-03T07:08:57 <Marchael> moin
45 2011-05-03T07:31:31 <Marchael> hi ThomasWaldmann
46 2011-05-03T07:31:36 * Marchael updated http://www.doodle.com/id9ha7cbdpsbbnic
47 2011-05-03T08:52:03 <Marchael> how can I paste Datetime() on wiki`s page?
48 2011-05-03T08:52:29 <Marchael> I don't see any buttons in gui editor
49 2011-05-03T09:07:18 <Marchael> ThomasWaldmann: I answered on your comments at http://moinmo.in/MichaelMayorov
50 2011-05-03T09:10:51 *** gwork
51 2011-05-03T09:57:19 *** hardy_89
52 2011-05-03T10:24:47 *** greg_f
53 2011-05-03T11:06:12 <dreimark> re
54 2011-05-03T11:06:27 <dreimark> xorAxAx: i have mailed him to do it
55 2011-05-03T11:06:44 <dreimark> i guess he will be here after his exam today
56 2011-05-03T11:07:35 <dreimark> Marchael: I guess you want to use -- <unknown> <<DateTime(2011-05-03T22:00:03Z)>>
57 2011-05-03T11:08:09 <Marchael> dreimark: thx
58 2011-05-03T11:16:58 <Marchael> dreimark: when I add -- <unknown> <<DateTime(2011-05-03T22:00:03Z)>> in text mode or gui mode in preview mode it's show my "-- <unknown> <<DateTime(2011-05-03T22:00:03Z)>>"
59 2011-05-03T11:17:35 <Marchael> s/my/me/
60 2011-05-03T11:20:40 <ThomasWaldmann> moin
61 2011-05-03T11:21:40 <ThomasWaldmann> Marchael: i think one main page should be enough for starting (you can create subpages when needed)
62 2011-05-03T11:22:17 <ThomasWaldmann> and you need to link that page from the http://moinmo.in/GoogleSoc2011 page
63 2011-05-03T11:24:28 *** hardy_89
64 2011-05-03T11:33:32 <Marchael> ThomasWaldmann: can I repost my proposal with some correctives to moin wiki as main page?
65 2011-05-03T11:35:36 <ThomasWaldmann> you can use it as the base to start from, maybe copy primarily the tasks you have already identified (you don't necessarily need top copy your personal data or your proposed timeline)
66 2011-05-03T11:38:59 <Marchael> ThomasWaldmann: all right, I will do it
67 2011-05-03T12:01:14 *** Marchael
68 2011-05-03T12:43:41 *** hardy_89
69 2011-05-03T12:58:55 *** Marchael
70 2011-05-03T13:01:14 *** hardy_89
71 2011-05-03T13:31:32 <xorAxAx> meeting time was set: http://moinmo.in/GoogleSoc2011
72 2011-05-03T13:31:44 <xorAxAx> dreimark, Marchael, ThomasWaldmann, waldi
73 2011-05-03T13:32:30 <xorAxAx> waldi: please note the additional meeting that we will participate in with our students
74 2011-05-03T13:35:25 <waldi> okay
75 2011-05-03T13:41:00 *** Marchael
76 2011-05-03T13:41:07 *** Marchael
77 2011-05-03T13:49:24 *** hardy_89
78 2011-05-03T13:50:21 <ThomasWaldmann> hi hardy_89
79 2011-05-03T13:52:03 <ThomasWaldmann> hardy_89: maybe you want to have a) a personal home page (with details about yourself) and b) a project page with todo for your project (maybe only for the TODOs you have identified and as a discussion page)
80 2011-05-03T13:52:31 <ThomasWaldmann> hardy_89: http://moinmo.in/GoogleSoc2011 and please link them both from there
81 2011-05-03T13:52:47 <hardy_89> hi ThomasWaldmann
82 2011-05-03T13:53:07 <hardy_89> ThomasWaldmann: ic
83 2011-05-03T13:54:04 <hardy_89> ThomasWaldmann: the link of my project page is there :/
84 2011-05-03T13:54:25 <hardy_89> ThomasWaldmann: or should i make it just a todo page
85 2011-05-03T13:54:43 <ThomasWaldmann> no, it is the link of your home page (pagename == yourname is your home page)
86 2011-05-03T13:55:57 <hardy_89> ThomasWaldmann: :) ell yeah ofc...but within my homepage, i have a subpage of my project
87 2011-05-03T13:56:37 <hardy_89> ThomasWaldmann: like this is homepage --> http://moinmo.in/HimanshuAwasthi
88 2011-05-03T13:56:52 <hardy_89> and this is project page -->http://moinmo.in/Himanshu%20Awasthi/GSoC2011
89 2011-05-03T13:57:20 <ThomasWaldmann> yes, but you didn't link it from the GoogleSoc2011 page
90 2011-05-03T13:57:22 <hardy_89> ThomasWaldmann: is that correct? ^
91 2011-05-03T13:57:56 <ThomasWaldmann> see that table there
92 2011-05-03T13:59:44 <ThomasWaldmann> also, you don't necessarily need to publish your whole gsoc application on your home page (but of course you may do so, if you like)
93 2011-05-03T14:00:00 <hardy_89> ThomasWaldmann: oh..it does not have my name in Accepted Project list.
94 2011-05-03T14:00:24 <hardy_89> ThomasWaldmann: oh it has
95 2011-05-03T14:00:30 <hardy_89> ThomasWaldmann: which table?
96 2011-05-03T14:00:45 <ThomasWaldmann> http://moinmo.in/GoogleSoc2011
97 2011-05-03T14:00:46 <hardy_89> ThomasWaldmann: ok. got it
98 2011-05-03T14:03:13 <ThomasWaldmann> also, if you copy & paste stuff from somewhere to the wiki, you need to fix the text, so it is correct wiki markup and renders correctly (all the stuff copied from melange renders badly)
99 2011-05-03T14:04:49 <hardy_89> ThomasWaldmann: pls2check now...is it ok?
100 2011-05-03T14:05:06 <ThomasWaldmann> maybe read the moin help pages
101 2011-05-03T14:06:04 <hardy_89> ThomasWaldmann: no...only the link thing i'm asking about. not the content
102 2011-05-03T14:09:22 <ThomasWaldmann> i fixed it
103 2011-05-03T14:09:41 <ThomasWaldmann> if you have a better name than "testing project", edit it yourself.
104 2011-05-03T14:10:55 <Marchael> ThomasWaldmann: Is there any tag for blocks of code?
105 2011-05-03T14:11:36 <dreimark> xorAxAx: testing is one hour before ?
106 2011-05-03T14:11:45 <xorAxAx> dreimark: yes
107 2011-05-03T14:11:47 <dreimark> xorAxAx: oj
108 2011-05-03T14:11:48 <dreimark> ok
109 2011-05-03T14:12:22 *** hardy_89
110 2011-05-03T14:12:33 <dreimark> xorAxAx: it sounded first like "testing to join the meeting"
111 2011-05-03T14:12:40 <xorAxAx> ?
112 2011-05-03T14:13:01 <dreimark> the titles
113 2011-05-03T14:13:06 <dreimark> General weekly IRC meeting
114 2011-05-03T14:13:11 <dreimark> Testing weekly IRC meeting
115 2011-05-03T14:13:21 <dreimark> fun ;)
116 2011-05-03T14:15:38 <Marchael> ThomasWaldmann: oh, found {{{ }}}
117 2011-05-03T14:20:37 <xorAxAx> dreimark: ah
118 2011-05-03T14:21:15 <ThomasWaldmann> Marchael: that's for the lazy ones, yeah :P
119 2011-05-03T14:21:35 <ThomasWaldmann> you should learn the real wikimarkup also
120 2011-05-03T14:22:11 <Marchael> text mode is rather flexible than gui.
121 2011-05-03T14:22:17 <ThomasWaldmann> dreimark: yes, i was also first irritated, but if you read on, it gets clearer
122 2011-05-03T14:36:50 <ThomasWaldmann> Marchael: can you make 1 main page out of the 2?
123 2011-05-03T14:37:18 <ThomasWaldmann> i mean there are many more aspects than 2, so one main page is good to start with and then create subpages of that as needed
124 2011-05-03T14:37:23 <Marchael> ThomasWaldmann: I'm done one main age
125 2011-05-03T14:37:26 <Marchael> *page
126 2011-05-03T14:37:51 <ThomasWaldmann> i mean the searching and indexing page
127 2011-05-03T14:38:00 <Marchael> with links on discussion for search and indexing
128 2011-05-03T14:38:15 *** m4k3r
129 2011-05-03T14:40:02 <ThomasWaldmann> Marchael: and why do you link to your home page twice? the left column title is "project page". don't just blindly follow what other students have done wrong before you.
130 2011-05-03T14:40:42 <Marchael> oh
131 2011-05-03T14:41:15 <Marchael> ok, I don't know about that :)
132 2011-05-03T14:43:12 <ThomasWaldmann> Marchael: http://moinmo.in/MichaelMayorov?action=AttachFile&do=view&target=whoosh-moin.dot
133 2011-05-03T14:44:14 <ThomasWaldmann> i began with that graph, so we can develop a common idea about your project. please continue with it, add missing stuff, until there is a complete idea of what has to be done how.
134 2011-05-03T14:44:57 <ThomasWaldmann> you need graphviz installed on your machine to render it to a pretty svg graphics
135 2011-05-03T14:45:18 <Marchael> can I upload it to testwiki?
136 2011-05-03T14:46:04 <ThomasWaldmann> rather download it to your working machine :)
137 2011-05-03T14:46:31 <ThomasWaldmann> (the wiki won't render it, we have no graphviz support yet)
138 2011-05-03T14:48:04 <Marchael> I don't remember those times when all features of wiki worked normal on my machine :D
139 2011-05-03T14:49:53 <ThomasWaldmann> what do you mean?
140 2011-05-03T14:51:54 <Marchael> my /dev/hands are have some bugs :)
141 2011-05-03T14:52:20 <ThomasWaldmann> Marchael: http://etherpad.osuosl.org/whoosh-moin we can also brainstorm in parallel there
142 2011-05-03T14:52:24 <dreimark> mimetype application/msword
143 2011-05-03T14:52:40 <ThomasWaldmann> dreimark: as i said, it sucks :)
144 2011-05-03T14:52:49 <dreimark> yeah
145 2011-05-03T14:53:17 <ThomasWaldmann> Marchael: maybe add the etherpad link to your one project page
146 2011-05-03T14:53:33 <ThomasWaldmann> Marchael: you already worked with etherpad?
147 2011-05-03T14:54:17 <dreimark> we won't need that short extensions these days. now we could add the mimetype expression as extension
148 2011-05-03T14:54:48 <Marchael> ThomasWaldmann: no, just see once. But, this is not a problem for me.
149 2011-05-03T14:55:27 <ThomasWaldmann> ok, then just go to that URL, give yourself a name and type something :)
150 2011-05-03T15:13:12 <asmodai> ThomasWaldmann: quickinstall - #!/bin/bash - big no no if you want to be portable
151 2011-05-03T15:13:18 <asmodai> you now made the script a Linuxism
152 2011-05-03T15:13:33 *** ronny
153 2011-05-03T15:13:49 <asmodai> most non-Linux systems have bash somewhere in /usr/local/bin/bash.
154 2011-05-03T15:13:58 <asmodai> Better to just use POSIX sh scripting
155 2011-05-03T15:16:11 *** ronny
156 2011-05-03T15:29:42 *** m4k3r
157 2011-05-03T15:36:09 <dreimark> thx asmodai
158 2011-05-03T15:42:22 <xorAxAx> asmodai: /usr/bin/env bash :)
159 2011-05-03T15:52:04 <asmodai> xorAxAx: Still, no guarantee bash is installed.
160 2011-05-03T15:52:10 <asmodai> Especially on BSD systems.
161 2011-05-03T15:52:24 <xorAxAx> asmodai: yeah
162 2011-05-03T15:53:08 <asmodai> And the quickinstall doesn't seem to use any Bashisms anyway :)
163 2011-05-03T16:17:44 <asmodai> Something that confuses me
164 2011-05-03T16:17:48 <asmodai> in the wikiconfig.py
165 2011-05-03T16:17:51 <asmodai> backend_uri='fs2:%s/%%(nsname)s' % data_dir,
166 2011-05-03T16:18:02 <asmodai> the comment above it says that fs: is for file system backend.
167 2011-05-03T16:18:04 <asmodai> So what's fs2?
168 2011-05-03T16:28:56 <dreimark> http://hg.moinmo.in/moin/2.0/file/53a21be164e0/MoinMoin/storage/backends/fs.py
169 2011-05-03T16:29:01 <dreimark> http://hg.moinmo.in/moin/2.0/file/53a21be164e0/MoinMoin/storage/backends/fs2.py
170 2011-05-03T16:29:37 <dreimark> it is the second approach
171 2011-05-03T16:30:04 <dreimark> the main difference is that it is based on swla
172 2011-05-03T16:30:09 <dreimark> asmodai: ^^
173 2011-05-03T16:30:13 <dreimark> sqla
174 2011-05-03T16:31:02 <asmodai> Maybe it needs a mention in the wikiconfig.py though?
175 2011-05-03T16:31:19 <asmodai> That only has fs: and hg: for now.
176 2011-05-03T16:31:58 <asmodai> And now to figure out why my fcgi is not working. test.wsgi worked without problems. Running moin.fcgi from the command line gives me expected output
177 2011-05-03T16:32:20 *** gwork
178 2011-05-03T16:32:30 <asmodai> yet the fcgi with lighttpd just goes into an endless waiting for site
179 2011-05-03T16:32:52 <asmodai> Error log saying it cannot connect to the socket for the fcgi stuff, which is peculiar :S
180 2011-05-03T16:52:33 <asmodai> from command line:
181 2011-05-03T16:52:35 <asmodai> http://paste.pocoo.org/show/382222/
182 2011-05-03T16:52:40 <asmodai> that's looking good
183 2011-05-03T16:53:25 <asmodai> yet using it with the fcgi setup I used and found working for test.wsgi it doesn't work, heh. Talk about weird.
184 2011-05-03T17:12:27 *** m4k3r
185 2011-05-03T17:30:18 <dreimark> http://xkcd.com/
186 2011-05-03T17:48:45 *** MattMaker
187 2011-05-03T17:49:17 <dreimark> bbl
188 2011-05-03T17:51:30 *** MattMaker
189 2011-05-03T18:28:37 *** Marchael
190 2011-05-03T18:42:27 <ThomasWaldmann> asmodai: i only test on bash, so...
191 2011-05-03T18:43:58 <ThomasWaldmann> dreimark: don't say fs2 is "based on sqla". it uses it, but only to support its operation, not as the main means of storing items.
192 2011-05-03T18:45:03 <ThomasWaldmann> asmodai: the moin.fcgi isn't regularly tested
193 2011-05-03T18:45:57 <asmodai> ThomasWaldmann: Weird thing is, something goes wrong that causes the fcgi process to die, but not getting a 500 error. Trying to figure out what's going wrong
194 2011-05-03T18:46:47 <ThomasWaldmann> likely an issue outside of moin :)
195 2011-05-03T18:47:21 <asmodai> ThomasWaldmann: Not sure, the test.wsgi works.
196 2011-05-03T18:47:40 <ThomasWaldmann> xorAxAx: dreimark: waldi: we (marchel and me) just used etherpad to brainstorm together. recommended to get things going faster.
197 2011-05-03T18:49:31 <ThomasWaldmann> http://etherpad.osuosl.org/ i just used that one :)
198 2011-05-03T18:50:34 <ThomasWaldmann> asmodai: what platform are you working on?
199 2011-05-03T18:51:00 <asmodai> FreeBSD
200 2011-05-03T18:51:41 <ThomasWaldmann> are you doing changesets for the stuff you find? :)
201 2011-05-03T18:52:01 <asmodai> once I got it all up and running
202 2011-05-03T18:53:18 <asmodai> trying to figure out how to properly debug this one
203 2011-05-03T18:55:17 <ThomasWaldmann> #os.environ['FCGI_FORCE_CGI'] = 'Y' # 'Y' for (slow) CGI, 'N' for FCGI
204 2011-05-03T18:55:23 <ThomasWaldmann> you played with that one?
205 2011-05-03T18:55:36 *** ronny
206 2011-05-03T18:59:10 <asmodai> nah, shouldn't be needed. did fcgi with flup before
207 2011-05-03T19:00:20 <ThomasWaldmann> well, i remember some definite misbehaviour there :)
208 2011-05-03T19:00:33 <ThomasWaldmann> i didn't try it recently, though
209 2011-05-03T19:00:43 * asmodai toggles the flag
210 2011-05-03T19:01:48 <asmodai> I really dislike lighttpd at times for its lack in useful error output
211 2011-05-03T19:02:37 <dreimark> http://labs.abeautifulsite.net/projects/js/jquery/fileTree/demo/ that is a nice index
212 2011-05-03T19:04:12 <ThomasWaldmann> dreimark: pretty
213 2011-05-03T19:05:13 <ThomasWaldmann> but for moin2 the "folders" are items also
214 2011-05-03T19:06:00 <dreimark> yeah
215 2011-05-03T19:07:35 <ThomasWaldmann> can it be modified to be useful in our context?
216 2011-05-03T19:07:54 <dreimark> have to be seen
217 2011-05-03T19:18:25 *** RogerHaase
218 2011-05-03T19:20:09 *** m4k3r_
219 2011-05-03T19:20:48 *** m4k3r
220 2011-05-03T19:27:29 *** hardy_89
221 2011-05-03T19:35:07 *** greg_f
222 2011-05-03T19:49:50 <hardy_89> ThomasWaldmann: i found something good called doctest today. its good :)
223 2011-05-03T19:52:52 *** ronny
224 2011-05-03T20:00:33 <hardy_89> did anyone see pkumar here. if he goes by the same nick
225 2011-05-03T20:01:43 <dreimark> another interesting tree view http://www.jstree.com/
226 2011-05-03T20:01:53 *** raignarok
227 2011-05-03T20:02:00 *** raignarok
228 2011-05-03T20:03:24 <dreimark> this one has a lot of tools we also have
229 2011-05-03T20:04:46 *** hardy_89
230 2011-05-03T20:05:31 <dreimark> we always have something like "folders"
231 2011-05-03T20:07:50 <dreimark> http://jquery.bassistance.de/treeview/demo/large.html
232 2011-05-03T20:21:13 *** Ardavan
233 2011-05-03T20:30:31 *** sinha
234 2011-05-03T20:37:57 <sinha> back :)
235 2011-05-03T20:50:54 <dreimark> sinha: http://moinmo.in/GoogleSoc2011
236 2011-05-03T20:51:14 <dreimark> can you link your project page
237 2011-05-03T20:55:22 <dreimark> sinha: also please use http://etherpad.osuosl.org/moin-2-ui and collect further ideas for improving the ui by e.g. jquery plugins
238 2011-05-03T20:57:45 <sinha> okay doing.
239 2011-05-03T20:58:38 <dreimark> read the discussion from thomas and me from yesterday about item insert
240 2011-05-03T21:01:04 <sinha> yes just reading logs of the past days.
241 2011-05-03T21:01:07 *** ronny
242 2011-05-03T21:01:15 <dreimark> we should first collect ideas how stuff can be improved, then filter and then set an order
243 2011-05-03T21:02:32 <dreimark> htg bbl
244 2011-05-03T21:47:45 <ThomasWaldmann> re
245 2011-05-03T22:13:30 *** ronny
246 2011-05-03T22:41:43 <ThomasWaldmann> sinha: have a bit time for fixing some stuff?
247 2011-05-03T22:43:19 <sinha> yes tell me i'll try
248 2011-05-03T22:44:25 <ThomasWaldmann> https://bitbucket.org/thomaswaldmann/moin-2.0/issues?status=new&status=open i've put quite some stuff there
249 2011-05-03T22:44:41 <ThomasWaldmann> e.g. #18 looks simple and useful
250 2011-05-03T22:49:53 <sinha> okay, for each form on the page i will detect the first input element and will focus it ! will this suffice ?
251 2011-05-03T22:50:48 <sinha> ThomasWaldmann: ^
252 2011-05-03T22:51:33 <ThomasWaldmann> i rather though about giving it some class "focus" or so?
253 2011-05-03T22:53:01 <ThomasWaldmann> and some js will then just select the first focus item and focus it?
254 2011-05-03T22:53:16 <sinha> yes this could be simpler
255 2011-05-03T22:54:22 <sinha> so tell me on which pages i should try this first, means adding this "focus" style on input elements
256 2011-05-03T22:54:45 <sinha> Adding,Modifying,Deleting,Renaming and Copying ?
257 2011-05-03T22:54:51 <sinha> just these one
258 2011-05-03T22:54:55 <ThomasWaldmann> login view :)
259 2011-05-03T22:55:11 <sinha> ah !
260 2011-05-03T22:55:12 <sinha> yes
261 2011-05-03T22:57:01 <sinha> For login view i should write a different js. As if Name is blank then make it focussed or if it has something then make Password box focus . what say ?
262 2011-05-03T22:57:21 <sinha> it will be better when wrong password is entered
263 2011-05-03T22:58:07 <ThomasWaldmann> you mean for cases when the browser puts the (remembered) name in there?
264 2011-05-03T22:58:15 <sinha> yes that also
265 2011-05-03T22:58:28 <ThomasWaldmann> but won't it also put the pw then?
266 2011-05-03T22:58:43 <sinha> no
267 2011-05-03T22:59:10 <ThomasWaldmann> for the wrong pw, we can also use a general mechanism
268 2011-05-03T22:59:21 <ThomasWaldmann> the invalid fields all have some specific class
269 2011-05-03T23:00:11 <sinha> so you want to highlight the invalid fields
270 2011-05-03T23:00:32 <ThomasWaldmann> so the algorithm could be "put it in focus-class field, or if that has something, put cursor focus in invalid field"
271 2011-05-03T23:01:09 <ThomasWaldmann> hmm, that won't work for login
272 2011-05-03T23:01:21 <sinha> for login it would be simpler
273 2011-05-03T23:01:37 <ThomasWaldmann> because we don't (and must not) tell there whether the name or pw was wrong
274 2011-05-03T23:01:51 <sinha> put focus on name field, if it has something put focus on password that's it !
275 2011-05-03T23:02:04 <sinha> this thing is followed by gmail
276 2011-05-03T23:02:47 <ThomasWaldmann> yes
277 2011-05-03T23:02:57 <sinha> for other pages we can use that focus class thing
278 2011-05-03T23:04:05 <ThomasWaldmann> maybe try to generalize mechanisms, so we can reuse them
279 2011-05-03T23:04:53 <sinha> but i guess for login we should keep it separate and for others keep it same
280 2011-05-03T23:05:25 <sinha> for other what i will do is "search for a form on the page, get its first input element and focus it "
281 2011-05-03T23:05:52 <sinha> but it will act unexpectedly when more than one form is present on page, as there is search box on tom
282 2011-05-03T23:05:55 <sinha> s/tom/top
283 2011-05-03T23:06:12 <ThomasWaldmann> maybe rather use some class
284 2011-05-03T23:06:26 <ThomasWaldmann> it doesn't need to be first or top or whatever
285 2011-05-03T23:07:31 <sinha> okay use class for the specific input which is needed to be focused on page load !
286 2011-05-03T23:10:33 <sinha> And one important thing i wanted to ask, that my repository at bitbucket.org has those index tree-view committed files ? what should i do now ? complete that part first ? or start working with a new repository ?
287 2011-05-03T23:13:29 <ThomasWaldmann> i have pulled that recently
288 2011-05-03T23:14:40 <ThomasWaldmann> as long as you don't push unwanted stuff there, you don't need to create new repos
289 2011-05-03T23:15:13 <ThomasWaldmann> using rietveld is recommended, also for getting better feedback
290 2011-05-03T23:30:18 <dreimark> re
291 2011-05-03T23:32:53 <dreimark> ThomasWaldmann: html5 has a required tag. we should have that in flatland/flask
292 2011-05-03T23:35:19 <dreimark> forms.render_field needs that paramteter
293 2011-05-03T23:38:06 <dreimark> or may be i don't understand forms.html, can it be just added there ?
294 2011-05-03T23:39:18 <dreimark> {% set f_class = "optional" if field.optional else "required" %}
295 2011-05-03T23:39:29 <dreimark> is it good to do it by a class?
296 2011-05-03T23:43:45 <dreimark> there are also some new form types
297 2011-05-03T23:43:49 <dreimark> http://paste.pocoo.org/show/382492/
298 2011-05-03T23:44:05 <dreimark> from http://slides.html5rocks.com/
299 2011-05-03T23:44:54 <dreimark> sinha: ^^
300 2011-05-03T23:44:55 <sinha> ThomasWaldmann: what about my local repo i.e at my pc ? should i go with it for new developments ? ( after keeping it up to date)
301 2011-05-03T23:47:08 <ThomasWaldmann> dreimark: the class is for styling (even for non-html5-"required" supporting browsers)
302 2011-05-03T23:47:48 <dreimark> ok, then we also should add the required tag
303 2011-05-03T23:48:20 <ThomasWaldmann> yup
304 2011-05-03T23:48:27 <ThomasWaldmann> do it, try it, commit it :)
305 2011-05-03T23:49:12 <dreimark> :)
306 2011-05-03T23:49:15 <sinha> ThomasWaldmann: Please reply to my question !
307 2011-05-03T23:49:54 <ThomasWaldmann> one after the other :)
308 2011-05-03T23:50:35 <ThomasWaldmann> dreimark: be careful about which browsers support the new fields. esp. about what happens if a browser does not support it, whether it still behaves reasonable.
309 2011-05-03T23:51:15 <ThomasWaldmann> sinha: as I said, as long as you don't commit unwanted stuff, you can continue using it
310 2011-05-03T23:52:04 <ThomasWaldmann> (after committing unwanted stuff, I can't just pull from a repo, all i could do is cherrypick some changesets, but that is rather uncomfortable)
311 2011-05-03T23:52:18 <sinha> ThomasWaldmannL I understand that. i wanted to know regarding what i have already commited ? those indexview stuffs
312 2011-05-03T23:52:40 <sinha> you have suggested some change in the comments and function/variable names
313 2011-05-03T23:55:11 <ThomasWaldmann> well, just do (except if you have reasons to do not, then discuss about it)
314 2011-05-03T23:58:15 <sinha> i didn't understand. you mean go with the new developments or first do those suggested changes in comments etc.
315 2011-05-03T23:58:35 <sinha> OR you have already merged those change sets