These are chat archives for kevindeasis/cmput410-project

8th
Mar 2015
Kevin De Asis
@kevindeasis
Mar 08 2015 02:23
@/all can i get a status update?
while waiting im doing some of the documentation
im doing some of the ACCEPTANCE TEST, not the UNIT test.
Kevin De Asis
@kevindeasis
Mar 08 2015 02:45
ok nevermind im not writing the acceptance test. Im starting on the rest interface. since i cant do anything else without knowing what the structure looks like
Jeff YE
@chongyangye
Mar 08 2015 03:02
True, that confuse me a lot, also the model which is our DB
Kevin De Asis
@kevindeasis
Mar 08 2015 03:04
I'm not sure how you are gonna make the stuff work with audrey lol
@chongyangye what time are you planning to push to a branch
@audreyx what time are you planning to push to a branch as well
@chongyangye @audreyx do you guys prob need to take a look at each others code before pushing to master or what?
Jeff YE
@chongyangye
Mar 08 2015 03:05
My next push should be tomorrow
If Audrey push earilier, I will fix conflict then push
Kevin De Asis
@kevindeasis
Mar 08 2015 03:06
ok what would be in your push tomorrow?
just so we know where we're at lol
Jeff YE
@chongyangye
Mar 08 2015 03:07
My next push will be post part, the files I modify should be views.py and post html
There is a little bug for post part right now, I will fix it tommorrow
Kevin De Asis
@kevindeasis
Mar 08 2015 03:08
OK cool
OK im pushing tonight then
Jeff YE
@chongyangye
Mar 08 2015 03:08
Ok
Kevin De Asis
@kevindeasis
Mar 08 2015 03:08
@audreyx can I know your status as well
how about bowen?
is he doing image
then pushing tomorrow?
Jeff YE
@chongyangye
Mar 08 2015 03:43
Yes, the part he is doing is load posts to home page, images
Kevin De Asis
@kevindeasis
Mar 08 2015 04:01
oh right please dont delete the forms.py just comment them out when your modifying the model
im going to need all of them for the rest api
audreyx
@audreyx
Mar 08 2015 04:40
Sorry, I stopped working this afternoon for some reason. Now I resume my work. Nothing major to push so far.
Kevin De Asis
@kevindeasis
Mar 08 2015 04:45
ok im pushing
i just finished my 307
now im preparing to do rest framework
oh and type this command pip install djangorestframework
@/all someone check if the master is working. it should be
Kevin De Asis
@kevindeasis
Mar 08 2015 04:56
also if theres any kind of issue please put them in the issue tracker. we get marks for that too
audreyx
@audreyx
Mar 08 2015 04:59
I saw there are a lot of commit it the master branch, so I try to run it, but fail with such error: No module named rest_framework.
And I wonder if your new commit are independent with my branch "friend"?
Jeff YE
@chongyangye
Mar 08 2015 05:07
install rest framwork in the virtualen should work
Kevin De Asis
@kevindeasis
Mar 08 2015 05:09
@audreyx type "pip install djangorestframework"
Kevin De Asis
@kevindeasis
Mar 08 2015 05:17
good job on refactoring the html
audreyx
@audreyx
Mar 08 2015 05:50
Thanks
Kevin De Asis
@kevindeasis
Mar 08 2015 05:59
@audreyx can i get an estimate on when youre planning to push please
audreyx
@audreyx
Mar 08 2015 06:05
I can't answer you because I am still working on it without major progress.
Kevin De Asis
@kevindeasis
Mar 08 2015 06:18
ok
audreyx
@audreyx
Mar 08 2015 06:23
But it will be sometime tomorrow.
Jeff YE
@chongyangye
Mar 08 2015 06:24
after you push to master, give me a notice, i will fix conflict
audreyx
@audreyx
Mar 08 2015 06:29
Okay
Kevin De Asis
@kevindeasis
Mar 08 2015 06:30
hey @chongyangye are you guys planning to do edit user profile too?
audreyx
@audreyx
Mar 08 2015 06:30
Quick question, what is "github username" used for in the register page?
Kevin De Asis
@kevindeasis
Mar 08 2015 06:31
connecting to github. we can do an http auth as well, instead of grabbing their username, but whatever.
Jeff YE
@chongyangye
Mar 08 2015 06:31
yes, we will do that, and delete, modify posts
Just leave it there, we may use it for other use case, if it's useless, we can just remove it
Kevin De Asis
@kevindeasis
Mar 08 2015 06:32
ok
@audreyx i might do an implementation of what youre doing right now.
as a backup.
i need some models right now for my rest interface
but you can delete it tomorrow
audreyx
@audreyx
Mar 08 2015 06:33
Okay
Kevin De Asis
@kevindeasis
Mar 08 2015 06:33
@chongyangye and maybe a version of posts as well.
you guys can delete it. its just the rest interface is working, but doesnt really do much
also, unit testing.
?
Jeff YE
@chongyangye
Mar 08 2015 06:35
Ok
jasonqi77
@jasonqi77
Mar 08 2015 07:29
I will do profile image and post image tmr, mostly will do .html part and I will probably touch post.html home.py and url.py
audreyx
@audreyx
Mar 08 2015 10:02
So far the friend branch can show all friends of the user. I will implement the "delete" and "add friend" functionality on Sunday.
Kevin De Asis
@kevindeasis
Mar 08 2015 13:16
ok please look at models.py thats the easiest way to implement friends
also thats a good way to handle posts as well if you guys want
models.Manager
people can add friends now but it auto matically adds it. so you have to fix it. thats the basic set up
@audreyx you can delete those models, but that is literally the easiest way to do it
by easiest way i mean when we start adding more attributes to each model
we still have no unit testing
Kevin De Asis
@kevindeasis
Mar 08 2015 13:21
@/all ok you guys can organize yourself and ill do nightly builds
ill be working on my other projects in the morning but ill be chatting still
i wont be touching anything till 9pm tonight
audreyx
@audreyx
Mar 08 2015 17:00
@diego04 I keep on working for my friend branch before reading your new code otherwise don't have enough time to finish this part today. After I finished the whole friend thing, I notice you and you might give me some suggestion how to merge them.
Kevin De Asis
@kevindeasis
Mar 08 2015 18:58
you should ve able to merge smoothly if you're branch is up to date @audreyx
audreyx
@audreyx
Mar 08 2015 20:07
"As a user, I can unfriend a friend" finished. Now working on "add friend"
Glenn Meyer
@gmeyer1
Mar 08 2015 23:51
So I just finished
"as a server admin, I want to be able to allow users to sign up but required my OK to finally be on my server"
Took a bit longer than expected and it required quite a few changes to a number of files, including changing the author model. Changes are on the admin branch. If you're creating test users, you need to log into admin, go into author, and click approved for the author you're using. If this is too much of a pain I can change it to auto-approve.