Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
02120f5
set up angular and devise
schoetlr Oct 12, 2016
2bd90c4
custom devise login redirects and table columns
schoetlr Oct 13, 2016
023dd57
set up boards abstract and index state + link to bootstrap
schoetlr Oct 13, 2016
fb92f95
show board creating form
schoetlr Oct 13, 2016
026e7ac
create board
schoetlr Oct 13, 2016
58bb46e
show board when select changes
schoetlr Oct 13, 2016
61b6995
create lists
schoetlr Oct 13, 2016
ab2415c
delete list
schoetlr Oct 13, 2016
cd2c42c
show input when clicked
schoetlr Oct 13, 2016
aa171f6
update list in place
schoetlr Oct 13, 2016
0df35b0
cards directive set up
schoetlr Oct 14, 2016
e597fad
create cards
schoetlr Oct 14, 2016
28fe068
get modal to show up on click
schoetlr Oct 14, 2016
238f1b1
update card in place
schoetlr Oct 14, 2016
51076fe
fix list editing bug
schoetlr Oct 14, 2016
70297d3
mark cards completed
schoetlr Oct 14, 2016
15600c8
add member
schoetlr Oct 14, 2016
0ff607f
set up controllers for activity
schoetlr Oct 14, 2016
caf7387
show activity
schoetlr Oct 14, 2016
1e90973
change action to text
schoetlr Oct 14, 2016
a9d719b
change action
schoetlr Oct 14, 2016
ff803c8
see boards you are a member of
schoetlr Oct 15, 2016
b334d2e
can change card list with small bug
schoetlr Oct 15, 2016
d0c5337
no more dragndrop the plug in is too lightweight,need to remove files…
schoetlr Oct 15, 2016
5da9dfd
set up for angular-dragdrop
schoetlr Oct 15, 2016
d2caedc
set up with angular-sortable-view again
schoetlr Oct 16, 2016
c51501b
sort cards wo saving to database
schoetlr Oct 16, 2016
3f657b6
sort wo backend for it
schoetlr Oct 16, 2016
7e3e590
switch lists
schoetlr Oct 16, 2016
74176af
persist card order in database
schoetlr Oct 16, 2016
4b8195b
set up for heroku
schoetlr Oct 16, 2016
c58a827
small style changes and remove debugging info
schoetlr Oct 16, 2016
1281234
read me update
schoetlr Oct 16, 2016
f55ff55
style change
schoetlr Oct 16, 2016
db375dc
header
schoetlr Oct 17, 2016
789eb27
change seeds for production
schoetlr Oct 17, 2016
f4f47df
fix seed name
schoetlr Oct 17, 2016
46edc8a
remove modal service to test for minification error
schoetlr Oct 17, 2016
8ef9d72
put modal service back since it made 0 difference
schoetlr Oct 17, 2016
5a0c01f
try with restangular
schoetlr Oct 17, 2016
e03533b
put restangular back, error message changed to reference it specifica…
schoetlr Oct 17, 2016
054d70c
change production config
schoetlr Oct 17, 2016
dffb3ba
up to date
schoetlr Oct 17, 2016
cd21a0a
loading test
schoetlr Oct 17, 2016
fb4da3e
hide loading
schoetlr Oct 17, 2016
e535cb7
form-control
schoetlr Oct 22, 2016
a432e5a
change nav text color
schoetlr Oct 22, 2016
60d9c2b
authenticate logged in for all controllers
schoetlr Oct 23, 2016
8d3dcd8
much better auth for all controllers
schoetlr Oct 23, 2016
bd4f36a
change some comments
schoetlr Oct 24, 2016
1705d85
update comments
schoetlr Oct 24, 2016
3e20d02
remove debugging
schoetlr Oct 24, 2016
990a0a5
fix DOM updating bug
schoetlr Oct 25, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .byebug_history
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
c
params[:list]
params[:list][:id]
params
@board
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp
59 changes: 59 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
source 'https://rubygems.org'

ruby '2.3.0'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.6'
# Use sqlite3 as the database for Active Record

# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc


gem 'angularjs-rails'
gem 'angular_rails_csrf'

gem 'devise'

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :production do
gem 'pg'
gem 'rails_12factor'
end

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
gem 'sqlite3'
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'



# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end

