Douglas Muth
a97b733444
Removed TODO list
2017-11-09 21:45:23 -05:00
Douglas Muth
5ed5080f04
Removed unused Qunit stuff.
2017-11-09 21:44:57 -05:00
Douglas Muth
be1ca19d94
Finished Mocha tests!
2017-11-09 21:44:31 -05:00
Douglas Muth
51659baf6d
Tests for convertBase6ToDice().
2017-11-09 21:32:31 -05:00
Douglas Muth
544f504bd3
Now testing getBase6()
2017-11-09 21:26:24 -05:00
Douglas Muth
3f1661281c
First tests in Mocha--now testing getRandomValue().
2017-11-09 20:56:48 -05:00
Douglas Muth
8d79feba2a
Refactored some functions into lib.js.
2017-11-09 20:11:24 -05:00
Douglas Muth
bf0ec41ab9
Removed main.js
2017-11-09 19:45:37 -05:00
Douglas Muth
e5620cf3e6
Moved main.js into src/index.js
2017-11-09 19:43:36 -05:00
Douglas Muth
59db7e05d6
Oh hey, I just discovered --optimize-minimize. I'm okay with cutting the size of my bundled Javascript in half!
2017-11-09 19:19:15 -05:00
Douglas Muth
02ff5cfb9c
Added development section.
2017-11-08 23:44:16 -05:00
Douglas Muth
c1e52faeb7
Added bundle.
...
I know this is not normally a best practice, but I do want to encourage end users to download this app
and just run it out of the box. Going forward, I will have to be reasonable and not make commits of this file frequently.
2017-11-08 23:29:28 -05:00
Douglas Muth
f19dca83dd
Added in random-number-csprng, which required using Bluebird and Promisfying a *whole* bunch of code.
...
This is the fix to address Bug #7 .
2017-11-08 23:27:42 -05:00
Douglas Muth
b7f1adb8a2
Added Bluebird and random-number-csprng
2017-11-08 23:27:15 -05:00
Douglas Muth
56087911de
Webpack configuration file
2017-11-08 23:27:00 -05:00
Douglas Muth
e703f3260f
Added webpack
2017-11-08 21:17:55 -05:00
Douglas Muth
ab7109283d
Added lib.js
2017-11-08 21:14:25 -05:00
Douglas Muth
5bce9bf5ec
-typo
2017-11-08 21:14:13 -05:00
Douglas Muth
f4dd2b1e79
Added demonstrateBias() function for testing purposes.
2017-11-08 21:13:41 -05:00
Douglas Muth
336c7cd375
Added mention of using the EFF's list. #6 .
2017-07-09 13:49:29 -04:00
Douglas Muth
538846dc71
Added GitHub link
2017-07-09 13:44:02 -04:00
Douglas Muth
3b1d917e66
Clarified # of dice to roll by # of dicerolls.
2017-07-09 13:40:04 -04:00
Douglas Muth
64343087db
Added quotes.
2017-07-09 13:39:33 -04:00
Douglas Muth
081deffdf4
Updated chill.
2017-07-09 13:39:10 -04:00
Douglas Muth
df4baee163
Added Javascript to use the EFF wordlist for when 5 dice are used. #6
2017-07-09 13:37:09 -04:00
Douglas Muth
898377962a
Added EFF wordlist, and updated PHP script and shell script to generate it.
...
Also updated the generated Javascript to show the source. #6
2017-07-09 13:36:42 -04:00
Douglas Muth
05065bbea4
Added debugging note.
2017-07-09 13:35:44 -04:00
Douglas Muth
3116513283
Added instructions for running a local webserver
2017-02-18 16:38:40 -05:00
Douglas Muth
ea0761fb1f
Updated README for #4 .
2017-02-18 16:34:08 -05:00
Douglas Muth
4d85db3b5b
Removed inappropriate comment
2017-02-18 16:21:20 -05:00
Douglas Muth
1e33d1a81e
Now allowing for 6 or 7 dice per roll as well.
2017-02-18 16:17:25 -05:00
Douglas Muth
5217e56615
Updated tests for up to 8 dice. #4
2017-02-18 14:30:42 -05:00
Douglas Muth
d721364030
Now doing conditional loading of Javascript based on GET method. #4
2017-02-18 00:03:43 -05:00
Douglas Muth
6ca25671df
Wrote Diceware.extractGetData() and overhauled debug code to use it.
2017-02-18 00:00:45 -05:00
Douglas Muth
88312059f7
Fixed indenting
2017-02-17 23:41:24 -05:00
Douglas Muth
1b625ad37a
Moved 100+ lines from Diceware.go() into Diceware.rollDiceHandler().
2017-02-17 23:40:34 -05:00
Douglas Muth
4cb0e0e1c7
Updated PHP and shell script to create wordlists for 6 and 7 dice rolls.
2017-02-17 23:22:58 -05:00
Douglas Muth
360086c676
Not using this anymore
2017-02-17 23:22:29 -05:00
Douglas Muth
d51aab712e
Removed older, unused funcitons for #4
2017-02-17 22:38:29 -05:00
Douglas Muth
29be88c9e3
Made unintentional globals local, as per #3 .
2017-02-02 20:48:33 -05:00
Douglas Muth
76ae54fc07
Updated test
2017-02-01 22:09:36 -05:00
Douglas Muth
6c99fd1168
Removed old dice rolling logic.
2017-02-01 21:56:51 -05:00
Douglas Muth
61fb6fa227
Added check for crypto into getRandomValue().
2017-02-01 21:55:38 -05:00
Douglas Muth
5cb69f140f
Converted the wordlist into an array.
2017-02-01 21:51:45 -05:00
Douglas Muth
d511f8156c
Modified diceRoll() to return the raw value as well as the dice roll,
...
updated unit tests, updated code that displays the dice.
2017-02-01 21:50:33 -05:00
Douglas Muth
d6f2e9b324
Wrote getNumValuesFromNumDice() and rollDice().
2017-02-01 00:02:19 -05:00
Douglas Muth
acf5389ff7
Added convertBase6ToDice().
2017-01-31 23:36:24 -05:00
Douglas Muth
8aad4ea0ec
Wrote convertBase6ToDice() with unit tests.
2017-01-31 23:13:39 -05:00
Douglas Muth
43b4f4c7b1
Added getRandomValue(), getBase6(), and unit tests for both with Qunit.
2017-01-31 22:33:37 -05:00
Douglas Muth
f2682d341f
Added ids to buttons and updated debug code to click the appropriate
...
button.
2017-01-29 13:43:25 -05:00