Releases: knadh/dictpress
Releases · knadh/dictpress
v5.0.0-rc3
Changelog
- c5641a1 Add #guid anchor link icon and refactor icon on the results page.
- baf8aa1 Add IndicPhone Kannada (based on KNPhone) tokenizer script.
- 66dc0f7 Add IndicPhone Malayalam (based on MLPhone) tokenizer script.
- db653a0 Add IndicPhone/Hindi Lua phonetic tokenizer.
- 77dd9c9 Add UNION in main search query for better index utilisation.
- bab8953 Add
./tokenizersdir to release archive. - 22ed05e Add audio play icon based on audio meta field to site template.
- 551952b Add canvas based result screenshot/export script.
- 5eb48a2 Add custom Lua tokenizer documentation.
- 24b105a Add generally useful util funcs to global
utils.*available to tokenizer Lua scripts. - 13f9ed2 Add git semver build version and add
versionfield to admin/api/config. - 4f4a99a Add hybrid disk/memory caching with Foyer.
- 17c312d Add longer timeout to autocomplete
get all wordsquery. - 5fefb8e Add migration Python scripts.
- c4708e9 Add missing
content_lengthfield and fix template rendering. - 31bca19 Add missing audio icon.
- 67d949a Add missing config values and functionality.
- 608caf5 Add package params for static compilation.
- 88680d8 Add stemmer/tokenizer library.
- 48623e0 Add support for 'default' tokenizer_type in config.
- 16674c6 Add support for integrated
suggest-as-you-typesuggestions. - e491a54 Apply clippy fixes.
- aaac1f7 Apply cosmetic fixes to handler functions.
- 7cd3a7d Apply minor code cleanup.
- bcfcdba Apply minor markup+css refactor to make it more semantic.
- 513fc8b Apply minor tweaks to public form styles.
- c362e65 Bump bytes from 1.11.0 to 1.11.1 (#59)
- 647a7c5 Bump rsa from 0.9.9 to 0.9.10 (#57)
- 7d074fa Change
/page/to/pfor arbitrary content pages. - 9b99541 Change the superflous 50 direct-match search substr to 20.
- fe5d6eb Clean up DB Postgres -> SQLite migration Python script.
- 81439ad Clean up and simplify search (site vs. API) logic to be more like the old Go approach.
- 7f21751 Clean up models and remove unused fields.
- efc4f50 Clean up variable names.
- e7e44e3 Cleanup cargo.toml
- 939ed4d Display dictionary stats on the site template homepage.
- b7b262c Don't exect DB search if FTS query is empty.
- 1cb8333 Evaluate and optimize SQL indexes.
- 4011617 First alpha commit of the Rust port of dictpress.
- 41abd51 Fix .goreleaser config to include ./site
- 8e93777 Fix .lua tokenizer lookup.
- 542c3c6 Fix base template's head/title meta tags to show proper info.
- 95be7be Fix broken 'add definition' admin API call.
- ef1fb29 Fix broken 'more' toggle + type grouping in templates.
- 3bb5fc0 Fix broken
/api/configresponse. - e660f55 Fix broken admin search API and config response.
- 95617fa Fix broken glossary URL auto-redirect on empty or wildcard initial.
- cb2b042 Fix broken pending entries functionality in admin.
- aa3512a Fix broken style in admin definition form.
- ce881e4 Fix content '.page' style.
- 6c7140e Fix glossary pagination
- 5d0029b Fix http handler comments.
- ce8c089 Fix incorrect SQLite FTS table deletion triggers.
- ce19ab7 Fix incorrect goreleaser glob path.
- 274ec9d Fix incorrect mimaloc config in Cargo.toml
- b813f24 Fix incorrect target handling in search comment suggestion form.
- f7a7b69 Fix incorrect type rendering in results template.
- 42e6d44 Fix main container spacing on responsive view.
- fd6c7de Fix missed autofmt.
- 004b2e7 Fix missed autofmt.
- 79165fa Fix missing submission handler and admin page.
- 8f55f93 Fix search query + internal FTS token sanitization.
- cf82da3 Ignore
.zig-cachedir in goreleaser build. - 9a71f53 Implement default/lua tokenization and JSON meta validation in importer.
- d24e261 Implement manual English stop-word removal in tokenizer because rust-stummers doesn't support it.
- 184d8ff Improve query cleaning to allow apostrophe and separate cleaning from API and FTS logic.
- 5b57966 Improve responsive view of search group on home and results pages.
- 5f8162d Increase default query timeout (full vocabulary load on boot for autosuggest takes time)
- 617d4fe Make minor style improvements to results (and type display) template.
- f7ecd86 Minor cosmetic cleanup to importer.
- 7f7727f Move DB functions to db.rs
- 32cb65a Move config functions to config.rs
- d3e9f90 Move sitemap logic to sitemap.rs
- cf2910a Only run GitHub test action on Rust file changes.
- 2e6a787 Put structs on top.
- 0f6f497 Refactor UI/templates completely and switch to Oat UI lib.
- 25df1c7 Refactor
load_relations()to take a type instead of too many args. - f560be7 Refactor and clean up SQL queries and indexes.
- c17f0d1 Refactor and clean up superfluous iterations in
search()andload_relations(). - 1dc058f Refactor and fix broken relation truncation and content_length+content array truncation in relation loading.
- 2cf27b2 Refactor and rename 'suggestions' module and config to 'autocomplete' to avoid ambiguity.
- 8db0cb1 Refactor and replace hacky i18n key/map implementation with the new tinyi8n-rs lib (port of go-i18n).
- ffabf1f Refactor and simplify tokenizer config to use identifiers like
default:andlua: - 4992238 Refactor and simplify tokenizer init+lua loading logic.
- e1e6113 Refactor and simply config merging logic.
- 4c96b09 Refactor and simply search query and add BM25 ranking to boost SQLite FTS match quality.
- 9b25513 Refactor and super-speed up search query.
- e033bf8 Remove redundant autocomplete word sort and dedup.
- e02db95 Remove superflous handler api errors.
- e20abb7 Remove the entire Go project to port to Rust. This is a destructive change.
- 25caa46 Remove unused import.
- 268755a Replace Pico CSS with Oat UI lib and refactor the admin dashboard style.
- 088b0ed Restyle and refactor admin to use Pico CSS.
- 02bb96d Simple struct/output var name fixes.
- ae5e3dd Simplify 'share' link in results.
- 3abacd9 Simplify query reference and remove superfluous JSON resp wrapping in
doSearch(). - 7176cc3 Update docs with the Postgres -> Rust changes.
- 46729a5 Update static site logo.
Released with GoReleaser.
v4.1.1-rc3
Changelog
- 905880e Fix incorrect word sorting in glossary words.
v4.1.0-rc2
v4.1.0-rc1
Changelog
- 5071ca4 Update all Go deps.
- a1eff57 Add support for query/result caching with Badger.
- 571163f Refactor handlers and remove superfluous App{} context access by attaching them to App{}.
- 0b92722 Update landing page styles and remove Google font dependency.
- 25347ab Add 'Play` audio on the site template for entries with 'audio' metadata.
- b9c22d6 Remove stray log line.
v4.0.0
Changelog
- e4f9946 Fix viewport + footer nav links in responsive view.
- e431505 Fix autocomplete not triggeing search on Enter.
- 70899c1 Fix bad artifacts showing on screenshots on mobile.
- e943f39 Fix incorrect alert in share script.
- 66dd61d Change language selector / searchbox style in responsive view to not break into 2 rows.
- d52ca9c Add page URL to share intent text.
- 96cbb37 Add one-click definition image export/share button.
- 1d6c3dc Bundle search suggestion autocomplete lib.
- 97c0f61 Refactor UI, styles, and UX.
- cb5dfe5 Add
total_relationsandcontent_lengthfields to model to capture exact counts irrespective of max config. - 7885df1 Update Go deps.
- 94d0382 Refactor search query control logic.
- 16cf246 Add new
/api/dictionary/entries/:guidpublic API. - d89b2e5 Add missing migration file.
- 16de2c0 Make entry
contentan arraycontent[]. This is a major breaking change. (#55) - 9d00bab Make Indicphone config optional.
- 4828bdd Fix incorrent
typesorting on relation results. - b572647 Include
weightin entry results ranking - 38d40e4 Add Sourashtra Dictionary to README (#54)
v3.0.2
v3.0.1
v3.0.0
Important
This version has breaking changes to the CLI flags.
--install->install--upgrade->upgradeimport=$file->import --file=$file
Changelog
- a40af42 Add v3 cli changes to docs.
- 34ba68c Tidy go.mod
- c7f31c9 Add new
sitemapCLI mode for generating txt sitemaps for search engines. - 83a4ad6 Update deps.
- 0e58090 Replace basic flags with urfave/cli flags with commands support to accommodate future scoped subcommands such as import (with its own params), sitemap etc.
- 8a2de33 Update net, crypto modules (#44)
v2.1.0
Changelog
- a5f64a3 Add goreleaser GitHub action workflow.
- 479dd73 Merge branch 'bundle-handler'
- e8a89d9 Add /static/_bundle.js|.css handlers to automatically bundle and serve static assets.
- 1dbe1ed fix(config.sample.toml) Spell corrected (#41)
- 9be0f14 Merge pull request #40 from chinmayb/master
- 8de4805 Create ci.yaml
- 487f0e4 Merge pull request #36 from chinmayb/tests
- ed87b8a Add a default {} meta value to entry on insert via API. Closes #38.
- d85f92b update readme & cleanup
- f1211ef update makefile & go mod
- 9cbcb4b fix: add missing field meta & string formatting
- d21c1d4 chore: add unit tests for import work flow
v2.0.0
Changelog
- c1a2d6e Fix typo in README.
- 1296818 Fixes to accessbility and responsive styles.
- 61471af Add ability to load arbitrary CSS/JS assets to admin UI for customization.
- 0c30d24 Add 'delete all pending' option to admin.
- 7d7bd6d Ignore overly broad phonetic token in IndicPhone for better results.
- 9607367 Eliminate numbers and spaces in direct word match query.
- b63a452 Fix broken new submission insert.
- dfa63f8 Add support for seamless DB upgrades / migrations (
--upgrade). - b4eb5ad Add '.query{}' params to search results API.
- f42e2bc Fix a sorting+paging bug in the search query (yet again).
- b3778f2 Refactor site template's primary layout, yet again ;(
- 9515c55 Refactor flawed custom static page implementation.
- 2d54982 Rename custom
/pages/prefix to/p/for brevity. Breaking change. - a0578f1 Make
/page/URLs trailing-slash agnostic. - 111dac8 Fix responsive view style.
- d90ee96 Add 404 HTTP handlers to prevent those requests going to BasicAuth endpoints.
- 5f78f2e Fix broken glossary word link in site template.
- 7a0cecc Restyle language selection tab in the site template.
- 1a620a1 Add styling and responsive view fixes to site template.
- 29ac487 Add graceful fallback for
?q=search. Closes #31 - 8af7b4b Add support for importing
meta{}field from CSVs. Closes #35. - 7263d6f Return {} instead of null in admin language stats API.
- 36930f1 Fix
Escinstantly killing the comment submission box when there's text in it in the site template. - 217a832 Add hover+focus states to dict lang selector for accessibility in site template.
- d1896dc Fix spacing between type based definition groups in site template.
- 03b6463 Fix the search query (again!) to exclude non-main results in individual sub queries instead of the combined one.
- 0f14a03 Make pencil/edit icon toggle-able on site template.
- 0f9604d Refactor and restyle default site template.
- e8831f0 Fix incorrect language string in search button.
- 8fd28ab Add missing assetVer hash to search button in site template.
- 0397215 Refactor and fix styling and search box interaction issues in site templates.
- 8f214a0 Add
RootURLto site template paths and APIs. - a06998c Add
RootURLto admin template paths. - 8a16996 Add static asset hash that changes on every run for busting CDN cache.
- 3b9e04a Bump Go version.
- 5c1e560 Fix broken ranking sort and tsrank algorithm in search for better results and ranking.
- cde7b57 Improve IndicPhone tsquery algorithm for better results.
- a6caf93 Fix entry update and deletion not immediately reflecting on the admin UI.
- d445574 Add new field
JSONB meta{}toentriesfor storing arbitrary metadata. - e0de8a1 Fix search query to avoid hits on head words that have no definitions.
- 84619de Merge pull request #32 from knadh/tokenize-import
- b0b8b3b Fix broken IndicPhone/Malayalam encoder.
- de554cf Fix indicphone skipping all tokenization because of one bad token.
- 3190001 Use a custom tokenizer if an import entry's language has one defined to auto-generate tokens on import.
- 68f1ba8 Upgrade deps.
- ef5c43a Hide submission/edit links in the site template if config is off.
- 43ef393 Improve handling of space characters in search query tokenisation.
- 740803b Add missing page ID field to glossary page.
- ecff92e Merge pull request #30 from knadh/29-search-by-just-tags
- 4512631 Allow search query to be empty
- f9d58d0 Ignore output binary
- 1d58374 Fix order of column error check in importer (#28)
- 793f092 Make glossary toggle-able and add automatic glossary link to site template.
- 45faf31 Fix glossary template rendering and redirect.
- 3ccdd19 Upgrade koanf lib to v2.
- 160044d Upgrade deps.
- ad719a4 Fix broken styling on public site pages.
- 397fc57 Fix approve/reject button in admin UI on non-entries
- cbf0d1d Fix approve/reject button in admin UI on non-entries
- aab9be6 Refactor default public site theme.
- 059e4b7 Add support for i18n translations in public HTML pages.
- 92a2eb0 Introduce dictionary [fromLang, toLang] pairs in config for templating.
- ec57672 Refactor
UnicodeURL()to encode space as+. - b369cb8 Group relations by type also.
- 493330c Group relations by type also.
- 0dea0c9 Replace the handful of custom tpl functions with Sprig.