187 changes: 187 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.6)
actionpack (= 4.2.6)
actionview (= 4.2.6)
activejob (= 4.2.6)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.6)
actionview (= 4.2.6)
activesupport (= 4.2.6)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.6)
activesupport (= 4.2.6)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.6)
activesupport (= 4.2.6)
globalid (>= 0.3.0)
activemodel (4.2.6)
activesupport (= 4.2.6)
builder (~> 3.1)
activerecord (4.2.6)
activemodel (= 4.2.6)
activesupport (= 4.2.6)
arel (~> 6.0)
activesupport (4.2.6)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
angular_rails_csrf (2.0.0)
railties (>= 3, < 5.1)
angularjs-rails (1.5.6)
arel (6.0.3)
bcrypt (3.1.11)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.6)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
concurrent-ruby (1.0.2)
debug_inspector (0.0.2)
devise (4.2.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.1)
responders
warden (~> 1.2.3)
erubis (2.7.0)
execjs (2.7.0)
globalid (0.3.7)
activesupport (>= 4.1.0)
i18n (0.7.0)
jbuilder (2.6.0)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-rails (4.2.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.9.1)
multi_json (1.12.1)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
orm_adapter (0.5.0)
pg (0.18.4)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.6)
actionmailer (= 4.2.6)
actionpack (= 4.2.6)
actionview (= 4.2.6)
activejob (= 4.2.6)
activemodel (= 4.2.6)
activerecord (= 4.2.6)
activesupport (= 4.2.6)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.6)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (4.2.6)
actionpack (= 4.2.6)
activesupport (= 4.2.6)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (11.3.0)
rdoc (4.2.2)
json (~> 1.4)
responders (2.3.0)
railties (>= 4.2.0, < 5.1)
sass (3.4.22)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.2)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
spring (2.0.0)
activesupport (>= 4.2)
sprockets (3.7.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.12)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (3.0.2)
execjs (>= 0.3.0, < 3)
warden (1.2.6)
rack (>= 1.0)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)

PLATFORMS
ruby

DEPENDENCIES
angular_rails_csrf
angularjs-rails
byebug
coffee-rails (~> 4.1.0)
devise
jbuilder (~> 2.0)
jquery-rails
pg
rails (= 4.2.6)
rails_12factor
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
spring
sqlite3
uglifier (>= 1.3.0)
web-console (~> 2.0)

RUBY VERSION
ruby 2.3.0p0

BUNDLED WITH
1.12.5
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# assignment_djello
Project management with that great wobbly taste.
Djello

A full stack Project Management app.

Luke Schoettinger/schoetlr


Live at https://warm-plains-38670.herokuapp.com
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks
Empty file added app/assets/images/.keep
Empty file.
62 changes: 62 additions & 0 deletions app/assets/javascripts/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
var app = angular.module('app', ['ui.router', 'restangular', 'angularModalService', 'angular-sortable-view']);



app.config([
"$httpProvider",
function($httpProvider) {
var token = $('meta[name=csrf-token]').attr('content');
$httpProvider.defaults.headers.common['X-CSRF-Token'] = token;
}
]);

app.config([
'RestangularProvider',
function(RestangularProvider) {


RestangularProvider.setRequestSuffix('.json');
RestangularProvider.setDefaultHttpFields({"content-type": "application/json"});
}
]);



app.config(function($stateProvider, $urlRouterProvider){

$urlRouterProvider.otherwise("/");

$stateProvider
.state("boards", {
url: "/",
abstract: true,
template: '<div ui-view></div>'
})


.state("boards.index", {
url: "",
templateUrl: "/templates/boards/index.html",
controller: "BoardsCtrl"
})

.state("boards.show", {
url: ":id",
templateUrl: "/templates/boards/show.html",
controller: "BoardCtrl"
})
})











app.factory("_", ['$window', function($window){
return $window._;
}]);
26 changes: 26 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require bootstrap.js
//= require jquery-ui.min.js

//= require angular
//= require angular-ui-router.min.js
//= require underscore-min.js
//= require restangular.min.js
//= require angular-modal-service.js
//= require angular-sortable-view.min.js


//= require_tree .
3 changes: 3 additions & 0 deletions app/assets/javascripts/boards.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/card_memberships.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
3 changes: 3 additions & 0 deletions app/assets/javascripts/cards.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
Loading