Permalink
Commits on Jun 16, 2018
  1. Add .gitignore

    horgh committed Jun 16, 2018
  2. Limit how much of a description we display

    horgh committed Jun 16, 2018
    Previously we'd show everything. Some feeds have entire posts which can
    be quite long and causes too much scrolling.
    
    This also simplifies sanitiseItemText() to no longer return an error as
    it is not necessary.
  3. Do not create 0 length slice

    horgh committed Jun 16, 2018
  4. Remove unnecessary struct names

    horgh committed Jun 16, 2018
Commits on Feb 25, 2018
  1. Don't allow overflowing item text

    horgh committed Feb 25, 2018
    This was mainly a problem on mobile with long strings/links where we'd
    see them extend beyond their container and mess up the viewport.
  2. Remove some dead CSS

    horgh committed Feb 25, 2018
  3. Limit width on larger screens

    horgh committed Feb 25, 2018
  4. Add a link to mark everything on the page read

    horgh committed Feb 25, 2018
    Since normally I want almost everything read anyway, this is handy.
  5. Rework how we maintain read/archive flags in JS

    horgh committed Feb 25, 2018
    This simplifies things a bit as we no longer need to create/delete
    elements or change their attributes. Instead, we always create the
    elements and only toggle their disabled status and classes.
  6. No longer show how many items flagged read/archive on save button

    horgh committed Feb 25, 2018
    This is not very useful
  7. Simplify a comment slightly

    horgh committed Feb 25, 2018
Commits on Jun 4, 2017
  1. Fix tests

    horgh committed Jun 4, 2017
    They broke when I switched to checking link first
  2. Check whether recorded by link first and log if GUID says item exists

    horgh committed Jun 4, 2017
    Mainly because I have been relying on link all this time, and using GUID
    is something new. This is so I can know about items not being recorded
    due to GUID and spot check them.
  3. Add back checkmark to each item

    horgh committed Jun 4, 2017
    This makes checking an item driven by keyboard possible (using something
    like vimperator).
  4. Update schema to include all upgrade files

    horgh committed Jun 4, 2017
    I compared the schema generated by using this schema to the production
    one.
  5. Rely on both link and GUID to know whether an item is recorded

    horgh committed Jun 4, 2017
    This also partially removes use of the archive table. It was getting to
    be a mess.
  6. Add unique index using guid

    horgh committed Jun 4, 2017
    Based on looking at the guids in a few feeds these are definitely not
    globally unique.
  7. Update items without GUID as part of migration to having that

    horgh committed Jun 4, 2017
    Since items polled prior to having GUID did not have it stored, we'd
    always think the items weren't recorded yet. To account for this, look
    up by the item's link and update the GUID.
Commits on Jun 3, 2017
  1. Use the last_update_time column to know whether a feed has been polled

    horgh committed Jun 3, 2017
    This means we can know that even if we delete items.
    
    Also, take into account the rss_item_archive table when finding the cut
    off time. If a feed had all of its items archived we'd not find a cut
    off time.
  2. Use GUID in deciding whether to record an item

    horgh committed Jun 3, 2017
    I check now for whether an item has a GUID. If it does, rely on that
    rather than heuristics with publication date.
    
    I encountered a feed with an item that was missed due to the cut off
    date logic. While not all feeds have GUIDs, this one did, so if this
    GUID logic was in place we'd include it.
    
    As this meant that publication dates get ignored when a feed uses GUIDs,
    I've reworked what happens on a feed's first poll. I don't want to mass
    import unread items in that case. So now we look for whether it is the
    feed's first poll, and if so, record all of the items but set them read.
    Subsequent polls will be as usual.
  3. Add GUID column to items

    horgh committed Jun 3, 2017
    This isn't yet populated by the poller
Commits on May 28, 2017
  1. Add package gorse

    horgh committed May 28, 2017
    This has shared functionality between the two programs.
  2. Add option to feeds to be archive only

    horgh committed May 28, 2017
    This is a per feed toggle. When enabled, the feed's items go directly to
    the read state rather than going into the unread queue. I want this
    because there are feeds I want to be able to go look back on but not
    typically look at.
Commits on May 27, 2017
Commits on May 22, 2017
  1. Always report when we do not record an item due to the date cutoff

    horgh committed May 22, 2017
    I am concerned there are items being missed. This will notify me about
    it. Then I can come up with a solution!
  2. Store last feed payload when we poll feed

    horgh committed May 22, 2017
    This is so I have a data set to examine of raw feeds.