« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2024-06-12content: generateContributionList: blank if no contributions(quasar) nebula
2024-06-12content: generateTrackInfoPage: simpler reverse ref list layout(quasar) nebula
2024-06-12content: generateTrackListDividedByGroups: blank if no tracks(quasar) nebula
2024-06-12content: generateTrackInfoPage: simpler additional files layout(quasar) nebula
2024-06-12content: generateAdditionalFilesList: blank if no entries(quasar) nebula
2024-06-12content: generateTrackInfoPage: simpler forward ref list layout(quasar) nebula
2024-06-12content: generateTrackList: blank if no tracks(quasar) nebula
2024-06-12content: generateContentHeading: always onlyIfSiblings(quasar) nebula
2024-06-12html: #stringifyContent: always resolve template items(quasar) nebula
This makes onlyIfSiblings on template content work properly. It should also enable templates which return strings directly to be treated as text for the purposes of chunkwrap, have own blockwrap processed, etc.
2024-06-12html: isBlank: handle onlyIfSIblings template content(quasar) nebula
2024-06-12content: generateTrackInfoPageOtherReleasesList(quasar) nebula
2024-06-12content: generateTrackInfoPage: clone one content heading(quasar) nebula
2024-06-12data: withReverse{Reference,Contribution}List: factor commonality(quasar) nebula
This doesn't actually move the common behavior into e.g. devoted component compositions - these two still mirror each other - but it *does* isolate the differing behavior in terms of dependencies that are computed uniquely but surrounded by identical compositional steps. This generally seems like a good fit for compositional subroutines, but those aren't official yet. Meanwhile, this is still factored much better than the previous implementation, and hopefully easier to follow as well!
2024-06-12data: withReverseContributionList: drop 'mode' option(quasar) nebula
2024-06-12data: artist: drop {tracks,albums}as{Artist,Contributor,..etc..}(quasar) nebula
2024-06-12content, page, util: general contributions usage cleanup(quasar) nebula
2024-06-12data: withContributionListSums: drop debug message(quasar) nebula
This appears to be working just fine! It's only used to compute an artist's total duration, which... is workin', and all that.
2024-06-12content: gAIPFlashesChunkedList: general refactor a la tracks(quasar) nebula
2024-06-12content: listArtistsByDuration: use Artist.totalDurations(quasar) nebula
2024-06-12content: gAIPArtworksChunkedList: general refactor a la tracks(quasar) nebula
2024-06-12data: artist: more contribution-y properties(quasar) nebula
2024-06-12data: artist: scope contribution properties to thing kind(quasar) nebula
2024-06-12data, content: various property & thing-type matches(quasar) nebula
2024-06-12content: gAIPChunk: consolidate date processing(quasar) nebula
2024-06-12content: gAIPOtherArtistLinks: use associatedContributions(quasar) nebula
2024-06-12data: Contribution.associatedContributions(quasar) nebula
2024-06-12content: gAIPTracksChunkItem: fix nonsense .kind accesses(quasar) nebula
2024-06-12wiki-data: is{Artist,Contributor,CoverArtist}Contribution(quasar) nebula
Just some helper utilities. These carry a specific meaning which we'd like to associate with a particular word, rather than copy everywhere needed.
2024-06-12data: Track.contributionContribs: use computed date(quasar) nebula
2024-06-12sort: sortContributionsChronologically: fix non-mutating(quasar) nebula
2024-06-12data: artist: fix contributorContributions getting artist contribs(quasar) nebula
2024-06-12data: withCoverArtDate refactor, make Album.coverArtDate updatable(quasar) nebula
2024-06-12content: gAIPTracks{ChunkedList,Chunk,ChunkItem}: data refactor(quasar) nebula
2024-06-12sort: sortContributionsChronologically(quasar) nebula
2024-06-12data: Artist.artistContributions, Artist.contributorContributions(quasar) nebula
2024-06-12data: withContributionContext: guard missing dependencies(quasar) nebula
2024-06-12data: redate inherited contribution lists(quasar) nebula
2024-06-12data: apply contribution dates when resolving(quasar) nebula
2024-06-12data: Contribution.date (stub)(quasar) nebula
2024-06-12data: withCoverArtDate(quasar) nebula
2024-06-12data: track: withTrackArtDate(quasar) nebula
2024-06-12data: withClonedThings(quasar) nebula
2024-06-12data: track: withDate(quasar) nebula
2024-06-12content: gAIPTracksChunkedList: stub separate-components refactor(quasar) nebula
2024-06-12data: Artist.totalDuration(quasar) nebula
This is sort of a stub / proof of concept function. The contained logic may be refactored a bit more still!
2024-06-12data: withReverseContributionList: mode: contributions(quasar) nebula
2024-06-12data: withContributionListSums, withSum(quasar) nebula
2024-06-12data: Track.isOriginalRelease, Track.isRerelease(quasar) nebula
2024-06-12data: exposeWhetherDependencyAvailable(quasar) nebula
2024-06-12data: inheritContributionListFromOriginalRelease(quasar) nebula