Commit graph

214 commits

Author SHA1 Message Date
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
Douglas Muth
7598f49c4a Changed code from a self-contained function into an object with code
that no longer runs when the file is included.  This is in preparation
for Qunit testing.
2017-01-29 06:47:08 -05:00
Douglas Muth
d80c532d8f Added blurb about sending passwords over the Internet. 2016-08-02 22:40:34 -04:00
Douglas Muth
fbd497a0be Changed wordlist to be between 4 and 7 characters. 2016-07-11 20:54:08 -04:00
Douglas Muth
44324d050c Removed old wordlist 2016-07-10 22:01:58 -04:00
Douglas Muth
2d3f823493 Updated link to word list. 2016-07-10 21:52:36 -04:00
Douglas Muth
7795bfc1db Fixed Peter Norvig's last name! 2016-07-10 21:47:46 -04:00
Douglas Muth
262076b9ef Peter Novig's wordlist of 1/3rd million most common words 2016-07-10 21:46:14 -04:00
Douglas Muth
2e74e6e069 New wordlist 2016-07-10 21:46:08 -04:00
Douglas Muth
9e818636f1 Added function to extract words from Peter Novig's list. 2016-07-10 21:46:03 -04:00
Douglas Muth
1cfd66a0ea Added another link and a warning 2016-07-10 19:21:34 -04:00
Douglas Muth
9e735dc209 Added wordlist explanation 2016-07-10 19:15:51 -04:00
Douglas Muth
c9e68bc3f6 Changed over wordlist to the new list. 2016-07-10 19:07:48 -04:00
Douglas Muth
ee0be8ba2d Added script to create the wordlist (automation is good!) 2016-07-10 19:04:23 -04:00
Douglas Muth
b45ecf1715 Finished first draft. 2016-07-10 19:04:10 -04:00
Douglas Muth
591331e48a Started script. Wrote function to read wordfile and validate words. 2016-07-10 18:41:46 -04:00
Douglas Muth
02a345478b Added .gitignore 2016-07-10 18:41:30 -04:00
Douglas Muth
65c23a424f Added wordlist 2016-07-10 18:41:11 -04:00
Douglas Muth
fda158bd7c Fixed bug for when the word isn't found in the wordlist. 2016-07-10 18:31:33 -04:00
Douglas Muth
7b5c1bb9ce Merge branch 'master' of github.com:dmuth/diceware 2015-11-11 21:19:18 -05:00
Douglas Muth
e4a1b8ce29 Added link to getRandomValues(). 2015-11-11 21:19:08 -05:00
Douglas Muth
31146f5c6e Added OpenGraph description. 2015-11-11 19:43:32 -05:00
Douglas Muth
885551ac4b Fixed typo 2015-11-11 19:30:30 -05:00