analytics/lib/plausible_web
Adrian Gruntkowski 5bf59d1d8a
Implement adjusting imported date range to actual and existing stats (#3943)
* Implement adjusting imported date range to actual and existing stats

* Drop redundant prefix from import list entries

* Make pageview numbers in imports list formatted for readability

* Test and improve date range cropping

* DRY UA and GA4 stats start and end date API calls

* Extend UA/GA import controller tests and improve error handling

* refactor finding longest open range without existing data

* Fix typo in test description

Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>

* Rename `open_ranges` to `free_ranges`

---------

Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>
2024-03-28 09:32:41 +01:00
..
components Use sessionStorage for "dashboard first launch" banner tracking (#3892) 2024-03-26 09:49:15 +01:00
controllers Implement adjusting imported date range to actual and existing stats (#3943) 2024-03-28 09:32:41 +01:00
live Implement adjusting imported date range to actual and existing stats (#3943) 2024-03-28 09:32:41 +01:00
mjml Small bugfix + refactor email reports (#3642) 2023-12-21 12:56:06 +00:00
plugins/api Plugins API: mark data_domain as nullable in capabilities schema (#3840) 2024-02-28 10:26:01 +01:00
plugs Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
templates Implement adjusting imported date range to actual and existing stats (#3943) 2024-03-28 09:32:41 +01:00
two_factor Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
views Reapply 3918 (#3940) 2024-03-25 10:36:22 +01:00
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 2022-10-17 08:16:59 -03:00
email.ex Add multiple imports per site (#3724) 2024-02-14 09:32:36 +01:00
endpoint.ex make robots.txt restrictive by default (#3905) 2024-03-19 12:07:30 +01:00
refinspector.ex Store referrers from android apps (#3715) 2024-03-21 17:45:34 +02:00
remote_ip.ex IP Block List (#3761) 2024-02-12 14:55:20 +01:00
router.ex CSV imports (UI) (#3845) 2024-03-26 12:55:14 +01:00