Commit Graph

90 Commits

Author SHA1 Message Date
Chris Wilson bc9c93b180 Improvements to the WebHost
- Improved routing structure
- Improved style imports across site
- Added placeholder player-settings pages for Factorio and Minecraft
2021-06-15 21:18:14 -04:00
Chris Wilson 883ebbf267 Updating WebHost structure 2021-06-14 22:27:43 -04:00
Fabian Dill cd45116dce dynamify games listing 2021-06-15 02:35:40 +02:00
Chris Wilson 384e06d6fe Subdirectory pages currently 404. I'll look into this later 2021-06-14 20:18:40 -04:00
Fabian Dill e6f44a70d0 use flask convention for template fetching 2021-06-15 01:51:40 +02:00
Chris Wilson 0ca90ee7e8 Add subdirectory handling for zelda3, factorio, and minecraft. Add generic 404 page. 2021-06-14 19:35:02 -04:00
Chris Wilson 8c82d3e747 Added a page to describe the games currently supported by AP 2021-06-12 02:49:36 -04:00
Fabian Dill d35adc5868 Update Flask and Jinja
Flask Autoversion is now integrated
Flask config.from_file is now integrated
2021-05-13 00:28:53 +02:00
Fabian Dill ea15f221ae various fixes to WebHost 2021-04-10 15:26:30 +02:00
Fabian Dill 35285609e0 different default DB name for breaking_changes DB to avoid overlap 2021-03-13 23:36:57 +01:00
Fabian Dill 514cd19367 Merge branch 'main' into breaking_changes
# Conflicts:
#	BaseClasses.py
#	Mystery.py
#	WebHostLib/downloads.py
#	WebHostLib/models.py
#	WebHostLib/templates/macros.html
#	WebHostLib/upload.py
#	worlds/alttp/ItemPool.py
#	worlds/alttp/Main.py
2021-01-17 06:50:25 +01:00
Chris Wilson b063407d2b Update WebHost to include new tutorial landing page.
- Added MSU-1 setup guide
- Updated header and landing page for title change
- Re-structured tutorial files
- Added tutorials.json, which is used when constructing the new /tutorial page
2021-01-03 17:46:47 -05:00
Fabian Dill 8ebd36b5a7 update Archipelago 2021-01-03 14:32:32 +01:00
Fabian Dill 08ca4245c1 Merge branch 'main' into breaking_changes
# Conflicts:
#	Adjuster.py
#	AdjusterMain.py
#	BaseClasses.py
#	MultiClient.py
#	MultiServer.py
#	Mystery.py
#	Utils.py
#	WebHostLib/downloads.py
#	WebHostLib/generate.py
#	dumpSprites.py
#	test/TestBase.py
#	worlds/alttp/EntranceRandomizer.py
#	worlds/alttp/Main.py
#	worlds/alttp/Rom.py
2021-01-03 13:13:59 +01:00
Fabian Dill c2be5a84f9 Make debug secret key consistent 2020-12-05 00:43:18 +01:00
Chris Wilson da6c44a1cf Working on player-settings update 2020-12-03 18:27:32 -05:00
Chris Wilson ddfcef09ec Merge master into website-redesign 2020-11-30 22:44:52 -05:00
Chris Wilson bd3b419de0 Updates all styles save for the tooltip and tracker, which are forthcoming. I just really wanted to commit all these changes. 2020-11-30 21:15:47 -05:00
Fabian Dill 31839d421d consolidate api endpoints into own module and flask Blueprint 2020-12-01 01:33:57 +01:00
Fabian Dill d1275ea25c use utf-8 json 2020-11-03 05:26:10 +01:00
Fabian Dill 4dc84e1dac Update Webhost for generation on-site
uploads and tracker do not work yet
2020-10-26 00:04:58 +01:00
Chris Wilson e08e650110 Create website-redesign branch. Include incomplete redesign assets. Very much in-progress. 2020-10-24 14:46:27 -04:00
Fabian Dill 99517021c8 Fix DB scheduling on mariaDB 2020-09-09 01:41:37 +02:00
Chris Wilson 6a7633e51e Add player-settings link to landing page 2020-08-27 21:39:45 -04:00
Chris Wilson 4126d48d0d Change a couple filenames and move some files around. 2020-08-23 18:24:09 -04:00
Fabian Dill 39f85aa291 WebHost: job pool based world generation 2020-08-18 01:18:37 +02:00
Chris Wilson 4c3f5188e4 Some preliminary setup for the Game Settings page 2020-08-14 23:45:23 -04:00
Chris Wilson b47e8cbbf2 Move HTML generation back to JavaScript.
- Functionality maintained
- File operations removed from server
- Browsers should again be able to cache the tutorial
2020-08-14 20:09:59 -04:00
Fabian Dill 87ea87a2e9 update modules, move markdown requirement and add tutorial caching 2020-08-14 19:29:59 +02:00
Chris Wilson ecc599d097 Move markdown handling to Python. Enable multi-language support for tutorial. 2020-08-13 22:26:42 -04:00
Chris Wilson 9352687d61 Update tutorial to correct an oversight and add more content. 2020-08-13 21:24:11 -04:00
Fabian Dill da3a65fd53 Move downloads to downloads.py 2020-08-03 19:27:40 +02:00
Chris Wilson 8e8bce4d9a Update directory structure in WebHostLib 2020-08-02 19:10:42 -04:00
Fabian Dill 22abd09087 WebHost: On-Server rolling 2020-08-02 22:11:52 +02:00
Fabian Dill e4e57432e3 <filename> route needs sanitazition, as it can escalate to parent folders and grab any file from the server. 2020-08-01 02:32:48 +02:00
Chris Wilson d5d6c717e0 Add tutorial page, favicon.
- The tutorial is written in markdown and transformed into HTML via Javascript, so anyone can edit it without knowledge of web development.
2020-07-31 19:59:33 -04:00
Fabian Dill 8696ee4c9e WebHost: Use B64encoded UUIDs for links.
Warning: This will break old links
2020-07-27 05:04:49 +02:00
Fabian Dill 63cbdb9449 WebHost: Add a yaml checker 2020-07-27 04:05:42 +02:00
Fabian Dill 5cd5223ae0 WebHost: Add youtube livestreaming and autogenerated multistream link 2020-07-25 22:40:24 +02:00
Berserker66 cdee9e5a3a WebHost: Move module into WebHostLib to prevent shadowing WebHost.py 2020-07-11 16:59:37 +02:00
Renamed from WebHost/__init__.py (Browse further)