Skip to content
Permalink
Branch: master
Commits on Apr 20, 2019
  1. Merge pull request #725 from alphagov/add-postcode-sector-search

    pixeltrix committed Apr 20, 2019
    Add postcode sector search for signatures
  2. Add postcode sector search for signatures

    pixeltrix committed Apr 20, 2019
Commits on Apr 19, 2019
  1. Merge pull request #724 from alphagov/switch-to-chrome-headless

    pixeltrix committed Apr 19, 2019
    Switch to chrome headless
  2. Merge pull request #723 from alphagov/more-signature-metadata

    pixeltrix committed Apr 19, 2019
    Add additional data to the signature list
  3. Update Travis CI to use Ruby 2.2.10

    pixeltrix committed Apr 19, 2019
  4. Explicitly check to see whether response is open/closed

    pixeltrix committed Apr 19, 2019
    Capybara with chrome reports the contents of details elements to be
    visible when they are not expanded so change the expectations to be
    on the status of the <details open> attribute instead.
  5. Go to the admin home page after moderation scenarios

    pixeltrix committed Apr 19, 2019
    The scenarios running in chrome headless are failing without
    explanation when finishing on the moderation page - possibly
    due to a javascript error with the edit lock. Workaround the
    issue by returning to the admin home page as a final step.
  6. Merge pull request #712 from alphagov/use-historical-count-window

    pixeltrix committed Apr 19, 2019
    Use a historical time window for updating signature counts
  7. Add a badge for the creator signature

    pixeltrix committed Apr 19, 2019
    It's possible to infer this from the buttons on the right but
    it's better to be explicit with a visual indicator.
  8. Allow resetting a signature count with counting enabled

    pixeltrix committed Apr 19, 2019
    Having to stop the signature counts being updated whilst a petition
    is having its signature count reset is big limitation when a problem
    occurs that requires many petitions to be reset. By allowing the
    signature count update job to skip those petitions being reset we
    can remove the limitation and not have to rush to complete them.
  9. Use a historical time window for updating signature counts

    pixeltrix committed Apr 4, 2019
    Since the timestamps are coming from ruby they're subject to drift
    meaning that some signatures will be inserted with a validated_at
    timestamp in an out of order fashion. By setting the window to look
    at the previous window hopefully any such signatures will have all
    been committed by then and if they haven't it's likely the database
    is in flames anyway and we'll need to re-sync the counts.
  10. Merge pull request #722 from alphagov/refactor-form-tracking

    pixeltrix committed Apr 19, 2019
    Refactor form tracking to use the session
Commits on Apr 18, 2019
  1. Refactor form tracking to use the session

    pixeltrix committed Apr 18, 2019
    Unfortunately Google Chrome re-requests the page when clicking the
    back button so that resets the form requested at time giving a false
    reading of how long it took to fill out the form.
Commits on Apr 17, 2019
  1. The ip address are in reverse order when filtered

    pixeltrix committed Apr 17, 2019
    :facepalm:
  2. Replace hardcoded ip ranges with something more flexible

    pixeltrix committed Apr 17, 2019
    If the request comes from CloudFront we can safely remove the first
    public ip address from the right of the forwarded ips since that's
    the address of the server.
  3. Convert strings to IPAddr objects

    pixeltrix committed Apr 17, 2019
    The RemoteIp middleware doesn't do this automatically so will just
    do a string comparison and return the first ip in the list.
  4. Add CloudFront IPs to RemoteIp configuration

    pixeltrix committed Apr 17, 2019
    TODO: Make this dynamic
Commits on Apr 16, 2019
  1. Finish renaming trending ip config to trending items

    pixeltrix committed Apr 16, 2019
Commits on Apr 15, 2019
  1. Only generate form tokens on new records

    pixeltrix committed Apr 15, 2019
  2. Drop trending ip columns

    pixeltrix committed Apr 15, 2019
  3. Create new config columns and remove aliases

    pixeltrix committed Apr 15, 2019
Commits on Apr 14, 2019
  1. Load tracker image on email confirmation page too

    pixeltrix committed Apr 14, 2019
    If a mobile browser is evicted from memory it loses it's session
    cookies so embed the tracker image on the email confirmation form to
    set the tracker cookie again on the form being resubmitted.
  2. Merge pull request #721 from alphagov/track-form-pause

    pixeltrix committed Apr 14, 2019
    Track how long someone takes to fill in the signature form
  3. Track how long someone takes to fill in the signature form

    pixeltrix committed Apr 14, 2019
    This helps to determine whether it's a bot or a human.
Commits on Apr 13, 2019
  1. Merge pull request #720 from alphagov/reduce-unnecessary-requests

    pixeltrix committed Apr 13, 2019
    Cache manifest.json and browserconfig.xml
  2. Cache manifest.json and browserconfig.xml

    pixeltrix committed Apr 13, 2019
    These files hardly ever change and they're currently set to be private.
  3. Don't show duplicate log entries

    pixeltrix committed Apr 13, 2019
    If the time windows overlap and are from a single ip address just make
    a single request. Also order by the log timestamp rather than relying
    on CloudWatch for ordering so entries are in the correct order.
  4. Merge pull request #719 from alphagov/add-nginx-logs-fetching

    pixeltrix committed Apr 13, 2019
    Add the ability to fetch nginx access logs from CloudWatch
  5. Add the ability to fetch nginx access logs from CloudWatch

    pixeltrix committed Apr 13, 2019
Commits on Apr 12, 2019
  1. Fix bug with tags on unmoderated petitions

    pixeltrix committed Apr 12, 2019
Older
You can’t perform that action at this time.