El RIDO
3f2de319f3
should use typesafe comparison in JS and adding forgotten modal dialog in bootstrap-dark-page
8 years ago
El RIDO
3f8d6a592b
refactored modal dialog logic, added the new message IDs to all translation files and added the modal dialog to all bootstrap based templates (page gets the old JS input as a fallback)
8 years ago
Alexander Demenshin
2c8a780c74
Removed unreachable code
8 years ago
Alexander Demenshin
c916f33a83
More js for modal password request
8 years ago
Alexander Demenshin
09fa46a651
Added relevant js to modal password form
8 years ago
El RIDO
375dac759f
renamed jQuery file to match projects JS file naming convention
8 years ago
El RIDO
f093b05330
update jQuery from 1.11.3 to 3.1.1
8 years ago
stefanomarty
af824bbcd6
Update privatebin.js
...
Added 'it' supported language.
8 years ago
Nathaniel Olsen
3eea03954a
Forgot to delete this
8 years ago
Nathaniel Olsen
176d683d1c
Forgot to add the file using git
8 years ago
Nathaniel Olsen
0a48c464b4
Update jquery 1.11.3 ==> 3.1.1
8 years ago
Nathaniel Olsen
5639042d12
Update jquery 1.11.3 ==> 3.1.1
8 years ago
El RIDO
e925833090
bumping version number to 1.0
8 years ago
El RIDO
47646e056b
fixing urlshortening regression caused by CSP introduction, resolves #10
8 years ago
El RIDO
f957a1868f
push state to history when displaying raw text to allow use of back button, fixes #7
8 years ago
El RIDO
87926ce157
reactivated second error message for comments between textarea and button, fixes #62
8 years ago
El RIDO
a0c6222fec
Ensuring markdown docs use the unformatted text for raw text and clone, fixes #63
8 years ago
El RIDO
4fa2f7cd22
Initialize state of checkboxes on page load, resolves #79
8 years ago
El RIDO
6144e73405
update preview if format is changed, resolves #60
8 years ago
El RIDO
5ec20c1bc2
making burn-after-reading and discussion mutually exclusive options to improve UI, resolves #11
8 years ago
El RIDO
addb666a23
introducing CSP header to mitigate XSS attacks, closes #10
8 years ago
El RIDO
a28aebae7d
make key size and authentication tag size explicit instead of trusting on defaults
8 years ago
El RIDO
97ed1a5cf4
found a better JS html entity escape function and use it to fix regression introduced by the preview feature, resolves #43
8 years ago
El RIDO
002046cc62
some minor cleanups
8 years ago
rugk
bbad92a161
Minor JS code improvments
8 years ago
rugk
38ab755733
Replace HTTP links with HTTPS
...
Using this regexp: https://regex101.com/r/rZ2dE2/1
8 years ago
El RIDO
6b20836461
upgrading SJCL library to 1.0.4: https://github.com/bitwiseshiftleft/sjcl/releases/tag/1.0.4
8 years ago
El RIDO
615777ffd9
clarifying some code
8 years ago
El RIDO
df5150c7f2
found another
8 years ago
El RIDO
90a26d8fcb
removing some code smells, found in the various code checker tools
8 years ago
El RIDO
3b3b5277eb
refactoring to improve code quality
8 years ago
El RIDO
79509ad48a
renaming the fork to PrivateBin
8 years ago
El RIDO
6a663ba07f
adding preview feature, resolves #4
8 years ago
El RIDO
ad9fdf8892
switching from CCM to GCM, resolves #27
8 years ago
El RIDO
8e11f0873c
small code style improvements, trying to get phpunit with hhvm to work in travis
8 years ago
El RIDO
1625aac798
updating showdown library, adding support for tables and strikethrough,
...
fixing issue with double escaping HTML entities that was causing
blockquotes to be ignored, fixes #75
8 years ago
El RIDO
3ec7002f63
Don't strip space characters of beginning or end of password, while
...
still ignoring passwords consisting of just spaces, resolves #69
8 years ago
El RIDO
4918bef4dc
Although there usually are no plurals in chinese, there's an exception
...
for words related to persons, when not preceeded by a numeric word.
Sources:
- http://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html#f3
- https://answers.yahoo.com/question/index?qid=20110606153553AAAW5zX
8 years ago
Jiawei Zhou
4565b72a7d
Adding Chinese Translation ( #73 )
8 years ago
El RIDO
a4ebdbc606
re-introducing (optional) URL shortener support, resolves #58
9 years ago
El RIDO
a459c6d836
translated to slowene
...
Conflicts:
js/zerobin.js
9 years ago
El RIDO
ce107c928e
supporting disabled password option in the JS part, fixes #55
9 years ago
El RIDO
24a4328c55
incrementing version, updating changelog, added missing phpdoc comments
9 years ago
El RIDO
740d62005e
small CSS improvement, partially resolves #48
9 years ago
El RIDO
40019624fd
wrap long lines in plaintext format but force horizontal scroll on
...
syntaxhighlighting, resolves #45
9 years ago
El RIDO
14d08ec56d
working on JSON-LD validity, added CORS headers preparing external API
...
call support
9 years ago
El RIDO
22d0b1ec22
updating comment format to match defined JSON-LD API context
9 years ago
El RIDO
f21567133c
changing paste read output for API refactoring
9 years ago
El RIDO
87b41a0c3d
implemented tab input support from #40 , thank you azlux!
9 years ago
El RIDO
2e3bacb699
fixing deletion issue in request refactoring, starting work on API read
...
refactoring
9 years ago
El RIDO
1d6cfb7f3b
refactoring delete API, added external JSON-LD context
9 years ago
El RIDO
7ec94e0db5
implementing request refactoring, beginning JS changes for JSON API, but
...
discovered that DELETE and PUT are not available on all webservers by
default
9 years ago
El RIDO
9f68658106
incrementing version number, updating changelog
9 years ago
El RIDO
0686087cfd
fixing mobile navbar triggered issue and slight adjustement to bootstrap
...
template for using full width of browser for navbar
9 years ago
El RIDO
608605cd54
incrementing version number, updating docs
9 years ago
El RIDO
844c4d15e9
fixes #30
9 years ago
El RIDO
a111357fae
add optional (since it uses a session cookie) language selection
9 years ago
El RIDO
39e865ca64
if the uploaded file is an image mime type, display it
9 years ago
El RIDO
50075ea948
fixing issue with attachment, empty paste & empty password
9 years ago
El RIDO
ed9c4f45f4
adding file name support for #20 , solving issue with unencryptable file
9 years ago
El RIDO
e144739dec
implement file upload UI on bootstrap templates
9 years ago
El RIDO
106141efa4
merging @vikstrous file upload feature for #20 from
...
8a6d268278
9 years ago
El RIDO
61903665df
logic cleanup
9 years ago
El RIDO
0e53d1ee86
added markdown support and a dropdown for the format selection. The
...
options other then markdown are plain text and source code (syntax
highlighting). Resolves #25
9 years ago
El RIDO
9dde7f034a
moving remaining time / for your eyes only message from nav bar into
...
status alert in bootstrap theme, to ensure it is seen even with a
collapsed nav bar as in the mobile view
9 years ago
El RIDO
428a9d9c41
toggling mobile nav bar after tap on buttons "New", "Clone" and "Send"
...
to ensure any messages are visible for #21 .
9 years ago
El RIDO
b26fb08732
Fixing issues with en translation, thanks @wware for spotting it
9 years ago
El RIDO
b060d57524
- implemented php side of plural translation
...
- using it to generate labels dynamically for the expire options
(deprecating the [expire_labels] configuration).
- added translation of the human readable data sizes to support the
french octet
- fixed IEC label for kibibytes
9 years ago
El RIDO
c83ba8256f
implementing a plural translation solution, currently only the JS part
9 years ago
El RIDO
eee7b0144a
covering JS side of translations ( #7 ), added the messages to the
...
translation files and translated the german ones
9 years ago
El RIDO
b883d5eb4c
Merge branch 'master' of git@github.com:elrido/ZeroBin.git
...
Conflicts:
js/zerobin.js
9 years ago
El RIDO
3099e10dfa
refactored JS:
...
- moved from global namespace into anonymous function
- as onclick has no direct access to the zerobin methods, the events are
now bound in the init() method via bindEvents()
- to simplify maintenance, the functions were wrapped into 3 objects:
zerobin (display logic, event handling), filter (compression,
encryption) and helper (stateless utilities)
- some CSS and template adjustements were also done
9 years ago
Hexalyse
d74172064b
Hide error message when paste is posted correctly
9 years ago
Hexalyse
9687144c92
Error messages are now replaced and not appended
...
Error messages are now replaced and not appended in the #errormessage div, without removing the glyphicon (which a .text() would have done).
This way, we don't have HTML code in the JS (which would be ugly). But it's still not a really elegant solution.
9 years ago
El RIDO
2d79ba8243
updating docs, bumping version to 0.20
9 years ago
El RIDO
b25022e403
refactored JSON API, its now possible to retrieve pastes as JSON, which
...
is now used when posting comments, eliminating the need to store the
password in sessionStorage
9 years ago
El RIDO
802a0b26b9
burn after reading messages are only deleted after callback by JS when
...
successfully decrypted, resolves #11
9 years ago
El RIDO
9fdbba76ce
working on password function for #15 :
...
- asking again if password is wrong
- display error if user cancels dialog
- use password to encrypt comments, too (password is "stored" in the
password field)
- store password in sessionStorage when posting a comment so, that it
doesn't have to typed in again, but clear sessionStorage as soon as
password is retrieved
9 years ago
El RIDO
d3c4600806
slight configuration changes, template modifications to make discussions
...
and password configurable, removed generated configuration test as it
grows quite big and a new one can be generated easily if needed
9 years ago
Hexalyse
0198371049
Password input id change in zerobin.js
9 years ago
Hexalyse
eadcd60e14
Password input id change in zerobin.js
9 years ago
Hexalyse
95f1db925b
Merge branch 'master' of https://github.com/elrido/ZeroBin
...
Conflicts:
cfg/conf.ini
js/zerobin.js
9 years ago
El RIDO
be91afa042
- fixing JS errors when syntax highlighting is disabled (point 1. #15 )
...
- fixing missing url conversion in highlighted text (point 2. # 15)
9 years ago
Simon Rupf
a34cc562e1
optimized bootstrap comment layout
9 years ago
Hexalyse
3b537eda40
Added an optional password protection
9 years ago
El RIDO
b299a6e03e
added a bootstrap theme, still needs some work in the comments layout
9 years ago
El RIDO
0c1d5c62d5
updated de/inflate to versions 0.5/0.3, using versions found at
...
a3725d3bee
kudos Dan Kogai
9 years ago
El RIDO
a0107d7eae
updated prettify to minified versions found at
...
6aa04af68e/loader/prettify.js
6aa04af68e/loader/prettify.css
kudos Mike Samuel
9 years ago
El RIDO
49c6e3c1b6
updated base64.js to version 2.1.9, using minified version found at
...
9192c510f5/base64.min.js
kudos Dan Kogai
small improvements to input checking
implementing default values for most configuration options
switching to versioned JS files to avoid version hack used in template
9 years ago
El RIDO
7bc8c14df6
updated sjcl to version 1.0.2, using minified version found at
...
11a673d1d3/sjcl.js
kudos Nils Kenneweg
9 years ago
El RIDO
769768d25e
updated jquery to 1.11.3
9 years ago
El RIDO
3aa4911991
Small text message changes
9 years ago
Sebastien SAUVAGE
daf5522b1e
Potentiel security bug corrected
...
Bug reproduction: 1) paste texte containing html/javascript. 2) send 3)
clic "Raw text" 4) refresh: The html/javascript is interpreted instead
of just displayed.
Under some versions of Chrome, it happens without refreshing.
This bug was corrected.
(cherry picked from commit 4f8750bbddcb137213529875e45e3ace3be9a769)
9 years ago
Sebastien SAUVAGE
bc8b23d35e
XSS flaw correction
...
With a client IE < 10 there was a XSS security flaw. Other browsers were
not affected.
Also corrected spacing display with IE<10.
(cherry picked from commit 28813cd82ae47e556b610da3c7302a6709e27431)
Conflicts:
CHANGELOG.md
index.php
js/zerobin.js
lib/vizhash16x16.php
9 years ago
Sebastien SAUVAGE
d9930978ba
Make sure there is enough entropy.
...
This patch will improve key randomness by requiring the user to move the
mouse if there is not enough entropy.
(cherry picked from commit c6e98045aa833dff824f892eb3392744c03a59f7)
9 years ago
El RIDO
e646729b2d
fixing regressions from cherrypicking
9 years ago
Sebastien SAUVAGE
5f87ea6843
ZeroBin 0.18
...
(cherry picked from commit 7a8cbee2f99cd74a50bce7e8df8130e2c477d903)
Conflicts:
CHANGELOG.md
index.php
js/zerobin.js
lib/vizhash16x16.php
9 years ago
Sebastien SAUVAGE
ecd2e067f8
replaceState() changed to pushState()
...
so that the "Back" button works after clicking on "Raw text".
(cherry picked from commit 47fae2b2467df2ab017102d82833cb380c286867)
9 years ago
Sebastien SAUVAGE
fdc87a7fcf
Added "Raw text" button.
...
(cherry picked from commit 00cfcafc996c55afd069b665ad3875693e22d36d)
Conflicts:
css/zerobin.css
js/zerobin.js
tpl/page.html
9 years ago
Sebastien SAUVAGE
09bebae286
Removed dead code.
...
(cherry picked from commit 87e17b36f9b2ec777c14257eb9c8efec0e7bd053)
Conflicts:
css/zerobin.css
js/zerobin.js
tpl/page.html
9 years ago