Permalink
Switch branches/tags
Nothing to show
Commits on Jul 13, 2018
  1. Update npm packages to latest

    lovett committed Jul 13, 2018
    Drop string package due to security advisory and lack of usage.
Commits on Jul 6, 2018
  1. Update npm packages to latest

    lovett committed Jul 6, 2018
Commits on Jun 29, 2018
  1. Upgrade npm packages

    lovett committed Jun 29, 2018
Commits on Jun 22, 2018
  1. Upgrade npm packages

    lovett committed Jun 22, 2018
Commits on Jun 19, 2018
  1. Drop feed list route and listener

    lovett committed Jun 19, 2018
    This was a way of viewing all feeds in the database, as opposed to all
    subscribed feeds for a specific user. Discarding due to lack of need.
  2. More test refactoring

    lovett committed Jun 19, 2018
  3. Upgrade dispatcher tests

    lovett committed Jun 19, 2018
Commits on Jun 18, 2018
  1. Rework feed filtering

    lovett committed Jun 18, 2018
  2. Mark feeds as abandoned if fetching fails

    lovett committed Jun 18, 2018
    If a feed cannot be successfully requested or does not contain
    entries, exclude it from further checking.
Commits on Jun 15, 2018
  1. Separate server startup and schema creation

    lovett committed Jun 15, 2018
    Use a dedicated event to define the SQL schema rather than a
    multi-line string within the startup handler. This has the benefit of
    regaining SQL syntax highlighting within the schema files, and makes
    it possible to have a versioning system for updates over time.
  2. Use database-centric field names during feed:update

    lovett committed Jun 15, 2018
    Standardize these calls across all fetchers, and in the default
    fetcher make sure the meta event listener is attached to the parser
    instance rather than the stream.
  3. Drop samples.http file

    lovett committed Jun 15, 2018
    This was used with Emacs' restclient mode, but proved to be annoying.
  4. Update discussion counts separately from storage

    lovett committed Jun 15, 2018
    For the benefit of StackExchange feeds, add a new event triggered
    during fetch so that an API call can fetch additional information not
    available in the feed. Also adjust the discussion table's schema,
    renaming the tally field.
Commits on Jun 14, 2018
  1. Don't use the StackExchange API during feed fetching

    lovett committed Jun 14, 2018
    Although the API reveals whether a question has answers or discussion,
    it is awkward to account for site metadata that would otherwise
    be straightforward to parse from the feed. The usage is overly
    specific, and would create problems if anything other than a question
    feed was being fetched.
  2. Ignore static dir

    lovett committed Jun 14, 2018
Commits on Jun 13, 2018
  1. Rename history table to fetchStats

    lovett committed Jun 13, 2018
    Use a dedicated table for tracking fetch results over time, limited
    via database trigger to 90 days.
  2. Discard feedfetcher and scheduler

    lovett committed Jun 13, 2018
    These were part of the first version of the project. They were
    separate processes responsible for fetching feeds and scheduling
    future fetches. These tasks are now handled within the dispatcher.
  3. Restore feed discussion storage

    lovett committed Jun 13, 2018
    Adjust the schema of the discussion table so that uniqueness is a
    composite key between entry ID and label. This way there isn't a need
    to normalize and store the URL as with entries.
Commits on Jun 12, 2018
  1. Refactor feed polling and entry storage

    lovett committed Jun 12, 2018
    Switch to the feedparser library for more convenient feed parsing and
    format normalization.
  2. Update dispatcher tests

    lovett committed Jun 12, 2018
    Prune tests that are no longer needed, deactivate ones that are
    pending further refactoring.
Commits on Jun 11, 2018
  1. Structure log messages as lists

    lovett committed Jun 11, 2018
    For simplicity, use plain lists rather than objects during logging.
    Also drop unnecessary log level listeners, as well as dedicated write
    listener.