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_web
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
..
components Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
controllers Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
live Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
mjml Update weekly_report.mjml.eex (#3313) 3 years ago
plugins Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
plugs Implement Plugins API authorization (#3373) 3 years ago
templates Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
views Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 4 years ago
email.ex Apply unified capitalization to buttons and titles (#3321) 3 years ago
endpoint.ex Revert "Revert "Reconfigure session cookie (#3274)" (#3284)" (#3285) 3 years ago
live_socket.ex Revert "Revert "Reconfigure session cookie (#3274)" (#3284)" (#3285) 3 years ago
refinspector.ex [Continued] Google Analytics import (#1753) 5 years ago
remote_ip.ex Parse bunny header 5 years ago
router.ex Use Phoenix LiveView for the upgrade page (#3382) 3 years ago