Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E1626. Badging system #673

Closed
wants to merge 5,358 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5358 commits
Select commit Hold shift + click to select a range
a797f88
Changes to response report method
harsha1007 Mar 22, 2016
381ea2a
Checking build with original controller file
harsha1007 Mar 22, 2016
ecc6f8f
Testing build with sample change
harsha1007 Mar 22, 2016
55a2be8
Removed assignment_id
harsha1007 Mar 22, 2016
ec303d0
Changed sample as the build is failing
harsha1007 Mar 22, 2016
5e41c45
Reverted shuffle change
harsha1007 Mar 23, 2016
459ab14
Testing with sample
harsha1007 Mar 23, 2016
7fbdbfe
implement prototype design pattern
nikraina Mar 23, 2016
1e89fae
fix indentation
nikraina Mar 23, 2016
2cb1f63
Added questionnaire test
Mar 23, 2016
676b64d
add comments to the methods in the classes
nikraina Mar 23, 2016
38abd89
removed participant in Review response map
simha0994 Mar 23, 2016
5092d0f
added test cases
saiteja09 Mar 23, 2016
e0ed4b4
Removing usage of Hash keys
simha0994 Mar 23, 2016
43ad456
Adding _k at line 533 and testing
simha0994 Mar 23, 2016
f06d063
corrected invitation spelling
VijayKumarBadugu Mar 23, 2016
6d68f62
Reverted the previous commit
simha0994 Mar 23, 2016
1ae182e
Removed unused variable topic_id
simha0994 Mar 23, 2016
95f6ba7
Testing for Hash without Key
simha0994 Mar 23, 2016
4e46884
Testing for Hash without Key at line 538
simha0994 Mar 23, 2016
244b854
Updated the rspec tests of assigment_team_spec.rb to test the validit…
krishnaprajeeth Mar 23, 2016
aab91fd
revert to previous commit
simha0994 Mar 23, 2016
413756b
Rspec basic test case for view_publishing_rights in participants cont…
VijayKumarBadugu Mar 23, 2016
9d158bd
revert to previous commit
simha0994 Mar 23, 2016
7f2dadb
Testing for Hash without Key
simha0994 Mar 23, 2016
eb79aa5
removed unused method self_review_response_map
saiteja09 Mar 24, 2016
8b3dd0d
Added test cases for import of assignment topics
VijayKumarBadugu Mar 24, 2016
7d6f0ac
Added test cases for import of assignment topics
VijayKumarBadugu Mar 24, 2016
1ae9348
Review controller final changes
harsha1007 Mar 24, 2016
9b6072f
Fix team creation feature test.
Winbobob Mar 26, 2016
556e84f
Add migration file - convert round in responses table from nil to spe…
Winbobob Mar 26, 2016
004346a
Fix team creation feature test again.
Winbobob Mar 27, 2016
3ddfbfd
In grades#view, put the 'show submission' and 'show reviews' below th…
Winbobob Mar 28, 2016
0ee199c
Combine the cells for showing each team member’s scores on submitted …
Winbobob Mar 28, 2016
fc700a6
Temporarily make team creation feature tests skipped.
Winbobob Mar 28, 2016
ed31f9e
Fix bug in view_my_scores page.
Winbobob Mar 28, 2016
e8b6a70
revert the changes in database.yml for pull request
nikraina Mar 28, 2016
c9a8624
adjust .travis.yml to agree with the revert done previously
nikraina Mar 28, 2016
c31c9fb
Added team factory using factory girl
Mar 28, 2016
9239434
Display team advertisement, sent reuqests, received requests only for…
yangsong8 Mar 29, 2016
4facf0f
Remove has_many:collusion_cycles from assignment_participant.rb
yangsong8 Mar 29, 2016
a2e8c5b
Fix the sent/received invitation: only show when there is one.
yangsong8 Mar 29, 2016
4bcba70
White space fix.
yangsong8 Mar 29, 2016
635c628
Display a list of users who are waiting for the topic in "Your team"
yangsong8 Mar 29, 2016
5f81d61
Add one comment.
yangsong8 Mar 29, 2016
ecd31ea
Remove debug output
yangsong8 Mar 29, 2016
e2a3d14
Deletion of reviewed_contributor? from assignment team
nikraina Mar 29, 2016
b825e92
revert back the database.yml
nikraina Mar 29, 2016
cd9c196
update travis.yml
nikraina Mar 29, 2016
370bd64
readjust rails_upgrade_tasks.rake
nikraina Mar 29, 2016
8b1b7b4
revert local refactorization to deploy.rb
nikraina Mar 29, 2016
66d9b9c
revert local refactorization to db_diagram.rake
nikraina Mar 29, 2016
12645f7
revert local refactorization to rails_upgrade_tasks.rake
nikraina Mar 29, 2016
1e872c5
Reverting changes to make the build pass
Mar 29, 2016
771657f
Changes to make the build pass
Mar 29, 2016
871f215
added test files
Mar 29, 2016
6e1aabb
Merge pull request #1 from expertiza/master
kpalani5 Mar 29, 2016
83dd4ea
Added new factory
Mar 29, 2016
d331beb
Added new factory
Mar 29, 2016
c93c8eb
A student do not have to have a team to see the received invitations.
yangsong8 Mar 30, 2016
a537e4d
Do not display sent joint team request if there is none.
yangsong8 Mar 30, 2016
9944e21
Do not display received join team request list if there is none.
yangsong8 Mar 30, 2016
4efaaa2
Making .gitignore the same as when we forked.
krishnaprajeeth Mar 30, 2016
711f2c2
Sort the reviews by round first and author second, so you could do a …
Winbobob Mar 31, 2016
24f2bdd
Make the student_authored_quiz feature work for assgts. w/o topics.
yangsong8 Mar 31, 2016
974ff6f
Merge branch 'master' of https://github.com/expertiza/expertiza
yangsong8 Mar 31, 2016
07356ed
Added comments to improve readability
Mar 31, 2016
9ccbb99
Merge branch 'master' of github.com:saiteja09/expertiza
Mar 31, 2016
42a3592
Sync with master - resolving existing conflicts
Apr 1, 2016
e86f881
Added test cases for remove hyperlink
Apr 2, 2016
ff71e8e
add new test for the response_contoller refactoring OSS project resub…
ashendge Apr 2, 2016
6ce8830
Add new tests
ashendge Apr 2, 2016
0b05cb7
Checking test coverage
harsha1007 Apr 2, 2016
1f37777
Merge branch 'master' of https://github.com/harsha1007/expertiza into…
Winbobob Apr 3, 2016
1706408
Merge branch 'harsha1007-master'
Winbobob Apr 3, 2016
1dee38a
Add questionnaire_spec.rb file.
Winbobob Apr 3, 2016
11a24a2
Merge branch 'kpalani5-master'
Winbobob Apr 3, 2016
edfa6a9
Merge pull request: E1604 Calibration Tests #654.
Winbobob Apr 3, 2016
68e3142
Update README.md
Winbobob Apr 3, 2016
1a52d1c
resolve merge conflicts
nikraina Apr 3, 2016
99f77d0
update travis.yml
nikraina Apr 3, 2016
0ff71e7
update travis.yml
nikraina Apr 3, 2016
92b3254
update database.yml
nikraina Apr 3, 2016
1fa1683
update db_diagram rake
nikraina Apr 3, 2016
7e4aa3a
fixing conflicts
nikraina Apr 3, 2016
b819628
Merge branch 'master' of https://github.com/nikraina/expertiza
nikraina Apr 3, 2016
b235c60
dummy change to reexecute the build
nikraina Apr 3, 2016
ece5280
fix the conflict
nikraina Apr 3, 2016
8a46e74
Add unit tests for
Winbobob Apr 3, 2016
4843088
Merge remote-tracking branch 'origin/master'
Winbobob Apr 3, 2016
b669c3d
Update README.md again.
Winbobob Apr 3, 2016
b4c9527
Modify and merge pull request E1607. Functional tests for assignment …
Winbobob Apr 3, 2016
f07389f
Merge 1600
yangsong8 Apr 4, 2016
d66ae46
Remove a broken, unused and mis-placed method from add_user_to_assign…
yangsong8 Apr 5, 2016
0ede906
Fix the wrong method ends caused by merging.
yangsong8 Apr 5, 2016
5724393
Fix 1600: Move the rendering of self_review partial to the correct pl…
yangsong8 Apr 5, 2016
ef06865
Merge branch 'master' of https://github.com/hkumbum/expertiza into hk…
yangsong8 Apr 5, 2016
3a2669e
Merge E1601
yangsong8 Apr 5, 2016
a8b452f
Allow TAs to accept invitations.
yangsong8 Apr 5, 2016
6aaae7a
1.Modify assignment_team_spec.rb unit test from E1602 (pull request #…
Winbobob Apr 5, 2016
d3119d9
Merge branch 'master' of https://github.com/expertiza/expertiza
Winbobob Apr 5, 2016
3d6d039
Merge branch 'master' of https://github.com/rgkavodkar/expertiza into…
yangsong8 Apr 5, 2016
b6dc909
Merge part of E1613
yangsong8 Apr 5, 2016
4274b4e
Change some depreciated syntax in RSpec.
Winbobob Apr 5, 2016
fb7b4fc
Merge pull request #3 from expertiza/master
saiteja09 Apr 5, 2016
e6b31c9
Merge branch 'master' of https://github.com/expertiza/expertiza
Winbobob Apr 5, 2016
0796bbd
Remove the depreciated syntax of DelayedJob in RSpec test.
Winbobob Apr 5, 2016
0f4d330
Change old RSpec syntax to latest one.
Winbobob Apr 5, 2016
4624877
Remove conflicts and merge E1611.
Winbobob Apr 6, 2016
3e2ccf0
Merge branch 'nikraina-master'
Winbobob Apr 6, 2016
208a6aa
Merge branch 'refactor_response_controller' of https://github.com/anu…
yangsong8 Apr 6, 2016
40696d0
Fix and merge E1614.
yangsong8 Apr 6, 2016
3307dec
Fix issue #667
yangsong8 Apr 7, 2016
58831d5
Put hyperlink-related methods back to assignment_team.rb
yangsong8 Apr 7, 2016
54f096a
white space change
yangsong8 Apr 7, 2016
7e34df6
Merge E1613 test part.
Winbobob Apr 7, 2016
628f75f
Refactor quizzing: make view_question_text called on instructor's view
yangsong8 Apr 8, 2016
d085184
Merge branch 'master' of https://github.com/expertiza/expertiza
yangsong8 Apr 8, 2016
0bc5d37
Fix Issue #670.
Winbobob Apr 8, 2016
bcbc1e2
Merge pull request #4 from expertiza/master
saiteja09 Apr 10, 2016
be4d348
added columns in users table for credly
saiteja09 Apr 11, 2016
4db655c
added a missing div
saiteja09 Apr 11, 2016
7f9e607
added new column refresh token and sign up page for credly
saiteja09 Apr 12, 2016
875c671
added error messages for registration
saiteja09 Apr 12, 2016
151efc7
added validation for credly registration
saiteja09 Apr 12, 2016
d2af778
refactoring
Apr 12, 2016
cf07ce1
Added migrations for badging system
Apr 12, 2016
281bd5d
Extended credly registration for other type of users in the system
Apr 12, 2016
2294529
Redirection fix - multiple redirections
Apr 12, 2016
f50267f
Update the reputation web service url from VCL to http://prevdata.csc…
Winbobob Apr 12, 2016
5a336b1
Fix bug: cannot copy existed questionnaires.
Winbobob Apr 13, 2016
b1f0ef7
Fix bug: Newly-created 'AuthorFeedback', 'CourseEvaluation', 'Teammat…
Winbobob Apr 13, 2016
2853692
Leadboard layout and req models & views for badges, users, groups
Apr 15, 2016
d03f657
Ruby convention for file and variable names
Apr 15, 2016
c92977b
Added badge config action to courses for Instructor and haml -> erb r…
Apr 15, 2016
c16f4c6
Partially fixed author_feedback_report.
Winbobob Apr 15, 2016
e8fab0b
Fix c16f4c62f6bb35222b743c0792079ebb7291c0e1
Winbobob Apr 15, 2016
8422047
added a new blank tab for badges in assignments
saiteja09 Apr 16, 2016
f0e105e
added a new column is_badges_enabled in assignments table
saiteja09 Apr 16, 2016
439fad9
added code for adding badge strategy for assignments
saiteja09 Apr 17, 2016
8232de7
changed text_field to number_field for validations in assignments/badges
saiteja09 Apr 17, 2016
1d8497a
removed unnecessary method call in create
saiteja09 Apr 17, 2016
cb83aad
toggle strategy options on checking the enable badges button
saiteja09 Apr 17, 2016
2c6a4cd
clear text on strategy change
saiteja09 Apr 17, 2016
f85b8b4
create new badge button added - configuration view
Apr 17, 2016
d29feb8
added UI code for creating new badge groups
saiteja09 Apr 17, 2016
2cab023
Grid view of badges while creating assignment groups
Apr 18, 2016
079bb70
Create new badge functionality in badges->assignment
Apr 18, 2016
81e9fcb
Comments to indicate E1626 modified files
Apr 18, 2016
64929ca
Display badges using hash
Apr 19, 2016
0c647a7
Badge config UI, course level badges backend, db schema req changes
Apr 20, 2016
6a20691
Fix - assignment_controller - Badge creation
Apr 20, 2016
9c846b0
badge creation fix - adding records to badges table
Apr 20, 2016
fcf40fa
modified assignments edit page to save the badge details on save and …
saiteja09 Apr 21, 2016
9616c7f
Award badges for instructor and references change in badge_users table
Apr 21, 2016
2c75ede
Merge branch 'master' of github.com:saiteja09/expertiza
Apr 21, 2016
1aa676e
added edit option to the badge groups
saiteja09 Apr 21, 2016
a61370f
added edit option to the badge groups
saiteja09 Apr 21, 2016
3cc0b15
resolving conflicts
saiteja09 Apr 21, 2016
e22260e
added functionality to edit and delete badge groups
saiteja09 Apr 22, 2016
dfd4ad8
button adjustment in configuration page
saiteja09 Apr 22, 2016
9908a41
Created credly helper and refactored badges controller to follow DRY …
Apr 22, 2016
52e408b
Refactored assignments controller to use Credly helper
Apr 22, 2016
d0c2b61
dependency fix between badges and badge users
Apr 22, 2016
f666bd6
interim leaderboard implementation
saiteja09 Apr 23, 2016
2734839
Merge branch 'master' of https://github.com/saiteja09/expertiza
saiteja09 Apr 23, 2016
dc0cd70
Only show users with credly account to award badges and send credly A…
Apr 24, 2016
5907967
Merge branch 'master' of https://github.com/saiteja09/expertiza
Apr 24, 2016
cd9fe32
added code to enlist users eligible for a badge in a assignment
saiteja09 Apr 24, 2016
1319eb6
Merge branch 'master' of https://github.com/saiteja09/expertiza
saiteja09 Apr 24, 2016
21937fe
added new column badge_id, made changes on how badge_id is being stor…
saiteja09 Apr 24, 2016
d63a11f
added new column badges_awarded
saiteja09 Apr 24, 2016
34a4271
leaderboard backend logic complete
saiteja09 Apr 24, 2016
f2528d6
Bug fixes - See comment for more details
Apr 24, 2016
e139a7c
Merge branch 'master' of https://github.com/saiteja09/expertiza
Apr 24, 2016
7487336
Badges user creation fix - handle assignment level or course level badge
Apr 24, 2016
aab28da
bug fixes in leaderboard controller
saiteja09 Apr 24, 2016
648306c
Merge branch 'master' of https://github.com/saiteja09/expertiza
saiteja09 Apr 24, 2016
848e54f
leader board controller bug fixes
saiteja09 Apr 25, 2016
a63507d
deleting all nil values in student_badges hash
saiteja09 Apr 25, 2016
c15cbb5
updated leaderboard views
saiteja09 Apr 25, 2016
6598e71
bug fixes in leader board controller
saiteja09 Apr 25, 2016
eecc9ec
Refactor methods to helper class - leaderboard
Apr 25, 2016
afe1ed3
Code fixes - wrong declarations, no return statements, wrong variables
Apr 25, 2016
aaa1d76
More refactoring and making the code DRY
Apr 25, 2016
9894775
fixed sorting display on leaderboard
saiteja09 Apr 26, 2016
70c2ac3
removed number of badges from leaderboard view
saiteja09 Apr 26, 2016
4cc3322
Removed unnecessary views and personal badges view for students
saiteja09 Apr 26, 2016
c766250
Highlight current user in leaderboard
saiteja09 Apr 26, 2016
5b043fc
Fix bugs from E1611.
Winbobob Apr 26, 2016
3199763
Fix password check override
Apr 27, 2016
8e168fd
added columns in users table for credly
saiteja09 Apr 11, 2016
8c5cedb
added a missing div
saiteja09 Apr 11, 2016
b824152
added new column refresh token and sign up page for credly
saiteja09 Apr 12, 2016
d8c7c89
added error messages for registration
saiteja09 Apr 12, 2016
e87e9ec
added validation for credly registration
saiteja09 Apr 12, 2016
71d3cdb
refactoring
Apr 12, 2016
aaa5297
Added migrations for badging system
Apr 12, 2016
831e753
Extended credly registration for other type of users in the system
Apr 12, 2016
2294e41
Redirection fix - multiple redirections
Apr 12, 2016
cb02492
Leadboard layout and req models & views for badges, users, groups
Apr 15, 2016
540b829
Ruby convention for file and variable names
Apr 15, 2016
e1dd1a6
Added badge config action to courses for Instructor and haml -> erb r…
Apr 15, 2016
46a6b8f
added a new blank tab for badges in assignments
saiteja09 Apr 16, 2016
70f8735
added a new column is_badges_enabled in assignments table
saiteja09 Apr 16, 2016
8f5a77d
added code for adding badge strategy for assignments
saiteja09 Apr 17, 2016
0964b6b
changed text_field to number_field for validations in assignments/badges
saiteja09 Apr 17, 2016
40ff10f
removed unnecessary method call in create
saiteja09 Apr 17, 2016
3b46d89
toggle strategy options on checking the enable badges button
saiteja09 Apr 17, 2016
c807a70
clear text on strategy change
saiteja09 Apr 17, 2016
2a759cb
create new badge button added - configuration view
Apr 17, 2016
4ba5e21
added UI code for creating new badge groups
saiteja09 Apr 17, 2016
3aa5577
Grid view of badges while creating assignment groups
Apr 18, 2016
192a0a1
Create new badge functionality in badges->assignment
Apr 18, 2016
c3e0c63
Comments to indicate E1626 modified files
Apr 18, 2016
b69562f
Display badges using hash
Apr 19, 2016
2236300
Badge config UI, course level badges backend, db schema req changes
Apr 20, 2016
bf1ac2c
Fix - assignment_controller - Badge creation
Apr 20, 2016
1d4548f
badge creation fix - adding records to badges table
Apr 20, 2016
bf50ac2
modified assignments edit page to save the badge details on save and …
saiteja09 Apr 21, 2016
7ca6c8a
Award badges for instructor and references change in badge_users table
Apr 21, 2016
b65f8a7
added edit option to the badge groups
saiteja09 Apr 21, 2016
1b63f02
added edit option to the badge groups
saiteja09 Apr 21, 2016
063c7f3
added functionality to edit and delete badge groups
saiteja09 Apr 22, 2016
4f48ae8
button adjustment in configuration page
saiteja09 Apr 22, 2016
7782eef
Created credly helper and refactored badges controller to follow DRY …
Apr 22, 2016
a25cfee
Refactored assignments controller to use Credly helper
Apr 22, 2016
26bfaea
dependency fix between badges and badge users
Apr 22, 2016
9e56094
interim leaderboard implementation
saiteja09 Apr 23, 2016
c1ff84b
Only show users with credly account to award badges and send credly A…
Apr 24, 2016
d68a03a
added code to enlist users eligible for a badge in a assignment
saiteja09 Apr 24, 2016
df8904c
added new column badge_id, made changes on how badge_id is being stor…
saiteja09 Apr 24, 2016
025c4d5
added new column badges_awarded
saiteja09 Apr 24, 2016
fbd0054
leaderboard backend logic complete
saiteja09 Apr 24, 2016
6100f28
Bug fixes - See comment for more details
Apr 24, 2016
769d5be
Badges user creation fix - handle assignment level or course level badge
Apr 24, 2016
c5186be
bug fixes in leaderboard controller
saiteja09 Apr 24, 2016
18aba22
leader board controller bug fixes
saiteja09 Apr 25, 2016
8add481
deleting all nil values in student_badges hash
saiteja09 Apr 25, 2016
06fd326
updated leaderboard views
saiteja09 Apr 25, 2016
189a2b5
bug fixes in leader board controller
saiteja09 Apr 25, 2016
51cf94b
Refactor methods to helper class - leaderboard
Apr 25, 2016
676aa82
Code fixes - wrong declarations, no return statements, wrong variables
Apr 25, 2016
f9c3e97
More refactoring and making the code DRY
Apr 25, 2016
c96da14
fixed sorting display on leaderboard
saiteja09 Apr 26, 2016
99fc60d
removed number of badges from leaderboard view
saiteja09 Apr 26, 2016
9d1df7c
Removed unnecessary views and personal badges view for students
saiteja09 Apr 26, 2016
73bd3cd
Highlight current user in leaderboard
saiteja09 Apr 26, 2016
d2c2d3e
Fix password check override
Apr 27, 2016
ca118d2
Merge with expertiza master
Apr 27, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .bowerrc
@@ -0,0 +1,3 @@
{
"directory": "vendor/assets/components"
}
2 changes: 2 additions & 0 deletions .coveralls.yml
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: T1zs5rAJ97ecuWfmwnvsSehFp18X00vJx
203 changes: 203 additions & 0 deletions .gitignore
@@ -0,0 +1,203 @@
.bundle
db/*.sqlite3
db/*.sql
*.sql
log/*.log
tmp/**/*
config/database.yml
config/locales/database.yml
public/assets/staggered_deadline_assignment_graph
coverage
app/controllers/auth_controller.rb
nohup.out
pg_data/*

#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
*.#*
*#*#
local.properties
.classpath
.settings/
.loadpath
config/secrets.yml
# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
capybara-*

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
log/
# rbenv
.bundle/
# Kaleidoscope
*.orig

# RubyMine
.idea*~
.*~

pg_data
.idea
*~
#*#
*#*#

db/expertiza_scrubbed_2013_10_17.sql

db/expertiza_scrubbed_2013_10_17.sql.gz
.projectile
.ruby-gemset
.ruby-version
mysql2psql.yml
*.pem
5 changes: 0 additions & 5 deletions .loadpath

This file was deleted.

19 changes: 0 additions & 19 deletions .project

This file was deleted.

2 changes: 2 additions & 0 deletions .rspec
@@ -0,0 +1,2 @@
--color
--require spec_helper
Empty file added .ssl/.gitkeep
Empty file.
38 changes: 38 additions & 0 deletions .travis.yml
@@ -0,0 +1,38 @@
language: ruby
rvm:
- 1.9.3
branches:
only:
- master
- production
- rails4
before_install:
- uname -a
- lsb_release -a
- sudo apt-get update
- sudo apt-get install git-core curl
- sudo apt-get --no-install-recommends install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev
- sudo apt-get install libaspell-dev openjdk-6-jdk gcc libxml2 libxml2-dev libxslt1-dev mysql-server mysql-client
- sudo apt-get install libmysqlclient-dev
- sudo apt-get install graphviz
- unset RAILS_ENV
- rvm rubygems 1.8.23
- gem update bundler
- gem install raspell -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-head/
- bundle config build.raspell --with-opt-dir=
before_script:
- mysql -u root < db/grant_expertiza.sql
- cp config/database.yml.example config/database.yml
- export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
- bundle install
- bundle exec rake db:setup
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- "export DISPLAY=:99.0 && RUBYOPT=W0 bundle exec rake 2> /dev/null"
notifications:
email:
recipients:
- expertiza-support@lists.ncsu.edu
on_success: change
on_failure: change
27 changes: 27 additions & 0 deletions Capfile
@@ -0,0 +1,27 @@
# Load DSL and Setup Up Stages
require 'capistrano/setup'

# Includes default deployment tasks
require 'capistrano/deploy'

# Includes tasks from other gems included in your Gemfile
#
# For documentation on these, see for example:
#
# https://github.com/capistrano/rvm
# https://github.com/capistrano/rbenv
# https://github.com/capistrano/chruby
# https://github.com/capistrano/bundler
# https://github.com/capistrano/rails
#
# require 'capistrano/rvm'
# require 'capistrano/rbenv'
# require 'capistrano/chruby'
# require 'capistrano/bundler'
# require 'capistrano/rails/assets'
# require 'capistrano/rails/migrations'

require 'capistrano/rails'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
89 changes: 89 additions & 0 deletions Gemfile
@@ -0,0 +1,89 @@
source 'http://rubygems.org'

gem 'rails', '~> 4.2.1'

## Gems in Alphabetical Order

gem 'activerecord-session_store'
gem 'awesome_nested_set'
gem 'bind-it'
gem 'capistrano'
gem "capistrano-db-tasks", require: false
gem 'capistrano-rails'
gem 'coveralls', require: false
gem 'delayed_job_active_record'
gem 'dynamic_form'
gem 'edavis10-ruby-web-search'
gem 'engtagger'
gem 'expertiza-authlogic', github: 'expertiza/authlogic', :require => 'authlogic'
gem 'fastercsv'
gem 'ffi-aspell'
gem 'font-awesome-rails'
gem 'gchartrb', :require => 'google_chart'
gem "googlecharts", :require => "gchart"
gem 'gdata', :require => false
gem 'graphviz'
gem 'haml-rails'
gem 'hoptoad_notifier'
gem 'jquery-rails'
gem 'jquery-ui-sass-rails'
gem 'jquery-datetimepicker-rails'
gem 'mysql2'
gem 'nokogiri'
gem 'omniauth-google-oauth2', '~> 0.2.6'
gem 'open-uri-cached'
gem 'paper_trail'
gem 'pg', group: :production
gem 'protected_attributes'
gem 'rails_12factor', group: :production
gem 'rails4-autocomplete'
gem 'rake'
gem 'rb-readline'
gem 'RedCloth'
gem 'rgl', :require => 'rgl/adjacency'
gem 'rjb'
gem 'rubyzip'
gem 'rwordnet','0.1.3'
gem 'scrypt'
gem 'sass-rails', '5.0.3'
gem 'seer'
gem 'sprockets'
gem 'stanford-core-nlp'
gem 'superfish-rails'
gem 'therubyracer'
gem 'thin'
gem 'uglifier'
gem 'will_paginate'
gem 'zip-zip'
gem 'react-rails', '~> 1.0'

group :development do
gem 'daemons'
gem 'pry'
gem 'pry-remote'
gem 'pry-nav'
gem 'sqlite3-ruby'
gem 'selenium-webdriver'
gem 'quiet_assets'
gem "factory_girl_rails", "~> 4.0"
end

group :test do
gem 'database_cleaner'
gem 'gherkin'
gem 'guard-rails'
gem 'guard-rspec'
gem 'launchy'
gem 'rspec-rails'
gem 'shoulda'
gem 'test-unit'
end

group :assets do
gem 'coffee-rails'
end

group :development, :test do
gem 'capybara'
gem 'simplecov', :require => false
end