analytics/test/plausible_web
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
..
components/billing update runtime to elixir-1.17.1 and erlang-27.0 (#4255) 2024-06-24 13:22:33 +02:00
controllers Refactor Sites and Stats API authorization logic (#4297) 2024-07-02 15:09:23 +02:00
live Count pending ownership sites towards account usage on the upgrade page (#4277) 2024-06-27 12:09:15 +03:00
plugins/api Fix CE Stats API access (#4244) 2024-06-20 09:32:21 +02:00
plugs Refactor Sites and Stats API authorization logic (#4297) 2024-07-02 15:09:23 +02:00
views Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
captcha_test.exs Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
email_test.exs Rename internal build symbols (#3942) 2024-04-29 08:05:33 +02:00