Open AbdealiLoKo opened 10 years ago
Reminder.
Reminder 2
updates ?
Phani, reminder
Utture tasks which we had discussed :
Will add more later
updates ?
Finished the tabs part - add, delete and edit tabs (combined the editing of name and content of tab). Should I do anything else?
check the checklist on top. and check everything done, there are a few things left - like allowing event coords only to do it
Event coord can only edit their own.
Core, supercoord, qms can edit any.
So, make a separate function to check this. If we want a new type of user to be able to edit, we'll simply edit that function, and everywhere else as this function will be used, itll get changed everywhere. plus, where can i see the stuff u made ? im assuming u made a test template ?
On Sat, Jul 5, 2014 at 3:19 PM, akshayutture notifications@github.com wrote:
Is this the specification - Allow only event coords to edit the event details (and cores and supercoords and QMS) - So an event co-ord can edit event details of any event or just their subdepartment events?
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48082503 .
I uploaded the stuff to github. The view and event-tab model is at apps/events. The url to see it is at localhot:8000/events/add_tabs . The html file is at templates/events/events2.html. . .
If a co-ord has co-ord relations with more than one sub-dept, he should be able to access every subdepartments' edit pages right?
some clarifications
Different view as in? Arent you doing it in Ajax? Again, dont worry whether they can see the button or not. if they click the button it should come "You are not allowed to edit this" << Thats the backend part
Not sure about qms co-ord - why does this matter ? I had mentioned earlier no ? Make a function that takes a user and a event and gives out true or false. if true, the person can change stuff, fi false he cannot. We'll modify the conditions for the true/false later.
The event model and subdept already have a relation, check subdept model On Jul 8, 2014 7:26 PM, "akshayutture" notifications@github.com wrote:
some clarifications
- Its a little difficult to give only some users access to the add,edit and delete buttons, so can I make a different view for those who can access these buttons and a different one for those who cannot?
- Can every qms co-ord also edit any event-tab?
- To allow only those event co-ords from a sub department access event tabs from that event category I'll have to make a one to one relation between the Category (events model) and the sub department model. Is that okay?
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48338871 .
I created a function in which you need to put the criteria for giving permission to edit /create/delete a tab. For now I've kept the criteria that you need to be a qms or events core.
If you don't have permission, those 3 buttons won't get displayed Is thats okay? If yes, I'll push
Push to the branch. And push even if unsure - the branches are meant for testing out. You can always push again On Jul 9, 2014 12:42 AM, "akshayutture" notifications@github.com wrote:
I created a function in which you need to put the criteria for giving permission to edit /create/delete a tab. For now I've kept the criteria that you need to be a qms or events core. Is that okay. If yes, I'll push
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48386334 .
What should I do next? Participant login? If yes, give me the specifications
So make a dajax function to create a user profile. Then make required functions to link the userprofile to an event.
In an event, make a place to choose whether it has TDP or not. If yes, a link to the tdp should given
@ Shahid - how do you want tdp? I was thinking Google forms On Jul 9, 2014 10:26 AM, "akshayutture" notifications@github.com wrote:
What should I do next? Participant login? If yes, give me the specifications
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48430064 .
Rather than using dajax for this, we could do rest framework. Will be a huge advantage to debug. I have already written some stuff in mobile branch.
Ideally it would be great if we use this kind of api for main site. We can easily create our own functions or can write out up directly to the data models. All responses in json, easily customisable.
Sent from my mobile device. Please excuse any brevity. On 9 Jul 2014 11:05, "AbdealiJK" notifications@github.com wrote:
So make a dajax function to create a user profile. Then make required functions to link the userprofile to an event.
In an event, make a place to choose whether it has TDP or not. If yes, a link to the tdp should given
@ Shahid - how do you want tdp? I was thinking Google forms On Jul 9, 2014 10:26 AM, "akshayutture" notifications@github.com wrote:
What should I do next? Participant login? If yes, give me the specifications
Reply to this email directly or view it on GitHub < https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48430064
.
— Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48431834 .
Rest frameworks are difficult to make. Also it will involve more logic on the other (mobile/js) part. Also, tastypie is fairly confusing. I have no idea how yo use it correctly let alone debug in it. Its very rigid and doesn't allow flexibility On Jul 9, 2014 11:10 AM, "Shahidh K Muhammed" notifications@github.com wrote:
Rather than using dajax for this, we could do rest framework. Will be a huge advantage to debug. I have already written some stuff in mobile branch.
Ideally it would be great if we use this kind of api for main site. We can easily create our own functions or can write out up directly to the data models. All responses in json, easily customisable.
Sent from my mobile device. Please excuse any brevity. On 9 Jul 2014 11:05, "AbdealiJK" notifications@github.com wrote:
So make a dajax function to create a user profile. Then make required functions to link the userprofile to an event.
In an event, make a place to choose whether it has TDP or not. If yes, a link to the tdp should given
@ Shahid - how do you want tdp? I was thinking Google forms On Jul 9, 2014 10:26 AM, "akshayutture" notifications@github.com wrote:
What should I do next? Participant login? If yes, give me the specifications
Reply to this email directly or view it on GitHub <
https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48430064
.
Reply to this email directly or view it on GitHub < https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48431834>
.
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48432011 .
Clarifications
The userprofile already exists. Check users models.
Keep it in users app
Tdp is an online form. Like what's ur team name, etc On Jul 11, 2014 3:00 PM, "akshayutture" notifications@github.com wrote:
Clarifications
- I'm using dajaxice only. Not rest or tastypie.
- What exactly is the TDP?
- We will add participants as the regular django inbuilt users and then make a OnetoOne relationship to a userProfile.
- A User can be linked to more than one event if he registers for more than one event.
- Where should I store the code in apps?
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48711195 .
Did you guys figure out how to call dajax from different domain without daxaxice js?
Sent from my mobile device. Please excuse any brevity. On 11 Jul 2014 21:18, "akshayutture" notifications@github.com wrote:
Can I make a many-to-many relationship between a user-profile and an event?
— Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48747334 .
Ill do tonight - im repeating, its possible, windows app developers did it ... He did it to get the fbid in the get_info function.
@utture - yeah, do that. name it registered_events or something.
On Fri, Jul 11, 2014 at 9:49 PM, Shahidh K Muhammed < notifications@github.com> wrote:
Did you guys figure out how to call dajax from different domain without daxaxice js?
Sent from my mobile device. Please excuse any brevity. On 11 Jul 2014 21:18, "akshayutture" notifications@github.com wrote:
Can I make a many-to-many relationship between a user-profile and an event?
Reply to this email directly or view it on GitHub < https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48747334>
.
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48751210 .
@Shahid - even if its not possible, let him continue on dajaxice ... as you said dajaxice and that rest thing have no difference ... so, all we have to do is change the decorator
On Sat, Jul 12, 2014 at 8:31 AM, Abdeali Kothari abdealikothari@gmail.com wrote:
Ill do tonight - im repeating, its possible, windows app developers did it ... He did it to get the fbid in the get_info function.
@utture - yeah, do that. name it registered_events or something.
On Fri, Jul 11, 2014 at 9:49 PM, Shahidh K Muhammed < notifications@github.com> wrote:
Did you guys figure out how to call dajax from different domain without daxaxice js?
Sent from my mobile device. Please excuse any brevity. On 11 Jul 2014 21:18, "akshayutture" notifications@github.com wrote:
Can I make a many-to-many relationship between a user-profile and an event?
Reply to this email directly or view it on GitHub < https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48747334>
.
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48751210 .
I have to deserialize and then serialize the form so that I can use forms with Ajax. But I cannot do that with Dajaxice alone. I will need to use the dajax library (installed using pip install djang-dajax). So is that fine? ... because everyone will have to install dajax for the form functionality I am using to work.
Else I can just use regular post with the view
Te deserialize function youre using in dajax also exists in dajaxice : http://www.dajaxproject.com/fullform/
Yes I've been trying that example only the last couple of days, but the following line needs the dajax library to run.
dajax = Dajax()
I got an error without it and it started working only when I installed the dajax module Chrome debugger console said (when I didn't use the dajax library) : POST http://localhost:8000/dajaxice/apps.users.say_hello/ 500 (INTERNAL SERVER ERROR) dajaxice.core.js:315 Dajaxice: Something went wrong.
So is it alright if I use the library?
That line is nor required. You can remove the dajax part of the code.
The online line of importance in that is the one with the deserialize function
Check out what dajax is? On Jul 14, 2014 2:46 PM, "akshayutture" notifications@github.com wrote:
Yes I've been trying that example only the last couple of days, but the following line needs the dajax library to run.
dajax = Dajax()
I got an error without it and it started working only when I installed the dajax module Chrome debugger console said : POST http://localhost:8000/dajaxice/apps.users.say_hello/ 500 (INTERNAL SERVER ERROR) dajaxice.core.js:315 Dajaxice: Something went wrong.
So is it alright if I use the library?
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-48879471 .
Okay. Got it
Create a new branch and push to that. Yes, ask to reenter password On Jul 15, 2014 3:53 PM, "akshayutture" notifications@github.com wrote:
In participant registration do I need to ask the participant to re-enter the password?
And which branch should I push to when I'm ready?
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-49013919 .
The tdp submission is not a button, its a link to a Google form. So how do you plan on making them unregister? On Jul 15, 2014 7:59 PM, "akshayutture" notifications@github.com wrote:
- Whichever events have tdp should also have a separate registration button or just a link to the tdp?
- Should I make a button to un-register for an event?
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-49039504 .
added participant registration and login and their event-registration
I pushed participant registration and login and their event-registration to a new branch participant registration...... So what should I do next?
Will check it out tonight. Which branch? On Jul 20, 2014 11:01 AM, "akshayutture" notifications@github.com wrote:
So what should I do next
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-49537685 .
Did u check it? U might probably want me to change the add and edit buttons. I didn't do that using dajaxice bcause I didnt know the serialize form thing
@AbdealiJK, is @akshayutture going to continue this? or shall I put @mohitkumar to do?
It is already done - the basic stuff.
The work is in the corresponding branch (do not remember the name of the branch)
On Sun, Aug 10, 2014 at 12:45 PM, Shahidh K Muhammed < notifications@github.com> wrote:
@AbdealiJK https://github.com/AbdealiJK, is @akshayutture https://github.com/akshayutture going to continue this? or shall I put @mohitkumar https://github.com/mohitkumar to do?
Reply to this email directly or view it on GitHub https://github.com/The-WebOps-Club/fest-api/issues/80#issuecomment-51708197 .
@akshayutture @arun2596 Updates?
@arun2596 @akshayutture Updates?
@shahidhk @AbdealiJK I've finished my part of the events portal. . I can do something else. . But dont give me something that u need done urgently. . Arun will upload the events portal in a couple of days. .
@phanikaran This needs to be release in about a week. Whats the status