El RIDO
4204e4b8b7
make StyleCI happy and change unit test to use a string
2020-07-03 21:00:42 +02:00
ZerooCool
e61c44ef46
Make Opengraph really functional
...
Make Opengraph really functional
Change : #664 for #651
2020-07-01 19:47:12 +02:00
ZerooCool
13c2f8d968
Make Opengraph really functional
...
3 URLs of images used on social networks are passed in absolute URL.
Note that I did not pass all the images in absolute URLs, but, it could be consistent to do so, but, if the images work, maybe a relative call is more efficient?
Remove the version of PrivateBin, at the end of each image. This apparently prevents the opengraph from working, and, so I deleted on all of the images, to remain consistent at this level. This will make fewer requests, and, anyway, the images are not intended to change with each version.
2020-06-30 22:42:12 +02:00
El RIDO
0673c1cde1
fix display of empty files #663
2020-06-30 20:10:56 +02:00
El RIDO
e35a26c916
Merge branch 'ZerooCool-master'
2020-06-22 20:42:19 +02:00
ZerooCool
b555f679f6
Up fr.json
...
"Encrypted note on PrivateBin":
"Message chiffré sur PrivateBin",
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.":
"Visiter ce lien pour voir la note. Donner l'URL à une autre personne lui permet également d'accéder à la note."
2020-06-22 19:08:00 +02:00
El RIDO
45a0535640
adding new flag to sandbox policy, introduced and required by Chrome 83 - fixes #634
2020-06-11 18:29:32 +02:00
El RIDO
cb0faf690c
DOMpurify strips line tabulation characters (\u000b), adresses jsverifyRngState 8f6fbd749c3852ea01
2020-06-07 07:58:07 +02:00
El RIDO
8fcc321eb6
adjust unit tests to new link format
2020-06-07 07:47:28 +02:00
El RIDO
5450a431cf
Merge branch 'Haocen-625-bugfixes'
2020-06-07 07:38:59 +02:00
Haocen Xu
f1d4792d3e
Update SRI
2020-06-02 09:06:12 -04:00
Haocen Xu
65011019b7
Fix urls2links unit test
2020-06-02 09:03:33 -04:00
El RIDO
dfed1a4b45
switching webcrypto library to native node crypto implementation (requires node>=10)
2020-06-01 08:07:25 +02:00
unknown
9b138fd5fd
Update SRI
2020-06-01 02:35:06 +08:00
unknown
903ea5ea68
Open all links in new window
2020-06-01 02:33:22 +08:00
El RIDO
7794915172
expose permission exceptions to the API
2020-05-31 16:33:25 +02:00
El RIDO
df408c1e82
remove code climate dependency, since I couldn't get it to work on github actions
2020-05-31 16:11:24 +02:00
El RIDO
fbefe47806
avoid the buggy windows environment
2020-05-31 15:53:57 +02:00
El RIDO
bd7ecb9c55
develop doesn't install curl extension by default
2020-05-31 15:43:59 +02:00
El RIDO
2a04ee385d
develop doesn't install DOM extension by default
2020-05-31 15:41:30 +02:00
El RIDO
3268464ada
might only be fixed in development branch
2020-05-31 15:36:13 +02:00
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
Steven Andrés
3f75c81a2f
fixed duplicated getKey()
2020-05-08 12:18:20 -07:00
Steven Andrés
effe6ad3e5
fixed spacing to please StyleCI
2020-05-08 11:37:21 -07:00
Steven Andrés
8fbdb69d8a
added check for null whitelist
2020-05-08 11:36:19 -07:00
Steven Andrés
b8594c174a
whitelist_paste_creation description
2020-05-07 16:48:17 -07:00
Steven Andrés
d847e2fcf2
alignment
2020-05-07 16:46:31 -07:00
Steven Andrés
c152f85b50
removed $remoteip that the audit didn't like
2020-05-07 16:45:24 -07:00
Steven Andrés
819d25a74c
change to whitelist_paste_creation
2020-05-07 16:13:25 -07:00
Steven Andrés
cea96ee12a
Update cfg/conf.sample.php
...
Co-authored-by: rugk <rugk+git@posteo.de>
2020-05-07 15:55:09 -07:00
Steven Andrés
ef9780707a
Update lib/Controller.php
...
Co-authored-by: rugk <rugk+git@posteo.de>
2020-05-07 15:54:13 -07:00
Steven Andrés
9ca041fa06
Update lib/Controller.php
...
Co-authored-by: rugk <rugk+git@posteo.de>
2020-05-07 15:53:56 -07:00
Steven Andrés
9327c9b58b
added whitelist check
2020-05-05 14:18:52 -07:00