User:MeShubham99/GSoc15/log development

From BRL-CAD

Here goes my development logs and personal notes

Personal notes

   github branch status
   "login"        -> consisting of email verification+oAuth    [Pull Request SENT]
   "model-viewer" -> consisting of changes in the model viewer [depends on what else needs to be done]
   "feedback"     -> feedback system implementation            [100% done, PR not sent, front-end pending]
   "edit info"    -> edit/rename/delete model                  [50% done]
   "model-upload" -> uploading features                        [not yet started]    

BONDING PERIOD

  • Playing around with meteor framework
  • Getting to know how models are being viewed
  • Updated the production ready plan
  • Talking to Deepak, discussing about work flow
  • Finding resources that would help me develop back-end and go through my milestones
  • Explored three.js. Made a few alterations to the code, and saw the effects on the view. I am particularly
    unhappy the way the models are being viewed. Lacks clarity, color etc.
  • Updated production ready plan after a few words with Sean. Deploying the app as soon as possible
    shall be a top priority.

CODING PERIOD

Week 1

May 25

  • I think I should shift the login portion to the end (after deployment). Otherwise I'll have to do the settings
    twice unnecessarily.
  • I'll work on the model-viewer page this week. Need to talk to Deepak about the front-end, so that we are
    finished with it completely this week.
  • Getting random colors on models. Confused :/. How to handle coloring (definite colors on models).
  • Smoother mouse rotation of camera [DONE] and Removed grids and axes [looks more classy]
  • Had some discussions, I'll get back to login now, from tomorrow then


May 26

  • made a gmail ID by the name ogv.mailer[at]gmail.com. I'll use this Email ID to configure mailgun,and
    hand over the password to the BRL-CAD team.
  • Implemented Email Verification of registered user. Forgot Password working fine. Changed Email templates
  • omniAuth remains. Basic issue would be to verify 3rd party login. Need for some searching
    (nothing impressive seen yet).
  • Maybe I know what to do.

page

May27 - May 29

  • I just went to my cousin's place for a hangout.
  • Tech-fest in college, loads of meetings.
  • Back to OGV from tomorrow

May 30

  • In my searching for the solution I found a repo that has implemented github login, and is working fine there.
    I will be taking some reference from there for sure.
  • Made a sample app and added user accounts in it. Added omniAuth successfully in the sample app.
  • Still confused. It's the only part left in login. I'll need to ask about it from someone.

May 31

  • Its early in the morning. And I found the bug, residing in router.js -_-.
  • omniAuth will be finished by tonight. I am relaxed.
  • Login system of OGV is production ready.
  • User will be removed from DB, if he does not verifies his/her email within x hours.
   Login
   Registering and email verification working fine (done via mailgun)
   Forgot password mails are going as well
   omniAuth added: google and github (facebook after deployment)
   User entry from DB will be deleted if email is not verified within x hours


   Some points to take note of regarding oAuth:
   1. Will require setup of configuration from your side
   2. Therefore, you won't be able to test on localhost until and unless you configure googe/facebook/github.
   3. I'll do the configurations after deployment
   4. The back-end part for omniAuth is complete. (you can ask for a video as well :D)


Week 2

June 1

  • Lazy
  • Larning three.js online editing model techniques and found this great resource. Want to make something like this for the viewer.
    Loads of studying.

June 2

  • Updated proposal both on melange and brlcad-wiki. Was somewhat pending (now fully complete).
  • Added buttons to change view to wireframe, and to add grid/axes to renderer. backend part only. Button GUI is temporary.

June 3

  • Asked for help regarding model viewing, especially colors in object model.
  • Might take some time to respond.
  • Implemented feedback system via formspree.io. Unable to add notification for feedback completion.

June 4

  • Mainly tech fest work
  • Added link to edit model in the my-models page
  • tried adding the delete button for a model. I think code is right, why is it not working is the issue. confused :/

June 5

  • Studying code base, g-obj conversion and other technical stuff
  • Read. Read. Read. The resources provided by Inder and other resources as well.
  • Implemented deleting model. Unable to delete thumbnail associated with it.

June 6

June 7