Skip to content

History August 2013

Gant Laborde edited this page Aug 29, 2013 · 14 revisions

Project Path

Return to Full Project History

--> COMMIT PROJECT

  • Added cool tabs for Team/Member info on Events

--> Project Point

  • Added omniauth and omniauth-facebook gems

    $ rails g migration AddOauthColumnsToUsers provider uid

    $ rake db:migrate

  • Signed up with Facebook, and got an AppID

    • App Name: "TeamWeb"
    • App Namespace: "facebookteamweb"
    • App Category: "Communication"
  • Modified devise.rb to add facebook provider

  • Added omniauthable module to devise user

  • Ran rake routes to see new omniauth paths work

  • Modified config/routes.rb devise path for callbacks devise_for :users, controllers: { omniauth_callbacks: "users/omniauth_callbacks"}

  • Added app/controllers/users/omniauth_callbacks_controller.rb file to capture callbacks

  • Added find or create for OAuth users in User model

  • Added override to new_with_session for copying data when initialized before sign up in User model

  • Added Warning for Developers not to try the Facebook login

  • Moved Keys to Figaro and set new Secret on Prod

  • Commits and more found at completed issue # 21

--> Project Point

  • Added really cool background and styled things a little.

--> Project Point

  • Stuff for issue #20

  • Added migration of Members and Teams allow

    $ rails g migration AddMemberAndTeamsBooleansToEvents members_allowed:boolean teams_allowed:boolean

  • Added Max Teams and Max Team Size

    $rails g migration AddMaxTeamsAndMaxTeamSizeToEvents max_teams:integer max_team_size:integer

  • Added tests and jQuery to the forms for proper selection

--> Project Point

  • Added PEEK to make awesome Peek bar on site Commit here

--> Project Point

  • Matt begins versioned API via modules

--> Project Point

Large refactor of Issue #27

$ rails g scaffold Season organization:references name start:date end:date members_allowed:boolean max_members:integer teams_allowed:boolean max_teams:integer max_team_size:integer

  • Set defaults and nulls on fields that are mandatory
  • Generate a migration to remove these columns from Events, and give events a season_id
  • Generate migration to remove index from Teams, and point it at season_id with index
  • Create Matchup model
  • Setup has many matchup, and has_many through matchup

$ rails g model Matchup event:references team:references
$ rake db:migrate

  • Adjust Routes to fit new workflow
  • Fix Countless other spots VIEWABLE HERE

--> project point

Added simplecov, and referenced it on README.md

Initial coverage was at 91% with rake test:all.

Token Authentication for API access is added and tested.

--> Project Point

Refactored Members as Module Mixin with Rails 4 concern - Covered in issue #33

--> Commit Project

Added wysihtml5 rails gem: For Issue #34

  • Added CSS in app/assets/stylesheets/application.css with code *= require bootstrap-wysihtml5
  • Added JS in app/assets/javascripts/application.js with code //= require bootstrap-wysihtml5
  • added jQuery on load to make all .wysihtml5 automatically call
  • added .wysihtml5 classes to about text boxes in Event/Org forms
  • Tests for class names

--> Commit Project

Clone this wiki locally