Git Product home page Git Product logo

chirpradio-volunteers's Introduction

CHIRP Radio is a non-profit organization that runs a community radio station in Chicago focused on new music and the arts.

Get started by reading the development guide.

This is the code for CHIRP's internal web applications. The apps run on Google App Engine, under the 'chirpradio' project. The source code is hosted on Google Code, also under the 'chirpradio' project.

For the chirpradio developer dashboard, go to: http://appengine.google.com/dashboard?&app_id=chirpradio-hrd

For the end-user landing page, go to: http://chirpradio.appspot.com/

For the Google Code project: http://code.google.com/p/chirpradio

Helpful external documentation:

Documentation

To read or work on the developer documentation locally, create a virtualenv, and install the requirements:

pip install -r docs/requirements.txt

Run this to build the docs:

make -C docs/ html

Open docs/build/html/index.html in a web browser.

Third party code

  • google-app-engine-django

Some of the files in this directory and all of files under the appengine_django/ subdirectory are based on rev 81 of the google-app-engine-django Subversion repository.

  • Django

All files in django.zip are taken from Django 1.0.2-final. It was constructed by running the following commands:

zip -r django.zip django/__init__.py django/bin django/core \
                  django/db django/dispatch django/forms \
                  django/http django/middleware django/shortcuts \
                  django/template django/templatetags \
                  django/test django/utils django/views

zip -r django.zip django/conf -x 'django/conf/locale/*'

These commands were taken from http://code.google.com/appengine/articles/django10_zipimport.html

Some of the CSS files media/common/css are based on files that were copied from django/contrib/admin/media/css.

chirpradio-volunteers's People

Contributors

kumar303 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chirpradio-volunteers's Issues

Add new volunteers from external XML feed

The new CHIRP website will be a central location for entering volunteers. The Volunteer Tracker should check a volunteer feed URL periodically (maybe once a day from cron) and enter new volunteers into the system from that feed.

We should first add an external unique ID to the Volunteer model.

Whenever a new volunteer arrives through the feed that we don't already have an ID for, add them to the system and fill in all relevant Volunteer columns.

Update volunteer info from XML feed

The new CHIRP website will be a central location for entering volunteers. The Volunteer Tracker should check a volunteer feed URL periodically (maybe once a day from cron) and enter new volunteers into the system from that feed.

Once new volunteers are added (Issue #1) we need to also update info when it changes.

The XML format will be posted here soon. It will look similar to how the App Engine site will load volunteers.

ValueError: You must select an event when viewing unassigned tasks.

We should fix this by showing a friendly error message.

The page was /chirp/tasks/manage/?volunteer=384&event=0

Traceback (most recent call last):
  File "/var/www/chirp-volunteers/app/site-packages/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/var/www/chirp-volunteers/app/site-packages/django/contrib/admin/views/decorators.py", line 33, in _checklogin
    return view_func(request, *args, **kwargs)
  File "/var/www/chirp-volunteers/app/chirp/volunteers/views.py", line 44, in wrapper
    return func(request, *args, **kwargs)
  File "/var/www/chirp-volunteers/app/chirp/volunteers/views.py", line 237, in manage_tasks
    raise ValueError('You must select an event when viewing '
ValueError: You must select an event when viewing unassigned tasks.

Sync volunteer status from XML feed

The new CHIRP website will be a central location for entering volunteers. The Volunteer Tracker should check a volunteer feed URL periodically (maybe once a day from cron) and enter new volunteers into the system from that feed.

The feed will be consumed in Issue #1.

This issue is about synchronizing changing volunteer states. This is what we need to do:

  • Make sure pending volunteers do not have access to the tracker
  • Make sure suspended volunteers do not have access
  • Update existing volunteers when these states change

The basic feed format is described in loading volunteers for the DJ app

The feed has different sections, like this:

<current_volunteers>
    <volunteer>
    <name>
        <first>Joe</first>
    ...
</current_volunteers>
<pending_volunteers>
    <volunteer>
    <name>
        <first>Joe</first>
    ...
</pending_volunteers>
<suspended_volunteers>
    <volunteer>
    <name>
        <first>Joe</first>
    ...
</suspended_volunteers>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.