CWDS Intake Digital Service
wmitchell-cambria Merge pull request #980 from ca-cwds/snap-719-abandoned-hispanic-origin
SNAP-719 - Display Abandoned Hispanic Origin as Unknown
Latest commit f95532f Oct 17, 2018
Permalink
Failed to load latest commit information.
.chromedriver-helper set chromedriver-helper version to 2.38 Aug 23, 2018
.github Pull request template changed. Mar 1, 2018
app Merge pull request #980 from ca-cwds/snap-719-abandoned-hispanic-origin Oct 17, 2018
bin Match eol-last linting in spec files Jul 12, 2018
config Log the token from perry along with the rails session in intake logs Oct 3, 2018
docker HOT-2410 Eradicate Intake API Aug 30, 2018
legal Changed extension for licenses txt to csv Oct 23, 2017
lib HOT-2410 Eradicate Intake API Aug 30, 2018
log Init project Jun 27, 2016
public Remove old page for 500 errors Oct 27, 2017
scripts Fixed cleaning workspace and bubble artifacts Jun 28, 2018
spec Fix test in peopleSearchSelectorsSpec.js; Remove comment in peopleSea… Oct 17, 2018
vendor/assets Init project Jun 27, 2016
.babelrc Configured babel to use plugins for generator and Array.includes() Sep 6, 2017
.codeclimate.yml Tighten duplication threshold Sep 27, 2018
.dockerignore Docker ignores node_modules Oct 13, 2016
.eslintignore Allow eslint to ignore Reactautosuggest Jan 8, 2018
.eslintrc Add no-var rule to eslint Jul 25, 2018
.gitignore Tell git to ignore the chromedriver helper files Aug 29, 2018
.haml-lint.yml Ignore Line Length for haml-lint Aug 17, 2016
.pairs Undo 'revert_hoi_changes' and re-apply HOI changes Jan 24, 2018
.postcssrc.yml added webpacker and installed react Aug 9, 2017
.rspec Reduce time needed to run integration tests Jan 17, 2018
.rubocop.yml Fixed rubocop configuration, seems to have changed on the latest version Mar 14, 2018
.rubocop_todo.yml Fix rubocop Todos Feb 17, 2017
.ruby-version Use ruby 2.4.0 Feb 17, 2017
.scss-lint.yml Add custom styling for react-select Mar 21, 2017
Dockerfile Update intake to use the latest testing base image Aug 30, 2018
Gemfile Remove headless and poltergeist as we are not using xvfb anymore Aug 30, 2018
Gemfile.lock update the rubyzip and ffi dependencies to latest to fix codeClimate … Sep 19, 2018
Jenkinsfile Add back the token. Turns out it is necessary. Jul 20, 2018
Makefile Added a wait before checking the exit code of the testing runs Apr 13, 2018
Makefile.settings Move build arguments to settings file Jan 9, 2018
README.md Added contact information for FOSS@osi.ca.gov Oct 3, 2018
Rakefile Run rspec tests in parallel on jenkins Jun 28, 2017
config.ru This change is required to use a rails relative url root for all routes Feb 20, 2018
docker-compose.yml HOT-2410 Eradicate Intake API Aug 30, 2018
jenkins-cli.jar Add test task for Jenkins CLI Oct 10, 2016
karma.conf.js Use isDocker library to run headlessly in the docker container Aug 29, 2018
package.json Use isDocker library to run headlessly in the docker container Aug 29, 2018
parallel_runtime_rspec.log Split person_validations_spec.rb into three pieces May 8, 2018
yarn.lock Use isDocker library to run headlessly in the docker container Aug 29, 2018

README.md

Maintainability Build Status

README

Web application frontend for California CWDS Hotline - Intake

Forked from the Casebook Intake Accelerator

Section 1. Introduction to the Casebook Intake Accelerator

The Casebook Accelerator Toolkit is a collection of Accelerators that are designed to assist agile teams in iteratively developing child welfare products across the country. Each Accelerator has a publicly accessible repo in GitHub providing tools, components and/or assets to jumpstart an agile development process for child welfare.

The Intake Accelerator GitHub repository will enable agile development teams to pull the source code, deploy it and build upon it for child welfare purposes.

The Intake Accelerator is designed to enable the iterative, agile development of a Child Welfare Intake application.

Section 2. Instructions (v.01)

This README will document necessary steps to get the Intake application up and running.

Intake accelerator repo is the repository that contains all the necessary coding infrastructure and tooling for developers to hit the ground running by deploying a working base application that can be extended through building upon the Intake Accelerator source code.

How to Use / Relevant files:

System dependencies:

  • Ruby version: 2.3.1, bundler
  • Node version: > 6.3.1, npm
  • The accelerator app is built on Rails 5.0.0
  • Database creation: This app is a frontend app for intake accelerator and does not host it’s own database. Instead, in “real” environments it integrates with an api.
  • Jenkinsfile uses the following parameters:
Parameter Usage
DOCKER_USER username for uploading image to dockerhub
DOCKER_PASSWORD password for uploading image to dockerhub
DEPLOY_JOB name of Jenkins pipleline that deploys the image to target environment
EMAIL_NOTIFICATION_LIST Comma and/or line separated list of email addresses to be notified if the pipeline fails.
VERSION_STRATEGY CALCULATE:Offset - use current git tag + (.$BUILD_NUMBER - Offset); Anything else - use current git tag

Tools included with the accelerator

  • All the features of the latest Rails release(currently at 5.0.0)
  • Debugging with pry and other pry-related libraries
  • Rspec, Capybara and Selenium for unit and feature testing along with FactoryGirl
  • Jasmine and Karma for javascript testing
  • Haml set up as the default templating language
  • Asset precompilation and packaging use webpack(instead of sprocket)
  • Linting tools for ruby, javascript, haml and scss
  • Execute the the test suite using: bundle exec rspec spec/
  • Run all the lints using: bin/lint

Section 3. License

Copyright (c) 2016 Case Commons, Inc.

The Casebook Intake Accelerator is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Casebook Intake Accelerator is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

See https://www.gnu.org/licenses/agpl.html

Section 4. CWDS Intake License and Copyright

Copyright (c) 2016 - 2018 State of California

CWDS Intake is software developed by the State of California and is a work based upon Case Common’s Casebook Intake Accelerator.

Questions

If you have any questions regarding the contents of this repository, please email the Office of Systems Integration at FOSS@osi.ca.gov.