d3orn / hikomsys

hikomsys
3 stars 1 forks source link

ProjectsController Store #22

Open d3orn opened 10 years ago

d3orn commented 10 years ago

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

d3orn commented 10 years ago

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

d3orn commented 10 years ago

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

d3orn commented 10 years ago

after the project gets added redirect to the projectpage

d3orn commented 10 years ago

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