You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/plugs
hq1 19b2239eb9
Track tokens usage (#3438)
* Migration: track last seen usage for Plugins API Tokens

* Track and interpret Token.last_seen_at

* Display last used

* Order tokens by inserted date, rather than UUID :clown:

* s/Last seen/Last used in the UI

* Test for "Last used" column presence

* Fix table layout for very long descriptions

* Update lib/plausible/plugins/api/tokens.ex

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>

* Update lib/plausible/plugins/api/token.ex

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>

* Update test/plausible/plugins/api/token_test.exs

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>

* s/last_seen_at/last_used_at

* Update lib/plausible_web/live/plugins/api/settings.ex

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>

* fixup

* Document reasoning behind 5m windows

* s/last_seen/last_used

* Mute credo

---------

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
3 years ago
..
auth_plug_test.exs Run tests in async mode where applicable (#2542) 4 years ago
authorise_site_access_test.exs Google APIs integration improvements (#2358) 4 years ago
authorize_plugins_api_test.exs Track tokens usage (#3438) 3 years ago
favicon_test.exs Escape domain when creating URL for favicon (#2942) 4 years ago
first_launch_plug_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
no_robots_test.exs Prevent robots from looking too much into public dashboards (#3118) 3 years ago
session_timeout_plug_test.exs Formatting only changes - No code change (#75) 7 years ago
tracker_test.exs Run tests in async mode where applicable (#2542) 4 years ago