Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/thpatch/TouhouPatchCenter

Creates a thcrap server from MediaWiki pages.
https://github.com/thpatch/TouhouPatchCenter

Move multi-line scraper to TPCUtil

19f713e584ff9f332f4496fb9d9bc2b1023b7c6a authored over 11 years ago by nmlgc <[email protected]>
Add basic spell card parsing

... which is enough for most of the games which don't have comments.

b5b533e4562aafaf64c6a2710a812e2437f6a2c9 authored over 11 years ago by nmlgc <[email protected]>
TPCState.php: Sensible return values for the file switch functions

283a03420caab8881d170f7b0c5e8e6654c7aa66 authored over 11 years ago by nmlgc <[email protected]>
patch.js: Add url_engine... and key consistency

Together with min_build, this will be our way of checking for updates of the patch engine itself.

0ccef58d723f9a65d4baed66aa7783ae2da003b3 authored over 11 years ago by nmlgc <[email protected]>
patch.js: Add min_build (from {{thcrap_patch_info}}) and global server description URL

After considering this for a long time, this ended up being the preferred way to check for new v...

ddedba7f11d1d15fd73af3e5dd6a8fb368c85317 authored over 11 years ago by nmlgc <[email protected]>
patch.js: Use hashes instead of time stamps for JSON files

Not only does this reduce download times after small changes, it also enables us to completely r...

ed935d7a3653d53656dc6955696abd60d564a12b authored over 11 years ago by nmlgc <[email protected]>
patch.js shouldn't include itself

This eliminates the risk of unfinished downloads remaining in a state where they are unable to p...

e2375ef38692cdeab43076dd722ee499ffddb29c authored over 11 years ago by nmlgc <[email protected]>
arrayMergeRecursiveDistinct: Only merge associative arrays

This fixes the issue of certain text sections appearing twice, because they once consisted of tw...

f70a80683b6a4de7342d7817bfd9232a52ce2287 authored over 11 years ago by nmlgc <[email protected]>
Don't write certain empty values

03ff57828c6de76f31515e1a9401a195ac468cea authored over 11 years ago by nmlgc <[email protected]>
patch.js should contain server directories after all

After careful consideration (and a corresponding re-design of the client side downloader), that ...

b1ad0803f5d28481eced06059b8c890b1f978d60 authored over 11 years ago by nmlgc <[email protected]>
TPCInfo.php: Change 'id' to 'game' to be consistent with the rest of the code - and fix the logic while we're at it

Hooray, let's combine two PHP pitfalls (weird ternary operator + silent variable creation) to cr...

03b3ba5fca69b7b53110ff70cb6c842d950e50b7 authored over 11 years ago by nmlgc <[email protected]>
Should print a non-cryptic message if the page doesn't exist, though.

cfb8503e2c8920209a1542a2eba21486161577a8 authored over 11 years ago by nmlgc <[email protected]>
Add a maintenance script for the simple re-evaluation of a single page

dc348e505a826839dabed2b40a918519963096ed authored over 11 years ago by nmlgc <[email protected]>
Move hook normalization to TPCUtil / Fix TPCFormats

208d3021be6b5c1bcd896a23a30fe567f7ae2710 authored over 11 years ago by nmlgc <[email protected]>
TPCVersions.php: lowercase header hooks

lol, the version hooks didn't work at all prior to this

3159db2fb88a6d0287fb5a4037dd07db1da9eba6 authored over 11 years ago by nmlgc <[email protected]>
server.js: Add an optional server ID (defined in LocalSettings) / Change 'mirrors' to 'servers'

This will be used on the client side to create a subdirectory where all the patches originating ...

8bb3708f2b7d0f9c2e8d6a415691489fbbbc3f8a authored over 11 years ago by nmlgc <[email protected]>
Initial release

I'm always a bit shy to commit prototype code - but since I've now decided on the whole design, ...

7c1c7ddb40c028b29489f046d5a8b7ff47b25e96 authored over 11 years ago by nmlgc <[email protected]>
MWScrape: Define functions as static / Remove $unnamedId / Formatting

Why should we prefix unnamed template parameters when MediaWiki doesn't, either?

93d71051630ee9434d36c026dd5ce3f5dbbf2bb4 authored over 11 years ago by nmlgc <[email protected]>
MWScrape: Make toArray() static / Remove $unnamedId / Formatting

Why should we prefix unnamed template parameters when MediaWiki doesn't, either?

84b9b3b29baf76fbe177f156c59f9c526ff14ed6 authored over 11 years ago by nmlgc <[email protected]>
Basic MediaWiki page template structure → array scraper

This is the basic building block of the server part, so I took my time to optimize performance o...

066a9e0879386cabf715a6a0379c535eb4ae1c14 authored over 11 years ago by nmlgc <[email protected]>
Initial commit

1f9cd095d97e1bd9418993803fb2f02f06ee2de6 authored over 11 years ago by nmlgc <[email protected]>