Commit Graph

98 Commits

Author SHA1 Message Date
e5ac660413
Add vim keybindings, man pages 2023-02-11 00:08:30 -07:00
bf9363aaf8
Show previous move in message body, which notification is now instant, add check highlighting 2023-02-08 22:06:58 -07:00
2bd03144da
Increase move notificatino delay, decrease creation notification delay, and surround username in quotes for ssh config 2023-02-03 12:58:19 -07:00
8b13802918
Fix warnings 2023-02-01 22:58:57 -07:00
Simponic
47d3f28f16
Discord threads (#16)
* Add initial support for discord threads

* Finish thread creation
2023-02-01 22:55:06 -07:00
Simponic
a26256700d
Do not send notifications when game is over & fix promotion screen (#15) 2023-02-01 17:36:39 -07:00
Logan Hunt
e05a6d36bb
Ensure status is continue before sending notifs 2023-02-01 16:02:49 -07:00
Simponic
fe5f5b77fc
Discord notifs (#14)
* Add role id to config

* Add discord notifications for games

* Fix discord discriminant tests
2023-02-01 14:57:14 -07:00
Logan Hunt
324d041d5c
Fix upsert on discord id conflict 2023-02-01 11:58:57 -07:00
Logan Hunt
4edaae9343
Allow nodes to use default connection API to stop kernel "panic" 2023-02-01 10:46:12 -07:00
Logan Hunt
9b5133dcbb
Fuck it. Environment variable hack. 2023-02-01 10:25:20 -07:00
Logan Hunt
0ad97a374a
More config. This is getting tiresome 2023-02-01 10:02:27 -07:00
ce27bfc871
Increase multicast subnet for discovery 2023-02-01 09:16:51 -07:00
3b8d0c4458
Multicast instead of .hosts.erlang 2023-02-01 08:51:20 -07:00
bd49a76dc3
Set cookie, remove unnecessary expose's 2023-01-31 21:21:45 -07:00
800d479863
Add discriminator to username when oauth'd 2023-01-31 20:59:01 -07:00
Logan Hunt
e4c387d7a5
Increase game creation rate to 3 2023-01-31 19:42:46 -07:00
Logan Hunt
d5cb570e2a
Use long names in release distribution 2023-01-31 19:30:27 -07:00
Logan Hunt
f141a7bea9
Fix proxy files and erlang hosts 2023-01-31 19:17:08 -07:00
Logan Hunt
b6d4f7044f
Elixir cluster! 2023-01-31 19:07:47 -07:00
Logan Hunt
ce5f598331
Fix front pwd and epmd 2023-01-31 17:40:50 -07:00
Logan Hunt
58eb3df0f4
Whoops 2023-01-31 17:04:15 -07:00
Logan Hunt
049bd83256
Change build dir in buildscripts 2023-01-31 17:02:32 -07:00
Logan Hunt
f05daabe0d
Incorrect server redirection uri fix 2023-01-31 17:01:02 -07:00
Logan Hunt
387ac72d1b
Distributed build tasks!! 2023-01-31 15:59:33 -07:00
Logan Hunt
e3604eaeb8
Add env in frontend docker file 2023-01-31 14:45:29 -07:00
Logan Hunt
cac78a4f4e
Move to discord oauth 2023-01-31 14:04:23 -07:00
Logan Hunt
e5d97870a1
Rate limit game creation 2023-01-31 12:44:15 -07:00
4394d4721c
Add prod to git, move back to no-one user in server docker container 2023-01-29 17:14:55 -07:00
ecd07b0c9b
Set ssh port in test config, move asciinema-player to reg deps 2023-01-29 00:15:25 -07:00
593a631a56
Ensure board is flipped when starting a game as dark, move some constants to environment variables, minor frontend changes: 2023-01-28 22:56:10 -07:00
Simponic
bb66cd91a3
Add last move schema, add highlighting in renderer (#13) 2023-01-27 22:31:15 -07:00
841ea41dae
Only select from if piece there 2023-01-27 16:40:41 -07:00
7a574f73f9
Don't allow promotion unless player is same color 2023-01-27 16:04:34 -07:00
Simponic
5220ac5823
Fix initial render when game joined by creating new state in genserver init, also some more color changes 2023-01-25 12:58:02 -07:00
Logan Hunt
ab5fc4a077
Update elixir.yml 2023-01-24 12:43:08 -07:00
Simponic
f8fd8fe39f
Add redis service for github workflow - will it work first try? 2023-01-24 12:19:27 -07:00
Logan Hunt
24bf3de5f9
Ran npm update 2023-01-24 12:14:53 -07:00
Logan Hunt
ce06ddd669
Redis time 2023-01-24 12:14:07 -07:00
Simponic
a634901317
Remove annoying alert 2023-01-20 23:58:28 -07:00
Simponic
804d47d81d
Fix test by reverting expired session closing logic 2023-01-20 23:48:34 -07:00
Simponic
5dbe76f6c2
Stop screen pid when screen process changes 2023-01-20 23:33:52 -07:00
Simponic
06f1ca7603
Add pagination menus 2023-01-20 23:12:23 -07:00
Simponic
e0058fedfb
Refactor client game for a bit 2023-01-20 08:43:18 -07:00
Logan Hunt
4666d7871a
Web Client (#11)
* Github Oauth

* A simple frontend

* Add middleware proxy on dev

* Forward proxy and rewrite path, add oauth to frontend, increase jwt expiry time to 12 hours

* Some simple style changes

* Add keys as user

* Checkpoint - auth is broken

* Fix auth and use player model, unrelated to this pr: flip board if dark

* Close player session when password or key deleted or put

* Add build script - this branch is quickly becoming cringe

* Docker v2 - add migration and scripts, fix local storage and index that caused build issues

* Ignore keys, proxy api correctly nginx

* Finally nginx is resolved jesus christ

* Remove max screen dimension limits cuz cringe

* Cursor highlight

* Add password form, some minor frontend changes as well

* Remove cringe on home page

* Move to 127.0.0.1 loopback in env

* Add github id in player structs for tests
2023-01-19 14:04:10 -07:00
Logan Hunt
bdf99b4ee9
Persistent game (#5)
* Remove unnecessary server in board

* Initial persistent games

* Remove done chessh README stuff, warning issue

* Show current players and move

* Add promotion

* Merge default changeset on all status
2023-01-17 14:00:18 -07:00
Logan Hunt
53be77e2c5
Merge pull request #4 from Simponic/fix_pubkey
Fix pubkey
2023-01-13 21:23:46 -07:00
Simponic
2b06f5bf47
Move port on test 2023-01-13 21:08:44 -07:00
Simponic
a607da7918
Decrease burst ms again, fix insertion error with player session when using public key 2023-01-13 21:07:00 -07:00
Simponic
ea51b89dc6
handle_info instead of cast, @impl in serverkey 2023-01-13 20:00:48 -07:00