You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible
hq1 0007c0c108
Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396)
* Remove "Context" namespace level

* Change Goal string representation

* Alias Schemas in Plugin API Test Case template

* Update schema & tests for SharedLink resource

* Update Goals interface

- make it possible to create revenue goals
- extract "for site" query to a standalone function

* Fixup typespecs

* Alias Errors module in OpenAPI controllers

* Add missing goals test

* Implement Goals Plugins API resource

* Add extra test to confirm changeset error propagation

* Mute credo

* Fix typos

* Handle changeset traversal in `Errors`

* Use upserts in `Goals.find_or_create`

* Extract touch_site! to Site.Cache, address credo, improve code docs

* Apply formatting

* Remove unused inner join

* Update test/plausible_web/plugins/api/controllers/goals_test.exs

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

* Update test/plausible_web/plugins/api/controllers/goals_test.exs

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

* Update test/plausible_web/plugins/api/controllers/goals_test.exs

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

* Update test/plausible_web/plugins/api/controllers/goals_test.exs

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

* Update test/plausible_web/plugins/api/controllers/goals_test.exs

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

* Update error message on revenue goal currency clash

* Remove unused code

---------

Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
3 years ago
..
auth Ensure that `User.password_strength/1` always returns a value (#3389) 3 years ago
billing Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
data_migration Data Migration: rewrite funnels that contain duplicate goals (#3361) 3 years ago
event Clean up after V2 migration (#2868) 4 years ago
funnel Implement backend core for funnels (#3023) 3 years ago
goal Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
google use ecto_ch (#2890) 4 years ago
helpers improve transfer ownership error message (#2651) 4 years ago
imported Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
ingestion Actually ignore unkown device type (#3267) 3 years ago
plugins/api Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
sentry Use finch in sentry client (#1996) 4 years ago
session Clean up after V2 migration (#2868) 4 years ago
site Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
stats Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
telemetry Gatekeep ingestion pipeline (#2472) 4 years ago
application.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
async_insert_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
cldr.ex Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
clickhouse_event_v2.ex Revenue tracking: Ingestion and breakdown queries (#2957) 3 years ago
clickhouse_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
clickhouse_session_v2.ex use ecto_ch (#2890) 4 years ago
data_migration.ex Make self-hosted data migration easier (#2865) 4 years ago
debug_replay_info.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
funnel.ex Bump funnel max size to 8 steps (#3094) 3 years ago
funnels.ex Data Migration: rewrite funnels that contain duplicate goals (#3361) 3 years ago
geo.ex Stop logging invalid_address errors from Locus (#2604) 4 years ago
goals.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
http_client.ex Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
import_deletion_repo.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
ingest_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
mailer.ex Fix and refactor invitation logic (#3376) 3 years ago
open_telemetry.ex Remove ingestion requests and Oban queries from OTEL (#2543) 4 years ago
prom_ex.ex Add extra error info + telemetry for AsyncInsertRepo (#2708) 4 years ago
props.ex Remove Props FF (#3242) 3 years ago
purge.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
repo.ex Pagination for sites listing (#994) 6 years ago
site.ex Improve domain cleanup on site creation (#3393) 3 years ago
sites.ex Fix and refactor invitation logic (#3376) 3 years ago
stats.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
themes.ex Adds dark mode to entire dashboard (#467) 6 years ago
timezones.ex Fix timezone list when time changes (#2268) 4 years ago
users.ex [pg migration] Delete account with multiple subscriptions (#3220) 3 years ago