Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
58bd21d
more sponsors and added activeadmin js
Aug 29, 2014
2856fc6
slight changes to home and form
Aug 29, 2014
fb9b8ca
added activeadmin js
Aug 30, 2014
060e69e
changed production config
Aug 30, 2014
6dcf3ce
turned off activeadmin custom js in config
Aug 30, 2014
10a840e
precompile assets
Aug 30, 2014
b74ec16
halp
Aug 30, 2014
fb48da2
wtf
Aug 30, 2014
9d44519
center partners
Aug 31, 2014
90151fe
added justin as paypal dev evang
Aug 31, 2014
a9267d8
remove bios
Aug 31, 2014
7a281a7
added more tech mentor images
Aug 31, 2014
e96eb1a
readd non-profit expert profile pictures
Aug 31, 2014
4a01ad4
updated media page
Aug 31, 2014
7ec97dc
prizes page finished
Aug 31, 2014
e03078a
update media page design
Aug 31, 2014
f5fd9ac
added margin on bottom of gallery iframes
Aug 31, 2014
9b9233e
fixed a tag color and hover
Aug 31, 2014
9d21e0d
3 columns of photo galleries
Aug 31, 2014
2db1fdf
revert gallery to 2 column
Aug 31, 2014
58d8ec5
winners page done
Aug 31, 2014
5aea147
fixed angular bug
u-jo Sep 1, 2014
97f406e
slight error with winners template
Sep 1, 2014
c4d1dfa
gallery 3 column
Sep 2, 2014
b913fba
center menter challenge banner
Sep 2, 2014
5ea237b
remove image hover
Sep 2, 2014
7750123
maps page
Sep 2, 2014
fd33704
text center banner instructors
Sep 2, 2014
1e81dc1
renamed logan's picture and 2 column course page
Sep 2, 2014
3148f48
inline all date information for crash courses
Sep 2, 2014
22383fb
further design changes for crash course page
Sep 2, 2014
912d861
fuck the schedule of events, we're gonna use google spreadsheets.
Sep 2, 2014
2707141
schedule css
Sep 2, 2014
c8bfb87
took care of FAQ design row/column height issues
Sep 2, 2014
53ed4c5
accidentally added = for grouped faqs
Sep 2, 2014
9021da1
center all logos
Sep 2, 2014
8aa6959
brainstorm page up
Sep 2, 2014
42ef007
Merge branch 'master' of github.com:cranberryofdoom/hackduke
Sep 2, 2014
9d1a5eb
pushed up fall 2014 site
Sep 3, 2014
626ded7
changed controllers
Sep 3, 2014
10bd8b5
add new images
Sep 3, 2014
3b4885e
organizers controller
Sep 3, 2014
48a37e8
fall 2014 organizer logic
Sep 3, 2014
06556a6
added organizers
Sep 3, 2014
746692e
tagline change for spring 2014
Sep 3, 2014
ab58aa6
changed tagline
Sep 3, 2014
50fd3fd
changed cta
Sep 3, 2014
0e45920
responsive fixes
Sep 3, 2014
f504266
past tech and non-profit mentors
Sep 3, 2014
e6bd19c
try fix
u-jo Sep 4, 2014
db20ef9
angular
u-jo Sep 4, 2014
98104fd
fixed forms
u-jo Sep 4, 2014
188f3ea
added chris
Sep 4, 2014
471c106
Merge branch 'master' of github.com:cranberryofdoom/hackduke
Sep 4, 2014
5a7d726
meta google tag
Sep 4, 2014
00fd5db
fixed buggs
u-jo Sep 5, 2014
082bce7
Merge branch 'master' of heroku.com:hackduke-website
u-jo Sep 5, 2014
d95a8b2
switched sponsorship doc from google doc to pdf
Sep 5, 2014
5e57623
Merge branch 'master' of github.com:cranberryofdoom/hackduke
Sep 5, 2014
329b51c
Merge branch 'master' of heroku.com:hackduke-website
Sep 5, 2014
9eb4535
added blog
Sep 5, 2014
d799750
registration up
huyouare Sep 25, 2014
d4400d9
created mentor apply
u-jo Sep 29, 2014
00c5070
added mentor form
albrow Sep 30, 2014
2151edb
Change routes to allow subdomains back
huyouare Oct 1, 2014
8cb2f4a
added durham cares and code for durham to front page
Oct 2, 2014
6b8af74
revised sponsorship doc
Oct 6, 2014
93134d4
sponsors
Oct 6, 2014
5f9b8db
removed pg from dev
Oct 6, 2014
221d00b
removed extra route
Oct 7, 2014
70a07fb
added devise?
Oct 7, 2014
c3aefa4
updated admin dashboard for active admin
Oct 7, 2014
280089e
added a helper function in the controller to help render entries only…
Oct 7, 2014
d31d9e8
added prize route to fall 2014, filtered out just spring 2014 sponsor…
Oct 11, 2014
6647566
created travel and edu pages
Oct 14, 2014
f82a4bf
prizes only display fall 2014
Oct 14, 2014
e8e7a76
typo in prizes controller
Oct 14, 2014
21586f1
add match_one and match_one_semester to helpers since there are model…
Oct 14, 2014
b195d18
matched years in match_one
Oct 14, 2014
d2692bc
updated travel
Oct 14, 2014
32f7571
registrations close this friday
Oct 16, 2014
b73c87a
remove random selection wording from travel
Oct 16, 2014
7725b0b
registrations closed
Oct 18, 2014
9c84a8a
upload forms not email
Oct 20, 2014
981167e
sponsors, prizes, tech talks, fun stuff and education week all updated
Oct 24, 2014
228af0b
remove mentors from front page for now
Oct 24, 2014
83082a3
added makeschool
Oct 26, 2014
f1231fb
added firebase
Oct 26, 2014
f1ede34
added more sponsors
Oct 26, 2014
8dd4b52
add tier to sponsors
Oct 26, 2014
1a14782
medium sponsor css class
Oct 27, 2014
c917179
register for crash courses
Oct 28, 2014
cf3ec64
nav link switched
Oct 28, 2014
4bf7c18
added akamai as a sponsor
Oct 29, 2014
d628822
change prizes.api to false
Nov 1, 2014
6410126
used sql queries for matching semesters
Nov 1, 2014
ff6b1c8
updated all prizes without api attributes at first to false
Nov 1, 2014
104527d
added IBM as a sponsor
Nov 3, 2014
741ee11
updated ibm logo
Nov 3, 2014
0530285
added mentors on front page
Nov 3, 2014
80d5c74
added new mentor profile pictures
Nov 3, 2014
d269fbe
will refactor later, but for now, added mentor without sponsor or par…
Nov 3, 2014
9b673bc
added more mentor pictures
Nov 3, 2014
198394b
set api to default false in prizes
Nov 3, 2014
a49b88c
added sponsor to tech talk events
Nov 3, 2014
a8f8043
added description to tech talk events
Nov 3, 2014
385e8c3
fixed sponsor link in tech talk page
Nov 4, 2014
0ea31e5
order tech talks by date
Nov 4, 2014
086b1f4
order by date first for techtalks
Nov 4, 2014
0424f0f
added dennis
Nov 4, 2014
c0743b9
added more mentors
Nov 4, 2014
68e6681
order by sponsor id
Nov 4, 2014
bd93614
add duke medicine and more mentors
Nov 4, 2014
04ab960
added partner id sorting to mentors
Nov 4, 2014
bb422a7
added scrolling
Nov 4, 2014
b1f137b
activeadmin bug
Nov 4, 2014
bdf626a
added video and fixed scrolling
Nov 4, 2014
62c2a3c
added more mentors
Nov 5, 2014
6d11ddc
fun page content up
Nov 5, 2014
1067a09
added more mentors
Nov 5, 2014
c1398ca
updated travel info
Nov 5, 2014
c386baf
bus info
Nov 5, 2014
f5e6000
add more mentors
Nov 5, 2014
4fd77b7
make tech talks all one column
Nov 5, 2014
f6e73ad
added 3 speakers
Nov 5, 2014
1dad118
added mentors
Nov 6, 2014
24dcca8
added more mentors
Nov 6, 2014
a104da3
more mentors
Nov 6, 2014
52f2114
parking information
Nov 7, 2014
f7c2323
added more mentors and removed registration
Nov 7, 2014
8008a09
added speakers
Nov 7, 2014
51bf3d9
added datasets and more apis
Nov 7, 2014
f9331d2
switch inequality icon
Nov 8, 2014
d988b5b
added microsoft api
Nov 11, 2014
718a91d
bus info
Nov 11, 2014
42abb5e
added bus id to travel page
Nov 11, 2014
a605b0b
fixed purdue/uiuc time
Nov 11, 2014
86ea0e2
added departure
Nov 11, 2014
df433e1
added more mentors
Nov 12, 2014
718a245
added more day of information
Nov 12, 2014
e418c75
added bizspark
Nov 12, 2014
88bfb02
added gbit
Nov 12, 2014
1c65661
changed code for durham logo
Nov 12, 2014
7b917eb
added api credits
Nov 14, 2014
f5d071a
added uber information
Nov 14, 2014
c0b0231
added damien
Nov 15, 2014
45d4012
better travel info?
Nov 15, 2014
0e20129
added versal api
Nov 15, 2014
c33fdec
API accounts
Nov 15, 2014
52e7e2e
Remove links to old sponsorship docs
Jun 8, 2015
8cdc83e
Update active_admin commenting to prevent crashing
huyouare Jun 8, 2015
429b052
.DS_Store banished!
ownzandy Sep 9, 2015
d09da62
added fall 2015 website files, updated badge, re-routing
ownzandy Sep 9, 2015
39dc7fc
changed years to 2015
ownzandy Sep 9, 2015
40b4efc
rolled back controller years to 2014
ownzandy Sep 9, 2015
ffcd3d6
Tidyed up.
Sep 10, 2015
2022fdf
Merge pull request #5 from ownzandy/master
cranberryofdoom Sep 10, 2015
10df5d3
Merge pull request #6 from cranberryofdoom/ownzandy-master
cranberryofdoom Sep 10, 2015
75c069a
More updates and content changes for 2015.
Sep 13, 2015
378c0c6
Merge branch 'master' of heroku.com:hackduke-website
Sep 13, 2015
11073da
Changed FB url
1heart Sep 13, 2015
9ba4dae
Merge pull request #7 from 1heart/fb-url
cranberryofdoom Sep 13, 2015
a7a054d
[Fix] Change config.allow_comments to config.comments.
rubensf Sep 15, 2015
2de20d4
Direct root to fall2015 site
rubensf Sep 15, 2015
c2140bf
[Remove] Start putting mailchimp
rubensf Sep 15, 2015
627b5ed
Working on the mc embed registration
rubensf Sep 16, 2015
a1917f0
Put original css
rubensf Sep 18, 2015
5aa08dc
center and fix registration
ownzandy Sep 18, 2015
160bef1
fix registration and remove dead sponsor link
ownzandy Sep 18, 2015
48d1ccc
Merge branch 'master' of github.com:rubenstoshiro/hackduke
rubensf Sep 19, 2015
cc0d380
fixed routing
ownzandy Sep 22, 2015
a9649b3
registration up
ownzandy Sep 22, 2015
fd8b861
more registration changes
ownzandy Sep 22, 2015
2b1c47b
Merge branch 'master' of https://git.heroku.com/hackduke-website
rubensf Sep 22, 2015
48af068
removed mailing list
ownzandy Sep 22, 2015
e2ce8a7
https changes
ownzandy Sep 24, 2015
afa36de
Fix no subdomain route
rubensf Sep 24, 2015
7d49c9c
add register on nav bar
ownzandy Sep 24, 2015
b07aea5
Merge pull request #9 from rubenstoshiro/master
cranberryofdoom Sep 29, 2015
782a739
Add "Registrations are endings!"
rubensf Oct 8, 2015
9e43136
Upgrading to Cedar 14
rubensf Oct 8, 2015
8b1da25
Non Duke Students Reg ending! -- Fix
rubensf Oct 8, 2015
4169bc0
Fixed mentors form.
u-jo Oct 9, 2015
fb75307
Merge pull request #11 from cranberryofdoom/fixed_mentors_form
cranberryofdoom Oct 9, 2015
7d64e6e
Merge branch 'master' of https://git.heroku.com/hackduke-website
rubensf Oct 13, 2015
b1904b7
bump end date and read sponsors
rubensf Oct 13, 2015
6a85a95
Updated travel info page.
u-jo Oct 14, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@

# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
/tmp
.DS_Store
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ gem 'activeadmin', github: 'gregbell/active_admin'
gem 'bluecloth'
gem 'activeadmin_pagedown'

gem 'devise'

# URL Validation
gem "validate_url"

# Better Errors
group :development do
gem 'sqlite3'
gem "better_errors"
gem "binding_of_caller"
end
Expand Down
6 changes: 4 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ GEM
activesupport (>= 3.0.0)
arel (4.0.2)
bcrypt (3.1.7)
bcrypt (3.1.7-x86-mingw32)
better_errors (1.1.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
Expand Down Expand Up @@ -111,6 +112,7 @@ GEM
multi_json (1.9.3)
orm_adapter (0.5.0)
pg (0.17.1)
pg (0.17.1-x86-mingw32)
polyamorous (1.0.0)
activerecord (>= 3.0)
polyglot (0.3.4)
Expand Down Expand Up @@ -164,7 +166,6 @@ GEM
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.9)
thor (0.19.1)
thread_safe (0.3.3)
tilt (1.4.1)
Expand All @@ -184,6 +185,7 @@ GEM

PLATFORMS
ruby
x86-mingw32

DEPENDENCIES
activeadmin!
Expand All @@ -193,6 +195,7 @@ DEPENDENCIES
bluecloth
bootstrap-sass (~> 3.0.3.0)
coffee-rails (~> 4.0.0)
devise
jbuilder (~> 1.2)
jquery-rails
jquery-turbolinks
Expand All @@ -201,7 +204,6 @@ DEPENDENCIES
rails_12factor
sass-rails (~> 4.0.0)
sdoc
sqlite3
turbolinks
uglifier (>= 1.3.0)
validate_url
2 changes: 1 addition & 1 deletion app/admin/course.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def permitted_params
(i.instructors.map { |e| e.name }).join(', ')
end
column :semester
default_actions
actions
end

