a9adf51453Add GCW link to archived wiki pages, for the live version of said archived article.Adrian Malacoda2020-09-20 05:28:37 -05:00
7157757d43redirector: handle case where thread id can have an .html extension, because of course it can...Adrian Malacoda2020-09-03 04:12:54 -05:00
5859ee0408Add notice to the top of archived pages that this is an archive.Adrian Malacoda2020-09-03 03:34:22 -05:00
b33ea016d5convert all f-strings to old-style format strings for python 3.5 compatibility (since that is what's available on the server)Adrian Malacoda2020-09-01 02:46:37 -05:00
ab29250b74add "added submissions" boards from Submit-A-Glitch to exclusion filterAdrian Malacoda2020-09-01 02:25:32 -05:00
f65361e06bImplement forums redirector and default archive urls (since it's unlikely these will be changed). Also add redirectors for the index/main pages since those don't get handled by default.Adrian Malacoda2020-08-30 16:51:55 -05:00
c37cf4fc44Implement thread index for mapping thread ids back to board ids, for use with the redirector.Adrian Malacoda2020-08-30 16:50:21 -05:00
0e3f1274ccExclude links and submit-a-glitch archives from the archive.Adrian Malacoda2020-08-28 02:29:30 -05:00
1b7e3ce08bSince the wiki linker code is modularized the redirector can just import itAdrian Malacoda2020-08-27 02:24:24 -05:00
646b840be4Use '+' as the substitution for '/' rather than '%2F' since nginx seems to want to normalize the %2F back into / which would defeat the purpose.Adrian Malacoda2020-08-27 02:11:56 -05:00
a382e6d4fdExtract more archive generator specific functionality from linker (e.g. the .html suffix, / -> %2F replacement)Adrian Malacoda2020-08-27 02:02:43 -05:00
ade44491d4Extract archive generator specific linker functionality into ArchiveLinker subclass.Adrian Malacoda2020-08-27 01:52:17 -05:00
2e73ecd59fBegin work on redirector webapp. The logic for redirecting wiki pages -seems- consistent with how the archives are generated but... nginx is normalizing the %2Fs into slashes and therefore not able to access any files with that escape sequence (e.g. Gold%2FSilver). Might need to find another character to escape / with.Adrian Malacoda2020-08-24 00:24:45 -05:00
2aa1a7cf47improved handling of categories and refactored Linker stuff into a class, also use ./ as default base path so Category: links will work correctlyAdrian Malacoda2020-08-23 06:40:23 -05:00
77b160a35bAdd all dex types and make wiki render aware of them, so that dex subpages will be rendered as GlitchDex/RB:000 while phrases like G/S will be rendered as G%2FS.Adrian Malacoda2020-08-23 06:02:28 -05:00
ea7e1294b1Escape / with %2F in wiki URLs. For now this includes things which actually should be subdirectories, such as the various dexes.Adrian Malacoda2020-08-23 05:01:11 -05:00
df25b09eb7improvements to template substitution, begin parsing out and dumping category linksAdrian Malacoda2020-08-23 04:48:38 -05:00
d19ca39838Add a (very rudimentary) template transcluder. Some work will have to be done before it is ready.Adrian Malacoda2020-08-21 02:39:50 -05:00
38cdb811b0Specify that charset is UTF-8. On the server side we are specifying the charset as UTF-8 so the encoding is already correct on the archives.glitchcity.info site, but the intent is for this to be portable to any web host.Adrian Malacoda2020-08-17 01:57:27 -05:00
54fa852897Implement rudimentary wikitext renderer and buff deploy_archives script to be able to deploy the wiki archive, as well as sql/sqlite/xml data dumps.Adrian Malacoda2020-08-17 01:51:09 -05:00
0b1320a9daAdd archives index page, and deploy wiki archives.Adrian Malacoda2020-08-16 21:11:59 -05:00
23f4789599Fix broken utf-8 encoding and unescape html entities.Adrian Malacoda2020-08-16 18:52:05 -05:00
4045473e65Gzip forums.tar to save space and time. Remove verbose output to save time.Adrian Malacoda2020-08-16 18:51:29 -05:00
161dd19d36Increas spacing between board elements & increase padding of sub-boardsAdrian Malacoda2020-08-16 18:50:59 -05:00
f709ce4810split archiving wiki and forum into separate commands, only run the forum one by default for nowAdrian Malacoda2020-08-16 04:54:27 -05:00
bf4a5f2b5dOrder categories and boards correctly; correctly organize them by nesting levelAdrian Malacoda2020-08-16 04:28:07 -05:00
dc0191a04aRudimentary support for building wiki archives. The content is dumped to html but the wikitext isn't parsed yet.Adrian Malacoda2020-08-11 10:44:06 -05:00
3cb08e2d2fAdd bbcode library and some bbcode parsing. SMF's bbcode is somewhat different to what this library expects so some of it does not come out correctly.Adrian Malacoda2020-08-10 02:00:00 -05:00
0116646dd9Add script to deploy the generated html archive to a server.Adrian Malacoda2020-08-10 01:59:48 -05:00
f3b0319d5aAdd rudimentary script for generating the forum archive.Adrian Malacoda2020-08-10 01:21:33 -05:00
7026bc2b34Add mysql2sqlite submodule and script for making a sqlite database out of the mysql dumps. This will be used to create html archives of the forum.Adrian Malacoda2020-08-09 04:01:19 -05:00
73dae54cf1Filter out sensitive information (emails, IP addressses) from messages table.Adrian Malacoda2020-08-04 02:29:42 -05:00
eac65f6bdaAdd dump_forum_data script: This connects to a GCL database and creates SQL dumps that can be distributed publicly.Adrian Malacoda2020-08-03 05:02:43 -05:00