7 December 2023
dictpress v2.0.0
Repository: @knadh/dictpress
GitHub release page: 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
Esc
instantly 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
RootURL
to site template paths and APIs. - a06998c Add
RootURL
to 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{}
toentries
for 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.