v2.2: progressive loading, configurable default loadout, 11 new ciphers
- Progressive db loading: db_lite.json fast first paint -> full db.json swaps in - 11 new ciphers from Alektryon's fork (AGPLv3): polygonal family (Pentagonal..Decagonal), English Qabalah 31, Mars Kamea, Angelic, Bacon Standard/R Standard -> 95 total (80 English) - Configurable defaultEnabledCiphers + built-in Alphanumeric category + Base preset - Default match mode -> Same Cipher Match; breakCipher -> Ordinal; base-4-first order - Desktop keyboard nav for results modal; db cache-busting (databaseVersion ?v=N) - generate_db_json emits db_lite.json; CHANGELOG/README updated - db.json + db_lite.json ship as Release assets (gitignored) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
1827fe23f3
commit
2570372ebf
10 files changed
+605
-311
No files matched your search
+9
-1
@@ -36,8 +36,10 @@ var CALC_CONFIG = {
|
||||
|
||||
// --- Database ---
|
||||
databaseMode: "auto", // "auto" tries db.json then db.txt | "json" | "txt"
|
||||
databaseJsonUrl: "db.json",
|
||||
databaseJsonUrl: "db.json", // full set — loaded in background
|
||||
databaseLiteJsonUrl: "db_lite.json", // lite set (common ciphers) — loaded first for fast paint
|
||||
databaseTxtUrl: "db.txt",
|
||||
databaseVersion: 1, // bump on each db.json regen -> cache-busts the db fetch (?v=N)
|
||||
|
||||
// --- Defaults ---
|
||||
autoMatchDesktop: true,
|
||||
@@ -45,6 +47,12 @@ var CALC_CONFIG = {
|
||||
resultsPerPage: 12,
|
||||
newPhrasesOnTop: true,
|
||||
|
||||
// Ciphers enabled by default on first load + "reset to defaults". Overrides the
|
||||
// enabled:true flags in ciphers.js. Empty => use ciphers.js defaults (classic 4).
|
||||
// Names must match ciphers.js exactly. Example:
|
||||
// defaultEnabledCiphers: ["Ordinal", "Reduction", "Reverse Ordinal", "Reverse Reduction"],
|
||||
defaultEnabledCiphers: [],
|
||||
|
||||
// --- Custom Cipher Categories ---
|
||||
// Group ciphers into custom menu sections. Ciphers are referenced by
|
||||
// their exact name from ciphers.js. They still appear in their original
|
||||
|
||||
Reference in new issue
Block a user