[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]
# This is a combination of 26 commits.
# The first commit's message is:
[Fixes #72501320] Set up Angular MVW

# This is the 2nd commit message:

Update secrets.yml

Added secret_key_base for staging environment.

# This is the 3rd commit message:

add api

# This is the 4th commit message:

not finished

# This is the 5th commit message:

add rails resource,
setup skim

# This is the 6th commit message:

add angularjs people & profile pages

# This is the 7th commit message:

Add Affiliation model

[Refs #72499862]

# This is the 8th commit message:

Add user - affiliation relationship

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

# This is the 9th commit message:

Add select for affiliations on the welcome page

[Refs #72499862]

# This is the 10th commit message:

Add professional info to User model

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

# This is the 11th commit message:

Add bootstrap

[#72499862]

Required bootstrap in application.css

# This is the 12th commit message:

Add professional info fields to the sign up form

[Refs #72499862]

# This is the 13th commit message:

Add Profession model

[Refs #72499862]

Generated Profession model, migrated the database.

# This is the 14th commit message:

Add user-profession relationship

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

# This is the 15th commit message:

Update welcome.html.slim

[Refs #72499862]

Changed the layout a bit, added input for professions.

# This is the 16th commit message:

Update users_controller

[Refs #72499862]

Made profession ids a permitted field.

# This is the 17th commit message:

Add ProfilePicture to User

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

# This is the 18th commit message:

Update .gitignore

[Refs #72499862]

Added /public/uploads folder to .gitignore

# This is the 19th commit message:

Update UsersController, 'welcome' layout

[Refs #72499862]

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

# This is the 20th commit message:

Add Country model

[Refs #72499862]

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

# This is the 21st commit message:

Add Link model

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

# This is the 22nd commit message:

Update UsersController

[Refs #72499862]

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

# This is the 23rd commit message:

Update Gemfile

Updated rspec to 3.0.1

# This is the 24th commit message:

Generate rspec helpers

[Refs #72499862]

# This is the 25th commit message:

Update user.rb

# This is the 26th commit message:

add some rspec stuff
made few fixes
Merge pull request #9 from Design-Collective/chore/view-user-pages-72500092

Chore/view user pages 72500092
Merge branch 'development' into ft/post-status-update-72499428