Commit Graph

345 Commits (linkregex)

Author SHA1 Message Date
El RIDO b5cdfff3e3
fix missing comment status messages - ♫ lovely span, oh wonderful span ♪ (chorus) span, span, span, span, …
7 years ago
El RIDO 5bf25f227e
update JSDoc and re-published to https://privatebin.info/jsdoc/
7 years ago
El RIDO ee43557a4f
ensure burn after reading and status messages are only changed after a successfull decryption
7 years ago
El RIDO 9deaed9406
working on asynch translation handling
7 years ago
El RIDO 1649ff34f5
restoring password protection
7 years ago
El RIDO 81b00dd422
fixing page template, removing error messages when markdown or source are disabled in configuration, re-removing unnecessary spans
7 years ago
El RIDO b6d8d0f250
found problem with unit test of baseUri function, makes code much simpler
7 years ago
El RIDO fb99d5bb93
Merge branch 'master' into jsrefactor and fixing baseUri unit test
7 years ago
El RIDO 23b09d601d
credited Tulio for the portuguese translation, updated SRI hashes
7 years ago
El RIDO 131e08ca33
made phpUnit and most mocha tests work again, had to remove some injected objects and added a helper method to facilitate a cache reset for the unit tests. Page template is still broken and the JS test for baseUri() fails
7 years ago
rugk 601aa5e3dc
🐛 Fix typo
7 years ago
rugk c033775779
Cleanup
7 years ago
rugk 52d1be1b54
Fix https://github.com/PrivateBin/PrivateBin/issues/187
7 years ago
rugk b0876ea0e0
🐛 Fix error not appearing below comment
7 years ago
rugk da094e2853
make it work(6): discussion/comments
7 years ago
Túlio Leão e59b58308d Add Portuguese Translation file
7 years ago
rugk 7be5206920
makeit work(5): pase cloning & raw button
7 years ago
rugk a652ab5896
make it work(4): display encrypted pastes
7 years ago
rugk 31e66131b7
make it work(3): allow paste submission
7 years ago
rugk f33d702f3d
make it work(2): buttons & preview working
7 years ago
rugk 8a07a0b157
make it work(1): paste input can be shown
7 years ago
rugk dd6e426da7
first round of refactoring
7 years ago
El RIDO eedb05111a
added test for getCookie function, documenting its limitation of not finding cookies with empty identifier
7 years ago
El RIDO b1396a249d
ensuring that in the JS sprintf tests no replacable patterns occur in the pre- & postfix of the test string
7 years ago
El RIDO b9c05b06d0
added test for sprintf function, removing dead code and optimizing test cases
7 years ago
El RIDO b00bcd1352
added test for urls2links function, fixing bug - asterisk is allowed in URLs query string
7 years ago
El RIDO b992bcc732
added test for setMessage function, fixing bug for elements with only one child
7 years ago
El RIDO 61a59911b8
added test for setElementText function
7 years ago
El RIDO 3ab489e92d
added test for selectText function, but discovered that this can't be tested at the moment without a browser, due to jsdom lacking getSelect support
7 years ago
rugk 52f1fb143e
Revert "JS: tried namespaces"
7 years ago
rugk e84cfc58a1
JS: tried namespaces
7 years ago
rugk b01a28d580
remove some more this, slightly change comments
7 years ago
rugk 4e86da8f72
Remove proxy
7 years ago
rugk 2ebcf60516
Use revealing module pattern
7 years ago
rugk 5130d9e2f3
New state for "only new button"
7 years ago
rugk 5ad02a3d1c
Use original reload function for manual paste open link
7 years ago
rugk e483d60eed
Merge branch 'historyupdate'
7 years ago
El RIDO 4cb0374e11
readding accidentally removed line of #173
7 years ago
El RIDO 2ca2309fc4
Merge branch 'patch-1' of https://github.com/r4sas/PrivateBin into r4sas-patch-1
7 years ago
rugk 86cd5e1c15
Use existing reload function
7 years ago
rugk edb546de54
Add loading indicator
7 years ago
rugk 5c603d0978
Improve comment
7 years ago
rugk c96dd0836b
Make link clickable again
7 years ago
El RIDO 366b61c32d
adding document title in new history state
7 years ago
El RIDO f699ca6cd4
writing tests for htmlEntities function
7 years ago
El RIDO 67f71f4dd6
writing tests for pageKey function, fixing always added padding bug
7 years ago
El RIDO a97b94640e
writing test for pasteId function
7 years ago
El RIDO 80f7baa604
writing test for scriptLocation function, fixing non-removed query separator bug
7 years ago
El RIDO 5442af6e20
slight JS refactoring
7 years ago
rugk ca51a80803
Update the history when a paste is created
7 years ago
El RIDO 4bbfd5045e
ensure that JS is *really* only initialized after the DOM is fully loaded, resolves #166
7 years ago
El RIDO 368aa2305b
removing unused pieces of code (legacy?), resolves #165
7 years ago
El RIDO b76a73aa06
upgrading showdown
7 years ago
El RIDO f1df27f46c
allowing for parameter strings starting with &
7 years ago
El RIDO 177c9d7114
Merge branch 'js-unit-testing'
7 years ago
El RIDO cae5a71151
fix missing class renaming
7 years ago
El RIDO efcfb80129
Merge branch 'master' of github.com:PrivateBin/PrivateBin
7 years ago
El RIDO d678f5dada
fixing inconsistency found in unit test
7 years ago
El RIDO fdef8bc5be
starting to work on JSVerify & Mocha based unit tests for our JS code base
7 years ago
Nathaniel Olsen a005b1128b Updated showdown
7 years ago
Nathaniel Olsen 47e4478e17 Updated sjcl, bootstrap, and the hashes
7 years ago
Nathaniel Olsen c5f7c1a3c9 Progress on updating bootstrap
7 years ago
El RIDO 8029c2819f
implementing JS module pattern to expose functions for unit testing
7 years ago
El RIDO 5f09264625
fixing documentation inconsitencies found by Scrutinizer CI
7 years ago
El RIDO db2778c64f
introduced JSDoc: changes for JSDoc compatibility and resolving inconsistencies in documentation, both semantic and in the logic
7 years ago
El RIDO a7de0e095b
added supported language, updated credits and changelog
7 years ago
El RIDO f79c00378b
Choosing correct Occitan plural formula, added unit tests for Occitan and Chinese, corrected casing of languages in unit test
8 years ago
rugk 20fea819cb
Update SRI hashes
8 years ago
Quent-in 427facc456 oc added to supported languages
8 years ago
El RIDO 4a036aea80
updated SRI hashes, added missing formula for slowene plurals and unit test for it, updated credits and changelog
8 years ago
Alfredo Fabián Altamirano Tena 910c3b3f9d Add Spanish to supported languages
8 years ago
El RIDO 1426d4e371
tagging 1.1 release and updating documentation
8 years ago
El RIDO 1badd5e542
applying HTML entity cleanup to raw paste, too, fixing #137
8 years ago
El RIDO ecd8a51137
writing a unit test for #145 lead to the discovery of two errors in the polish translations: error in formula and missing number placeholders in the translation strings
8 years ago
r4sas aacfe8e5fa added a forgotten option 'ru' in supportedLanguages section
8 years ago
atnaguzin 2847bbc45d added ru plural formula, updated template for edited privatebin.js
8 years ago
rugk 58bd603c7c
Use nice condensed table with border
8 years ago
rugk f755a99ab8
Add table class to parsed Markdown
8 years ago
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
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
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,
8 years ago
El RIDO 3ec7002f63 Don't strip space characters of beginning or end of password, while
8 years ago
El RIDO 4918bef4dc Although there usually are no plurals in chinese, there's an exception
8 years ago
Jiawei Zhou 4565b72a7d Adding Chinese Translation (#73)
8 years ago
El RIDO a4ebdbc606 re-introducing (optional) URL shortener support, resolves #58
8 years ago
El RIDO a459c6d836 translated to slowene
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
9 years ago
El RIDO 14d08ec56d working on JSON-LD validity, added CORS headers preparing external API
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
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
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
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
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
9 years ago
El RIDO 9dde7f034a moving remaining time / for your eyes only message from nav bar into
9 years ago
El RIDO 428a9d9c41 toggling mobile nav bar after tap on buttons "New", "Clone" and "Send"
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
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
9 years ago
El RIDO b883d5eb4c Merge branch 'master' of git@github.com:elrido/ZeroBin.git
9 years ago
El RIDO 3099e10dfa refactored JS:
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
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
9 years ago
El RIDO 802a0b26b9 burn after reading messages are only deleted after callback by JS when
9 years ago
El RIDO 9fdbba76ce working on password function for #15:
9 years ago
El RIDO d3c4600806 slight configuration changes, template modifications to make discussions
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
9 years ago
El RIDO be91afa042 - fixing JS errors when syntax highlighting is disabled (point 1. #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
9 years ago
El RIDO a0107d7eae updated prettify to minified versions found at
9 years ago
El RIDO 49c6e3c1b6 updated base64.js to version 2.1.9, using minified version found at
9 years ago
El RIDO 7bc8c14df6 updated sjcl to version 1.0.2, using minified version found at
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
9 years ago
Sebastien SAUVAGE bc8b23d35e XSS flaw correction
9 years ago
Sebastien SAUVAGE d9930978ba Make sure there is enough entropy.
9 years ago
El RIDO e646729b2d fixing regressions from cherrypicking
9 years ago
Sebastien SAUVAGE 5f87ea6843 ZeroBin 0.18
9 years ago
Sebastien SAUVAGE ecd2e067f8 replaceState() changed to pushState()
9 years ago
Sebastien SAUVAGE fdc87a7fcf Added "Raw text" button.
9 years ago
Sebastien SAUVAGE 09bebae286 Removed dead code.
9 years ago
Sebastien SAUVAGE cff4d99f05 "Burn after reading" as a checkbox
9 years ago
Sebastien SAUVAGE 1b95d6fff7 base64.js downgraded from 2.6 to 1.7
9 years ago
Sebastien SAUVAGE eccd4a816a base64.js updated to 2.6
9 years ago
Sebastien SAUVAGE 315c45ed0c Auto-select paste URL
9 years ago
Sebastien SAUVAGE 5b253cf77c ZeroBin 0.17
11 years ago
Sébastien SAUVAGE 6c7de8aca8 Libs upgrade
11 years ago
Sean McGregor 956b82b825 added functions for placing many parameters in the anchor string
11 years ago
Frédérik Paradis 7cb345001a Change URL on clone
11 years ago
Simon Rupf 2b69a862ec moved updated sjcl into place
12 years ago
Simon Rupf 2d4f155064 had to revert to HTML5 instead of XHTML5 because of compatibility
12 years ago
Simon Rupf 907538875b removed leftovers from submodule uglifyjs, added credits file,
12 years ago
Simon Rupf edf95ff56d added autoloading, configurable paste size limit, changed JS to calculate localized comment times instead of UTC
12 years ago
Alexey Gladkov 0057045f51 Add syntax highlighting
12 years ago
Sebastien SAUVAGE 241c75a5d5 Removed the shortening url service button.
12 years ago
Erwan 5d02750316 Fix : 404 for Shorten URL image
12 years ago
Sebastien SAUVAGE 50272a678f - Minor fixes following previous merge.
12 years ago
Thierry Poinot 6083c7a23c refactoring files and directory structure
12 years ago