Difference between revisions of "User:Quentinpaden"

From BRL-CAD
(DevLog 2019)
(July 6 - 10)
(8 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
==May 20th==
 
==May 20th==
 
*Studying Three.js examples of dynamically manipulating the color of a mesh and finding a responsive javascript color picker that works on mobile and all browsers.
 
*Studying Three.js examples of dynamically manipulating the color of a mesh and finding a responsive javascript color picker that works on mobile and all browsers.
 +
*Looking over previously Submitted PR for updating meteor.js and three.js
 +
 +
==May 21th==
 +
*Moving back home from college.
 +
*Getting familiar with the github issue list focus and possible solutions methods
 +
*Testing out SCSS to learn differences compared to CSS
 +
 +
==May 22th==
 +
*Development computer suddenly stopped updating localhost after launching 3D Modeling Applications and Music (Maya, 3DS Max, Blender, iTunes Music Streaming) after work during a break in the day , when attempting to restart/shut down computer operating system ran into a bluescreen and restart to windows update
 +
 +
==May 23th==
 +
*Tried to reinstall windows completely, but my HP laptop with ssd and nvidia gtx is saying I don't have windows license
 +
*C:/ Drive Corrupt when booting up dev computer, worked to transition to cloud development without native java and dev library on local system while
 +
*scheduling computer repair at Best Buy
 +
 +
==May 24th==
 +
*Working on tablet to continue the flow and work
 +
*learning on repository with how I can edit mobile UI
 +
*Development computer getting repaired
 +
 +
==May 25th==
 +
*Working on tablet and mobile UI through learning CSS code and setup on github
 +
*Limited to non development device until repair done
 +
*Constructing cloud development environment to learn while computer getting repaired
 +
 +
==May 26th==
 +
*Working on tablet and mobile UI through learning CSS code and setup on github
 +
*Constructing cloud development environment to learn while computer getting repaired, found API (https://www.theia-ide.org/) and docker  to do full cloud development with local host while computer getting repaired
 +
*Limited options until repair done
 +
 +
==May 27th==
 +
*Working on tablet and mobile UI through learning CSS code and setup on github
 +
*Limited to non development device until repair done
 +
*Trying to get OGV Compiled in the Theia Cloud IDE with Gitpod and Github
 +
 +
==May 28th==
 +
*Succesfully Got OGV Compiled in the Theia Cloud IDE! Kind of buggy/slow in cloud for development but works for now
 +
*Working on mobile vertical screen resolution CSS
 +
 +
==May 29th==
 +
*Working on tablet and mobile UI through learning CSS code and setup on github
 +
*Working on UI, but limited to non development device until repair done
 +
 +
==May 30th==
 +
*Working on tablet and mobile UI through learning CSS code and setup on github
 +
*Limited to non development device until repair done
 +
 +
==May 31th==
 +
*Development device back and ready testing device and getting set up again
 +
*Learning about ZulipChat and learning the best communication methods with BRL-CAD
 +
*Was previously only privately messaging and emailing mentors sparsely to communicate (This was a mistake, I am very sorry for not talking about the sudden computer issues until this day)
 +
 +
==June 1st==
 +
*Development device back and ready testing device and getting set up again with development software and environment
 +
*Studying, doing tutorials, and researching functionality Meteor.js, Three.js, and material UI libraries
 +
 +
==June 2nd==
 +
*Recompiling previous Pull Request with repaired dev environment
 +
*Planning out future updates, checking schedule and looking at issue list
 +
*Realized Authentication Bugs on OGV backend limited a lot with being able to fully see UI functionality
 +
 +
==June 3rd==
 +
*Focusing on fixing Meteor Backend Issues to be able to fix the functionality of authentication and to be able to fix the UI through being able to troubleshoot other pages which require certain authentication clearances
 +
 +
==June 4th==
 +
*Focusing on fixing Meteor Backend Issues to be able to fix the functionality of authentication and to be able to fix the UI through being able to troubleshoot other pages which require certain authentication clearances
 +
*Now combining UI fixes and  authentication fixes and finalizing them
 +
 +
==June 5th==
 +
*Fixed Issue Regarding Meteor Authentication Service Worker Initialization Alert
 +
 +
==June 6th==
 +
*Fixed Meteor Authentication Alert Issue preventing most users from signing in properly after signing up
 +
*Fixed Error Image Loading instead of real image in page initialization
 +
 +
==June 7th==
 +
*Testing 3D object storage due to a BIG issue regarding its persistence on different service workers and accounts
 +
 +
==June 8th==
 +
*Planning to revamp the previous non-persistent mongodb 3d object uploader code due to the 3d objects not loading from the server properly (3d data object persistence issues)
 +
 +
==June 9th==
 +
*Creating a separate cloud storage bucket for OGV Geometry Viewer with Google Cloud CORS setup fixed for 3D files persistence and loading
 +
*Initializing firebase in the code
 +
 +
==June 10th==
 +
*Switching upload process in code to include NEW 3d data upload to firebase storage through anonymous authentication for upload to cloud storage (able to still utilize the old authentication process and transition easily to using other login providers in the future)
 +
*Able to load 3D files from cloud storage when interacting with other profiles and 3d Objects
 +
 +
==June 11th==
 +
*Went ahead and fixed the 404 Page Issue with Meteor Iron-Router
 +
- https://github.com/iron-meteor/iron-router
 +
 +
- 404 Error Page Fix PR: https://github.com/BRL-CAD/OGV-meteor/pull/89
 +
 +
==June 12th==
 +
*Working on error being shown when upload fails for 3d object
 +
- https://github.com/BRL-CAD/OGV-meteor/issues/63
 +
 +
==June 13th==
 +
*Getting closer to load 3D files from cloud storage successfully with CORS from firebase with meteor.js
 +
-https://github.com/BRL-CAD/OGV-meteor/issues/90
 +
 +
==June 14th==
 +
*Fixed 404 Page Issue https://github.com/BRL-CAD/OGV-meteor/pull/89
 +
 +
==June 15th==
 +
*Working on https://github.com/BRL-CAD/OGV-meteor/issues/53 to fix meteor default admin bug, looking into different ways to generate the randomized password serverside on the backend and not clientside on the frontend (may involve using firebase, but preferably an option which does not require adding additional libraries)
 +
 +
==June 16th==
 +
*https://github.com/BRL-CAD/OGV-meteor/issues/62 Looking into the best loading bar CSS to use for the upload bar component on https://loading.io/progress/ and testing out making a custom upload component from it to incorporate in metoer.js client
 +
 +
==June 17th==
 +
*https://github.com/BRL-CAD/OGV-meteor/issues/58  Working on CSS code improvements along with making a custom upload bar component from CSS
 +
 +
==June 18th==
 +
*Still Researching into https://github.com/BRL-CAD/OGV-meteor/issues/53 to fix meteor default admin bug on serverside without the security being able to be compromised on the clientside. May have to use third party authentication library to help
 +
 +
==June 19th==
 +
*Able to load OBJ files with CORS server settings set properly, now testing and making sure the other default upload file work as well
 +
-https://github.com/BRL-CAD/OGV-meteor/issues/90
 +
 +
==June 20th==
 +
*Successfully loading other 3d filetypes with CORS Google Cloud settings, not feeling to well but looking towards submitting a Pull Request this weeknd
 +
-https://github.com/BRL-CAD/OGV-meteor/issues/90
 +
 +
==June 21th==
 +
*Successfully loading other 3d filetypes with CORS Google Cloud settings, not feeling to well but looking towards submitting a Pull Request this weeknd
 +
-https://github.com/BRL-CAD/OGV-meteor/issues/90
 +
 +
==June 22th==
 +
*Researching Meteor and working on the 404 Fix issue over the weekend
 +
-https://github.com/BRL-CAD/OGV-meteor/pull/89
 +
 +
==June 23th==
 +
*Researching Iron-Router to be able to fix the pull request over the weekend
 +
-https://github.com/BRL-CAD/OGV-meteor/pull/89
 +
 +
==June 24th==
 +
*Submitted 3 Commits on the PR to recreate the 404 page properly and display it in the right place fixing most of the problem, now the link in the text to go back to the landing page doesnt work half of the time, trying other options
 +
 +
*I added the 404 page template to the error.html because error.html, error.js, and error.css control the 404 pages right now, and not all errors. Errors right now are actually controlled by alert notifications which I have to fix as well soon, because some of them come up at the wrong time, or are too intrusive.
 +
 +
*When researching further into app.js and the relation 404.html has to it, the error.js is set as the default redirect and not 404.html. I believe the error.js implementation is actually set up as the 404 page due to how the set it up in Meteor in app.js
 +
 +
*To quickly solve this, I added the 404.html to the error.js, error.html to not break the routing with iron-router and fixed some style to center the content.
 +
 +
-https://github.com/BRL-CAD/OGV-meteor/pull/89/commits
 +
 +
==June 25th==
 +
*Through looking into the parent-child div relationship I was able to find out that the SVG clouds zindex inside the parent div was preventing the href link from working on the text, I went ahead and reorganized the layout for the 404 through centering it and properly creating a new transparent div for the text so it is interactive. This link for the 404 now works 100%
 +
- https://github.com/BRL-CAD/OGV-meteor/pull/89/commits
 +
 +
==June 26th==
 +
*Preparing the BRL-CAD OGV library for public hosting to more easily show my mentors
 +
*Creating another internal branch specifically for hosting as a Droplet in digital ocean or a hosted site on firebase (looking primarily into firebase)
 +
 +
==June 27th==
 +
*Realized model loading and and 404 are linked to the same routing, discussing about separating the routing so model loading errors and 404 page are separated the right way.
 +
 +
*Hosting site on firebase, getting ready to share it publicly with BRL-CAD
 +
 +
==June 28th==
 +
*@Sean and some others wanted to see the site public, so I tried to look into an AWS and Digital ocean solution, but when I set up the dependencies and tried to deploy, they wanted to charge me, I tried looking for other solutions during the weekend
 +
 +
==June 29th==
 +
*Looking into another solution for Meteor deployment (ZEIT)
 +
*Setting up ZEIT dependency to try to deploy
 +
 +
==July 1st==
 +
*ZEIT deployment not working because newer v2 version of ZEIT stopped working with Meteor.js + MongoDB deployments
 +
*Had discussion with mentors about deployment, refocusing on backend issues and as mentors advised leave more of the frontend and deployment to mentors
 +
 +
*Refocusing on https://github.com/BRL-CAD/OGV-meteor/projects/1#column-2250873 backend issues highly suggested and reccomended by my mentors @Panda @Inder
 +
 +
==July 2nd==
 +
*Opened pull request for https://github.com/BRL-CAD/OGV-meteor/pull/91
 +
* Realized that Meteor.Settings was able to be set external, so I am focusing a solution around that
 +
 +
==July 3rd==
 +
*Working on a better solution for https://github.com/BRL-CAD/OGV-meteor/pull/91/files which involves not settings the Meteor.Settings again directly, pulling the previous meteor settings into the solution and organizing the code solution more
 +
 +
==July 4th==
 +
* National Holiday, submitted some more changes for https://github.com/BRL-CAD/OGV-meteor/pull/91/files but am reviewing https://github.com/BRL-CAD/OGV-meteor/pull/91/commits more to see how the solution can be more effiecient
 +
 +
==July 5th==
 +
* Told by mentor that I should use admin@example.com to test the admin account, this was not directly mentioned in the issue, but I should have tested that with the randomized admin password. Looking more into testing the admin example account with the randomized password, but me and mentor are getting "incorrect login" errors so we are refactoring the solution and issue to count for that
 +
 +
==July 6th==
 +
* Working on solution for issue involving Meteor.Settings being properly set, looking into other Meteor Account functions to use on the admin account
 +
 +
==July 7th==
 +
* Found a function to set the password, but trying to understand more about why the initial way was not working with testing and logs to see when it pulls up incorrect password
 +
 +
==July 8th==
 +
* Stuck on why it's not taking the correct password still, doing some more testing and understanding https://github.com/BRL-CAD/OGV-meteor/issues/53 with my mentors
 +
 +
==July 9th==
 +
* Taking a break on issue to look at other PR, I'm currently working on https://github.com/BRL-CAD/OGV-meteor/pull/89 to find out more where the routing is connected too in iron-router
 +
 +
==July 10th==
 +
* I have fixed https://github.com/BRL-CAD/OGV-meteor/issues/53 finally!
 +
 +
https://github.com/BRL-CAD/OGV-meteor/pull/91/files#diff-85207ec3ffd02327adfb13aec22778a2
 +
 +
Config.json (really settings.json) described in the issue description doesn't really have much to do with the core issue, The main issue consisted of finding a way to get the user Id without knowing the userId at all, finding the admin account and getting the function for setting the password to work to allow the admin to see the randomly generated password each time in dev console to sign in.
 +
 +
What was taking me so long and frustrating me was that it kept telling me incorrect password for the sign in after setting the password multiple ways, but it actually had an extra space at the beggining for the admin password which was confusing me so I fixed that and now everything works
 +
 +
Getting the userId for the admin to set the password or any user when you don't have the userId saved is a bit hard. I had to get the userID from creating logs at a specific place in explore.js when exploring models in the client.

Revision as of 04:40, 11 July 2019

Personal Information

Student Name Quentin Paden
IRC nickname quentinpaden
Email qmpaden@gmail.com
Time Zone EST

Coummunity Bonding Period

  • Spoke with mentor about tasks on Github
  • Set up the development environment.
  • Start to look at the other libraries in the organization.
  • Discuss with mentors and community.

May 20th

  • Studying Three.js examples of dynamically manipulating the color of a mesh and finding a responsive javascript color picker that works on mobile and all browsers.
  • Looking over previously Submitted PR for updating meteor.js and three.js

May 21th

  • Moving back home from college.
  • Getting familiar with the github issue list focus and possible solutions methods
  • Testing out SCSS to learn differences compared to CSS

May 22th

  • Development computer suddenly stopped updating localhost after launching 3D Modeling Applications and Music (Maya, 3DS Max, Blender, iTunes Music Streaming) after work during a break in the day , when attempting to restart/shut down computer operating system ran into a bluescreen and restart to windows update

May 23th

  • Tried to reinstall windows completely, but my HP laptop with ssd and nvidia gtx is saying I don't have windows license
  • C:/ Drive Corrupt when booting up dev computer, worked to transition to cloud development without native java and dev library on local system while
  • scheduling computer repair at Best Buy

May 24th

  • Working on tablet to continue the flow and work
  • learning on repository with how I can edit mobile UI
  • Development computer getting repaired

May 25th

  • Working on tablet and mobile UI through learning CSS code and setup on github
  • Limited to non development device until repair done
  • Constructing cloud development environment to learn while computer getting repaired

May 26th

  • Working on tablet and mobile UI through learning CSS code and setup on github
  • Constructing cloud development environment to learn while computer getting repaired, found API (https://www.theia-ide.org/) and docker to do full cloud development with local host while computer getting repaired
  • Limited options until repair done

May 27th

  • Working on tablet and mobile UI through learning CSS code and setup on github
  • Limited to non development device until repair done
  • Trying to get OGV Compiled in the Theia Cloud IDE with Gitpod and Github

May 28th

  • Succesfully Got OGV Compiled in the Theia Cloud IDE! Kind of buggy/slow in cloud for development but works for now
  • Working on mobile vertical screen resolution CSS

May 29th

  • Working on tablet and mobile UI through learning CSS code and setup on github
  • Working on UI, but limited to non development device until repair done

May 30th

  • Working on tablet and mobile UI through learning CSS code and setup on github
  • Limited to non development device until repair done

May 31th

  • Development device back and ready testing device and getting set up again
  • Learning about ZulipChat and learning the best communication methods with BRL-CAD
  • Was previously only privately messaging and emailing mentors sparsely to communicate (This was a mistake, I am very sorry for not talking about the sudden computer issues until this day)

June 1st

  • Development device back and ready testing device and getting set up again with development software and environment
  • Studying, doing tutorials, and researching functionality Meteor.js, Three.js, and material UI libraries

June 2nd

  • Recompiling previous Pull Request with repaired dev environment
  • Planning out future updates, checking schedule and looking at issue list
  • Realized Authentication Bugs on OGV backend limited a lot with being able to fully see UI functionality

June 3rd

  • Focusing on fixing Meteor Backend Issues to be able to fix the functionality of authentication and to be able to fix the UI through being able to troubleshoot other pages which require certain authentication clearances

June 4th

  • Focusing on fixing Meteor Backend Issues to be able to fix the functionality of authentication and to be able to fix the UI through being able to troubleshoot other pages which require certain authentication clearances
  • Now combining UI fixes and authentication fixes and finalizing them

June 5th

  • Fixed Issue Regarding Meteor Authentication Service Worker Initialization Alert

June 6th

  • Fixed Meteor Authentication Alert Issue preventing most users from signing in properly after signing up
  • Fixed Error Image Loading instead of real image in page initialization

June 7th

  • Testing 3D object storage due to a BIG issue regarding its persistence on different service workers and accounts

June 8th

  • Planning to revamp the previous non-persistent mongodb 3d object uploader code due to the 3d objects not loading from the server properly (3d data object persistence issues)

June 9th

  • Creating a separate cloud storage bucket for OGV Geometry Viewer with Google Cloud CORS setup fixed for 3D files persistence and loading
  • Initializing firebase in the code

June 10th

  • Switching upload process in code to include NEW 3d data upload to firebase storage through anonymous authentication for upload to cloud storage (able to still utilize the old authentication process and transition easily to using other login providers in the future)
  • Able to load 3D files from cloud storage when interacting with other profiles and 3d Objects

June 11th

  • Went ahead and fixed the 404 Page Issue with Meteor Iron-Router

- https://github.com/iron-meteor/iron-router

- 404 Error Page Fix PR: https://github.com/BRL-CAD/OGV-meteor/pull/89

June 12th

  • Working on error being shown when upload fails for 3d object

- https://github.com/BRL-CAD/OGV-meteor/issues/63

June 13th

  • Getting closer to load 3D files from cloud storage successfully with CORS from firebase with meteor.js

-https://github.com/BRL-CAD/OGV-meteor/issues/90

June 14th

June 15th

  • Working on https://github.com/BRL-CAD/OGV-meteor/issues/53 to fix meteor default admin bug, looking into different ways to generate the randomized password serverside on the backend and not clientside on the frontend (may involve using firebase, but preferably an option which does not require adding additional libraries)

June 16th

June 17th

June 18th

  • Still Researching into https://github.com/BRL-CAD/OGV-meteor/issues/53 to fix meteor default admin bug on serverside without the security being able to be compromised on the clientside. May have to use third party authentication library to help

June 19th

  • Able to load OBJ files with CORS server settings set properly, now testing and making sure the other default upload file work as well

-https://github.com/BRL-CAD/OGV-meteor/issues/90

June 20th

  • Successfully loading other 3d filetypes with CORS Google Cloud settings, not feeling to well but looking towards submitting a Pull Request this weeknd

-https://github.com/BRL-CAD/OGV-meteor/issues/90

June 21th

  • Successfully loading other 3d filetypes with CORS Google Cloud settings, not feeling to well but looking towards submitting a Pull Request this weeknd

-https://github.com/BRL-CAD/OGV-meteor/issues/90

June 22th

  • Researching Meteor and working on the 404 Fix issue over the weekend

-https://github.com/BRL-CAD/OGV-meteor/pull/89

June 23th

  • Researching Iron-Router to be able to fix the pull request over the weekend

-https://github.com/BRL-CAD/OGV-meteor/pull/89

June 24th

  • Submitted 3 Commits on the PR to recreate the 404 page properly and display it in the right place fixing most of the problem, now the link in the text to go back to the landing page doesnt work half of the time, trying other options
  • I added the 404 page template to the error.html because error.html, error.js, and error.css control the 404 pages right now, and not all errors. Errors right now are actually controlled by alert notifications which I have to fix as well soon, because some of them come up at the wrong time, or are too intrusive.
  • When researching further into app.js and the relation 404.html has to it, the error.js is set as the default redirect and not 404.html. I believe the error.js implementation is actually set up as the 404 page due to how the set it up in Meteor in app.js
  • To quickly solve this, I added the 404.html to the error.js, error.html to not break the routing with iron-router and fixed some style to center the content.

-https://github.com/BRL-CAD/OGV-meteor/pull/89/commits

June 25th

  • Through looking into the parent-child div relationship I was able to find out that the SVG clouds zindex inside the parent div was preventing the href link from working on the text, I went ahead and reorganized the layout for the 404 through centering it and properly creating a new transparent div for the text so it is interactive. This link for the 404 now works 100%

- https://github.com/BRL-CAD/OGV-meteor/pull/89/commits

June 26th

  • Preparing the BRL-CAD OGV library for public hosting to more easily show my mentors
  • Creating another internal branch specifically for hosting as a Droplet in digital ocean or a hosted site on firebase (looking primarily into firebase)

June 27th

  • Realized model loading and and 404 are linked to the same routing, discussing about separating the routing so model loading errors and 404 page are separated the right way.
  • Hosting site on firebase, getting ready to share it publicly with BRL-CAD

June 28th

  • @Sean and some others wanted to see the site public, so I tried to look into an AWS and Digital ocean solution, but when I set up the dependencies and tried to deploy, they wanted to charge me, I tried looking for other solutions during the weekend

June 29th

  • Looking into another solution for Meteor deployment (ZEIT)
  • Setting up ZEIT dependency to try to deploy

July 1st

  • ZEIT deployment not working because newer v2 version of ZEIT stopped working with Meteor.js + MongoDB deployments
  • Had discussion with mentors about deployment, refocusing on backend issues and as mentors advised leave more of the frontend and deployment to mentors

July 2nd

July 3rd

July 4th

July 5th

  • Told by mentor that I should use admin@example.com to test the admin account, this was not directly mentioned in the issue, but I should have tested that with the randomized admin password. Looking more into testing the admin example account with the randomized password, but me and mentor are getting "incorrect login" errors so we are refactoring the solution and issue to count for that

July 6th

  • Working on solution for issue involving Meteor.Settings being properly set, looking into other Meteor Account functions to use on the admin account

July 7th

  • Found a function to set the password, but trying to understand more about why the initial way was not working with testing and logs to see when it pulls up incorrect password

July 8th

July 9th

July 10th

https://github.com/BRL-CAD/OGV-meteor/pull/91/files#diff-85207ec3ffd02327adfb13aec22778a2

Config.json (really settings.json) described in the issue description doesn't really have much to do with the core issue, The main issue consisted of finding a way to get the user Id without knowing the userId at all, finding the admin account and getting the function for setting the password to work to allow the admin to see the randomly generated password each time in dev console to sign in.

What was taking me so long and frustrating me was that it kept telling me incorrect password for the sign in after setting the password multiple ways, but it actually had an extra space at the beggining for the admin password which was confusing me so I fixed that and now everything works

Getting the userId for the admin to set the password or any user when you don't have the userId saved is a bit hard. I had to get the userID from creating logs at a specific place in explore.js when exploring models in the client.