• This repository has been archived on 03/Mar/2022
  • Stars
    star
    1,144
  • Rank 40,758 (Top 0.9 %)
  • Language
    JavaScript
  • Created about 12 years ago
  • Updated almost 3 years ago

Reviews

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

Repository Details

Drupal installation profile powering We The People at petitions.whitehouse.gov

We The People petitions application

Drupal 7 code base used to build an application that lets users create and sign petitions.

This application is under active development and will continue to be modified and improved over time. The current release is an "alpha." (see “Roadmap” section below).

Goals

President Obama is committed to creating the most open and participatory government in our nation’s history, and this petitioning platform is a key part of that initiative. In September, 2011, the White House launched We the People, a powerful and simple way to petition the Obama Administration to take action on a range of issues. If a petition gathers a minimum number of signatures in a defined amount of time, policy officials review it and publish an official response.

Among our commitments, we’re launching a new online tool -- called “We the People” -- to allow Americans to directly petition the White House, and we’ll share that technology so any government in the world can enable its citizens to do the same.

-- President Barack Obama, September 20, 2011

Releasing the source code for this application is meant to empower other governments and organizations to use similar petitioning platforms to engage their own citizens and constituencies. In addition, public review and contribution to the application’s code base will help strengthen and improve the platform.

Requirements

  • Drupal 7.x
  • MySQL 5.x
  • PHP 5.2+

Recommended:

  • RAM +512 M

Usage

Site visitors can create a user account, log in, and create petitions. Petition creators can share the URL for their petition to generate signatures. When the petition crosses a certain threshold, the petition becomes "public" and is listed as an open petition on the site's "open petitions" page.

Visitors can sign petitions. Petitions that receive a designated number of signatures (at the White House the number is 100,000 in one month) get a response.

For installation instructions, see INSTALL.md.

NOTE: Setting up the application and configuring it for use in your organization’s context requires Drupal development experience. The application ships with a similar design (theme) to what is used on petitions.whitehouse.gov and needs to be customized for use by others using standard Drupal 7 themeing conventions. The application also ships with various user interface elements, user account settings, and other configurations that users should expect to customize using standard Drupal 7 techniques and conventions.

Roadmap

We the People is a work in progress and currently exists at a very basic level of functionality. Priorities for future development are detailed below.

The following descriptions are for informational purposes only and should not be interpreted as commitments or guarantees of future code releases in any way.

Install Profile

The codebase is released as-is and currently supports a specific, standalone website. In the future we would like to provide an install profile that supports a wider range of applications.

Generic Theme

The current codebase replicates the theme used on the White House website. In the future, we would like to provide a generic, "white label" Drupal 7 theme.

Improved Social Media Integration

The current platform allows basic sharing of petitions, responses and other content on the site via social media platforms like Facebook and Twitter. In the future, we would like reduce the friction of signing a petition by making it possible to sign a petition in the context of a social network (e.g. by “liking” an object on facebook).

Contributing

Anyone is encouraged to contribute to the project by forking and submitting a pull request. (If you are new to GitHub, you might start with a basic tutorial.)

By contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the Gnu General Public License v2 or later.

All comments, messages, pull requests, and other submissions received through official White House pages including this GitHub page are subject to the Presidential Records Act and may be archived. Learn more http://WhiteHouse.gov/privacy

License

This project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105.

The project utilizes code licensed under the terms of the GNU General Public License and therefore is licensed under GPL v2 or later.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 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 General Public License for more details.

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

More Repositories

1

api-standards

3,081
star
2

wh-app-ios

Objective-C
671
star
3

fb_messenger_bot

This Drupal module provides a tool to build a chat bot to work on Facebook's Messenger Platform.
PHP
562
star
4

budgetdata

The data behind the President's 2016 Budget
541
star
5

wh-app-android

Java
406
star
6

fortyfour

7.x base theme for White House sites
CSS
336
star
7

source-code-policy

Federal Source Code Policy
CSS
249
star
8

fitara

Management and Oversight of Federal IT Resources
CSS
107
star
9

omb_place

Federal Place-based Initiatives Map
CSS
47
star
10

datacenters

Data Center Optimization Initiative (DCOI) Memo
JavaScript
20
star
11

CIOmanagement

Management and Oversight of Federal Information Technology
SCSS
17
star
12

ndoch-hackathon

15
star
13

education-compliance-reports

Python
13
star
14

buildmanager

Note: This project is in active development. Documentation may not be totally up to date. Stable release (and corresponding documentation) hopefully coming soon.
PHP
12
star
15

drushsubtree

Note: This project is in active development. Documentation may not be totally up to date. Stable release (and corresponding documentation) hopefully coming soon.
9
star
16

heartbleed

PHP
9
star
17

write-api-beta-testing

9
star
18

twitterapi

Drupal module with a simple interface for Twitter's REST API
9
star
19

services_documentation

PHP
8
star
20

cyber-acquisitions

CSS
7
star
21

tweetserver

Drupal install profile to grab tweets and push up to a CDN for redistribution.
PHP
6
star
22

webform_submit_button

The webform_submit_button module for Drupal
6
star
23

shunt

PHP
5
star
24

petitions_thermometer

Sheldon Rampton's project at White House hackathon on 2/22/2013
PHP
5
star
25

choropleth

JavaScript
4
star
26

software-policy

Category Management Policy 16-1: Improving the Acquisition and Management of Common Information Technology: Software Licensing
CSS
4
star
27

logger

Repository for the Drupal Logger module.
PHP
3
star
28

petitions-php-sdk

PHP
3
star
29

petition

This project has been renamed petitionS.
2
star
30

choropleth_dataset

JavaScript
2
star
31

ostp-ai-rfi-responses

Public comments submitted in response to 2016 OSTP RFI on Artificial Intelligence
2
star
32

tweetfetch

Stand-alone version of Tweet Fetch module originally developed for 2014 State of the Union Address as part of Tweet Server, https://github.com/whitehouse/tweetserver.
2
star
33

whrmake

A drush make file for compiling the code necessary to implement much of the functionality of the new responsive whitehouse.gov
1
star
34

ostp-data-portability-rfi-responses

Public comments submitted in response to 2016 OSTP RFI on Data Portability
1
star
35

mobile-policy

Category Management Policy 16-2: Improving the Acquisition and Management of Common Information Technology: Mobile Devices and Services
CSS
1
star
36

netstorage

Drupal module to help you sync files up to Akamai NetStorage.
PHP
1
star