Commit Graph

145 Commits

Author SHA1 Message Date
Neale Pickett 47671b9a12 jsdoc fixes (maybe?) 2023-09-07 16:32:06 -06:00
Neale Pickett 99d7245c49 Full moth.mjs, and an example to use it 2023-09-07 16:16:46 -06:00
Neale Pickett fcfa11b012 Initial work on #190 2023-09-01 17:59:09 -06:00
Neale Pickett 67e8dda39d Remove use of participant ID
fixes #176
2023-03-23 14:28:11 -06:00
Ken Knudsen f7945fcf3b Added responsive design elements and separated the scores from the team names to reduce overlap. Use side-by-side view on large screens. 2021-08-13 00:22:15 +00:00
Neale Pickett fb22032638 Update theme to new Puzzle struct 2021-02-24 17:01:44 -07:00
Neale Pickett 2297fc7fd7 Remove legacy stuff from theme 2020-12-02 17:06:59 -07:00
Neale Pickett bb2565b06d JSON dicts for back-end API 2020-10-16 14:18:44 -06:00
Neale Pickett 1080783eb9 Fix bug with registration on actual filesystems 2020-10-13 19:48:37 -06:00
Neale Pickett 8874aad7cb Fix bug that required id to get puzzle content 2020-10-13 18:33:12 -06:00
Neale Pickett b39e287e41 Debug prod server, apparently for the first time. 2020-10-13 16:41:50 -06:00
Neale Pickett cc93eb164b Wrap overflow in developer box 2020-09-15 10:08:19 -06:00
Neale Pickett ccd9cea29d Standardize cat/puzzle command args 2020-09-14 18:23:56 -06:00
Neale Pickett 522e5dbf6c Pull out puzzle.py puzzles.
Since these depend on stuff I'm about to yank out
(and John is about to fork into a new "moth" Python library),
they no longer belong in this source tree.
2020-09-11 17:51:43 -06:00
Neale Pickett 94bc9472b7 Port some example puzzles 2020-09-11 17:33:43 -06:00
Neale Pickett 490ac78f15 mkpuzzle working in dev mode 2020-09-11 13:03:19 -06:00
Neale Pickett 2a3826e2b3 Mostly documentation in Go files 2020-08-17 17:43:57 -06:00
Neale Pickett ab0488ba14 Running again, fix scoreboard.js 2020-08-14 20:26:04 -06:00
Neale Pickett cedc8521ff Merge branch 'devel' into v4 2020-08-14 18:01:25 -06:00
Neale Pickett cd37e1ee3a Sort attachments, add icon back 2020-08-14 11:06:02 -06:00
John Donaldson 34155cef43 Merge branch 'master' of https://github.com/dirtbags/moth into devel 2020-03-16 16:37:55 +00:00
Neale Pickett 742020a597 Support insta-checking for legacy puzzles 2020-03-16 10:20:03 -06:00
John Donaldson fc7c818789 Merge branch 'master' of https://github.com/dirtbags/moth into devel 2020-03-13 21:20:07 +00:00
John Donaldson 22abc1f848 Revert "Help with this puzzle link"
This reverts commit 1b8053d9b5.
2020-03-12 16:26:52 +00:00
Neale Pickett 1b8053d9b5 Help with this puzzle link 2020-03-11 17:35:46 -06:00
Neale Pickett 989bc2978e Fix for *pattern 2020-03-11 16:19:37 -06:00
Neale Pickett 47edd56937 Attempt to make client work with v3.4 and earlier mothballs 2020-03-10 16:40:37 -06:00
Neale Pickett fe0805e9c1 Also set xAnswer for wrong answers 2020-03-10 15:03:32 -06:00
Neale Pickett a963daa19a submit right form, remove debugging 2020-03-10 14:28:50 -06:00
Neale Pickett 04136ef264 Support patterned answers 2020-03-10 13:31:38 -06:00
Neale Pickett c3cf75fc90 I think we have a working server, folks 2020-03-01 18:01:01 -06:00
Neale Pickett 81fae86b49 Bring back a devel server for debugging 2020-03-01 13:44:21 -06:00
Neale Pickett 03b988d556 Hacky update to fetchAll 2020-02-29 22:49:38 -07:00
Neale Pickett 7e8dbb95b2 Hacky update to fetchAll 2020-02-29 22:49:20 -07:00
Neale Pickett 5fbc4753de /state and /register working 2020-02-29 22:37:22 -07:00
Neale Pickett 5e5592b0d4 Stubby state, tests passing 2020-02-29 18:36:59 -07:00
Neale Pickett 8ed07e2e29 Bring in theme from devel 2020-02-29 17:12:35 -07:00
Neale Pickett 4a73bb0910 Theme back to previous functionality with dev server 2020-02-28 16:01:35 -07:00
Neale Pickett 94acae13ca Theme doing devel detection properly with new state 2020-02-28 15:42:55 -07:00
Neale Pickett 761811d71b Make top-scoring team take full width 2019-11-20 16:23:01 -08:00
Donaldson bab22b8e79 Merge branch 'master' of https://github.com/dirtbags/moth into neale 2019-11-17 18:10:30 -06:00
Neale Pickett 7fd55cc904 Fix double-percentage scoreboard bug 2019-11-15 13:40:05 -08:00
Neale Pickett 168f0b80ec
Merge branch 'v3.4_devel' into 81-support-downloading-open-content 2019-11-13 13:52:30 -07:00
Neale Pickett 78802261c9 Merge remote-tracking branch 'origin/v3.4_devel' into neale 2019-11-12 19:10:52 +00:00
Neale Pickett 01b171f10a Local copies of JavaScript libraries 2019-11-12 19:06:15 +00:00
Neale Pickett 4f3c3fbd04 Notices + simpler example theme content 2019-11-10 16:21:50 -07:00
Neale Pickett 7518ffca42 Notices + simpler example theme content 2019-11-10 15:49:42 -07:00
John Donaldson def3ca4f0e Use native JS URL objects instead of wrangling everything by hand 2019-11-08 19:46:56 +00:00
John Donaldson dce4e7ea32 Merge branch 'v3.4_devel' of https://github.com/dirtbags/moth into 81-support-downloading-open-content 2019-11-08 19:28:37 +00:00
John Donaldson cea803ee92 Chanding how cache button is drawn/hidden 2019-11-08 19:24:33 +00:00
John Donaldson ae882ff349 More small fixes 2019-11-07 19:38:03 +00:00
John Donaldson 9b047e7821 Merge branch '81-support-downloading-open-content' of https://github.com/dirtbags/moth into 81-support-downloading-open-content 2019-11-07 19:36:14 +00:00
John Donaldson 82b948c5c7 Converting to URL objects 2019-11-07 19:34:53 +00:00
int00h5525 1ea739207b
Apply suggestions from code review
Co-Authored-By: Neale Pickett <neale@woozle.org>
2019-11-07 13:25:48 -06:00
int00h5525 0d4b1e9e19
Update theme/scoreboard.html
Co-Authored-By: Neale Pickett <neale@woozle.org>
2019-11-06 12:21:43 -06:00
int00h5525 d44fe0851b
Update theme/puzzle.html
Co-Authored-By: Neale Pickett <neale@woozle.org>
2019-11-06 12:21:35 -06:00
int00h5525 f140b95c03
Update theme/manifest.json
Co-Authored-By: Neale Pickett <neale@woozle.org>
2019-11-06 12:19:42 -06:00
Neale Pickett a3c214da1d More ASI 2019-11-04 16:28:35 +00:00
Neale Pickett b5b578e08a We use ASI 2019-11-04 16:22:44 +00:00
Neale Pickett abfbafa6f6 Code to collect participant IDs 2019-11-02 15:24:01 -06:00
John Donaldson 54ff708c5b Removing unecessary logging 2019-10-28 18:33:29 +00:00
John Donaldson 18ee0ab3a2 Hiding some debug messages
Only cache results for HTTP GETs
2019-10-28 18:11:48 +00:00
John Donaldson 3fc84e532e Allowing cached results for static puzzle content 2019-10-28 18:11:25 +00:00
John Donaldson 7cea6e919e Changing manifest URL
Removing unecessary dehydrator
2019-10-28 17:38:27 +00:00
John Donaldson 95bcc860e0 Working cache support 2019-10-25 23:53:40 +01:00
Neale Pickett 0110508464 Bring points.json comment into json parser compliance 2019-10-25 14:10:02 +00:00
Neale Pickett 9be527fa8f Scoreboard: attempt to make a more universal javascript 2019-10-24 22:21:42 -06:00
Neale Pickett bf44352fd7 New draggable list helper 2019-09-10 00:31:34 +00:00
Neale Pickett 4df0ace18e Culturally neutral emoji based on observations at Augusta Puzzle event 2019-03-08 20:46:22 -05:00
Neale Pickett a36dbb48be Show base URL on scoreboard 2019-03-07 14:53:58 +00:00
Neale Pickett dbb90d0105 Remove some more aiohttp-isms 2019-02-27 23:15:45 +00:00
Neale Pickett dc2c3dbc79 bugfixes to dev server + helpers.js 2019-02-26 16:52:23 -07:00
Neale Pickett dc4fa96f9e Mention constraint validation API as room for future growth 2019-02-24 17:13:26 -07:00
Neale Pickett 60277f6a7e HTML5 input patterns, plus jas djb2hash fix 2019-02-24 17:02:28 -07:00
Neale Pickett 15503cb45b Check user-supplied answers for possible correctness 2019-02-24 11:53:22 -07:00
Neale Pickett c726847cb9 Add answer checking to dev server 2019-02-23 12:04:42 -07:00
Neale Pickett 5d1886b9e6 Finish porting to pure-json RPC 2019-02-22 20:46:52 -07:00
Neale Pickett 8e67abe0c0 Now you can hit enter to sign in 2019-02-22 19:09:38 -07:00
Neale Pickett 02ed2162c2 teamid auth to puzzles.json is working in prod and dev servers 2019-02-22 19:03:11 -07:00
Neale Pickett 33b4f391c9 Add moth.js 2019-02-23 00:52:41 +00:00
Neale Pickett ad9dab3d8f work on updated client API 2019-02-23 00:43:04 +00:00
Neale Pickett 651c8fdfa4 Path traversal fix, beginning to work on teamid as auth 2019-02-21 22:08:21 -07:00
Neale Pickett 7a95f0810e Add some sample points data for the devel server 2018-10-11 23:01:26 +00:00
Neale Pickett aa23e248b4 Clean up and comment js in puzzle list and scoreboard 2018-10-10 23:33:26 +00:00
Neale Pickett ab0cd35d2f Clean up and comment javascript in puzzle.html 2018-10-10 22:56:15 +00:00
Neale Pickett 10daac3988 oops, checked in some non-working experimental code 2018-10-10 20:59:55 +00:00
Neale Pickett 2f2fd51607 A simpler and better way to munge relative URLs 2018-10-10 20:23:36 +00:00
Neale Pickett d8a26fa30e scripts now loading, more devel presentation work 2018-10-10 00:05:58 +00:00
Neale Pickett 72f1a7d47d More robust theme handling 2018-10-09 22:05:02 +00:00
Neale Pickett 97a7e09f35 Devel server using themes 2018-10-03 01:21:54 +00:00
Neale Pickett c2ad11cfeb Remove references to missing icons from theme 2018-10-02 22:02:25 +00:00
Neale Pickett 68b3cc6218 Move the idea of "tokens" into the client 2018-10-02 21:54:22 +00:00
Neale Pickett d4d867f688 Oops, remove that concat hack 2018-10-02 17:08:30 +00:00
Neale Pickett 1a70a49c5d Fixes from SECOR spark
* Puzzle list word-wraps
* Puzzle pull mutation handler can cope with non-HTML nodes
2018-10-02 15:22:09 +00:00
Neale Pickett d1b41dd8aa Stop trying to put static files in the binary 2018-09-27 23:12:29 +00:00