Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependencies and Make Generic for Any City #183

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Commits on Sep 2, 2023

  1. Upgrade to Node 18.17.1

    * Remove all migrations
     - Migrations were using grunt-mongo-migrations package,
       which depends on the now-deprecated fibers package.
       Migrations were specific to Chicago anyway
    * Upgrade all packages using npm-check-updates
    * Remove requests package
     - Deprecated. Just using node's http library
       now
    * Handle changes in mongoose package (use promises instead
      of callbacks)
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    146d6be View commit details
    Browse the repository at this point in the history
  2. Use OpenStreetMap for Map Tiling

    * Mapbox API key seems stale. Hoping to migrate
      to all open mapping data to remove need for
      API keys
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    7b551fb View commit details
    Browse the repository at this point in the history
  3. Migrate search form to nominatim library

    * Nominatim is free and uses OpenStreetMap data. Their
      use policy says as long as you have < 1 req/s you
      can use their public API. If usage were high it can
      be self-hosted. This gets rid of dependency
      on Google geocode API
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    009c0c6 View commit details
    Browse the repository at this point in the history
  4. Fix mongoose issues caused by upgrade

    * Commit 6ff1def attempted to upgrade the node
      and mongoose version, but left some issues behind
    * Mongoose library now uses promises, not callbacks. You
      must call .then() for actions like .save() to actually
      do anything
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    efd273e View commit details
    Browse the repository at this point in the history
  5. Remove email list signup

    * Dependency on mailchimp not desired here. Other
      forks could add an email list if they want
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    c7b7429 View commit details
    Browse the repository at this point in the history
  6. Template welcome message as a config

    * Begin to make the Chicago portions of the project
      generic, to allow custom messages and configuration
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    4889c69 View commit details
    Browse the repository at this point in the history
  7. Move all references to Chicago to config files

    * In an effort to make this generic for any city,
      move all references to 'chicago' to configurations,
      and move all static information to config folder
    * TODO: Decide how to handle wards - consider reworking
      with a more generic name, such as "district"? Need to
      remove Chicago references from wards page
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    06cba2c View commit details
    Browse the repository at this point in the history
  8. Remove ward functionality

    * Wards are a nice feature for Chicago, but Chicago
      has uniquely powerful aldermen. Also, the scripting
      required to maintain the ward functionality is a bit
      tedious
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    4dc195e View commit details
    Browse the repository at this point in the history
  9. Fixup unit tests

    * `npm test` does hang now, but at least the tests
      pass
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    f339d5a View commit details
    Browse the repository at this point in the history
  10. Make city center lat/lon configurable

    * Now the map will load in the right spot depending
      on config
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    98e46c3 View commit details
    Browse the repository at this point in the history
  11. Simplify configurations

    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    18c18e2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3089ca6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e5c23ce View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    49f7ab4 View commit details
    Browse the repository at this point in the history
  15. Fix bugs found in testing

    * If multiple address matches were found, the wrong property
      names were being used for lat/lon and full address name
    * I was filtering out things marked as 'place' on OpenStreetMap,
      which apparently includes some apartment buildings. For now,
      use 'place' and 'building'
    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    2020b1d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8966b44 View commit details
    Browse the repository at this point in the history
  17. Clarify port in README

    samc1213 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    615fb7a View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Configuration menu
    Copy the full SHA
    94f96c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e21125f View commit details
    Browse the repository at this point in the history
  3. Remove darwin docker build

    - Node doesn't have a DockerHub image for
      darwin, so just don't build for it for now
    samc1213 committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    35b3e08 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Update README.md

    Update to new url
    samc1213 authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    6e69f06 View commit details
    Browse the repository at this point in the history