Free person slots (up to 30), Páros 3 500 Ft
CI / test (push) Successful in 2m42s
CI / build (push) Skipped
CI / deploy (push) Skipped

- Persons are free up to FREE_PERSON_SLOTS (30); packages give no person
  slots, the "+5 személy" add-on is retired (still known for old orders and
  payments in flight). At the cap: write to us, an admin grants more.
- Páros 3 500 Ft; "bought one by one" prices without persons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-24 18:32:34 +00:00
co-authored by Claude Opus 5.5
parent e6aacd0baa
commit fa46dcb757
19 changed files with 103 additions and 88 deletions
+3 -2
View File
@@ -101,7 +101,8 @@ pub struct Config {
pub prompt_version: String,
/// `MAX_CHARTS_PER_USER` (default 1000): a safety cap.
pub max_charts_per_user: i64,
/// `FREE_PERSON_SLOTS` (default 0): persons a user may add without a package.
/// `FREE_PERSON_SLOTS` (default 30): persons a user may add (packages give
/// none since November 2026; an admin can grant more).
pub free_person_slots: i64,
/// `SIGNUP_MODE` (`invite` or `open`, default `invite`): whether new
/// accounts need an invitation.
@@ -219,7 +220,7 @@ impl Config {
.unwrap_or_else(|| "https://openrouter.ai/api/v1/models".into()),
prompt_version: var("ANALYSIS_PROMPT_VERSION").unwrap_or_else(|| "v3".into()),
max_charts_per_user: parsed("MAX_CHARTS_PER_USER", 1000)?,
free_person_slots: parsed("FREE_PERSON_SLOTS", 0)?,
free_person_slots: parsed("FREE_PERSON_SLOTS", 30)?,
signup_mode: match var("SIGNUP_MODE").as_deref() {
None | Some("invite") => SignupMode::Invite,
Some("open") => SignupMode::Open,