New ODCA front end
ckingbailey Merge pull request #275 from caciviclab/feat/ie-multi-disclaimer
add tooltip linking to faq on Independent Exp. Spending breakdown by committee
Latest commit 467dc7b Oct 19, 2018
Permalink
Failed to load latest commit information.
.circleci Merge branch 'master' into feature/ci-ignore Jul 19, 2018
.github Add a PR template Sep 8, 2018
_bin Update some old links and email addresses Aug 8, 2018
_includes Merge pull request #274 from caciviclab/sfdoran-patch-2 Oct 17, 2018
_layouts add tooltip with link to faq on Spending breakdown by committee Oct 17, 2018
_localities Rename SF locality_id "san-francisco" -> "sf" Jul 4, 2018
_plugins Transliterate non-latin characters in slug Jul 7, 2018
_sass Merge pull request #270 from caciviclab/feature/public-financing-to-c… Oct 17, 2018
assets Adding photo of Anthony Wilson Sep 17, 2018
src Fix issues with contributions table Sep 8, 2018
.eslintrc Update eslintrc Jul 30, 2018
.gitignore restore _ballots to gulp pull Oct 4, 2018
.node-version Pin node and ruby versions Feb 24, 2018
.ruby-version Use recent version of ruby Feb 24, 2018
.scss-lint.yml changed LINT config file. Jun 13, 2018
404.html Initial commit Feb 5, 2018
CNAME Move to opendisclosure.io Aug 8, 2018
CODE_OF_CONDUCT.md Contributing and Code of Conduct Feb 24, 2018
CONTRIBUTING.md Update some old links and email addresses Aug 8, 2018
Gemfile Update version constraint to be more accurate Jul 20, 2018
Gemfile.lock Update version constraint to be more accurate Jul 20, 2018
LICENSE.md Add License Feb 24, 2018
Makefile svg-icon include for inline icons Sep 1, 2018
README.md Add ImageMagick to prereqs Sep 7, 2018
_config.yml Remove ballots collection Oct 5, 2018
about.md Add space between "Open" and "Disclosure" Aug 29, 2018
admin.md Show missing referendums on admin page Aug 8, 2018
faq.md add 'How are contrib calc'd for comms that supp/opp multiple?' Oct 17, 2018
gulpfile.js restore _ballots to gulp pull Oct 4, 2018
index.html corrected location of hero attribution div Sep 19, 2018
package-lock.json modified landing paragraph spacing and removed screen size restriction Sep 10, 2018
package.json npm audit fix Sep 8, 2018
robots.txt Make robots less restrictive Sep 26, 2018
webpack.config.js Remove babel 6 w/ ES6 classes work around Sep 7, 2018

README.md

CircleCI Waffle.io - Columns and their card count

www.opendisclosure.io

Open Disclosure California provides transparent, non-partisan campaign contribution and expenditure data in an accessible and easy to understand format. We hope this site will engage the voting public and raise awareness and accountability. Ultimately, this is one step toward shifting politics into a movement of civic engagement and ultimate citizen action.

Contributing

Welcome! We are a coalition of brigades, all volunteers from the California. We would love to get help from folks across the state to help us in building a database of campaign finance data for local jurisdictions across the state.

www.opendisclosure.io is one piece of the ODCA project. We try to keep our project page up to date with all the information about how we work and where to get looped in.

Please see CONTRIBUTING.md for more information.

Prerequisites

Setup

$ make setup
$ make build

Follow the instructions under Finance disclosures.

$ make pull-finance
$ make serve

Open your web browser to http://localhost:4000/.

Development

Run the tests

$ make test

Finance disclosures

The process of downloading, converting, and calculating the reported financial disclosures is handled by disclosure-backend-static. To get the finance data into this project, we use gulp.js to copy the files over and do some light transformations on their file paths.

If you have thoughts on how this could be improved, let us know!

Update the finance data

In order to get the latest finance data, first clone disclosure-backend-static as a sibling to this project's directory. It is important that the disclosure-backend-static project is cloned to the correct path (../disclosure-backend-static) which is hardcoded in the gulpfile (pull requests welcome).

Then you can run the pull-finance task.

$ make pull-finance

Now rebuild your site with the finance data.

$ make serve

Deployment

This site is deployed by a scheduled CI task twice daily. It clones the disclosure-backend-static repo and pulls in the finance data before doing a build. Merges to the master branch will also trigger a deploy.

The site is hosted on GitHub Pages. The deploy consists of a force push of the _site directory to the gh-pages branch done by _bin/deploy.sh.

License

Content for this website is available under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Code is licensed under the GNU Affero General Public License.

    www.opendisclosure.io California’s online source for local campaign finance data
    Copyright (C) 2018  CA Civic Lab

    This program 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.

    This program 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.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Font Awesome Icons located under assets/fontawesome/ available under the CC-BY-4.0 License.