« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
AgeCommit message (Collapse)Author
2023-09-11data, html, infra: supporting changes for sanitizing content(quasar) nebula
2023-08-21write: static-build: gently log failed content functions & continue(quasar) nebula
2023-08-21sugar: showAggregate: display top-level non-AggregateErrors w/ more detail(quasar) nebula
2023-08-20html: expand resolve to take "normalize" option(quasar) nebula
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2023-08-19remove a bunch of dead util files(quasar) nebula
2023-08-19util: remove findFiles util, adapt traverse(quasar) nebula
2023-08-18fix reference error typo in replacer.js(quasar) nebula
2023-08-16html: Attributes: expose attributes in inspect.custom(quasar) nebula
2023-08-16html: Attributes: push() util(quasar) nebula
2023-08-16html: move parseAttributes from replacer into html lib(quasar) nebula
It also always returns an html.Attributes object, instead of a key/value mapping (which would be provided to html.attributes).
2023-08-16html: tags: allow passing attributes to tags()(quasar) nebula
This is to control e.g. joinChildren.
2023-08-16thumbs: traverse with wiki-matching posix style when verifying paths(quasar) nebula
2023-08-15content: transformContent: make <h2>'s into content headings(quasar) nebula
This was previous behavior. Forgot to include it in data-steps!
2023-08-15html: expose Attributes class via html.attributes()(quasar) nebula
2023-08-14data: remove 'Has Track Art', compute from credits(quasar) nebula
2023-08-12content: transformContent: display large thumbs by default(quasar) nebula
2023-08-11upd8: suppress only "didn't match anything" for sample ref errors(quasar) nebula
2023-08-02infra: html: make deep Template resolving opt-in via utility(quasar) nebula
Just always resolving was causing some bugs.
2023-08-02infra: html: make deeper layers of Template content translucent(quasar) nebula
2023-08-02html: Tag.clone, Template.clone: clone own constructors(quasar) nebula
2023-08-02infra: coarsely report relation() ancestry in errors via cause(quasar) nebula
2023-07-30content: image, transformContent: support custom img links(quasar) nebula
2023-07-30yeet tons of (MOSTLY) dead node-transforming code(quasar) nebula
2023-07-30content: transformContent: parse and process images(quasar) nebula
2023-07-26content: generateWikiHomeAlbumsRow + homepage content(quasar) nebula
2023-07-14Merge branch 'url-special-chars' into data-steps(quasar) nebula
2023-07-14never encode slashes in URLs(quasar) nebula
2023-07-14handle special characters in URLs more carefully(quasar) nebula
2023-07-05content: listArtistsbyLatestContribution: stuck in the array mines(quasar) nebula
2023-07-04filterMultipleArrays: forgot this part(quasar) nebula
2023-07-04util: gut and fillet sorting utilities(quasar) nebula
2023-07-04util: {sort,filter}MultipleArrays behind {sort,filter}ByCount(quasar) nebula
2023-07-03content: listArtistsBy{CommentaryEntries,Name} + syntax changes(quasar) nebula
2023-06-26content: generateArtistInfoPageArtworksChunkedList(quasar) nebula
2023-06-26util: new sortEntryThingPairs util(quasar) nebula
2023-06-23sugar: stitchArrays: accept null(quasar) nebula
2023-06-23content: generateCoverCarousel(quasar) nebula
This also introduces a handy stitchArrays() utility, which probably has some uses not caught in this commit.
2023-06-12html: inspect.custom() annotations for html classes(quasar) nebula
2023-06-12html: new Stationery class for instantiating Templates(quasar) nebula
2023-06-12html: move slot validation into own function(quasar) nebula
2023-06-11infra: treat fulfillment information as sets & reuse where possible(quasar) nebula
2023-06-04Merge remote-tracking branch 'origin/staging' into data-steps(quasar) nebula
2023-06-03html: accept false (ala cond && tag) in isHTML(quasar) nebula
2023-06-02content: generateArtistInfoPage: artwork contributions(quasar) nebula
This actually covers the foundations for other types of contribs too. It's hopefully a fair bit cleaner and easier to follow than the previous data processing for this page!
2023-05-25content: sprawl & transformContent(quasar) nebula
Sprawling basically means tying a component to objects which aren't directly passed to it. This is necessary for functions like transformContent, which was *mostly* implemented here (the multiline/lyrics modes are stubs, and a number of links haven't been implemented yet).
2023-04-27data: make sortByConditions return sorted array(quasar) nebula
This wasn't causing any bugs within the codebase but it should be consistent with the rest of the sort functions anyway.
2023-04-27data: new sortByPositionInFlash act function(quasar) nebula
Fixes #168. This refactors the duplicated logic with sortByPositionInAlbum into a new template, sortByPositionInParent.
2023-04-27data: refactor sortByDate to handle latestFirst directly(quasar) nebula
Fixes #180. This enables sortByDate to keep dateless items at the end even when sorting with latest first, and conveniently reduces the ops since there's no need for .reverse() before and after the sort anymore. It also cleans logic by deduplicating latest-first code in compositional sort functions using sortByDate.
2023-04-27sort art galleries reverse-chronologically (again)(quasar) nebula
Fixes #170.