Commit Graph

1916 Commits

Author SHA1 Message Date
El RIDO
09a2c5c3b9
attempting to fix windows unit tests 2020-05-31 15:30:30 +02:00
El RIDO
51a867bc20
removing outdated configurations and fix path of phpunit 2020-05-31 15:24:10 +02:00
El RIDO
a1bac9b6e1
remove composer lock, to avoid installing incompatible dependencies 2020-05-31 15:10:30 +02:00
El RIDO
268730e07b
remove unmaintained and incompatible codacy module 2020-05-31 15:07:17 +02:00
El RIDO
120ba0b8ca
avoid packaged phpunit version that is incompatible with older PHP releases 2020-05-31 14:45:25 +02:00
El RIDO
bd26972a73
actually run tests and set proper working directories 2020-05-31 14:42:11 +02:00
El RIDO
7cef87e856
migrating TravisCI tests to GitHub actions 2020-05-31 14:36:09 +02:00
Haocen Xu
420f0d6634
Update SRI 2020-05-30 06:22:35 -04:00
Haocen Xu
dd98af0775
Avoid recreation of existing pasteurl element when calling URL shortener 2020-05-30 06:07:47 -04:00
Haocen Xu
5f0011b0f6
Sanitize output from Helper.urls2links 2020-05-30 06:05:20 -04:00
Haocen Xu
25a39148a8
Change order of execution to detect delete token properly 2020-05-30 06:00:17 -04:00
Haocen Xu
e298c3d10c
Reload page when back button in browser pressed, avoid reading burn
after read paste from cache
2020-05-30 05:57:27 -04:00
Haocen Xu
afcece17dd
Fix broken Helper.durationToSeconds, as it doesn't handle weeks 2020-05-30 05:55:41 -04:00
Haocen Xu
74551f58d7
Avoid DOMPurify mess with forward slash in expirationDateString 2020-05-30 05:52:15 -04:00
Haocen Xu
4984194c33
Avoid dropzone appearing when it should not by fixing
TopNav.isAttachmentReadonly logic
2020-05-30 05:48:15 -04:00
Haocen Xu
d6b06269a4
Fix Editor.hide typo 2020-05-30 05:47:33 -04:00
Haocen Xu
7eb96eb3cb
Avoid handling clipboard data item if it is not file type 2020-05-30 05:39:46 -04:00
Haocen Xu
bb9a5772bc
Add resource: to script-src cspheader to allowed rendering of pdf in
Firefox
2020-05-30 05:37:35 -04:00
El RIDO
e59ef24d35
Merge pull request #618 from idarlund/patch-6
Update no.json
2020-05-04 19:18:30 +02:00
Idar Lund
8c6c10cd0f
Update no.json 2020-05-04 10:34:52 +02:00
El RIDO
958d55a8be
Merge pull request #615 from Mejans/patch-1
i18n update Occitan language
2020-04-26 13:12:00 +02:00
Mejans
57766496e4
Update oc.json 2020-04-25 12:37:24 +02:00
El RIDO
75fc6b0c8c
Merge branch 'resetOnNew' 2020-04-24 07:05:05 +02:00
rugk
38a1726e22
Regenerate SRI 2020-04-23 12:07:38 +02:00
rugk
d3ba7eeb13
Reset checkboxes on new paste 2020-04-23 12:07:08 +02:00
rugk
5ece4d2632
Reset attachment when clicking new paste 2020-04-23 11:25:24 +02:00
El RIDO
fc1be18cbe
Makefile should not become part of the release 2020-04-08 17:53:56 +02:00
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