Commit Graph

1309 Commits

Author SHA1 Message Date
El RIDO cc1c55129f
switching to full JSON API without POST array use, ensure all JSON operations are done with error detection 2019-05-13 22:31:52 +02:00
El RIDO be1e7babc0
removing dead code and improving code coverage 2019-05-11 22:18:35 +02:00
El RIDO 5b67721a6a
preventing tests being included in release 2019-05-11 20:56:35 +02:00
El RIDO dfb16ea61d
switching to JS code coverage nyc, maintained fork of istanbul 2019-05-11 20:51:18 +02:00
El RIDO ccdcf4cefa
fix formatting 2019-05-11 19:57:13 +02:00
El RIDO 50af37507f
fixing v2 TTL 2019-05-11 10:46:30 +02:00
El RIDO 788ea67b49
fixing server interaction in JS, simple pastes now work 2019-05-11 10:39:42 +02:00
El RIDO 5b3286df4d
making zlib usable in browsers 2019-05-11 10:38:14 +02:00
El RIDO 20befe4bd6
revert errors on STDOUT 2019-05-11 10:37:29 +02:00
El RIDO a622c8f484
fix logic, avoid 5.5 2019-05-10 23:27:45 +02:00
El RIDO c3719435a3
and fixing PHP 5.5 2019-05-10 23:09:35 +02:00
El RIDO 7598b28a4a
handling older versions in testing 2019-05-10 22:57:55 +02:00
El RIDO 02f3cc739f
documentation on fnv1a64 is lacking, but tests show it was only introduced with PHP 5.6 2019-05-10 22:46:39 +02:00
El RIDO 9b6b25dac0
revert scalar type hints to retain support for PHP < 7.0 2019-05-10 22:35:18 +02:00
El RIDO 76007b6ee9
fixing class compatibility (why is this no longer enforced in PHP > 7.1?) 2019-05-10 22:21:03 +02:00
El RIDO f58cbefd1e
revert scalar type hints to retain support for PHP < 7.0 2019-05-10 22:13:11 +02:00
El RIDO fb0c9c595e
remove further type hints for compatibility 2019-05-10 22:04:47 +02:00
El RIDO b1d35057cc
remove further type hints for compatibility 2019-05-10 22:00:34 +02:00
El RIDO bd4dee0f3e
fixing copy/paste errors 2019-05-10 21:52:14 +02:00
El RIDO 1e44902340
apply StyleCI patch 2019-05-10 21:45:34 +02:00
El RIDO 632d70412a
revert scalar type hints to retain support for PHP < 7.0 2019-05-10 21:35:36 +02:00
El RIDO 0f42bd818f
quiescing JS unit tests 2019-05-10 21:01:34 +02:00
El RIDO 700f8a0ea7
made all php unit tests pass again 2019-05-10 07:55:39 +02:00
El RIDO 59569bf9fc
working on JsonApi tests 2019-05-08 22:11:21 +02:00
El RIDO 76dc01b959
finishing changes in models, removing last md5 test cases, tightening up allowed POST data 2019-05-06 22:15:21 +02:00
El RIDO 06b90ff48e
sticking to arrays to reduce conversions, inversion of control to simplify logic 2019-05-05 21:03:58 +02:00
El RIDO b7a03cfdb9
enforcing parameter types, avoiding unnecessary metadata in version 2 pastes 2019-05-05 18:22:57 +02:00
El RIDO 6e15903f1e
make DatabaseTest work pass again, support reading & writing version 1 & 2 pastes & comments 2019-05-05 14:36:47 +02:00
El RIDO bbdcb3fb0f
remove duplicate code 2019-05-05 08:53:40 +02:00
El RIDO 3338bd792e
implement version 2 format validation, changing ID checksum algorithm, resolves #49 2019-05-03 23:03:57 +02:00
El RIDO ed676acac3
breaking all the things (by replacing v1 with v2 formats) 2019-05-03 20:51:01 +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 eeca365e18
Merge branch 'master' into webcrypto 2019-03-25 20:18:10 +01:00
El RIDO 0e18b5d0c1
Merge branch 'billux-master' 2019-03-25 20:13:29 +01:00
Romain Dessort 0033f39b85
Fix #413. Exclude Let's Encrypt bot from blacklisted bots 2019-03-24 09:50:04 -04:00
rugk d8616d1e68
Merge branch 'AreYouLoco-master' 2019-03-10 11:13:35 +01:00
AreYouLoco 8ea7c4cda6
Update polish translation. 2019-03-08 23:03:07 +01:00
rugk 742add3d1e
Merge branch 'Quenty31-patch-3' 2019-02-25 21:13:47 +01:00
Quentí e01179653f
Update: added QR code 2019-02-25 20:45:59 +01:00
El RIDO a60b86691e
Merge branch 'master' into webcrypto, fix nvm 2019-02-23 07:20:34 +01:00
El RIDO ec698681aa
Merge branch 'ff98sha-patch-1' 2019-02-23 07:17:56 +01:00
El RIDO 2a9d2f9993
Merge branch 'patch-1' of https://github.com/ff98sha/PrivateBin into ff98sha-patch-1 2019-02-23 07:15:20 +01:00
El RIDO fd33cc8206
switch to newer node version, in an attempt to support mocha 6 2019-02-23 07:06:39 +01:00
ff98sha 9c3a4cebd4
Update zh.json
Modify translations and translate new strings.
2019-02-22 22:56:13 +08:00
El RIDO e418b083e8
Merge branch 'master' into webcrypto 2019-01-22 20:11:42 +01:00
El RIDO 48560e3d60
Merge branch 'fb-tracking-param-fix' 2019-01-22 20:06:04 +01:00
rugk 34c64acb75
Apply StyleCi recommendation 2019-01-22 00:14:31 +01:00
rugk c2a46b7af7
Make JS function more robust 2019-01-22 00:07:28 +01:00
rugk 99d49a56ba
Fix PHPunit tests 2019-01-21 23:49:33 +01:00
rugk 7cb942aca3
Make PHP paste ID function more robust 2019-01-21 23:19:41 +01:00