analytics/test/plausible_web/plugs
Artur Pata cac4ad20c9
Allow configuring AuthorizeSiteAccess plug site param (#4597)
* Stop typescript command clearing previous server start output in dev

* Allow auth site access plug to specify that domain is found in request body at some key

* Fix init order

* Make domain retrieval part of the role pipeline

* Add tests

* Refactor how is_binary is applied in get_domain/2

* Make plug tests rely on dedicated test routes for more stability

* Consistently treat empty `allowed_roles` list as permitting all roles

* Fix async test param, add extra case for init

* Make `DocsQueryTest` async again

* Improve a bit and document plug configuration

* Make docs more legible when viewed from source directly

---------

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
2024-09-26 09:52:45 +00:00
..
auth_plug_test.exs Implement token-based sessions (#4463) 2024-09-03 11:34:37 +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
authorize_site_access_test.exs Allow configuring AuthorizeSiteAccess plug site param (#4597) 2024-09-26 09:52:45 +00: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
tracker_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00
user_session_touch_test.exs Remove support for legacy user sessions (#4540) 2024-09-17 07:31:41 +00:00