diff --git a/.build b/.build
index c6d23ff6f..2bc4d8423 100644
--- a/.build
+++ b/.build
@@ -164,6 +164,7 @@ Plausible.TestUtils.html
Plausible.Themes.html
Plausible.Timezones.html
Plausible.Users.html
+Plausible.Workers.AcceptTrafficUntil.html
Plausible.Workers.CheckUsage.html
Plausible.Workers.CleanInvitations.html
Plausible.Workers.ExpireDomainChangeTransitions.html
@@ -334,8 +335,8 @@ dist/merriweather-latin-ext-300-normal-K6L27CZ5.woff2
dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2
dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2
dist/remixicon-NKANDIL5.woff2
-dist/search_data-6A405325.js
-dist/sidebar_items-10305333.js
+dist/search_data-E6AA81AD.js
+dist/sidebar_items-C3FF577E.js
index.html
readme.html
search.html
diff --git a/404.html b/404.html
index ca152f124..c9d45b190 100644
--- a/404.html
+++ b/404.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.CancelSubscription.html b/Mix.Tasks.CancelSubscription.html
index 03ad026ac..bfedd2c1c 100644
--- a/Mix.Tasks.CancelSubscription.html
+++ b/Mix.Tasks.CancelSubscription.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.CleanClickhouse.html b/Mix.Tasks.CleanClickhouse.html
index ad12b5f8e..6bb3f93bd 100644
--- a/Mix.Tasks.CleanClickhouse.html
+++ b/Mix.Tasks.CleanClickhouse.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.CreateFreeSubscription.html b/Mix.Tasks.CreateFreeSubscription.html
index 9c25f8463..3dfa86388 100644
--- a/Mix.Tasks.CreateFreeSubscription.html
+++ b/Mix.Tasks.CreateFreeSubscription.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.DownloadCountryDatabase.html b/Mix.Tasks.DownloadCountryDatabase.html
index e788730cb..129173608 100644
--- a/Mix.Tasks.DownloadCountryDatabase.html
+++ b/Mix.Tasks.DownloadCountryDatabase.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.GenerateReferrerFavicons.html b/Mix.Tasks.GenerateReferrerFavicons.html
index 07c7533ac..9d997898b 100644
--- a/Mix.Tasks.GenerateReferrerFavicons.html
+++ b/Mix.Tasks.GenerateReferrerFavicons.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.PullSandboxSubscription.html b/Mix.Tasks.PullSandboxSubscription.html
index 9bb83dbeb..236451141 100644
--- a/Mix.Tasks.PullSandboxSubscription.html
+++ b/Mix.Tasks.PullSandboxSubscription.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Mix.Tasks.SendPageview.html b/Mix.Tasks.SendPageview.html
index 27f6ca6e1..0450d7e7c 100644
--- a/Mix.Tasks.SendPageview.html
+++ b/Mix.Tasks.SendPageview.html
@@ -13,7 +13,7 @@
-
+
diff --git a/ObanErrorReporter.html b/ObanErrorReporter.html
index 84ca1ac85..77ab25c16 100644
--- a/ObanErrorReporter.html
+++ b/ObanErrorReporter.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.AsyncInsertRepo.html b/Plausible.AsyncInsertRepo.html
index e19eab2de..b923cab9c 100644
--- a/Plausible.AsyncInsertRepo.html
+++ b/Plausible.AsyncInsertRepo.html
@@ -13,7 +13,7 @@
-
+
@@ -1114,23 +1114,23 @@ pool to disconnect within the given interval.
See
-Similar to insert_all/2 but with the following differences:
- accepts rows as streams or lists
- sends rows as a chunked request
- doesn't autogenerate ids or does any other preprocessing
Example:
Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
+Similar to insert_all/2 but with the following differences:
- accepts rows as streams or lists
- sends rows as a chunked request
- doesn't autogenerate ids or does any other preprocessing
Example:
Repo.query!("create table ecto_ch_demo(a UInt64, b String) engine Null")
-defmodule Demo do
+defmodule Demo do
use Ecto.Schema
@primary_key false
- schema "ecto_ch_demo" do
+ schema "ecto_ch_demo" do
field :a, Ch, type: "UInt64"
field :b, :string
- end
-end
+ end
+end
-rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
-{100_000, nil} = Repo.insert_stream(Demo, rows)
+rows = Stream.map(1..100_000, fn i -> %{a: i, b: to_string(i)} end)
+{100_000, nil} = Repo.insert_stream(Demo, rows)
# schemaless
-{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
+{100_000, nil} = Repo.insert_stream("ecto_ch_demo", rows, types: [a: Ch.Types.u64(), b: :string])
diff --git a/Plausible.Auth.ApiKey.html b/Plausible.Auth.ApiKey.html
index 296a8d02b..23d9a3846 100644
--- a/Plausible.Auth.ApiKey.html
+++ b/Plausible.Auth.ApiKey.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.ApiKeyAdmin.html b/Plausible.Auth.ApiKeyAdmin.html
index 2cb7f852f..0f9af32d5 100644
--- a/Plausible.Auth.ApiKeyAdmin.html
+++ b/Plausible.Auth.ApiKeyAdmin.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.EmailActivationCode.html b/Plausible.Auth.EmailActivationCode.html
index 5bf33391f..85fc12ec9 100644
--- a/Plausible.Auth.EmailActivationCode.html
+++ b/Plausible.Auth.EmailActivationCode.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.EmailVerification.html b/Plausible.Auth.EmailVerification.html
index 3e2a5f87f..27944545f 100644
--- a/Plausible.Auth.EmailVerification.html
+++ b/Plausible.Auth.EmailVerification.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.GracePeriod.html b/Plausible.Auth.GracePeriod.html
index 42f39f53b..7d42002e4 100644
--- a/Plausible.Auth.GracePeriod.html
+++ b/Plausible.Auth.GracePeriod.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.Invitation.html b/Plausible.Auth.Invitation.html
index ab9fb405e..0017bbfdd 100644
--- a/Plausible.Auth.Invitation.html
+++ b/Plausible.Auth.Invitation.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.Password.html b/Plausible.Auth.Password.html
index a5a3ae443..cf13d0b77 100644
--- a/Plausible.Auth.Password.html
+++ b/Plausible.Auth.Password.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.TOTP.EncryptedBinary.html b/Plausible.Auth.TOTP.EncryptedBinary.html
index 63667070c..e3652ce5e 100644
--- a/Plausible.Auth.TOTP.EncryptedBinary.html
+++ b/Plausible.Auth.TOTP.EncryptedBinary.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.TOTP.RecoveryCode.html b/Plausible.Auth.TOTP.RecoveryCode.html
index 4efe0079a..041e1ef97 100644
--- a/Plausible.Auth.TOTP.RecoveryCode.html
+++ b/Plausible.Auth.TOTP.RecoveryCode.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.TOTP.Vault.html b/Plausible.Auth.TOTP.Vault.html
index e242536a6..3f637398c 100644
--- a/Plausible.Auth.TOTP.Vault.html
+++ b/Plausible.Auth.TOTP.Vault.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.TOTP.html b/Plausible.Auth.TOTP.html
index 7abc8dad8..af31cbf8d 100644
--- a/Plausible.Auth.TOTP.html
+++ b/Plausible.Auth.TOTP.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.Token.html b/Plausible.Auth.Token.html
index 793e941cd..455ac4743 100644
--- a/Plausible.Auth.Token.html
+++ b/Plausible.Auth.Token.html
@@ -13,7 +13,7 @@
-
+
diff --git a/Plausible.Auth.User.html b/Plausible.Auth.User.html
index 953118e4d..22fb5fef9 100644
--- a/Plausible.Auth.User.html
+++ b/Plausible.Auth.User.html
@@ -13,7 +13,7 @@
-
+
@@ -236,6 +236,22 @@ Plausible
+
+
+
+
@@ -272,6 +288,7 @@ Types
@type t() :: %Plausible.Auth.User{
__meta__: term(),
+ accept_traffic_until: term(),
allow_next_upgrade_override: term(),
api_keys: term(),
email: term(),
@@ -325,7 +342,7 @@ Functions
cancel_email_changeset(user)
-
+
View Source
@@ -349,7 +366,7 @@ Functions
changeset(user, attrs \\ %{})
-
+
View Source
@@ -373,7 +390,7 @@ Functions
email_changeset(user, attrs \\ %{})
-
+
View Source
@@ -395,7 +412,7 @@ Functions
end_trial(user)
-
+
View Source
@@ -417,7 +434,7 @@ Functions
hash_password(changeset)
-
+
View Source
@@ -441,7 +458,7 @@ Functions
new(attrs \\ %{})
-
+
View Source
@@ -463,7 +480,7 @@ Functions
password_strength(changeset)
-
+
View Source
@@ -485,7 +502,7 @@ Functions
profile_img_url(user)
-
+
View Source
@@ -507,7 +524,7 @@ Functions
remove_trial_expiry(user)
-
+
View Source
@@ -529,7 +546,7 @@ Functions
set_password(user, password)
-
+
View Source
@@ -553,7 +570,7 @@ Functions
settings_changeset(user, attrs \\ %{})
-
+
View Source
@@ -575,7 +592,51 @@ Functions
start_trial(user)
-
+
+
+ View Source
+
+
+
+
+
+
+
+
+