« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/language.js
AgeCommit message (Collapse)Author
28 hourslanguage: drop externalLinkSpec prop, just import directly(quasar) nebula
this lets us totally drop "internal" but exported function initializeLanguageObject - we'll still need to provide the external link spec in essentially the exact same way in the future, when external link spec is dynamic, but presently there's no need for this function or providing at all.
28 hourslanguage: compositional withStrings, update strings_htmlEscaped(quasar) nebula
28 hourshtml, language: html.escape()(quasar) nebula
29 hourscontent: drop 'he' module(quasar) nebula
2025-10-04content: remove language.countCoverArts()(quasar) nebula
2025-07-14language: sanitize formatting options a lot dumber(quasar) nebula
This will have no unforeseen consequences. Which is to say, one good consequence.
2025-07-11language: don't sanitize anything automatically(quasar) nebula
This will have no unforeseen consequences. Which is to say, no consequences.
2025-07-10language: don't stringify html.tags() on accident(quasar) nebula
Checking contentOnly only tells if a tag is, you know, content-only. But other tags are content, and they were getting stringified here! This caused chunkwrap to intrude where it shouldn't, thinking it really was getting passed a string of normal, non-HTML content. We're using html.smush() to the intended effect now, still collapsing those tags flat and then iterating over the contents to sanitize like usual.
2025-07-10language: suggest language.encapsulate() reasonably(quasar) nebula
2025-07-10data: isAlbum, isTrack, isArtist, isCommentaryEntry, etc(quasar) nebula
2025-06-05content: fix language.typicallyLowerCase intent, add heuristics(quasar) nebula
2025-06-04data: Language.typicallyLowerCase(quasar) nebula
Total bullshit. Sorry!
2025-05-06content, client, css: generateGroupGalleryPage: series view(quasar) nebula
2025-02-25content: generateArtTagInfoPage (etc): times featured map(quasar) nebula
2025-02-25content, data: experimental art tag sidebar(quasar) nebula
2025-01-26move some modules out of util, data(quasar) nebula
2024-11-19language: count blankIfZero(quasar) nebula
2024-06-18language: encapsulate(quasar) nebula
2024-06-07language: #formatListHelper: explicitly blank for null/undefined(quasar) nebula
Undefined isn't implied by empty() call so this is a behavioral change, too.
2024-06-07language: null/undefined handling for date formatting fns(quasar) nebula
2024-06-07language: make most formatting fns return blank for null, etc(quasar) nebula
2024-06-07lanugage: onlyIfOptions(quasar) nebula
2024-06-07language: formatString: report valueless (null/undefined) options(quasar) nebula
2024-06-07language: formatString: #iterateOverTemplate logic cleanup(quasar) nebula
2024-04-12language: #wrapSanitized: bless prefab attributes(quasar) nebula
2024-04-12language: filter & warn mismatched options on strings expose(quasar) nebula
2024-04-12language: refactor languageOptionRegex(quasar) nebula
2024-03-31language: return html.blank() from formatExternalLink(quasar) nebula
2024-03-29content, external-links: [normal, compact] -> [platform, handle](quasar) nebula
2024-02-16sugar: move many functions into new #aggregate import(quasar) nebula
2024-02-16more eslint fixes(quasar) nebula
Oops we accidentally excluded this from #415.
2024-01-30data: tidy things folder & imports, nicer fields yaml spec(quasar) nebula
2024-01-09data: language: fix missing/misplaced option formatting(quasar) nebula
2024-01-06data: Language.name simpleString -> name(quasar) nebula
2023-12-30data: language: refactor iteration logic, join consecutive strings(quasar) nebula
2023-12-30data: language: internal terminology & documentation cleanup(quasar) nebula
2023-12-30data: language: stringify numbers and booleans in particular(quasar) nebula
2023-12-30data: language: tidy sanitizing functions(quasar) nebula
2023-12-30data: language: preserve live values through list formatters(quasar) nebula
2023-12-30data: language: preserve live values through formatString(quasar) nebula
2023-12-30data: language: support preserving value type in #sanitizeStringArg(quasar) nebula
Behind an option, for now.
2023-12-30data: language: support multiple children in #wrapSanitized(quasar) nebula
2023-12-30data: language: compare missing/misplaced options more rigorously(quasar) nebula
2023-12-28organize miscellaneous per-kind-of-thing code alphabetically(quasar) nebula
2023-12-03content, data: minor fixes caught by full site build(quasar) nebula
2023-12-03Merge branch 'preview' into news-tweaks(quasar) nebula
2023-11-29data: language: don't approximate same date in formatRelativeDate(quasar) nebula
2023-11-29data: language: formatDateDuration, formatRelativeDate(quasar) nebula
Also related counting functions.
2023-11-26data: minor fixes caught by eslint(quasar) nebula
2023-11-24external-links: cleaner per-style logic(quasar) nebula