analytics/lib/plausible_web/controllers
Vinicius Brasil 4a2e0af337
Override stats_start_date in CRM (#2310)
* Refactor Plausible.Sites.stats_start_date/1 function

This commit adds documentation, typespecs and better pattern matching to
the Plausible.Sites.stats_start_date/1 function.

* Use memoized stats_start_date instead of querying CH

* Prevent domain from being updated from CRM

* Add stats_start_date to CRM site form

This commit adds stats_start_date to CRM site form, and creates a
separate Ecto changeset for CRM changes.

* Alias Plausible.Site calls

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

* List all timezones in CRM form

* Require sites.public in CRM changeset

Co-authored-by: Adam Rutkowski <hq@mtod.org>
2022-10-06 08:08:22 -03:00
..
api Block Stats API for locked sites (#2302) 2022-10-04 15:34:45 +03:00
site Allow admins to grant admin rights (#2216) 2022-09-16 11:03:09 +03:00
auth_controller.ex Prevent sensitive information from being logged (#2300) 2022-10-04 10:46:01 +03:00
billing_controller.ex Redirect user after upgrading only when subscription is created (#2285) 2022-10-04 15:54:54 +03:00
helpers.ex Initial commit 2019-09-02 12:29:19 +01:00
invitation_controller.ex Allow admins to grant admin rights (#2216) 2022-09-16 11:03:09 +03:00
page_controller.ex Selhosted version Improvements and additional features (#209) 2020-07-21 09:58:00 +03:00
site_controller.ex Override stats_start_date in CRM (#2310) 2022-10-06 08:08:22 -03:00
stats_controller.ex Block Stats API for locked sites (#2302) 2022-10-04 15:34:45 +03:00
unsubscribe_controller.ex Add presence check when unsubscribing from email reports 2021-05-03 16:56:46 +03:00