*** tpb has joined #melange | 00:00 | |
*** shikher has joined #melange | 00:09 | |
*** monkegjinni has joined #melange | 00:16 | |
*** monkegjinni has quit IRC | 00:20 | |
MatthewWilkes | Receiving objects: 7% (2817/38935), 4.53 MiB | 466.00 KiB/s | 00:35 |
---|---|---|
* MatthewWilkes hasn't pulled in ages | 00:35 | |
*** Mek_ has joined #melange | 00:49 | |
*** gevaerts has quit IRC | 00:51 | |
*** gevaerts_ has joined #melange | 00:51 | |
*** Mek has quit IRC | 00:55 | |
*** carols has quit IRC | 00:57 | |
*** jasvir has joined #melange | 01:05 | |
*** antrik_ is now known as antirk | 01:08 | |
*** antirk is now known as antrik | 01:09 | |
shikher | madrazr: For the program admins page, would you like me to use list.render and pass all the program admins to the list? This list would be searchable also like all other lists. | 01:28 |
*** Mek_ is now known as Mek | 01:29 | |
madrazr | whoa! | 01:32 |
madrazr | we had several net splits today? | 01:32 |
*** shikher has quit IRC | 01:42 | |
*** piyush_ has quit IRC | 01:46 | |
*** shikher has joined #melange | 01:48 | |
madrazr | shikher: you should only use our lists on all the pages unless you have a very compelling case not to | 01:52 |
shikher | madrazr: ok | 01:52 |
*** scorche has quit IRC | 02:02 | |
*** scorche` has joined #melange | 02:02 | |
*** jasvir has left #melange | 02:06 | |
*** monkegjinni has joined #melange | 02:17 | |
*** robbyoconnor has joined #melange | 02:20 | |
*** monkegjinni has quit IRC | 02:22 | |
*** larryxiao has joined #melange | 02:38 | |
*** jasvir has joined #melange | 02:47 | |
*** jasvir has left #melange | 02:58 | |
*** larryxiao has quit IRC | 03:22 | |
*** shikher has quit IRC | 03:22 | |
*** MatthewWilkes is now known as mwilkes|away | 03:27 | |
*** vijay13 has joined #melange | 03:29 | |
*** madrazr has quit IRC | 03:32 | |
*** mwilkes|away is now known as MatthewWilkes | 03:58 | |
*** monkegjinni has joined #melange | 04:18 | |
*** vijay13 has quit IRC | 04:21 | |
*** MatthewWilkes is now known as mwilkes|away | 04:22 | |
*** monkegjinni has quit IRC | 04:22 | |
*** robbyoconnor has quit IRC | 04:28 | |
*** madrazr has joined #melange | 04:35 | |
*** ChanServ sets mode: +o madrazr | 04:35 | |
*** vijay13 has joined #melange | 05:16 | |
*** madrazr has quit IRC | 07:11 | |
*** vijay13 has quit IRC | 07:26 | |
*** vijay13 has joined #melange | 07:27 | |
*** robbyoconnor has joined #melange | 07:30 | |
*** ashishk has joined #melange | 07:47 | |
ashishk | nathanielmanista: hi | 07:50 |
*** mrsud has joined #melange | 08:07 | |
*** mrsud has left #melange | 08:08 | |
*** ashishk has quit IRC | 08:17 | |
*** vijay13 has quit IRC | 08:29 | |
*** madrazr has joined #melange | 08:42 | |
*** ChanServ sets mode: +o madrazr | 08:42 | |
*** gevaerts_ is now known as gevaerts | 09:00 | |
*** ashishk has joined #melange | 09:03 | |
ashishk | madrazr: hi | 09:03 |
madrazr | ashishk: Hi | 09:10 |
madrazr | ashishk: one other thing I forgot to mention in your patch | 09:10 |
madrazr | I don't think your patch is complete | 09:10 |
madrazr | ashishk: it still does not make the students able to submit the enrollment form even if they do not have projects? | 09:11 |
madrazr | I think the current enrollment form page only works if they are selected for GSoC and have projects assigned to them | 09:11 |
ashishk | madrazr:till now i have checked the condition whether student have filled an enrollment form or not on the proposal submission page | 09:14 |
ashishk | madrazr: for enrollment form page , what should i do ?? | 09:15 |
ashishk | madrazr: also that html rendering in exception.Forbidden is not working ,i couldn't find the solution ?? | 09:16 |
madrazr | ashishk: I will have to look into the last part | 09:21 |
madrazr | ashishk: remind me tomorrow at about this time, I will look into that part | 09:22 |
madrazr | in the meantime, please work on other things | 09:22 |
ashishk | madrazr:okay | 09:22 |
madrazr | ashishk: figuring out how to add tests and things | 09:22 |
madrazr | ashishk: your hands are full for now right? | 09:22 |
madrazr | you are not blocked on me finding the HTML thing out for you? | 09:22 |
ashishk | madrazr: yeah,sure i will try to add tests | 09:23 |
madrazr | ashishk: for enrollment you need to find the similar access check function and modify it so as to allow that page to be accessed by all the students | 09:23 |
madrazr | instead of only those with projects assigned | 09:23 |
ashishk | madrazr: ok | 09:24 |
ashishk | madrazr: i just found an access checker isStudentWithProject which checks if student do not have number of projects>0 then raise the exception otherwise allow him to fill the form | 09:26 |
ashishk | madrazr: i think i should remove this condition ,is it correct ?? | 09:26 |
ashishk | madrazr: i think there is no need of this checker i should not call this checker in enrollment form as ,from now we want to show enrollment form to all the student, there is no condition with projects of student | 09:30 |
madrazr | ashishk: just make sure you still need to check if the user is a student | 09:40 |
madrazr | but not the project part | 09:40 |
madrazr | as long as you ensure that yes | 09:40 |
madrazr | you are on the right track | 09:40 |
ashishk | madrazr: yeah sure in this checker another checker is referenced self.isActiveStudent() which checks whether a user is an student or not .... | 09:43 |
madrazr | ashishk: so you should call that directly instead | 09:46 |
ashishk | madrazr: yeah,i will | 09:46 |
ashishk | madrazr: thanks | 09:47 |
madrazr | ashishk: np | 09:48 |
*** Darrel has quit IRC | 09:57 | |
*** Darrel has joined #melange | 10:11 | |
*** jasvir has joined #melange | 10:27 | |
jasvir | madrazr: hello madrazr. I am looking at soc/templates/modules/gsoc/base.html and found something like {{ header.render }}, {{ mainmenu.ender }}. I am not able to understand from what is the source of these mainmenu, header. I think they are context but not able to find there source. Please help | 10:37 |
jasvir | madrazr: mainmenu.render* | 10:39 |
*** vijay13 has joined #melange | 10:42 | |
madrazr | jasvir: that needs some explanation | 10:54 |
madrazr | and which needs some typing out things | 10:55 |
madrazr | my brain is not even functioning now, I am badly in need of sleep | 10:55 |
madrazr | it is already 2:55AM here | 10:55 |
jasvir | madrazr: ok | 10:55 |
madrazr | jasvir: let us take this up in next 8 hours or so? | 10:55 |
madrazr | when I am back in office? | 10:55 |
jasvir | madrazr: when you will be available? | 10:55 |
jasvir | ok | 10:55 |
madrazr | jasvir: cool! | 10:55 |
jasvir | madrazr: It's fine :) | 10:56 |
madrazr | jasvir: thanks! | 10:56 |
madrazr | see you | 10:56 |
*** madrazr has quit IRC | 10:56 | |
*** RaulT has joined #melange | 10:57 | |
*** jasvir has left #melange | 11:07 | |
*** ashishk has quit IRC | 11:17 | |
*** monkegjinni has joined #melange | 11:20 | |
*** monkegjinni has quit IRC | 11:31 | |
*** monkegjinni has joined #melange | 11:31 | |
*** monkegjinni has quit IRC | 11:36 | |
*** monkegjinni has joined #melange | 11:48 | |
*** monkegjinni has quit IRC | 11:59 | |
*** monkegjinni has joined #melange | 12:00 | |
*** monkegjinni has quit IRC | 12:04 | |
*** monkegjinni has joined #melange | 12:06 | |
*** Niharika has joined #melange | 12:10 | |
RaulT | How can I submit a proposal on my local instance ? | 12:14 |
*** monkegjinni has quit IRC | 12:22 | |
*** monkegjinni has joined #melange | 12:32 | |
*** vivekjain has joined #melange | 13:25 | |
*** ashishk has joined #melange | 13:34 | |
*** vijay13 has quit IRC | 13:36 | |
*** vivekjain has quit IRC | 13:37 | |
*** vijay13 has joined #melange | 13:41 | |
*** vijay13 has quit IRC | 13:53 | |
*** vijay13 has joined #melange | 13:58 | |
*** gsocbot has quit IRC | 14:26 | |
*** ashishk has quit IRC | 14:31 | |
*** gsocbot has joined #melange | 14:35 | |
*** gsocbot has joined #melange | 14:37 | |
*** ayushk has joined #melange | 14:57 | |
*** vivekjain has joined #melange | 15:09 | |
*** RaulT has quit IRC | 15:12 | |
*** Darrel has quit IRC | 15:18 | |
*** Darrel has joined #melange | 15:19 | |
*** tricksy___ has quit IRC | 15:30 | |
*** monkegjinni has quit IRC | 15:37 | |
*** monkegjinni has joined #melange | 15:38 | |
*** monkegjinni has quit IRC | 15:39 | |
*** monkegjinni has joined #melange | 15:39 | |
*** vivekjain has quit IRC | 15:41 | |
*** ayushk has quit IRC | 15:55 | |
*** monkegjinni has quit IRC | 15:59 | |
*** monkegjinni has joined #melange | 16:00 | |
*** monkegjinni has quit IRC | 16:02 | |
*** bitgeeky has joined #melange | 16:16 | |
*** parx1 has joined #melange | 16:17 | |
*** parx has quit IRC | 16:19 | |
*** parx1 is now known as parx | 16:24 | |
*** robbyoconnor has quit IRC | 16:28 | |
*** vivekjain has joined #melange | 16:33 | |
*** monkegjinni has joined #melange | 16:42 | |
*** vijay13 has quit IRC | 16:45 | |
*** monkegjinni has quit IRC | 16:55 | |
*** vivekjain has quit IRC | 17:05 | |
*** robbyoconnor has joined #melange | 17:14 | |
*** ashishk has joined #melange | 17:22 | |
*** Niharika has quit IRC | 17:23 | |
*** carols has joined #melange | 17:24 | |
*** robbyoconnor has quit IRC | 17:29 | |
*** ashishk has quit IRC | 18:01 | |
*** ayushk has joined #melange | 18:05 | |
*** RaulT has joined #melange | 18:38 | |
RaulT | hello. How can i submit a proposal for a project (as a student) on my local instance ? | 18:41 |
*** shikher has joined #melange | 18:55 | |
*** monkegjinni has joined #melange | 18:56 | |
*** monkegjinni has quit IRC | 18:59 | |
*** bitgeeky has quit IRC | 19:11 | |
*** ayushk has quit IRC | 19:13 | |
*** ayushk has joined #melange | 19:30 | |
ayushk | nathanielmanista: Lennie I think there is a line written on Create organization profile page - ' Here is some content.' It doesn't seem right. | 19:31 |
*** madrazr has joined #melange | 19:40 | |
*** ChanServ sets mode: +o madrazr | 19:40 | |
ayushk | madrazr: I think there is a line written on Create organization profile page - ' Here is some content.' It doesn't seem right. | 19:46 |
madrazr | ayushk: screenshot please? | 19:47 |
ayushk | madrazr: link - http://s1.postimg.org/fy9lht1b3/image.png . | 19:51 |
madrazr | I see | 19:51 |
ayushk | madrazr: I searched for it and seed_db.py is where this line is present. | 19:52 |
madrazr | ayushk: it is doing the right thing | 19:54 |
madrazr | I just checked | 19:54 |
madrazr | ayushk: the content thing is supposed to appear there | 19:55 |
madrazr | ayushk: and since seed_db is seeding that content | 19:55 |
madrazr | ayushk: It is correct to have that string there | 19:55 |
RaulT | how can a student submit a proposal (in my local instance) ? | 19:55 |
ayushk | madrazr: ok. | 19:55 |
madrazr | RaulT: by signing in as a student? | 19:56 |
madrazr | RaulT: you should be able to see a submit proposal link on the GSoC home page | 19:56 |
RaulT | madrazr: i have created a student accound | 19:57 |
RaulT | created a profile | 19:57 |
RaulT | and i can't find the link | 19:58 |
madrazr | RaulT: have you set your timeline correctly to be in the proposal submission phase now? | 19:58 |
RaulT | madrazr: Yes. The 'Students start submitting their forms' field is in 2013 | 20:00 |
RaulT | madrazr: And 'Accepted students announced deadline' is on 23-02-2014 | 20:00 |
madrazr | RaulT: students start submitting their forms is a field for when students can start submitting their student proof enrollment forms | 20:03 |
madrazr | RaulT: what needs to be set correctly are | 20:03 |
madrazr | Accepted organizations announced deadline in the past | 20:03 |
madrazr | Student signup start date in the past | 20:03 |
madrazr | Student signup end date in the future | 20:03 |
madrazr | and note that all the fields which are before the fields in the past should be in the past | 20:03 |
madrazr | and all the remaining fields should be in the future | 20:03 |
madrazr | unfortunately we do not do good job at timeline sanitization | 20:04 |
ayushk | madrazr: The lookup profile for GCI and GSOC search using email and username respectively. Why is that different for the two? | 20:04 |
madrazr | ayushk: what do you mean by different? | 20:05 |
ayushk | madrazr: GCI has search by email and GSOC has search by username. | 20:06 |
madrazr | ayushk: I am not too sure if GCI's search by email works though | 20:06 |
ayushk | madrazr: which is better, search by email or username? | 20:06 |
madrazr | ayushk: however, the goal is to move towards a much much better search | 20:06 |
madrazr | https://code.google.com/p/soc/issues/detail?id=1429 | 20:06 |
tpb | <http://ln-s.net/B4AZ> (at code.google.com) | 20:06 |
madrazr | ayushk: we should be fixing that at the least | 20:07 |
madrazr | and more | 20:07 |
madrazr | man am I embarrassed that I work for a search company | 20:07 |
madrazr | ayushk: ideally the search box should be omnibox sort of | 20:08 |
madrazr | ayushk: we should be able to search by username and/or email ID | 20:08 |
madrazr | ayushk: and in case of ambiguity we should show all the matches | 20:08 |
madrazr | rather potential matches | 20:08 |
RaulT | madrazr: Is there any reason I shoul get very high latency as soon as I have an accepted organization in the program. | 20:11 |
RaulT | madrazr: the problem is I get that latency only when trying to load the homepage. Everything else works well. | 20:11 |
RaulT | should* | 20:11 |
ayushk | madrazr: http://s11.postimg.org/hnf5izsoz/image.png . Have a look at this image. It has two contact information sections which can be merged into one. Also, DOB, tshirt style etc should not be part of contact information. | 20:27 |
ayushk | madrazr: Also, if we could make the sidebar menu floating, it will be a real help because melange has a lot of pages with lists. We often have to srcoll to top to click on any option on the menu. | 20:38 |
*** carols has quit IRC | 20:39 | |
madrazr | RaulT: yes, it schedules tasks in the background and scheduling all those tasks take a while | 20:39 |
madrazr | esp. on local dev instance | 20:40 |
madrazr | RaulT: latency while loading the homepage? I don't think that is related though | 20:40 |
madrazr | ayushk: intereasting | 20:41 |
madrazr | the problem is not that there are 2 contact information sections | 20:41 |
madrazr | I think it is most likely somebody's copy paste fail | 20:41 |
madrazr | they copied the code from contact information part which was already there before | 20:41 |
madrazr | and forgot to change the string or something like that | 20:42 |
RaulT | madrazr: The homepage is the only page that does not load (is remains in the 'connecting' phaze). All other pages load. | 20:42 |
madrazr | likely, but may not be too | 20:42 |
madrazr | ayushk: definitely needs a fix | 20:42 |
ayushk | madrazr: what should be the title of that section? | 20:42 |
madrazr | ayushk: please file an issue on our issue tracker | 20:42 |
*** carols has joined #melange | 20:43 | |
madrazr | ayushk: the same heading as the one one profile edit page | 20:44 |
madrazr | ayushk: "Other Information" I think? | 20:44 |
ayushk | madrazr: Oh yes "Other Information". I will file the issue. | 20:45 |
*** carols has quit IRC | 20:45 | |
madrazr | ayushk: also it should be a very easy fix if you look around | 20:48 |
madrazr | ayushk: a patch is welcome:) | 20:48 |
ayushk | madrazr: happy to help. Also about the side menu bar, if we can make that floating, it will be very helpful for scrolling and stuff. | 20:50 |
*** monkegjinni has joined #melange | 20:57 | |
RaulT | madrazr: This is how my homepage looks http://postimg.org/image/y5oij3rvf/ It does not show any 'Submit proposal' button :( | 21:01 |
tpb | Title: View image: Screenshot from 2014 02 21 22 56 31 (at postimg.org) | 21:01 |
*** monkegjinni has quit IRC | 21:01 | |
shikher | madrazr: Need some debugging help. While rendering lists getting error saying: Error retrieving data. How can I figure out why this error is occuring. Print commands - how to use them? | 21:03 |
RaulT | shikher: I have encountered that problem to and solved it by watching the terminal | 21:05 |
RaulT | shikher: It lists there some debug info that could be usefull | 21:05 |
RaulT | shikher: also it provides a link regarding the exact request where you can get more datailed info. | 21:06 |
RaulT | shikher: hope it helps | 21:06 |
shikher | RaulT: Thanks. Got it. | 21:07 |
RaulT | shikher: You're welcome | 21:14 |
*** ayushk has left #melange | 22:01 | |
*** RaulT has quit IRC | 22:07 | |
shikher | madrazr: How do i find out which program(gsoc) is currenly running using a request data object? | 22:41 |
*** shikher has quit IRC | 22:43 | |
*** shikher has joined #melange | 22:43 | |
madrazr | shikher: there are many ways | 22:43 |
madrazr | shikher: most of the times looking at the URL is sufficient | 22:44 |
shikher | madrazr: U mean parsing the url? | 22:44 |
madrazr | shikher: what parse? You can just see it? | 22:45 |
madrazr | shikher: it really depends on what you are trying to do | 22:45 |
shikher | madrazr: I am talking about a requestdata object inside a view file, not on my browser. | 22:46 |
madrazr | shikher: sure, I get that | 22:47 |
madrazr | shikher: what I mean is, it depends on what you are going to do with program information or why you want that | 22:47 |
madrazr | shikher: if it is only for curiosity and to know, URL gives that information to you most of the times | 22:48 |
madrazr | shikher: if you are debugging something and if you suspect that the problem is because of wrong program that is being read | 22:48 |
shikher | madrazr: Actually, I was trying to get the sponsor for the current program from which I can get all program admins. | 22:48 |
madrazr | then there may be one of several things you need to do depending on what page you are debugging | 22:49 |
madrazr | shikher: data.sponsor should give that to you already | 22:49 |
madrazr | shikher: let me know if it doesn't | 22:49 |
madrazr | this is why I keep telling our students to ask more explicit questions | 22:49 |
shikher | madrazr: I printed it. and the browser is showing nothing. | 22:50 |
madrazr | than trying to ask something totally different and trying to scratch the head trying to infer things from that | 22:50 |
madrazr | all round about | 22:50 |
madrazr | shikher: print is not the way to debug in Melange | 22:50 |
madrazr | shikher: look at the Melange logs of yesterday or day before | 22:50 |
madrazr | I explaining to some one (vivekjain I think) about how to debug things in Melange | 22:51 |
madrazr | and log the debug information | 22:51 |
madrazr | shikher: I gave a very long lecture here yesterday about it | 22:51 |
madrazr | shikher: look at the channel logs | 22:51 |
shikher | madrazr: tht was another question i had. Debugging. Thanks. I will look at both the logs. Thanks :) | 22:52 |
madrazr | shikher: http://www.thousandparsec.net/~irc/%23melange/%23melange.2014-02-20.log.html#t2014-02-20T09:36:50 | 22:52 |
tpb | Title: Thursday, 2014-02-20 (at www.thousandparsec.net) | 22:52 |
shikher | madrazr: Thanks for getting that for me, saved me time. | 22:53 |
madrazr | shikher: np | 22:53 |
*** monkegjinni has joined #melange | 22:58 | |
*** monkegjinni has quit IRC | 23:03 | |
shikher | madrazr: Sponsor is a subclass of group. host_for property only says list of program owners. It does not say how it stores these program owners(sponsors) i.e. either using name or short_name which are declared fields in Group class. | 23:08 |
madrazr | shikher: it does! | 23:09 |
madrazr | but somewhat subtle though | 23:09 |
madrazr | you should understand how App Engine's datastore works | 23:10 |
madrazr | shikher: paste me the host_for property definition here, I will explain how it works | 23:10 |
shikher | madrazr: Here you go | 23:12 |
shikher | host_for = db.ListProperty(item_type=db.Key, default=[]) | 23:12 |
madrazr | shikher: what code are you looking at? You are looking at deprecated code | 23:13 |
madrazr | I think app/soc/models/user.py? | 23:13 |
shikher | madrazr: yes | 23:13 |
madrazr | shikher: that code is deprecated | 23:13 |
madrazr | shikher: we don't use that User model anymore | 23:14 |
madrazr | the new User model is built on NDB API | 23:14 |
madrazr | shikher: and is in app/melange/models/user.py | 23:14 |
shikher | madrazr: oh. yes I forgot about that. oohh. | 23:14 |
shikher | madrazr: Ok so it stores the key of the Sponsor Entity? | 23:18 |
madrazr | shikher: give me a moment, there seems to be something strange here | 23:19 |
madrazr | that might have passed me without me noticing it during the NDB migration | 23:19 |
madrazr | shikher: give me a few mins | 23:19 |
shikher | madrazr: Sure | 23:20 |
madrazr | shikher: oops | 23:22 |
madrazr | as I suspected | 23:22 |
madrazr | look for my email on the mailing list | 23:23 |
madrazr | in a few minutes | 23:23 |
shikher | madrazr: ok | 23:25 |
madrazr | shikher: sent | 23:31 |
shikher | madrazr: So should i wait until that point has been cleared, or should I work with the assumption that host_for property holds all the programs that the user is admin for? | 23:36 |
madrazr | shikher: latter | 23:37 |
madrazr | shikher: don't block yourself as we discuss things on ML | 23:37 |
madrazr | shikher: you had your experience with forms class attribute | 23:38 |
madrazr | shikher: we disagree for a lot of things and disagree in a healthy way | 23:38 |
madrazr | which is good | 23:38 |
madrazr | for progress of Melange that we are thinking through all these | 23:38 |
madrazr | shikher: but unfortunately there is time overhead with it as we tug for our sides of the argument | 23:39 |
nathanielmanista | Rumor has it that I'm the boss, but I hope you'll far more often see me persuading the rest of the team rather than commanding them. :-) | 23:39 |
madrazr | nathanielmanista: ha ha, although somewhat appropriate, that suddenly reminded me of "Like a boss!" :D | 23:39 |
madrazr | *somewhat inappropriate | 23:40 |
madrazr | shikher: so yeah, that is the summary. Don't see discussions as blockers and in this very specific case the change from program keys to sponsor keys should be somewhat minimal | 23:42 |
madrazr | shikher: since our data right now holds program keys, let's be conservative and build the rest of the feature assuming that will be the case | 23:42 |
shikher | madrazr: ok. | 23:42 |
madrazr | shikher: Oh btw, did that answer your original question? About what we store exactly in host_for property? | 23:43 |
madrazr | shikher: as the property definition says "host_for = ndb.KeyProperty(repeated=True)" | 23:43 |
madrazr | host_for is a KeyProperty and it can hold repeated values | 23:44 |
madrazr | that means it holds a list of entity keys and in this case it is program entity keys | 23:44 |
shikher | madrazr: yes I got that. Thanks. | 23:47 |
madrazr | shikher: wait | 23:48 |
madrazr | shikher: or well, never mind | 23:48 |
shikher | madrazr: I believe sponsor entity is still a db property, not an ndb ? | 23:57 |
madrazr | shikher: correct | 23:58 |
madrazr | shikher: we haven't done that migration | 23:58 |
shikher | madrazr: ok | 23:59 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!