[Fixes #72501320] Set up Angular MVW

Update secrets.yml

Added secret_key_base for staging environment.

add api

not finished

add rails resource,
setup skim

add angularjs people & profile pages

Add Affiliation model

[Refs #72499862]

Add user - affiliation relationship

Added many-to-many relationship for users/affiliations.
Join table created.

Add select for affiliations on the welcome page

[Refs #72499862]

Add professional info to User model

[Refs #72499862]
Added fields:
* company_name
* homepage
* professional_affiliation
* about_me
* education

Add bootstrap

[#72499862]

Required bootstrap in application.css

Add professional info fields to the sign up form

[Refs #72499862]

Add Profession model

[Refs #72499862]

Generated Profession model, migrated the database.

Add user-profession relationship

[Refs #72499862]
Added many-to-many user/profession relationship.
Created join table, migrated db.

Update welcome.html.slim

[Refs #72499862]

Changed the layout a bit, added input for professions.

Update users_controller

[Refs #72499862]

Made profession ids a permitted field.

Add ProfilePicture to User

[Refs #72499862]
Generated ProfilePicture uploader, generated required migrations,
migrated the db.

Update .gitignore

[Refs #72499862]

Added /public/uploads folder to .gitignore

Update UsersController, 'welcome' layout

[Refs #72499862]

Added file_field to the layout, made profile_picture a permitted param.

Add Country model

[Refs #72499862]

Generated Country model, established association between Users and
Countries, added country select on the ‘welcome’ page.

Add Link model

Created new model, that keeps user’s links to social sites

Update UsersController

[Refs #72499862]

Updated UsersController to accept links,
updated User model (has_one :link)

Update Gemfile

Updated rspec to 3.0.1

Generate rspec helpers

[Refs #72499862]

Update user.rb

add some rspec stuff

Add User tests

[Refs #72499862]

Added some tests for User validations,
added validations for required fields (first, last name, handle,
birthdate, gender)

Add indexes for User

[Refs #72499862]

Added indexes for Users table (handle) and join tables
(affiliations_users, professions_users).

Update sign up page

[Refs #72499862]

Added some bootstrap things to the sign up page.

Update UsersController

[Finished #72499862]

Added redirect to the show action after finishing registration.

Generate UserMailer

[Refs #72499504]

Add welcome method to UserMailer

[Refs #72499504]

Added #welcome method, created welcome mail template.

Update RegistrationsController spec

[Refs #72499504]

Added test for #create action. Test checks if welcome mail for user was
sent.

Update registraions_controller_spec

[Refs #72499504]

Refactored spec a bit.

Update routes.rb

[Refs #72499504]

Put resources :users after devise_for.

Update mailer config

[Refs #72499504]

Added smtp settings, added gmail_name/password to secrets.yml

Update controller_spec, routes

[Refs #72499862]
Changed syntax.

Update reset password/sign in layouts

[Refs #72499404]

Updated layouts, added reset_password_instructions to UserMailer.

add api

not finished

add rails resource,
setup skim

add angularjs people & profile pages

restore rspec for api

finish profile page
[Finishes #72500092]