├── .gitignore ├── README.md ├── bootstrap.py ├── docs ├── Makefile ├── _static │ └── openblock.css ├── _templates │ └── layout.html ├── bootstrap.rst ├── changes │ ├── history.rst │ ├── index.rst │ └── release_notes.rst ├── conf.py ├── contents.rst ├── index.rst ├── install │ ├── aws.rst │ ├── base_install.rst │ ├── common_install_problems.rst │ ├── configuration.rst │ ├── custom.rst │ ├── demo_setup.rst │ ├── geodata.rst │ ├── index.rst │ ├── remote_postgis_server.rst │ └── setup.rst ├── main │ ├── alerts.rst │ ├── api.rst │ ├── deployment.rst │ ├── index.rst │ ├── maintenance.rst │ ├── running_scrapers.rst │ ├── schemas.rst │ ├── scraper_tutorial.rst │ ├── theming.rst │ └── widgets.rst ├── make.bat ├── packages │ ├── ebdata.blobs.rst │ ├── ebdata.geotagger.rst │ ├── ebdata.nlp.rst │ ├── ebdata.parsing.rst │ ├── ebdata.retrieval.rst │ ├── ebdata.retrieval.scrapers.rst │ ├── ebdata.retrieval.updaterdaemon.rst │ ├── ebdata.rst │ ├── ebdata.scrapers.general.flickr.rst │ ├── ebdata.scrapers.general.georss.rst │ ├── ebdata.scrapers.general.meetup.rst │ ├── ebdata.scrapers.general.open311.rst │ ├── ebdata.scrapers.general.rst │ ├── ebdata.scrapers.general.seeclickfix.rst │ ├── ebdata.scrapers.general.spreadsheet.rst │ ├── ebdata.scrapers.rst │ ├── ebdata.scrapers.us.ma.boston.building_permits.rst │ ├── ebdata.scrapers.us.ma.boston.businesses.rst │ ├── ebdata.scrapers.us.ma.boston.events.rst │ ├── ebdata.scrapers.us.ma.boston.police_reports.rst │ ├── ebdata.scrapers.us.ma.boston.restaurants.rst │ ├── ebdata.scrapers.us.ma.boston.rst │ ├── ebdata.scrapers.us.ma.rst │ ├── ebdata.scrapers.us.rst │ ├── ebdata.templatemaker.rst │ ├── ebdata.textmining.rst │ ├── ebdata.utils.rst │ ├── ebpub.accounts.management.commands.rst │ ├── ebpub.accounts.management.rst │ ├── ebpub.accounts.rst │ ├── ebpub.alerts.rst │ ├── ebpub.db.bin.rst │ ├── ebpub.db.rst │ ├── ebpub.db.templatetags.rst │ ├── ebpub.geocoder.parser.rst │ ├── ebpub.geocoder.rst │ ├── ebpub.metros.rst │ ├── ebpub.moderation.rst │ ├── ebpub.neighbornews.rst │ ├── ebpub.openblockapi.apikey.rst │ ├── ebpub.openblockapi.rst │ ├── ebpub.petitions.rst │ ├── ebpub.preferences.rst │ ├── ebpub.richmaps.rst │ ├── ebpub.rst │ ├── ebpub.savedplaces.rst │ ├── ebpub.streets.bin.rst │ ├── ebpub.streets.blockimport.esri.importers.rst │ ├── ebpub.streets.blockimport.esri.management.commands.rst │ ├── ebpub.streets.blockimport.esri.management.rst │ ├── ebpub.streets.blockimport.esri.rst │ ├── ebpub.streets.blockimport.rst │ ├── ebpub.streets.blockimport.tiger.rst │ ├── ebpub.streets.rst │ ├── ebpub.utils.rst │ ├── ebpub.widgets.rst │ ├── index.rst │ ├── modules.rst │ ├── obadmin.admin.rst │ ├── obadmin.rst │ ├── obdemo.management.commands.rst │ ├── obdemo.management.rst │ ├── obdemo.rst │ └── obdemo.scrapers.rst └── spreadsheet.rst ├── ebdata ├── .gitignore ├── COPYING ├── README.txt ├── ebdata │ ├── __init__.py │ ├── blobs │ │ ├── __init__.py │ │ ├── auto_purge.py │ │ ├── create_seeds.py │ │ ├── geotagging.py │ │ ├── manual.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── scrapers.py │ │ └── update_feeds.py │ ├── geotagger │ │ ├── __init__.py │ │ ├── models.py │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── nlp │ │ ├── __init__.py │ │ ├── addresses.py │ │ ├── datelines.py │ │ ├── models.py │ │ ├── places.py │ │ └── tests │ │ │ ├── __init__.py │ │ │ ├── test_datelines.py │ │ │ └── tests.py │ ├── parsing │ │ ├── __init__.py │ │ ├── dbf.py │ │ ├── excel.py │ │ ├── mdb.py │ │ ├── pdftotext.py │ │ └── unicodecsv.py │ ├── retrieval │ │ ├── __init__.py │ │ ├── log.py │ │ ├── log_debug.py │ │ ├── models.py │ │ ├── retrievers.py │ │ ├── scrapers │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── fixtures │ │ │ │ └── test_scraper_fixtures.json │ │ │ ├── list_detail.py │ │ │ ├── newsitem_list_detail.py │ │ │ └── tests.py │ │ ├── updaterdaemon │ │ │ ├── __init__.py │ │ │ ├── config.py │ │ │ ├── initscript │ │ │ └── runner.py │ │ └── utils.py │ ├── scrapers │ │ ├── __init__.py │ │ ├── general │ │ │ ├── __init__.py │ │ │ ├── flickr │ │ │ │ ├── __init__.py │ │ │ │ ├── flickr_retrieval.py │ │ │ │ └── photos_schema.json │ │ │ ├── georss │ │ │ │ ├── __init__.py │ │ │ │ ├── local_news_schema.json │ │ │ │ └── retrieval.py │ │ │ ├── meetup │ │ │ │ ├── __init__.py │ │ │ │ ├── meetup_retrieval.py │ │ │ │ └── meetup_schema.json │ │ │ ├── open311 │ │ │ │ ├── __init__.py │ │ │ │ ├── georeportv2.py │ │ │ │ └── open311_service_requests_schema.json │ │ │ ├── seeclickfix │ │ │ │ ├── __init__.py │ │ │ │ ├── seeclickfix_retrieval.py │ │ │ │ └── seeclickfix_schema.json │ │ │ └── spreadsheet │ │ │ │ ├── __init__.py │ │ │ │ ├── retrieval.py │ │ │ │ └── tests.py │ │ └── us │ │ │ ├── __init__.py │ │ │ └── ma │ │ │ ├── __init__.py │ │ │ └── boston │ │ │ ├── __init__.py │ │ │ ├── building_permits │ │ │ ├── __init__.py │ │ │ ├── building_permit_schema.json │ │ │ └── retrieval.py │ │ │ ├── businesses │ │ │ ├── __init__.py │ │ │ ├── business_licences_schema.json │ │ │ └── retrieval.py │ │ │ ├── events │ │ │ ├── __init__.py │ │ │ ├── events_schema.json │ │ │ └── retrieval.py │ │ │ ├── police_reports │ │ │ ├── __init__.py │ │ │ ├── police_report_schema.json │ │ │ └── retrieval.py │ │ │ └── restaurants │ │ │ ├── __init__.py │ │ │ ├── restaurant_inspection_schema.json │ │ │ └── retrieval.py │ ├── templatemaker │ │ ├── __init__.py │ │ ├── articletext.py │ │ ├── brain.py │ │ ├── clean.py │ │ ├── hole.py │ │ ├── htmlutils.py │ │ ├── listdiff.c │ │ ├── listdiff.py │ │ ├── models.py │ │ ├── sst.py │ │ ├── template.py │ │ ├── tests │ │ │ ├── __init__.py │ │ │ ├── articletext.py │ │ │ ├── brain.py │ │ │ ├── clean.py │ │ │ ├── hole.py │ │ │ ├── htmlutils.py │ │ │ ├── listdiff.py │ │ │ ├── listdiffc.py │ │ │ ├── run_all.py │ │ │ ├── sst.py │ │ │ ├── template.py │ │ │ ├── textlist.py │ │ │ └── webmining.py │ │ ├── textlist.py │ │ └── webmining.py │ ├── textmining │ │ ├── __init__.py │ │ ├── models.py │ │ ├── tests │ │ │ ├── __init__.py │ │ │ └── treeutils.py │ │ └── treeutils.py │ └── utils │ │ ├── __init__.py │ │ └── daemon.py ├── requirements.txt └── setup.py ├── ebpub ├── .gitignore ├── COPYING ├── MANIFEST.in ├── README.txt ├── bin │ └── export_newsitems.py ├── ebpub │ ├── __init__.py │ ├── accounts │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── callbacks.py │ │ ├── constants.py │ │ ├── context_processors.py │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── __init__.py │ │ │ │ └── createsuperuser.py │ │ ├── middleware.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ ├── alerts │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_auto__add_field_emailalert_block_center.py │ │ │ ├── 0003_populate_block_center.py │ │ │ ├── 0004_auto__del_field_emailalert_block.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── sending.py │ │ └── views.py │ ├── constants.py │ ├── db │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── bin │ │ │ ├── __init__.py │ │ │ ├── activate_schema.py │ │ │ ├── add_location.py │ │ │ ├── alphabetize_locations.py │ │ │ ├── delete_newsitems.py │ │ │ ├── export_schema.py │ │ │ ├── geocode_newsitems.py │ │ │ ├── import_hoods.py │ │ │ ├── import_locations.py │ │ │ ├── import_zips.py │ │ │ └── update_aggregates.py │ │ ├── breadcrumbs.py │ │ ├── constants.py │ │ ├── context_processors.py │ │ ├── feeds.py │ │ ├── fields.py │ │ ├── fixtures │ │ │ ├── crimes.json │ │ │ ├── default_news_types.json │ │ │ ├── test-locationdetail-views.json │ │ │ └── test-schemafilter-views.json │ │ ├── forms.py │ │ ├── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ │ ├── __init__.py │ │ │ │ └── show_urls.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_initial_statistics.py │ │ │ ├── 0003_attribute_indices.py │ │ │ ├── 0004_st_intersects_patch.py │ │ │ ├── 0005_newsitem_location_trigger.py │ │ │ ├── 0006_add_location_synonym.py │ │ │ ├── 0007_load_default_schemas.py │ │ │ ├── 0008_bigger_attributes.py │ │ │ ├── 0009_add_real_slug_to_schemafield.py │ │ │ ├── 0010_populate_schemafield_slugs.py │ │ │ ├── 0011_delete_schemafield_name.py │ │ │ ├── 0012__undo_0011.py │ │ │ ├── 0013__undo_0010.py │ │ │ ├── 0014__undo_0009.py │ │ │ ├── 0015_auto__add_field_schema_map_icon_url__add_field_schema_map_color.py │ │ │ ├── 0016_use_slug_fields_for_slugs.py │ │ │ ├── 0017_del_location_centroid.py │ │ │ ├── 0018_add_newsitem_last_modification.py │ │ │ ├── 0019_auto__add_field_schema_allow_comments.py │ │ │ ├── 0020_auto__add_field_schema_is_event.py │ │ │ ├── 0021_auto__add_unique_lookup_code_schema_field.py │ │ │ ├── 0022_auto__del_field_newsitem_block.py │ │ │ ├── 0023_auto__add_newsitemimage.py │ │ │ ├── 0024_auto__add_field_schema_allow_flagging.py │ │ │ ├── 0025_auto__add_more_indexes.py │ │ │ ├── 0026_make_unique_lookup_names.py │ │ │ ├── 0027_add_field_lookup_featured__add_unique_lookup_schema_field_name.py │ │ │ ├── 0028_auto__add_unique_schemafield_name_schema__add_field_schema_edit_window.py │ │ │ ├── 0029_auto__del_fields_schema__intro__grab_bag__grab_bag_headline.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── schemafilters.py │ │ ├── sql │ │ │ └── reset_schemas_and_newsitems.sql │ │ ├── templates │ │ │ └── admin │ │ │ │ └── db │ │ │ │ └── schema │ │ │ │ └── change_form.html │ │ ├── templatetags │ │ │ ├── __init__.py │ │ │ ├── dateutils.py │ │ │ ├── eb.py │ │ │ ├── eb_filter.py │ │ │ ├── eb_json.py │ │ │ ├── full_links.py │ │ │ ├── mapping.py │ │ │ ├── raw.py │ │ │ └── recaptcha_tags.py │ │ ├── tests │ │ │ ├── __init__.py │ │ │ ├── test_models.py │ │ │ ├── test_schemafilters.py │ │ │ ├── test_templatetags.py │ │ │ ├── test_utils.py │ │ │ └── test_views.py │ │ ├── urlresolvers.py │ │ ├── utils.py │ │ └── views.py │ ├── geoadmin.py │ ├── geocoder │ │ ├── __init__.py │ │ ├── base.py │ │ ├── fixtures │ │ │ └── places.yaml │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── parser │ │ │ ├── __init__.py │ │ │ ├── abbr_state.txt │ │ │ ├── cities.py │ │ │ ├── models.py │ │ │ ├── numbered_streets.py │ │ │ ├── parsing.py │ │ │ ├── prefixes.py │ │ │ ├── states.py │ │ │ ├── suffixes.py │ │ │ ├── suffixes.txt │ │ │ └── tests.py │ │ ├── reverse.py │ │ ├── suffixes.txt │ │ └── tests │ │ │ ├── __init__.py │ │ │ ├── geocoder.py │ │ │ └── parser.py │ ├── media │ │ ├── scripts │ │ │ ├── OpenLayers-2.11 │ │ │ │ ├── OpenLayers.js │ │ │ │ ├── img │ │ │ │ │ ├── blank.gif │ │ │ │ │ ├── cloud-popup-relative.png │ │ │ │ │ ├── drag-rectangle-off.png │ │ │ │ │ ├── drag-rectangle-on.png │ │ │ │ │ ├── east-mini.png │ │ │ │ │ ├── layer-switcher-maximize.png │ │ │ │ │ ├── layer-switcher-minimize.png │ │ │ │ │ ├── marker-blue.png │ │ │ │ │ ├── marker-gold.png │ │ │ │ │ ├── marker-green.png │ │ │ │ │ ├── marker.png │ │ │ │ │ ├── measuring-stick-off.png │ │ │ │ │ ├── measuring-stick-on.png │ │ │ │ │ ├── north-mini.png │ │ │ │ │ ├── panning-hand-off.png │ │ │ │ │ ├── panning-hand-on.png │ │ │ │ │ ├── slider.png │ │ │ │ │ ├── south-mini.png │ │ │ │ │ ├── west-mini.png │ │ │ │ │ ├── zoom-minus-mini.png │ │ │ │ │ ├── zoom-plus-mini.png │ │ │ │ │ ├── zoom-world-mini.png │ │ │ │ │ └── zoombar.png │ │ │ │ └── theme │ │ │ │ │ └── default │ │ │ │ │ ├── framedCloud.css │ │ │ │ │ ├── google.css │ │ │ │ │ ├── google.tidy.css │ │ │ │ │ ├── ie6-style.css │ │ │ │ │ ├── ie6-style.tidy.css │ │ │ │ │ ├── img │ │ │ │ │ ├── add_point_off.png │ │ │ │ │ ├── add_point_on.png │ │ │ │ │ ├── blank.gif │ │ │ │ │ ├── close.gif │ │ │ │ │ ├── drag-rectangle-off.png │ │ │ │ │ ├── drag-rectangle-on.png │ │ │ │ │ ├── draw_line_off.png │ │ │ │ │ ├── draw_line_on.png │ │ │ │ │ ├── draw_point_off.png │ │ │ │ │ ├── draw_point_on.png │ │ │ │ │ ├── draw_polygon_off.png │ │ │ │ │ ├── draw_polygon_on.png │ │ │ │ │ ├── editing_tool_bar.png │ │ │ │ │ ├── move_feature_off.png │ │ │ │ │ ├── move_feature_on.png │ │ │ │ │ ├── navigation_history.png │ │ │ │ │ ├── overview_replacement.gif │ │ │ │ │ ├── pan-panel-NOALPHA.png │ │ │ │ │ ├── pan-panel.png │ │ │ │ │ ├── pan_off.png │ │ │ │ │ ├── pan_on.png │ │ │ │ │ ├── panning-hand-off.png │ │ │ │ │ ├── panning-hand-on.png │ │ │ │ │ ├── remove_point_off.png │ │ │ │ │ ├── remove_point_on.png │ │ │ │ │ ├── ruler.png │ │ │ │ │ ├── save_features_off.png │ │ │ │ │ ├── save_features_on.png │ │ │ │ │ ├── view_next_off.png │ │ │ │ │ ├── view_next_on.png │ │ │ │ │ ├── view_previous_off.png │ │ │ │ │ ├── view_previous_on.png │ │ │ │ │ ├── zoom-panel-NOALPHA.png │ │ │ │ │ └── zoom-panel.png │ │ │ │ │ ├── style.css │ │ │ │ │ └── style.tidy.css │ │ │ ├── chosen-sprite.png │ │ │ ├── chosen.css │ │ │ ├── chosen.jquery.js │ │ │ ├── jquery-ui-1.8.17.custom.min.js │ │ │ ├── jquery.calendrical.js │ │ │ ├── json2.js │ │ │ ├── ob-jquery-csrf.js │ │ │ ├── openblockrichmap.js │ │ │ └── widgeteditor.js │ │ └── styles │ │ │ ├── bg.png │ │ │ ├── breadcrumb-separator.png │ │ │ ├── calendrical.css │ │ │ ├── heading-bg.jpg │ │ │ ├── openblock.css │ │ │ ├── smoothness │ │ │ ├── images │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ └── ui-icons_cd0a0a_256x240.png │ │ │ └── jquery-ui-1.8.17.custom.css │ │ │ ├── style-reset.css │ │ │ ├── zoom-in.png │ │ │ └── zoom-out.png │ ├── metros │ │ ├── __init__.py │ │ ├── allmetros.py │ │ ├── fixtures │ │ │ └── metros.json │ │ ├── loader.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── test_urls.py │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── moderation │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── forms.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ └── moderation │ │ │ │ ├── flag_form.html │ │ │ │ ├── flagged.html │ │ │ │ └── moderate_confirmation.html │ │ ├── urls.py │ │ └── views.py │ ├── monkeypatches.py │ ├── neighbornews │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── fixtures │ │ │ └── neighbornews_schemas.json │ │ ├── forms.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_add_is_event.py │ │ │ ├── 0003_allow_flagging.py │ │ │ ├── 0004_chartable_categories.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ ├── db │ │ │ │ ├── newsitem_detail │ │ │ │ │ ├── neighbor-events.html │ │ │ │ │ └── neighbor-messages.html │ │ │ │ ├── schema_detail │ │ │ │ │ ├── neighbor-events.html │ │ │ │ │ └── neighbor-messages.html │ │ │ │ ├── schema_filter │ │ │ │ │ ├── neighbor-events.html │ │ │ │ │ └── neighbor-messages.html │ │ │ │ └── snippets │ │ │ │ │ └── newsitem_list │ │ │ │ │ ├── neighbor-events.html │ │ │ │ │ └── neighbor-messages.html │ │ │ └── neighbornews │ │ │ │ ├── delete_form.html │ │ │ │ ├── image_list_snippet.html │ │ │ │ ├── new_message.html │ │ │ │ └── news_by_user.html │ │ ├── tests.py │ │ ├── urls.py │ │ ├── utils.py │ │ └── views.py │ ├── openblockapi │ │ ├── __init__.py │ │ ├── apikey │ │ │ ├── __init__.py │ │ │ ├── admin.py │ │ │ ├── auth.py │ │ │ ├── migrations │ │ │ │ ├── 0001_initial.py │ │ │ │ └── __init__.py │ │ │ ├── models.py │ │ │ ├── signals.py │ │ │ ├── urls.py │ │ │ └── views.py │ │ ├── fixtures │ │ │ ├── test-item-search.json │ │ │ ├── test-locations.json │ │ │ ├── test-locationtypes.json │ │ │ ├── test-places.json │ │ │ ├── test-placetypes.json │ │ │ ├── test-schema.yaml │ │ │ └── test-streets.json │ │ ├── itemquery.py │ │ ├── models.py │ │ ├── tests.py │ │ ├── throttle.py │ │ ├── urls.py │ │ └── views.py │ ├── petitions │ │ ├── __init__.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ └── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── preferences │ │ ├── __init__.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_auto__add_profile.py │ │ │ ├── 0003_populate_profiles.py │ │ │ ├── 0004_auto__add_field_profile_max_keys.py │ │ │ ├── 0005_auto__add_field_profile_properties.py │ │ │ └── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── richmaps │ │ ├── __init__.py │ │ ├── models.py │ │ ├── templates │ │ │ └── richmaps │ │ │ │ ├── bigmap.html │ │ │ │ ├── embed_bigmap.html │ │ │ │ ├── newsitem_headline.html │ │ │ │ ├── newsitem_popup.html │ │ │ │ ├── no_headlines.html │ │ │ │ ├── place_headline.html │ │ │ │ ├── place_popup.html │ │ │ │ └── richmap.html │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── savedplaces │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_auto__add_field_savedplace_block_center.py │ │ │ ├── 0003_populate_block_center.py │ │ │ ├── 0004_auto__del_field_savedplace_block.py │ │ │ └── __init__.py │ │ ├── models.py │ │ └── views.py │ ├── settings_default.py │ ├── streets │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── bin │ │ │ ├── __init__.py │ │ │ ├── delete_blocks_outside_city.py │ │ │ ├── fix_block_numbers.py │ │ │ ├── populate_streets.py │ │ │ ├── populate_suburbs.py │ │ │ └── update_block_pretty_names.py │ │ ├── blockimport │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── esri │ │ │ │ ├── __init__.py │ │ │ │ ├── importers │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── blocks.py │ │ │ │ │ └── zipcodes.py │ │ │ │ └── management │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── commands │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── importesri.py │ │ │ └── tiger │ │ │ │ ├── __init__.py │ │ │ │ └── import_blocks.py │ │ ├── fixtures │ │ │ ├── initial_data.json │ │ │ └── wabash.yaml │ │ ├── migrations │ │ │ ├── 0001_initial.py │ │ │ ├── 0002_add_place_misspellings.py │ │ │ ├── 0003_refactor_misspellings.py │ │ │ ├── 0004_fix_block_numbers.py │ │ │ ├── 0005_auto__add_placetype.py │ │ │ ├── 0006_initial_place_types.py │ │ │ ├── 0007_auto__add_field_place_place_type.py │ │ │ ├── 0008_auto__add_field_place_url.py │ │ │ ├── 0009_auto__del_field_placetype_map_icon.py │ │ │ ├── 0010_auto__add_field_placetype_map_icon_url__add_field_placetype_map_color.py │ │ │ ├── 0011_fix_missing_suffixes.py │ │ │ ├── 0012_add_prefix_to_block_and_intersection.py │ │ │ ├── 0013_auto__add_field_street_prefix.py │ │ │ └── __init__.py │ │ ├── models.py │ │ ├── name_utils.py │ │ ├── templates │ │ │ └── admin │ │ │ │ └── streets │ │ │ │ ├── place │ │ │ │ ├── change_list.html │ │ │ │ ├── export_places_csv.html │ │ │ │ ├── import_places_csv.html │ │ │ │ └── import_places_csv_result.html │ │ │ │ └── placetype │ │ │ │ └── change_form.html │ │ ├── tests.py │ │ └── utils.py │ ├── templates │ │ ├── 404.html │ │ ├── 500.html │ │ ├── accounts │ │ │ ├── dashboard.html │ │ │ ├── email_sent.html │ │ │ ├── hash_error.html │ │ │ ├── login_form.html │ │ │ ├── logout_form.html │ │ │ ├── password_change_form.html │ │ │ ├── password_reset_email.html │ │ │ ├── password_reset_email.txt │ │ │ ├── register_email.html │ │ │ ├── register_email.txt │ │ │ ├── register_form_1.html │ │ │ ├── register_form_2.html │ │ │ └── request_password_change_form.html │ │ ├── alerts │ │ │ ├── confirm_unsubscription.html │ │ │ ├── email.html │ │ │ ├── email.txt │ │ │ ├── signup_form.html │ │ │ └── signup_thanks.html │ │ ├── base.html │ │ ├── base.kml │ │ ├── base_place.html │ │ ├── comments │ │ │ ├── base.html │ │ │ └── flag.html │ │ ├── db │ │ │ ├── block_list.html │ │ │ ├── city_list.html │ │ │ ├── did_you_mean.html │ │ │ ├── feed_signup.html │ │ │ ├── filter_bad_address.html │ │ │ ├── filter_lookup_list.html │ │ │ ├── location_type_detail.html │ │ │ ├── newsitem_detail.html │ │ │ ├── newsitem_detail │ │ │ │ └── restaurant-inspections.html │ │ │ ├── place_detail.html │ │ │ ├── place_overview.html │ │ │ ├── schema_detail.html │ │ │ ├── schema_detail_special_report.html │ │ │ ├── schema_filter.html │ │ │ ├── schema_list.html │ │ │ ├── search_error.html │ │ │ ├── search_error_zip_list.html │ │ │ ├── search_invalid_block.html │ │ │ ├── search_special_case.html │ │ │ ├── snippets │ │ │ │ ├── breadcrumbs.html │ │ │ │ ├── date_chart.html │ │ │ │ ├── filter_left_nav.html │ │ │ │ ├── lookup_chart.html │ │ │ │ ├── newsitem_list.html │ │ │ │ ├── newsitem_list │ │ │ │ │ ├── news-articles.html │ │ │ │ │ └── photos.html │ │ │ │ ├── newsitem_list_by_day.html │ │ │ │ ├── onload_scripts.html │ │ │ │ └── userlinks.html │ │ │ └── street_list.html │ │ ├── feeds │ │ │ ├── streets_description.html │ │ │ └── streets_title.html │ │ ├── gis │ │ │ └── admin │ │ │ │ └── openlayers.js │ │ ├── homepage.html │ │ ├── key │ │ │ └── key.html │ │ ├── olwidget │ │ │ └── multi_layer_map.html │ │ ├── petitions │ │ │ ├── form.html │ │ │ └── thanks.html │ │ └── place.kml │ ├── urls.py │ ├── utils │ │ ├── __init__.py │ │ ├── bunch.py │ │ ├── dates.py │ │ ├── django_testcase_backports.py │ │ ├── geodjango.py │ │ ├── image_utils.py │ │ ├── logutils.py │ │ ├── mapmath.py │ │ ├── models.py │ │ ├── multidb.py │ │ ├── script_utils.py │ │ ├── testing.py │ │ ├── tests.py │ │ ├── text.py │ │ ├── uploadhandler.py │ │ └── view_utils.py │ └── widgets │ │ ├── __init__.py │ │ ├── admin.py │ │ ├── fixtures │ │ └── initial_data.json │ │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto__del_field_widget_extra_link_parameters__add_field_widget_item_li.py │ │ ├── 0003_auto__add_pinneditem.py │ │ └── __init__.py │ │ ├── models.py │ │ ├── templates │ │ ├── admin │ │ │ └── widgets │ │ │ │ └── widget │ │ │ │ └── change_form.html │ │ └── widgets │ │ │ ├── sticky.html │ │ │ ├── stickylist.html │ │ │ └── widget.js │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py ├── requirements.txt └── setup.py ├── misc ├── 900913.sql ├── COPYING ├── bin │ ├── ami_scripts │ │ ├── README.txt │ │ ├── base_install.sh │ │ ├── custom.sh │ │ ├── db_postinstall │ │ ├── demo_setup_detailed.sh │ │ ├── demo_setup_quickstart.sh │ │ ├── etc │ │ │ ├── aws.conf │ │ │ └── base_image_files │ │ │ │ └── etc │ │ │ │ ├── apache2 │ │ │ │ └── sites-available │ │ │ │ │ └── default │ │ │ │ ├── cron.d │ │ │ │ └── openblock │ │ │ │ └── logrotate.d │ │ │ │ └── openblock │ │ ├── localpkgs.sh │ │ ├── make_cloneable_image.sh │ │ ├── ob_pkgs_from_source.sh │ │ ├── ob_pkgs_stable.sh │ │ ├── scenario_runner.sh │ │ ├── ubuntu1004_db_config │ │ ├── ubuntu1004_globalpkgs │ │ ├── ubuntu1004_localpkgs │ │ ├── ubuntu1104_db_config │ │ ├── ubuntu1104_globalpkgs │ │ ├── ubuntu1104_localpkgs │ │ ├── ubuntu1204_db_config │ │ ├── ubuntu1204_globalpkgs │ │ └── ubuntu1204_localpkgs │ ├── fix_newsitem_locations.py │ ├── make_bootstrap.py │ ├── make_release.sh │ └── random_news.py ├── bootstrap.in ├── examples │ └── crime_report_schema.py ├── mapnik.xml ├── set-mapnik-env-local └── tilecache.cfg ├── obadmin ├── COPYING ├── README.txt ├── obadmin │ ├── __init__.py │ ├── admin │ │ ├── __init__.py │ │ ├── forms.py │ │ ├── models.py │ │ ├── sites.py │ │ ├── tasks.py │ │ ├── templates │ │ │ ├── admin │ │ │ │ ├── base_site.html │ │ │ │ ├── db │ │ │ │ │ ├── location │ │ │ │ │ │ ├── change_form.html │ │ │ │ │ │ └── change_list.html │ │ │ │ │ └── newsitem │ │ │ │ │ │ └── change_list.html │ │ │ │ └── streets │ │ │ │ │ └── block │ │ │ │ │ └── change_list.html │ │ │ └── obadmin │ │ │ │ ├── add_blob_seed.html │ │ │ │ ├── blob_seed_list.html │ │ │ │ ├── block │ │ │ │ └── import_blocks.html │ │ │ │ ├── edit_schema.html │ │ │ │ ├── edit_schema_lookups.html │ │ │ │ ├── geocoder_success_rates.html │ │ │ │ ├── import_news.html │ │ │ │ ├── index.html │ │ │ │ ├── jobs_status.html │ │ │ │ ├── location │ │ │ │ ├── import_zip_shapefiles.html │ │ │ │ ├── pick_shapefile_layer.html │ │ │ │ └── upload_shapefile.html │ │ │ │ ├── news_item_detail.html │ │ │ │ ├── old_base.html │ │ │ │ ├── schema_list.html │ │ │ │ ├── schemafield_list.html │ │ │ │ ├── scraper_history_list.html │ │ │ │ └── scraper_history_schema.html │ │ ├── tests.py │ │ ├── urls.py │ │ └── views.py │ ├── pavement.py │ ├── project_templates │ │ └── openblock │ │ │ ├── +project+ │ │ │ ├── README.txt_tmpl │ │ │ ├── __init__.py │ │ │ ├── etc │ │ │ │ └── crontab │ │ │ ├── manage.py │ │ │ ├── manage.sh │ │ │ ├── models.py │ │ │ ├── settings.py_tmpl │ │ │ ├── settings_background.py_tmpl │ │ │ ├── templates │ │ │ │ └── homepage.html_tmpl │ │ │ ├── urls.py │ │ │ └── wsgi │ │ │ │ └── +project+.wsgi_tmpl │ │ │ └── setup.py_tmpl │ ├── skel.py │ └── testrunner.py ├── requirements.txt └── setup.py ├── obdemo ├── COPYING ├── MANIFEST.in ├── README.txt ├── bin │ └── bootstrap_demo.sh ├── obdemo │ ├── __init__.py │ ├── etc │ │ └── sample_crontab │ ├── manage.py │ ├── manage.sh │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── __init__.py │ │ │ ├── import_boston_blocks.py │ │ │ ├── import_boston_hoods.py │ │ │ ├── import_boston_meetups.py │ │ │ ├── import_boston_news.py │ │ │ ├── import_boston_restaurants.py │ │ │ └── import_boston_zips.py │ ├── media │ │ └── map_icons │ │ │ ├── README.txt │ │ │ ├── bar_coktail.gif │ │ │ ├── bar_coktail.png │ │ │ ├── calendar-3.png │ │ │ ├── caution.png │ │ │ ├── cinema.gif │ │ │ ├── cinema.png │ │ │ ├── congress.gif │ │ │ ├── congress.png │ │ │ ├── contract.gif │ │ │ ├── contract.png │ │ │ ├── conveniencestore.gif │ │ │ ├── conveniencestore.png │ │ │ ├── factory.gif │ │ │ ├── factory.png │ │ │ ├── fire.gif │ │ │ ├── fire.png │ │ │ ├── meetup.png │ │ │ ├── meetup.xcf │ │ │ ├── museum_art.gif │ │ │ ├── museum_art.png │ │ │ ├── newsagent.png │ │ │ ├── photo.gif │ │ │ ├── photo.png │ │ │ ├── police.gif │ │ │ ├── police.png │ │ │ ├── postal.png │ │ │ ├── regroup.png │ │ │ ├── restaurant.gif │ │ │ ├── restaurant.png │ │ │ ├── workoffice.gif │ │ │ └── workoffice.png │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_noop.py │ │ ├── 0003_load_demo_schemas.py │ │ ├── 0004_load_more_schemas.py │ │ ├── 0005_load_flickr_schema.py │ │ ├── 0006_disable_broken_schemas.py │ │ ├── 0007_add_meetup_and_neighbornews.py │ │ ├── 0008_make_events_eventish.py │ │ ├── 0009_add_map_icons.py │ │ ├── 0010_tweak_restaurants.py │ │ ├── 0011_add_police_precinct.py │ │ └── __init__.py │ ├── models.py │ ├── scrapers │ │ ├── __init__.py │ │ ├── add_events.py │ │ └── add_news.py │ ├── settings.py.in │ ├── settings_background.py │ ├── templates │ │ ├── db │ │ │ └── place_detail.html │ │ ├── disclaimer.html │ │ ├── geotagger │ │ │ └── geotagger.html │ │ └── homepage.html │ ├── urls.py │ ├── views.py │ └── wsgi │ │ └── obdemo.wsgi ├── requirements.txt └── setup.py └── patches ├── COPYING └── README.txt /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.pyo 3 | .svn 4 | *.bak 5 | *.swp 6 | *~ 7 | ._* 8 | *# 9 | .#* 10 | *.orig 11 | *.rej 12 | .DS_Store 13 | /obdemo/obdemo/real_settings.py 14 | /obdemo/obdemo/settings.py 15 | *pip-log.txt 16 | *.egg-info 17 | *.so 18 | /bin 19 | /lib 20 | /include 21 | /TileCache 22 | /manage.py 23 | src 24 | /man 25 | *scraper_http_cache 26 | distribute-*gz 27 | docs/_build 28 | *cache-forever 29 | .coverage 30 | .noseids 31 | .ropeproject 32 | *,cover 33 | ebpub/ebpub/media/uploads 34 | cover 35 | build 36 | dist 37 | tiger_data 38 | neighborhood_data 39 | zip_data 40 | *_flymake.* 41 | file:/ 42 | TAGS 43 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ========= 2 | OpenBlock 3 | ========= 4 | 5 | OpenBlock is a web application and RESTful service that allows users 6 | to browse and search their local area for "hyper-local news" - to see 7 | what's going on recently in the immediate geographic area. 8 | 9 | For installation instructions and other documentation, see 10 | https://github.com/openplans/openblock/docs/ 11 | 12 | For help, you can try the ebcode group: 13 | http://groups.google.com/group/ebcode 14 | 15 | 16 | About the Project 17 | ================= 18 | 19 | OpenBlock began life as the open-source code released by 20 | Everyblock.com in June 2009. Originally created by Adrian Holovaty 21 | and the Everyblock team, it was further developed as an open-source (GPL) 22 | project by OpenPlans from 2010-2011. 23 | 24 | Funding for the initial creation of Everyblock and OpenPlans' work on the 25 | development of OpenBlock was provided by the Knight Foundation 26 | (http://www.knightfoundation.org/). 27 | -------------------------------------------------------------------------------- /docs/changes/index.rst: -------------------------------------------------------------------------------- 1 | Changes 2 | ========================= 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | release_notes 8 | history 9 | -------------------------------------------------------------------------------- /docs/contents.rst: -------------------------------------------------------------------------------- 1 | All Contents 2 | ============= 3 | 4 | .. toctree:: 5 | :maxdepth: 4 6 | 7 | install/index 8 | main/index 9 | packages/index 10 | changes/index 11 | -------------------------------------------------------------------------------- /docs/install/index.rst: -------------------------------------------------------------------------------- 1 | ================================= 2 | Installation and Setup 3 | ================================= 4 | 5 | .. toctree:: 6 | :maxdepth: 2 7 | 8 | aws 9 | setup 10 | base_install 11 | common_install_problems 12 | demo_setup 13 | custom 14 | configuration 15 | geodata 16 | 17 | 18 | Indices and tables 19 | ================== 20 | 21 | 22 | * :ref:`search` 23 | 24 | .. * :ref:`genindex` 25 | .. * :ref:`modindex` 26 | -------------------------------------------------------------------------------- /docs/main/index.rst: -------------------------------------------------------------------------------- 1 | ================================= 2 | Using OpenBlock 3 | ================================= 4 | 5 | This section is all about what you can **do** with OpenBlock 6 | after you've taken care of :doc:`../install/index`. 7 | 8 | .. toctree:: 9 | :maxdepth: 2 10 | 11 | schemas 12 | scraper_tutorial 13 | running_scrapers 14 | alerts 15 | theming 16 | api 17 | widgets 18 | deployment 19 | maintenance 20 | 21 | 22 | Indices and tables 23 | ------------------ 24 | 25 | 26 | * :ref:`search` 27 | 28 | .. * :ref:`genindex` 29 | .. * :ref:`modindex` 30 | -------------------------------------------------------------------------------- /docs/packages/ebdata.geotagger.rst: -------------------------------------------------------------------------------- 1 | geotagger Package 2 | ================= 3 | 4 | :mod:`geotagger` Package 5 | ------------------------ 6 | 7 | .. automodule:: ebdata.geotagger 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`models` Module 12 | -------------------- 13 | 14 | .. automodule:: ebdata.geotagger.models 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`views` Module 19 | ------------------- 20 | 21 | .. automodule:: ebdata.geotagger.views 22 | :members: 23 | :show-inheritance: 24 | 25 | -------------------------------------------------------------------------------- /docs/packages/ebdata.nlp.rst: -------------------------------------------------------------------------------- 1 | nlp Package 2 | =========== 3 | 4 | :mod:`nlp` Package 5 | ------------------ 6 | 7 | .. automodule:: ebdata.nlp 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`addresses` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.nlp.addresses 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`datelines` Module 19 | ----------------------- 20 | 21 | .. automodule:: ebdata.nlp.datelines 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`models` Module 26 | -------------------- 27 | 28 | .. automodule:: ebdata.nlp.models 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`places` Module 33 | -------------------- 34 | 35 | .. automodule:: ebdata.nlp.places 36 | :members: 37 | :show-inheritance: 38 | 39 | -------------------------------------------------------------------------------- /docs/packages/ebdata.parsing.rst: -------------------------------------------------------------------------------- 1 | parsing Package 2 | =============== 3 | 4 | :mod:`parsing` Package 5 | ---------------------- 6 | 7 | .. automodule:: ebdata.parsing 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`dbf` Module 12 | ----------------- 13 | 14 | .. automodule:: ebdata.parsing.dbf 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`excel` Module 19 | ------------------- 20 | 21 | .. automodule:: ebdata.parsing.excel 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`mdb` Module 26 | ----------------- 27 | 28 | .. automodule:: ebdata.parsing.mdb 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`pdftotext` Module 33 | ----------------------- 34 | 35 | .. automodule:: ebdata.parsing.pdftotext 36 | :members: 37 | :show-inheritance: 38 | 39 | :mod:`unicodecsv` Module 40 | ------------------------ 41 | 42 | .. automodule:: ebdata.parsing.unicodecsv 43 | :members: 44 | :show-inheritance: 45 | 46 | -------------------------------------------------------------------------------- /docs/packages/ebdata.retrieval.scrapers.rst: -------------------------------------------------------------------------------- 1 | scrapers Package 2 | ================ 3 | 4 | :mod:`scrapers` Package 5 | ----------------------- 6 | 7 | .. automodule:: ebdata.retrieval.scrapers 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`base` Module 12 | ------------------ 13 | 14 | .. automodule:: ebdata.retrieval.scrapers.base 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`list_detail` Module 19 | ------------------------- 20 | 21 | .. automodule:: ebdata.retrieval.scrapers.list_detail 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`newsitem_list_detail` Module 26 | ---------------------------------- 27 | 28 | .. automodule:: ebdata.retrieval.scrapers.newsitem_list_detail 29 | :members: 30 | :show-inheritance: 31 | 32 | -------------------------------------------------------------------------------- /docs/packages/ebdata.retrieval.updaterdaemon.rst: -------------------------------------------------------------------------------- 1 | updaterdaemon Package 2 | ===================== 3 | 4 | :mod:`updaterdaemon` Package 5 | ---------------------------- 6 | 7 | .. automodule:: ebdata.retrieval.updaterdaemon 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`config` Module 12 | -------------------- 13 | 14 | .. automodule:: ebdata.retrieval.updaterdaemon.config 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`runner` Module 19 | -------------------- 20 | 21 | .. automodule:: ebdata.retrieval.updaterdaemon.runner 22 | :members: 23 | :show-inheritance: 24 | 25 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.general.flickr.rst: -------------------------------------------------------------------------------- 1 | flickr Package 2 | ============== 3 | 4 | :mod:`flickr` Package 5 | --------------------- 6 | 7 | .. automodule:: ebdata.scrapers.general.flickr 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`flickr_retrieval` Module 12 | ------------------------------ 13 | 14 | .. automodule:: ebdata.scrapers.general.flickr.flickr_retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.general.georss.rst: -------------------------------------------------------------------------------- 1 | georss Package 2 | ============== 3 | 4 | :mod:`georss` Package 5 | --------------------- 6 | 7 | .. automodule:: ebdata.scrapers.general.georss 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`retrieval` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.scrapers.general.georss.retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.general.meetup.rst: -------------------------------------------------------------------------------- 1 | meetup Package 2 | ============== 3 | 4 | :mod:`meetup` Package 5 | --------------------- 6 | 7 | .. automodule:: ebdata.scrapers.general.meetup 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`meetup_retrieval` Module 12 | ------------------------------ 13 | 14 | .. automodule:: ebdata.scrapers.general.meetup.meetup_retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.general.open311.rst: -------------------------------------------------------------------------------- 1 | open311 Package 2 | =============== 3 | 4 | :mod:`open311` Package 5 | ---------------------- 6 | 7 | .. automodule:: ebdata.scrapers.general.open311 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`georeportv2` Module 12 | ------------------------- 13 | 14 | .. automodule:: ebdata.scrapers.general.open311.georeportv2 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.general.rst: -------------------------------------------------------------------------------- 1 | general Package 2 | =============== 3 | 4 | :mod:`general` Package 5 | ---------------------- 6 | 7 | .. automodule:: ebdata.scrapers.general 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebdata.scrapers.general.flickr 17 | ebdata.scrapers.general.georss 18 | ebdata.scrapers.general.meetup 19 | ebdata.scrapers.general.open311 20 | ebdata.scrapers.general.seeclickfix 21 | ebdata.scrapers.general.spreadsheet 22 | 23 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.general.seeclickfix.rst: -------------------------------------------------------------------------------- 1 | seeclickfix Package 2 | =================== 3 | 4 | :mod:`seeclickfix` Package 5 | -------------------------- 6 | 7 | .. automodule:: ebdata.scrapers.general.seeclickfix 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`seeclickfix_retrieval` Module 12 | ----------------------------------- 13 | 14 | .. automodule:: ebdata.scrapers.general.seeclickfix.seeclickfix_retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.general.spreadsheet.rst: -------------------------------------------------------------------------------- 1 | spreadsheet Package 2 | =================== 3 | 4 | :mod:`spreadsheet` Package 5 | -------------------------- 6 | 7 | .. automodule:: ebdata.scrapers.general.spreadsheet 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`retrieval` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.scrapers.general.spreadsheet.retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.rst: -------------------------------------------------------------------------------- 1 | scrapers Package 2 | ================ 3 | 4 | :mod:`scrapers` Package 5 | ----------------------- 6 | 7 | .. automodule:: ebdata.scrapers 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebdata.scrapers.general 17 | ebdata.scrapers.us 18 | 19 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.ma.boston.building_permits.rst: -------------------------------------------------------------------------------- 1 | building_permits Package 2 | ======================== 3 | 4 | :mod:`building_permits` Package 5 | ------------------------------- 6 | 7 | .. automodule:: ebdata.scrapers.us.ma.boston.building_permits 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`retrieval` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.scrapers.us.ma.boston.building_permits.retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.ma.boston.businesses.rst: -------------------------------------------------------------------------------- 1 | businesses Package 2 | ================== 3 | 4 | :mod:`businesses` Package 5 | ------------------------- 6 | 7 | .. automodule:: ebdata.scrapers.us.ma.boston.businesses 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`retrieval` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.scrapers.us.ma.boston.businesses.retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.ma.boston.events.rst: -------------------------------------------------------------------------------- 1 | events Package 2 | ============== 3 | 4 | :mod:`events` Package 5 | --------------------- 6 | 7 | .. automodule:: ebdata.scrapers.us.ma.boston.events 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`retrieval` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.scrapers.us.ma.boston.events.retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.ma.boston.police_reports.rst: -------------------------------------------------------------------------------- 1 | police_reports Package 2 | ====================== 3 | 4 | :mod:`police_reports` Package 5 | ----------------------------- 6 | 7 | .. automodule:: ebdata.scrapers.us.ma.boston.police_reports 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`retrieval` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.scrapers.us.ma.boston.police_reports.retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.ma.boston.restaurants.rst: -------------------------------------------------------------------------------- 1 | restaurants Package 2 | =================== 3 | 4 | :mod:`restaurants` Package 5 | -------------------------- 6 | 7 | .. automodule:: ebdata.scrapers.us.ma.boston.restaurants 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`retrieval` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebdata.scrapers.us.ma.boston.restaurants.retrieval 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.ma.boston.rst: -------------------------------------------------------------------------------- 1 | boston Package 2 | ============== 3 | 4 | :mod:`boston` Package 5 | --------------------- 6 | 7 | .. automodule:: ebdata.scrapers.us.ma.boston 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebdata.scrapers.us.ma.boston.building_permits 17 | ebdata.scrapers.us.ma.boston.businesses 18 | ebdata.scrapers.us.ma.boston.events 19 | ebdata.scrapers.us.ma.boston.police_reports 20 | ebdata.scrapers.us.ma.boston.restaurants 21 | 22 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.ma.rst: -------------------------------------------------------------------------------- 1 | ma Package 2 | ========== 3 | 4 | :mod:`ma` Package 5 | ----------------- 6 | 7 | .. automodule:: ebdata.scrapers.us.ma 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebdata.scrapers.us.ma.boston 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.scrapers.us.rst: -------------------------------------------------------------------------------- 1 | us Package 2 | ========== 3 | 4 | :mod:`us` Package 5 | ----------------- 6 | 7 | .. automodule:: ebdata.scrapers.us 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebdata.scrapers.us.ma 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebdata.textmining.rst: -------------------------------------------------------------------------------- 1 | textmining Package 2 | ================== 3 | 4 | :mod:`textmining` Package 5 | ------------------------- 6 | 7 | .. automodule:: ebdata.textmining 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`models` Module 12 | -------------------- 13 | 14 | .. automodule:: ebdata.textmining.models 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`treeutils` Module 19 | ----------------------- 20 | 21 | .. automodule:: ebdata.textmining.treeutils 22 | :members: 23 | :show-inheritance: 24 | 25 | -------------------------------------------------------------------------------- /docs/packages/ebdata.utils.rst: -------------------------------------------------------------------------------- 1 | utils Package 2 | ============= 3 | 4 | :mod:`utils` Package 5 | -------------------- 6 | 7 | .. automodule:: ebdata.utils 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`daemon` Module 12 | -------------------- 13 | 14 | .. automodule:: ebdata.utils.daemon 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebpub.accounts.management.commands.rst: -------------------------------------------------------------------------------- 1 | commands Package 2 | ================ 3 | 4 | :mod:`commands` Package 5 | ----------------------- 6 | 7 | .. automodule:: ebpub.accounts.management.commands 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`createsuperuser` Module 12 | ----------------------------- 13 | 14 | .. automodule:: ebpub.accounts.management.commands.createsuperuser 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebpub.accounts.management.rst: -------------------------------------------------------------------------------- 1 | management Package 2 | ================== 3 | 4 | :mod:`management` Package 5 | ------------------------- 6 | 7 | .. automodule:: ebpub.accounts.management 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebpub.accounts.management.commands 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebpub.alerts.rst: -------------------------------------------------------------------------------- 1 | alerts Package 2 | ============== 3 | 4 | :mod:`alerts` Package 5 | --------------------- 6 | 7 | .. automodule:: ebpub.alerts 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`models` Module 12 | -------------------- 13 | 14 | .. automodule:: ebpub.alerts.models 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`sending` Module 19 | --------------------- 20 | 21 | .. automodule:: ebpub.alerts.sending 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`views` Module 26 | ------------------- 27 | 28 | .. automodule:: ebpub.alerts.views 29 | :members: 30 | :show-inheritance: 31 | 32 | -------------------------------------------------------------------------------- /docs/packages/ebpub.geocoder.rst: -------------------------------------------------------------------------------- 1 | geocoder Package 2 | ================ 3 | 4 | :mod:`geocoder` Package 5 | ----------------------- 6 | 7 | .. automodule:: ebpub.geocoder 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`base` Module 12 | ------------------ 13 | 14 | .. automodule:: ebpub.geocoder.base 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`models` Module 19 | -------------------- 20 | 21 | .. automodule:: ebpub.geocoder.models 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`reverse` Module 26 | --------------------- 27 | 28 | .. automodule:: ebpub.geocoder.reverse 29 | :members: 30 | :show-inheritance: 31 | 32 | Subpackages 33 | ----------- 34 | 35 | .. toctree:: 36 | 37 | ebpub.geocoder.parser 38 | 39 | 40 | -------------------------------------------------------------------------------- /docs/packages/ebpub.metros.rst: -------------------------------------------------------------------------------- 1 | metros Package 2 | ============== 3 | 4 | :mod:`metros` Package 5 | --------------------- 6 | 7 | .. automodule:: ebpub.metros 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`allmetros` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebpub.metros.allmetros 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`loader` Module 19 | -------------------- 20 | 21 | .. automodule:: ebpub.metros.loader 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`models` Module 26 | -------------------- 27 | 28 | .. automodule:: ebpub.metros.models 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`views` Module 33 | ------------------- 34 | 35 | .. automodule:: ebpub.metros.views 36 | :members: 37 | :show-inheritance: 38 | 39 | 40 | -------------------------------------------------------------------------------- /docs/packages/ebpub.moderation.rst: -------------------------------------------------------------------------------- 1 | moderation Package 2 | ================== 3 | 4 | :mod:`moderation` Package 5 | ------------------------- 6 | 7 | .. automodule:: ebpub.moderation 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`admin` Module 12 | ------------------- 13 | 14 | .. automodule:: ebpub.moderation.admin 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`forms` Module 19 | ------------------- 20 | 21 | .. automodule:: ebpub.moderation.forms 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`models` Module 26 | -------------------- 27 | 28 | .. automodule:: ebpub.moderation.models 29 | :members: 30 | :show-inheritance: 31 | 32 | 33 | :mod:`views` Module 34 | ------------------- 35 | 36 | .. automodule:: ebpub.moderation.views 37 | :members: 38 | :show-inheritance: 39 | 40 | -------------------------------------------------------------------------------- /docs/packages/ebpub.neighbornews.rst: -------------------------------------------------------------------------------- 1 | neighbornews Package 2 | ==================== 3 | 4 | :mod:`neighbornews` Package 5 | --------------------------- 6 | 7 | .. automodule:: ebpub.neighbornews 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`admin` Module 12 | ------------------- 13 | 14 | .. automodule:: ebpub.neighbornews.admin 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`forms` Module 19 | ------------------- 20 | 21 | .. automodule:: ebpub.neighbornews.forms 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`models` Module 26 | -------------------- 27 | 28 | .. automodule:: ebpub.neighbornews.models 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`utils` Module 33 | ------------------- 34 | 35 | .. automodule:: ebpub.neighbornews.utils 36 | :members: 37 | :show-inheritance: 38 | 39 | :mod:`views` Module 40 | ------------------- 41 | 42 | .. automodule:: ebpub.neighbornews.views 43 | :members: 44 | :show-inheritance: 45 | 46 | -------------------------------------------------------------------------------- /docs/packages/ebpub.openblockapi.apikey.rst: -------------------------------------------------------------------------------- 1 | apikey Package 2 | ============== 3 | 4 | :mod:`apikey` Package 5 | --------------------- 6 | 7 | .. automodule:: ebpub.openblockapi.apikey 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`admin` Module 12 | ------------------- 13 | 14 | .. automodule:: ebpub.openblockapi.apikey.admin 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`auth` Module 19 | ------------------ 20 | 21 | .. automodule:: ebpub.openblockapi.apikey.auth 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`models` Module 26 | -------------------- 27 | 28 | .. automodule:: ebpub.openblockapi.apikey.models 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`signals` Module 33 | --------------------- 34 | 35 | .. automodule:: ebpub.openblockapi.apikey.signals 36 | :members: 37 | :show-inheritance: 38 | 39 | :mod:`views` Module 40 | ------------------- 41 | 42 | .. automodule:: ebpub.openblockapi.apikey.views 43 | :members: 44 | :show-inheritance: 45 | 46 | -------------------------------------------------------------------------------- /docs/packages/ebpub.openblockapi.rst: -------------------------------------------------------------------------------- 1 | openblockapi Package 2 | ==================== 3 | 4 | :mod:`openblockapi` Package 5 | --------------------------- 6 | 7 | .. automodule:: ebpub.openblockapi 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`itemquery` Module 12 | ----------------------- 13 | 14 | .. automodule:: ebpub.openblockapi.itemquery 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`models` Module 19 | -------------------- 20 | 21 | .. automodule:: ebpub.openblockapi.models 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`throttle` Module 26 | ---------------------- 27 | 28 | .. automodule:: ebpub.openblockapi.throttle 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`views` Module 33 | ------------------- 34 | 35 | .. automodule:: ebpub.openblockapi.views 36 | :members: 37 | :show-inheritance: 38 | 39 | Subpackages 40 | ----------- 41 | 42 | .. toctree:: 43 | 44 | ebpub.openblockapi.apikey 45 | 46 | -------------------------------------------------------------------------------- /docs/packages/ebpub.petitions.rst: -------------------------------------------------------------------------------- 1 | petitions Package 2 | ================= 3 | 4 | :mod:`petitions` Package 5 | ------------------------ 6 | 7 | .. automodule:: ebpub.petitions 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`models` Module 12 | -------------------- 13 | 14 | .. automodule:: ebpub.petitions.models 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`views` Module 19 | ------------------- 20 | 21 | .. automodule:: ebpub.petitions.views 22 | :members: 23 | :show-inheritance: 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/packages/ebpub.preferences.rst: -------------------------------------------------------------------------------- 1 | preferences Package 2 | =================== 3 | 4 | :mod:`preferences` Package 5 | -------------------------- 6 | 7 | .. automodule:: ebpub.preferences 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`models` Module 12 | -------------------- 13 | 14 | .. automodule:: ebpub.preferences.models 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`views` Module 19 | ------------------- 20 | 21 | .. automodule:: ebpub.preferences.views 22 | :members: 23 | :show-inheritance: 24 | -------------------------------------------------------------------------------- /docs/packages/ebpub.richmaps.rst: -------------------------------------------------------------------------------- 1 | richmaps Package 2 | ================ 3 | 4 | :mod:`richmaps` Package 5 | ----------------------- 6 | 7 | .. automodule:: ebpub.richmaps 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`models` Module 12 | -------------------- 13 | 14 | .. automodule:: ebpub.richmaps.models 15 | :members: 16 | :show-inheritance: 17 | 18 | 19 | :mod:`views` Module 20 | ------------------- 21 | 22 | .. automodule:: ebpub.richmaps.views 23 | :members: 24 | :show-inheritance: 25 | 26 | -------------------------------------------------------------------------------- /docs/packages/ebpub.savedplaces.rst: -------------------------------------------------------------------------------- 1 | savedplaces Package 2 | =================== 3 | 4 | :mod:`savedplaces` Package 5 | -------------------------- 6 | 7 | .. automodule:: ebpub.savedplaces 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`models` Module 12 | -------------------- 13 | 14 | .. automodule:: ebpub.savedplaces.models 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`views` Module 19 | ------------------- 20 | 21 | .. automodule:: ebpub.savedplaces.views 22 | :members: 23 | :show-inheritance: 24 | 25 | -------------------------------------------------------------------------------- /docs/packages/ebpub.streets.blockimport.esri.importers.rst: -------------------------------------------------------------------------------- 1 | importers Package 2 | ================= 3 | 4 | :mod:`importers` Package 5 | ------------------------ 6 | 7 | .. automodule:: ebpub.streets.blockimport.esri.importers 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`blocks` Module 12 | -------------------- 13 | 14 | .. automodule:: ebpub.streets.blockimport.esri.importers.blocks 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`zipcodes` Module 19 | ---------------------- 20 | 21 | .. automodule:: ebpub.streets.blockimport.esri.importers.zipcodes 22 | :members: 23 | :show-inheritance: 24 | 25 | -------------------------------------------------------------------------------- /docs/packages/ebpub.streets.blockimport.esri.management.commands.rst: -------------------------------------------------------------------------------- 1 | commands Package 2 | ================ 3 | 4 | :mod:`commands` Package 5 | ----------------------- 6 | 7 | .. automodule:: ebpub.streets.blockimport.esri.management.commands 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`importesri` Module 12 | ------------------------ 13 | 14 | .. automodule:: ebpub.streets.blockimport.esri.management.commands.importesri 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebpub.streets.blockimport.esri.management.rst: -------------------------------------------------------------------------------- 1 | management Package 2 | ================== 3 | 4 | :mod:`management` Package 5 | ------------------------- 6 | 7 | .. automodule:: ebpub.streets.blockimport.esri.management 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebpub.streets.blockimport.esri.management.commands 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebpub.streets.blockimport.esri.rst: -------------------------------------------------------------------------------- 1 | esri Package 2 | ============ 3 | 4 | :mod:`esri` Package 5 | ------------------- 6 | 7 | .. automodule:: ebpub.streets.blockimport.esri 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | ebpub.streets.blockimport.esri.importers 17 | ebpub.streets.blockimport.esri.management 18 | 19 | -------------------------------------------------------------------------------- /docs/packages/ebpub.streets.blockimport.rst: -------------------------------------------------------------------------------- 1 | blockimport Package 2 | =================== 3 | 4 | :mod:`blockimport` Package 5 | -------------------------- 6 | 7 | .. automodule:: ebpub.streets.blockimport 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`base` Module 12 | ------------------ 13 | 14 | .. automodule:: ebpub.streets.blockimport.base 15 | :members: 16 | :show-inheritance: 17 | 18 | Subpackages 19 | ----------- 20 | 21 | .. toctree:: 22 | 23 | ebpub.streets.blockimport.esri 24 | ebpub.streets.blockimport.tiger 25 | 26 | -------------------------------------------------------------------------------- /docs/packages/ebpub.streets.blockimport.tiger.rst: -------------------------------------------------------------------------------- 1 | tiger Package 2 | ============= 3 | 4 | :mod:`tiger` Package 5 | -------------------- 6 | 7 | .. automodule:: ebpub.streets.blockimport.tiger 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`import_blocks` Module 12 | --------------------------- 13 | 14 | .. automodule:: ebpub.streets.blockimport.tiger.import_blocks 15 | :members: 16 | :show-inheritance: 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/ebpub.streets.rst: -------------------------------------------------------------------------------- 1 | streets Package 2 | =============== 3 | 4 | :mod:`streets` Package 5 | ---------------------- 6 | 7 | .. automodule:: ebpub.streets 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`admin` Module 12 | ------------------- 13 | 14 | .. automodule:: ebpub.streets.admin 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`models` Module 19 | -------------------- 20 | 21 | .. automodule:: ebpub.streets.models 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`name_utils` Module 26 | ------------------------ 27 | 28 | .. automodule:: ebpub.streets.name_utils 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`utils` Module 33 | ------------------- 34 | 35 | .. automodule:: ebpub.streets.utils 36 | :members: 37 | :show-inheritance: 38 | 39 | Subpackages 40 | ----------- 41 | 42 | .. toctree:: 43 | 44 | ebpub.streets.bin 45 | ebpub.streets.blockimport 46 | 47 | 48 | -------------------------------------------------------------------------------- /docs/packages/ebpub.widgets.rst: -------------------------------------------------------------------------------- 1 | widgets Package 2 | =============== 3 | 4 | :mod:`widgets` Package 5 | ---------------------- 6 | 7 | .. automodule:: ebpub.widgets 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`admin` Module 12 | ------------------- 13 | 14 | .. automodule:: ebpub.widgets.admin 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`models` Module 19 | -------------------- 20 | 21 | .. automodule:: ebpub.widgets.models 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`views` Module 26 | ------------------- 27 | 28 | .. automodule:: ebpub.widgets.views 29 | :members: 30 | :show-inheritance: 31 | 32 | -------------------------------------------------------------------------------- /docs/packages/modules.rst: -------------------------------------------------------------------------------- 1 | Project Modules 2 | =============== 3 | 4 | .. toctree:: 5 | :maxdepth: 4 6 | 7 | ebpub 8 | ebdata 9 | obadmin 10 | obdemo 11 | -------------------------------------------------------------------------------- /docs/packages/obadmin.admin.rst: -------------------------------------------------------------------------------- 1 | admin Package 2 | ============= 3 | 4 | :mod:`admin` Package 5 | -------------------- 6 | 7 | .. automodule:: obadmin.admin 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`forms` Module 12 | ------------------- 13 | 14 | .. automodule:: obadmin.admin.forms 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`models` Module 19 | -------------------- 20 | 21 | .. automodule:: obadmin.admin.models 22 | :members: 23 | :show-inheritance: 24 | 25 | :mod:`sites` Module 26 | ------------------- 27 | 28 | .. automodule:: obadmin.admin.sites 29 | :members: 30 | :show-inheritance: 31 | 32 | :mod:`tasks` Module 33 | ------------------- 34 | 35 | .. automodule:: obadmin.admin.tasks 36 | :members: 37 | :show-inheritance: 38 | 39 | :mod:`views` Module 40 | ------------------- 41 | 42 | .. automodule:: obadmin.admin.views 43 | :members: 44 | :show-inheritance: 45 | 46 | -------------------------------------------------------------------------------- /docs/packages/obdemo.management.rst: -------------------------------------------------------------------------------- 1 | management Package 2 | ================== 3 | 4 | :mod:`management` Package 5 | ------------------------- 6 | 7 | .. automodule:: obdemo.management 8 | :members: 9 | :show-inheritance: 10 | 11 | Subpackages 12 | ----------- 13 | 14 | .. toctree:: 15 | 16 | obdemo.management.commands 17 | 18 | -------------------------------------------------------------------------------- /docs/packages/obdemo.scrapers.rst: -------------------------------------------------------------------------------- 1 | scrapers Package 2 | ================ 3 | 4 | :mod:`scrapers` Package 5 | ----------------------- 6 | 7 | .. automodule:: obdemo.scrapers 8 | :members: 9 | :show-inheritance: 10 | 11 | :mod:`add_events` Module 12 | ------------------------ 13 | 14 | .. automodule:: obdemo.scrapers.add_events 15 | :members: 16 | :show-inheritance: 17 | 18 | :mod:`add_news` Module 19 | ---------------------- 20 | 21 | .. automodule:: obdemo.scrapers.add_news 22 | :members: 23 | :show-inheritance: 24 | 25 | -------------------------------------------------------------------------------- /ebdata/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | .svn 3 | *.bak 4 | *~ 5 | ._* 6 | .DS_Store 7 | app/media/ad_pics 8 | -------------------------------------------------------------------------------- /ebdata/ebdata/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/blobs/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebdata/ebdata/blobs/migrations/__init__.py -------------------------------------------------------------------------------- /ebdata/ebdata/geotagger/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/geotagger/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # There are no models, but this is needed for `manage.py test` to find 20 | # our tests. 21 | 22 | -------------------------------------------------------------------------------- /ebdata/ebdata/geotagger/tests.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/nlp/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # There are no models, but this is needed for `manage.py test` to find 20 | # our tests. 21 | 22 | -------------------------------------------------------------------------------- /ebdata/ebdata/retrieval/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | from retrievers import RetrievalError, PageNotFoundError, Retriever, UnicodeRetriever 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/retrieval/scrapers/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | from ebdata.retrieval import log # Register the logging hooks. 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/retrieval/updaterdaemon/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # a package. 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/flickr/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/georss/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/georss/local_news_schema.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "model": "db.schema", 4 | "fields": { 5 | "allow_charting": true, 6 | "can_collapse": true, 7 | "date_name": "Date", 8 | "date_name_plural": "Dates", 9 | "has_newsitem_detail": true, 10 | "importance": 100, 11 | "indefinite_article": "a", 12 | "is_public": true, 13 | "is_event": false, 14 | "is_special_report": false, 15 | "last_updated": "2000-01-01", 16 | "min_date": "2000-01-01", 17 | "name": "Local News", 18 | "number_in_overview": 5, 19 | "plural_name": "Local News", 20 | "short_description": "Local News", 21 | "short_source": "", 22 | "slug": "local-news", 23 | "source": "", 24 | "summary": "Local News", 25 | "update_frequency": "", 26 | "uses_attributes_in_list": false 27 | } 28 | } 29 | ] 30 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/meetup/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/open311/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/seeclickfix/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # a package 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/general/spreadsheet/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2012 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/ma/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/ma/boston/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/ma/boston/building_permits/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009 Everyblock LLC 2 | # 3 | # This file is part of everyblock 4 | # 5 | # everyblock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # everyblock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with everyblock. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/ma/boston/businesses/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009 Everyblock LLC 2 | # 3 | # This file is part of everyblock 4 | # 5 | # everyblock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # everyblock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with everyblock. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/ma/boston/events/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/ma/boston/police_reports/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009 Everyblock LLC 2 | # 3 | # This file is part of everyblock 4 | # 5 | # everyblock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # everyblock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with everyblock. If not, see . 17 | # 18 | -------------------------------------------------------------------------------- /ebdata/ebdata/scrapers/us/ma/boston/restaurants/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009 Everyblock LLC 2 | # 3 | # This file is part of everyblock 4 | # 5 | # everyblock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # everyblock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with everyblock. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/ebdata/templatemaker/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # There are no models, but `manage.py test` needs a models.py to find tests. 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/textmining/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # There are no models, but `manage.py test` needs a models.py to find tests. 20 | -------------------------------------------------------------------------------- /ebdata/ebdata/textmining/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # Needed so manage.py test can find the tests. 20 | from .treeutils import * 21 | -------------------------------------------------------------------------------- /ebdata/ebdata/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebdata/requirements.txt: -------------------------------------------------------------------------------- 1 | django==1.3.1 2 | lxml 3 | beautifulsoup==3.2.1 4 | chardet==1.0.1 5 | feedparser==5.1 6 | httplib2==0.7.2 7 | xlrd==0.7.3 8 | -------------------------------------------------------------------------------- /ebpub/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | .svn 3 | *.bak 4 | *~ 5 | ._* 6 | .DS_Store 7 | app/media/ad_pics 8 | -------------------------------------------------------------------------------- /ebpub/MANIFEST.in: -------------------------------------------------------------------------------- 1 | exclude ebpub/settings.py 2 | -------------------------------------------------------------------------------- /ebpub/ebpub/accounts/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/accounts/constants.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | # The key used in request.session to represent the user's e-mail. 20 | EMAIL_SESSION_KEY = 'email' 21 | -------------------------------------------------------------------------------- /ebpub/ebpub/accounts/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/accounts/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/accounts/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/alerts/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/alerts/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/alerts/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/db/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/db/bin/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/db/management/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | -------------------------------------------------------------------------------- /ebpub/ebpub/db/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | # 2 | -------------------------------------------------------------------------------- /ebpub/ebpub/db/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/db/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/db/sql/reset_schemas_and_newsitems.sql: -------------------------------------------------------------------------------- 1 | -- This is useful if you want to reset just your newsitems 2 | -- and not your locations. 3 | -- If you want to reset ALL of the db models, use `django-admin.py sqlreset db` 4 | 5 | truncate table db_attribute cascade; 6 | truncate table db_lookup cascade; 7 | truncate table db_newsitem cascade; 8 | truncate table db_newsitemlocation cascade; 9 | truncate table db_schemafield cascade; 10 | truncate table db_schema cascade; 11 | truncate table db_aggregate cascade; 12 | 13 | alter sequence db_lookup_id_seq restart with 1; 14 | alter sequence db_attribute_id_seq restart with 1; 15 | alter sequence db_schemafield_id_seq restart with 1; 16 | alter sequence db_schema_id_seq restart with 1; 17 | alter sequence db_newsitem_id_seq restart with 1; 18 | -------------------------------------------------------------------------------- /ebpub/ebpub/db/templates/admin/db/schema/change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_form.html" %} 2 | 3 | {% block after_field_sets %} 4 | {% if original.map_icon_url %} 5 |
6 | Current Icon: 7 |
current icon preview
8 |
9 | {% endif %} 10 | 11 | {% if original.map_color %} 12 |
13 | Current Color:
 
