Commit graph

37 commits

Author SHA1 Message Date
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
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
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
29be88c9e3 Made unintentional globals local, as per #3. 2017-02-02 20:48:33 -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
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
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
c9e68bc3f6 Changed over wordlist to the new list. 2016-07-10 19:07:48 -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
729787fe8a I should start using media queries in CSS 2015-11-10 23:40:31 -05:00
Douglas Muth
84d77e3901 Started reducing the delay of subsequent dice rolls. It speeds up the rolling of 8 dice. 2015-11-10 23:39:31 -05:00
Douglas Muth
3bf6c46df7 Added a display of how many passwords were possible with the rolls. 2015-11-10 23:32:32 -05:00
Douglas Muth
a109bfbb5b Now capitalizing first word so that the resulting password is easier to read 2015-06-21 18:24:59 -04:00
Douglas Muth
35e3b8f579 Added debugging 2015-04-27 21:38:22 -04:00
Douglas Muth
1565c4be14 Updated how the dice are shown--they're now shown one die at a time, and then the entire row fades out. 2015-04-27 21:34:14 -04:00
Douglas Muth
8fdb7fd030 Changed fading so that only one row of dice is visible at once. 2015-04-27 20:57:03 -04:00
Douglas Muth
a10b0d36cc Added a check to see if proper crypto is available, and a warning if it is not. 2015-04-27 20:48:57 -04:00
Douglas Muth
59787d895f Added the GitHub ribbon 2015-04-26 18:58:55 -04:00
Douglas Muth
a6487f7e7b Added resizing of results window with animation. 2015-04-26 17:53:43 -04:00
Douglas Muth
88b36faca7 Added mobile detection and auto-scrolling when on mobile. 2015-04-26 17:20:56 -04:00
Douglas Muth
2b0e6b2c49 Formatting of passphrase and fixed lingering whitespace issue. 2015-04-26 17:14:21 -04:00
Douglas Muth
f587dfa88b Saving each word with the dice roll and appending it to each row of dice displayed. 2015-04-26 16:29:43 -04:00
Douglas Muth
222ae26549 Added fade out of rows and configurable delay. 2015-04-26 16:02:56 -04:00
Douglas Muth
20bb5a6e08 Moved functions to display row and results out of jQuery callback and parametertized them. 2015-04-26 15:32:56 -04:00
Douglas Muth
da19081904 Added comment 2015-04-26 02:12:32 -04:00
Douglas Muth
65f90ed4ec Added dice and code to display the dice in the results 2015-04-26 02:09:23 -04:00
Douglas Muth
1410eb45da Added more dice buttons and code to populate the page with results. 2015-04-26 00:01:29 -04:00
Douglas Muth
2a6b70b203 First set of Javascript functions. 2015-04-25 23:02:05 -04:00