show do
Expand Down
38 changes: 26 additions & 12 deletions app/admin/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ def permitted_params
f.input :date
f.input :start_time
f.input :end_time
f.input :sponsor, :as => :select
f.input :mentors, :as => :check_boxes
f.input :semester, :as => :select
end
f.inputs "Description &nbsp;&nbsp;(use <a href='http://daringfireball.net/projects/markdown/syntax'>markdown</a>)" do
f.input :markdown_content, :label => "Description", :as => :pagedown_text
end
f.actions
end

Expand All @@ -25,18 +30,27 @@ def permitted_params
column :date
column :start_time
column :end_time
column :semester
default_actions
end
column :sponsor
column :mentors do |m|
(m.mentors.map { |e| e.name }).join(', ')
end
column :semester
actions
end

show do
attributes_table do
row :name
row :location
row :date
row :start_time
row :end_time
row :semester
end
show do
attributes_table do
row :name
row :location
row :date
row :start_time
row :end_time
row :sponsor
row :mentors do |m|
(m.mentors.map { |e| e.name }).join(', ')
end
row :markdown_content
row :semester
end
end
end
2 changes: 1 addition & 1 deletion app/admin/faq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def permitted_params
column :semesters do |s|
(s.semesters.map { |e| ([e.season, e.year.year]).join(' ') }).join(', ')
end
default_actions
actions
end

