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

78 Commits

Author SHA1 Message Date
374524bb1d
User can sign in 2018-02-02 10:31:04 -05:00
9be77a9ad0
Add Guardian configuration 2018-02-02 10:30:38 -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
87fa2b9f0f
Add Guardian, Comeonin and Argon2 deps 2018-02-02 10:30:38 -05:00
118b84053d
Merge pull request #12 from danbee/dependabot/hex/gettext-0.14.0
Bump gettext from 0.13.1 to 0.14.0
2018-02-02 10:26:49 -05:00
fb8da40b20
Merge pull request #11 from danbee/dependabot/hex/postgrex-0.13.4
Bump postgrex from 0.13.3 to 0.13.4
2018-02-02 10:26:39 -05:00
dependabot[bot]
8d1cfac406 Bump gettext from 0.13.1 to 0.14.0
Bumps [gettext](https://github.com/elixir-lang/gettext) from 0.13.1 to 0.14.0.
- [Changelog](https://github.com/elixir-lang/gettext/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/gettext/compare/v0.13.1...v0.14.0)
2018-02-01 19:43:32 +00:00
dependabot[bot]
44f6c272bb Bump postgrex from 0.13.3 to 0.13.4
Bumps [postgrex](https://github.com/elixir-ecto/postgrex) from 0.13.3 to 0.13.4.
- [Changelog](https://github.com/elixir-ecto/postgrex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-ecto/postgrex/compare/v0.13.3...v0.13.4)
2018-02-01 19:43:23 +00:00
a5a6f0695c
Stop running PhantomJS and build assets 2018-01-19 16:44:42 -05:00
96a278c88b
⚠️💥 2018-01-19 16:18:00 -05:00
065e7e02c9
Fix JS and switch to Wallaby 2018-01-19 16:17:35 -05:00
0a43fbe58a
Rename application.js 2018-01-19 13:48:05 -05:00
770b372993
Update NPM packages 2018-01-19 13:11:32 -05:00
ad8d45ec8d
Fix brunch config
Also remove those lines from the Codeship setup file. I don't like them!
2018-01-19 11:26:17 -05:00
8f1f8f1928
Let's try bash 2018-01-19 10:53:03 -05:00
8d8038b39b
Update Codeship setup script 2018-01-19 10:50:40 -05:00
9ce67a37fb
Add Codeship setup script 2018-01-19 10:27:56 -05:00
0ec6972122
Remove unused alias 2018-01-15 22:34:58 -05:00
f2f50017b2
Add build status to readme
Build is currently broken, but we'll fix that!
2018-01-15 22:03:27 -05:00
c4755bdfb1
Move model tests to data tests 2018-01-15 21:27:09 -05:00
e81396f99a
Allow switching PG port with env variable 2018-01-15 17:30:49 -05:00
41a9faabc9
Fix up tests after 1.3 upgrade 2018-01-15 16:06:00 -05:00
37106e33a8
User gettext-0.13.1 until the RO bug is fixed 2018-01-15 15:51:21 -05:00
6697231935
Move models into lib/chess 2018-01-12 17:24:13 -05:00
98baf920a9
Add setup script and modify README 2018-01-12 16:56:07 -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
570f6cf8c6
Remove unnecessary Logger 2017-01-18 17:46:38 +00:00
31d08cdad1
Remove move-piece reducer
We're handling moves on the server side now.
2017-01-18 17:33:41 +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
7c847d5c94
Format the fucking code 2016-12-22 10:26:48 +00:00
34a3d48260
Fix the fucking tests 2016-12-11 20:45:47 +00:00
b5c7695344
Render the ranks in the right fucking order 2016-12-11 20:45:46 +00:00
6f7a6e1288 Tidy the fuck up a little 2016-12-10 19:35:01 +01:00
47f287aaa4 Order by created time descending 2016-12-10 19:35:01 +01:00
86d43e9d34 Size board based on width *and* height of viewport 2016-12-10 19:35:01 +01:00
Rob Whittaker
eb6537cfe9 Stop pieces from fucking disappearing 2016-12-10 19:35:01 +01:00
22cfeda740 Add link back to games 2016-12-10 19:35:01 +01:00
2c7e97c697 Fix datetime formatting 2016-12-10 19:35:01 +01:00
6291cbbff0 Redirect to game on creation 2016-12-10 19:35:01 +01:00
Rob Whittaker
7130e74516 Render moves directly from the fucking server 2016-12-10 19:35:01 +01:00
66b07454ed Make it look a little prettier 2016-12-10 19:35:01 +01:00
Rob Whittaker
8b6811d13a Update with fucking moves 2016-12-10 19:35:01 +01:00
Rob Whittaker
33796e88c4 Put games in the right fucking order 2016-12-10 19:35:01 +01:00
b479f0eade Remove unnecessary test 2016-12-10 19:35:01 +01:00
3989b97281 Pattern matching FTW \o/ 2016-12-10 19:35:01 +01:00