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/test/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 Improve forms (#3380) 3 years ago
billing Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
data_migration Enforce goals unique (#3343) 3 years ago
google Run tests in async mode where applicable (#2542) 4 years ago
imported Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
ingestion derive jason encoder for request (#3182) 3 years ago
plugins/api OpenAPI: first pass on Plugins API - Shared Links (#3378) 3 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 Disallow small intervals on large ranges (#3245) 3 years ago
config_test.exs add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
debug_replay_info_test.exs Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
funnels_test.exs Increase sampling test delta to reduce flakyness 3 years ago
goals_test.exs Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
http_client_test.exs Google APIs integration improvements (#2358) 4 years ago
mailer_test.exs add MAILER_NAME (#2937) 4 years ago
props_test.exs Remove allowed props list from dashboard data attribute (#3230) 3 years ago
purge_test.exs Keep track of native stats start timestamp when retrieving data (#2715) 4 years ago
release_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
sentry_filter_test.exs derive jason encoder for request (#3182) 3 years ago
timezones_test.exs Fix timezone list when time changes (#2268) 4 years ago