El RIDO
|
ad570c391a
|
extend Alert class unit testing
|
2019-08-28 19:23:58 +02:00 |
El RIDO
|
a6aef109cc
|
making feature detection work as intended in chrome
|
2019-08-27 23:16:06 +02:00 |
El RIDO
|
6fcd82fb85
|
making the feature detection more robust, let users with no WASM create uncompressed pastes, remove dead & duplicate code
|
2019-08-27 07:38:27 +02:00 |
El RIDO
|
c707c87cac
|
addressing rngState 0ef2c5e06719a8b43d
|
2019-06-27 21:37:40 +02:00 |
El RIDO
|
2cbf528894
|
fixing failing unit tests in travisCI
|
2019-06-27 21:18:46 +02:00 |
El RIDO
|
67b9b5f0d8
|
correcting old browser detection logic, fixes #446
|
2019-06-27 20:11:22 +02:00 |
El RIDO
|
40493dfb3a
|
simplify logic, adding test cases for all combinations of URLs that are regarded as secure context
|
2019-06-23 10:38:08 +02:00 |
El RIDO
|
d9f27fb004
|
avoid instability of tests due to Alert callback testing, which can prevent notifications from getting displayed
|
2019-06-23 09:39:21 +02:00 |
El RIDO
|
603f7fd911
|
adding tests for all cases
|
2019-06-22 15:44:54 +02:00 |
El RIDO
|
59153633b8
|
adding test for bot UAs
|
2019-06-22 09:12:31 +02:00 |
El RIDO
|
50cc6995e0
|
making use of the URL object in the existing tests
|
2019-06-20 22:30:49 +02:00 |
El RIDO
|
6cf52f4cf3
|
mocking window.URL.createObjectURL to have tests working with blob URLs
|
2019-06-15 08:56:47 +02:00 |
El RIDO
|
c4b84b2b6b
|
extract version logic into paste & comment classes
|
2019-05-25 13:20:39 +02:00 |
El RIDO
|
353d08daf6
|
handle regression due to base58 stripping NULL bytes, discovered via JSVerify RNG state 0dec6b2a5f04d19873
|
2019-05-19 09:54:40 +02:00 |
El RIDO
|
8fd3e680e4
|
base58 will left trim NULL bytes, handling JSVerify RNG state 0dec6b2a5f04d19873
|
2019-05-19 09:05:56 +02:00 |
El RIDO
|
86b4e0e7a4
|
revert autoformatting applied by IDE
|
2019-05-19 08:43:07 +02:00 |
El RIDO
|
3b0ab7e99f
|
fixing regression handling v1 key format (un-decoded base64)
|
2019-05-19 08:36:18 +02:00 |
El RIDO
|
0e71211fad
|
v2 paste can successfully en- and decrypt the particular message, fixes #260
|
2019-05-19 08:25:34 +02:00 |
El RIDO
|
7111e38898
|
Merge branch 'empty-paste' into webcrypto
|
2019-05-19 07:52:37 +02:00 |
El RIDO
|
6f480bf014
|
Merge branch 'master' into webcrypto, implementing base58, fixes #377
|
2019-05-15 21:20:54 +02:00 |
El RIDO
|
5779d87788
|
integrating compression test case that failed in rawdeflate in webcrypto + zlib testing, proving this fixes #328
|
2019-05-15 18:56:42 +02:00 |
El RIDO
|
e77eb1de13
|
Merge branch 'truncation' into webcrypto
|
2019-05-15 18:44:26 +02:00 |
El RIDO
|
09162a3c57
|
fix display of v2 pastes in JS, fixing parsing of comments in PHP, avoid exposing expiration date (we provide time_to_live, would allow calculation of creation date of paste)
|
2019-05-15 07:44:03 +02:00 |
El RIDO
|
5652a43d1d
|
adding js test to generate v2 example pastes to be used in the development of the server side logic, adding one of these into the helper class of the php tests
|
2019-04-16 07:45:04 +02:00 |
El RIDO
|
e418b083e8
|
Merge branch 'master' into webcrypto
|
2019-01-22 20:11:42 +01:00 |
El RIDO
|
79a858f176
|
extracting only the 16 hex characters of the query string as paste ID, addressing #396
|
2019-01-20 12:20:37 +01:00 |
El RIDO
|
cc53d95ed1
|
extending test cases to reproduce the issue from #396, causing the existing logic to now fail the tests
|
2019-01-20 11:05:34 +01:00 |
El RIDO
|
0ee86f33da
|
key in version 2 is raw value instead of base64 (which reduces its complexity), made PasteDecryptor support both versions of the format, refactoring method names, replacing var by let / const, reducing zlib compression level from 9 to 7 to half the time spent on compression
|
2018-12-29 18:40:59 +01:00 |
El RIDO
|
0ad5b3e900
|
implement zlib via web assembly, replacing rawdeflate library
|
2018-12-27 21:32:13 +01:00 |
El RIDO
|
210870590c
|
improving cleanup between tests in order to combat the frequent test failures seen recently
|
2018-12-25 20:16:41 +01:00 |
El RIDO
|
0ab06e34ec
|
initial refactoring for support of version 2 paste format, some cleanup on the side
|
2018-12-25 17:34:39 +01:00 |
El RIDO
|
f3165f0cab
|
suppress current jsDOMs errors
|
2018-12-25 17:17:49 +01:00 |
El RIDO
|
70007285bf
|
remove console suppression, fixing I18n mock
|
2018-12-25 16:42:18 +01:00 |
El RIDO
|
3883e3fb30
|
adjusting test to make it work in latest jsDOM versions that don't support arbitrary bytes in a URLs hash anymore
|
2018-12-24 08:19:58 +01:00 |
El RIDO
|
2bb3df5bee
|
adressing rngStates 013286cb47a0f51d9e & 83975e102a4db8f3c6 that frequently fail in latest jsDOM env, showing URL hashes can't contain certain unicode sequences after all
|
2018-12-18 06:04:17 +01:00 |
El RIDO
|
0f76b9066d
|
remove SJCL library
|
2018-10-20 19:53:21 +02:00 |
El RIDO
|
762386efd7
|
reverting to promises, since done can cause timeouts, indicating that the async execution can be really slow
|
2018-09-02 12:12:55 +02:00 |
El RIDO
|
f3eaee206c
|
using done() instead of promise, to enforce mocha to wait on the tests
|
2018-09-02 11:52:57 +02:00 |
El RIDO
|
176264f135
|
making tests use promises instead of async
|
2018-09-02 11:49:55 +02:00 |
El RIDO
|
b791157717
|
fix unit tests after merge from master, issues due to newly async tests that cause environment changes across test scripts
|
2018-09-02 11:33:27 +02:00 |
El RIDO
|
30b7be0781
|
async test, finding error for rngState 00b15fc0a8247e693d, due to failure in decompressing
|
2018-09-01 22:55:52 +02:00 |
El RIDO
|
b97ac08003
|
improving tests, correcting cipher
|
2018-09-01 22:22:10 +02:00 |
El RIDO
|
0dbbb61d11
|
implementing web crypto API for encryption
|
2018-09-01 19:42:22 +02:00 |
El RIDO
|
bd6888687f
|
Merge branch 'master' into webcrypto
|
2018-08-14 06:59:47 +02:00 |
El RIDO
|
10201dc463
|
expanded unit tests to cover mega links, reverted regex to old one, but fixed to cover mega links, just to prove it works
|
2018-08-11 07:33:33 +02:00 |
El RIDO
|
c4fc7edc43
|
replacing Base64.js with browser built in's, except for legacy paste support
|
2018-08-05 08:56:03 +02:00 |
El RIDO
|
6f25d651b7
|
switching to client side libraries for key generation, remove legacy browser support
|
2018-08-04 22:30:01 +02:00 |
El RIDO
|
91baef389d
|
updating Base64 library to 2.4.5 (keeping old 1.7 library for legacy ZeroBin support)
|
2018-07-01 13:23:39 +02:00 |
El RIDO
|
c76957b3cb
|
adding unit test for truncation issue #328
|
2018-06-26 22:31:26 +02:00 |
El RIDO
|
caf87cc6f1
|
Merge branch 'master' into burnafterreading-fix, regression in expired paste error
|
2018-04-30 20:01:38 +02:00 |