« 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/yaml.js
AgeCommit message (Collapse)Author
2023-11-21data: move accent-parsing regex out of parseContributors(quasar) nebula
Also use named capturing groups (and non-capturing groups) for generally better regex form.
2023-11-06yaml: consolidate logic in async-adaptive decorateErrorWithFile(quasar) nebula
2023-11-06yaml: tidy aggregate nesting and error syntax(quasar) nebula
2023-11-02yaml: fix mis-nested errors in non-array reference fields(quasar) nebula
2023-10-24data, yaml: new flash Color / color field(quasar) nebula
2023-10-24yaml: check artists for duplicate directories(quasar) nebula
2023-10-24data, yaml: new flash act field List Termonology / listTerminology(quasar) nebula
2023-10-24yaml: remove cruft, support blank list items(quasar) nebula
2023-10-18yaml: track skipped fields separately & report summary at bottom(quasar) nebula
2023-10-18yaml: filter and skip properties, not entire documents(quasar) nebula
2023-10-18yaml: cosmetic code clean-up(quasar) nebula
2023-10-11data: use flash act directory for better determinism(quasar) nebula
2023-10-11implement flash act pages, rework flash sidebar layout(quasar) nebula
2023-09-19Merge branch 'preview' into track-data-cleanup(quasar) nebula
2023-09-18data: Track.alwaysReferencedByDirectory flag & field(quasar) nebula
2023-09-07data: roll paired "byRef" and "dynamic" properties into one(quasar) nebula
2023-09-07data: custom _homepageSourceGroup reference validation function(quasar) nebula
2023-09-07data: import Thing.common utilities directly(quasar) nebula
Also rename 'color' (from #cli) to 'colors'.
2023-09-05yaml, test: mutate/decache wikiData in more reusable ways(quasar) nebula
2023-09-05yaml: fix disableCoverArt -> disableUniqueCoverArt(quasar) nebula
2023-09-05data, test: track: inherit album props more declaratively(quasar) nebula
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2023-08-19util: remove findFiles util, adapt traverse(quasar) nebula
2023-08-18yaml: error when combining Cover Artists, Has Cover Art(quasar) nebula
2023-08-15data, yaml: inherit music-related properties from original release(quasar) nebula
When a track has 'Originally Released As', these fields are now automatically inherited: * Artists * Contributors * Referenced Tracks * Sampled Tracks Including any of these fields alongside 'Originally Released As' is an error. Corresponding properties are valid, but ignored. This uses a new "compositional" style to define how each of these properties inherits while retaining the original behavior for tracks that aren't re-releases, and avoids hard-coding much of anything!
2023-08-15yaml: report unambiguous names for resolving track rereleases(quasar) nebula
2023-08-15yaml: fix normal find.track errors not passing through(quasar) nebula
2023-08-15yaml: miscellaneous improvements(quasar) nebula
User-facing: * Reports errors for track refs referencing rereleases instead of original tracks. (Resolves #247) * Reports YAML field names instead of property names. * Reports invalid group refs under sourceGroupByRef. Code-facing: * Cleanup to make it easier to add new "custom" reference error reporting functions; now implemented as custom findFn, which will automatically adapt to array or non-array property values just like normal findFn. * Reports invalid property keys, i.e. value === undefined instead of value === null.
2023-08-14data: remove 'Has Track Art', compute from credits(quasar) nebula
2023-08-12yaml: filter and report ranges of blank documents(quasar) nebula
2023-08-11upd8: suppress only "didn't match anything" for sample ref errors(quasar) nebula
2023-08-06data: art tags: short names(quasar) nebula
2023-06-04Merge remote-tracking branch 'origin/staging' into data-steps(quasar) nebula
2023-05-25content: multiline content & fill out album/track pages more(quasar) nebula
2023-04-27data: new sortByPositionInFlash act function(quasar) nebula
Fixes #168. This refactors the duplicated logic with sortByPositionInAlbum into a new template, sortByPositionInParent.
2023-03-02per-track color support(quasar) nebula
2023-03-02update 'Group' track sections field to 'Section'(quasar) nebula
2023-02-26Merge branch 'preview' into sheet-music-midis(quasar) nebula
2023-02-26new 'Sheet Music Files' & 'MIDI Project Files' fields(quasar) nebula
2023-02-24regroup some yaml fields(quasar) nebula
2023-02-05Merge branch 'preview' into data-format-cleanup(quasar) nebula
2023-02-05Merge branch 'staging' into preview(quasar) nebula
2023-02-05pass on YAML field transform errors(quasar) nebula
2023-02-05handle missing data files more gracefully(quasar) nebula
2023-02-05data format cleanup: commentary fields(quasar) nebula
The parseCommentary function was actually going unused. This commit moves its behavior to the more appropriate location (validateCommentary), which actually unveils a couple data errors in the HSMusic data files.
2023-02-04data format cleanup: albums(quasar) nebula
* Remove `Is Major Release` (`isMajorRelease`) * Remove major-release code in wiki-data.js * Tidy `propertyFieldMapping` order Major releases were useful when albums were being added to the wiki on the regular, but are unused on HSMusic now, and alternative approaches get more particular results (currently hard-coded grid layout for larger icons, and manually selected albums in homepage rows).
2023-01-31data format cleanup: tracks(quasar) nebula
* Remove `Has URLs` (`hasURLs`), unused * Tidy `propertyFieldMapping` order
2023-01-15Merge pull request #117 from hsmusic/track-sections(quasar) nebula
Change trackGroups to trackSections, avoid usage of a dedicated "domain-specific" Thing subclass
2023-01-15be more resilient handling empty YAML documents(quasar) nebula
2023-01-15be more resilient handling empty YAML documents(quasar) nebula