1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
0568b69cbb
Move user creation in tests to a factory 2018-02-02 14:37:20 -05:00
2d816feadd
Trace will disable async tests 2018-02-02 10:59:10 -05:00
ddcb204758
Make session language consistent 2018-02-02 10:31:05 -05:00
1299d4f5e5
User can login and create games 2018-02-02 10:31:05 -05:00
dda4bf0c5a
Validate uniqueness of username 2018-02-02 10:31:05 -05:00
9fb960fa5e
Add log in link and fix game tests 2018-02-02 10:31:04 -05:00
558b4a5ff9
Registration works 2018-02-02 10:31:04 -05:00
c080985fc4
Add invalid username test 2018-02-02 10:31:04 -05:00
5b7c67481c
Default to verbose test output 2018-02-02 10:31:04 -05:00
374524bb1d
User can sign in 2018-02-02 10:31:04 -05:00
e1cdcbac0a
Better auth tests 2018-02-02 10:30:38 -05:00
aeba3083df
Add tests for authenticating user 2018-02-02 10:30:38 -05:00
80e58f765f
WIP: Authentication with Guardian/Comeonin 2018-02-02 10:30:38 -05:00
065e7e02c9
Fix JS and switch to Wallaby 2018-01-19 16:17:35 -05:00
c4755bdfb1
Move model tests to data tests 2018-01-15 21:27:09 -05:00
41a9faabc9
Fix up tests after 1.3 upgrade 2018-01-15 16:06:00 -05:00
43a4299478
Upgrade to Phoenix 1.3
I've also moved everything around to match the new Phoenix 1.3 directory
structure.
2018-01-12 16:47:26 -05:00
3397f2048a
Fix warnings 2017-01-19 12:23:10 +00:00
7ff1b03f89
Refactor the board data structure
Now we're only storing the pieces keyed by the piece position rather
than storing the entire board as a set of nested Maps. This makes moving
pieces much easier. We're also now storing the position as a pair of
array indices which should make calculating the possible moves easier.
2017-01-18 16:36:38 +00:00
549ba445bb
Test moving of a piece 2016-12-22 18:44:01 -05:00
d888ab8d83
Make sure the JS works in PhantomJS
PhantomJS does not implement `Object.assign` which is how we were
updating the state immutably. I've switched it over to use the
ImmutableJS library instead.
2016-12-22 10:28:33 +00:00
34a3d48260
Fix the fucking tests 2016-12-11 20:45:47 +00:00
b479f0eade Remove unnecessary test 2016-12-10 19:35:01 +01:00
f6c38661c7 Create new games and display them 2016-12-10 19:35:01 +01:00
418eaa6f47 Make it a Phoenix app 2016-12-10 19:35:01 +01:00