- viewport dimensions cookie now uses
SameSite: Strict
- Added counts of 4xx and 5xx responses to the session summary on the main page.
- Added color to 4xx and 5xx responses on the whistle details page.
- Added 3 new settings:
WHISTLE_AUTOLOG_REQUEST_METHOD
,WHISTLE_AUTOLOG_REQUEST_PATH
, andWHISTLE_AUTOLOG_RESPONSE_CODE
. These replace theWHISTLE_AUTO_LOG
setting. See README.rst for details.
- Added basic bot filtering. The chart and whistles should be almost all non-bot requests now.
- Added a minimum for the y-axis on the chart so you can really appreciate when a project takes off.
- The bot filtering relies on clients executing some JavaScript (sends a 'PING' request) which is then used to filter out sessions that don't have it. It seems bots don't generally execute the JavaScript. As a result, old sessions (those created before this update) will be hidden.
Updating packaging method. No functional change to app.
Silent mammoth whistle already ignores whistles from is_staff users. It now also removes the anonymous session whistles for users who eventually authenticate as an is_staff user.
Added missing dependency user-agents
to setup.cfg
Minor doco update. No functional changes.
I added a changelog! :-D
- WHISTLE_AUTO_LOG_REQUESTS setting renamed to WHISTLE_AUTO_LOG
- WHISTLE_AUTO_LOG now also logs the HTTP response code and reason
whistle.request()
andwhistle.response()
now accept values other than strings. They'll be cast to strings usingstr()
before saving.