d3orn/hikomsys

ProjectsController Store

Opened this issue · 4 comments

improve the store method by adding some database rules instead of fetching sha and url and comparing them

need testing and refactor big if into seperate methode parseProject() see pcStore branch

I'd like to have a pair-debugging/refactoring session for this issue^^

after the project gets added redirect to the projectpage

validation and existingProject factor out, projectcreation refactoring to the create function of the projectmodel, remove the 'project allready in your system' message, move parseproject to project model, random & 'mongoname' getter into project model