Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@
{Credo.Check.Refactor.Apply, []},
{Credo.Check.Refactor.CondStatements, []},
{Credo.Check.Refactor.CyclomaticComplexity, false},
{Credo.Check.Refactor.FilterCount, []},
{Credo.Check.Refactor.FilterFilter, []},
{Credo.Check.Refactor.MatchInCondition, []},
{Credo.Check.Refactor.RedundantWithClauseResult, []},
{Credo.Check.Refactor.RejectReject, []},
{Credo.Check.Refactor.FunctionArity, []},
{Credo.Check.Refactor.LongQuoteBlocks, []},
{Credo.Check.Refactor.MatchInCondition, []},
Expand All @@ -133,6 +138,7 @@
#
## Warnings
#
{Credo.Check.Warning.Dbg, []},
{Credo.Check.Warning.ApplicationConfigInModuleAttribute, []},
{Credo.Check.Warning.BoolOperationOnSameValues, []},
{Credo.Check.Warning.ExpensiveEmptyEnumCheck, []},
Expand Down
2 changes: 1 addition & 1 deletion extra/lib/plausible_web/plugins/api/controllers/funnels.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.Funnels do
use PlausibleWeb, :plugins_api_controller

operation(:create,
id: "Funnel.GetOrCreate",
operation_id: "Funnel.GetOrCreate",
summary: "Get or create Funnel",
request_body: {"Funnel params", "application/json", Schemas.Funnel.CreateRequest},
responses: %{
Expand Down
4 changes: 2 additions & 2 deletions lib/plausible_web/plugins/api/controllers/custom_props.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.CustomProps do
use PlausibleWeb, :plugins_api_controller

operation(:enable,
id: "CustomProp.GetOrEnable",
operation_id: "CustomProp.GetOrEnable",
summary: "Get or enable CustomProp(s)",
request_body:
{"CustomProp enable params", "application/json", Schemas.CustomProp.EnableRequest},
Expand Down Expand Up @@ -50,7 +50,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.CustomProps do
end

operation(:disable,
id: "CustomProp.DisableBulk",
operation_id: "CustomProp.DisableBulk",
summary: "Disable CustomProp(s)",
request_body:
{"CustomProp disable params", "application/json", Schemas.CustomProp.DisableRequest},
Expand Down
4 changes: 2 additions & 2 deletions lib/plausible_web/plugins/api/controllers/goals.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.Goals do
use PlausibleWeb, :plugins_api_controller

operation(:create,
id: "Goal.GetOrCreate",
operation_id: "Goal.GetOrCreate",
summary: "Get or create Goal",
request_body: {"Goal params", "application/json", Schemas.Goal.CreateRequest},
responses: %{
Expand Down Expand Up @@ -141,7 +141,7 @@ defmodule PlausibleWeb.Plugins.API.Controllers.Goals do
end

operation(:delete_bulk,
id: "Goal.DeleteBulk",
operation_id: "Goal.DeleteBulk",
summary: "Delete Goals in bulk",
request_body: {"Goal params", "application/json", Schemas.Goal.DeleteBulkRequest},
responses: %{
Expand Down
40 changes: 20 additions & 20 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,24 @@ defmodule Plausible.MixProject do
{:bamboo_mua, "~> 0.2.0"},
{:bcrypt_elixir, "~> 3.3"},
{:bypass, "~> 2.1", only: [:dev, :test, :ce_test]},
{:ecto_ch, "~> 0.7.1"},
{:ecto_ch, "~> 0.8.2"},
{:cloak, "~> 1.1"},
{:cloak_ecto, "~> 1.2"},
{:combination, "~> 0.0.3"},
{:cors_plug, "~> 3.0"},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:double, "~> 0.8.0", only: [:dev, :test, :ce_test, :ce_dev]},
{:ecto, "~> 3.13.2"},
{:ecto, "~> 3.13.5"},
{:ecto_sql, "~> 3.13.2"},
{:envy, "~> 1.1.1"},
{:eqrcode, "~> 0.2.1"},
{:ex_machina, "~> 2.3", only: [:dev, :test, :ce_dev, :ce_test]},
{:excoveralls, "~> 0.10", only: :test},
{:finch, "~> 0.19.0"},
{:finch, "~> 0.20.0"},
{:floki, "~> 0.36"},
{:lazy_html, "~> 0.1.8"},
{:fun_with_flags, "~> 1.11.0"},
{:fun_with_flags, "~> 1.13.0"},
{:fun_with_flags_ui, "~> 1.0"},
{:locus, "~> 2.3"},
{:gen_cycle, "~> 1.0.4"},
Expand All @@ -97,33 +97,33 @@ defmodule Plausible.MixProject do
{:mox, "~> 1.0", only: [:test, :ce_test]},
{:nanoid, "~> 2.1.0"},
{:nimble_totp, "~> 1.0"},
{:oban, "~> 2.19.1"},
{:oban, "~> 2.20.1"},
Copy link
Member Author

@aerosol aerosol Dec 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's supposed to be migration for new discarded states indexing, trying to locate any details

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

migration adds indexes only, so due to our CI limitations, we'll run it after this is merged

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{:observer_cli, "~> 1.7"},
{:opentelemetry, "~> 1.1"},
{:opentelemetry_api, "~> 1.1"},
{:opentelemetry_ecto, "~> 1.1.0"},
{:opentelemetry_exporter, "~> 1.6.0"},
{:opentelemetry_phoenix, "~> 1.0"},
{:opentelemetry_oban, "~> 1.1.1"},
{:phoenix, "~> 1.8.0"},
{:phoenix, "~> 1.8.2"},
{:phoenix_view, "~> 2.0"},
{:phoenix_ecto, "~> 4.5"},
{:phoenix_html, "~> 4.1"},
{:phoenix_live_reload, "~> 1.2", only: [:dev, :ce_dev]},
{:phoenix_pubsub, "~> 2.0"},
{:phoenix_live_view, "~> 1.1"},
{:phoenix_live_view, "~> 1.1.17"},
{:php_serializer, "~> 2.0"},
{:plug, "~> 1.13", override: true},
{:prima, "~> 0.2.1"},
{:plug_cowboy, "~> 2.3"},
{:polymorphic_embed, "~> 5.0"},
{:postgrex, "~> 0.19.0"},
{:postgrex, "~> 0.21.1"},
{:prom_ex, "~> 1.8"},
{:peep, "~> 3.4"},
{:peep, "~> 3.0"},
{:public_suffix, git: "https://github.com/axelson/publicsuffix-elixir"},
{:ref_inspector, "~> 2.0"},
{:referrer_blocklist, git: "https://github.com/plausible/referrer-blocklist.git"},
{:sentry, "~> 10.8.1"},
{:sentry, "~> 11.0.4"},
{:simple_saml, "~> 1.2"},
{:xml_builder, "~> 2.1"},
{:siphash, "~> 3.2"},
Expand All @@ -132,28 +132,28 @@ defmodule Plausible.MixProject do
git: "https://github.com/plausible/ua_inspector.git", branch: "sanitize-pre"},
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
{:ex_money, "~> 5.12"},
{:mjml_eex, "~> 0.11.0"},
{:mjml, "~> 3.1.0"},
{:mjml_eex, "~> 0.12.0"},
{:mjml, "~> 4.0.0"},
{:heroicons, "~> 0.5.0"},
{:zxcvbn, git: "https://github.com/techgaun/zxcvbn-elixir.git"},
{:open_api_spex, "~> 3.18"},
{:open_api_spex, "~> 3.22.1"},
{:joken, "~> 2.5"},
{:paginator, git: "https://github.com/duffelhq/paginator.git"},
{:scrivener_ecto, "~> 2.0"},
{:scrivener_ecto, "~> 3.1"},
{:esbuild, "~> 0.7", runtime: Mix.env() in [:dev, :ce_dev]},
{:tailwind, "~> 0.4.0", runtime: Mix.env() in [:dev, :ce_dev]},
{:ex_json_logger, "~> 1.4.0"},
{:ecto_network, "~> 1.5.0"},
{:ecto_network, "~> 1.6.0"},
{:ex_aws, "~> 2.5"},
{:ex_aws_s3, "~> 2.5"},
{:sweet_xml, "~> 0.7.4"},
{:zstream, "~> 0.6.4"},
{:con_cache,
git: "https://github.com/aerosol/con_cache", branch: "ensure-dirty-ops-emit-telemetry"},
{:req, "~> 0.5.0"},
{:req, "~> 0.5.16"},
{:happy_tcp, github: "ruslandoga/happy_tcp", only: [:ce, :ce_dev, :ce_test]},
{:ex_json_schema, "~> 0.10.2"},
{:odgn_json_pointer, "~> 3.0.1"},
{:ex_json_schema, "~> 0.11.1"},
{:odgn_json_pointer, "~> 3.1.0"},
{:phoenix_bakery, "~> 0.1.2", only: [:ce, :ce_dev, :ce_test]},
{:site_encrypt, github: "sasa1977/site_encrypt", only: [:ce, :ce_dev, :ce_test]},
{:phoenix_storybook, "~> 0.9"},
Expand Down
Loading
Loading