Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Milestone10 #366

Merged
merged 104 commits into from
Apr 27, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
c2d1cd7
bump engine version
Apr 13, 2015
645bf43
Merge pull request #341 from LinuxBozo/milestone10
poorgeek Apr 13, 2015
7f68932
Attempt to fix the use of the Avenir fonts from fastfonts.net
Apr 13, 2015
3a015a5
Merge pull request #342 from poorgeek/fix-fastfonts
LinuxBozo Apr 13, 2015
20d7b5e
Closes #223 by adding the approved disclaimer text
Apr 14, 2015
32e5567
Add our own copy of cf-base to the app so that we can remove the lice…
Apr 15, 2015
1b85255
Merge pull request #346 from poorgeek/fix-fastfonts-2
doelleri Apr 15, 2015
d169c71
Merge pull request #344 from poorgeek/update-disclaimer-text
LinuxBozo Apr 15, 2015
a9c00cd
Capture events emitted by dat->json processing for progress bar
Apr 15, 2015
dc8b467
Use more efficient file->stream conversion
Apr 15, 2015
8c973f9
Fix export link spacing on quality/macro summary report
Apr 15, 2015
5f08144
Remove unneccessary angular modules
Apr 15, 2015
3fdb980
Merge pull request #348 from LinuxBozo/jsonprogress
poorgeek Apr 15, 2015
2bc3c4f
working on clicking backward
doelleri Apr 13, 2015
3002c96
add an isFocused attribute
doelleri Apr 15, 2015
b057df2
use is_focused and update the stepClass
doelleri Apr 15, 2015
3276e6d
highlight the active step but don't color it orange when selected
doelleri Apr 15, 2015
321d53e
oops, this was for keyboard nav
doelleri Apr 15, 2015
8c71ab9
rename setActive to setFocused and remove console logging
doelleri Apr 15, 2015
dfcc575
test for setting "is_focused" on selected step
doelleri Apr 15, 2015
106f085
test for isSelectable()
doelleri Apr 15, 2015
8a136ba
use a span instead of an anchor
doelleri Apr 15, 2015
f07c02e
switch back to using an anchor tag
doelleri Apr 15, 2015
1f867c6
Merge pull request #349 from doelleri/wizard-back-navigation
poorgeek Apr 15, 2015
e87df08
Add progress cancellation (start over) button
Apr 17, 2015
f2905a0
Use bluebird promises instead of $q for consistency
Apr 17, 2015
e974f34
Move replace stage in grunt build to proper order
Apr 17, 2015
f0d5aed
Don't need to inject $location
Apr 17, 2015
483fd73
No reason to define a separate app.run for bluebird
Apr 17, 2015
1bb22f0
Merge pull request #351 from LinuxBozo/cancel
doelleri Apr 17, 2015
2091fff
Destroy the localdb instance on first page (select file) and last pag…
Apr 20, 2015
b04857c
Merge pull request #352 from LinuxBozo/destroydb
doelleri Apr 20, 2015
d1d3d14
Replace ng-docs with jsdocs.
Apr 20, 2015
53a2653
Add basic JSDoc documentation to every JS file in the app
Apr 20, 2015
f3a8d49
update the README to explaing the generate-docs task
Apr 20, 2015
cab3754
Add instructions for running and deploying the HMDA Pilot app
Apr 21, 2015
5a2b351
Merge pull request #353 from poorgeek/docs
doelleri Apr 21, 2015
e9583a4
add a directive that gets all of the property codes and descriptions …
doelleri Apr 17, 2015
1bfb469
starting a view
doelleri Apr 17, 2015
86566eb
display all the values in a modal window
doelleri Apr 20, 2015
a8be536
move display of link
doelleri Apr 20, 2015
4b34a11
starting to add tests
doelleri Apr 20, 2015
8ba9ec7
fix beforeEach
doelleri Apr 20, 2015
b048159
working tests
doelleri Apr 21, 2015
9e7a2a2
hey look, a button!
doelleri Apr 21, 2015
f8e5e4b
punt on trying to get the modal element
doelleri Apr 21, 2015
b658e2a
update to jsdoc
doelleri Apr 21, 2015
3450907
switch back to 2/3 1/3 layout and squeeze the button in with the expo…
doelleri Apr 21, 2015
18d796a
Make sure that page changes wait for the progress bar to disappear be…
henrygrover Apr 14, 2015
38923d6
Switched to using only single quotes
henrygrover Apr 14, 2015
28a9998
Removed test of disclaimer text
henrygrover Apr 22, 2015
f607d14
Added wip tags for all unimplemented features. David will remove some…
henrygrover Apr 22, 2015
156ec44
Merge pull request #356 from henrygrover/ngdialog
porterbot Apr 22, 2015
139eb3e
convert directive from element to attribute
doelleri Apr 22, 2015
513c0bc
add help icon
doelleri Apr 22, 2015
807dd40
Merge pull request #354 from doelleri/translate-codes
poorgeek Apr 22, 2015
ce7e686
Add cookies support back in
Apr 21, 2015
ee3f1e2
Modify Session service to do our session validation and authentication
Apr 22, 2015
390acf5
Add test for login dialog options
Apr 22, 2015
d4dae9a
Add in terms of service as markdown and partial generated by grunt
Apr 22, 2015
d300ddd
Add in the bits to support login as an ngDialog
Apr 22, 2015
87c02cf
If not valid session cookie, pop login ngDialog
Apr 22, 2015
8981a5c
This is hte login controller, not progress bar
Apr 22, 2015
229d986
Remove embedded style and switch to ng-if
Apr 22, 2015
dc5e197
Add in shake animation for invalid password submissions
Apr 22, 2015
388264d
Add a grunt task to run the functional tests with protractor
Apr 15, 2015
d3800c3
Run `webdriver-manager update` as an npm postinstall task so that it …
Apr 15, 2015
e0268b7
Add a grunt task for running the functional tests, now with JSHint!
Apr 15, 2015
dab4b6f
Add @wip annotation after confirming with Henry that this tests wasn'…
Apr 22, 2015
dab2556
Cleanup function test config so that it properly runs and reports the…
Apr 22, 2015
f27344d
Add basic description of how to run the functional tests to the README
Apr 22, 2015
0075c17
Merge pull request #357 from poorgeek/run-functional-tests
porterbot Apr 23, 2015
b72a2f0
added Processing Feature to check on progress bar
Apr 23, 2015
11866fc
added IRS report check
Apr 23, 2015
c1f99cd
Set something decent for now
Apr 23, 2015
2370acb
Shake the error not the input
Apr 23, 2015
d37b791
Update the tests to make sure login dialog fires
Apr 23, 2015
f690232
Make sure login dialog doesn't fire when valid session
Apr 23, 2015
f772a82
change to button
Apr 23, 2015
a48382d
Move login options to config rather than in session service
Apr 23, 2015
c5da625
Merge pull request #358 from LinuxBozo/login
doelleri Apr 23, 2015
a1e2c4f
Add support for jscs since jshint is dropping support for style checks
Apr 23, 2015
0353718
Update app related JS files to conform to new jscs rules
Apr 23, 2015
fa51865
Update test related JS files to conform to new jscs rules
Apr 23, 2015
6f0dc33
Run jscs and jshint tasks when running the build task
Apr 23, 2015
6ca4b08
A few more jscs fixes after a rebase
Apr 23, 2015
a25e97d
added Q029/Q0595 dat files and functional tests
Apr 23, 2015
dd088eb
Merge pull request #359 from poorgeek/jscs
doelleri Apr 23, 2015
3ccf9e2
Make sure we don't rely on polyfills for animation
Apr 23, 2015
bebff6a
Merge pull request #360 from LinuxBozo/milestone10
poorgeek Apr 23, 2015
d7e2221
Set up tests to log in on first getting to the site
henrygrover Apr 24, 2015
addf17d
Merge pull request #362 from henrygrover/login
poorgeek Apr 24, 2015
f6478a7
Actually apply the jshint and jscs rules to the functional test step …
Apr 24, 2015
cf5e553
Allow for quoted object keys in jscs config.
Apr 24, 2015
f0847b5
Added a few missing items to the .jshintrc file used by the tests. Al…
Apr 24, 2015
7fcdef2
Cleanup the functional test code based on the latest jshint and jscs …
Apr 24, 2015
c752c1c
Merge pull request #363 from poorgeek/jscs-functional-tests
doelleri Apr 24, 2015
864c6f9
added loan level edit check
Apr 24, 2015
77dd257
cleaned up callback/promises and reset back to dev
Apr 27, 2015
f44e0eb
Merge remote-tracking branch 'upstream/milestone10' into functionaltests
Apr 27, 2015
386b567
reset back to dev
Apr 27, 2015
4e20493
Merge pull request #364 from porterbot/functionaltests
poorgeek Apr 27, 2015
3cc2273
Reset the app config to be based off of a sandbox build so that it do…
Apr 27, 2015
caeae70
Merge pull request #365 from poorgeek/fix-config
doelleri Apr 27, 2015
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
65 changes: 65 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowSpacesInFunctionDeclaration": {
"beforeOpeningRoundBrace": true
},
"disallowEmptyBlocks": true,
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceAfterPrefixUnaryOperators": true,
"disallowSpaceBeforePostfixUnaryOperators": true,
"disallowSpaceBeforeBinaryOperators": [
","
],
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"disallowTrailingComma": true,
"disallowYodaConditions": true,
"disallowKeywords": [ "with" ],
"disallowMultipleLineBreaks": true,
"requireSpaceBeforeBlockStatements": true,
"requireParenthesesAroundIIFE": true,
"requireSpacesInConditionalExpression": true,
"requireBlocksOnNewline": 1,
"requireCommaBeforeLineBreak": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceAfterBinaryOperators": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireLineFeedAtFileEnd": true,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"requireSpacesInForStatement": true,
"requireSpaceBetweenArguments": true,
"requireCurlyBraces": [
"do"
],
"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do",
"switch",
"case",
"return",
"try",
"catch",
"typeof"
],
"requirePaddingNewLinesBeforeLineComments": {
"allExcept": "firstAfterCurly"
},
"safeContextKeyword": "_this",
"validateLineBreaks": "LF",
"validateQuoteMarks": "'",
"validateIndentation": 4
}
31 changes: 31 additions & 0 deletions .jsdoc.conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"tags" : {
"allowUnknownTags" : true
},
"plugins" : [
"plugins/markdown",
"node_modules/angular-jsdoc/plugins/ngdoc"
],

