Commit Graph

73 Commits (5582c05414ebbfaac0f89df0ee2b84bbf1023f4f)

Author SHA1 Message Date
El RIDO 5582c05414
decrypting a particular message encrypted with v1.1.1 fails (#260)
7 years ago
El RIDO ee8ffdc51b
en- & decrypting the particular message works without issues
7 years ago
El RIDO d9c6b634b9
remove dangling comma
7 years ago
El RIDO a0740ff79f
getting rid of htmlEntities (except for tests) and setElementText (dropping IE9 support), changing urls2links interface, all to avoid double encoding sanitized HTML
7 years ago
El RIDO d0cccce7a8
removing patterns that don't get sanitized, but also don't get interpreted when inserted into the HTML
7 years ago
rugk 56f4ee5c20
Revert "Try to move sanitisation & links into setElementText"
7 years ago
rugk 8d2e19f791
Try to move sanitisation & links into setElementText
7 years ago
rugk 3d2dbabaec
add some more tests from OWASP
7 years ago
El RIDO 2d00202b42
correcting the XSS test, commenting two failing patterns, to be reviewed by @rugk
7 years ago
El RIDO 233bd65b00
Merge branch 'master' into sanitizeMarkdown, changing test to use new library
7 years ago
El RIDO f2628a0bf3
added a test for #183, fails at this point, #258 should fix this
7 years ago
El RIDO 35ea65b797
handling JSVerify RNG state 89fdc94018a35b672e
7 years ago
El RIDO c6ddee317d
adding tests for PasteViewer class
7 years ago
El RIDO 10ee37b35c
handling JSVerify RNG state 08a74d310cfb58269e
7 years ago
El RIDO af073c9ca1
adding tests for Editor class
7 years ago
El RIDO 5a2bb1993d
handling JSVerify RNG state 82fb7d20c918a6e543
7 years ago
El RIDO 360a0921e2
adding tests for Prompt class, typos
7 years ago
El RIDO 984941f901
adding test for hiding messages
7 years ago
El RIDO b1e1878861
fully testing remaining time display function
7 years ago
El RIDO 73bc685178
fixing error message display revealed by testing remaining time display function
7 years ago
El RIDO 0cfb019615
handling JSVerify RNG state 0b2b38c4ef690d1a57
7 years ago
El RIDO 6c8f57f91f
making PasteStatus testable, adding test for paste creation notification
7 years ago
El RIDO e51aa7c80f
increasing coverage (by three lines)
7 years ago
El RIDO 9af4a4e2f5
handling JSVerify RNG states 08a8fd9e23076415bc & 8623a0cde74fb19568
7 years ago
El RIDO 01a6c0142a
adding test for alert handler
7 years ago
El RIDO c6e0f2d223
adding test for hiding messages
7 years ago
El RIDO 1fd13981d4
adding test for hiding loading indicator
7 years ago
El RIDO 29419d03cd
avoid logs polluting the unit test output
7 years ago
El RIDO 751731414e
adding test for loading indicator
7 years ago
El RIDO 9c6aec86c4
making Alert class resetable and adding first tests for it
7 years ago
El RIDO d75cea856a
concluding UiHelper tests that are possible in headless jsdom at this time
7 years ago
El RIDO ef6b6816b0
implemented test, but again not supported yet by jsdom
7 years ago
El RIDO 4410ddcd84
adding tests for UiHelper.reloadHome, making UiHelper unit testable and handling JSVerify RNG states 846932d5afb10ce748 & 012c1f9483adb6e750
7 years ago
El RIDO cbcc26ec37
fixing false positive with RNG state 0bc96fe3b8d170254a
7 years ago
El RIDO 4cb21350a0
TravisCI can be a bit slow (locally this test takes 386ms)
7 years ago
El RIDO 414693fa90
testing both cases of the logic required for #167
7 years ago
El RIDO 6dbb098d7a
had to introduce a mock function to test the historyChange state
7 years ago
El RIDO 379571d522
Merge branch 'master' into js-unit-testing
7 years ago
El RIDO 81ac232710
increasing timeouts for travisCI, that seems to have gotten slower
7 years ago
El RIDO ba0ff3545d
started work on UiHelper tests
7 years ago
El RIDO f31a99b1c0
added tests for getCipherData(), hasCipherData() & getTemplate()
7 years ago
El RIDO fcfb02c2b7
added tests for getFormatterDefault(), fixing bug in compact design
7 years ago
El RIDO 9f01ccc80e
added tests for getExpirationDefault()
7 years ago
El RIDO 41701bbfe4
trying to fix unit test execution in Travis
7 years ago
El RIDO 8f6c1ee079
added a check for the ZeroBin paste format (uses Base64.js v1.7)
7 years ago
El RIDO 2d4c75be85
added tests for entropy checks and key generation, added base64 experiment, showing we could replace Base64.js v2.1.9 with other options, but still need to find a way to handle v1.7 format and UTF16 to UTF8 conversion (btou / utob functions)
7 years ago
El RIDO 3cf005c8ae
added test with hardcoded v1 pastes to ensure decryption of the original paste format still works, even when the format is changed in the future
7 years ago
El RIDO cdb62b44c7
basic tests for CryptTool classes encryption and compression functions
7 years ago
El RIDO 37f5d99bc4
finalizing tests for I18n class, AJAX loading of translations needs to be tested in browser, mocked for now
7 years ago
El RIDO e1ea14627f
handling JSVerify RNG state 88caf85079d32e416b
7 years ago