analytics/config
ruslandoga 1a0cb52f95
Local CSV exports/imports and S3/UI updates (#3989)
* local CSV exports/imports and S3 updates

* credo

* dialyzer

* refactor input columns

* fix ci minio/clickhouse tests

* Update lib/plausible_web/live/csv_export.ex

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>

* fix date range filter in export_pages_q and process only pageviews

* remove toTimeZone(zero_timestamp) note

* use SiteImport.pending(), SiteImport.importing()

* escape [SiteImport.pending(), SiteImport.importing()]

* use random s3 keys for imports to avoid collisions (sometimes makes the upload get stuck)

* clamp import date ranges

* site is already in assigns

* recompute cutoff date each time

* use toDate(timestamp[, timezone]) shortcut

* show alreats on export cancel/delete and extract hint into a component

* switch to Imported.clamp_dates/4

* reprocess tables when imports are added

* recompute cutoff_date on each call

* actually use clamped_date_range on submit

* add warning message

* add expiry rules to buckets in make minio

* add site_id to imports notifications and use it in csv_importer

* try/catch safer

* return :ok

* date range is not available when no uploads

* improve ui and warning messages

* use Generic.notice

* fix flaky exports test

* begin tests

* Improve `Importer` notification payload shape

---------

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
2024-04-09 20:59:48 +02:00
..
.env.dev CSV imports (no UI) (#3895) 2024-03-19 12:06:47 +01:00
.env.test CSV imports (no UI) (#3895) 2024-03-19 12:06:47 +01:00
config.exs Update ua_inspector (#3957) 2024-04-04 17:20:57 +02:00
dev.exs Enable JSON log formatting (#3512) 2023-11-13 14:53:11 +01:00
prod.exs New config (#595) 2021-01-13 15:41:16 +02:00
runtime.exs Local CSV exports/imports and S3/UI updates (#3989) 2024-04-09 20:59:48 +02:00
small_dev.exs Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
small_test.exs Add small build option (#3536) 2023-11-20 12:52:20 +01:00
small.exs Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
test.exs Implement basics of GA4 import (#3851) 2024-03-12 18:08:25 +01:00