Commit Graph

1005 Commits

Author SHA1 Message Date
Kaito Sinclaire 41a58084f1 Options for amount of time given in timer modes
(Primarily to make Timed OHKO a viable multiworld and/or mystery option,
but also works with other timer modes as well)
2020-10-28 16:20:59 -07:00
Fabian Dill 3eca405595 add expected urls to api response 2020-10-28 20:53:19 +01:00
Fabian Dill 2ee913f0ce add multiworld size limit to rolling endpoint 2020-10-28 19:44:43 +01:00
Fabian Dill 1afdd473ca add already encoded seed id to api answer 2020-10-28 19:36:51 +01:00
Fabian Dill cea83559f0 An api endpoint for rolling
WIP
2020-10-28 09:09:15 +01:00
CaitSith2 83db79815a Make multiclient/multiserver/tracker keydropshuffle aware 2020-10-27 00:53:32 -07: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 172d26ffb2 Swap out PNG files for SVG files, add proof-of-concept style for upload page. 2020-10-25 11:49:12 -04: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 1d58f54101 move ALTTP to its own world folder 2020-10-24 05:38:56 +02:00
Edos512 b91a627b32
Added options from Maseya Palette Randomizer (#145)
Add remaining palette shuffle options
2020-10-24 02:44:27 +02:00
Fabian Dill e6e7431892 update flask compress
(cxFreeze also has an update but is not a requirement for running, only compiling)
2020-10-20 20:35:36 +02:00
Fabian Dill 4f8c737eec squashed commit of many breaking changes
Dropping Support for Python 3.7; adding support for Python 3.9
2020-10-19 08:26:31 +02:00
Fabian Dill 94dafa3c55 Open Breaking changes 2020-10-18 23:07:48 +02:00
Fischfilet89 a730a4b597
Updated tutorial_de.md
fixed minor typos and tidied up a bit
2020-10-18 21:03:24 +02:00
Chris Wilson c714131b37 Fix the player settings page generating yaml files with string keys containing integers 2020-10-18 00:51:50 -04:00
Chris Wilson 008f38400d Update Player Settings page to include new yaml options. Event sprite options are forthcoming. 2020-10-16 19:33:42 -04:00
CaitSith2 deb18c64f6 Update the playerSettings.yaml with the new option. 2020-10-15 15:39:37 -07:00
Edos512 b06e91c2b7
Updated spanish tutorial (#143)
* Added triforce hunt mode

Added modes to calculate the extra available triforce pieces in mystery seeds:
availabe: classic mode
extra: available= required+extra
percentage : available =required*(percentage/100)

Added new options to the player settings generator

* Corrections of default values

Correct default values in playerSettings.yaml

Add new options to WebHostLib\static\static\playerSettings.yaml

* Fixed value for extra percentage

0 would do the same effect as 100 but wanted to be correct

* Update tutorial_es.md

Updated translation
2020-10-03 19:17:34 +02:00
Chris Wilson 5a587e4c79 Update German tutorial to use Grrmo's YouTube tutorial. Update sent by Fischfilet. 2020-09-28 21:24:51 -04:00
Chris Wilson 26b75ca9df Add German tutorial by Fischfilet and fix [Object object] bug in Player Settings page 2020-09-25 23:57:16 -04:00
Chris Wilson c8fbbd652c Update to French tutorial by Coxla 2020-09-24 17:58:35 -04:00
Chris Wilson e00e765f13 Corrected a couple grammar errors. 2020-09-23 18:49:39 -04:00
Chris Wilson 6a0c91322c Tutorial updates for Website. Added French tutorial by Coxla. 2020-09-23 18:47:04 -04:00
Edos512 068659fcb4
Extra Triforce pieces modes (#141)
* Added triforce hunt mode

Added modes to calculate the extra available triforce pieces in mystery seeds:
availabe: classic mode
extra: available= required+extra
percentage : available =required*(percentage/100)
2020-09-23 19:43:18 +02:00
CaitSith2 a5c188a04e Add prize shuffle to online yaml generator. 2020-09-19 22:10:48 -07:00
Chris Wilson 71200baa98 Add spanish tutorial (tutorial_es.md). Contributed by Edos.
- Also add a language selector to the tutorial page
2020-09-19 15:20:13 -04:00
CaitSith2 3f61f82f24 Update Player Settings Generator with additions. 2020-09-18 09:16:23 -07:00
Chris Wilson c56b288d85 Fix a bug in player settings causing Timed OHKO to initially display as [Object Object] 2020-09-13 00:17:46 -04:00
Fabian Dill 99517021c8 Fix DB scheduling on mariaDB 2020-09-09 01:41:37 +02:00
Fabian Dill 88c28c3e83 WebHost: fix a typo on upload.html 2020-09-06 16:32:12 +02:00
Chris Wilson 3acf764097 Fix a bug in player-settings causing new sprite entries to display the input at a zero, while the true value is 50. Also fix playerSettings.yaml to not default to disabling in-game music. 2020-09-05 19:10:48 -04:00
Chris Wilson 6632a59b64 Implement sprite options in Player Settings 2020-09-05 18:51:46 -04:00
Chris Wilson 0236097809 Add alternate font toggle to WebUI 2020-08-31 02:02:54 -04:00
Fabian Dill 10f8a27356 WebHost: read spoiler log from zipfile correctly 2020-08-30 16:46:25 +02:00
Chris Wilson 6a7633e51e Add player-settings link to landing page 2020-08-27 21:39:45 -04:00
Chris Wilson b5ee2edca5 Player Settings fully operational, but missing sprite options 2020-08-27 21:31:18 -04:00
Chris Wilson 3b159632b5 Add tooltips to Player Settings page. 2020-08-26 23:57:24 -04:00
Chris Wilson de93790882 More work on the Player Settings page 2020-08-26 23:38:13 -04:00
Chris Wilson ad895f045c Nuked the schema file and create my own. Works much better. 2020-08-25 20:51:11 -04:00
Chris Wilson 4126d48d0d Change a couple filenames and move some files around. 2020-08-23 18:24:09 -04:00
Fabian Dill 40e4e3c0c6 WebHost: correct easy.yaml to playerSettings.yaml 2020-08-23 14:40:50 +02:00
Chris Wilson c57374a5ff Add JSON schema for player settings, which playerSettings.yaml (formerly easy.yaml) will need to conform to when parsed to JSON. 2020-08-22 19:03:09 -04:00
Chris Wilson 79170f8195 Solid progress on Game Settings 2020-08-19 21:51:59 -04:00
Fabian Dill e76887d0bf WebHost: Give user feedback if generator failed. 2020-08-18 02:06:35 +02:00
Fabian Dill 39f85aa291 WebHost: job pool based world generation 2020-08-18 01:18:37 +02:00
Fabian Dill 74179308ec apply P number targeting fix to uploads 2020-08-15 15:17:31 +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 6c29f86115 Reimplement anchor navigation via Javascript 2020-08-14 00:03:07 -04: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 2a2452e30f update landing with dynamic links and counter for Seeds 2020-08-13 09:23:52 +02:00
Chris Wilson 882c5841f0 Quick style fix for filename 2020-08-12 23:36:51 -04:00
Chris Wilson d2b17b69d2 Add a Setup Guide button to the landing page 2020-08-12 23:20:45 -04:00
Chris Wilson 39bfdc244b Implement written tutorial page 2020-08-12 23:07:26 -04:00
Fabian Dill dbf7a185d9 Fix incorrect player number targetting if player name contains P 2020-08-10 09:17:21 +02:00
Chris Wilson 1cb8c82d4b Fix tutorial markdown not loading 2020-08-03 23:19:35 -04:00
Fabian Dill da3a65fd53 Move downloads to downloads.py 2020-08-03 19:27:40 +02:00
Fabian Dill 2a8f39a0a1 correctly report back broken yaml files 2020-08-03 19:19:36 +02:00
Fabian Dill 5c9b3dbdbc WebHost: sort patches by player ID 2020-08-03 06:41:25 +02:00
Fabian Dill d511dc7347 WebHost: Spoiler is now longstr, which doesn't need BOM handling 2020-08-03 06:38:30 +02:00
Fabian Dill 2716b78d07 WebHost: Sort patch files 2020-08-03 04:29:46 +02:00
Berserker66 2fa9253775 WebHost: Make sure there's enough space reserved for a multiworld spoiler 2020-08-03 04:19:36 +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 b7e52c4348 correct tutorial path 2020-08-01 02:42:32 +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 962b420299 WebHost: Fix internal server error if hint field is empty 2020-07-30 01:00:55 +02:00
Chris Wilson 1abc6b2b2e Include a style file for tooltips. 2020-07-29 18:54:44 -04:00
Fabian Dill daf4ac8117 WebHost: Tracker updates
- use long player names for hint table
- allow multistream link to be updated without page refresh
- add a notice that the tracker is self updating
2020-07-29 21:35:31 +02:00
Fabian Dill ab54921665 WebHost: make multistream usernames unique 2020-07-28 17:19:54 +02:00
Fabian Dill bca1a2d9e0 WebHost: Automatic !hint tracking 2020-07-27 19:30:31 +02: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
Chris Wilson 89cea382ea Fix the magic powder sprite resolution 2020-07-26 08:25:54 -04:00
Chris Wilson c9badb2b34 The most important change to ever grace this repo 2020-07-26 08:14:06 -04:00
Chris Wilson e384c9ed6d Tables now automatically resize themselves to fit page height 2020-07-25 22:07:35 -04:00
Chris Wilson d1af7de6fe Merge remote-tracking branch 'origin/master' 2020-07-25 17:27:07 -04:00
Chris Wilson 1d22c7fb97 Fix thead not sticking properly in chromium-based browsers, restore scroll-sync 2020-07-25 17:24:23 -04:00
Fabian Dill 9f5d9847f0 WebHost: Clean up some whitespace 2020-07-25 22:53:46 +02:00
Fabian Dill 5cd5223ae0 WebHost: Add youtube livestreaming and autogenerated multistream link 2020-07-25 22:40:24 +02:00
Chris Wilson aacd5b4063 Center last activity column 2020-07-25 02:10:49 -04:00
Chris Wilson 3ea435c66c Style fixes for tracker page
- Restore single search bar
- Restore cell borders
- Restore row highlighting on hover
- Utilize more vertical space
- Remove sorting arrows
2020-07-25 02:07:52 -04:00
Fabian Dill c41ffdeb80 WebHost: restore automatic tracker refresh 2020-07-24 03:57:44 +02:00
Chris Wilson 051555ef14 Prevent overloading of window.onload 2020-07-23 20:54:25 -04:00
Chris Wilson f484ed0274 Overhaul of styles for DataTables, re-add Cookie Notice 2020-07-23 03:21:26 -04:00
Chris Wilson da38029ee7 Fix upload button doing nothing. Caused by script tag in head overriding window.onload, which was already declared in uploads.js 2020-07-22 22:44:52 -04:00
Fabian Dill 78c85cce14 WebHost: List Rooms in a sortable table 2020-07-21 23:15:19 +02:00
Fabian Dill d005f6e1e1 WebHost: fix landing page caching and mention amount of multiworlds in the last week. 2020-07-21 06:35:47 +02:00
Fabian Dill ac238d9b14 WebHost: Don't count exit saving as activity, thereby creating a hosting loop 2020-07-20 14:17:05 +02:00
Fabian Dill cb4d2d1ef0 Tracker: Use Icons for header where appropriate 2020-07-19 22:32:56 +02:00
Fabian Dill 611a38be67 Tracker: Only show AT and HC big key in DoorRando 2020-07-19 21:15:55 +02:00
Fabian Dill 4b155677fa javascript import ordering is a thing~ 2020-07-19 20:55:03 +02:00
Fabian Dill e13136ea7d restore tracker to known ugliness 2020-07-19 20:52:04 +02:00
Chris Wilson 3e86347389 Remove debug logs 2020-07-18 23:02:41 -04:00
Chris Wilson 5fdc3f757b Fix import paths and restore tracker functionality 2020-07-18 23:01:35 -04:00
Chris Wilson 69f5802e7a Improved styling for WebHost 2020-07-18 16:25:07 -04:00
Fabian Dill 1d036c0d3c add compatibility server setting 2020-07-16 16:57:38 +02:00
Fabian Dill 626b6b0521 fix loading old savegames from ponyorm DB 2020-07-16 02:29:36 +02:00
Fabian Dill bdf95775ac Tracker: don't count to 3 Bows
Silver Bow sets 2, Bow then did +1 -> 3
2020-07-12 23:27:21 +02:00
Berserker66 963bb7998c WebHost: Correct WebHost tag 2020-07-11 17:44:52 +02:00
Berserker66 cdee9e5a3a WebHost: Move module into WebHostLib to prevent shadowing WebHost.py 2020-07-11 16:59:37 +02:00