A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
chore(rexctl): drop hosted Operator Pass settings from docs (#3799)
Hampus100256c31b29
diff --git a/fluxer_docs/src/content/docs/operator/environment.mdx b/fluxer_docs/src/content/docs/operator/environment.mdxindex baab56bd8..5870d000e 100644--- a/fluxer_docs/src/content/docs/operator/environment.mdx+++ b/fluxer_docs/src/content/docs/operator/environment.mdx@@ -1170,7 +1170,7 @@ How often the API reloads its IP ban list, in milliseconds. When it's empty, the### `FLUXER_API_DONATION_PROXY_KEY`-An older way to add one trusted caller that may pass the client address for the donation and Operator Pass rate limits. Fluxer's marketing site uses it. It must be at least 32 characters. Your own instance can leave it empty. Keep it secret. With rexctl, use `rexctl config set FLUXER_API_DONATION_PROXY_KEY`.+An older way to add one trusted caller that may pass the client address for the donation and purchase rate limits. Fluxer's marketing site uses it. It must be at least 32 characters. Your own instance can leave it empty. Keep it secret. With rexctl, use `rexctl config set FLUXER_API_DONATION_PROXY_KEY`.### `FLUXER_API_TRUSTED_CALLERS`@@ -2389,126 +2389,6 @@ The path to the Google Play service account JSON file.The OAuth token URL for Google Play.-#### `FLUXER_LABS_GUILD_ID`--The community Operator Pass holders join.--#### `FLUXER_LABS_OPERATOR_ROLE_ID`--The role Operator Pass holders get in that community.--#### `FLUXER_LABS_VISIONARY_ROLE_ID`--The role Visionary holders get in that community.--#### `FLUXER_LABS_OPERATORS_CHANNEL_ID`--The channel in that community where Fluxer greets new Operator Pass holders.--#### `FLUXER_OPERATOR_PASS_GRACE_MINUTES`--The grace period of the Operator Pass sale, in minutes.--#### `FLUXER_OPERATOR_PASS_MAX_QUANTITY`--The largest Operator Pass quantity in one purchase.--#### `FLUXER_OPERATOR_PASS_PREVIEW_IPS`--IP addresses and CIDR ranges, separated by commas, that see the Operator Pass sale open before it opens and buy at no cost, in addition to the list in the admin panel.--#### `FLUXER_OPERATOR_PASS_PRICE_BRL_ENABLED`--Whether the Operator Pass is sold in BRL.--#### `FLUXER_OPERATOR_PASS_PRICE_DKK_ENABLED`--Whether the Operator Pass is sold in DKK.--#### `FLUXER_OPERATOR_PASS_PRICE_INR_ENABLED`--Whether the Operator Pass is sold in INR.--#### `FLUXER_OPERATOR_PASS_PRICE_NOK_ENABLED`--Whether the Operator Pass is sold in NOK.--#### `FLUXER_OPERATOR_PASS_PRICE_PLN_ENABLED`--Whether the Operator Pass is sold in PLN.--#### `FLUXER_OPERATOR_PASS_PRICE_RISES_AT`--When the Operator Pass price rises.--#### `FLUXER_OPERATOR_PASS_PRICE_SEK_ENABLED`--Whether the Operator Pass is sold in SEK.--#### `FLUXER_OPERATOR_PASS_PRICE_TRY_ENABLED`--Whether the Operator Pass is sold in TRY.--#### `FLUXER_OPERATOR_PASS_RELEASE_LISTS`--The release lists of the Operator Pass sale.--#### `FLUXER_OPERATOR_PASS_SALE_OPENS_AT`--When the Operator Pass sale opens.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_BRL`--The standard Operator Pass price in BRL.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_DKK`--The standard Operator Pass price in DKK.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_EUR`--The standard Operator Pass price in EUR.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_INR`--The standard Operator Pass price in INR.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_NOK`--The standard Operator Pass price in NOK.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_PLN`--The standard Operator Pass price in PLN.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_SEK`--The standard Operator Pass price in SEK.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_TRY`--The standard Operator Pass price in TRY.--#### `FLUXER_OPERATOR_PASS_STANDARD_PRICE_USD`--The standard Operator Pass price in USD.--#### `FLUXER_OPERATOR_PASS_TRANSFER_LOCK_HOURS`--How long an Operator Pass transfer stays locked, in hours. The default is 0, and with 0 a pass moves as soon as the recipient accepts it.--#### `FLUXER_OPERATOR_PASS_WALL_AUTO_APPROVE`--Whether a new name or avatar for the Operators' wall goes live as soon as an Operator changes it. The default is true.--#### `FLUXER_OPERATOR_PASS_WALL_TIERS`--The wall tiers of the Operator Pass sale.--#### `FLUXER_OPERATOR_PASS_WITHDRAWAL_COUNTRIES`--The Operator Pass withdrawal rules for each country.-#### `FLUXER_PAYMENT_DISPUTE_CLOSURE_EFFECTIVE_AT`When account closures for payment disputes take effect.@@ -2841,10 +2721,6 @@ Only tests and development use these.Whether rate limits are off.-#### `FLUXER_OPERATOR_PASS_NOW`--A clock override for the Operator Pass sale.-#### `FLUXER_OPERATOR_SOCKET`The socket path the operator relay connects to. The api listens on `/run/fluxer/operator.sock`.diff --git a/fluxer_rexctl/internal/instance/envvars.go b/fluxer_rexctl/internal/instance/envvars.goindex a7e517760..bb42688d7 100644--- a/fluxer_rexctl/internal/instance/envvars.go+++ b/fluxer_rexctl/internal/instance/envvars.go@@ -308,7 +308,7 @@ var envVars = []envVar{{"FLUXER_CLIENT_IP_HEADER_NAME", "api", "The request header that has the client's IP address. When it's empty, the api, worker, admin and gateway services and the push relay use `x-forwarded-for`, the header the edge sets."},{"FLUXER_API_IP_BAN_EXEMPT_IPS", "api", "IP addresses and CIDR ranges, separated by commas, that IP bans never apply to, such as `203.0.113.7,2001:db8::/56`. The API refuses to start when an entry doesn't parse."},{"FLUXER_IP_BAN_REFRESH_INTERVAL_MS", "api", "How often the API reloads its IP ban list, in milliseconds. When it's empty, the API uses `300000`. A value of `0` turns the periodic reload off."},- {"FLUXER_API_DONATION_PROXY_KEY", "api", "An older way to add one trusted caller that may pass the client address for the donation and Operator Pass rate limits. Fluxer's marketing site uses it. It must be at least 32 characters. Your own instance can leave it empty."},+ {"FLUXER_API_DONATION_PROXY_KEY", "api", "An older way to add one trusted caller that may pass the client address for the donation and purchase rate limits. Fluxer's marketing site uses it. It must be at least 32 characters. Your own instance can leave it empty."},{"FLUXER_API_TRUSTED_CALLERS", "api", "A JSON array of trusted callers, such as a front end that calls the API for its own visitors. Each entry is an object with a `name`, a `key` of at least 32 characters and `buckets`, a non-empty list of the rate limit buckets the caller may pass a client address for. The caller sends its key in the `X-Fluxer-Internal-Key` header and the client address in the `X-Fluxer-Client-IP` header."},{"FLUXER_API_WORKER_LANE_CONCURRENCY_OVERRIDES", "api", "How many jobs each worker lane runs at once, as a JSON object that maps each lane to a whole number of at least 1. The lanes are `realtime`, `unfurl`, `lifecycle`, `batch` and `crosspost`. Lanes left out use 10, 20, 8, 12 and 8 in that order, scaled down on machines with fewer than 4 CPU cores."},{"FLUXER_APP_PRODUCT_NAME", "instance", "The product name the apps show and Fluxer uses in emails and system messages. When it's empty or set to `Fluxer` on a self-hosted instance, Fluxer uses the hostname of the web app."},@@ -590,40 +590,9 @@ var envVars = []envVar{{"FLUXER_GOOGLE_PLAY_SELF_SERVICE_REFUNDS", "hosted", "Whether people can request Google Play refunds themselves."},{"FLUXER_GOOGLE_PLAY_SERVICE_ACCOUNT_JSON_PATH", "hosted", "The path to the Google Play service account JSON file."},{"FLUXER_GOOGLE_PLAY_TOKEN_URI", "hosted", "The OAuth token URL for Google Play."},- {"FLUXER_LABS_GUILD_ID", "hosted", "The community Operator Pass holders join."},- {"FLUXER_LABS_OPERATOR_ROLE_ID", "hosted", "The role Operator Pass holders get in that community."},- {"FLUXER_LABS_VISIONARY_ROLE_ID", "hosted", "The role Visionary holders get in that community."},- {"FLUXER_LABS_OPERATORS_CHANNEL_ID", "hosted", "The channel in that community where Fluxer greets new Operator Pass holders."},{"FLUXER_MEDIA_PROXY_HOST", "internal", "The address the media proxy listens on. When it's empty, it listens on `0.0.0.0`."},{"FLUXER_MEDIA_PROXY_STORAGE_ROOT", "internal", "The directory the media proxy keeps files in when it stores them on disk. The stack keeps media in the object store."},{"FLUXER_NATS_CORE_URL", "internal", "The older name for FLUXER_NATS_URL, which only the api and worker read. Docker Compose passes FLUXER_NATS_URL."},- {"FLUXER_OPERATOR_PASS_GRACE_MINUTES", "hosted", "The grace period of the Operator Pass sale, in minutes."},- {"FLUXER_OPERATOR_PASS_MAX_QUANTITY", "hosted", "The largest Operator Pass quantity in one purchase."},- {"FLUXER_OPERATOR_PASS_NOW", "dev", "A clock override for the Operator Pass sale."},- {"FLUXER_OPERATOR_PASS_PREVIEW_IPS", "hosted", "IP addresses and CIDR ranges, separated by commas, that see the Operator Pass sale open before it opens and buy at no cost, in addition to the list in the admin panel."},- {"FLUXER_OPERATOR_PASS_PRICE_BRL_ENABLED", "hosted", "Whether the Operator Pass is sold in BRL."},- {"FLUXER_OPERATOR_PASS_PRICE_DKK_ENABLED", "hosted", "Whether the Operator Pass is sold in DKK."},- {"FLUXER_OPERATOR_PASS_PRICE_INR_ENABLED", "hosted", "Whether the Operator Pass is sold in INR."},- {"FLUXER_OPERATOR_PASS_PRICE_NOK_ENABLED", "hosted", "Whether the Operator Pass is sold in NOK."},- {"FLUXER_OPERATOR_PASS_PRICE_PLN_ENABLED", "hosted", "Whether the Operator Pass is sold in PLN."},- {"FLUXER_OPERATOR_PASS_PRICE_RISES_AT", "hosted", "When the Operator Pass price rises."},- {"FLUXER_OPERATOR_PASS_PRICE_SEK_ENABLED", "hosted", "Whether the Operator Pass is sold in SEK."},- {"FLUXER_OPERATOR_PASS_PRICE_TRY_ENABLED", "hosted", "Whether the Operator Pass is sold in TRY."},- {"FLUXER_OPERATOR_PASS_RELEASE_LISTS", "hosted", "The release lists of the Operator Pass sale."},- {"FLUXER_OPERATOR_PASS_SALE_OPENS_AT", "hosted", "When the Operator Pass sale opens."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_BRL", "hosted", "The standard Operator Pass price in BRL."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_DKK", "hosted", "The standard Operator Pass price in DKK."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_EUR", "hosted", "The standard Operator Pass price in EUR."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_INR", "hosted", "The standard Operator Pass price in INR."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_NOK", "hosted", "The standard Operator Pass price in NOK."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_PLN", "hosted", "The standard Operator Pass price in PLN."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_SEK", "hosted", "The standard Operator Pass price in SEK."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_TRY", "hosted", "The standard Operator Pass price in TRY."},- {"FLUXER_OPERATOR_PASS_STANDARD_PRICE_USD", "hosted", "The standard Operator Pass price in USD."},- {"FLUXER_OPERATOR_PASS_TRANSFER_LOCK_HOURS", "hosted", "How long an Operator Pass transfer stays locked, in hours. The default is 0, and with 0 a pass moves as soon as the recipient accepts it."},- {"FLUXER_OPERATOR_PASS_WALL_AUTO_APPROVE", "hosted", "Whether a new name or avatar for the Operators' wall goes live as soon as an Operator changes it. The default is true."},- {"FLUXER_OPERATOR_PASS_WALL_TIERS", "hosted", "The wall tiers of the Operator Pass sale."},- {"FLUXER_OPERATOR_PASS_WITHDRAWAL_COUNTRIES", "hosted", "The Operator Pass withdrawal rules for each country."},{"FLUXER_OPERATOR_SOCKET", "dev", "The socket path the operator relay connects to. The api listens on /run/fluxer/operator.sock."},{"FLUXER_PAYMENT_DISPUTE_CLOSURE_EFFECTIVE_AT", "hosted", "When account closures for payment disputes take effect."},{"FLUXER_PUSH_RELAY_MAX_BODY_BYTES", "relay", "The largest request the push relay accepts, in bytes."},diff --git a/fluxer_rexctl/internal/instance/shipped.json b/fluxer_rexctl/internal/instance/shipped.jsonindex c9c0dc9c8..c110a5057 100644--- a/fluxer_rexctl/internal/instance/shipped.json+++ b/fluxer_rexctl/internal/instance/shipped.json@@ -66,6 +66,7 @@"9d98d16d138403a60ec3d883edb068a6ee6a1895ded5fa7de8a5ce1fb8e9fa11","9ddb7e697174484b2411c6b7239e73374200512597bd5de9f9654ff796e3a39a","a0fcbc346ae2c9038294e921fa0cd53c0dbabfc92c005e72825b22c6f4c562f3",+ "a2dc65c795c538e1a6c2375ac0e6133700e0a28fffc8bf15c9c06606e81eb8d3","a3b0de3f98f20af674ba28457062092e2efa64744ff56d3b82947ec2148e629b","a61adc1611286d1336bdd4ed8da55258bc1467cfc824161a30bb992ac69607c6","a7915e920ff78b5e3ea4e70e44c69353b0af6d549c0fa5fe4cae919f5bad25ec",diff --git a/fluxer_rexctl/internal/stack/files/.env.example b/fluxer_rexctl/internal/stack/files/.env.exampleindex b3bebfbe6..5557c29d1 100644--- a/fluxer_rexctl/internal/stack/files/.env.example+++ b/fluxer_rexctl/internal/stack/files/.env.example@@ -1676,9 +1676,9 @@ FLUXER_VAPID_PRIVATE_KEY=# FLUXER_IP_BAN_REFRESH_INTERVAL_MS=# An older way to add one trusted caller that may pass the client address for-# the donation and Operator Pass rate limits. Fluxer's marketing site uses it.-# It must be at least 32 characters. Your own instance can leave it empty.-# Keep it secret.+# the donation and purchase rate limits. Fluxer's marketing site uses it. It+# must be at least 32 characters. Your own instance can leave it empty. Keep+# it secret.# rexctl: rexctl config set FLUXER_API_DONATION_PROXY_KEY# FLUXER_API_DONATION_PROXY_KEY=