show do
Expand Down
2 changes: 1 addition & 1 deletion app/admin/instructor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def permitted_params
column :courses do |c|
(c.courses.map { |e| e.title }).join(' , ')
end
default_actions
actions
end

show do
Expand Down
2 changes: 1 addition & 1 deletion app/admin/map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def permitted_params
column :name
column :image_url
column :semester
default_actions
actions
end

show do
Expand Down
6 changes: 4 additions & 2 deletions app/admin/medium.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ def permitted_params
column :semester
column :link_url
column :media_type
default_actions
actions
end

show do
attributes_table do
row :name
row :title
row :image_url
row :semester
row :link_url
row :media_type
end
end
end
2 changes: 1 addition & 1 deletion app/admin/mentor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def permitted_params
column :semesters do |s|
(s.semesters.map { |e| ([e.season, e.year.year]).join(' ') }).join(', ')
end
default_actions
actions
end

show do
Expand Down
2 changes: 1 addition & 1 deletion app/admin/organizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def permitted_params
column :semesters do |s|
(s.semesters.map { |e| ([e.season, e.year.year]).join(' ') }).join(', ')
end
default_actions
actions
end

show do
Expand Down
2 changes: 1 addition & 1 deletion app/admin/partner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def permitted_params
column :semesters do |s|
(s.semesters.map { |e| ([e.season, e.year.year]).join(' ') }).join(' , ')
end
default_actions
actions
end

