Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | linter: some work on lints | stuebinm | 2022-03-19 | 1 | -34/+41 |
| | |||||
* | unbreak a very, very long rebase | stuebinm | 2022-03-19 | 1 | -5/+4 |
| | |||||
* | remove leftover rc3 things & some new stuff | stuebinm | 2022-03-19 | 1 | -40/+28 |
| | | | | | | | | | | | | | this removes: - the bbb properties - all explicit mentions of rc3 - the weird script domain hacks (done via a substitution now) - some (few) of the weirder code choices it also adds some more type level witchery to deal with configs, which for some reason seems to be the hardest problem of this entire program … also the server now does inter-assembly dependency checking! | ||||
* | linter: remove bbb-simulating code | stuebinm | 2022-03-19 | 1 | -31/+3 |
| | |||||
* | make tiled stricter (and organise some imports) | stuebinm | 2022-03-19 | 1 | -31/+31 |
| | |||||
* | separate tiled modules out into own package | stuebinm | 2022-03-19 | 1 | -6/+5 |
| | |||||
* | switch to universum prelude | stuebinm | 2022-03-19 | 1 | -39/+36 |
| | | | | also don't keep adjusted maps around if not necessary | ||||
* | use hpack and clean up modules | stuebinm | 2022-03-19 | 1 | -3/+4 |
| | | | | as annoying as yaml is, cabal's package format is somehow worse, apparently | ||||
* | use url package for parsing of urls | jonny | 2022-03-19 | 1 | -3/+9 |
| | |||||
* | fixed url injection by means of starting an url with "." and turning the ↵ | jonathan | 2022-03-19 | 1 | -1/+8 |
| | | | | prefix into a subdomain | ||||
* | apparently people are using inter-assembly links internally?? | stuebinm | 2021-12-29 | 1 | -2/+15 |
| | | | | lol | ||||
* | collides isn't unknown on tiles | stuebinm | 2021-12-29 | 1 | -1/+2 |
| | |||||
* | maps, maps, and yet more maps | stuebinm | 2021-12-29 | 1 | -6/+6 |
| | | | | | | | don't add maps to the result if their lint result looks the same as that of another list, just say it happened several times instead (this leads to a rather confusing Eq instance for MapResult which implements a very simple surface-level equality — perhaps change that later) | ||||
* | why aren't boolean values typechecked??? | stuebinm | 2021-12-29 | 1 | -1/+1 |
| | |||||
* | tiles can also have properties like tile layers | stuebinm | 2021-12-29 | 1 | -47/+54 |
| | |||||
* | disallow more things in urls | stuebinm | 2021-12-28 | 1 | -8/+1 |
| | |||||
* | script links can't contain @ | stuebinm | 2021-12-28 | 1 | -1/+3 |
| | |||||
* | open BBBs in new Tab so that they work now :/ | tabascoeye | 2021-12-28 | 1 | -2/+2 |
| | | | PLEASE review! I have no idea of haskell | ||||
* | SECURITY: Fix path traversal in script verification | Serge Bazanski | 2021-12-27 | 1 | -2/+3 |
| | | | | | | | | The following used to be allowed: scripts: https://static.rc3.world/scripts/../maps/81c8add623eea2704f20/e65b545e-342f-4be0-b369-c0eacff7b15d/re-blessed.mp3.js This is obviously not good, as it allows scripts from arbitrary maps. | ||||
* | fix bbb urls a second time … | stuebinm | 2021-12-27 | 1 | -5/+1 |
| | |||||
* | fix bbb url resolution | stuebinm | 2021-12-27 | 1 | -1/+1 |
| | |||||
* | type systems don't protect against off-by-one | stuebinm | 2021-12-27 | 1 | -1/+1 |
| | |||||
* | openWebsiteTriggerMessage can also be used for openTab | stuebinm | 2021-12-26 | 1 | -2/+8 |
| | |||||
* | Allow to copy sounds for custom JS with ObjectProperty `loadSound` | Sven G. Brönstrup | 2021-12-26 | 1 | -1/+1 |
| | |||||
* | separate blocking for separate contexts | stuebinm | 2021-12-26 | 1 | -3/+5 |
| | | | | | (audio links now have their own allowlist, which won't put things through the dereferrer) | ||||
* | change lint msg for property suggestions | stuebinm | 2021-12-26 | 1 | -1/+1 |
| | |||||
* | add lint if people set tilesetCopyright on tiles | stuebinm | 2021-12-25 | 1 | -0/+2 |
| | |||||
* | apply some hlint hints | stuebinm | 2021-12-25 | 1 | -3/+3 |
| | |||||
* | the lobby is allowed to contain defunct links | stuebinm | 2021-12-25 | 1 | -12/+15 |
| | |||||
* | hint if people set collides on tilesets | stuebinm | 2021-12-25 | 1 | -1/+2 |
| | |||||
* | better lint message | stuebinm | 2021-12-25 | 1 | -1/+1 |
| | |||||
* | persist, default aren't always booleans | stuebinm | 2021-12-24 | 1 | -1/+0 |
| | |||||
* | smaller changes | stuebinm | 2021-12-24 | 1 | -1/+1 |
| | |||||
* | allow openWebsiteAllowApi if website is on static.rc3.world | stuebinm | 2021-12-24 | 1 | -2/+12 |
| | |||||
* | allow shared (not just shared-) as prefix for shared jitsis | stuebinm | 2021-12-24 | 1 | -1/+1 |
| | | | | this might make things less confusing for some people | ||||
* | extra lint for people confused by badges | stuebinm | 2021-12-23 | 1 | -3/+4 |
| | | | | tbh I'm confused by them as well | ||||
* | some people define tilesets without images??? | stuebinm | 2021-12-23 | 1 | -1/+3 |
| | |||||
* | openTab's semantics are the same as openWebsite's | stuebinm | 2021-12-23 | 1 | -9/+6 |
| | | | | (it's not a modifier for openWebsite, as I had previously though) | ||||
* | add suggestions for misspelled properties | stuebinm | 2021-12-23 | 1 | -37/+77 |
| | | | | | (suggestions are shown only if they have a Damerau-Levenshtein distance <= 4, which seems to yield reasonably good results) | ||||
* | disallow properties with different capitalisations | stuebinm | 2021-12-23 | 1 | -10/+7 |
| | | | | | since apparently sometimes workadventure is case-insensitive, and sometimes it's not | ||||
* | Fixed types of extended scripts properties | Sven G. Brönstrup | 2021-12-22 | 1 | -3/+8 |
| | |||||
* | shorten Properties.hs | stuebinm | 2021-12-22 | 1 | -152/+76 |
| | | | | | | | down almost 100 lines of code! (and hopefully denotationally equivalent, except for the bits about where it was wrong before and didn't replace uris correctly) | ||||
* | Did some of the desired changes | Sven G. Brönstrup | 2021-12-21 | 1 | -7/+10 |
| | |||||
* | Merge branch 'main' into extended-scripts | Sven G. Brönstrup | 2021-12-21 | 1 | -15/+36 |
|\ | |||||
| * | check that bbbRoom contains a valid assembly_slug | stuebinm | 2021-12-21 | 1 | -7/+12 |
| | | |||||
| * | correct bbb link substitution | stuebinm | 2021-12-21 | 1 | -10/+11 |
| | | | | | | | | | | (unfortunately this one's hardcoded, the config options just aren't general enough) | ||||
| * | generalise unwrapURI a bit | stuebinm | 2021-12-20 | 1 | -4/+19 |
| | | |||||
| * | something something encoding mismatch | stuebinm | 2021-12-20 | 1 | -1/+1 |
| | | |||||
* | | Resolved merge conflict | Sven G. Brönstrup | 2021-12-20 | 1 | -5/+1 |
| | | |||||
* | | Merge branch 'main' into extended-scripts | Sven G. Brönstrup | 2021-12-20 | 1 | -1/+4 |
|\| |