Commit Graph

1402 Commits

Author SHA1 Message Date
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 be69e4a50f simplify password catenation in version 2, to avoid potential key derivation weakening 2018-12-28 05:49:34 +01:00
El RIDO 0ad5b3e900 implement zlib via web assembly, replacing rawdeflate library 2018-12-27 21:32:13 +01:00
El RIDO 5ce3aa2817 increase PBKDF2 iterations further, as suggested in #350 2018-12-25 20:19:57 +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 4edbb66c91 re-add CreationTime, still used in comment 2018-12-24 08:20:39 +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 9348cbe2a1 address security concerns reg. paste creation date by removing it in the API, keep comment creation date exposed, displayed in discussion - resolves #390 2018-12-23 20:10:24 +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 1de57c874e reduce duplication in format 2018-12-17 21:42:49 +01:00
El RIDO e64eaf45ee Merge branch 'master' into webcrypto 2018-12-17 21:34:15 +01:00
El RIDO c39e578f04 Merge branch 'micschwarz-patch-1' 2018-12-17 21:31:43 +01:00
El RIDO c15351b793 designing v2 paste & comment format 2018-12-17 19:43:16 +01:00
El RIDO cde96d8f24 fixing bug in jsonld processing with certain URL paths 2018-12-17 19:42:26 +01:00
Michael Schwarz e220a97c8f Improve German Translation for more consistency 2018-11-27 11:03:12 +01:00
El RIDO fe670dc94f Merge pull request #378 from PrivateBin/googlespy
Ask Google not to translate the page
2018-11-22 09:10:07 +01:00
rugk ac9eac5ed6 Ask google not to translate the page
We already have i18n. Furthermore, Google may analyse sensitive content for
the purpose of recognising whether the page needs to be translated, see
https://support.google.com/webmasters/answer/79812?hl=en

Ref https://github.com/threema-ch/threema-web/pull/681
2018-11-21 23:32:06 +01:00
El RIDO 2303c81ce0 Merge branch 'master' into webcrypto 2018-11-19 13:15:11 +01:00
El RIDO 9ce41022cf correcting namespaces 2018-11-19 13:09:34 +01:00
El RIDO b36b3d1a82 Merge branch 'master' into webcrypto 2018-11-16 18:36:07 +01:00
El RIDO 18151e6e9e Merge branch 'Quenty31-patch-2' 2018-11-16 18:05:26 +01:00
El RIDO 30bb34a4fe generate code docs for private interfaces, too 2018-11-16 18:04:09 +01:00
Quentí 7a5a97c6ae Update translation 2018-11-15 22:17:08 +01:00
rugk 8b803a1f5d Merge branch 'dan-nkl-patch-1' 2018-11-08 22:23:36 +01:00
rugk 3885047cb6 Update i18n/de.json
Co-Authored-By: dan-nkl <daniel@nikul.in>
2018-11-07 08:38:35 +01:00
Daniel Nikulin 419311dffa Update de.json
Better translations for German..
At least I think they are easier to understand.
2018-10-30 19:06:12 +01:00
rugk 9cce056cc8 Merge branch 'shrz-Fix-Ru-translation' 2018-10-28 20:04:16 +01:00
shrz 6f34626ad6 Fix Russian translation. 2018-10-28 18:20:54 +03:00
El RIDO 5b00f4ead7 further code deduplication 2018-10-20 23:08:13 +02:00
El RIDO 4c3fb3fe63 reduce code duplication 2018-10-20 22:34:36 +02:00
El RIDO 717e5b0e57 addressing issues found by codacy 2018-10-20 22:05:35 +02:00
El RIDO 0f76b9066d remove SJCL library 2018-10-20 19:53:21 +02:00
El RIDO 2d7996570e typos, documentation 2018-10-20 17:57:21 +02:00
El RIDO 2929d5c17a fixing async comment nicknames 2018-10-20 13:54:17 +02:00
El RIDO a08fed1add ensure promises can be collected 2018-10-20 12:40:08 +02:00
El RIDO 35045bb69a improving error handling 2018-10-20 11:40:37 +02:00
El RIDO 100d955e1a address decryptComments() async compatibility 2018-10-20 10:20:32 +02:00
El RIDO ff8ec5a1a0 address decryptOrPromptPassword(), decryptPaste() and decryptAttachment() async compatibility 2018-10-20 09:56:05 +02:00
El RIDO c0d3b9062b updating SRI hashes 2018-10-20 08:40:48 +02:00
rugk 17131f3172 Add verys important return to ensure Promise chain works 2018-10-08 21:04:13 +02:00
rugk 746debf586 Adjust functions using Uploader.setData to handle promises 2018-10-08 21:03:10 +02:00
rugk 94a352e7f5 Fix eslint config and issues
Note EcmaScript 2017 looks recent amd also is, e.g. we loose suport for IE and we loose support for some Android browsers, also Android <5 built-in browser.
2018-10-08 20:36:50 +02:00
El RIDO bc0fb5b91e Merge branch 'master' into webcrypto 2018-10-02 20:43:40 +02:00
El RIDO 00692a29d6 Merge branch 'SuperTux88-fix-dark-download-link' 2018-10-02 20:42:38 +02:00
Benjamin Neff 538462f134 Fix download-link color in dark boostrap themes
This makes the "Download attachment" link white in bootstrap-dark and
boostrap-dark-page. This is an upstream bug of darkstrap, but it's not
maintained anymore.
2018-10-02 02:06:44 +02:00
El RIDO b62e259cfb Merge branch 'master' into webcrypto 2018-09-17 05:26:58 +02:00
El RIDO 034d60f966 Merge branch 'EmilKra-patch-1' 2018-09-17 05:26:15 +02:00