Commit Graph

  • db4ae09ee3 upgraded PHP libraries El RIDO 2019-06-16 07:10:24 +02:00
  • 362045c664 re-add data-URLs to CSP for img-src, as these are used for the comment icons El RIDO 2019-06-16 07:06:58 +02:00
  • cd72110ea4 Merge branch 'blob-uri' El RIDO 2019-06-15 09:49:20 +02:00
  • b4ceb4078d removed obsolete code and comments, tested with a PDF of 9 MiB and it works fine in Firefox and Chrome El RIDO 2019-06-15 09:47:55 +02:00
  • f915af1a5a adjust CSP header to allow blob URLs El RIDO 2019-06-15 09:36:09 +02:00
  • 451a4817c4 replace data-URL method usage with blob-URL one El RIDO 2019-06-15 09:35:26 +02:00
  • 6cf52f4cf3 mocking window.URL.createObjectURL to have tests working with blob URLs El RIDO 2019-06-15 08:56:47 +02:00
  • abd71413c3 Store Blob URL in variable R4SAS 2019-06-12 06:29:36 +03:00
  • d3f9670bc2 Remove data length detection, because we work with URL R4SAS 2019-06-12 06:05:55 +03:00
  • dcbefcc1c3 Use blob for previews R4SAS 2019-06-12 05:29:19 +03:00
  • ff6b9bd8f9 Use blob URI for saving attachments (#432) R4SAS 2019-06-12 04:37:17 +03:00
  • a459c4692c correcting API use, avoid history glitch El RIDO 2019-06-01 23:49:40 +02:00
  • ebbb850b27 clone array instead of passing the reference, adresses #436 El RIDO 2019-05-31 07:05:40 +02:00
  • 87c7719513 Merge branch 'webcrypto' El RIDO 2019-05-26 21:07:21 +02:00
  • c4b84b2b6b extract version logic into paste & comment classes El RIDO 2019-05-25 13:20:39 +02:00
  • d73c68ad85 insert Paste class to wrap the data, to be able to extend the paste with getters and format version handling El RIDO 2019-05-25 10:10:59 +02:00
  • a270cd818a create security.md for new Github security feature El RIDO 2019-05-23 17:06:33 +02:00
  • 398fabd664 Chrome requires unsafe-eval for it to parse and evaluate WASM modules El RIDO 2019-05-20 18:29:37 +02:00
  • b44e729a1a fixing display of version 1 pastes without attachments El RIDO 2019-05-19 13:31:17 +02:00
  • 12a9b2ff8e address Scrutinizer issues with the use of getParams method El RIDO 2019-05-19 10:13:47 +02:00
  • 1baa1c2b0a fixing API doc issue found by Scrutinizer El RIDO 2019-05-19 10:05:04 +02:00
  • 800a0df8e3 apply StyleCI patch El RIDO 2019-05-19 10:01:41 +02:00
  • 353d08daf6 handle regression due to base58 stripping NULL bytes, discovered via JSVerify RNG state 0dec6b2a5f04d19873 El RIDO 2019-05-19 09:54:40 +02:00
  • 909ff2daa7 handle scrutinizer issues (mostly changes in API documentation) El RIDO 2019-05-19 09:42:55 +02:00
  • 8fd3e680e4 base58 will left trim NULL bytes, handling JSVerify RNG state 0dec6b2a5f04d19873 El RIDO 2019-05-19 09:05:56 +02:00
  • 86b4e0e7a4 revert autoformatting applied by IDE El RIDO 2019-05-19 08:43:07 +02:00
  • d785ada3fe apply StyleCI patch El RIDO 2019-05-19 08:36:37 +02:00
  • 3b0ab7e99f fixing regression handling v1 key format (un-decoded base64) El RIDO 2019-05-19 08:36:18 +02:00
  • 0e71211fad v2 paste can successfully en- and decrypt the particular message, fixes #260 El RIDO 2019-05-19 08:25:34 +02:00
  • 7111e38898 Merge branch 'empty-paste' into webcrypto El RIDO 2019-05-19 07:52:37 +02:00
  • 6f480bf014 Merge branch 'master' into webcrypto, implementing base58, fixes #377 El RIDO 2019-05-15 21:20:54 +02:00
  • 5779d87788 integrating compression test case that failed in rawdeflate in webcrypto + zlib testing, proving this fixes #328 El RIDO 2019-05-15 18:56:42 +02:00
  • e77eb1de13 Merge branch 'truncation' into webcrypto El RIDO 2019-05-15 18:44:26 +02:00
  • 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) El RIDO 2019-05-15 07:44:03 +02:00
  • cc1c55129f switching to full JSON API without POST array use, ensure all JSON operations are done with error detection El RIDO 2019-05-13 22:31:52 +02:00
  • be1e7babc0 removing dead code and improving code coverage El RIDO 2019-05-11 22:18:35 +02:00
  • 5b67721a6a preventing tests being included in release El RIDO 2019-05-11 20:56:35 +02:00
  • dfb16ea61d switching to JS code coverage nyc, maintained fork of istanbul El RIDO 2019-05-11 20:51:18 +02:00
  • ccdcf4cefa fix formatting El RIDO 2019-05-11 19:57:13 +02:00
  • 50af37507f fixing v2 TTL El RIDO 2019-05-11 10:46:30 +02:00
  • 788ea67b49 fixing server interaction in JS, simple pastes now work El RIDO 2019-05-11 10:39:42 +02:00
  • 5b3286df4d making zlib usable in browsers El RIDO 2019-05-11 10:38:14 +02:00
  • 20befe4bd6 revert errors on STDOUT El RIDO 2019-05-11 10:37:29 +02:00
  • a622c8f484 fix logic, avoid 5.5 El RIDO 2019-05-10 23:27:45 +02:00
  • c3719435a3 and fixing PHP 5.5 El RIDO 2019-05-10 23:09:35 +02:00
  • 7598b28a4a handling older versions in testing El RIDO 2019-05-10 22:57:55 +02:00
  • 02f3cc739f documentation on fnv1a64 is lacking, but tests show it was only introduced with PHP 5.6 El RIDO 2019-05-10 22:46:39 +02:00
  • 9b6b25dac0 revert scalar type hints to retain support for PHP < 7.0 El RIDO 2019-05-10 22:35:18 +02:00
  • 76007b6ee9 fixing class compatibility (why is this no longer enforced in PHP > 7.1?) El RIDO 2019-05-10 22:21:03 +02:00
  • f58cbefd1e revert scalar type hints to retain support for PHP < 7.0 El RIDO 2019-05-10 22:13:11 +02:00
  • fb0c9c595e remove further type hints for compatibility El RIDO 2019-05-10 22:04:47 +02:00
  • b1d35057cc remove further type hints for compatibility El RIDO 2019-05-10 22:00:34 +02:00
  • bd4dee0f3e fixing copy/paste errors El RIDO 2019-05-10 21:52:14 +02:00
  • 1e44902340 apply StyleCI patch El RIDO 2019-05-10 21:45:34 +02:00
  • 632d70412a revert scalar type hints to retain support for PHP < 7.0 El RIDO 2019-05-10 21:35:36 +02:00
  • 0f42bd818f quiescing JS unit tests El RIDO 2019-05-10 21:01:34 +02:00
  • 700f8a0ea7 made all php unit tests pass again El RIDO 2019-05-10 07:55:39 +02:00
  • 59569bf9fc working on JsonApi tests El RIDO 2019-05-08 22:11:21 +02:00
  • 7f1afb2b3e unifying MIT licenses, diff showed them to be identical El RIDO 2019-05-08 19:06:26 +02:00
  • fcf9cf63b5 Merge branch 'HLeithner-base58' El RIDO 2019-05-08 19:01:02 +02:00
  • 54d21a7803 making base-x compatible with node & browser El RIDO 2019-05-08 19:00:22 +02:00
  • b12a099e29 updating license document to include base-x' MIT license El RIDO 2019-05-08 18:32:45 +02:00
  • 4aab3c0061 Encode key as base58 Harald Leithner 2019-05-08 15:25:42 +02:00
  • 76dc01b959 finishing changes in models, removing last md5 test cases, tightening up allowed POST data El RIDO 2019-05-06 22:15:21 +02:00
  • 06b90ff48e sticking to arrays to reduce conversions, inversion of control to simplify logic El RIDO 2019-05-05 21:03:58 +02:00
  • b7a03cfdb9 enforcing parameter types, avoiding unnecessary metadata in version 2 pastes El RIDO 2019-05-05 18:22:57 +02:00
  • 6e15903f1e make DatabaseTest work pass again, support reading & writing version 1 & 2 pastes & comments El RIDO 2019-05-05 14:36:47 +02:00
  • bbdcb3fb0f remove duplicate code El RIDO 2019-05-05 08:53:40 +02:00
  • 3338bd792e implement version 2 format validation, changing ID checksum algorithm, resolves #49 El RIDO 2019-05-03 23:03:57 +02:00
  • ed676acac3 breaking all the things (by replacing v1 with v2 formats) El RIDO 2019-05-03 20:51:01 +02:00
  • 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 El RIDO 2019-04-16 07:45:04 +02:00
  • eeca365e18 Merge branch 'master' into webcrypto El RIDO 2019-03-25 20:18:10 +01:00
  • 0e18b5d0c1 Merge branch 'billux-master' El RIDO 2019-03-25 20:13:29 +01:00
  • 0033f39b85 Fix #413. Exclude Let's Encrypt bot from blacklisted bots Romain Dessort 2019-03-24 09:50:04 -04:00
  • d8616d1e68 Merge branch 'AreYouLoco-master' rugk 2019-03-10 11:13:35 +01:00
  • 8ea7c4cda6 Update polish translation. AreYouLoco 2019-03-08 23:03:07 +01:00
  • 742add3d1e Merge branch 'Quenty31-patch-3' rugk 2019-02-25 21:13:47 +01:00
  • e01179653f Update: added QR code Quentí 2019-02-25 20:45:59 +01:00
  • a60b86691e Merge branch 'master' into webcrypto, fix nvm El RIDO 2019-02-23 07:20:34 +01:00
  • ec698681aa Merge branch 'ff98sha-patch-1' El RIDO 2019-02-23 07:17:56 +01:00
  • 2a9d2f9993 Merge branch 'patch-1' of https://github.com/ff98sha/PrivateBin into ff98sha-patch-1 El RIDO 2019-02-23 07:15:20 +01:00
  • fd33cc8206 switch to newer node version, in an attempt to support mocha 6 El RIDO 2019-02-23 07:06:39 +01:00
  • 9c3a4cebd4 Update zh.json ff98sha 2019-02-22 22:56:13 +08:00
  • ba3efefc7b Add warning for insecure HTTP rugk 2019-02-13 11:59:07 +01:00
  • e418b083e8 Merge branch 'master' into webcrypto El RIDO 2019-01-22 20:11:42 +01:00
  • 48560e3d60 Merge branch 'fb-tracking-param-fix' El RIDO 2019-01-22 20:06:04 +01:00
  • 34c64acb75 Apply StyleCi recommendation rugk 2019-01-22 00:12:02 +01:00
  • c2a46b7af7 Make JS function more robust rugk 2019-01-22 00:07:28 +01:00
  • 99d49a56ba Fix PHPunit tests rugk 2019-01-21 23:49:33 +01:00
  • 7cb942aca3 Make PHP paste ID function more robust rugk 2019-01-21 23:19:41 +01:00
  • 541fff199a Put PHP paste request into own function rugk 2019-01-21 23:06:25 +01:00
  • 6beea8f2f4 apply yet another StyleCI recommendations El RIDO 2019-01-20 12:29:27 +01:00
  • e3d7ac4442 apply StyleCI recommendations El RIDO 2019-01-20 12:28:03 +01:00
  • 79a858f176 extracting only the 16 hex characters of the query string as paste ID, addressing #396 El RIDO 2019-01-20 12:20:37 +01:00
  • cc53d95ed1 extending test cases to reproduce the issue from #396, causing the existing logic to now fail the tests El RIDO 2019-01-20 11:05:34 +01:00
  • 5e4c6b5770 Merge branch 'master' into webcrypto El RIDO 2019-01-07 21:29:14 +01:00
  • 6bb599c81f Merge branch 'Ahuahuachi' El RIDO 2019-01-07 21:18:49 +01:00
  • 8f52173ec3 Translate new parameters Alfredo Fabián Altamirano 2019-01-05 19:11:23 -06:00
  • 287130dd37 Add missing translation for "QR code" Alfredo Fabián Altamirano 2019-01-05 19:07:55 -06:00
  • ec68abe2b5 revert formatting changes, for easier comparison of changes El RIDO 2019-01-07 21:02:51 +01:00