Community Bonding Period
- Explored various options regarding nodejs and non-node frameworks.
- Learnt basics of development with meteor, using templating engines etc.
- Also looked into alternative framework Expressjs.
- Discussed with mentors about the choice of framework.
- Packaged three.js for meteor.
- Ran a simple OBJLoader example in meteor.
- Worked on Authentication Module in meteor
- Wrote LogIn, Registeration, Forgot Password and Reset password form templates.
- Completed the views and helpers for the templates and Added validations to the forms
- Modified the directory structure and read Hacking file again and made edits to my code accordingly.
- Pushed the code to github https://github.com/inderpreetsingh/OGV-meteor. Forgot-password form is now able to send the mails but stuck at an error regarding Reset-Password template.
- Reset-Password error solved, Authentication is complete now.
- Started looking into file upload. Tried a package called dropzone.js. Published my three.js package https://atmospherejs.com/package/ogv-threejs.
- Worked on File Upload module, tried various file upload packages.
- At last settled for packaged named formidable from npm.
- Having done the first milestone, today I explored other frameworks and read more about the technologies involved. Did some work in expressJS.
- Uptil now, I was dealing with file uploader in a separate app, today I ported file uploader to OGV.
- Now we can upload files in OGV, currently any files can be uploaded but will soon change that so that it only accepts .g files.
- Got three.js working with meteor
- File uploader partially completed
Things yet to do
- Improve UI
- Add routers
- The ported file uploader started facing errors, mostly regarding styles. I was unable to apply global bootstrap. I couldn't work much due to some power issues at my home.
- Today, I improved my earlier file-uploader by removing the dependency from formidable and directly use the 'fs' package.
- As I have time, I am still giving Collection-FS a try, so that I don't miss out on anything useful.
- Read about meteor collections, started working on file manager.
- I was unable to work, due to some urgent work at home. Will make up for it by working more in coming time.
- Completed the new file uploader (except validations), and added it into main code. Looking into rendering part and routers.
- Added Basic router file.
- Each user will now have it's own folder and uploaded files go there.
- Added more comments in the code.
- Implemented the file extension check, now only .obj files can be uploaded (will restrict that to .g files when I deal with g-obj conversion)
- A bit stuck on how to pass errors from server to client via meteor.
- File Uploader
- File Uploader
This week I have my final exam on 3rd June and 5th June, So will be busy a bit there.
- Routers integrated, now we have different URLs for log-in, sign-up etc.
- Solved the problem regarding file uploader errors.
- Worked on adding OBJLoader in OGV.
- added minimal file manager
- added models collection, now each user has list of models in database
- created the universal header as I showed in mockup
- Unable to send verification email at sign-up.
- added lovemeter to each model (dummy yet).
- File Manager completed
- Styling of existing components
- Verification email works fine
- uploaded to http://ogv.meteor.com/
- more improvements
- File Manager
- File Manager
- Solved some deployment problems with ogv.meteor.com
- Forgot Password form stopped working, so corrected it.
- Added preloader
- Tried to deploy on my own server (facing problems)
- moved from meteor-router to iron-router
- Corrected some iron-router problems
- Struggling to get OBJLoader working with meteor
- Tried a lot to get files from private folder to load, but failed.
- Put a mail in meteor mailing list about it.
- Added model Viewer, and got it working with OBJLoader. Now we can see the 3d OBJ models rendered in OGV.
- Improved the way model Viewer looks.
- Improved the menu bar (small fix)
- Today I was back to hacking file, and added more comments documentation and cleaned my code.
- Added keyboard controls to the model viewer
- Keyboard controls were not behaving correctly, improved them.
- Added canvas render support so that it can work even where webgl is not working
- Started searching about running system commands with meteor
- Tested the whole app again, and removed few bugs
- Started working on g-obj conversion
- Re-installed latest brl-cad
- Added lovemeter to models (similar to '+1' or 'like')
- Added Minimal g-obj conversion function.
23rd June, 24th June
- Tried Deployment first on the college server, and then on personal digital ocean droplet. I was able to deploy on digital ocean droplet but still faced some issues with uploader, so then deployed using meteor development server where it worked but with glitches. Will work on these issues soon.
- Faced problems with previous file uploader, started using collectionFS.
- New file uploader is almost ready, and I wrote a blog post for my mid term evaluation at http://ishwerdas.com/journal/gsoc-mid-term/
- Was unable to work because of some urgent work at home.
- Completed working on collectionFS.
- Worked on file extension check.
30th June, 1 July, 2 July, 3rd July Did not work much.
- Extension check completed
- Working on better way to show errors
- Tried to understand g-obj conversion
- Started writing a separate server method for converting file
- Need to store files in a separate directory after g-obj conversion. Able to store them, but trying to figure out a way to get a public url of them to view.
- Can store files in a separate directory, but could not find a way to get it's public URL. Till now, I have been working on converting all uploaded g-files at once, also tried to get it working for file whenever it's uploaded.
- Changed the logic of storing .obj files and the .g file in different directory, instead will add a meta information on each obj file that will contain info about which database it belongs.
- Stuck on an error while getting path of the uploaded .g file, won't be able to convert until I get the path.
- Instead of converting files on upload, I will instead now convert files while viewing. This solved the error I was previously facing in converting files. Now g-obj conversion is working.
- Tried to get the converted files in CollectionFS but could not find a way to do it.
- I got a solution in meteor mailing list, which is about using transformWrite handler and creating a new FS.File object for each OBJ file. I have been able to get transformWrite handler working but facing some problems with creating new FS.File object.
- Whenever I created new FS.File object, I got this weird error about meteor fibers. So I learnt more about how "non-blocking" code works and what are meteor fibers but still I could not make it work.
- I posted my problem as issue on CollectionFS github. There, I got another logic to work on. Now instead of transform write I was to work on "stored" listener. https://github.com/CollectionFS/Meteor-CollectionFS/issues/362
- Worked on stored listener, but could not get it to work.
- Asked again on CollectionFS issues, could not get the new "stored" logic to work but was able to solve the error I got in transform write handler.
- Added multiple obj loader to the model_viewer.
- Tested new obj loader with various heavy .g files.
- Improved the conversion, and removed some bugs.
- Tweaked model_viewer to show some big files.
- Tested with various large .g files.
- More testing, laptop hangs at big files.
- Worked a bit on drag and drop uploader
- Added server side converting progress
- Corrected and update the repository.
- Added drag and drop functionality to the uploader.
- Working on user dashboard
- Improved File manager to show only files that have been converted
- Added User roles to the authentication for having admin and normal users.
- Made one default admin user and one default normal user.
- Added User Dashboard and admin templates
- Added config.js, a file that store configuration variables
- Sign up form stopped working, solved that problem.
- Added log-in/log-out buttons in the header
- Started working on concept of models feed, a list of uploaded models with description and option to like, comment and share. Kind of like timeline on facebook.
- Worked on design of model feed.
- Wrote model feed template and views.
- Working on model feed, a bug was introduced in file manager, which I solved.
- Improved dashboard template with extra fields.
- Started working on comments section, designed it, wrote it's template and views and hence added it's collection.
- Comments section completed.
- Improved some dirty code.
- Started working on 'love' button (analogous to like on facebook)
- Wrote templates, views and made love button working.
- Removed a bug from model viewer. Actually model viewer stopped working when we refreshed it. Dig into the problem and solved it.