db4ae09ee3upgraded PHP libraries
El RIDO
2019-06-16 07:10:24 +02:00
362045c664re-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
cd72110ea4Merge branch 'blob-uri'
El RIDO
2019-06-15 09:49:20 +02:00
b4ceb4078dremoved 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
f915af1a5aadjust CSP header to allow blob URLs
El RIDO
2019-06-15 09:36:09 +02:00
451a4817c4replace data-URL method usage with blob-URL one
El RIDO
2019-06-15 09:35:26 +02:00
6cf52f4cf3mocking window.URL.createObjectURL to have tests working with blob URLs
El RIDO
2019-06-15 08:56:47 +02:00
abd71413c3Store Blob URL in variable
R4SAS
2019-06-12 06:29:36 +03:00
d3f9670bc2Remove data length detection, because we work with URL
R4SAS
2019-06-12 06:05:55 +03:00
dcbefcc1c3Use blob for previews
R4SAS
2019-06-12 05:29:19 +03:00
ff6b9bd8f9Use blob URI for saving attachments (#432)
R4SAS
2019-06-12 04:37:17 +03:00
a459c4692ccorrecting API use, avoid history glitch
El RIDO
2019-06-01 23:49:40 +02:00
ebbb850b27clone array instead of passing the reference, adresses #436
El RIDO
2019-05-31 07:05:40 +02:00
87c7719513Merge branch 'webcrypto'
El RIDO
2019-05-26 21:07:21 +02:00
c4b84b2b6bextract version logic into paste & comment classes
El RIDO
2019-05-25 13:20:39 +02:00
d73c68ad85insert 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
a270cd818acreate security.md for new Github security feature
El RIDO
2019-05-23 17:06:33 +02:00
398fabd664Chrome requires unsafe-eval for it to parse and evaluate WASM modules
El RIDO
2019-05-20 18:29:37 +02:00
b44e729a1afixing display of version 1 pastes without attachments
El RIDO
2019-05-19 13:31:17 +02:00
12a9b2ff8eaddress Scrutinizer issues with the use of getParams method
El RIDO
2019-05-19 10:13:47 +02:00
1baa1c2b0afixing API doc issue found by Scrutinizer
El RIDO
2019-05-19 10:05:04 +02:00
800a0df8e3apply StyleCI patch
El RIDO
2019-05-19 10:01:41 +02:00
353d08daf6handle regression due to base58 stripping NULL bytes, discovered via JSVerify RNG state 0dec6b2a5f04d19873
El RIDO
2019-05-19 09:54:40 +02:00
909ff2daa7handle scrutinizer issues (mostly changes in API documentation)
El RIDO
2019-05-19 09:42:55 +02:00
8fd3e680e4base58 will left trim NULL bytes, handling JSVerify RNG state 0dec6b2a5f04d19873
El RIDO
2019-05-19 09:05:56 +02:00
86b4e0e7a4revert autoformatting applied by IDE
El RIDO
2019-05-19 08:43:07 +02:00
d785ada3feapply StyleCI patch
El RIDO
2019-05-19 08:36:37 +02:00
3b0ab7e99ffixing regression handling v1 key format (un-decoded base64)
El RIDO
2019-05-19 08:36:18 +02:00
0e71211fadv2 paste can successfully en- and decrypt the particular message, fixes#260
El RIDO
2019-05-19 08:25:34 +02:00
7111e38898Merge branch 'empty-paste' into webcrypto
El RIDO
2019-05-19 07:52:37 +02:00
6f480bf014Merge branch 'master' into webcrypto, implementing base58, fixes#377
El RIDO
2019-05-15 21:20:54 +02:00
5779d87788integrating 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
e77eb1de13Merge branch 'truncation' into webcrypto
El RIDO
2019-05-15 18:44:26 +02:00
09162a3c57fix 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
cc1c55129fswitching 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
be1e7babc0removing dead code and improving code coverage
El RIDO
2019-05-11 22:18:35 +02:00
5b67721a6apreventing tests being included in release
El RIDO
2019-05-11 20:56:35 +02:00
dfb16ea61dswitching to JS code coverage nyc, maintained fork of istanbul
El RIDO
2019-05-11 20:51:18 +02:00
ccdcf4cefafix formatting
El RIDO
2019-05-11 19:57:13 +02:00
50af37507ffixing v2 TTL
El RIDO
2019-05-11 10:46:30 +02:00
788ea67b49fixing server interaction in JS, simple pastes now work
El RIDO
2019-05-11 10:39:42 +02:00
5b3286df4dmaking zlib usable in browsers
El RIDO
2019-05-11 10:38:14 +02:00
20befe4bd6revert errors on STDOUT
El RIDO
2019-05-11 10:37:29 +02:00
a622c8f484fix logic, avoid 5.5
El RIDO
2019-05-10 23:27:45 +02:00
c3719435a3and fixing PHP 5.5
El RIDO
2019-05-10 23:09:35 +02:00
7598b28a4ahandling older versions in testing
El RIDO
2019-05-10 22:57:55 +02:00
02f3cc739fdocumentation 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
9b6b25dac0revert scalar type hints to retain support for PHP < 7.0
El RIDO
2019-05-10 22:35:18 +02:00
76007b6ee9fixing class compatibility (why is this no longer enforced in PHP > 7.1?)
El RIDO
2019-05-10 22:21:03 +02:00
f58cbefd1erevert scalar type hints to retain support for PHP < 7.0
El RIDO
2019-05-10 22:13:11 +02:00
fb0c9c595eremove further type hints for compatibility
El RIDO
2019-05-10 22:04:47 +02:00
b1d35057ccremove further type hints for compatibility
El RIDO
2019-05-10 22:00:34 +02:00
bd4dee0f3efixing copy/paste errors
El RIDO
2019-05-10 21:52:14 +02:00
1e44902340apply StyleCI patch
El RIDO
2019-05-10 21:45:34 +02:00
632d70412arevert scalar type hints to retain support for PHP < 7.0
El RIDO
2019-05-10 21:35:36 +02:00
0f42bd818fquiescing JS unit tests
El RIDO
2019-05-10 21:01:34 +02:00
700f8a0ea7made all php unit tests pass again
El RIDO
2019-05-10 07:55:39 +02:00
59569bf9fcworking on JsonApi tests
El RIDO
2019-05-08 22:11:21 +02:00
7f1afb2b3eunifying MIT licenses, diff showed them to be identical
El RIDO
2019-05-08 19:06:26 +02:00
fcf9cf63b5Merge branch 'HLeithner-base58'
El RIDO
2019-05-08 19:01:02 +02:00
54d21a7803making base-x compatible with node & browser
El RIDO
2019-05-08 19:00:22 +02:00
b12a099e29updating license document to include base-x' MIT license
El RIDO
2019-05-08 18:32:45 +02:00
4aab3c0061Encode key as base58
Harald Leithner
2019-05-08 15:25:42 +02:00
76dc01b959finishing changes in models, removing last md5 test cases, tightening up allowed POST data
El RIDO
2019-05-06 22:15:21 +02:00
06b90ff48esticking to arrays to reduce conversions, inversion of control to simplify logic
El RIDO
2019-05-05 21:03:58 +02:00
b7a03cfdb9enforcing parameter types, avoiding unnecessary metadata in version 2 pastes
El RIDO
2019-05-05 18:22:57 +02:00
6e15903f1emake DatabaseTest work pass again, support reading & writing version 1 & 2 pastes & comments
El RIDO
2019-05-05 14:36:47 +02:00
bbdcb3fb0fremove duplicate code
El RIDO
2019-05-05 08:53:40 +02:00
3338bd792eimplement version 2 format validation, changing ID checksum algorithm, resolves#49
El RIDO
2019-05-03 23:03:57 +02:00
ed676acac3breaking all the things (by replacing v1 with v2 formats)
El RIDO
2019-05-03 20:51:01 +02:00
5652a43d1dadding 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
eeca365e18Merge branch 'master' into webcrypto
El RIDO
2019-03-25 20:18:10 +01:00
0e18b5d0c1Merge branch 'billux-master'
El RIDO
2019-03-25 20:13:29 +01:00