Commit Graph

1639 Commits (878f13a643b025fd127c2d9910353e86c775e1bb)

Author SHA1 Message Date
El RIDO 878f13a643
adding an example to opt-out of the privatebin directory 2020-04-08 05:35:38 +02:00
El RIDO b5ab38e657
adding a Makefile to simplify release related tasks as well as unit testing 2020-04-02 07:47:29 +02:00
rugk fb66e2392b
Merge branch 'metadatafix' 2020-03-27 13:52:13 +01:00
El RIDO 7e77b94158
revert the revert caused by the merge of master 2020-03-23 18:58:26 +01:00
El RIDO 2f9f6d90dd
Merge branch 'master' into metadatafix 2020-03-23 18:48:48 +01:00
El RIDO c63dc3df7b
increase timeout for nyc JS code coverage generator 2020-03-22 06:56:18 +01:00
El RIDO 9914c37683
incrementing version 2020-03-22 06:44:04 +01:00
El RIDO 1439bb291f
allow pasting password on paste with attachment - big kudos @rugk for finding it! - fixes #565, fixes #595 2020-03-21 16:53:55 +01:00
El RIDO 0907ee90e3
documenting change 2020-03-21 16:07:11 +01:00
El RIDO 7abfe56910
Merge branch 'preview-encoding' 2020-03-21 15:59:25 +01:00
rugk 0cc0830421
Handle review comments
Add translation strings
and remove/adjust wrong tags
2020-03-10 09:05:44 +01:00
El RIDO 71c76adac4
addressing false positive jsverify rngState 077c06da821594b3fe 2020-03-06 23:00:48 +01:00
rugk 7cb830e22f
It includes a change in the RegEx for URLs because that was broken when a
& character later followed at any time after a link (even after a newline).
(with a negative lookahead)

Test with https://regex101.com/r/i7bZ73/1

Now the RegEx does not check for _all_ chars after a link, but just for the
one following the link.
(So the lookahead is not * anymore. I guess thsi behaviour was
the expectation when it has been implemented.)
2020-03-06 22:37:12 +01:00
El RIDO c334d2d00d
Merge branch 'master' into preview-encoding 2020-03-06 22:23:40 +01:00
El RIDO c11dc8e17e
reverting Helper.urls2links() method to old style, applied to element instead of string, allows inserting plain text as text node 2020-03-06 22:18:38 +01:00
El RIDO 8a6dcf910a
Revert "in Helper.urls2links(), encode HTML entities, find and insert links, partially decoding only the href property of it"
This reverts commit 5340f417e0.
2020-03-06 20:57:15 +01:00
El RIDO 33bb0c6bd6
trying to recreate former StyleCI behaviour in changed preset 2020-03-06 20:50:19 +01:00
El RIDO 0564c0e62e
fixing 'The provided fixer 'method_argument_space' cannot be disabled unless it was already enabled by your preset.' 2020-03-06 20:46:51 +01:00
rugk b52e78d173 Add OpenGraph and Twitter cards
Just useless templates/defaults without any content.

Fixes https://github.com/PrivateBin/PrivateBin/issues/139
2020-03-04 15:10:31 +01:00
El RIDO f05e5c2e29
documenting change 2020-03-01 16:14:19 +01:00
El RIDO 879a2a9255
tweaking German translation for email strings 2020-03-01 08:55:24 +01:00
El RIDO f391773c65
generalize date string handling, replacing hardcoded lookups, fixes #586 2020-03-01 08:54:48 +01:00
El RIDO 5340f417e0
in Helper.urls2links(), encode HTML entities, find and insert links, partially decoding only the href property of it 2020-02-29 09:37:54 +01:00
El RIDO d2e9e47b67
refactor switch into nested if/else, to improve readability - no functional change 2020-02-29 08:45:56 +01:00
El RIDO b0800060c2
fix change log 2020-02-16 13:33:48 +01:00
El RIDO 15f66870d1
Merge branch 'php7.4-ci' 2020-02-16 13:27:16 +01:00
El RIDO afd82ac34d
Merge branch 'master' into php7.4-ci 2020-02-16 13:23:11 +01:00
El RIDO adece1d784
incrementing version 2020-02-16 11:15:51 +01:00
El RIDO e74d786a68
update change log 2020-02-16 07:23:20 +01:00
El RIDO f190317d95
remove obsolete sudo key 2020-02-05 19:35:46 +01:00
El RIDO 5d54006c9e
update minimum required PHP version to 5.6 and replace slowEquals() with native hash_equals() function 2020-02-05 19:30:14 +01:00
El RIDO 2870023e9c
updating composer requirements und identicon library 2020-02-05 19:17:22 +01:00
El RIDO df7a06315f
drop php 5.5 tests, allowing us to use current ubuntu bionic based environment and adding php 7.4 incl. GD library 2020-02-05 19:15:43 +01:00
El RIDO 12c83a13c7
addressing false positive jsverify rngState 85f362db8950cea741 2020-02-05 19:06:45 +01:00
El RIDO aa377038a0
fixing DOMpurify 2.0.8 SRI after removing map line in file (which causes unnecessary requests to missing files in the browser) 2020-02-05 19:05:37 +01:00
El RIDO 7038fd5712
Revert "add 7.4 to travis CI tests"
This reverts commit 81194f6bd6.

Found that the trusty based php 7.4 in TravisCI doesn't include the GD module, that we need, plus there is an issue with the Filter::slowEquals() function that only remains for php 5.5 support that doesn't yet contain hash_compare().
2020-02-05 18:52:53 +01:00
El RIDO 81194f6bd6
add 7.4 to travis CI tests 2020-02-05 16:50:08 +01:00
El RIDO bab95cce1b
addressing false positive jsverify rngState 8bf7605ea139db4c28 2020-02-04 18:58:24 +01:00
El RIDO 00438ec1ab
upgrade DOMpurify to 2.0.8 2020-02-04 18:43:35 +01:00
El RIDO 87423abd7c
Fix ARIA for Editor/preview tabs. 2020-02-04 18:29:14 +01:00
El RIDO 347e7e03e1
Merge pull request #582 from RoiArthurB/patch-1
Update fr.json
2020-02-04 11:24:59 +01:00
Arthur Brugiere 6e08d8a497
Update fr.json
Fix missing translate + invalid translations
2020-02-04 14:54:47 +07:00
El RIDO 3fdd42487a
fix FAQ links, tweaking the subtext display, add link to modern browser FAQ, fixes #577 2020-02-02 07:35:33 +01:00
El RIDO 2cbb8bf3ca
in translation, allow links to be inserted unencoded into href attribute, simplfy sanitation by allowing only <a> tags in DOMpurify for plain text and comments and avoid DOMpurify removing magnet links, fixes #579 2020-02-02 07:08:38 +01:00
El RIDO 3996f82404
relax encoding of slashes just for plaintext display, so links can be detected 2020-02-01 16:30:41 +01:00
El RIDO d7fd6667fd
Merge branch 'displayEncoding2' 2020-02-01 16:16:05 +01:00
El RIDO 21ca30af3c
apply StyleCI recommendation 2020-02-01 09:39:14 +01:00
El RIDO 1b206e8495
ensuring consistent use of php side encoding, testing all encoding cases, correctly report the language in the <html> tag 2020-02-01 09:15:14 +01:00
El RIDO cc0920fc09
add HTML entity encoding to PHP translation logic, remove exception to allow <br/> tags in DOMpurify by eliminating the single case that made use of it 2020-02-01 08:46:59 +01:00
El RIDO 428ea2f34e
adding test that expects parameters of php translation to get HTML entities to get encoded 2020-02-01 08:09:30 +01:00