• Stars
    star
    160
  • Rank 233,628 (Top 5 %)
  • Language
    Java
  • License
    Other
  • Created about 15 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Congress for Android, an app for tracking Congress.

Congress for Android

This is the source code for the Eric Mill's Congress app for Android phones. (This app was previously funded and developed for years by the Sunlight Foundation.)

Find the most up-to-date version in the Google Play Store: https://play.google.com/store/apps/details?id=com.sunlightlabs.android.congress

We ship the app using the code found in this repository, with some miscellaneous unversioned API keys and build information placed in app/src/main/res/values/keys.xml.

We use Github Issues for issue tracking.

Setup

When setting this up:

  • copy keys.xml.example to app/src/main/res/values/keys.xml and:
    • fill in propublica_api_key with your Pro Publica API key,
    • fill in propublica_api_endpoint with the base Pro Publica API endpoint you wish to use. By default, this is https://api.propublica.org/congress/v1/.
  • copy tracker.xml.example to app/src/main/res/xml/tracker.xml

If you're using Google Analytics, fill in app/src/main/res/xml/tracker.xml's ga_trackingId field with your Google Analytics profile tracking ID. (Make sure you've set up a profile in Google Analytics first.)

If you're not using Google Analytics, then turn off analytics by setting app/src/main/res/values/keys.xml's debug_disable_analytics field to true.

License

We use a mixed GPLv3 and BSD license for our code in this repository. Generally speaking, the code specific to our Android app is GPLv3, and the code you could reuse in any Java or Android app is BSD.

The repository also contains some miscellaneous .jar files in /libs, who have separate individual licenses.

See LICENSE for complete details.

Release Checklist

Final dev check:

  • Tested on enough emulators to feel confident?
  • Leave any debug stuff commented out or in? (also avoid ever having to do this even temporarily)

Code changes:

  • Bump the android:versionCode and android:versionName in AndroidManifest.xml
  • Bump the android:app_version in strings.xml to match android:versionName
  • Change the android:app_version_older in strings.xml to what's appropriate
  • Update the changelog data in arrays.xml to what's appropriate
  • Commit changes, add tag in git for version "vX.X.X" where X.X.X is the android:versionName
    • git tag -a -m "Tagging vX.X.X" vX.X.X
    • git push --tags

Then, release work:

  • Check keys.xml:
    • is pro_publica_api_endpoint pointing to production?
    • are all debug flags set to false?
  • Produce signed APK version
  • Take any screenshots needed to replace outdated ones
    • Replace any new screenshots in _____ (GitHub?)
  • Store APKs in GitHub
    • into releases/
    • create a Release associated with the tag

More Repositories

1

json

A free, in-browser JSON to CSV converter.
JavaScript
739
star
2

shaaaaaaaaaaaaa

Check if a website has weak SHA-1 TLS certificates.
JavaScript
207
star
3

campyre

RETIRED: A Campfire client for Android.
Java
68
star
4

cdns-to-https

(Retired.) Testing HTTP->HTTPS redirects for CDNs.
HTML
56
star
5

debian

Debian on a Dell XPS 9350. Tutorials, notes, and suggestions.
52
star
6

fisacourt

Watching the FISA Court's public docket.
Ruby
40
star
7

bit.voyage

Allow anyone with a modern browser to stream a 1GB, 10GB, 100GB, or 1TB file over the Internet and into a happy home.
JavaScript
32
star
8

oversight.garden

Bringing together the oversight community's work.
JavaScript
26
star
9

jekyll-webfinger

Webfinger endpoint generator for Jekyll.
Ruby
21
star
10

unitedstates-documents-old

DEFUNCT. Process legal documents into integration-friendly HTML.
Ruby
21
star
11

privacy

Guides and support for communicating in private.
18
star
12

ubuntu

Ubuntu resources
16
star
13

basecamper

RETIRED: Command line interface to tracking time on Basecamp.
Ruby
14
star
14

justgrimes

Justin Grimes for Android
Java
8
star
15

email

Guides and support for owning your email address.
8
star
16

rubedo

RETIRED: A Ruby shoutcast client with a Camping-based frontend. For managing a shared radio station.
Ruby
7
star
17

slack-otr

A tool to manage an off-the-record (OTR) community Slack, on the free plan.
Python
6
star
18

jss

JSON Simple Syndication -- RSS rethought for JSON
6
star
19

ohnomymoney

RETIRED: Broadcasting my money since May of '08.
JavaScript
5
star
20

unitedstates-sync-old

DEFUNCT. Syncing scripts for repos at @unitedstates
Python
5
star
21

open-source-examples

Examples of open source in action.
3
star
22

sinatra-webfinger

Webfinger plugin for Sinatra.
Ruby
2
star
23

animation

Experiments in 2D and 3D web-based animation.
JavaScript
1
star
24

backbone-repair

HTML
1
star
25

hellgoworld

hello world but it's in Go
1
star
26

games

Info about games I like.
1
star
27

s3-multipart-tool

a simple command line tool to manage s3 multipart uploads
JavaScript
1
star
28

github-search-rss

Tiny app to make RSS feeds for Github code search results.
JavaScript
1
star
29

everyoneishereinthefuture

An archive of Everyone is Here in the Future, by _why
HTML
1
star