show do
Expand Down
5 changes: 4 additions & 1 deletion app/admin/prize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def permitted_params
f.input :sponsor, :as => :select
f.input :partners, :as => :check_boxes, :collection => Partner.all.where(:partnership_type => "Non-Profit Partner")
f.input :semester, :as => :select
f.input :api
end
f.inputs "Description &nbsp;&nbsp;(use <a href='http://daringfireball.net/projects/markdown/syntax'>markdown</a>)" do
f.input :markdown_content, :label => "Description", :as => :pagedown_text
Expand All @@ -24,18 +25,20 @@ def permitted_params
column :title
column :markdown_content
column :sponsor
column :api
column :partners do |p|
(p.partners.map { |e| e.name }).join(' , ')
end
column :semester
default_actions
actions
end

show do
attributes_table do
row :title
row :markdown_content
row :sponsor
row :api
row :partners do |p|
(p.partners.map { |e| e.name }).join(' , ')
end
Expand Down
5 changes: 4 additions & 1 deletion app/admin/sponsor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def permitted_params
f.input :name
f.input :image_url, :hint => "Use 'company-name'.png and make sure the image file is in the public/sponsors folder"
f.input :link_url
f.input :tier, :as => :select, :collection => ["small", "medium", "large"]
f.input :semesters, :as => :check_boxes
end
f.actions
Expand All @@ -21,17 +22,19 @@ def permitted_params
column :name
column :image_url
column :link_url
column :tier
column :semesters do |s|
(s.semesters.map { |e| ([e.season, e.year.year]).join(' ') }).join(', ')
end
default_actions
actions
end

show do
attributes_table do
row :name
row :image_url
row :link_url
row :tier
row :semesters do |s|
(s.semesters.map { |e| ([e.season, e.year.year]).join(' ') }).join(', ')
end
Expand Down
2 changes: 1 addition & 1 deletion app/admin/winnner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def permitted_params
column :link_url
column :prize_type
column :semester
default_actions
actions
end

show do
Expand Down
Loading