analytics/test/plausible_web/plugs
Adrian Gruntkowski 790984e1ad
Refactor Sites and Stats API authorization logic (#4297)
* Refactor and unify auth plugs for Stats and Sites APIs

* Expose get site Sites API endpoint to all API keys

* Test the new plug

* Add test for endpoint with modified scope

* Fix typos

Co-authored-by: hq1 <hq@mtod.org>

* Rename plug for consistency (h/t @aerosol)

---------

Co-authored-by: hq1 <hq@mtod.org>
2024-07-02 15:09:23 +02:00
..
auth_plug_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00
authorise_site_access_test.exs Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
authorize_plugins_api_test.exs Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
authorize_public_api_test.exs Refactor Sites and Stats API authorization logic (#4297) 2024-07-02 15:09:23 +02:00
favicon_test.exs Escape domain when creating URL for favicon (#2942) 2023-05-19 13:26:13 +02:00
first_launch_plug_test.exs Rename internal build symbols (#3942) 2024-04-29 08:05:33 +02:00
no_robots_test.exs Prevent robots from looking too much into public dashboards (#3118) 2023-07-11 10:47:03 +02:00
session_timeout_plug_test.exs Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
tracker_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00