14 |
15 | {% endif %} 16 | {% endblock %} 17 | -------------------------------------------------------------------------------- /ebpub/ebpub/db/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/geocoder/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | from base import * # relative import 20 | from parser.parsing import ParsingError # relative import 21 | import reverse # relative import 22 | -------------------------------------------------------------------------------- /ebpub/ebpub/geocoder/fixtures/places.yaml: -------------------------------------------------------------------------------- 1 | - pk: 1001 2 | model: streets.placetype 3 | fields: 4 | name: building 5 | plural_name: buildings 6 | indefinite_article: a 7 | slug: buildings 8 | is_geocodable: 1 9 | is_mappable: 1 10 | map_icon_url: 11 | map_color: 12 | 13 | - pk: 1000 14 | model: streets.place 15 | fields: 16 | pretty_name: Sears Tower 17 | normalized_name: SEARS TOWER 18 | # This is not really where it is 19 | location: 0101000020E61000001B4CC3F011E855C04819710168F04440 20 | place_type: 1001 21 | address: somewhere 22 | url: http://en.wikipedia.org/wiki/Sears_tower 23 | -------------------------------------------------------------------------------- /ebpub/ebpub/geocoder/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/geocoder/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/geocoder/parser/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/geocoder/parser/cities.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | cities = { 20 | "CHICAGO": "CHI", 21 | "SAN FRANCISCO": ["SAN FRAN", "SF"], 22 | "NEW YORK": ["NY", "NYC"], 23 | "THE BRONX": ["BRONX"], 24 | } 25 | -------------------------------------------------------------------------------- /ebpub/ebpub/geocoder/parser/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebdata 4 | # 5 | # ebdata is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebdata is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebdata. If not, see . 17 | # 18 | 19 | # needed for manage.py test to find the tests automatically 20 | -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/blank.gif -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/cloud-popup-relative.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/cloud-popup-relative.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/drag-rectangle-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/drag-rectangle-off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/drag-rectangle-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/drag-rectangle-on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/east-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/east-mini.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/layer-switcher-maximize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/layer-switcher-maximize.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/layer-switcher-minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/layer-switcher-minimize.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker-blue.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker-gold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker-gold.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker-green.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/marker.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/measuring-stick-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/measuring-stick-off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/measuring-stick-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/measuring-stick-on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/north-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/north-mini.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/panning-hand-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/panning-hand-off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/panning-hand-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/panning-hand-on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/slider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/slider.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/south-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/south-mini.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/west-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/west-mini.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoom-minus-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoom-minus-mini.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoom-plus-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoom-plus-mini.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoom-world-mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoom-world-mini.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoombar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/img/zoombar.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/framedCloud.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/framedCloud.css -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/google.css: -------------------------------------------------------------------------------- 1 | .olLayerGoogleCopyright { 2 | right: 3px; 3 | bottom: 2px; 4 | left: auto; 5 | } 6 | .olLayerGoogleV3.olLayerGoogleCopyright { 7 | bottom: 0px; 8 | right: 0px !important; 9 | } 10 | .olLayerGooglePoweredBy { 11 | left: 2px; 12 | bottom: 2px; 13 | } 14 | .olLayerGoogleV3.olLayerGooglePoweredBy { 15 | bottom: 0px !important; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/google.tidy.css: -------------------------------------------------------------------------------- 1 | .olLayerGoogleCopyright{right:3px;bottom:2px;left:auto;}.olLayerGoogleV3.olLayerGoogleCopyright{bottom:0;right:0!important;}.olLayerGooglePoweredBy{left:2px;bottom:2px;}.olLayerGoogleV3.olLayerGooglePoweredBy{bottom:0!important;} -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/ie6-style.css: -------------------------------------------------------------------------------- 1 | .olControlZoomPanel div { 2 | background-image: url(img/zoom-panel-NOALPHA.png); 3 | } 4 | .olControlPanPanel div { 5 | background-image: url(img/pan-panel-NOALPHA.png); 6 | } 7 | .olControlEditingToolbar { 8 | width: 200px; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/ie6-style.tidy.css: -------------------------------------------------------------------------------- 1 | .olControlZoomPanel div{background-image:url(img/zoom-panel-NOALPHA.png);}.olControlPanPanel div{background-image:url(img/pan-panel-NOALPHA.png);}.olControlEditingToolbar{width:200px;} -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/add_point_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/add_point_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/add_point_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/add_point_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/blank.gif -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/close.gif -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/drag-rectangle-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/drag-rectangle-off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/drag-rectangle-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/drag-rectangle-on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_line_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_line_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_line_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_line_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_point_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_point_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_point_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_point_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_polygon_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_polygon_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_polygon_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/draw_polygon_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/editing_tool_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/editing_tool_bar.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/move_feature_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/move_feature_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/move_feature_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/move_feature_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/navigation_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/navigation_history.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/overview_replacement.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/overview_replacement.gif -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan-panel-NOALPHA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan-panel-NOALPHA.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan-panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan-panel.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/pan_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/panning-hand-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/panning-hand-off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/panning-hand-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/panning-hand-on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/remove_point_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/remove_point_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/remove_point_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/remove_point_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/ruler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/ruler.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/save_features_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/save_features_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/save_features_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/save_features_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_next_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_next_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_next_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_next_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_previous_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_previous_off.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_previous_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/view_previous_on.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/zoom-panel-NOALPHA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/zoom-panel-NOALPHA.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/zoom-panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/OpenLayers-2.11/theme/default/img/zoom-panel.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/scripts/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/scripts/chosen-sprite.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/bg.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/breadcrumb-separator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/breadcrumb-separator.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/heading-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/heading-bg.jpg -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/smoothness/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/smoothness/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/zoom-in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/zoom-in.png -------------------------------------------------------------------------------- /ebpub/ebpub/media/styles/zoom-out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/media/styles/zoom-out.png -------------------------------------------------------------------------------- /ebpub/ebpub/metros/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/metros/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/metros/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/moderation/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | """ 20 | Models and admin views to support users flagging and administrators 21 | removing flagged content. 22 | """ 23 | -------------------------------------------------------------------------------- /ebpub/ebpub/moderation/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/moderation/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/moderation/templates/moderation/flagged.html: -------------------------------------------------------------------------------- 1 | {% comment %}{% endcomment %} 2 |
3 | Item flagged for review, thank you. 4 |
5 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | """ 20 | This package provides views for working with user-contributed NewsItems 21 | in two flavors: news and events. 22 | 23 | See :ref:`user_content` for an overview. 24 | 25 | """ 26 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/admin.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/neighbornews/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/newsitem_detail/neighbor-events.html: -------------------------------------------------------------------------------- 1 | {% extends "db/newsitem_detail.html" %}{% comment %}{% endcomment %} 2 | 3 | {% block extra_title %}{% if can_edit %} 4 | Edit 5 | Delete 6 | {% endif %}{% endblock extra_title %} 7 | 8 | {% block newsitem_detail_image_list %} 9 | {% include "neighbornews/image_list_snippet.html" %} 10 | {% endblock %} 11 | 12 | {% block extracontent %} 13 | {% if newsitem.newsitemcreator_set.all %} 14 | {% with creator=newsitem.newsitemcreator_set.all.0.user %} 15 | Created by 16 | {{ creator.first_name }} 17 | {% endwith %} 18 | {% endif %} 19 | 20 | {%endblock%} 21 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/newsitem_detail/neighbor-messages.html: -------------------------------------------------------------------------------- 1 | {% extends "db/newsitem_detail.html" %}{% comment %}{% endcomment %} 2 | 3 | {% block extra_title %}{% if can_edit %} 4 | Edit 5 | Delete 6 | {% endif %}{% endblock extra_title %} 7 | 8 | {% block newsitem_detail_image_list %} 9 | {% include "neighbornews/image_list_snippet.html" %} 10 | {% endblock %} 11 | 12 | {% block extracontent %} 13 | {% if newsitem.newsitemcreator_set.all %} 14 | {% with creator=newsitem.newsitemcreator_set.all.0.user %} 15 | Created by 16 | {{ creator.first_name }} 17 | {% endwith %} 18 | {% endif %} 19 | 20 | {%endblock%} 21 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/schema_detail/neighbor-events.html: -------------------------------------------------------------------------------- 1 | {% extends "db/schema_detail.html" %}{% comment %}{% endcomment %} 2 | 3 | 4 | {% block extradescription %} 5 | Add Your Own {{schema.name}} 6 | {% if user.is_anonymous %}(login required){% endif %} 7 | {%endblock%} 8 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/schema_detail/neighbor-messages.html: -------------------------------------------------------------------------------- 1 | {% extends "db/schema_detail.html" %}{% comment %}{% endcomment %} 2 | 3 | {% block extradescription %} 4 | Add Your Own {{schema.name}} 5 | {% if user.is_anonymous %}(login required){% endif %} 6 | {%endblock%} 7 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/schema_filter/neighbor-events.html: -------------------------------------------------------------------------------- 1 | {% extends "db/schema_filter.html" %}{% comment %}{% endcomment %} 2 | 3 | 4 | {% block extradescription %} 5 | Add Your Own {{schema.name}} 6 | {% if user.is_anonymous %}(login required){% endif %} 7 | {%endblock%} 8 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/schema_filter/neighbor-messages.html: -------------------------------------------------------------------------------- 1 | {% extends "db/schema_filter.html" %}{% comment %}{% endcomment %} 2 | 3 | 4 | {% block extradescription %} 5 | Add Your Own {{schema.name}} 6 | {% if user.is_anonymous %}(login required){% endif %} 7 | {%endblock%} 8 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/snippets/newsitem_list/neighbor-events.html: -------------------------------------------------------------------------------- 1 | {% extends "db/snippets/newsitem_list.html" %} 2 | {% load eb %} 3 | {% block newsitem_list_content %} 4 | {{ newsitem.title|truncatewords_html:20 }} 5 | {% featured_lookup_for_item newsitem "categories" %} 6 | {% if categories %} 7 | {% for category in categories %}{{ category.name }} {% if not forloop.last %},{% endif %} {% endfor %} 8 |
9 | {% endif %} 10 |

