Commit Graph

194 Commits (f2e16fcb6fcd87da1fb5b1aeb03f81f31de2c29e)

Author SHA1 Message Date
rugk 61ee0ef7d3
Fix typos
8 years ago
rugk 658d5ae84d
Fix style-ci errors
8 years ago
El RIDO 1f46823942
applying patch based on StyleCI ruleset
8 years ago
El RIDO 8cfcf1c9f5
Adding HTTP headers to address certain XSS attacks, resolves #91
8 years ago
rugk 1a159c973f
Prevent referrer to be send
8 years ago
rugk b7184b92a3 Fix csp config unit tests
8 years ago
rugk b11866a63b Allow manifest loading via CSP (2)
8 years ago
El RIDO a13266a784 ensure the server salt path is initialized, instead of relying on the default
8 years ago
El RIDO e925833090 bumping version number to 1.0
8 years ago
El RIDO 6aba39488f adding check for PATH ending in DIRECTORY_SEPARATOR, fixes #86
8 years ago
El RIDO f72e260ee7 adding subresource integrity hashes for all javascript includes, resolves #6
8 years ago
rugk 75cb771e4b Merge branch 'master' into prng, resolve merge conflicts
8 years ago
El RIDO 72aac25f68 added configuration for PHP Coding Standards Fixer, including its fixes, resolving #47
8 years ago
rugk 8038fde29d Revert #44
8 years ago
El RIDO 0a628e83c1 Merge pull request #59 from PrivateBin/52-identicons
8 years ago
El RIDO ca66653d0c applying: php-cs-fixer fix lib/ --level=psr2
8 years ago
El RIDO 6cb7454d07 Added tests for JSON errors, should help us figure out the cause of the problem in #11
8 years ago
rugk bea9a577a6 Use better random number generator #29
8 years ago
El RIDO c237337cd2 some minor whitespace improvements detected by scrutinizer
8 years ago
El RIDO 3988b860b0 implemented Identicon library as new default for comment icons, made Vizhash an optional alternative, refactored Vizhash and removed string lenghtening
8 years ago
El RIDO 1ef28d7a5c minor fixes, typos
8 years ago
El RIDO addb666a23 introducing CSP header to mitigate XSS attacks, closes #10
8 years ago
El RIDO 5b7b234821 doc bloc corrections
8 years ago
El RIDO c2efe2e609 some optimization
8 years ago
El RIDO 3fa0881c07 updated documentation, small cleanups
8 years ago
El RIDO b45bef8388 Renamed classes for full PSR-2 compliance, some cleanup
8 years ago
Sobak 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer)
8 years ago
Sobak 884310add6 Oficially bump minimal PHP version to 5.3.0
8 years ago
Simon Rupf d14eb0efe4 fixing configuration and its test to match the new namespaces
8 years ago
Sobak b1305beb0f Improve workaround for keeping config file format BC
8 years ago
Sobak 54f96b9938 Introduce PSR-4 autoloading
8 years ago
El RIDO 9a9362789b addressing issues with failed attachement uploads due to webserver configuration, resolves #15
8 years ago
El RIDO 002046cc62 some minor cleanups
8 years ago
El RIDO be4c845129 Merge branch 'master' of github.com:PrivateBin/PrivateBin
8 years ago
El RIDO c5606a47fe refactoring away RainTPL and templating, resolves #36
8 years ago
rugk 38ab755733 Replace HTTP links with HTTPS
8 years ago
El RIDO 03306dabff using TEXT data type for PostgreSQL instead of BLOB, hopefully resolves #8
8 years ago
El RIDO e7dde4d212 cleaning REQUEST_URI for good measure
8 years ago
El RIDO e1d6db88a1 Merge pull request #44 from PrivateBin/rugk-itBugsMe
8 years ago
El RIDO afaa111d22 code style
8 years ago
El RIDO b53efda635 improving code coverage and unit testing
8 years ago
rugk 2e863e3ed9 Search key first
8 years ago
rugk 80e9d75477 Remove unnecessary array
8 years ago
rugk 19d5659a8f Change array
8 years ago
El RIDO ff0c55c0d6 introduce option to disable vizhash for paranoid admins, resolves #20 point 2.4
8 years ago
El RIDO f8bc40b4e4 introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3
8 years ago
El RIDO 4d10fd9690 fixing support for pre renaming configuration file format, resolves #37
8 years ago
El RIDO 90a26d8fcb removing some code smells, found in the various code checker tools
8 years ago
El RIDO c33c50f775 using table name sanitation function to ensure no weird characters are used by accident (e.g. by oddly configured table prefix)
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 b8080acc78 fixing an unhandled case found with scrutinizer-ci
8 years ago
El RIDO c13caee981 fixing some documentation issues detected by scrutinizer-ci
8 years ago
El RIDO 0e217a42c5 introduce new zerobincompatibility option, replacing the base64 one, if it is enabled, delete tokens use sha256; added per paste salt with server salt fallback; this resolves the points 2.2 & 2.9 in #103
8 years ago
El RIDO 6b0b814dc6 removing leftover from previously using a different function, resolves #83
8 years ago
El RIDO 5980f8b603 removing some unused code detected by codacy
8 years ago
rugk fd5a7a07ae Soft fail for chmod errors
8 years ago
rugk 54f1cb9d34 Only protect file if it was written
8 years ago
rugk 8a48e9ce78 Set permissions when saving files
8 years ago
rugk 1a1818660d Missing space
8 years ago
El RIDO 4918bef4dc Although there usually are no plurals in chinese, there's an exception
9 years ago
El RIDO 3a92c940a9 implementing media type negotiation (based on language negotiation
9 years ago
El RIDO a4ebdbc606 re-introducing (optional) URL shortener support, resolves #58
9 years ago
El RIDO 09dd79dbc7 switching to SHA256 HMAC of IPs in traffic limiter, resolves #57
9 years ago
Mihail Fedorov a13ad6368f MD5 instead of IP
9 years ago
El RIDO 24a4328c55 incrementing version, updating changelog, added missing phpdoc comments
9 years ago
El RIDO 42a9c92b5e improved database backend support for larger files (100 KiB - 16 MiB),
9 years ago
El RIDO d42975580a expire_options and formatter_options should not be filled up with
9 years ago
El RIDO 176dff3b70 renaming config file to make updates easier, resolving #50
9 years ago
El RIDO e3f4aa982c adding configuration option to set a default language and/or force it,
9 years ago
El RIDO ca07398b66 adding option to hide clone button on expiring pastes, resolves #34
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 b92b38cee8 found and resolved issues in database layer, thanks to report in #42
9 years ago
El RIDO 2e3bacb699 fixing deletion issue in request refactoring, starting work on API read
9 years ago
El RIDO 512b3d1172 fixing "missing" comments when they were posted during the same second
9 years ago
El RIDO 1d6cfb7f3b refactoring delete API, added external JSON-LD context
9 years ago
El RIDO 9e6e29bc93 working on API: simplifying PUT request mocking
9 years ago
El RIDO e5b096ed8c found and fixed a bug when using expiration together with discussion
9 years ago
El RIDO add980d36f adding UI tests for database configuration, fixed an issue with comment
9 years ago
El RIDO 7ec94e0db5 implementing request refactoring, beginning JS changes for JSON API, but
9 years ago
El RIDO 6b7dc44039 preparing unit test for request object
9 years ago
El RIDO ce3f10f143 improving unit tests, fixing regression in DB model
9 years ago
El RIDO 694138c5d4 mostly finished with data model refactoring
9 years ago
El RIDO 211d3e4622 preparing unit test for model refactoring, refactoring traffic limiter
9 years ago
El RIDO d04eab52c9 refactoring how attachments are stored
9 years ago
El RIDO 6d24ff824e refactoring configuration
9 years ago
El RIDO 9f68658106 incrementing version number, updating changelog
9 years ago
El RIDO 0de9f868fa improving unit tests, fixing #38
9 years ago
El RIDO 608605cd54 incrementing version number, updating docs
9 years ago
El RIDO a41d0ca4dd various fixes:
9 years ago
El RIDO a111357fae add optional (since it uses a session cookie) language selection
9 years ago
El RIDO 47efedf23c traffic limiter would fail behind a reverse proxy / load balancer.
9 years ago
El RIDO ed9c4f45f4 adding file name support for #20, solving issue with unencryptable file
9 years ago
El RIDO ec8851e46c support < 0.21 syntax highlighting
9 years ago
El RIDO 106141efa4 merging @vikstrous file upload feature for #20 from
9 years ago
El RIDO 0e53d1ee86 added markdown support and a dropdown for the format selection. The
9 years ago
El RIDO b060d57524 - implemented php side of plural translation
9 years ago
El RIDO eee7b0144a covering JS side of translations (#7), added the messages to the
9 years ago