"templates" : {
"cleverLinks" : true,
"monospaceLinks" : false,
"dateFormat" : "ddd MMM Do YYYY",
"outputSourceFiles" : true,
"outputSourcePath" : true,
"systemName" : "HMDA Pilot",
"footer" : "",
"copyright" : "",
"navType" : "vertical",
"theme" : "spacelab",
"linenums" : true,
"collapseSymbols" : false,
"inverseNav" : false,
"highlightTutorialCode" : true,
"protocol": "fred://"
},
"markdown" : {
"parser" : "gfm",
"hardwrap" : true
}
}
5 changes: 0 additions & 5 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@
"browser": true,
"esnext": true,
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"quotmark": "single",
"undef": true,
"unused": true,
"strict": true,
Expand Down
77 changes: 59 additions & 18 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Generated on 2014-11-18 using generator-angular 0.10.0
'use strict';

// jscs:disable
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
Expand Down Expand Up @@ -44,14 +45,14 @@ module.exports = function (grunt) {
watch: {
js: {
files: ['<%= yeoman.app %>/scripts/{,*/}*.js', 'node_modules/hmda-rule-engine/{,*/}*.js'],
tasks: ['newer:jshint:all', 'browserify:dev'],
tasks: ['newer:jscs:all', 'newer:jshint:all', 'browserify:dev'],
options: {
livereload: '<%= connect.options.livereload %>'
}
},
jsTest: {
files: ['test/spec/{,*/}*.js'],
tasks: ['newer:jshint:test', 'karma']
tasks: ['newer:jscs:test', 'newer:jshint:test', 'karma']
},
styles: {
files: ['<%= yeoman.app %>/styles/{,*/}*.css'],
Expand All @@ -65,7 +66,7 @@ module.exports = function (grunt) {
files: ['Gruntfile.js']
},
markdown: {
files: ['ABOUT.md', 'COMMON_QUESTIONS.md'],
files: ['ABOUT.md', 'COMMON_QUESTIONS.md', 'TERMS_OF_SERVICE.md'],
tasks: ['markdown:help']
},
livereload: {
Expand Down Expand Up @@ -116,14 +117,6 @@ module.exports = function (grunt) {
open: true,
base: '<%= yeoman.dist %>'
}
},
docs: {
options: {
port: 9002,
open: true,
base: 'docs',
keepalive: true
}
}
},

Expand All @@ -146,10 +139,32 @@ module.exports = function (grunt) {
options: {
jshintrc: 'test/.jshintrc'
},
src: ['test/spec/{,*/}*.js']
src: [
'test/spec/{,*/}*.js',
'test/functional/cucumber/step_definitions/{,*/}*.js'
]
}
},

// Make sure code styles are up to par and there are no obvious mistakes
jscs: {
options: {
config: '.jscsrc',
reporter: require('jscs-stylish').path,
},
all: {
src: [
'<%= yeoman.app %>/scripts/{,*/}*.js'
]
},
test: {
src: [
'test/spec/{,*/}*.js',
'test/functional/cucumber/step_definitions/{,*/}*.js'
]
}
},

// Empties folders to start fresh
clean: {
dist: {
Expand Down Expand Up @@ -501,20 +516,37 @@ module.exports = function (grunt) {
}]
}
},
ngdocs: {
all: ['<%= yeoman.app %>/scripts/{,*/}*.js']
jsdoc : {
dist : {
src: ['<%= yeoman.app %>/scripts/{,*/}*.js', 'README.md'],
options: {
destination: 'docs',
template : 'node_modules/grunt-jsdoc/node_modules/ink-docstrap/template',
configure: '.jsdoc.conf.json'
}
}
},
markdown: {
help: {
files: [{
'app/partials/about.html': 'ABOUT.md',
'app/views/common_questions.html': 'COMMON_QUESTIONS.md',
'app/partials/termsOfService.html': 'TERMS_OF_SERVICE.md',
}],
options: {
template: 'config/md-to-html.jst',
}
}
}
},
protractor: {
options: {
configFile: 'test/functional/conf.js', // Default config file
args: {
// Arguments passed to the command
}
},
all: {}
},
});