{{ newsitem.item_date|date:"F j, Y" }} {% if newsitem.description %}{{ newsitem.description|truncatewords_html:20}}{% endif %}

11 | 12 | {% endblock newsitem_list_content %} 13 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/db/snippets/newsitem_list/neighbor-messages.html: -------------------------------------------------------------------------------- 1 | {% extends "db/snippets/newsitem_list.html" %} 2 | {% load eb %} 3 | {% block newsitem_list_content %} 4 | {{ newsitem.title|truncatewords_html:20 }} 5 | {% featured_lookup_for_item newsitem "categories" %} 6 | {% if categories %} 7 | {% for category in categories %}{{ category.name }} {% if not forloop.last %},{% endif %} {% endfor %} 8 |
9 | {% endif %} 10 |

{{ newsitem.item_date|date:"F j, Y" }} {% if newsitem.description %}{{ newsitem.description|truncatewords_html:20}}{% endif %}

11 | 12 | {% endblock newsitem_list_content %} 13 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/neighbornews/delete_form.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %}{% comment %}{% endcomment %} 2 | {% block content %} 3 |
4 | Really delete "{{ newsitem.title }}"? 5 | {% csrf_token %} 6 | 7 |
8 | {% endblock content %} 9 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/neighbornews/image_list_snippet.html: -------------------------------------------------------------------------------- 1 | 5 | {% with images|add:attribute_dict.image_url.value_list as all_images %} 6 | {% for image in all_images %} 7 | {% with image.value|default:image.url as url %}{% if url and url != 'N/A' %} 8 | 9 | Image {{ forloop.counter }} 10 | 11 | 12 | 13 | 14 | {% endif %}{% endwith %} 15 | {% endfor %} 16 | {% endwith %} 17 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/templates/neighbornews/news_by_user.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %}{% comment %}{% endcomment %} 2 | {% block title %}News by {{user.first_name}}{% endblock %} 3 | {% block content %} 4 |

