El RIDO
2c82279292
Merge branch 'attachment-handling' of https://github.com/thororm/PrivateBin into thororm-attachment-handling
...
apart from resolving conflicts:
- added missing docs
- inlined functions that were used in only one location
- updated unit test to support all previews
- fixed a regression that displayed the preview even when there was no preview and too early
7 years ago
El RIDO
de4b96c5ed
Merge branch 'blob' of https://github.com/otaku/PrivateBin into otaku-blob
7 years ago
El RIDO
e4bf41202e
Merge branch 'master' into js-unit-testing
7 years ago
Alexander Do
2fce7bb96a
Merge branch 'master' of github.com:PrivateBin/PrivateBin into blob
7 years ago
Alexander Do
3f28f01b0e
Switch from bind / unbind to on / off
7 years ago
rugk
3b90020559
Add explanation
...
Ref https://github.com/PrivateBin/PrivateBin/pull/297#issuecomment-379586428
7 years ago
Alexander Do
60cedd7fb5
Only create Blob for Download for IE upon click event
7 years ago
Alexander Do
2925fa8bfc
Requested Changes, IE Download fix only
7 years ago
Alexander Do
d3b8ef44ed
Download Attachment changes. Support for Edge and change to Blob
7 years ago
Alexander Do
944c8c2912
Add test for missing browser language
7 years ago
Alexander Do
c6950b9b56
Default to en if browser does not provide a language
7 years ago
El RIDO
3538a8bec5
concluding tests for TopNav
7 years ago
El RIDO
4857a92a0e
testing file input access
7 years ago
El RIDO
78c186d6bc
avoid StyleCI complaint
7 years ago
El RIDO
0938b59b90
attributes contain strings, not booleans
7 years ago
El RIDO
76debde85b
found and fixed a bug in TopNav.collapseBar() while writing test for it
7 years ago
El RIDO
ce6764e97d
introduce built in asserts, working on TopNav, correcting some docs
7 years ago
El RIDO
266b71bfd0
Merge branch 'master' into js-unit-testing
7 years ago
El RIDO
a3e0418b33
working on TopNav tests
7 years ago
rugk
0687448d0a
Fix some issues from ESLint
7 years ago
El RIDO
0041445e5f
starting to test TopNav
7 years ago
El RIDO
ffae6111b0
handling further JSHint warnings and TODOs
7 years ago
El RIDO
98d07e0789
improving code quality issues reported by Codacy
7 years ago
El RIDO
d92755f030
undoing code style regression
7 years ago
El RIDO
72acc95326
improving code quality issues suggested by JSHint
7 years ago
El RIDO
2db412873b
implementing ESlint suggestions
7 years ago
El RIDO
5e070db6a1
reverting escaping just for Markdown formatting, as discussed in #269
7 years ago
El RIDO
a95701bba8
completing DiscussionViewer testing
7 years ago
El RIDO
fcb4249e01
actually IDs are hexadecimal, not base64, so not a problem
7 years ago
El RIDO
95bf37be8f
implementing DiscussionViewer test, found an issue with slashes in the paste or comment IDs (as per Base64 encoding)
7 years ago
El RIDO
28f1f41c17
removing duplicate code and unused option
7 years ago
El RIDO
85401a1513
Merge branch 'master' into js-unit-testing
7 years ago
El RIDO
98a8591a27
naming JS libraries consistently
7 years ago
El RIDO
094a0c80db
Merge branch 'master' into qrcode
7 years ago
El RIDO
bb54d46c7e
updating DOMPurify library, simplifying its use, ensuring HTML entities get escaped before formatting paste - regression introduced in #258 , reported in #269
7 years ago
rugk
414ab0eb71
Add config and basic page template support
...
* load JS file asyncronously (just HTML5 async attribut)
* add basic support for page template, where it generates the code inside
of a simple div at the top
* added option to turn off QR code support
7 years ago
El RIDO
d80c2f83fa
making DiscussionViewer testable, removing some inconsistency
7 years ago
El RIDO
928215dc5e
splitting out PasteViewer, DiscussionViewer, AttachmentViewer tests
7 years ago
El RIDO
893d29a046
splitting out Alert, Editor, PasteStatus, Prompt, UiHelper tests
7 years ago
El RIDO
be358a6804
splitting out Model tests
7 years ago
El RIDO
5b9ac67504
splitting out CryptTool tests
7 years ago
El RIDO
3fed63ce28
ensuring internal variables of common module are not changed by providing getter functions, splitting out I18n tests
7 years ago
El RIDO
dfd906900b
started to split humongous test.js into separate files
7 years ago
El RIDO
39860dfdc4
making AttachmentViewer testable and implementing tests
7 years ago
El RIDO
dac86eb363
making AttachmentViewer testable
7 years ago
rugk
7bf5af761b
Add QR code generation when paste is created
7 years ago
El RIDO
d9c6b634b9
remove dangling comma
7 years ago
El RIDO
a0740ff79f
getting rid of htmlEntities (except for tests) and setElementText (dropping IE9 support), changing urls2links interface, all to avoid double encoding sanitized HTML
7 years ago
El RIDO
d0cccce7a8
removing patterns that don't get sanitized, but also don't get interpreted when inserted into the HTML
7 years ago
rugk
56f4ee5c20
Revert "Try to move sanitisation & links into setElementText"
...
This reverts commit 8d2e19f791
.
7 years ago