analytics/lib/plausible_web
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
..
controllers Override stats_start_date in CRM (#2310) 2022-10-06 08:08:22 -03:00
plugs Allow super-admin Stats API access for locked sites (#2308) 2022-10-05 12:04:37 +02:00
templates Redirect user after upgrading only when subscription is created (#2285) 2022-10-04 15:54:54 +03:00
views International Domain Names (IDN) Support (#2034) 2022-09-28 10:42:15 +03:00
captcha.ex Fix improper pattern matching on Finch responses (#2181) 2022-09-06 21:27:25 +02:00
email.ex Manually lock outgrown enterprise accounts (#2197) 2022-09-20 11:46:28 +03:00
endpoint.ex Remove redundant logger from Plug (#2303) 2022-10-04 09:09:08 -03:00
refinspector.ex [Continued] Google Analytics import (#1753) 2022-03-10 15:04:59 -06:00
remote_ip.ex Parse bunny header 2022-01-15 08:57:25 -06:00
router.ex Redirect user after upgrading only when subscription is created (#2285) 2022-10-04 15:54:54 +03:00