Commit Graph

106 Commits

Author SHA1 Message Date
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
Logan Hunt
87e42b29f0
Process linking 2023-01-13 18:02:37 -07:00
Logan Hunt
9f56b735c6
Selectable menu 2023-01-13 17:48:00 -07:00
Logan Hunt
b1b62f154a
Merge pull request #3 from Simponic/draw_board
Draw board
2023-01-13 17:02:31 -07:00
Logan Hunt
3a6c603b0b
Change some colors around 2023-01-13 17:02:11 -07:00
Logan Hunt
80843947e0
Remove warnings 2023-01-13 16:44:45 -07:00
Simponic
b072f8421c
Add flipped 2023-01-13 13:49:24 -07:00
Logan Hunt
07eaad9b8d
Move renderer to its own module 2023-01-13 12:21:04 -07:00
Simponic
a93119b250
Binbo start link 2023-01-13 10:00:58 -07:00
Simponic
aa2ff6e137
Checkpoint 2023-01-11 19:14:47 -07:00
Simponic
628c6d95a3
Done moving menu to genserver architecture 2023-01-11 14:21:48 -07:00
Simponic
2ce03d4796
Checkpoint\? 2023-01-11 09:54:05 -07:00
Simponic
779c75dbe4
Highlight a square 2023-01-06 22:29:01 -07:00
Simponic
5b8dc2cb98
Checkpoint - board is drawn! 2023-01-06 21:05:01 -07:00
Logan Hunt
ce62dd6106
Board drawing working 2023-01-06 17:48:26 -07:00
Simponic
bff9fd0a6a
Well it's drawing *something* 2023-01-04 20:43:32 -07:00
Logan Hunt
fdc2287528
Remove board alias 2023-01-04 16:14:11 -07:00
Logan Hunt
1536d0192f
Move to a new state when menu option selected 2023-01-04 15:22:28 -07:00
Simponic
93ae544684
Create a Screen module behaviour, some ascii character arts, handle_input does stuff now 2023-01-04 00:03:38 -07:00
Logan Hunt
720a110c95
Fix issue when username is nil 2023-01-03 16:47:27 -07:00
Simponic
16281b0e8d
Now a simple logo draws in the center of the terminal, terminal size is limited, and resizing support 2023-01-02 19:10:23 -07:00
Simponic
2bf058d5db
Cleanup after some tests in ssh auth 2022-12-31 16:36:13 -07:00
Simponic
52a3ed7c57
Better logging, close previous sessions once session threshold has been reached 2022-12-31 16:33:12 -07:00
Simponic
58d0b1a89c
A simple stalling TUI! Also, ensure sessions are counted correctly. Next up, some way of pub-sub across multiple nodes 2022-12-31 02:31:58 -07:00
Simponic
3308036c08
Remove .env 2022-12-30 05:57:28 -07:00
Logan Hunt
52fbc0b016
Merge pull request #2 from Simponic/erlang_ssh_server
Erlang ssh server #2
2022-12-30 05:53:15 -07:00
Simponic
e7d8c61487
More warning squashing 2022-12-30 05:51:47 -07:00
Simponic
9add1557b3
Ignore unused cli vars 2022-12-30 05:49:40 -07:00
Simponic
42425b0226
Add scalable session thresholds 2022-12-30 05:46:35 -07:00
Simponic
60eea1b4ed
Ignore .env 2022-12-29 21:16:25 -07:00
Simponic
1e91c61c6d
Increase threshold for password/key auth timeout 2022-12-29 18:49:46 -07:00
Logan Hunt
c143bb549c
Merge pull request #1 from Simponic/erlang_ssh_server 2022-12-29 18:37:51 -07:00
Simponic
479ca815e3
Add redis comment 2022-12-29 18:36:33 -07:00
Simponic
aaeef8158d
increase limit ms in test 2022-12-29 18:35:24 -07:00
Simponic
d1e02a3cc2
Add node id in github workflow 2022-12-29 18:29:40 -07:00
Simponic
4b9ccbf108
Package changes 2022-12-29 18:27:15 -07:00
Simponic
0aab3c2027
Make tests pass, rename jail threshold 2022-12-29 18:04:38 -07:00
Simponic
1a2bdccf12
Add scalable nodes and user sessions 2022-12-29 17:21:20 -07:00
Simponic
10bc34245e Initial erlang stuff 2022-12-27 23:50:22 -07:00
Simponic
f7c2ccbe26 Remove shell and esshd - moving to erlang ssh server 2022-12-22 15:27:55 -07:00
Simponic
fed5d8a9e7 Add a simple echo server 2022-12-21 17:21:36 -07:00
Simponic
b18899ffaf Add make_keys script 2022-12-21 14:05:10 -07:00
Logan Hunt
90c62c2fe0
Update elixir.yml 2022-12-19 21:06:03 -07:00