grunt.loadNpmTasks('grunt-contrib-compress');
Expand All @@ -529,12 +561,13 @@ module.exports = function (grunt) {

grunt.task.run([
'clean:server',
'jscs',
'jshint',
'replace:local',
'browserify:dev',
'less:server',
'concurrent:server',
'autoprefixer',
'replace:local',
'markdown:help',
'connect:livereload',
'watch'
Expand All @@ -549,13 +582,20 @@ module.exports = function (grunt) {
grunt.registerTask('test', [
'clean:coverage',
'clean:server',
'jscs:test',
'jshint:test',
'concurrent:test',
'autoprefixer',
'connect:test',
'karma'
]);

grunt.registerTask('functional', [
'jscs:test',
'jshint:test',
'protractor'
]);

grunt.registerTask('travis-coveralls', [
'test',
'coveralls'
Expand All @@ -571,6 +611,8 @@ module.exports = function (grunt) {

grunt.task.run([
'clean:dist',
'jscs',
'jshint',
'replace:' + env,
'browserify:dist',
'ngAnnotate:dist',
Expand Down Expand Up @@ -604,7 +646,6 @@ module.exports = function (grunt) {

grunt.registerTask('generate-docs', [
'clean:docs',
'ngdocs',
'connect:docs'
'jsdoc:dist'
]);
};
Loading