News posted by {{user.first_name}}

5 | 6 | {% for row in items_by_schema %} 7 |

{{ row.items|length }} {{ row.schema.name }}{{ row.items|length|pluralize }}

8 | {% if row.items %} 9 | 14 | {% else %} 15 |

{% if is_viewing_self %} You have {% else %}{{user.first_name}} has {% endif %} 16 | not posted any {{ schema.plural_name }}. 17 |

18 | {% endif %} 19 | {% endfor %} 20 | 21 | {% if is_viewing_self %} 22 |

Create a new 23 | message or 24 | event. 25 |

26 | {% endif %} 27 | 28 | 29 | {% endblock %} 30 | -------------------------------------------------------------------------------- /ebpub/ebpub/neighbornews/tests.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | -------------------------------------------------------------------------------- /ebpub/ebpub/openblockapi/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | # a package. 20 | -------------------------------------------------------------------------------- /ebpub/ebpub/openblockapi/apikey/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | # a package 20 | -------------------------------------------------------------------------------- /ebpub/ebpub/openblockapi/apikey/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/openblockapi/apikey/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/openblockapi/fixtures/test-locationtypes.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "model": "db.locationtype", 4 | "pk": 1000, 5 | "fields": { 6 | "name": "neighborhood", 7 | "plural_name": "neighborhoods", 8 | "is_browsable": true, 9 | "scope": "boston", 10 | "slug": "neighborhoods", 11 | "is_significant": true 12 | } 13 | }, 14 | { 15 | "model": "db.locationtype", 16 | "pk": 1001, 17 | "fields": { 18 | "name": "ZIP Code", 19 | "plural_name": "ZIP Codes", 20 | "is_browsable": true, 21 | "scope": "U.S.A.", 22 | "slug": "zipcodes", 23 | "is_significant": true 24 | } 25 | } 26 | ] 27 | -------------------------------------------------------------------------------- /ebpub/ebpub/openblockapi/fixtures/test-placetypes.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "fields": { 4 | "plural_name": "Points of Interest", 5 | "is_geocodable": true, 6 | "indefinite_article": "a", 7 | "slug": "poi", 8 | "is_mappable": true, 9 | "name": "Point of Interest" 10 | }, 11 | "model": "streets.placetype" 12 | }, 13 | { 14 | "fields": { 15 | "plural_name": "Police Stations", 16 | "is_geocodable": true, 17 | "indefinite_article": "a", 18 | "slug": "police", 19 | "is_mappable": true, 20 | "name": "Police Station" 21 | }, 22 | "model": "streets.placetype" 23 | } 24 | ] -------------------------------------------------------------------------------- /ebpub/ebpub/openblockapi/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | # No models here. 20 | -------------------------------------------------------------------------------- /ebpub/ebpub/petitions/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/petitions/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/petitions/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/preferences/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/preferences/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/preferences/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/richmaps/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/richmaps/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | # No models, but need this for django to see this as an app. 20 | -------------------------------------------------------------------------------- /ebpub/ebpub/richmaps/templates/richmaps/newsitem_headline.html: -------------------------------------------------------------------------------- 1 |
  • 2 | {% if schema.get_map_icon_url %} 3 | 4 | {% endif %} 5 |
    6 | {% if newsitem.item_url %}{{newsitem.title|truncatewords_html:15}} 7 | {% else %}{{ newsitem.title }}{% endif %} 8 |
    9 |
    {{ newsitem.location_name.title }}
    10 |
    {{ newsitem.item_date|date:"M j" }}
    11 |
    {{schema.name}}
    12 |
  • 13 | -------------------------------------------------------------------------------- /ebpub/ebpub/richmaps/templates/richmaps/newsitem_popup.html: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /ebpub/ebpub/richmaps/templates/richmaps/no_headlines.html: -------------------------------------------------------------------------------- 1 |
  • 2 |

    No items are currently in view. Try adjusting the zoom level or date range to reveal more items.

    3 |
  • -------------------------------------------------------------------------------- /ebpub/ebpub/richmaps/templates/richmaps/place_headline.html: -------------------------------------------------------------------------------- 1 |
  • 2 | {% if place_type.get_map_icon_url %} 3 | 4 | {% endif %} 5 |
    6 | {% if place.url %}{{place.pretty_name|truncatewords_html:15}} 7 | {% else %}{{ place.pretty_name }}{% endif %} 8 |
    9 |
    {{place.address}}
    10 |
    {{place_type.name}}
    11 |
  • 12 | -------------------------------------------------------------------------------- /ebpub/ebpub/richmaps/templates/richmaps/place_popup.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ebpub/ebpub/savedplaces/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/savedplaces/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/savedplaces/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/streets/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/bin/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/blockimport/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | # 20 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/blockimport/esri/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/blockimport/esri/importers/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | 20 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/blockimport/esri/management/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/blockimport/esri/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/blockimport/tiger/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/fixtures/initial_data.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "fields": { 4 | "is_geocodable": true, 5 | "plural_name": "Points of Interest", 6 | "indefinite_article": "a", 7 | "slug": "poi", 8 | "is_mappable": true, 9 | "name": "Point of Interest" 10 | }, 11 | "model": "streets.placetype" 12 | } 13 | ] -------------------------------------------------------------------------------- /ebpub/ebpub/streets/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/streets/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/streets/templates/admin/streets/place/change_list.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_list.html" %} 2 | {% load i18n %} 3 | 4 | {% block object-tools %} 5 | {% if has_add_permission %} 6 | 24 | {% endif %} 25 | 26 | 27 | 28 | {% endblock %} 29 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/templates/admin/streets/placetype/change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_form.html" %} 2 | 3 | {% block after_field_sets %} 4 | {% if original.get_map_icon_url %} 5 |
    6 | Current Icon: 7 |
    current icon preview
    8 |
    9 | {% endif %} 10 | 11 | {% if original.map_color %} 12 |
    13 | Current Color:
     
    14 |
    15 | {% endif %} 16 | {% endblock %} 17 | -------------------------------------------------------------------------------- /ebpub/ebpub/streets/utils.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | # This is just preserved here for backward compatibility. 20 | from ebpub.geocoder.base import full_geocode 21 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/404.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Page not found{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Page not found

    8 |
    9 | {% endblock %} 10 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/500.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Page unavailable{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Page unavailable

    8 |
    9 | {% endblock %} 10 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/email_sent.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}E-mail sent{% endblock %} 6 | 7 | {% block content %} 8 | {% get_metro %} 9 |
    10 |

    E-mail sent

    11 |

    We've sent an e-mail with instructions.

    12 |

    Back to the homepage.

    13 |
    14 | {% endblock %} 15 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/hash_error.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Error{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Are you sure you clicked that link in your e-mail correctly?

    8 |

    Try checking the e-mail we sent you again to make sure you clicked the right link.

    9 |

    Try entering the e-mail address again

    10 |
    11 | {% endblock %} 12 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/logout_form.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Log out{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Log out

    8 |
    9 | {% csrf_token %} 10 |

    Are you sure you want to log out?

    11 |

    12 |
    13 |
    14 | {% endblock %} 15 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/password_change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Reset your password{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Reset your password

    8 |
    9 | {% csrf_token %} 10 | {{ form.e.errors }} 11 | {{ form.e }}{{ form.h }} 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 26 | 27 |
    {{ form.password1.errors }}{{ form.password1 }}
    {{ form.password2.errors }}{{ form.password2 }}
      24 | 25 |
    28 |
    29 |
    30 | {% endblock %} 31 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/password_reset_email.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

    Hello,

    9 | 10 |

    Somebody requested a password reset for this e-mail address ({{ email }}). To reset your password, click the following link:

    11 | 12 |

    {{ url }}

    13 | 14 |

    If you don't want to reset your password, just ignore this e-mail, and your password will remain the same.

    15 | 16 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/password_reset_email.txt: -------------------------------------------------------------------------------- 1 | {% autoescape off %} 2 | Hello, 3 | 4 | Somebody requested a password reset for this e-mail address 5 | ({{ email }}). To reset your password, 6 | click the following link: 7 | 8 | {{ url }} 9 | 10 | (Note that the link might wrap over multiple lines, depending on 11 | your e-mail program.) 12 | 13 | If you don't want to reset your password, just ignore this e-mail, 14 | and your password will remain the same. 15 | {% endautoescape %} -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/register_email.html: -------------------------------------------------------------------------------- 1 | {% load eb %} 2 | 4 | 5 | 6 | 7 | 8 | 9 |

    Hello,

    10 | 11 |

    Somebody with this e-mail address ({{ email }}) signed up for an 12 | account. Please 13 | confirm you're interested by clicking the following link:

    14 | 15 |

    {{ url }}

    16 | 17 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/register_email.txt: -------------------------------------------------------------------------------- 1 | {% autoescape off %} 2 | Hello, 3 | 4 | Somebody with this e-mail address ({{ email }}) signed up for an 5 | account. Please confirm you're interested by 6 | clicking the following link: 7 | 8 | {{ url }} 9 | 10 | (Note that the link might wrap over multiple lines, depending on 11 | your e-mail program.) 12 | {% endautoescape %} -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/register_form_1.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Create an account{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Create an account

    8 |

    Step 1: Verify your e-mail address

    9 |

    Enter your e-mail address below to create an account.

    10 |
    11 | {% csrf_token %} 12 | {{ form.email.errors }} 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 |
    {{ form.email }}
      21 |

    22 |
    25 |
    26 |

    Already have an account? Log in here...

    27 |
    28 | {% endblock %} 29 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/register_form_2.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Set a password{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Create an account

    8 |

    Step 2: Set a password

    9 |
    10 | {% csrf_token %} 11 | {{ form.e.errors }} 12 | {{ form.e }}{{ form.h }} 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 27 | 28 |
    {{ form.password1.errors }}{{ form.password1 }}
    {{ form.password2.errors }}{{ form.password2 }}
      25 | 26 |
    29 |
    30 |
    31 | {% endblock %} 32 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/accounts/request_password_change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Request a password reset{% endblock %} 4 | 5 | 6 | {% block content %} 7 |
    8 |

    Request a password reset

    9 |

    Step 1: Enter your e-mail address

    10 |

    We'll e-mail you a secret link that lets you reset your password.

    11 | 12 |
    13 | {% csrf_token %} 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 24 | 25 |
    {{ form.email.errors }}{{ form.email }}
      22 | 23 |
    26 |
    27 |
    28 | {% endblock %} 29 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/alerts/confirm_unsubscription.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Confirm{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Do you really want to unsubscribe?

    8 |

    Are you sure you want to unsubscribe from e-mail alerts for {{ alert.name }}?

    9 |
    10 | {% csrf_token %} 11 |

    12 |
    13 |

    No, take me back to my account

    14 |
    15 | {% endblock %} 16 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/alerts/signup_thanks.html: -------------------------------------------------------------------------------- 1 | {% extends "base_place.html" %} 2 | 3 | {% block title %}E-mail sent{% endblock %} 4 | 5 | {% block header %}E-mail sent{% endblock %} 6 | 7 | {% block place_content %} 8 |
    9 |

    We've sent an e-mail with instructions.

    10 |

    Back to the page for {{ place.pretty_name }}

    11 |
    12 | {% endblock %} 13 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/base.kml: -------------------------------------------------------------------------------- 1 | 2 | 5 | {% block name %}{% endblock %} 6 | {% block placemarks %}{% endblock %} 7 | 8 | 9 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/comments/flag.html: -------------------------------------------------------------------------------- 1 | {% extends "comments/base.html" %} 2 | {% load i18n %} 3 | 4 | {% block title %}{% trans "Flag this comment" %}{% endblock %} 5 | 6 | {% block content %} 7 |

    {% trans "Really flag this comment?" %}

    8 |
    {{ comment|linebreaks }}
    9 |
    {% csrf_token %} 10 | {% if next %}{% endif %} 11 |

    12 | or 13 | cancel 14 |

    15 |
    16 | {% endblock %} 17 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/city_list.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Cities{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Cities

    8 |
      9 | {% for city in all_cities %} 10 | {% if city.slug in cities_with_streets %} 11 |
    • {{city.name }}
    • 12 | {% else %} 13 | 14 | {% endif %} 15 | {% endfor %} 16 |
    17 |
    18 | {% endblock %} 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/did_you_mean.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Search: {{ query }}{% endblock %} 4 | 5 | {% block content %} 6 |
    7 |

    Address search

    8 |
    9 | 10 |
    11 |

    Did you mean…

    12 |
      13 | {% for choice in choices %} 14 |
    • {{ choice }}
    • 15 | {% endfor %} 16 |
    17 |
    18 | {% endblock %} 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/filter_bad_address.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% load eb_filter %} 3 | 4 | {% block title %}{% if address_choices %}Did you mean?{% else %}Unknown address{% endif %}{% endblock %} 5 | 6 | {% block content %} 7 |
    8 |

    {% if address_choices %}Did you mean…{% else %}Unknown address{% endif %}

    9 | {% if address_choices %} 10 |
      11 | {% for choice in address_choices %} 12 |
    • {{ choice }}
    • 13 | {% endfor %} 14 |
    15 | {% else %} 16 |

    We couldn’t find the address {{ address }}. Please try again below, or go back to your search.

    17 |
    18 | 19 | 20 | 21 |
    22 | {% endif %} 23 |
    24 | {% endblock %} 25 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/schema_detail_special_report.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load eb mapping %} 4 | 5 | {% block title %}Special report: {{ schema.plural_name|capfirst }}{% endblock %} 6 | 7 | {% block content %} 8 |
    9 |

    Special report: {{ schema.plural_name|capfirst }}

    10 |

    {{ schema.short_description }}

    11 | {{ schema.summary|safe|linebreaks }} 12 | {% if schema.allow_charting %} 13 |

    Browse

    14 | 22 | {% endif %} 23 |

    Full list of items

    24 |
      25 | {% newsitem_list_by_schema newsitem_list ungrouped %} 26 |
    27 |
    28 | {% endblock %} 29 | 30 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/search_error.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Search: {{ query }}{% endblock %} 6 | 7 | {% block content %} 8 |
    9 |

    Location not found

    10 |

    No results for {{ query }}

    11 |

    Here are some things you might want to try…

    12 |
      13 |
    • Navigate our full list of streets to find news for an individual block.
    • 14 |
    • Find a {% for locationtype in locationtype_list %}{% if forloop.last %} or {% endif %}{{ locationtype.name }}{% if not forloop.last %}, {% endif %}{% endfor %}.
    • 15 |
    16 |

    Or try another address search in {% METRO_NAME %}…

    17 |
    18 |

    19 |
    20 |
    21 | {% endblock %} 22 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/search_error_zip_list.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Search: {{ query }}{% endblock %} 6 | 7 | {% block content %} 8 |
    9 |

    ZIP not found

    10 |

    We don’t cover the ZIP code {{ query }} in {% METRO_NAME %}.

    11 |

    Available ZIP codes

    12 | 17 |

    Or try another address search in {% METRO_NAME %}…

    18 |
    19 |

    20 |
    21 |
    22 | {% endblock %} 23 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/search_invalid_block.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Search: {{ query }}{% endblock %} 6 | 7 | {% block content %} 8 |
    9 |

    Address search

    10 |
    11 | 12 |
    13 | 14 | {% for choice in choices %} 15 |

    Choose a block of {{ choice.name }}…

    16 | 21 | {% endfor %} 22 | 23 |
    24 | {% endblock %} 25 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/search_special_case.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}{{ special_case.title }}{% endblock %} 6 | 7 | {% block content %} 8 |
    9 |

    {{ special_case.title }}

    10 | {{ special_case.body|safe }} 11 |
    12 | {% endblock %} 13 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/snippets/breadcrumbs.html: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/snippets/newsitem_list/news-articles.html: -------------------------------------------------------------------------------- 1 | {% extends "db/snippets/newsitem_list.html" %} 2 | {% block newsitem_list_content %} 3 | {{ newsitem.title|truncatewords_html:20 }} 4 |

    {{ newsitem.attributes.excerpt }}

    5 |

    Published by {{ newsitem.attributes.source.name }} on {{ newsitem.item_date|date:"F j, Y" }}.

    6 | {% endblock newsitem_list_content %} 7 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/db/snippets/userlinks.html: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/feeds/streets_description.html: -------------------------------------------------------------------------------- 1 | {% load eb full_links %} 2 | 3 | {% ifequal obj.0 'newsitem' %} 4 |
      5 | {% full_links EB_DOMAIN %}{% with obj.1 as place %}{% with obj.4 as is_block %}{% with obj.5 as block_radius %}{% newsitem_list_by_schema obj.3 %}{% endwith %}{% endwith %}{% endwith %}{% end_full_links %} 6 | 7 |
    8 | {% else %} 9 |

    {{ obj.1.summary }} Read more...

    10 | {% endifequal %} 11 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/feeds/streets_title.html: -------------------------------------------------------------------------------- 1 | {% load eb %} 2 | 3 | {% if obj.2.can_collapse %} 4 | {% if obj.2.is_special_report %} 5 | Special report: {{ obj.2.name }} 6 | {% else %} 7 | {{ obj.3|length }} {% schema_plural_name obj.2 obj.3 %} new on {{ obj.3.0.pub_date|date:"F j" }} 8 | {% endif %} 9 | {% else %} 10 | {{ obj.2.name|capfirst }}: {{ obj.3.title }} 11 | {% endif %} 12 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/key/key.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block title %}Your API Keys{% endblock %} 4 | 5 | {% block content %} 6 | 7 |

    API keys for {{ user.username }}

    8 | 9 |
    You have {{ keys|length }}. You can make {{ available_keys }} more. 10 |
    11 | 12 | {% if keys %} 13 |
    16 | {% for key in keys %} 17 |
    {{ key }} 18 |
    19 | {% endfor %} 20 | 21 | 22 |
    23 | {% endif %} 24 | 25 |

    26 | 27 | {% if can_make_api_key %} 28 |

    29 | {% csrf_token %} 30 | 31 |
    32 | {% endif %} 33 | 34 | {% endblock %} 35 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/petitions/thanks.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Thanks for signing the petition{% endblock %} 6 | 7 | {% block content %} 8 |
    9 | {% if is_schema %}

    {{ petition.schema.name|capfirst }}

    {% endif %} 10 |

    Thanks

    11 |
    12 | {% endblock %} 13 | -------------------------------------------------------------------------------- /ebpub/ebpub/templates/place.kml: -------------------------------------------------------------------------------- 1 | {% extends "base.kml" %} 2 | {% block placemarks %} 3 | 4 | {{place.slug}} 5 | {{place.location_type.name}}: {{place.name}} 6 | {% autoescape off %} 7 | {{place.location.kml}} 8 | {% endautoescape %} 9 | 10 | {% endblock %} 11 | -------------------------------------------------------------------------------- /ebpub/ebpub/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/widgets/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of ebpub 4 | # 5 | # ebpub is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # ebpub is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with ebpub. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /ebpub/ebpub/widgets/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/ebpub/ebpub/widgets/migrations/__init__.py -------------------------------------------------------------------------------- /ebpub/ebpub/widgets/templates/admin/widgets/widget/change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_form.html" %} 2 | {% load i18n %} 3 | 4 | 5 | {% block after_field_sets %} 6 | {% if change %} 7 |

    Embed Code

    8 |
     9 | {{original.embed_code}}
    10 | 
    11 |
    12 |

    Server Side Include URL

    13 |
    14 | {{original.transclude_url}}
    15 | 
    16 | {% endif %} 17 | 18 | {% endblock %} 19 | 20 | {% block object-tools %} 21 | {% if change %}{% if not is_popup %} 22 | 31 | {% endif %}{% endif %} 32 | {% endblock %} 33 | -------------------------------------------------------------------------------- /ebpub/ebpub/widgets/templates/widgets/stickylist.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %}{% comment %} -*- mode: django-html; tab-width: 4 -*- {% endcomment %} 2 | 3 | 4 | {% block content %} 5 |

    Available Widgets

    6 | 7 |
      8 | {% for widget in widgets %} 9 |
    • 10 | {{widget.name}} 11 |
    • 12 | {% endfor %} 13 |
    14 | 15 | 16 | {% endblock %} -------------------------------------------------------------------------------- /ebpub/ebpub/widgets/templates/widgets/widget.js: -------------------------------------------------------------------------------- 1 | (function(i) {var u =navigator.userAgent;var e=/*@cc_on!@*/false; var st = 2 | setTimeout;if(/webkit/i.test(u)){st(function(){var dr=document.readyState; 3 | if(dr=="loaded"||dr=="complete"){i()}else{st(arguments.callee,10);}},10);} 4 | else if((/mozilla/i.test(u)&&!/(compati)/.test(u)) || (/opera/i.test(u))){ 5 | document.addEventListener("DOMContentLoaded",i,false); } else if(e){ ( 6 | function(){var t=document.createElement('doc:rdy');try{t.doScroll('left'); 7 | i();t=null;}catch(e){st(arguments.callee,0);}})();}else{window.onload=i;}})( 8 | function() {var t = document.getElementById("{{target}}");if(t){t.innerHTML = 9 | {%autoescape off%}{{payload}}{% endautoescape %}};}); 10 | {% comment %}From http://www.kryogenix.org/days/2007/09/26/shortloaded{% endcomment %} -------------------------------------------------------------------------------- /ebpub/requirements.txt: -------------------------------------------------------------------------------- 1 | django==1.3.1 2 | 3 | # Not specifying GDAL version, since it depends on our platform. Rely 4 | # on the user (or a more sophisticated script like obadmin/pavement.py) 5 | # to install the right version. 6 | GDAL 7 | 8 | django-static==1.5.5 9 | # 2.2 is minimum version that has extensions.ISOLATION_LEVEL_AUTOCOMMIT but 2.4.2 is known not to work with django 1.3. 10 | #psycopg2>=2.2,<2.3 11 | psycopg2>=2.2,<2.4.2 12 | slimmer>=0.1.30 13 | https://github.com/openplans/olwidget/zipball/20120404#egg=django-olwidget-0.49 14 | pyRFC3339==0.1 15 | pytz>=2011n 16 | PyYAML==3.09 17 | PIL>=1.1.6,<=1.2a 18 | mock==0.8.0 19 | South>=0.7.3 20 | python-dateutil==1.5 21 | django-jsonfield==0.7.1 22 | recaptcha-client==1.0.6 23 | easy-thumbnails>=1.0-alpha-21,<1.1a 24 | Shapely>=1.2 25 | -------------------------------------------------------------------------------- /misc/900913.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO spatial_ref_sys (srid, auth_name, auth_srid, srtext, proj4text)VALUES (900913,'EPSG',900913,'PROJCS["WGS84 / Simple Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984", 6378137.0, 298.257223563]],PRIMEM["Greenwich", 0.0],UNIT["degree", 0.017453292519943295],AXIS["Longitude", EAST],AXIS["Latitude", NORTH]],PROJECTION["Mercator_1SP_Google"],PARAMETER["latitude_of_origin", 0.0],PARAMETER["central_meridian", 0.0],PARAMETER["scale_factor", 1.0],PARAMETER["false_easting", 0.0],PARAMETER["false_northing", 0.0],UNIT["m", 1.0],AXIS["x", EAST],AXIS["y", NORTH],AUTHORITY["EPSG","900913"]]','+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs'); 2 | -------------------------------------------------------------------------------- /misc/bin/ami_scripts/etc/base_image_files/etc/logrotate.d/openblock: -------------------------------------------------------------------------------- 1 | /var/log/openblock/*log { 2 | weekly 3 | size 5M 4 | missingok 5 | rotate 26 6 | compress 7 | delaycompress 8 | notifempty 9 | create 640 openplans users 10 | sharedscripts 11 | } 12 | -------------------------------------------------------------------------------- /misc/bin/ami_scripts/ubuntu1004_db_config: -------------------------------------------------------------------------------- 1 | export PG_INITSCRIPT=/etc/init.d/postgresql-8.4 2 | export POSTGIS_SQL=/usr/share/postgresql/8.4/contrib/postgis.sql 3 | export SPATIAL_REF_SQL=/usr/share/postgresql/8.4/contrib/spatial_ref_sys.sql 4 | -------------------------------------------------------------------------------- /misc/bin/ami_scripts/ubuntu1004_globalpkgs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo apt-get -y update || exit 1 4 | 5 | # cleanup dev dependencies in case we've run the other scenario before... 6 | echo Cleanup... 7 | sudo apt-get -y remove python-gdal libgdal1-1.6.0 \ 8 | libgdal1-dev \ 9 | libxml2 libxml2-dev \ 10 | libxslt1.1 libxslt1-dev 11 | 12 | # echo More cleanup... 13 | # sudo apt-get autoremove 14 | 15 | sudo ldconfig 16 | 17 | sudo apt-get -y install \ 18 | build-essential \ 19 | git-core \ 20 | libproj-dev \ 21 | libproj0 \ 22 | postgresql-8.4-postgis \ 23 | postgresql-server-dev-8.4 \ 24 | python-distribute \ 25 | python-gdal \ 26 | python2.6 \ 27 | python2.6-dev \ 28 | python-lxml \ 29 | python-virtualenv \ 30 | python-imaging \ 31 | python-shapely \ 32 | subversion \ 33 | unzip \ 34 | wget || exit 1 35 | 36 | sudo ldconfig || exit 1 37 | echo Rebooting 38 | sudo reboot 39 | -------------------------------------------------------------------------------- /misc/bin/ami_scripts/ubuntu1104_db_config: -------------------------------------------------------------------------------- 1 | export PG_INITSCRIPT=/etc/init.d/postgresql 2 | export POSTGIS_SQL=/usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql 3 | export SPATIAL_REF_SQL=/usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sql 4 | -------------------------------------------------------------------------------- /misc/bin/ami_scripts/ubuntu1104_globalpkgs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo apt-get update || exit 1 4 | 5 | # cleanup dev dependencies in case we've run the other scenario before... 6 | echo Cleanup... 7 | sudo apt-get -y remove libgdal1-1.6.0 \ 8 | libgdal1-dev \ 9 | libxml2 libxml2-dev \ 10 | libxslt1.1 libxslt1-dev 11 | 12 | # echo More cleanup... 13 | # sudo apt-get autoremove 14 | 15 | sudo ldconfig 16 | 17 | sudo apt-get -y install python2.7 \ 18 | python2.7-dev \ 19 | python-virtualenv \ 20 | python-distribute \ 21 | build-essential \ 22 | git-core \ 23 | subversion \ 24 | postgresql-8.4-postgis \ 25 | python-gdal \ 26 | python-lxml \ 27 | python-imaging \ 28 | python-shapely \ 29 | libproj0 \ 30 | libproj-dev \ 31 | unzip \ 32 | wget \ 33 | python-psycopg2 || exit 1 34 | 35 | sudo ldconfig || exit 1 36 | #echo Rebooting 37 | #sudo reboot 38 | -------------------------------------------------------------------------------- /misc/bin/ami_scripts/ubuntu1204_db_config: -------------------------------------------------------------------------------- 1 | export PG_INITSCRIPT=/etc/init.d/postgresql 2 | export POSTGIS_SQL=/usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql 3 | export SPATIAL_REF_SQL=/usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql 4 | -------------------------------------------------------------------------------- /misc/bin/ami_scripts/ubuntu1204_globalpkgs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | sudo apt-get update || exit 1 4 | 5 | # cleanup dev dependencies in case we've run the other scenario before... 6 | # NOTE global python-psycopg2 version DOES NOT work with django 1.3. 7 | 8 | echo Cleanup... 9 | sudo apt-get -y remove libgdal1-1.7.0 \ 10 | python-psycopg2 \ 11 | libgdal1-dev \ 12 | libxml2 libxml2-dev \ 13 | libxslt1.1 libxslt1-dev 14 | 15 | # echo More cleanup... 16 | # sudo apt-get autoremove 17 | 18 | sudo ldconfig 19 | 20 | sudo apt-get -y install python2.7 \ 21 | python2.7-dev \ 22 | python-virtualenv \ 23 | python-distribute \ 24 | build-essential \ 25 | git-core \ 26 | subversion \ 27 | postgresql-9.1-postgis \ 28 | libpq-dev \ 29 | python-gdal \ 30 | python-lxml \ 31 | python-imaging \ 32 | python-shapely \ 33 | libproj0 \ 34 | libproj-dev \ 35 | unzip \ 36 | wget || exit 1 37 | 38 | sudo ldconfig || exit 1 39 | #echo Rebooting 40 | #sudo reboot 41 | -------------------------------------------------------------------------------- /obadmin/README.txt: -------------------------------------------------------------------------------- 1 | ======= 2 | obadmin 3 | ======= 4 | 5 | Setup and administrative scripts and utilities for 6 | `ebpub `_. 7 | 8 | This package is part of OpenBlock. Originally developed for EveryBlock.com. 9 | 10 | For more information, see the 11 | `documentation `_ 12 | or the `project website `_. 13 | 14 | Problems can be reported to the `issue tracker `_. 15 | 16 | Discussion is on the `ebcode google group `_ 17 | or the #openblock channel on freenode. 18 | 19 | Installation 20 | ============ 21 | 22 | Do *not* just try to easy_install or pip install obadmin. It has a lot 23 | of specific dependencies which can't/shouldn't be captured by 24 | setup.py. 25 | 26 | Instead, see the full documentation at http://openblockproject.org/docs/install/index.html which includes links to pip requirements files 27 | and instructions on preparing your system. 28 | -------------------------------------------------------------------------------- /obadmin/obadmin/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of OpenBlock 4 | # 5 | # OpenBlock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # OpenBlock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with OpenBlock. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of OpenBlock 4 | # 5 | # OpenBlock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # OpenBlock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with OpenBlock. If not, see . 17 | # 18 | 19 | from obadmin.admin.sites import * -------------------------------------------------------------------------------- /obadmin/obadmin/admin/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of OpenBlock 4 | # 5 | # OpenBlock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # OpenBlock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with OpenBlock. If not, see . 17 | # 18 | 19 | # No models, but we need this file so Django treats this package as an app. 20 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/admin/base_site.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/base.html" %} 2 | {% load i18n %} 3 | 4 | {% block title %}{{ title }} | {% trans 'Openblock site admin' %}{% endblock %} 5 | 6 | {% block branding %} 7 |

    {% trans 'Openblock administration' %}

    8 | {% endblock %} 9 | 10 | {% block nav-global %}{% endblock %} 11 | 12 | {% block footer %}{% endblock %} 13 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/admin/db/location/change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_form.html" %} 2 | {% block content %} 3 | {% if add %} 4 |
    5 | You can also add US Zip codes 6 | or 7 | upload a shapefile 8 | to create multiple locations. 9 |
    10 | {% endif %} 11 | {{ block.super }} 12 | {% endblock %} 13 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/admin/db/newsitem/change_list.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_list.html" %} 2 | 3 | {% block object-tools-items %} 4 | {{ block.super }} 5 |
  • 6 | Import from Spreadsheet 7 |
  • 8 | {% endblock object-tools-items %} 9 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/admin/streets/block/change_list.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_list.html" %} 2 | 3 | {% block object-tools-items %} 4 | {{ block.super }} 5 |
  • 6 | Import Block Shapefiles 7 |
  • 8 | {% endblock %} 9 | 10 | {% block content %} 11 |
    12 | 25 | {{ block.super }} 26 | {% endblock %} 27 | 28 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/add_blob_seed.html: -------------------------------------------------------------------------------- 1 | {% extends "obadmin/old_base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Add source{% endblock %} 6 | 7 | {% block breadcrumbs %} 8 | 17 | {% endblock %} 18 | 19 | 20 | {% block content %} 21 |
    22 | 23 |

    Add source

    24 | 25 |
    {% csrf_token %} 26 | 27 | {{ form.as_table }} 28 | 29 |
     
    30 |
    31 |
    32 | 33 | {% endblock %} 34 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/edit_schema.html: -------------------------------------------------------------------------------- 1 | {% extends "obadmin/old_base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Edit schema: {{ schema.plural_name|capfirst }}{% endblock %} 6 | 7 | {% block breadcrumbs %} 8 | 17 | {% endblock %} 18 | 19 | 20 | {% block content %} 21 |
    22 | 23 |

    Edit schema: {{ schema.plural_name|capfirst }}

    24 | 25 |
    {% csrf_token %} 26 | 27 | {{ form.as_table }} 28 | 29 |
     
    30 |
    31 |
    32 | 33 | {% endblock %} 34 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/geocoder_success_rates.html: -------------------------------------------------------------------------------- 1 | {% extends "obadmin/old_base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Geocoder success rates{% endblock %} 6 | 7 | 8 | {% block breadcrumbs %} 9 | 16 | {% endblock %} 17 | 18 | 19 | {% block content %} 20 |
    21 | 22 |

    Geocoder success rates

    23 | 24 | 25 | 26 | {% for schema in schema_list %} 27 | 28 | 29 | 30 | 31 | 32 | 33 | {% endfor %} 34 |
    SchemaSuccess rateGeocodedTotal
    {{ schema.name|capfirst }}{{ schema.ratio|floatformat:3 }}{{ schema.geocoded }}{{ schema.total }}
    35 |
    36 | {% endblock %} 37 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/import_news.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_form.html" %} 2 | {% load i18n %} 3 | 4 | {% block title %}Import NewsItems from Spreadsheet{% endblock %} 5 | 6 | {% block breadcrumbs %} 7 | 16 | {% endblock %} 17 | 18 | {% block content %} 19 |
    20 |

    Import NewsItems From Spreadsheet

    21 | 22 |
    23 | 24 |
    {% csrf_token %} 25 | {% for fieldset in fieldsets %} 26 | {% include "admin/includes/fieldset.html" %} 27 | {% endfor %} 28 |
    29 |
    30 |
    31 |
    32 | {% endblock %} 33 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/index.html: -------------------------------------------------------------------------------- 1 | {% extends "obadmin/old_base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}{% METRO_NAME %}{% endblock %} 6 | 7 | {% block breadcrumbs %} 8 | 13 | {% endblock %} 14 | 15 | 16 | {% block content %} 17 |
    18 |

    {% METRO_NAME %}

    19 | 20 | 28 | 29 |
    30 | {% endblock %} 31 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/jobs_status.html: -------------------------------------------------------------------------------- 1 | 12 | 13 |

    Current background jobs:

    14 |
      15 | {% for job_info in counts %} 16 |
    1. 17 | {{ job_info.label }}: 18 | 0 %} class="running"{% endif %}> 19 | {{ job_info.running_count }} running 20 | , 21 | 0 %} class="pending"{% endif %}> 22 | {{ job_info.pending_count }} pending 23 | 24 |
    2. 25 | {% endfor %} 26 |
    27 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/old_base.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/base_site.html" %} 2 | 3 | {% block footer %}{% endblock %} 4 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/schema_list.html: -------------------------------------------------------------------------------- 1 | {% extends "obadmin/old_base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Schemas{% endblock %} 6 | 7 | {% block breadcrumbs %} 8 | 15 | {% endblock %} 16 | 17 | {% block content %} 18 |
    19 | 20 |

    Schemas

    21 | 22 | 23 | {% for schema in schema_list %} 24 | 25 | 26 | 35 | 36 | {% endfor %} 37 |
    {{ schema.schema.plural_name|capfirst }} 27 | {% if schema.lookups %} 28 | 33 | {% endif %} 34 |
    38 | 39 |
    40 | {% endblock %} 41 | -------------------------------------------------------------------------------- /obadmin/obadmin/admin/templates/obadmin/scraper_history_list.html: -------------------------------------------------------------------------------- 1 | {% extends "obadmin/old_base.html" %} 2 | 3 | {% load eb %} 4 | 5 | {% block title %}Scraper history{% endblock %} 6 | 7 | {% block content %} 8 |
    9 |

    {% METRO_NAME %} admin

    10 | 11 |

    Scraper history

    12 | 13 | 18 |
    19 | {% endblock %} 20 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/+project+/README.txt_tmpl: -------------------------------------------------------------------------------- 1 | This is a Django app that was generated by running 2 | `paster create -t openblock ${project}`. 3 | It starts as a thin wrapper around ebpub, and like any such django app 4 | it may be customized by adding templates, modifying urls.py, etc. 5 | 6 | For more documentation, see 7 | http://openblockproject.org/docs/install/custom.html 8 | 9 | For deployment with apache's mod_wsgi, there is a suitable wsgi script 10 | in the wsgi/ directory. 11 | 12 | There are more example config files in etc/. 13 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/+project+/__init__.py: -------------------------------------------------------------------------------- 1 | # a package. 2 | 3 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/+project+/manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | from django.core.management import execute_manager 4 | try: 5 | import settings # Assumed to be in the same directory. 6 | except ImportError: 7 | import sys 8 | sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) 9 | sys.exit(1) 10 | 11 | if __name__ == "__main__": 12 | execute_manager(settings) 13 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/+project+/models.py: -------------------------------------------------------------------------------- 1 | # There are no models by default, but if you want to be able to write 2 | # data migrations for your app, South needs it to be a django app 3 | # (i.e. have models.) 4 | # Also needed if you write tests and want the default testrunner to 5 | # be able to find them. 6 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/+project+/settings_background.py_tmpl: -------------------------------------------------------------------------------- 1 | from ${project}.settings import * 2 | 3 | # Disable default logging config, because a bug in django-background-task 4 | # means that any existing logging config overrides the command-line options. 5 | # See https://github.com/lilspikey/django-background-task/issues/2 6 | 7 | del(LOGGING) 8 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/+project+/templates/homepage.html_tmpl: -------------------------------------------------------------------------------- 1 | {% extends "ebpub/templates/homepage.html" %}{% comment %} -*- mode: django-html; tab-width: 4 -*- {% endcomment %} 2 | 3 | {% block fulltitle %}OpenBlock: ${project}{% endblock %} 4 | 5 | {% block extracontent %} 6 |
    7 |

    Welcome to your new OpenBlock site

    8 |

    You can remove this message by editing ${project}/templates/homepage.html

    9 |
    10 | {% endblock %} 11 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/+project+/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls.defaults import * 2 | from obadmin import admin 3 | 4 | admin.autodiscover() 5 | 6 | urlpatterns = patterns( 7 | 8 | '', 9 | 10 | (r'^admin/', include(admin.site.urls)), 11 | 12 | # ebpub provides all the UI for an openblock site. 13 | (r'^', include('ebpub.urls')), 14 | ) 15 | -------------------------------------------------------------------------------- /obadmin/obadmin/project_templates/openblock/setup.py_tmpl: -------------------------------------------------------------------------------- 1 | try: 2 | from setuptools import setup, find_packages 3 | except ImportError: 4 | from ez_setup import use_setuptools 5 | use_setuptools() 6 | from setuptools import setup, find_packages 7 | 8 | setup( 9 | name='${project}', 10 | version="0.1", 11 | author=${repr(author)}, 12 | author_email=${repr(author_email)}, 13 | description="${description}", 14 | license="${license or 'GPLv3'}", 15 | install_requires=[ 16 | "ebpub", 17 | "ebdata", 18 | "obadmin", 19 | ], 20 | dependency_links=[ 21 | ], 22 | packages=find_packages(exclude=['ez_setup']), 23 | include_package_data=True, 24 | entry_points=""" 25 | """, 26 | ) 27 | -------------------------------------------------------------------------------- /obadmin/requirements.txt: -------------------------------------------------------------------------------- 1 | Paste==1.7.5.1 2 | PasteDeploy==1.5.0 3 | 4 | Paver==1.0.5 5 | 6 | # Hack: forcing installation via a URL instead of a package name 7 | # because this ensures it's installed locally even if the same version 8 | # of PasteScript is already somewhere on sys.path. This is a hack to 9 | # work around the problem where the 'paster' command isn't in the 10 | # virtualenv, so it has a shebang line with the wrong python 11 | # interpreter, which leads to having the wrong site-packages, which 12 | # leads to problems like the wrong set of entry points being found, so 13 | # 'paster create -t openblock' doesn't work (the template isn't found). UGH. 14 | # See http://trac.pythonpaste.org/pythonpaste/ticket/458 15 | http://pypi.python.org/packages/source/P/PasteScript/PasteScript-1.7.3.tar.gz 16 | 17 | django-background-task>=0.1.3 18 | -------------------------------------------------------------------------------- /obdemo/MANIFEST.in: -------------------------------------------------------------------------------- 1 | exclude obdemo/settings.py 2 | -------------------------------------------------------------------------------- /obdemo/obdemo/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of OpenBlock 4 | # 5 | # OpenBlock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # OpenBlock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with OpenBlock. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /obdemo/obdemo/management/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of OpenBlock 4 | # 5 | # OpenBlock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # OpenBlock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with OpenBlock. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /obdemo/obdemo/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of OpenBlock 4 | # 5 | # OpenBlock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # OpenBlock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with OpenBlock. If not, see . 17 | # 18 | 19 | -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/README.txt: -------------------------------------------------------------------------------- 1 | Unless otherwise noted, these icons are from 2 | http://mapicons.nicolasmollet.com/ 3 | by Nicholas Mollet, licensed as Creative Commons 3.0 BY-SA. 4 | -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/bar_coktail.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/bar_coktail.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/bar_coktail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/bar_coktail.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/calendar-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/calendar-3.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/caution.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/cinema.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/cinema.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/cinema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/cinema.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/congress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/congress.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/congress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/congress.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/contract.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/contract.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/contract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/contract.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/conveniencestore.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/conveniencestore.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/conveniencestore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/conveniencestore.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/factory.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/factory.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/factory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/factory.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/fire.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/fire.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/fire.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/fire.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/meetup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/meetup.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/meetup.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/meetup.xcf -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/museum_art.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/museum_art.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/museum_art.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/museum_art.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/newsagent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/newsagent.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/photo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/photo.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/photo.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/police.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/police.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/police.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/police.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/postal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/postal.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/regroup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/regroup.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/restaurant.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/restaurant.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/restaurant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/restaurant.png -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/workoffice.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/workoffice.gif -------------------------------------------------------------------------------- /obdemo/obdemo/media/map_icons/workoffice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/media/map_icons/workoffice.png -------------------------------------------------------------------------------- /obdemo/obdemo/migrations/0001_initial.py: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | import datetime 3 | from south.db import db 4 | from south.v2 import SchemaMigration 5 | from django.db import models 6 | 7 | class Migration(SchemaMigration): 8 | 9 | depends_on = ( 10 | ('streets', '0001_initial'), 11 | ('db', '0007_load_default_schemas'), 12 | ) 13 | 14 | def forwards(self, orm): 15 | pass 16 | 17 | def backwards(self, orm): 18 | pass 19 | 20 | 21 | models = { 22 | 23 | } 24 | 25 | complete_apps = ['obdemo'] 26 | -------------------------------------------------------------------------------- /obdemo/obdemo/migrations/0002_noop.py: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | import datetime 3 | from south.db import db 4 | from south.v2 import DataMigration 5 | from django.db import models 6 | 7 | class Migration(DataMigration): 8 | 9 | # We tweak some of the default schemas for Boston. 10 | depends_on = ( 11 | ("db", "0007_load_default_schemas"), 12 | ) 13 | 14 | def forwards(self, orm): 15 | "rewritten as migration 0003, nothing left here." 16 | pass 17 | 18 | def backwards(self, orm): 19 | pass 20 | 21 | 22 | models = { 23 | 24 | } 25 | 26 | complete_apps = ['obdemo'] 27 | -------------------------------------------------------------------------------- /obdemo/obdemo/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openplans/openblock/2d2348c2ce9dd155b97b1e1eeb1dd59b055bcf01/obdemo/obdemo/migrations/__init__.py -------------------------------------------------------------------------------- /obdemo/obdemo/models.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007,2008,2009,2011 Everyblock LLC, OpenPlans, and contributors 2 | # 3 | # This file is part of obdemo 4 | # 5 | # obdemo is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # obdemo is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with obdemo. If not, see . 17 | # 18 | 19 | # There are no models, but we want to be able to write data migrations 20 | # for the demo, and South needs it to be a django app (i.e. have models.) 21 | -------------------------------------------------------------------------------- /obdemo/obdemo/scrapers/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2011 OpenPlans and contributors 2 | # 3 | # This file is part of OpenBlock 4 | # 5 | # OpenBlock is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # OpenBlock is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with OpenBlock. If not, see . 17 | # 18 | 19 | # a package. 20 | -------------------------------------------------------------------------------- /obdemo/obdemo/templates/db/place_detail.html: -------------------------------------------------------------------------------- 1 | {% extends "ebpub/templates/db/place_detail.html" %} 2 | 3 | {% block extracontent %} 4 | {% ifequal place.location_type.slug "neighborhoods" %} 5 |
    Disclaimer: All reference to Planning Districts 6 | on any maps or digital data produced by the Office of Digital 7 | Cartography and GIS, Planning Department, BRA are for planning 8 | purposes only and should NOT be interpreted as official neighborhood 9 | boundaries for the City of Boston. Thank you. 10 |
    11 | {% endifequal %} 12 | {% endblock %} -------------------------------------------------------------------------------- /obdemo/obdemo/templates/disclaimer.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %}{% comment %} -*- mode: django-html; tab-width: 4 -*- {% endcomment %} 2 | 3 | {% block content %} 4 |
    5 |
    6 | Disclaimers: 7 | 8 |
      9 | 10 |
    • This product uses the Flickr API but is not endorsed or certified by Flickr. 11 |
    • 12 | 13 |
    • All reference to Planning Districts on any maps or digital data 14 | produced by the Office of Digital Cartography and GIS, Planning 15 | Department, BRA are for planning purposes only and should NOT be 16 | interpreted as official neighborhood boundaries for the City of 17 | Boston. Thank you. 18 |
    • 19 | 20 |
    • Map icons courtesy 21 | of Maps Icons 22 | Collection, created by Nicolas Mollet under the Creative Commons 23 | Attribution-Share Alike 3.0 Unported license (CC BY SA 3.0). 24 |
    • 25 | 26 | 27 |
    28 |
    29 | {% endblock %} 30 | -------------------------------------------------------------------------------- /obdemo/obdemo/templates/homepage.html: -------------------------------------------------------------------------------- 1 | {% extends "ebpub/templates/homepage.html" %}{% comment %} -*- mode: django-html; tab-width: 4 -*- {% endcomment %} 2 | 3 | 4 | {% block fulltitle %}OpenBlock demo{% endblock %} 5 | 6 | {% block extracontent %} 7 | 25 | {% endblock %} 26 | -------------------------------------------------------------------------------- /obdemo/requirements.txt: -------------------------------------------------------------------------------- 1 | 2 | flickrapi==1.4.2 3 | -------------------------------------------------------------------------------- /patches/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains patches that we apply to packages installed 2 | from source. These are typically applied automatically by the 3 | ``oblock`` installer script provided by the obadmin package. 4 | --------------------------------------------------------------------------------