Compare commits
197 Commits
main-chapr
...
1.7.0
Author | SHA1 | Date | |
---|---|---|---|
|
a3ee624d3a | ||
|
1eee8032c7 | ||
|
f3fba1c0f5 | ||
|
a54a55a9a1 | ||
|
56f0ec7d52 | ||
|
208c922e04 | ||
|
4db0db320b | ||
|
772ab96364 | ||
|
dc2db9e622 | ||
|
6d559c3043 | ||
|
096a5118d1 | ||
|
5084ab7a07 | ||
|
fbe4ac5a6c | ||
|
4e21e980de | ||
|
a3243b3165 | ||
|
223ef02a43 | ||
|
c7da424ef9 | ||
|
e1c74457e5 | ||
|
1a6c3dd8d8 | ||
|
146b2513c1 | ||
|
5ec8a57c60 | ||
|
cd67d81ae3 | ||
|
218e68a604 | ||
|
9611991748 | ||
|
b613d9558c | ||
|
5523ba9a45 | ||
|
421342396f | ||
|
4e3b469c08 | ||
|
cb0edf4f2b | ||
|
a0f8e0a566 | ||
|
089652382a | ||
|
a1408601d9 | ||
|
3d4887e5f0 | ||
|
5c876df2ea | ||
|
fe4a64529a | ||
|
a25bfd4cce | ||
|
53639b913e | ||
|
9379a73632 | ||
|
efd6c3f8c4 | ||
|
51f68f0c78 | ||
|
ad2de3a135 | ||
|
ea7f1fca6e | ||
|
57b1890815 | ||
|
7bb913acdf | ||
|
25de89c954 | ||
|
950c0b56b4 | ||
|
070ae2e5ec | ||
|
239f6da73c | ||
|
257fc5d2b6 | ||
|
03d2291ec7 | ||
|
56f5b2386c | ||
|
d0e03e5167 | ||
|
0d2376cd88 | ||
|
df703dfe4b | ||
|
3ff3db72a1 | ||
|
a27cb0cffc | ||
|
ba25ab8fa9 | ||
|
d091382313 | ||
|
2a508cb7bf | ||
|
8516a3f4a4 | ||
|
2cc2cf0de7 | ||
|
e1e8618015 | ||
|
7fddefeb05 | ||
|
4e62e1f6ef | ||
|
405479642f | ||
|
fd82b937a9 | ||
|
d493ba7337 | ||
|
37ee3b1c7c | ||
|
7ab20c23e9 | ||
|
cc5c81afbc | ||
|
9fb7aee589 | ||
|
ba17e94c5e | ||
|
c3331070cb | ||
|
cc0b6e387a | ||
|
a80bd4e4ea | ||
|
b3b97b69c6 | ||
|
8427c1136c | ||
|
7cb1f8ca67 | ||
|
9a707e288a | ||
|
83a1de271a | ||
|
c264904f77 | ||
|
712715caba | ||
|
2985305dbb | ||
|
0581522414 | ||
|
dc8cb66adc | ||
|
54585549e0 | ||
|
d49be80ffb | ||
|
a17529c7e1 | ||
|
0a7a341fda | ||
|
d88945663e | ||
|
255fd4b12b | ||
|
43d162f452 | ||
|
9b07e3ff62 | ||
|
d0420fb418 | ||
|
3b17dfc6ef | ||
|
03e3e4fa06 | ||
|
879c7400bf | ||
|
46d8d7d781 | ||
|
684924e9e5 | ||
|
a7f720d825 | ||
|
826444bef7 | ||
|
10c6841f8a | ||
|
49a87c6038 | ||
|
7a5036d957 | ||
|
f8c2f58604 | ||
|
edec91de1c | ||
|
3bd570bd6a | ||
|
8131518ba1 | ||
|
bb89eb7fba | ||
|
94d1908777 | ||
|
5b2f788e48 | ||
|
33e9025d09 | ||
|
6133f6c35c | ||
|
0107b1258e | ||
|
65f289e516 | ||
|
b150450fac | ||
|
aa1a44e329 | ||
|
ee151ad29d | ||
|
c090f8d27f | ||
|
8c1310c334 | ||
|
c895c511c1 | ||
|
421fd4901f | ||
|
b2bf90d14e | ||
|
8d97569de0 | ||
|
d34f9c0b8c | ||
|
9614ee90f2 | ||
|
95d6a0d3b9 | ||
|
b9d74ecd35 | ||
|
9114ca00bf | ||
|
0fb40d5d3a | ||
|
cb4e95b917 | ||
|
52b0e0b369 | ||
|
515bfd8122 | ||
|
fbc302c0a1 | ||
|
b62e9dbc6e | ||
|
5c2496d474 | ||
|
f3eb2759ce | ||
|
cdb7ec0443 | ||
|
05dc1dd32e | ||
|
b70be94538 | ||
|
9a4c5b30c6 | ||
|
4ef0318495 | ||
|
58f919ecdd | ||
|
7518ea74c5 | ||
|
7e1dfdb012 | ||
|
1a4e2f8f06 | ||
|
8053daec14 | ||
|
9612637881 | ||
|
fb1ea260ba | ||
|
17b629018c | ||
|
a92407ea4e | ||
|
441ac9d8d9 | ||
|
046ccf2000 | ||
|
6c7c0ec09c | ||
|
b0f4a63705 | ||
|
1b772d0404 | ||
|
8dbf954870 | ||
|
69efa00d7f | ||
|
d17a0f091b | ||
|
6a1371822a | ||
|
0cc5880354 | ||
|
eb17f75793 | ||
|
0568d10bca | ||
|
ac681d6aa9 | ||
|
6f9496511a | ||
|
31cfa5b6e3 | ||
|
d27f43eb1d | ||
|
e395717a54 | ||
|
6a68d59d8b | ||
|
bc7a346aa0 | ||
|
0a24df6adb | ||
|
4cdf21ecd1 | ||
|
e2fac1be9d | ||
|
fa714c03dd | ||
|
c025c83e33 | ||
|
76e7ca4942 | ||
|
7aceed6a03 | ||
|
1795c1cf1a | ||
|
fd95445831 | ||
|
70ca60089f | ||
|
4f8c19c80e | ||
|
7a6aa84b76 | ||
|
f255905a6f | ||
|
b4ca795b6a | ||
|
80546bf629 | ||
|
5c97443d1d | ||
|
896a49c8cf | ||
|
ad50950b3c | ||
|
73c13af10d | ||
|
8a03c85708 | ||
|
6a454c1765 | ||
|
f862e062cd | ||
|
db2d8f1598 | ||
|
168fb46767 | ||
|
ff6b9b8e01 | ||
|
b998820957 | ||
|
edc86ffd72 |
@ -40,11 +40,7 @@
|
|||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
8080
|
8080
|
||||||
],
|
],
|
||||||
"postCreateCommand": [
|
"postCreateCommand": ".devcontainer/postCreateCommand.sh",
|
||||||
"composer install --no-dev --optimize-autoloader",
|
|
||||||
"sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html",
|
|
||||||
"npm install --global nyc"
|
|
||||||
],
|
|
||||||
// alternatiuve: apache2ctl start (but requires root)
|
// alternatiuve: apache2ctl start (but requires root)
|
||||||
"postAttachCommand": "php -S 0.0.0.0:8080"
|
"postAttachCommand": "php -S 0.0.0.0:8080"
|
||||||
}
|
}
|
||||||
|
5
.devcontainer/postCreateCommand.sh
Executable file
5
.devcontainer/postCreateCommand.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
composer install --no-dev --optimize-autoloader
|
||||||
|
sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html
|
||||||
|
npm install --global nyc
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -2,6 +2,7 @@ bin/configuration-test-generator export-ignore
|
|||||||
bin/icon-test export-ignore
|
bin/icon-test export-ignore
|
||||||
doc/ export-ignore
|
doc/ export-ignore
|
||||||
tst/ export-ignore
|
tst/ export-ignore
|
||||||
|
i18n/en.json export-ignore
|
||||||
img/browserstack.svg export-ignore
|
img/browserstack.svg export-ignore
|
||||||
js/.istanbul.yml export-ignore
|
js/.istanbul.yml export-ignore
|
||||||
js/.nycrc.yml export-ignore
|
js/.nycrc.yml export-ignore
|
||||||
|
1
.github/DISCUSSION_TEMPLATE/q-a.yml
vendored
1
.github/DISCUSSION_TEMPLATE/q-a.yml
vendored
@ -1,4 +1,3 @@
|
|||||||
title: ""
|
|
||||||
labels: ["question/support"]
|
labels: ["question/support"]
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
|
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -10,6 +10,9 @@ assignees: ''
|
|||||||
<!-- Please make sure to **only** use this template when it is about bugs in the PrivateBin PHP project.
|
<!-- Please make sure to **only** use this template when it is about bugs in the PrivateBin PHP project.
|
||||||
Otherwise, for help and support issues e.g. for deployment issues, please go back and chose the appropiate category. -->
|
Otherwise, for help and support issues e.g. for deployment issues, please go back and chose the appropiate category. -->
|
||||||
|
|
||||||
|
**Did you use the FAQ section?**
|
||||||
|
- [ ] Yes, I have read [the FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ) and I found no solution/answer there.
|
||||||
|
|
||||||
<!-- Describe the bug: A clear and concise description of what the bug is. -->
|
<!-- Describe the bug: A clear and concise description of what the bug is. -->
|
||||||
|
|
||||||
## Steps to reproduce
|
## Steps to reproduce
|
||||||
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
@ -46,4 +46,4 @@ jobs:
|
|||||||
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v3
|
||||||
|
50
.github/workflows/release.yml
vendored
Normal file
50
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
name: Draft Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags: '[0-9]+.[0-9]?[0-9]?[0-9]?.?[0-9]+'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
draft:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Fetch changelog from tag
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
sparse-checkout: CHANGELOG.md
|
||||||
|
sparse-checkout-cone-mode: false
|
||||||
|
|
||||||
|
- name: Extract latest changelog entry and attach it to draft
|
||||||
|
uses: taiki-e/create-gh-release-action@v1
|
||||||
|
with:
|
||||||
|
changelog: CHANGELOG.md
|
||||||
|
draft: true
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
release:
|
||||||
|
outputs:
|
||||||
|
hashes: ${{ steps.hash.outputs.hashes }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Collect artifacts
|
||||||
|
run: |
|
||||||
|
wget -q https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${GITHUB_REF_NAME}.tar.gz
|
||||||
|
wget -q https://github.com/PrivateBin/PrivateBin/archive/refs/tags/${GITHUB_REF_NAME}.zip
|
||||||
|
|
||||||
|
- name: Generate hashes
|
||||||
|
shell: bash
|
||||||
|
id: hash
|
||||||
|
run: echo "hashes=$(sha256sum ${GITHUB_REF_NAME}.* | base64 -w0)" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
provenance:
|
||||||
|
needs:
|
||||||
|
- release
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
id-token: write
|
||||||
|
contents: write
|
||||||
|
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.9.0
|
||||||
|
with:
|
||||||
|
base64-subjects: "${{ needs.release.outputs.hashes }}"
|
||||||
|
draft-release: true
|
||||||
|
upload-assets: true
|
2
.github/workflows/snyk-scan.yml
vendored
2
.github/workflows/snyk-scan.yml
vendored
@ -24,6 +24,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: --sarif-file-output=snyk.sarif
|
args: --sarif-file-output=snyk.sarif
|
||||||
- name: Upload result to GitHub Code Scanning
|
- name: Upload result to GitHub Code Scanning
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
with:
|
with:
|
||||||
sarif_file: snyk.sarif
|
sarif_file: snyk.sarif
|
||||||
|
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2']
|
php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
|
||||||
name: PHP ${{ matrix.php-versions }} unit tests on ${{ matrix.operating-system }}
|
name: PHP ${{ matrix.php-versions }} unit tests on ${{ matrix.operating-system }}
|
||||||
env:
|
env:
|
||||||
extensions: gd, sqlite3
|
extensions: gd, sqlite3
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ env.extensions-cache-key }}
|
key: ${{ runner.os }}-${{ env.extensions-cache-key }}
|
||||||
|
|
||||||
- name: Cache extensions
|
- name: Cache extensions
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.extcache.outputs.dir }}
|
path: ${{ steps.extcache.outputs.dir }}
|
||||||
key: ${{ steps.extcache.outputs.key }}
|
key: ${{ steps.extcache.outputs.key }}
|
||||||
@ -76,7 +76,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
path: ${{ steps.composer-cache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-composer-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/composer.json') }}
|
key: ${{ runner.os }}-composer-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/composer.json') }}
|
||||||
@ -102,9 +102,9 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: '20'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: 'js/package-lock.json'
|
cache-dependency-path: 'js/package-lock.json'
|
||||||
|
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,6 +35,7 @@ tst/.phpunit.result.cache
|
|||||||
.settings
|
.settings
|
||||||
.buildpath
|
.buildpath
|
||||||
.project
|
.project
|
||||||
|
.phpdoc
|
||||||
.externalToolBuilders
|
.externalToolBuilders
|
||||||
.c9
|
.c9
|
||||||
/.idea/
|
/.idea/
|
||||||
|
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"files.associations": {
|
||||||
|
"**/cfg/conf*.php": "ini"
|
||||||
|
}
|
||||||
|
}
|
616
CHANGELOG.md
616
CHANGELOG.md
@ -1,294 +1,346 @@
|
|||||||
# PrivateBin version history
|
# PrivateBin version history
|
||||||
|
|
||||||
* **1.6.0 (2023-09-11)**
|
## 1.7.0 (2024-02-11)
|
||||||
* ADDED: Translations for Japanese & Arabic
|
* ADDED: Translations for Romanian
|
||||||
* ADDED: Configuration option to disable Email button (#1164)
|
* ADDED: Detect and report on damaged pastes (#1218)
|
||||||
* CHANGED: Minimum required PHP version is 7.3, due to upgrading PHPunit (#707)
|
* CHANGED: Ask for confirmation, before loading burn after reading pastes #1237
|
||||||
* CHANGED: Removed PHP 5 polyfill for random_bytes()
|
* CHANGED: Focus on password input in modal dialog
|
||||||
* **1.5.2 (2023-07-09)**
|
* CHANGED: Upgrading libraries to: DOMpurify 3.0.8 & zlib 1.3.1
|
||||||
* ADDED: Allow AWS SDK to use default credential provider chain for S3Storage (#1070)
|
* FIXED: Support more types of valid URLs for shorteners, incl. IDN ones (#1224)
|
||||||
* CHANGED: Upgrading libraries to: DOMpurify 3.0.4 & jQuery 3.7.0
|
* FIXED: Email timezone buttons overlapping in some languages #1039
|
||||||
* FIXED: Addressed PHP 8.2 deprecation warnings (#1092)
|
* FIXED: Changing language mangles URL #1191
|
||||||
* FIXED: Expose types JSON-LD incl. configured expiration dates (#1045)
|
* FIXED: Needless reload when visiting default URL
|
||||||
* **1.5.1 (2022-12-24)**
|
|
||||||
* ADDED: script for administrative tasks: deleting pastes (#274), removing empty directories (#277), purging expired pastes (#276) & statistics (#319)
|
## 1.6.2 (2023-12-15)
|
||||||
* FIXED: Revert Filesystem purge to limited and randomized lookup (#1030)
|
* FIXED: English not selectable when `languageselection` enabled (#1208)
|
||||||
* FIXED: Catch JSON decode errors when invalid data gets sent to the API (#1030)
|
* FIXED: SRI mismatch due to cached file having changed (#1207)
|
||||||
* FIXED: Support sorting v1 format in mixed version comments in Filesystem backend (#1030)
|
|
||||||
* **1.5 (2022-12-11)**
|
## 1.6.1 (2023-12-04)
|
||||||
* ADDED: script for data storage backend migrations (#1012)
|
* ADDED: Right-To-Left (RTL) support for Arabic & Hebrew (#1174)
|
||||||
* ADDED: Translations for Turkish, Slovak, Greek and Thai
|
* CHANGED: Upgrading libraries to: DOMpurify 3.0.6
|
||||||
* ADDED: S3 Storage backend (#994)
|
|
||||||
* ADDED: Jdenticons as an option for comment icons (#793)
|
## 1.6.0 (2023-09-11)
|
||||||
* CHANGED: Avoid `SUPER` privilege for setting the `sql_mode` for MariaDB/MySQL (#919)
|
* ADDED: Translations for Japanese & Arabic
|
||||||
* CHANGED: Upgrading libraries to: DOMpurify 2.4.6, jQuery 3.6.1, Showdown 2.1.0 & zlib 1.2.13
|
* ADDED: Configuration option to disable Email button (#1164)
|
||||||
* FIXED: Revert to CREATE INDEX without IF NOT EXISTS clauses, to support MySQL (#943)
|
* CHANGED: Minimum required PHP version is 7.3, due to upgrading PHPunit (#707)
|
||||||
* FIXED: Apply table prefix to indexes as well, to support multiple instances sharing a single database (#943)
|
* CHANGED: Removed PHP 5 polyfill for random_bytes()
|
||||||
* FIXED: YOURLS integration via new proxy, storing signature in configuration (#725)
|
|
||||||
* **1.4 (2022-04-09)**
|
## 1.5.2 (2023-07-09)
|
||||||
* ADDED: Translations for Corsican, Estonian, Finnish and Lojban
|
* ADDED: Allow AWS SDK to use default credential provider chain for S3Storage (#1070)
|
||||||
* ADDED: new HTTP headers improving security (#765)
|
* CHANGED: Upgrading libraries to: DOMpurify 3.0.4 & jQuery 3.7.0
|
||||||
* ADDED: Download button for paste text (#774)
|
* FIXED: Addressed PHP 8.2 deprecation warnings (#1092)
|
||||||
* ADDED: Opt-out of federated learning of cohorts (FLoC) (#776)
|
* FIXED: Expose types JSON-LD incl. configured expiration dates (#1045)
|
||||||
* ADDED: Configuration option to exempt IPs from the rate-limiter (#787)
|
|
||||||
* ADDED: Google Cloud Storage backend support (#795)
|
## 1.5.1 (2022-12-24)
|
||||||
* ADDED: Oracle database support (#868)
|
* ADDED: script for administrative tasks: deleting pastes (#274), removing empty directories (#277), purging expired pastes (#276) & statistics (#319)
|
||||||
* ADDED: Configuration option to limit paste creation and commenting to certain IPs (#883)
|
* FIXED: Revert Filesystem purge to limited and randomized lookup (#1030)
|
||||||
* ADDED: Set CSP also as meta tag, to deal with misconfigured webservers mangling the HTTP header
|
* FIXED: Catch JSON decode errors when invalid data gets sent to the API (#1030)
|
||||||
* ADDED: Sanitize SVG preview, preventing script execution in instance context
|
* FIXED: Support sorting v1 format in mixed version comments in Filesystem backend (#1030)
|
||||||
* CHANGED: Language selection cookie only transmitted over HTTPS (#472)
|
|
||||||
* CHANGED: Upgrading libraries to: base-x 4.0.0, bootstrap 3.4.1 (JS), DOMpurify 2.3.6, ip-lib 1.18.0, jQuery 3.6.0, random_compat 2.0.21, Showdown 2.0.3 & zlib 1.2.12
|
## 1.5 (2022-12-11)
|
||||||
* CHANGED: Removed automatic `.ini` configuration file migration (#808)
|
* ADDED: script for data storage backend migrations (#1012)
|
||||||
* CHANGED: Removed configurable `dir` for `traffic` & `purge` limiters (#419)
|
* ADDED: Translations for Turkish, Slovak, Greek and Thai
|
||||||
* CHANGED: Server salt, traffic and purge limiter now stored in the storage backend (#419)
|
* ADDED: S3 Storage backend (#994)
|
||||||
* CHANGED: Drop support for attachment download in IE
|
* ADDED: Jdenticons as an option for comment icons (#793)
|
||||||
* FIXED: Error when attachments are disabled, but paste with attachment gets displayed
|
* CHANGED: Avoid `SUPER` privilege for setting the `sql_mode` for MariaDB/MySQL (#919)
|
||||||
* **1.3.5 (2021-04-05)**
|
* CHANGED: Upgrading libraries to: DOMpurify 2.4.6, jQuery 3.6.1, Showdown 2.1.0 & zlib 1.2.13
|
||||||
* ADDED: Translations for Hebrew, Lithuanian, Indonesian and Catalan
|
* FIXED: Revert to CREATE INDEX without IF NOT EXISTS clauses, to support MySQL (#943)
|
||||||
* ADDED: Make the project info configurable (#681)
|
* FIXED: Apply table prefix to indexes as well, to support multiple instances sharing a single database (#943)
|
||||||
* CHANGED: Upgrading libraries to: DOMpurify 2.2.7, kjua 0.9.0 & random_compat 2.0.18
|
* FIXED: YOURLS integration via new proxy, storing signature in configuration (#725)
|
||||||
* CHANGED: Open all links in new window (#630)
|
|
||||||
* FIXED: PDF display in Firefox (#630)
|
## 1.4 (2022-04-09)
|
||||||
* FIXED: Allow pasting into password input dialog (#630)
|
* ADDED: Translations for Corsican, Estonian, Finnish and Lojban
|
||||||
* FIXED: Display of expiration date in email (#630)
|
* ADDED: new HTTP headers improving security (#765)
|
||||||
* FIXED: Allow display of durations in weeks (#630)
|
* ADDED: Download button for paste text (#774)
|
||||||
* FIXED: Avoid exposing burn-after-reading messages from cache (#630)
|
* ADDED: Opt-out of federated learning of cohorts (FLoC) (#776)
|
||||||
* FIXED: Only display the dropzone when it should (#630)
|
* ADDED: Configuration option to exempt IPs from the rate-limiter (#787)
|
||||||
* FIXED: Detect delete token properly (#630)
|
* ADDED: Google Cloud Storage backend support (#795)
|
||||||
* FIXED: Sanitize output from `Helper.urls2links()` (#630)
|
* ADDED: Oracle database support (#868)
|
||||||
* FIXED: Avoid recreation of existing pasteurl element when calling URL shortener (#630)
|
* ADDED: Configuration option to limit paste creation and commenting to certain IPs (#883)
|
||||||
* FIXED: Downloads in Chrome >= 83 (#634)
|
* ADDED: Set CSP also as meta tag, to deal with misconfigured webservers mangling the HTTP header
|
||||||
* FIXED: Display of empty files (#663)
|
* ADDED: Sanitize SVG preview, preventing script execution in instance context
|
||||||
* FIXED: Improve OpenGraph attributes (#651)
|
* CHANGED: Language selection cookie only transmitted over HTTPS (#472)
|
||||||
* FIXED: Reset to configured burn-after-reading, discussion and expiration settings (#682)
|
* CHANGED: Upgrading libraries to: base-x 4.0.0, bootstrap 3.4.1 (JS), DOMpurify 2.3.6, ip-lib 1.18.0, jQuery 3.6.0, random_compat 2.0.21, Showdown 2.0.3 & zlib 1.2.12
|
||||||
* FIXED: Italic segment of project information (#756)
|
* CHANGED: Removed automatic `.ini` configuration file migration (#808)
|
||||||
* **1.3.4 (2020-03-22)**
|
* CHANGED: Removed configurable `dir` for `traffic` & `purge` limiters (#419)
|
||||||
* CHANGED: Minimum required PHP version is 5.6, due to a change in the identicon library and to use php's native hash_equals()
|
* CHANGED: Server salt, traffic and purge limiter now stored in the storage backend (#419)
|
||||||
* CHANGED: Upgrading libraries to: identicon 2.0.0
|
* CHANGED: Drop support for attachment download in IE
|
||||||
* FIXED: Support custom expiration options in email function (#586)
|
* FIXED: Error when attachments are disabled, but paste with attachment gets displayed
|
||||||
* FIXED: Regression with encoding of HTML entities (#588)
|
|
||||||
* FIXED: Unable to paste password on paste with attachment (#565 & #595)
|
## 1.3.5 (2021-04-05)
|
||||||
* **1.3.3 (2020-02-16)**
|
* ADDED: Translations for Hebrew, Lithuanian, Indonesian and Catalan
|
||||||
* CHANGED: Upgrading libraries to: DOMpurify 2.0.8
|
* ADDED: Make the project info configurable (#681)
|
||||||
* CHANGED: Several translations got updated with missing messages
|
* CHANGED: Upgrading libraries to: DOMpurify 2.2.7, kjua 0.9.0 & random_compat 2.0.18
|
||||||
* CHANGED: Introduce HTML entity encoding on server side (#581)
|
* CHANGED: Open all links in new window (#630)
|
||||||
* FIXED: HTML entity double encoding issues introduced in 1.3.2 (#560)
|
* FIXED: PDF display in Firefox (#630)
|
||||||
* **1.2.3 (2020-02-16)**
|
* FIXED: Allow pasting into password input dialog (#630)
|
||||||
* CHANGED: Upgrading libraries to: DOMpurify 2.0.8
|
* FIXED: Display of expiration date in email (#630)
|
||||||
* CHANGED: Introduce HTML entity encoding on server side (#581)
|
* FIXED: Allow display of durations in weeks (#630)
|
||||||
* FIXED: HTML entity double encoding issues introduced in 1.3.2 (#560)
|
* FIXED: Avoid exposing burn-after-reading messages from cache (#630)
|
||||||
* **1.3.2 (2020-01-11)**
|
* FIXED: Only display the dropzone when it should (#630)
|
||||||
* ADDED: Translation for Ukrainian (#533)
|
* FIXED: Detect delete token properly (#630)
|
||||||
* ADDED: Option to send a mail with the link, when creating a paste (#398)
|
* FIXED: Sanitize output from `Helper.urls2links()` (#630)
|
||||||
* ADDED: Add support for CONFIG_PATH environment variable (#552)
|
* FIXED: Avoid recreation of existing pasteurl element when calling URL shortener (#630)
|
||||||
* CHANGED: Upgrading libraries to: base-x 3.0.7, DOMpurify 2.0.7 & Showdown 1.9.1
|
* FIXED: Downloads in Chrome >= 83 (#634)
|
||||||
* FIXED: HTML injection via unescaped attachment filename (#554)
|
* FIXED: Display of empty files (#663)
|
||||||
* FIXED: Password disabling option (#527)
|
* FIXED: Improve OpenGraph attributes (#651)
|
||||||
* **1.2.2 (2020-01-11)**
|
* FIXED: Reset to configured burn-after-reading, discussion and expiration settings (#682)
|
||||||
* CHANGED: Upgrading libraries to: bootstrap 3.4.1 (CSS), DOMpurify 2.0.7, jQuery 3.4.1, kjua 0.6.0, Showdown 1.9.1 & SJCL 1.0.8
|
* FIXED: Italic segment of project information (#756)
|
||||||
* FIXED: HTML injection via unescaped attachment filename (#554)
|
|
||||||
* **1.3.1 (2019-09-22)**
|
## 1.3.4 (2020-03-22)
|
||||||
* ADDED: Translation for Bulgarian (#455)
|
* CHANGED: Minimum required PHP version is 5.6, due to a change in the identicon library and to use php's native hash_equals()
|
||||||
* CHANGED: Improved mobile UI - obscured send button and hard to click shortener button (#477)
|
* CHANGED: Upgrading libraries to: identicon 2.0.0
|
||||||
* CHANGED: Enhanced URL shortener integration (#479)
|
* FIXED: Support custom expiration options in email function (#586)
|
||||||
* CHANGED: Improved file upload drag & drop UI (#317)
|
* FIXED: Regression with encoding of HTML entities (#588)
|
||||||
* CHANGED: Increased default size limit from 2 to 10 MiB, switch data from BLOB to MEDIUMBLOB in MySQL (#458)
|
* FIXED: Unable to paste password on paste with attachment (#565 & #595)
|
||||||
* CHANGED: Upgrading libraries to: DOMpurify 2.0.1
|
|
||||||
* FIXED: Enabling browsers without WASM to create pastes and read uncompressed ones (#454)
|
## 1.3.3 (2020-02-16)
|
||||||
* FIXED: Cloning related issues (#489, #491, #493, #494)
|
* CHANGED: Upgrading libraries to: DOMpurify 2.0.8
|
||||||
* FIXED: Enable file operation only when editing (#497)
|
* CHANGED: Several translations got updated with missing messages
|
||||||
* FIXED: Clicking 'New' on a previously submitted paste does not blank address bar (#354)
|
* CHANGED: Introduce HTML entity encoding on server side (#581)
|
||||||
* FIXED: Clear address bar when create new paste from existing paste (#479)
|
* FIXED: HTML entity double encoding issues introduced in 1.3.2 (#560)
|
||||||
* FIXED: Discussion section not hiding when new/clone paste is clicked on (#484)
|
|
||||||
* FIXED: Showdown.js error when posting svg qrcode (#485)
|
## 1.2.3 (2020-02-16)
|
||||||
* FIXED: Failed to handle the case where user cancelled attachment selection properly (#487)
|
* CHANGED: Upgrading libraries to: DOMpurify 2.0.8
|
||||||
* FIXED: Displaying the appropriate errors in older browsers (#508)
|
* CHANGED: Introduce HTML entity encoding on server side (#581)
|
||||||
* **1.3 (2019-07-09)**
|
* FIXED: HTML entity double encoding issues introduced in 1.3.2 (#560)
|
||||||
* ADDED: Translation for Czech (#424)
|
|
||||||
* ADDED: Threat modeled the application (#177)
|
## 1.3.2 (2020-01-11)
|
||||||
* ADDED: Made compression configurable (#38)
|
* ADDED: Translation for Ukrainian (#533)
|
||||||
* CHANGED: Minimum required PHP version is 5.5, due to a change in the identicon library
|
* ADDED: Option to send a mail with the link, when creating a paste (#398)
|
||||||
* CHANGED: Minimum required browser versions are Firefox 54, Chrome 57, Opera 44, Safari 11, Edge 16, due to use of WebCrypto API, async/await, ES6 & WebAssembly features - all Internet Explorer versions are incompatible
|
* ADDED: Add support for CONFIG_PATH environment variable (#552)
|
||||||
* CHANGED: JSON and encryption formats were changed to replace SJCL library by browser integrated WebCrypto API (#28, #74)
|
* CHANGED: Upgrading libraries to: base-x 3.0.7, DOMpurify 2.0.7 & Showdown 1.9.1
|
||||||
* CHANGED: Replaced rawdeflate.js with zlib.wasm to resolve decompression failures and gain compatibility with standard deflate implementations (#193, #260, #328, #434, #440)
|
* FIXED: HTML injection via unescaped attachment filename (#554)
|
||||||
* CHANGED: Increase PBKDF2 iterations to 100k (#350)
|
* FIXED: Password disabling option (#527)
|
||||||
* CHANGED: Replaced last use of MD5 with Fowler–Noll–Vo checksum which produces the exact length we need for the paste ID (#49)
|
|
||||||
* CHANGED: Simplified some PHP code & renamed PrivateBin class into Controller, to make MVC pattern use more obvious (#342)
|
## 1.2.2 (2020-01-11)
|
||||||
* CHANGED: Upgrading libraries to: identicon 1.2.0, random_compat 2.0.18, jQuery 3.4.1, Showdown 1.9.0, DOMpurify 1.0.11 & kjua 0.6.0
|
* CHANGED: Upgrading libraries to: bootstrap 3.4.1 (CSS), DOMpurify 2.0.7, jQuery 3.4.1, kjua 0.6.0, Showdown 1.9.1 & SJCL 1.0.8
|
||||||
* FIXED: Prevent Chrome from sending content of paste to Google for translation (#378)
|
* FIXED: HTML injection via unescaped attachment filename (#554)
|
||||||
* FIXED: To support attachments larger then 2 MiB in newer Chrome versions, we switched to blob instead of data URIs (#432)
|
|
||||||
* FIXED: Since Outlook strips trailing equal signs in links, the key in URL hash is now base58 encoded, instead of base64 (#377)
|
## 1.3.1 (2019-09-22)
|
||||||
* FIXED: Facebooks started injecting parameters into shared URLs for tracking that lead to inaccessible pastes (#396)
|
* ADDED: Translation for Bulgarian (#455)
|
||||||
* FIXED: Properly escaped HTML in raw text mode (#358)
|
* CHANGED: Improved mobile UI - obscured send button and hard to click shortener button (#477)
|
||||||
* FIXED: Made download links better readable in the dark bootstrap theme (#364)
|
* CHANGED: Enhanced URL shortener integration (#479)
|
||||||
* FIXED: Allow Letsencrypt bot to access on apache servers (#413)
|
* CHANGED: Improved file upload drag & drop UI (#317)
|
||||||
* **1.2.1 (2018-08-11)**
|
* CHANGED: Increased default size limit from 2 to 10 MiB, switch data from BLOB to MEDIUMBLOB in MySQL (#458)
|
||||||
* ADDED: Add support for mega.nz links in pastes and comments (#331)
|
* CHANGED: Upgrading libraries to: DOMpurify 2.0.1
|
||||||
* CHANGED: Added some missing Russian translations (#348)
|
* FIXED: Enabling browsers without WASM to create pastes and read uncompressed ones (#454)
|
||||||
* CHANGED: Minor PHP refactoring: Rename PrivateBin class to Controller, improved logic of some persistence classes (#342)
|
* FIXED: Cloning related issues (#489, #491, #493, #494)
|
||||||
* CHANGED: Upgrading DOMpurify library to 1.0.7
|
* FIXED: Enable file operation only when editing (#497)
|
||||||
* FIXED: Ensure legacy browsers without webcrypto support can't create paste keys with insufficient entropy (#346)
|
* FIXED: Clicking 'New' on a previously submitted paste does not blank address bar (#354)
|
||||||
* FIXED: Re-add support for old browsers (Firefox<21, Chrome<31, Safari<7, IE<11), broken in 1.2, will be removed again in 1.3
|
* FIXED: Clear address bar when create new paste from existing paste (#479)
|
||||||
* **1.2 (2018-07-22)**
|
* FIXED: Discussion section not hiding when new/clone paste is clicked on (#484)
|
||||||
* ADDED: Translations for Spanish, Occitan, Norwegian, Portuguese, Dutch and Hungarian
|
* FIXED: Showdown.js error when posting svg qrcode (#485)
|
||||||
* ADDED: Option in configuration to change the default "PrivateBin" title of the site
|
* FIXED: Failed to handle the case where user cancelled attachment selection properly (#487)
|
||||||
* ADDED: Added display of video, audio & PDF, drag & drop, preview of attachments (#182)
|
* FIXED: Displaying the appropriate errors in older browsers (#508)
|
||||||
* ADDED: QR code generation (#169)
|
|
||||||
* ADDED: Introduced DOMpurify library to sanitize generated HTML before display (#183)
|
## 1.3 (2019-07-09)
|
||||||
* CHANGED: Force JSON request for getting paste data & password retry (#216)
|
* ADDED: Translation for Czech (#424)
|
||||||
* CHANGED: Minimum required PHP version is 5.4 (#186)
|
* ADDED: Threat modeled the application (#177)
|
||||||
* CHANGED: Shipped .htaccess files were updated for Apache 2.4 (#192)
|
* ADDED: Made compression configurable (#38)
|
||||||
* CHANGED: Cleanup of bootstrap template variants and moved icons to `img` directory
|
* CHANGED: Minimum required PHP version is 5.5, due to a change in the identicon library
|
||||||
* CHANGED: Removed option to hide clone button on expiring pastes, since this requires reading the paste for rendering the template, which leaks information on the pastes state
|
* CHANGED: Minimum required browser versions are Firefox 54, Chrome 57, Opera 44, Safari 11, Edge 16, due to use of WebCrypto API, async/await, ES6 & WebAssembly features - all Internet Explorer versions are incompatible
|
||||||
* CHANGED: Upgrading libraries to: SJCL 1.0.7, jQuery 3.3.1, Base64 2.4.5, Showdown 1.8.6, DOMpurify 1.0.5 & Prettify 453bd5f
|
* CHANGED: JSON and encryption formats were changed to replace SJCL library by browser integrated WebCrypto API (#28, #74)
|
||||||
* CHANGED: Refactored JavaScript code, making it modular with private and public functions, making it much easier to maintain (#178)
|
* CHANGED: Replaced rawdeflate.js with zlib.wasm to resolve decompression failures and gain compatibility with standard deflate implementations (#193, #260, #328, #434, #440)
|
||||||
* FIXED: To counteract regressions introduced by the refactoring, we finally introduced property based unit testing for the JavaScript code, this caught several regressions, but also some very old bugs not found so far (#32)
|
* CHANGED: Increase PBKDF2 iterations to 100k (#350)
|
||||||
* **1.1.1 (2017-10-06)**
|
* CHANGED: Replaced last use of MD5 with Fowler–Noll–Vo checksum which produces the exact length we need for the paste ID (#49)
|
||||||
* CHANGED: Switched to `.php` file extension for configuration file, to avoid leaking configuration data in unprotected installation.
|
* CHANGED: Simplified some PHP code & renamed PrivateBin class into Controller, to make MVC pattern use more obvious (#342)
|
||||||
* **1.1 (2016-12-26)**
|
* CHANGED: Upgrading libraries to: identicon 1.2.0, random_compat 2.0.18, jQuery 3.4.1, Showdown 1.9.0, DOMpurify 1.0.11 & kjua 0.6.0
|
||||||
* ADDED: Translations for Italian and Russian
|
* FIXED: Prevent Chrome from sending content of paste to Google for translation (#378)
|
||||||
* ADDED: Loading message displayed until decryption succeeded for slower (in terms of CPU or network) systems
|
* FIXED: To support attachments larger then 2 MiB in newer Chrome versions, we switched to blob instead of data URIs (#432)
|
||||||
* ADDED: Dockerfile for docker container creation
|
* FIXED: Since Outlook strips trailing equal signs in links, the key in URL hash is now base58 encoded, instead of base64 (#377)
|
||||||
* CHANGED: Using modal dialog to request password input instead of native JS input window (#69)
|
* FIXED: Facebooks started injecting parameters into shared URLs for tracking that lead to inaccessible pastes (#396)
|
||||||
* CHANGED: Suppressed referrer HTTP header sending when following links in a paste or comment (#96) and added additional HTTP headers for XSS mitigation (#91)
|
* FIXED: Properly escaped HTML in raw text mode (#358)
|
||||||
* CHANGED: Updated random_compat and jQuery libraries
|
* FIXED: Made download links better readable in the dark bootstrap theme (#364)
|
||||||
* FIXED: XSS using JavaScript stored as markdown formatted paste, after clicking on Raw paste button (#137)
|
* FIXED: Allow Letsencrypt bot to access on apache servers (#413)
|
||||||
* FIXED: Automatic purging deleting non-expiring pastes, when using database store (#149)
|
|
||||||
* **1.0 (2016-08-25)**
|
## 1.2.1 (2018-08-11)
|
||||||
* ADDED: Translations for Slowene and Chinese
|
* ADDED: Add support for mega.nz links in pastes and comments (#331)
|
||||||
* ADDED: re-introduced (optional) URL shortener support, which was removed back in version 0.16 for privacy concerns
|
* CHANGED: Added some missing Russian translations (#348)
|
||||||
* ADDED: Preview tab, helpful for writing markdown code or check the source code rendering
|
* CHANGED: Minor PHP refactoring: Rename PrivateBin class to Controller, improved logic of some persistence classes (#342)
|
||||||
* ADDED: Automatic purging of expired pastes, done on paste creation
|
* CHANGED: Upgrading DOMpurify library to 1.0.7
|
||||||
* ADDED: Option to disable icons in discussions (will only affect newly created pastes)
|
* FIXED: Ensure legacy browsers without webcrypto support can't create paste keys with insufficient entropy (#346)
|
||||||
* ADDED: Composer support
|
* FIXED: Re-add support for old browsers (Firefox<21, Chrome<31, Safari<7, IE<11), broken in 1.2, will be removed again in 1.3
|
||||||
* CHANGED: Renamed the ZeroBin fork to PrivateBin
|
|
||||||
* CHANGED: Removed unmaintained RainTPL template engine, replacing the templates with straight forward PHP files
|
## 1.2 (2018-07-22)
|
||||||
* CHANGED: New logo and favicons
|
* ADDED: Translations for Spanish, Occitan, Norwegian, Portuguese, Dutch and Hungarian
|
||||||
* CHANGED: Upgrading SJCL library to 1.0.4
|
* ADDED: Option in configuration to change the default "PrivateBin" title of the site
|
||||||
* CHANGED: Switched to GCM instead of CCM mode for AES encryption for newly created pastes
|
* ADDED: Added display of video, audio & PDF, drag & drop, preview of attachments (#182)
|
||||||
* CHANGED: Use backported random bytes function from PHP7 for older PHP versions instead of mcrypt
|
* ADDED: QR code generation (#169)
|
||||||
* CHANGED: Switched to a SHA256 HMAC of the IP in traffic limiter instead of storing it in plain text on the server
|
* ADDED: Introduced DOMpurify library to sanitize generated HTML before display (#183)
|
||||||
* CHANGED: Introduced content security policy header to reduce cross site scripting (XSS) risks
|
* CHANGED: Force JSON request for getting paste data & password retry (#216)
|
||||||
* CHANGED: Added SHA512 subresource integrity hashes for all javascript includes to reduce the risk of manipulated scripts and easier detection of such
|
* CHANGED: Minimum required PHP version is 5.4 (#186)
|
||||||
* CHANGED: Refactored PHP code to conform to PSR-4 and PSR-2 standards
|
* CHANGED: Shipped .htaccess files were updated for Apache 2.4 (#192)
|
||||||
* CHANGED: Switched to Identicons as the default for comments with nicknames
|
* CHANGED: Cleanup of bootstrap template variants and moved icons to `img` directory
|
||||||
* CHANGED: Vizhash is now optional and based on (128 byte) SHA512 HMAC instead of (144 byte) combination of MD5, SHA1 and a reversal of that string
|
* CHANGED: Removed option to hide clone button on expiring pastes, since this requires reading the paste for rendering the template, which leaks information on the pastes state
|
||||||
* FIXED: Content-type negociation for HTML in certain uncommon browser configurations
|
* CHANGED: Upgrading libraries to: SJCL 1.0.7, jQuery 3.3.1, Base64 2.4.5, Showdown 1.8.6, DOMpurify 1.0.5 & Prettify 453bd5f
|
||||||
* FIXED: JavaScript error displayed before page is loaded or during attachment load
|
* CHANGED: Refactored JavaScript code, making it modular with private and public functions, making it much easier to maintain (#178)
|
||||||
* FIXED: Don't strip space characters at beginning or end of optional password
|
* FIXED: To counteract regressions introduced by the refactoring, we finally introduced property based unit testing for the JavaScript code, this caught several regressions, but also some very old bugs not found so far (#32)
|
||||||
* FIXED: Various UI glitches in mobile version or on smaller desktops with language menu, button spacing and long URLs
|
|
||||||
* FIXED: Back button now works as expected after switching to raw text view of a paste
|
## 1.1.1 (2017-10-06)
|
||||||
* FIXED: Reactivated second error message above send comment button to ensure its visibility when the main error message is outside the viewport
|
* CHANGED: Switched to `.php` file extension for configuration file, to avoid leaking configuration data in unprotected installation.
|
||||||
* FIXED: Raw text now displays original markdown instead of rendered HTML
|
|
||||||
* FIXED: Removed unused code detected with the help of various code review tools
|
## 1.1 (2016-12-26)
|
||||||
* FIXED: Table format for PostgreSQL, making it possible to use PostgreSQL as backend in addition to MySQL, SQLite and flat files
|
* ADDED: Translations for Italian and Russian
|
||||||
* **0.22 (2015-11-09)**:
|
* ADDED: Loading message displayed until decryption succeeded for slower (in terms of CPU or network) systems
|
||||||
* ADDED: Tab character input support
|
* ADDED: Dockerfile for docker container creation
|
||||||
* ADDED: Dark bootstrap theme
|
* CHANGED: Using modal dialog to request password input instead of native JS input window (#69)
|
||||||
* ADDED: Option to hide clone button on expiring pastes
|
* CHANGED: Suppressed referrer HTTP header sending when following links in a paste or comment (#96) and added additional HTTP headers for XSS mitigation (#91)
|
||||||
* ADDED: Option to set a different default language then English and/or enforce it as the only language
|
* CHANGED: Updated random_compat and jQuery libraries
|
||||||
* ADDED: Database now contains version to allow automatic update of structure, only if necessary; removing database structure check on each request
|
* FIXED: XSS using JavaScript stored as markdown formatted paste, after clicking on Raw paste button (#137)
|
||||||
* ADDED: Favicons
|
* FIXED: Automatic purging deleting non-expiring pastes, when using database store (#149)
|
||||||
* FIXING: Regressions in database layer, prohibiting pastes from being stored
|
|
||||||
* FIXING: Fixing "missing" comments when they were posted during the same second to the same paste
|
## 1.0 (2016-08-25)
|
||||||
* FIXING: JS failing when password input disabled
|
* ADDED: Translations for Slowene and Chinese
|
||||||
* CHANGED: Switching positions of "New" and "Send" button, highlighting the latter to improve workflow
|
* ADDED: re-introduced (optional) URL shortener support, which was removed back in version 0.16 for privacy concerns
|
||||||
* CHANGED: Renamed config file to make updates easier
|
* ADDED: Preview tab, helpful for writing markdown code or check the source code rendering
|
||||||
* CHANGED: Switching to JSON-based REST-API
|
* ADDED: Automatic purging of expired pastes, done on paste creation
|
||||||
* CHANGED: Database structure to store attachments, allowing larger attachments to be stored (depending on maximum BLOB size of database backend)
|
* ADDED: Option to disable icons in discussions (will only affect newly created pastes)
|
||||||
* CHANGED: Refactored data model, traffic limiting & request handling
|
* ADDED: Composer support
|
||||||
* **0.21.1 (2015-09-21)**:
|
* CHANGED: Renamed the ZeroBin fork to PrivateBin
|
||||||
* FIXING: lost meta data when using DB model instead of flat files
|
* CHANGED: Removed unmaintained RainTPL template engine, replacing the templates with straight forward PHP files
|
||||||
* FIXING: mobile navbar getting triggered on load
|
* CHANGED: New logo and favicons
|
||||||
* CHANGED: database table "paste" gets automatically extended with a "meta" column
|
* CHANGED: Upgrading SJCL library to 1.0.4
|
||||||
* CHANGED: navbar of "bootstrap" template now spans full width of view port on large screens
|
* CHANGED: Switched to GCM instead of CCM mode for AES encryption for newly created pastes
|
||||||
* **0.21 (2015-09-19)**:
|
* CHANGED: Use backported random bytes function from PHP7 for older PHP versions instead of mcrypt
|
||||||
* ADDED: Translations for German, French and Polish, language selection menu (optional)
|
* CHANGED: Switched to a SHA256 HMAC of the IP in traffic limiter instead of storing it in plain text on the server
|
||||||
* ADDED: File upload and image display support (optional)
|
* CHANGED: Introduced content security policy header to reduce cross site scripting (XSS) risks
|
||||||
* ADDED: Markdown format support
|
* CHANGED: Added SHA512 subresource integrity hashes for all javascript includes to reduce the risk of manipulated scripts and easier detection of such
|
||||||
* ADDED: "bootstrap-compact" template that hides some of the options in a drop down menu to ensure the nav bar fitting on one line on smaller screen sizes
|
* CHANGED: Refactored PHP code to conform to PSR-4 and PSR-2 standards
|
||||||
* FIXING: Various usability issues with different screen sizes / device types in the "bootstrap" template
|
* CHANGED: Switched to Identicons as the default for comments with nicknames
|
||||||
* CHANGED: Instead of having different options to enable and preselect certain formats there is now a generic `[formatter_options]` section where formats can be added to the displayed format drop down menu. A `defaultformatter` can be set, it defaults to "plaintext". The `syntaxhighlighting` configuration got deprecated.
|
* CHANGED: Vizhash is now optional and based on (128 byte) SHA512 HMAC instead of (144 byte) combination of MD5, SHA1 and a reversal of that string
|
||||||
* `zerobin.js` got a major refactoring:
|
* FIXED: Content-type negociation for HTML in certain uncommon browser configurations
|
||||||
|
* FIXED: JavaScript error displayed before page is loaded or during attachment load
|
||||||
|
* FIXED: Don't strip space characters at beginning or end of optional password
|
||||||
|
* FIXED: Various UI glitches in mobile version or on smaller desktops with language menu, button spacing and long URLs
|
||||||
|
* FIXED: Back button now works as expected after switching to raw text view of a paste
|
||||||
|
* FIXED: Reactivated second error message above send comment button to ensure its visibility when the main error message is outside the viewport
|
||||||
|
* FIXED: Raw text now displays original markdown instead of rendered HTML
|
||||||
|
* FIXED: Removed unused code detected with the help of various code review tools
|
||||||
|
* FIXED: Table format for PostgreSQL, making it possible to use PostgreSQL as backend in addition to MySQL, SQLite and flat files
|
||||||
|
|
||||||
|
## 0.22 (2015-11-09):
|
||||||
|
* ADDED: Tab character input support
|
||||||
|
* ADDED: Dark bootstrap theme
|
||||||
|
* ADDED: Option to hide clone button on expiring pastes
|
||||||
|
* ADDED: Option to set a different default language then English and/or enforce it as the only language
|
||||||
|
* ADDED: Database now contains version to allow automatic update of structure, only if necessary; removing database structure check on each request
|
||||||
|
* ADDED: Favicons
|
||||||
|
* FIXING: Regressions in database layer, prohibiting pastes from being stored
|
||||||
|
* FIXING: Fixing "missing" comments when they were posted during the same second to the same paste
|
||||||
|
* FIXING: JS failing when password input disabled
|
||||||
|
* CHANGED: Switching positions of "New" and "Send" button, highlighting the latter to improve workflow
|
||||||
|
* CHANGED: Renamed config file to make updates easier
|
||||||
|
* CHANGED: Switching to JSON-based REST-API
|
||||||
|
* CHANGED: Database structure to store attachments, allowing larger attachments to be stored (depending on maximum BLOB size of database backend)
|
||||||
|
* CHANGED: Refactored data model, traffic limiting & request handling
|
||||||
|
|
||||||
|
## 0.21.1 (2015-09-21):
|
||||||
|
* FIXING: lost meta data when using DB model instead of flat files
|
||||||
|
* FIXING: mobile navbar getting triggered on load
|
||||||
|
* CHANGED: database table "paste" gets automatically extended with a "meta" column
|
||||||
|
* CHANGED: navbar of "bootstrap" template now spans full width of view port on large screens
|
||||||
|
|
||||||
|
## 0.21 (2015-09-19):
|
||||||
|
* ADDED: Translations for German, French and Polish, language selection menu (optional)
|
||||||
|
* ADDED: File upload and image display support (optional)
|
||||||
|
* ADDED: Markdown format support
|
||||||
|
* ADDED: "bootstrap-compact" template that hides some of the options in a drop down menu to ensure the nav bar fitting on one line on smaller screen sizes
|
||||||
|
* FIXING: Various usability issues with different screen sizes / device types in the "bootstrap" template
|
||||||
|
* CHANGED: Instead of having different options to enable and preselect certain formats there is now a generic `[formatter_options]` section where formats can be added to the displayed format drop down menu. A `defaultformatter` can be set, it defaults to "plaintext". The `syntaxhighlighting` configuration got deprecated.
|
||||||
|
* `zerobin.js` got a major refactoring:
|
||||||
* moved from global namespace into anonymous function
|
* moved from global namespace into anonymous function
|
||||||
* events are no longer set via "onclick" attributes in the templates, but bound by from JS side
|
* events are no longer set via "onclick" attributes in the templates, but bound by from JS side
|
||||||
* for simpler maintenance the functions were grouped into objects: zerobin (display logic, event handling), filter (compression,
|
* for simpler maintenance the functions were grouped into objects: zerobin (display logic, event handling), filter (compression,
|
||||||
encryption), i18n (translation, counterpart of i18n.php) and helper (stateless utilities)
|
encryption), i18n (translation, counterpart of i18n.php) and helper (stateless utilities)
|
||||||
* Wiki pages were added to address common topics:
|
* Wiki pages were added to address common topics:
|
||||||
* [Upgrading from ZeroBin 0.19 Alpha](https://github.com/PrivateBin/PrivateBin/wiki/Upgrading-from-ZeroBin-0.19-Alpha)
|
* [Upgrading from ZeroBin 0.19 Alpha](https://github.com/PrivateBin/PrivateBin/wiki/Upgrading-from-ZeroBin-0.19-Alpha)
|
||||||
* [Directory of public PrivateBin servers](https://github.com/PrivateBin/PrivateBin/wiki/PrivateBin-Directory)
|
* [Directory of public PrivateBin servers](https://github.com/PrivateBin/PrivateBin/wiki/PrivateBin-Directory)
|
||||||
* [Translation](https://github.com/PrivateBin/PrivateBin/wiki/Translation)
|
* [Translation](https://github.com/PrivateBin/PrivateBin/wiki/Translation)
|
||||||
* [Templates](https://github.com/PrivateBin/PrivateBin/wiki/Templates)
|
* [Templates](https://github.com/PrivateBin/PrivateBin/wiki/Templates)
|
||||||
* **0.20 (2015-09-03)**:
|
|
||||||
* ADDED: Password protected pastes (optional)
|
## 0.20 (2015-09-03):
|
||||||
* ADDED: configuration options for highlighting, password, discussions, expiration times, rate limiting
|
* ADDED: Password protected pastes (optional)
|
||||||
* ADDED: JSON-only retrieval of paste incl. discussion, used to be able to refresh paste when posting a comment
|
* ADDED: configuration options for highlighting, password, discussions, expiration times, rate limiting
|
||||||
* ADDED: bootstrap CSS based template
|
* ADDED: JSON-only retrieval of paste incl. discussion, used to be able to refresh paste when posting a comment
|
||||||
* CHANGED: "Burn after reading" pastes are now deleted only after the paste was successfully decrypted via callback. This prevents accidental deletion by chatbots following URLs and the like. Usage of a password is suggested to ensure only the desired recipient is able to encrypt it.
|
* ADDED: bootstrap CSS based template
|
||||||
* CHANGED: the "opendiscussion" option now only controls if the discussion checkbox is preselected. Use "discussion = false" to disable the discussion feature completely (which also removes the checkbox from the template).
|
* CHANGED: "Burn after reading" pastes are now deleted only after the paste was successfully decrypted via callback. This prevents accidental deletion by chatbots following URLs and the like. Usage of a password is suggested to ensure only the desired recipient is able to encrypt it.
|
||||||
* FIXING: Behaviour of several conflicting configuration options. As a general measure unit tests for 9 of the options and all their possible configurations were added via a unit test generator.
|
* CHANGED: the "opendiscussion" option now only controls if the discussion checkbox is preselected. Use "discussion = false" to disable the discussion feature completely (which also removes the checkbox from the template).
|
||||||
* updated JS libraries: jquery to 1.11.3, sjcl to 1.0.2, base64.js to 2.1.9, deflate to 0.5, inflate to 0.3 and prettify to latest
|
* FIXING: Behaviour of several conflicting configuration options. As a general measure unit tests for 9 of the options and all their possible configurations were added via a unit test generator.
|
||||||
* generally improved documentation, both inline phpdoc / JSdoc source code documentation, as well as Wiki pages on installation, configuration, development and JSON-API
|
* updated JS libraries: jquery to 1.11.3, sjcl to 1.0.2, base64.js to 2.1.9, deflate to 0.5, inflate to 0.3 and prettify to latest
|
||||||
* **Alpha 0.19 (2013-07-05)**:
|
* generally improved documentation, both inline phpdoc / JSdoc source code documentation, as well as Wiki pages on installation, configuration, development and JSON-API
|
||||||
* Corrected XSS security flaw which affected IE<10. Other browsers were not affected.
|
|
||||||
* Corrected spacing display in IE<10.
|
## Alpha 0.19 (2013-07-05):
|
||||||
* **Alpha 0.18 (2013-02-24)**:
|
* Corrected XSS security flaw which affected IE<10. Other browsers were not affected.
|
||||||
* ADDED: The resulting URL is automatically selected after pressing "Send". You just have to press CTRL+C.
|
* Corrected spacing display in IE<10.
|
||||||
* ADDED: Automatic syntax highlighting for 53 languages using highlight.js
|
|
||||||
* ADDED: "5 minutes" and "1 week" expirations.
|
## Alpha 0.18 (2013-02-24):
|
||||||
* ADDED: "Raw text" button.
|
* ADDED: The resulting URL is automatically selected after pressing "Send". You just have to press CTRL+C.
|
||||||
* jQuery upgraded to 1.9.1
|
* ADDED: Automatic syntax highlighting for 53 languages using highlight.js
|
||||||
* sjcl upgraded to GitHub master 2013-02-23
|
* ADDED: "5 minutes" and "1 week" expirations.
|
||||||
* base64.js upgraded to 1.7
|
* ADDED: "Raw text" button.
|
||||||
* FIXED: Dates in discussion are now proper local dates.
|
* jQuery upgraded to 1.9.1
|
||||||
* ADDED: Robot meta tags in HTML to prevent search engines indexing.
|
* sjcl upgraded to GitHub master 2013-02-23
|
||||||
* ADDED: Better json checking (including entropy).
|
* base64.js upgraded to 1.7
|
||||||
* ADDED: Added version to js/css assets URLs in order to prevent some abusive caches to serve an obsolete version of these files when ZeroBin is upgraded.
|
* FIXED: Dates in discussion are now proper local dates.
|
||||||
* "Burn after reading" option has been moved out of Expiration combo to a separate checkbox. Reason is: You can prevent a read-once paste to be available ad vitam eternam on the net.
|
* ADDED: Robot meta tags in HTML to prevent search engines indexing.
|
||||||
* **Alpha 0.17 (2013-02-23)**:
|
* ADDED: Better json checking (including entropy).
|
||||||
* ADDED: Deletion URL.
|
* ADDED: Added version to js/css assets URLs in order to prevent some abusive caches to serve an obsolete version of these files when ZeroBin is upgraded.
|
||||||
* small refactoring.
|
* "Burn after reading" option has been moved out of Expiration combo to a separate checkbox. Reason is: You can prevent a read-once paste to be available ad vitam eternam on the net.
|
||||||
* improved regex checks.
|
|
||||||
* larger server alt on installation.
|
## Alpha 0.17 (2013-02-23):
|
||||||
* **Alpha 0.16**:
|
* ADDED: Deletion URL.
|
||||||
* FIXED minor php warnings.
|
* small refactoring.
|
||||||
* FIXED: zerobin.js reformated and properly commented.
|
* improved regex checks.
|
||||||
* FIXED: Directory structure re-organized.
|
* larger server alt on installation.
|
||||||
* CHANGED: URL shortening button was removed. (It was bad for privacy.)
|
|
||||||
* **Alpha 0.15 (2012-04-20):**
|
## Alpha 0.16:
|
||||||
* FIXED: 2 minor corrections to avoid notices in php log.
|
* FIXED minor php warnings.
|
||||||
* FIXED: Sources converted to UTF-8.
|
* FIXED: zerobin.js reformated and properly commented.
|
||||||
* **Alpha 0.14 (2012-04-20):**
|
* FIXED: Directory structure re-organized.
|
||||||
* ADDED: GD presence is checked.
|
* CHANGED: URL shortening button was removed. (It was bad for privacy.)
|
||||||
* CHANGED: Traffic limiter data files moved to data/ (→easier rights management)
|
|
||||||
* ADDED: "Burn after reading" implemented. Opening the URL will display the paste and immediately destroy it on server.
|
## Alpha 0.15 (2012-04-20):
|
||||||
* **Alpha 0.13 (2012-04-18):**
|
* FIXED: 2 minor corrections to avoid notices in php log.
|
||||||
* FIXED: ''imageantialias()'' call removed because it's not really usefull and can be a problem on most hosts (if GD is not compiled in php).
|
* FIXED: Sources converted to UTF-8.
|
||||||
* FIXED: $error not properly initialized in index.php
|
|
||||||
* **Alpha 0.12 (2012-04-18):**
|
## Alpha 0.14 (2012-04-20):
|
||||||
* **DISCUSSIONS !** Now you can enable discussions on your pastes. Of course, posted comments and nickname are also encrypted and the server cannot see them.
|
* ADDED: GD presence is checked.
|
||||||
* This feature implies a change in storage format. You will have to delete all previous pastes in your ZeroBin.
|
* CHANGED: Traffic limiter data files moved to data/ (→easier rights management)
|
||||||
* Added [[php:vizhash_gd|Vizhash]] as avatars, so you can match posters IP addresses without revealing them. (Same image = same IP). Of course the IP address cannot be deduced from the Vizhash.
|
* ADDED: "Burn after reading" implemented. Opening the URL will display the paste and immediately destroy it on server.
|
||||||
* Remaining time before expiration is now displayed.
|
|
||||||
* Explicit tags were added to CSS and jQuery selectors (eg. div#aaa instead of #aaa) to speed up browser.
|
## Alpha 0.13 (2012-04-18):
|
||||||
* Better cleaning of the URL (to make sure the key is not broken by some stupid redirection service)
|
* FIXED: ''imageantialias()'' call removed because it's not really usefull and can be a problem on most hosts (if GD is not compiled in php).
|
||||||
* **Alpha 0.11 (2012-04-12):**
|
* FIXED: $error not properly initialized in index.php
|
||||||
* Automatically ignore parameters (such as &utm_source=...) added //after// the anchor by some stupid Web 2.0 services.
|
|
||||||
* First public release.
|
## Alpha 0.12 (2012-04-18):
|
||||||
* **Alpha 0.10 (2012-04-12):**
|
## DISCUSSIONS ! Now you can enable discussions on your pastes. Of course, posted comments and nickname are also encrypted and the server cannot see them.
|
||||||
* IE9 does not seem to correctly support ''pre-wrap'' either. Special handling mode activated for all version of IE<10. (Note: **ALL other browsers** correctly support this feature.)
|
* This feature implies a change in storage format. You will have to delete all previous pastes in your ZeroBin.
|
||||||
* **Alpha 0.9 (2012-04-11):**
|
* Added [[php:vizhash_gd|Vizhash]] as avatars, so you can match posters IP addresses without revealing them. (Same image = same IP). Of course the IP address cannot be deduced from the Vizhash.
|
||||||
* Oh bummer... IE 8 is as shitty as IE6/7: Its does not seem to support ''white-space:pre-wrap'' correctly. I had to activate the special handling mode. I still have to test IE 9.
|
* Remaining time before expiration is now displayed.
|
||||||
* **Alpha 0.8 (2012-04-11):**
|
* Explicit tags were added to CSS and jQuery selectors (eg. div#aaa instead of #aaa) to speed up browser.
|
||||||
* Source code not published yet.
|
* Better cleaning of the URL (to make sure the key is not broken by some stupid redirection service)
|
||||||
* Interface completely redesigned. Icons added.
|
|
||||||
* Now properly supports IE6/7 (ugly display, but it works. "Clone" button is disabled though.)
|
## Alpha 0.11 (2012-04-12):
|
||||||
* Added one level of depth for storage directories (This is better for higher load servers).
|
* Automatically ignore parameters (such as &utm_source=...) added //after// the anchor by some stupid Web 2.0 services.
|
||||||
* php version is now checked (min: 5.2.6)
|
* First public release.
|
||||||
* Better checks on posted json data on server.
|
|
||||||
* Added "1 year" expiration.
|
## Alpha 0.10 (2012-04-12):
|
||||||
* URLs are now converted to clickable links. This include http, https, ftp and magnet links.
|
* IE9 does not seem to correctly support ''pre-wrap'' either. Special handling mode activated for all version of IE<10. (Note: ALL other browsers correctly support this feature.)
|
||||||
* Clickable links include ''rel="nofollow"'' to discourage SEO.
|
|
||||||
* On my public service (http://sebsauvage.net/paste/)
|
## Alpha 0.9 (2012-04-11):
|
||||||
|
* Oh bummer... IE 8 is as shitty as IE6/7: Its does not seem to support ''white-space:pre-wrap'' correctly. I had to activate the special handling mode. I still have to test IE 9.
|
||||||
|
|
||||||
|
## Alpha 0.8 (2012-04-11):
|
||||||
|
* Source code not published yet.
|
||||||
|
* Interface completely redesigned. Icons added.
|
||||||
|
* Now properly supports IE6/7 (ugly display, but it works. "Clone" button is disabled though.)
|
||||||
|
* Added one level of depth for storage directories (This is better for higher load servers).
|
||||||
|
* php version is now checked (min: 5.2.6)
|
||||||
|
* Better checks on posted json data on server.
|
||||||
|
* Added "1 year" expiration.
|
||||||
|
* URLs are now converted to clickable links. This include http, https, ftp and magnet links.
|
||||||
|
* Clickable links include ''rel="nofollow"'' to discourage SEO.
|
||||||
|
* On my public service (http://sebsauvage.net/paste/)
|
||||||
* All data will be deleted (you were warned - this is a test service)
|
* All data will be deleted (you were warned - this is a test service)
|
||||||
* Default paste expiration is now 1 month to prevent clogging-up my host.
|
* Default paste expiration is now 1 month to prevent clogging-up my host.
|
||||||
|
@ -65,3 +65,4 @@
|
|||||||
* jaideejung007 - Thai
|
* jaideejung007 - Thai
|
||||||
* Nicolas Le Gall - Japanese
|
* Nicolas Le Gall - Japanese
|
||||||
* lazerns - Arabic
|
* lazerns - Arabic
|
||||||
|
* Edward205 - Romanian
|
||||||
|
8
Makefile
8
Makefile
@ -1,7 +1,7 @@
|
|||||||
.PHONY: all coverage coverage-js coverage-php doc doc-js doc-php increment sign test test-js test-php help
|
.PHONY: all coverage coverage-js coverage-php doc doc-js doc-php increment sign test test-js test-php help
|
||||||
|
|
||||||
CURRENT_VERSION = 1.6.0
|
CURRENT_VERSION = 1.7.0
|
||||||
VERSION ?= 1.6.1
|
VERSION ?= 1.7.1
|
||||||
VERSION_FILES = index.php bin/ cfg/ *.md doc/Installation.md css/ i18n/ img/ js/package.json js/privatebin.js lib/ Makefile tpl/ tst/
|
VERSION_FILES = index.php bin/ cfg/ *.md doc/Installation.md css/ i18n/ img/ js/package.json js/privatebin.js lib/ Makefile tpl/ tst/
|
||||||
REGEX_CURRENT_VERSION := $(shell echo $(CURRENT_VERSION) | sed "s/\./\\\./g")
|
REGEX_CURRENT_VERSION := $(shell echo $(CURRENT_VERSION) | sed "s/\./\\\./g")
|
||||||
REGEX_VERSION := $(shell echo $(VERSION) | sed "s/\./\\\./g")
|
REGEX_VERSION := $(shell echo $(VERSION) | sed "s/\./\\\./g")
|
||||||
@ -18,7 +18,7 @@ coverage-js: ## Run JS unit tests and generate code coverage reports.
|
|||||||
|
|
||||||
coverage-php: ## Run PHP unit tests and generate code coverage reports.
|
coverage-php: ## Run PHP unit tests and generate code coverage reports.
|
||||||
cd tst && phpunit 2> /dev/null
|
cd tst && phpunit 2> /dev/null
|
||||||
cd tst/log/php-coverage-report && sed -i "s#$(CURDIR)##g" *.html */*.html
|
cd tst/log/php-coverage-report && sed -i "s#$(CURDIR)/##g" *.html */*.html
|
||||||
|
|
||||||
doc: doc-js doc-php ## Generate all code documentation.
|
doc: doc-js doc-php ## Generate all code documentation.
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ doc-js: ## Generate JS code documentation.
|
|||||||
jsdoc -p -d doc/jsdoc js/privatebin.js js/legacy.js
|
jsdoc -p -d doc/jsdoc js/privatebin.js js/legacy.js
|
||||||
|
|
||||||
doc-php: ## Generate JS code documentation.
|
doc-php: ## Generate JS code documentation.
|
||||||
phpdoc --visibility public,protected,private -t doc/phpdoc -d lib/
|
phpdoc --visibility=public,protected,private --target=doc/phpdoc --directory=lib/
|
||||||
|
|
||||||
increment: ## Increment and commit new version number, set target version using `make increment VERSION=1.2.3`.
|
increment: ## Increment and commit new version number, set target version using `make increment VERSION=1.2.3`.
|
||||||
for F in `grep -l -R $(REGEX_CURRENT_VERSION) $(VERSION_FILES) | grep -v -e tst/log/ -e ":0" -e CHANGELOG.md`; \
|
for F in `grep -l -R $(REGEX_CURRENT_VERSION) $(VERSION_FILES) | grep -v -e tst/log/ -e ":0" -e CHANGELOG.md`; \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# [![PrivateBin](https://cdn.rawgit.com/PrivateBin/assets/master/images/preview/logoSmall.png)](https://privatebin.info/)
|
# [![PrivateBin](https://cdn.rawgit.com/PrivateBin/assets/master/images/preview/logoSmall.png)](https://privatebin.info/)
|
||||||
|
|
||||||
*Current version: 1.6.0*
|
*Current version: 1.7.0*
|
||||||
|
|
||||||
**PrivateBin** is a minimalist, open source online
|
**PrivateBin** is a minimalist, open source online
|
||||||
[pastebin](https://en.wikipedia.org/wiki/Pastebin)
|
[pastebin](https://en.wikipedia.org/wiki/Pastebin)
|
||||||
@ -55,7 +55,7 @@ without losing any data.
|
|||||||
paste (first) might still be disclosed via access logs.
|
paste (first) might still be disclosed via access logs.
|
||||||
|
|
||||||
- In case of a server breach your data is secure as it is only stored encrypted
|
- In case of a server breach your data is secure as it is only stored encrypted
|
||||||
on the server. However, the server could be absused or the server admin could
|
on the server. However, the server could be abused or the server admin could
|
||||||
be legally forced into sending malicious code to their users, which logs
|
be legally forced into sending malicious code to their users, which logs
|
||||||
the decryption key and sends it to a server when a user accesses a paste.
|
the decryption key and sends it to a server when a user accesses a paste.
|
||||||
Therefore, do not access any PrivateBin instance if you think it has been
|
Therefore, do not access any PrivateBin instance if you think it has been
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
| Version | Supported |
|
| Version | Supported |
|
||||||
| ------- | ------------------ |
|
| ------- | ------------------ |
|
||||||
| 1.6.0 | :heavy_check_mark: |
|
| 1.7.0 | :heavy_check_mark: |
|
||||||
| < 1.6.0 | :x: |
|
| < 1.7.0 | :x: |
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
@ -9,11 +9,12 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
use PrivateBin\Configuration;
|
use PrivateBin\Configuration;
|
||||||
use PrivateBin\Data\AbstractData;
|
use PrivateBin\Data\AbstractData;
|
||||||
use PrivateBin\Model\Paste;
|
use PrivateBin\Model\Paste;
|
||||||
@ -195,6 +196,7 @@ EOT, PHP_EOL;
|
|||||||
{
|
{
|
||||||
$counters = array(
|
$counters = array(
|
||||||
'burn' => 0,
|
'burn' => 0,
|
||||||
|
'damaged' => 0,
|
||||||
'discussion' => 0,
|
'discussion' => 0,
|
||||||
'expired' => 0,
|
'expired' => 0,
|
||||||
'md' => 0,
|
'md' => 0,
|
||||||
@ -217,7 +219,12 @@ EOT, PHP_EOL;
|
|||||||
|
|
||||||
echo "Total:\t\t\t{$counters['total']}", PHP_EOL;
|
echo "Total:\t\t\t{$counters['total']}", PHP_EOL;
|
||||||
foreach ($ids as $pasteid) {
|
foreach ($ids as $pasteid) {
|
||||||
|
try {
|
||||||
$paste = $this->_store->read($pasteid);
|
$paste = $this->_store->read($pasteid);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
echo "Error reading paste {$pasteid}: ", $e->getMessage(), PHP_EOL;
|
||||||
|
++$counters['damaged'];
|
||||||
|
}
|
||||||
++$counters['progress'];
|
++$counters['progress'];
|
||||||
|
|
||||||
if (
|
if (
|
||||||
@ -271,6 +278,9 @@ Plain Text:\t\t{$counters['plain']}
|
|||||||
Source Code:\t\t{$counters['syntax']}
|
Source Code:\t\t{$counters['syntax']}
|
||||||
Markdown:\t\t{$counters['md']}
|
Markdown:\t\t{$counters['md']}
|
||||||
EOT, PHP_EOL;
|
EOT, PHP_EOL;
|
||||||
|
if ($counters['damaged'] > 0) {
|
||||||
|
echo "Damaged:\t\t{$counters['damaged']}", PHP_EOL;
|
||||||
|
}
|
||||||
if ($counters['unknown'] > 0) {
|
if ($counters['unknown'] > 0) {
|
||||||
echo "Unknown format:\t\t{$counters['unknown']}", PHP_EOL;
|
echo "Unknown format:\t\t{$counters['unknown']}", PHP_EOL;
|
||||||
}
|
}
|
||||||
@ -305,7 +315,12 @@ EOT, PHP_EOL;
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->_option('p', 'purge') !== null) {
|
if ($this->_option('p', 'purge') !== null) {
|
||||||
|
try {
|
||||||
$this->_store->purge(PHP_INT_MAX);
|
$this->_store->purge(PHP_INT_MAX);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
echo 'Error purging pastes: ', $e->getMessage(), PHP_EOL,
|
||||||
|
'Run the statistics to find damaged paste IDs and either delete them or restore them from backup.', PHP_EOL;
|
||||||
|
}
|
||||||
exit('purging of expired pastes concluded' . PHP_EOL);
|
exit('purging of expired pastes concluded' . PHP_EOL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'conditions' => array('steps' => $vd),
|
'conditions' => array('steps' => $vd),
|
||||||
'type' => 'RegExp',
|
'type' => 'MatchesRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<div[^>]*id="opendiscussionoption"[^>]*>#',
|
'#<div[^>]*id="opendiscussionoption"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -53,7 +53,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'setting' => false,
|
'setting' => false,
|
||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'NotRegExp',
|
'type' => 'DoesNotMatchRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<div[^>]*id="opendiscussionoption"[^>]*>#',
|
'#<div[^>]*id="opendiscussionoption"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -70,7 +70,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'conditions' => array('main/discussion' => true),
|
'conditions' => array('main/discussion' => true),
|
||||||
'type' => 'RegExp',
|
'type' => 'MatchesRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<input[^>]+id="opendiscussion"[^>]*checked="checked"[^>]*>#',
|
'#<input[^>]+id="opendiscussion"[^>]*checked="checked"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -84,7 +84,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'conditions' => array('main/discussion' => true),
|
'conditions' => array('main/discussion' => true),
|
||||||
'type' => 'NotRegExp',
|
'type' => 'DoesNotMatchRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<input[^>]+id="opendiscussion"[^>]*checked="checked"[^>]*>#',
|
'#<input[^>]+id="opendiscussion"[^>]*checked="checked"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -100,7 +100,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'setting' => true,
|
'setting' => true,
|
||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'RegExp',
|
'type' => 'MatchesRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<input[^>]+id="burnafterreading"[^>]*checked="checked"[^>]*>#',
|
'#<input[^>]+id="burnafterreading"[^>]*checked="checked"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -113,7 +113,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'setting' => false,
|
'setting' => false,
|
||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'NotRegExp',
|
'type' => 'DoesNotMatchRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<input[^>]+id="burnafterreading"[^>]*checked="checked"[^>]*>#',
|
'#<input[^>]+id="burnafterreading"[^>]*checked="checked"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -129,7 +129,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'setting' => true,
|
'setting' => true,
|
||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'RegExp',
|
'type' => 'MatchesRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<div[^>]*id="password"[^>]*>#',
|
'#<div[^>]*id="password"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -143,7 +143,7 @@ new ConfigurationTestGenerator(array(
|
|||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'conditions' => array('main/discussion' => true),
|
'conditions' => array('main/discussion' => true),
|
||||||
'type' => 'NotRegExp',
|
'type' => 'DoesNotMatchRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<div[^>]*id="password"[^>]*>#',
|
'#<div[^>]*id="password"[^>]*>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -159,14 +159,14 @@ new ConfigurationTestGenerator(array(
|
|||||||
'setting' => 'page',
|
'setting' => 'page',
|
||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'RegExp',
|
'type' => 'MatchesRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
|
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
|
||||||
'$content',
|
'$content',
|
||||||
'outputs "page" stylesheet correctly',
|
'outputs "page" stylesheet correctly',
|
||||||
),
|
),
|
||||||
), array(
|
), array(
|
||||||
'type' => 'NotRegExp',
|
'type' => 'DoesNotMatchRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap/bootstrap-\d[\d\.]+\d\.css"[^>]*/>#',
|
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap/bootstrap-\d[\d\.]+\d\.css"[^>]*/>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -179,14 +179,14 @@ new ConfigurationTestGenerator(array(
|
|||||||
'setting' => 'bootstrap',
|
'setting' => 'bootstrap',
|
||||||
'tests' => array(
|
'tests' => array(
|
||||||
array(
|
array(
|
||||||
'type' => 'NotRegExp',
|
'type' => 'DoesNotMatchRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
|
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/privatebin\.css\\?\d[\d\.]+\d+"[^>]*/>#',
|
||||||
'$content',
|
'$content',
|
||||||
'removes "page" stylesheet correctly',
|
'removes "page" stylesheet correctly',
|
||||||
),
|
),
|
||||||
), array(
|
), array(
|
||||||
'type' => 'RegExp',
|
'type' => 'MatchesRegularExpression',
|
||||||
'args' => array(
|
'args' => array(
|
||||||
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap/bootstrap-\d[\d\.]+\d\.css"[^>]*/>#',
|
'#<link[^>]+type="text/css"[^>]+rel="stylesheet"[^>]+href="css/bootstrap/bootstrap-\d[\d\.]+\d\.css"[^>]*/>#',
|
||||||
'$content',
|
'$content',
|
||||||
@ -361,7 +361,7 @@ class ConfigurationTestGenerator
|
|||||||
}
|
}
|
||||||
// skip if not all test conditions are met
|
// skip if not all test conditions are met
|
||||||
if (array_key_exists('conditions', $test)) {
|
if (array_key_exists('conditions', $test)) {
|
||||||
while (list($path, $setting) = each($test['conditions'])) {
|
foreach ($test['conditions'] as $path => $setting) {
|
||||||
if ($path == 'steps' && !in_array($step, $setting)) {
|
if ($path == 'steps' && !in_array($step, $setting)) {
|
||||||
continue 2;
|
continue 2;
|
||||||
} elseif ($path != 'steps') {
|
} elseif ($path != 'steps') {
|
||||||
@ -591,8 +591,9 @@ EOT;
|
|||||||
return $this->_configurations;
|
return $this->_configurations;
|
||||||
}
|
}
|
||||||
echo "generateConfigurations: iteration $this->_iterationCount", PHP_EOL;
|
echo "generateConfigurations: iteration $this->_iterationCount", PHP_EOL;
|
||||||
$continue = list($path, $settings) = each($this->_options);
|
$path = key($this->_options);
|
||||||
if ($continue === false) {
|
$settings = current($this->_options);
|
||||||
|
if (next($this->_options) === false) {
|
||||||
return $this->_configurations;
|
return $this->_configurations;
|
||||||
}
|
}
|
||||||
list($section, $option) = explode('/', $path);
|
list($section, $option) = explode('/', $path);
|
||||||
|
82
composer.lock
generated
82
composer.lock
generated
@ -316,16 +316,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nikic/php-parser",
|
"name": "nikic/php-parser",
|
||||||
"version": "v4.17.1",
|
"version": "v4.18.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/nikic/PHP-Parser.git",
|
"url": "https://github.com/nikic/PHP-Parser.git",
|
||||||
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d"
|
"reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d",
|
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999",
|
||||||
"reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d",
|
"reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -366,9 +366,9 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/nikic/PHP-Parser/issues",
|
"issues": "https://github.com/nikic/PHP-Parser/issues",
|
||||||
"source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1"
|
"source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0"
|
||||||
},
|
},
|
||||||
"time": "2023-08-13T19:53:39+00:00"
|
"time": "2023-12-10T21:03:43+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phar-io/manifest",
|
"name": "phar-io/manifest",
|
||||||
@ -483,23 +483,23 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-code-coverage",
|
"name": "phpunit/php-code-coverage",
|
||||||
"version": "9.2.27",
|
"version": "9.2.30",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
||||||
"reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1"
|
"reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/b0a88255cb70d52653d80c890bd7f38740ea50d1",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089",
|
||||||
"reference": "b0a88255cb70d52653d80c890bd7f38740ea50d1",
|
"reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-dom": "*",
|
"ext-dom": "*",
|
||||||
"ext-libxml": "*",
|
"ext-libxml": "*",
|
||||||
"ext-xmlwriter": "*",
|
"ext-xmlwriter": "*",
|
||||||
"nikic/php-parser": "^4.15",
|
"nikic/php-parser": "^4.18 || ^5.0",
|
||||||
"php": ">=7.3",
|
"php": ">=7.3",
|
||||||
"phpunit/php-file-iterator": "^3.0.3",
|
"phpunit/php-file-iterator": "^3.0.3",
|
||||||
"phpunit/php-text-template": "^2.0.2",
|
"phpunit/php-text-template": "^2.0.2",
|
||||||
@ -549,7 +549,7 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
|
||||||
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
|
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
|
||||||
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.27"
|
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -557,7 +557,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-07-26T13:44:30+00:00"
|
"time": "2023-12-22T06:47:57+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-file-iterator",
|
"name": "phpunit/php-file-iterator",
|
||||||
@ -802,16 +802,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "9.6.11",
|
"version": "9.6.16",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "810500e92855eba8a7a5319ae913be2da6f957b0"
|
"reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/810500e92855eba8a7a5319ae913be2da6f957b0",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3767b2c56ce02d01e3491046f33466a1ae60a37f",
|
||||||
"reference": "810500e92855eba8a7a5319ae913be2da6f957b0",
|
"reference": "3767b2c56ce02d01e3491046f33466a1ae60a37f",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -826,7 +826,7 @@
|
|||||||
"phar-io/manifest": "^2.0.3",
|
"phar-io/manifest": "^2.0.3",
|
||||||
"phar-io/version": "^3.0.2",
|
"phar-io/version": "^3.0.2",
|
||||||
"php": ">=7.3",
|
"php": ">=7.3",
|
||||||
"phpunit/php-code-coverage": "^9.2.13",
|
"phpunit/php-code-coverage": "^9.2.28",
|
||||||
"phpunit/php-file-iterator": "^3.0.5",
|
"phpunit/php-file-iterator": "^3.0.5",
|
||||||
"phpunit/php-invoker": "^3.1.1",
|
"phpunit/php-invoker": "^3.1.1",
|
||||||
"phpunit/php-text-template": "^2.0.3",
|
"phpunit/php-text-template": "^2.0.3",
|
||||||
@ -885,7 +885,7 @@
|
|||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
|
||||||
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
|
||||||
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.11"
|
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.16"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -901,7 +901,7 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-08-19T07:10:56+00:00"
|
"time": "2024-01-19T07:03:14+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/cli-parser",
|
"name": "sebastian/cli-parser",
|
||||||
@ -1146,20 +1146,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/complexity",
|
"name": "sebastian/complexity",
|
||||||
"version": "2.0.2",
|
"version": "2.0.3",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/complexity.git",
|
"url": "https://github.com/sebastianbergmann/complexity.git",
|
||||||
"reference": "739b35e53379900cc9ac327b2147867b8b6efd88"
|
"reference": "25f207c40d62b8b7aa32f5ab026c53561964053a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88",
|
"url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a",
|
||||||
"reference": "739b35e53379900cc9ac327b2147867b8b6efd88",
|
"reference": "25f207c40d62b8b7aa32f5ab026c53561964053a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"nikic/php-parser": "^4.7",
|
"nikic/php-parser": "^4.18 || ^5.0",
|
||||||
"php": ">=7.3"
|
"php": ">=7.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
@ -1191,7 +1191,7 @@
|
|||||||
"homepage": "https://github.com/sebastianbergmann/complexity",
|
"homepage": "https://github.com/sebastianbergmann/complexity",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/complexity/issues",
|
"issues": "https://github.com/sebastianbergmann/complexity/issues",
|
||||||
"source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2"
|
"source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -1199,7 +1199,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2020-10-26T15:52:27+00:00"
|
"time": "2023-12-22T06:19:30+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/diff",
|
"name": "sebastian/diff",
|
||||||
@ -1473,20 +1473,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/lines-of-code",
|
"name": "sebastian/lines-of-code",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/lines-of-code.git",
|
"url": "https://github.com/sebastianbergmann/lines-of-code.git",
|
||||||
"reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc"
|
"reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc",
|
"url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5",
|
||||||
"reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc",
|
"reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"nikic/php-parser": "^4.6",
|
"nikic/php-parser": "^4.18 || ^5.0",
|
||||||
"php": ">=7.3"
|
"php": ">=7.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
@ -1518,7 +1518,7 @@
|
|||||||
"homepage": "https://github.com/sebastianbergmann/lines-of-code",
|
"homepage": "https://github.com/sebastianbergmann/lines-of-code",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
|
"issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
|
||||||
"source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3"
|
"source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -1526,7 +1526,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2020-11-28T06:42:11+00:00"
|
"time": "2023-12-22T06:20:34+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/object-enumerator",
|
"name": "sebastian/object-enumerator",
|
||||||
@ -1869,16 +1869,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "theseer/tokenizer",
|
"name": "theseer/tokenizer",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/theseer/tokenizer.git",
|
"url": "https://github.com/theseer/tokenizer.git",
|
||||||
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
|
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
|
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
|
||||||
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
|
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -1907,7 +1907,7 @@
|
|||||||
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/theseer/tokenizer/issues",
|
"issues": "https://github.com/theseer/tokenizer/issues",
|
||||||
"source": "https://github.com/theseer/tokenizer/tree/1.2.1"
|
"source": "https://github.com/theseer/tokenizer/tree/1.2.2"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@ -1915,7 +1915,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-07-28T10:34:58+00:00"
|
"time": "2023-11-20T00:12:19+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
@ -1930,5 +1930,5 @@
|
|||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.3"
|
"php": "7.3"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.3.0"
|
"plugin-api-version": "2.6.0"
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -113,6 +113,7 @@ body.loading {
|
|||||||
#qrcodemodalClose {
|
#qrcodemodalClose {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
#qrcode-display {
|
#qrcode-display {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
@ -205,3 +206,23 @@ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
|
|||||||
.modal .modal-content button {
|
.modal .modal-content button {
|
||||||
margin: 0.5em 0;
|
margin: 0.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* right-to-left overrides */
|
||||||
|
html[dir="rtl"] .checkbox label {
|
||||||
|
padding-left: inherit;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] .checkbox input[type="checkbox"] {
|
||||||
|
margin-left: inherit;
|
||||||
|
margin-right: -20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] #language {
|
||||||
|
margin-left: inherit;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] #deletelink, html[dir="rtl"] #qrcodemodalClose {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* When there is no script at all other */
|
/* When there is no script at all other */
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* CSS Reset from YUI 3.4.1 (build 4118) - Copyright 2011 Yahoo! Inc. All rights reserved.
|
/* CSS Reset from YUI 3.4.1 (build 4118) - Copyright 2011 Yahoo! Inc. All rights reserved.
|
||||||
@ -261,6 +261,7 @@ button img {
|
|||||||
|
|
||||||
#newbutton {
|
#newbutton {
|
||||||
float: right;
|
float: right;
|
||||||
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
display: inline;
|
display: inline;
|
||||||
@ -488,3 +489,17 @@ img.vizhash {
|
|||||||
#cleartext h3 {
|
#cleartext h3 {
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* right-to-left overrides */
|
||||||
|
html[dir="rtl"] #aboutbox, html[dir="rtl"] #deletelink, html[dir="rtl"] #newbutton {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] button, html[dir="rtl"] .button, html[dir="rtl"] button img {
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[dir="rtl"] button img {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
@ -21,7 +21,7 @@ $ sudo pear install phpdoc/phpDocumentor
|
|||||||
To generate the documentation, change into the main directory and run phpdoc:
|
To generate the documentation, change into the main directory and run phpdoc:
|
||||||
```console
|
```console
|
||||||
$ cd PrivateBin
|
$ cd PrivateBin
|
||||||
$ phpdoc --visibility public,protected,private -t doc/phpdoc -d lib/
|
$ phpdoc --visibility=public,protected,private --target=doc/phpdoc --directory=lib/
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be
|
**Note:** When used with PHP 7, the prerelease of phpDocumentator 2.9 needs to be
|
||||||
|
@ -15,9 +15,9 @@ for more information.
|
|||||||
|
|
||||||
**NOTE:** There are Ansible roles available for installing and configuring PrivateBin on your server. You can choose from the following options:
|
**NOTE:** There are Ansible roles available for installing and configuring PrivateBin on your server. You can choose from the following options:
|
||||||
|
|
||||||
- [Podman Rootless - PrivateBin by @voidquark](https://galaxy.ansible.com/voidquark/privatebin) ([Github source code](https://github.com/voidquark/privatebin)): Simplifies the deployment and management of a secure PrivateBin service using a rootless Podman container. Key features include root-less deployment, ensuring security within a user namespace, idempotent deployment for consistent state, out-of-the-box setup for Red Hat systems, and the flexibility to customize PrivateBin configurations. It has been tested on EL9.
|
- [Podman Rootless - PrivateBin by @voidquark](https://galaxy.ansible.com/ui/standalone/roles/voidquark/privatebin/) ([Github source code](https://github.com/voidquark/privatebin)): Simplifies the deployment and management of a secure PrivateBin service using a rootless Podman container. Key features include root-less deployment, ensuring security within a user namespace, idempotent deployment for consistent state, out-of-the-box setup for Red Hat systems, and the flexibility to customize PrivateBin configurations. It has been tested on EL9.
|
||||||
|
|
||||||
- [Config Configuration - PrivateBin by @e1mo](https://galaxy.ansible.com/e1mo/privatebin) ([Github source code](https://git.sr.ht/~e1mo/ansible-role-privatebin)): Deploy PrivateBin configuration to disk with a customized configuration.
|
- [Config Configuration - PrivateBin by @e1mo](https://galaxy.ansible.com/ui/standalone/roles/e1mo/privatebin/) ([Github source code](https://git.sr.ht/~e1mo/ansible-role-privatebin)): Deploy PrivateBin configuration to disk with a customized configuration.
|
||||||
|
|
||||||
### Minimal Requirements
|
### Minimal Requirements
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ accessible to your webserver and PHP process (see also
|
|||||||
In situations where you want to keep the PrivateBin static files separate from the
|
In situations where you want to keep the PrivateBin static files separate from the
|
||||||
rest of your data, or you want to reuse the installation files on multiple vhosts,
|
rest of your data, or you want to reuse the installation files on multiple vhosts,
|
||||||
you may only want to change the `conf.php`. In this case, you can set the
|
you may only want to change the `conf.php`. In this case, you can set the
|
||||||
`CONFIG_PATH` environment variable to the absolute path to the `conf.php` file.
|
`CONFIG_PATH` environment variable to the absolute path to the directory containing the `conf.php` file.
|
||||||
This can be done in your web server's virtual host config, the PHP config, or in
|
This can be done in your web server's virtual host config, the PHP config, or in
|
||||||
the index.php, if you choose to customize it.
|
the index.php, if you choose to customize it.
|
||||||
|
|
||||||
@ -68,13 +68,13 @@ wherever it may be.
|
|||||||
|
|
||||||
> #### CONFIG_PATH example
|
> #### CONFIG_PATH example
|
||||||
> Setting the value in an Apache Vhost:
|
> Setting the value in an Apache Vhost:
|
||||||
> SetEnv CONFIG_PATH /var/lib/privatebin/conf.php
|
> SetEnv CONFIG_PATH /var/lib/privatebin/
|
||||||
>
|
>
|
||||||
> In a php-fpm pool config:
|
> In a php-fpm pool config:
|
||||||
> env[CONFIG_PATH] = /var/lib/privatebin/conf.php
|
> env[CONFIG_PATH] = /var/lib/privatebin/
|
||||||
>
|
>
|
||||||
> In the index.php, near the top:
|
> In the index.php, near the top:
|
||||||
> putenv('CONFIG_PATH=/var/lib/privatebin/conf.php');
|
> putenv('CONFIG_PATH=/var/lib/privatebin/');
|
||||||
|
|
||||||
### Transport security
|
### Transport security
|
||||||
|
|
||||||
@ -201,7 +201,7 @@ CREATE INDEX parent ON prefix_comment(pasteid);
|
|||||||
CREATE TABLE prefix_config (
|
CREATE TABLE prefix_config (
|
||||||
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
|
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
|
||||||
);
|
);
|
||||||
INSERT INTO prefix_config VALUES('VERSION', '1.6.0');
|
INSERT INTO prefix_config VALUES('VERSION', '1.7.0');
|
||||||
```
|
```
|
||||||
|
|
||||||
In **PostgreSQL**, the `data`, `attachment`, `nickname` and `vizhash` columns
|
In **PostgreSQL**, the `data`, `attachment`, `nickname` and `vizhash` columns
|
||||||
@ -213,11 +213,25 @@ to be `CLOB` and not `BLOB` or `MEDIUMBLOB`, the `id` column in the `config`
|
|||||||
table needs to be `VARCHAR2(16)` and the `meta` column in the `paste` table
|
table needs to be `VARCHAR2(16)` and the `meta` column in the `paste` table
|
||||||
and the `value` column in the `config` table need to be `VARCHAR2(4000)`.
|
and the `value` column in the `config` table need to be `VARCHAR2(4000)`.
|
||||||
|
|
||||||
|
### Cloud Storage Backends
|
||||||
|
|
||||||
|
Due to the large size of the respective cloud SDKs required for these, we didn't
|
||||||
|
include these in the `vendor` directory shipped in our release archives. To use
|
||||||
|
these in your manual installation, you will need [composer installed](https://getcomposer.org/)
|
||||||
|
and require the used library (see instructions below).
|
||||||
|
|
||||||
|
This is not required if using the dedicated container images that have these SDKs
|
||||||
|
preinstalled.
|
||||||
|
|
||||||
#### Using Google Cloud Storage
|
#### Using Google Cloud Storage
|
||||||
If you want to deploy PrivateBin in a serverless manner in the Google Cloud, you
|
If you want to deploy PrivateBin in a serverless manner in the Google Cloud, you
|
||||||
can choose the `GoogleCloudStorage` as backend. To use this backend, you create
|
can choose the `GoogleCloudStorage` as backend.
|
||||||
a GCS bucket and specify the name as the model option `bucket`. Alternatively,
|
|
||||||
you can set the name through the environment variable `PRIVATEBIN_GCS_BUCKET`.
|
To use this backend, you first have to install the SDK from the installation
|
||||||
|
directory of PrivateBin: `composer require google/cloud-storage`
|
||||||
|
|
||||||
|
You have to create a GCS bucket and specify the name as the model option `bucket`.
|
||||||
|
Alternatively, you can set the name through the environment variable `PRIVATEBIN_GCS_BUCKET`.
|
||||||
|
|
||||||
The default prefix for pastes stored in the bucket is `pastes`. To change the
|
The default prefix for pastes stored in the bucket is `pastes`. To change the
|
||||||
prefix, specify the option `prefix`.
|
prefix, specify the option `prefix`.
|
||||||
@ -226,15 +240,15 @@ Google Cloud Storage buckets may be significantly slower than a `FileSystem` or
|
|||||||
`Database` backend. The big advantage is that the deployment on Google Cloud
|
`Database` backend. The big advantage is that the deployment on Google Cloud
|
||||||
Platform using Google Cloud Run is easy and cheap.
|
Platform using Google Cloud Run is easy and cheap.
|
||||||
|
|
||||||
To use the Google Cloud Storage backend you have to install the suggested
|
|
||||||
library using the command `composer require google/cloud-storage`.
|
|
||||||
|
|
||||||
#### Using S3 Storage
|
#### Using S3 Storage
|
||||||
Similar to Google Cloud Storage, you can choose S3 as storage backend. It uses
|
Similar to Google Cloud Storage, you can choose S3 as storage backend. It uses
|
||||||
the AWS SDK for PHP, but can also talk to a Rados gateway as part of a CEPH
|
the AWS SDK for PHP, but can also talk to a Rados gateway as part of a Ceph
|
||||||
cluster. To use this backend, you first have to install the SDK in the
|
cluster.
|
||||||
document root of PrivateBin: `composer require aws/aws-sdk-php`. You have to
|
|
||||||
create the S3 bucket on the CEPH cluster before using the S3 backend.
|
To use this backend, you first have to install the SDK from the installation
|
||||||
|
directory of PrivateBin: `composer require aws/aws-sdk-php`
|
||||||
|
|
||||||
|
You have to create an S3 bucket on the Ceph cluster before using the S3 backend.
|
||||||
|
|
||||||
In the `[model]` section of cfg/conf.php, set `class` to `S3Storage`.
|
In the `[model]` section of cfg/conf.php, set `class` to `S3Storage`.
|
||||||
|
|
||||||
@ -256,7 +270,7 @@ data beneath this prefix.
|
|||||||
For AWS, you have to provide at least `region`, `bucket`, `accesskey`, and
|
For AWS, you have to provide at least `region`, `bucket`, `accesskey`, and
|
||||||
`secretkey`.
|
`secretkey`.
|
||||||
|
|
||||||
For CEPH, follow this example:
|
For Ceph, follow this example:
|
||||||
|
|
||||||
```
|
```
|
||||||
region = ""
|
region = ""
|
||||||
|
@ -31,7 +31,7 @@ Know how for participating in PrivateBins development.
|
|||||||
How to generate the source code API documentation, as found on the project
|
How to generate the source code API documentation, as found on the project
|
||||||
website for [PHP](https://privatebin.info/codedoc/) and [JS](https://privatebin.info/jsdoc/)
|
website for [PHP](https://privatebin.info/codedoc/) and [JS](https://privatebin.info/jsdoc/)
|
||||||
|
|
||||||
### [Running Unit Tests](https://github.com/PrivateBin/PrivateBin/blob/master/tst/README.md#running-all-unit-tests)
|
### [Running Unit Tests](https://github.com/PrivateBin/PrivateBin/blob/master/doc/Running Unit Tests.md#running-all-unit-tests)
|
||||||
|
|
||||||
How to run the PHP & JS unit tests, including a brief introduction to property
|
How to run the PHP & JS unit tests, including a brief introduction to property
|
||||||
based unit testing.
|
based unit testing.
|
44
doc/Release.md
Normal file
44
doc/Release.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Release
|
||||||
|
|
||||||
|
## Overview of Supply-Chain Security
|
||||||
|
|
||||||
|
As of the PrivateBin 1.0 release we [cryptographically sign](https://git-scm.com/book/uz/v2/Git-Tools-Signing-Your-Work) our git commits and tags, so that you can verify we actually developed the software. Later, we also [started signing the release archives on GitHub](https://github.com/PrivateBin/PrivateBin/issues/219) and retroactively signed all releases from 1.0 forward.
|
||||||
|
|
||||||
|
Since [release 1.6.2](https://github.com/PrivateBin/PrivateBin/releases/tag/1.6.2) our release assets additionally also are [verified with the SLSA (Supply-chain Levels for Software Artifacts) framework](https://slsa.dev/), providing an in-toto manifest of the release archive.
|
||||||
|
|
||||||
|
This achieves the following:
|
||||||
|
1. It ensures no maintainer has gone rogue and has modified/tampered with the source code before “building” the release.
|
||||||
|
2. It ensures the release is build exactly according to the source as defined by the branch that was used for the release.
|
||||||
|
This includes the workflow file defining how the release is done itself.
|
||||||
|
3. Our release should achieve [SLSA build level 3](https://slsa.dev/spec/v1.0/levels#build-l3) as it [runs on GitHub](https://slsa.dev/spec/v1.0/threats). Some more properties [are thus achieved](https://slsa.dev/spec/v1.0/threats).
|
||||||
|
|
||||||
|
For more information [see the corresponding issue](https://github.com/PrivateBin/PrivateBin/issues/1169) and [the GitHub workflow file](/.github/workflows/release.yml).
|
||||||
|
|
||||||
|
## Reproducible builds
|
||||||
|
|
||||||
|
All releases `.tar.gz` and `.zip` archives since 1.0 come with corresponding `.asc` signatures that can be used to confirm the authenticity of the fact that the release has been issued by a PrivateBin maintainer.
|
||||||
|
|
||||||
|
This uses traditional [PGP](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) signatures.
|
||||||
|
|
||||||
|
## Verification
|
||||||
|
|
||||||
|
You can use the gpg signatures for verifying the reproducibility and that a maintainer in posession with that PGP private key created the release with that content:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ gpg2 --verify 1.6.2.tar.gz.asc
|
||||||
|
gpg: assuming signed data in '1.6.2.tar.gz'
|
||||||
|
gpg: Signature made Fri Dec 15 06:21:08 2023 UTC
|
||||||
|
gpg: using RSA key 28CA7C964938EA5C1481D42AE11B7950E9E183DB
|
||||||
|
gpg: Good signature from "PrivateBin release (solely used for signing releases)" [unknown]
|
||||||
|
gpg: WARNING: This key is not certified with a trusted signature!
|
||||||
|
gpg: There is no indication that the signature belongs to the owner.
|
||||||
|
Primary key fingerprint: 28CA 7C96 4938 EA5C 1481 D42A E11B 7950 E9E1 83DB
|
||||||
|
```
|
||||||
|
|
||||||
|
For a more step-by-step guide in detail [see this FAQ](https://github.com/PrivateBin/PrivateBin/wiki/FAQ#how-can-i-securely-clonedownload-your-project).
|
||||||
|
|
||||||
|
SLSA verification can be performed using the [SLSA verifier](https://github.com/slsa-framework/slsa-verifier#verification-of-slsa-provenance).
|
||||||
|
|
||||||
|
## Release process
|
||||||
|
|
||||||
|
The release process is outlined in the [release checklist](https://github.com/PrivateBin/PrivateBin/wiki/Release-Checklist). The key manual steps are performed using a [Makefile](https://github.com/PrivateBin/PrivateBin/blob/master/Makefile#L31-L43) and using a [shell script](https://github.com/rugk/gittools/blob/master/signrelease.sh).
|
@ -28,11 +28,6 @@ docker run --rm --read-only -v ~/PrivateBin:/srv:ro privatebin/unit-testing phpu
|
|||||||
docker run --rm --read-only -v ~/PrivateBin:/srv:ro privatebin/unit-testing mocha
|
docker run --rm --read-only -v ~/PrivateBin:/srv:ro privatebin/unit-testing mocha
|
||||||
```
|
```
|
||||||
|
|
||||||
We also provide a Janitor image that includes the Cloud9 and Theia WebIDEs as
|
|
||||||
well as the integrated unit testing utilities. See our [docker wiki
|
|
||||||
page](https://github.com/PrivateBin/PrivateBin/wiki/Docker#janitor-image-with-cloud9-and-theia-webide-janitortechnologyprivatebin)
|
|
||||||
for further details on this.
|
|
||||||
|
|
||||||
## Running PHP Unit Tests
|
## Running PHP Unit Tests
|
||||||
|
|
||||||
In order to run these tests, you will need to install the following packages
|
In order to run these tests, you will need to install the following packages
|
||||||
@ -61,18 +56,15 @@ configurations defined in its constructor, it generates the unit test file
|
|||||||
of these configurations and tests for (most of the) valid combinations. Some of
|
of these configurations and tests for (most of the) valid combinations. Some of
|
||||||
combinations can't be tested with this method, i.e. a valid option combined with
|
combinations can't be tested with this method, i.e. a valid option combined with
|
||||||
an invalid one. Other very specific test cases (i.e. to trigger multiple errors)
|
an invalid one. Other very specific test cases (i.e. to trigger multiple errors)
|
||||||
are covered in `tst/PrivateBinTest.php`. Here is how to generate the
|
are covered in `tst/ControllerTest.php`. Here is how to generate the
|
||||||
configuration test and run it:
|
configuration test and run it:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cd PrivateBin/tst
|
$ cd PrivateBin/tst
|
||||||
$ php ConfigurationTestGenerator.php
|
$ ../bin/configuration-test-generator
|
||||||
$ phpunit ConfigurationCombinationsTest.php
|
$ phpunit ConfigurationCombinationsTest.php
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that it can take an hour or longer to run the several thousand tests.
|
|
||||||
|
|
||||||
|
|
||||||
## Running JavaScript Unit Tests
|
## Running JavaScript Unit Tests
|
||||||
|
|
||||||
In order to run these tests, you will need to install the following packages
|
In order to run these tests, you will need to install the following packages
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s عبارة عن أداة لصق على الإنترنت بسيطة ومفتوحة المصدر حيث لا يمتلك الخادم أي معرفة بالبيانات الملصقة. يتم تشفير / فك تشفير البيانات %sفي المتصفح%s باستخدام 256 بت AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s عبارة عن أداة لصق على الإنترنت بسيطة ومفتوحة المصدر حيث لا يمتلك الخادم أي معرفة بالبيانات الملصقة. يتم تشفير / فك تشفير البيانات %sفي المتصفح%s باستخدام 256 بت AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "مزيد من المعلومات على <a href=\"https://privatebin.info/\">صفحة المشروع</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "مزيد من المعلومات على <a href=\"https://privatebin.info/\">صفحة المشروع</a>.",
|
||||||
"Because ignorance is bliss": "لأن الجهل نعمة",
|
"Because ignorance is bliss": "لأن الجهل نعمة",
|
||||||
"en": "ar",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "اللصق غير موجود أو انتهت صلاحيته أو تم حذفه.",
|
"Paste does not exist, has expired or has been deleted.": "اللصق غير موجود أو انتهت صلاحيته أو تم حذفه.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s يتطلب php %s أو أعلى للعمل. آسف.",
|
"%s requires php %s or above to work. Sorry.": "%s يتطلب php %s أو أعلى للعمل. آسف.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s يتطلب وجود قسم [%s] تضبيط في ملف تضبيط.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s يتطلب وجود قسم [%s] تضبيط في ملف تضبيط.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "عنوان IP الخاص بك غير مصرح له بإنشاء لصُق.",
|
"Your IP is not authorized to create pastes.": "عنوان IP الخاص بك غير مصرح له بإنشاء لصُق.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "محاولة تقصير عنوان URL لا يشير إلى خادمنا.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "محاولة تقصير عنوان URL لا يشير إلى خادمنا.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "خطأ في الاتصال بـ YOURLS. ربما تكون هناك مشكلة في التضبيط، مثل \"apiurl\" أو \"التوقيع\" الخاطئ أو المفقود.",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "خطأ في الاتصال بـ YOURLS. ربما تكون هناك مشكلة في التضبيط، مثل \"apiurl\" أو \"التوقيع\" الخاطئ أو المفقود.",
|
||||||
"Error parsing YOURLS response.": "خطأ في تحليل استجابة YOURLS."
|
"Error parsing YOURLS response.": "خطأ في تحليل استجابة YOURLS.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s е изчистен и изцяло достъпен като отворен код, онлайн \"paste\" услуга, където сървъра не знае подадената информация. Тя се шифрова/дешифрова %sвъв браузъра%s използвайки 256 битов AES алгоритъм.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s е изчистен и изцяло достъпен като отворен код, онлайн \"paste\" услуга, където сървъра не знае подадената информация. Тя се шифрова/дешифрова %sвъв браузъра%s използвайки 256 битов AES алгоритъм.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Повече информация може да намерите на <a href=\"https://privatebin.info/\">страницата на проекта (Английски)</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Повече информация може да намерите на <a href=\"https://privatebin.info/\">страницата на проекта (Английски)</a>.",
|
||||||
"Because ignorance is bliss": "Невежеството е блаженство",
|
"Because ignorance is bliss": "Невежеството е блаженство",
|
||||||
"en": "bg",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Информацията не съществува, срокът и е изтекъл или е била изтрита.",
|
"Paste does not exist, has expired or has been deleted.": "Информацията не съществува, срокът и е изтекъл или е била изтрита.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s има нужда от PHP %s или по-нова, за да работи. Съжалявам.",
|
"%s requires php %s or above to work. Sorry.": "%s има нужда от PHP %s или по-нова, за да работи. Съжалявам.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s задължава отдела от настройките [%s] да съществува във файла със настройките.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s задължава отдела от настройките [%s] да съществува във файла със настройките.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s és un pastebin en línia de codi obert i minimalista on el servidor no té coneixement de les dades enganxades. Les dades estan encriptades/desxifrades %sen el navegador%s utilitzant AES de 256 bits.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s és un pastebin en línia de codi obert i minimalista on el servidor no té coneixement de les dades enganxades. Les dades estan encriptades/desxifrades %sen el navegador%s utilitzant AES de 256 bits.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Més informació a la <a href=\"https://privatebin.info/\">pàgina del projecte</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Més informació a la <a href=\"https://privatebin.info/\">pàgina del projecte</a>.",
|
||||||
"Because ignorance is bliss": "Perquè la ignorància és felicitat",
|
"Because ignorance is bliss": "Perquè la ignorància és felicitat",
|
||||||
"en": "ca",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "El paste no existeix, ha caducat o s'ha eliminat.",
|
"Paste does not exist, has expired or has been deleted.": "El paste no existeix, ha caducat o s'ha eliminat.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requereix php %s o superior per funcionar. Ho sento.",
|
"%s requires php %s or above to work. Sorry.": "%s requereix php %s o superior per funcionar. Ho sento.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requereix que la secció de configuració [%s] sigui present al fitxer de configuració.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requereix que la secció de configuració [%s] sigui present al fitxer de configuració.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s hè un serviziu in linea di tipu « pastebin » (ghjestiunariu d’appiccicu di pezzi di testu è di codice di fonte) minimalistu è à fonte aperta induve u servitore ùn hà micca cunnuscenza di i dati mandati. I dati sò cifrati è dicifrati %sin u navigatore%s cù una cifratura AES di 256 bit.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s hè un serviziu in linea di tipu « pastebin » (ghjestiunariu d’appiccicu di pezzi di testu è di codice di fonte) minimalistu è à fonte aperta induve u servitore ùn hà micca cunnuscenza di i dati mandati. I dati sò cifrati è dicifrati %sin u navigatore%s cù una cifratura AES di 256 bit.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Più d’infurmazione annant’à a <a href=\"https://privatebin.info/\">pagina di u prughjettu</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Più d’infurmazione annant’à a <a href=\"https://privatebin.info/\">pagina di u prughjettu</a>.",
|
||||||
"Because ignorance is bliss": "Perchè l’ignurenza hè una campa",
|
"Because ignorance is bliss": "Perchè l’ignurenza hè una campa",
|
||||||
"en": "co",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "L’appiccicu ùn esiste micca, hè scadutu o hè statu squassatu.",
|
"Paste does not exist, has expired or has been deleted.": "L’appiccicu ùn esiste micca, hè scadutu o hè statu squassatu.",
|
||||||
"%s requires php %s or above to work. Sorry.": "Per disgrazzia, %s richiede php %s o più recente per funziunà.",
|
"%s requires php %s or above to work. Sorry.": "Per disgrazzia, %s richiede php %s o più recente per funziunà.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s richiede a presenza di a sezzione di cunfigurazione [%s] in a schedariu di cunfigurazione.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s richiede a presenza di a sezzione di cunfigurazione [%s] in a schedariu di cunfigurazione.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "U vostru indirizzu IP ùn hè micca auturizatu à creà l’appiccichi.",
|
"Your IP is not authorized to create pastes.": "U vostru indirizzu IP ùn hè micca auturizatu à creà l’appiccichi.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Pruvate d’ammuzzà un indirizzu web chì ùn punta micca versu a vostra instanza.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Pruvate d’ammuzzà un indirizzu web chì ùn punta micca versu a vostra instanza.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Sbagliu à a chjama di YOURLS. Seria forse una cunfigurazione gattiva, tale una \"apiurl\" o \"signature\" falsa o assente.",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Sbagliu à a chjama di YOURLS. Seria forse una cunfigurazione gattiva, tale una \"apiurl\" o \"signature\" falsa o assente.",
|
||||||
"Error parsing YOURLS response.": "Sbagliu durante l’analisa di a risposta di YOURLS."
|
"Error parsing YOURLS response.": "Sbagliu durante l’analisa di a risposta di YOURLS.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Si pò affissà l’appiccichi « Squassà dopu a lettura » solu dopu u so caricamentu. Vulete aprelu subitu ?",
|
||||||
|
"Yes, load it": "Iè, caricatelu"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s je minimalistický open source 'pastebin' server, který neanalyzuje vložená data. Data jsou šifrována %sv prohlížeči%s pomocí 256 bitů AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s je minimalistický open source 'pastebin' server, který neanalyzuje vložená data. Data jsou šifrována %sv prohlížeči%s pomocí 256 bitů AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Více informací na <a href=\"https://privatebin.info/\">stránce projetu</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Více informací na <a href=\"https://privatebin.info/\">stránce projetu</a>.",
|
||||||
"Because ignorance is bliss": "Protože nevědomost je sladká",
|
"Because ignorance is bliss": "Protože nevědomost je sladká",
|
||||||
"en": "cs",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Vložený text neexistuje, expiroval nebo byl odstraněn.",
|
"Paste does not exist, has expired or has been deleted.": "Vložený text neexistuje, expiroval nebo byl odstraněn.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s vyžaduje php %s nebo vyšší. Lituji.",
|
"%s requires php %s or above to work. Sorry.": "%s vyžaduje php %s nebo vyšší. Lituji.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s vyžaduje, aby byla v konfiguračním souboru přítomna sekce [%s].",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s vyžaduje, aby byla v konfiguračním souboru přítomna sekce [%s].",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Vaše IP adresa nemá oprávnění k vytvoření vložení.",
|
"Your IP is not authorized to create pastes.": "Vaše IP adresa nemá oprávnění k vytvoření vložení.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s ist ein minimalistischer, quelloffener \"Pastebin\"-artiger Dienst, bei dem der Server keinerlei Kenntnis der Inhalte hat. Die Daten werden %sim Browser%s mit 256 Bit AES ver- und entschlüsselt.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s ist ein minimalistischer, quelloffener \"Pastebin\"-artiger Dienst, bei dem der Server keinerlei Kenntnis der Inhalte hat. Die Daten werden %sim Browser%s mit 256 Bit AES ver- und entschlüsselt.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Weitere Informationen sind auf der <a href=\"https://privatebin.info/\">Projektseite</a> zu finden.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Weitere Informationen sind auf der <a href=\"https://privatebin.info/\">Projektseite</a> zu finden.",
|
||||||
"Because ignorance is bliss": "Unwissenheit ist ein Segen",
|
"Because ignorance is bliss": "Unwissenheit ist ein Segen",
|
||||||
"en": "de",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Diesen Text gibt es nicht, er ist abgelaufen oder wurde gelöscht.",
|
"Paste does not exist, has expired or has been deleted.": "Diesen Text gibt es nicht, er ist abgelaufen oder wurde gelöscht.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s benötigt PHP %s oder höher, um zu funktionieren. Sorry.",
|
"%s requires php %s or above to work. Sorry.": "%s benötigt PHP %s oder höher, um zu funktionieren. Sorry.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s benötigt den Konfigurationsabschnitt [%s] in der Konfigurationsdatei um zu funktionieren.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s benötigt den Konfigurationsabschnitt [%s] in der Konfigurationsdatei um zu funktionieren.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Deine IP ist nicht berechtigt, Texte zu erstellen.",
|
"Your IP is not authorized to create pastes.": "Deine IP ist nicht berechtigt, Texte zu erstellen.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Versuch eine URL zu verkürzen, die nicht auf unsere Instanz zeigt.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Versuch eine URL zu verkürzen, die nicht auf unsere Instanz zeigt.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Fehler beim Aufruf von YOURLS. Wahrscheinlich ein Konfigurationsproblem, wie eine falsche oder fehlende \"apiurl\" oder \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Fehler beim Aufruf von YOURLS. Wahrscheinlich ein Konfigurationsproblem, wie eine falsche oder fehlende \"apiurl\" oder \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Fehler beim Verarbeiten der YOURLS-Antwort."
|
"Error parsing YOURLS response.": "Fehler beim Verarbeiten der YOURLS-Antwort.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Texte des \"Einmal\"-Typs können nach dem Herunterladen nur einmal angezeigt werden. Möchtest Du ihn jetzt öffnen?",
|
||||||
|
"Yes, load it": "Ja, jetzt öffnen"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s είναι ένα λιτό, ανοικτού λογισμικού διαδικτυακής υπηρεσίας επικόλλησης όπου ο διακομιστής έχει πλήρη άγνια του περιεχομένου που επικολλήθηκαν. Τα Δεδομένα κρυπτογραφούνται και αποκρυπτογραφούνται %sστον φιλομετρητή (browser)%s χρησιμοποιόντας 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s είναι ένα λιτό, ανοικτού λογισμικού διαδικτυακής υπηρεσίας επικόλλησης όπου ο διακομιστής έχει πλήρη άγνια του περιεχομένου που επικολλήθηκαν. Τα Δεδομένα κρυπτογραφούνται και αποκρυπτογραφούνται %sστον φιλομετρητή (browser)%s χρησιμοποιόντας 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Περισσότερες πληροφορίες στον <a href=\"https://privatebin.info/\">ιστότοπο του εργαλείου</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Περισσότερες πληροφορίες στον <a href=\"https://privatebin.info/\">ιστότοπο του εργαλείου</a>.",
|
||||||
"Because ignorance is bliss": "Επειδή η άγνοια είναι ευτυχία",
|
"Because ignorance is bliss": "Επειδή η άγνοια είναι ευτυχία",
|
||||||
"en": "el",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Η επικόλληση δεν υπάρχει, έληξε ή διαγράφηκε",
|
"Paste does not exist, has expired or has been deleted.": "Η επικόλληση δεν υπάρχει, έληξε ή διαγράφηκε",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s απαιτεί php %s ή νεότερη για να λειτουργήσει. Συγγνώμη.",
|
"%s requires php %s or above to work. Sorry.": "%s απαιτεί php %s ή νεότερη για να λειτουργήσει. Συγγνώμη.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s απαιτεί οι ρυθμίσεις [%s] να υπάρχουν στο αρχείο ρυθμίσεων.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s απαιτεί οι ρυθμίσεις [%s] να υπάρχουν στο αρχείο ρυθμίσεων.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Η IP σας δεν επιτρέπεται να δημιουργεί επικολλήσεις.",
|
"Your IP is not authorized to create pastes.": "Η IP σας δεν επιτρέπεται να δημιουργεί επικολλήσεις.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
||||||
"Because ignorance is bliss": "Because ignorance is bliss",
|
"Because ignorance is bliss": "Because ignorance is bliss",
|
||||||
"en": "en",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s es un \"pastebin\" en línea minimalista de código abierto, donde el servidor no tiene ningún conocimiento de los datos guardados. Los datos son cifrados/descifrados %sen el navegador%s usando 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s es un \"pastebin\" en línea minimalista de código abierto, donde el servidor no tiene ningún conocimiento de los datos guardados. Los datos son cifrados/descifrados %sen el navegador%s usando 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Más información en la <a href=\"https://privatebin.info/\">página del proyecto</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Más información en la <a href=\"https://privatebin.info/\">página del proyecto</a>.",
|
||||||
"Because ignorance is bliss": "Porque la ignorancia es felicidad",
|
"Because ignorance is bliss": "Porque la ignorancia es felicidad",
|
||||||
"en": "es",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "El \"paste\" no existe, ha caducado o ha sido eliminado.",
|
"Paste does not exist, has expired or has been deleted.": "El \"paste\" no existe, ha caducado o ha sido eliminado.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requiere php %s o superior para funcionar. Lo siento.",
|
"%s requires php %s or above to work. Sorry.": "%s requiere php %s o superior para funcionar. Lo siento.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requiere que la sección de configuración [%s] esté presente en el archivo de configuración.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requiere que la sección de configuración [%s] esté presente en el archivo de configuración.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Tu IP no está autorizada para crear contenido.",
|
"Your IP is not authorized to create pastes.": "Tu IP no está autorizada para crear contenido.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Intentando acortar una URL que no apunta a nuestra instancia.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Intentando acortar una URL que no apunta a nuestra instancia.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
11
i18n/et.json
11
i18n/et.json
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s on minimalistlik, avatud lähtekoodiga online pastebin, kus serveril pole kleebitud andmete kohta teadmist. Andmed krüpteeritakse/dekrüpteeritakse %sbrauseris%s kasutades 256-bitist AES-i.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s on minimalistlik, avatud lähtekoodiga online pastebin, kus serveril pole kleebitud andmete kohta teadmist. Andmed krüpteeritakse/dekrüpteeritakse %sbrauseris%s kasutades 256-bitist AES-i.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Lisateave <a href=\"https://privatebin.info/\">projekti lehel</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Lisateave <a href=\"https://privatebin.info/\">projekti lehel</a>.",
|
||||||
"Because ignorance is bliss": "Kuna teadmatus on õndsus",
|
"Because ignorance is bliss": "Kuna teadmatus on õndsus",
|
||||||
"en": "et",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Kleebet ei eksisteeri, on aegunud või on kustutatud.",
|
"Paste does not exist, has expired or has been deleted.": "Kleebet ei eksisteeri, on aegunud või on kustutatud.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s vajab, et oleks php %s või kõrgem, et töötada. Vabandame.",
|
"%s requires php %s or above to work. Sorry.": "%s vajab, et oleks php %s või kõrgem, et töötada. Vabandame.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s vajab, et [%s] seadistamise jaotis oleks olemas konfiguratsioonifailis.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s vajab, et [%s] seadistamise jaotis oleks olemas konfiguratsioonifailis.",
|
||||||
@ -212,8 +211,10 @@
|
|||||||
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "Kirja nägemiseks külasta seda linki. Teistele URL-i andmine lubab ka neil ligi pääseda kirjale.",
|
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "Kirja nägemiseks külasta seda linki. Teistele URL-i andmine lubab ka neil ligi pääseda kirjale.",
|
||||||
"URL shortener may expose your decrypt key in URL.": "URL-i lühendaja võib paljastada sinu dekrüpteerimisvõtme URL-is.",
|
"URL shortener may expose your decrypt key in URL.": "URL-i lühendaja võib paljastada sinu dekrüpteerimisvõtme URL-is.",
|
||||||
"Save paste": "Salvesta kleebe",
|
"Save paste": "Salvesta kleebe",
|
||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Su IP-l ei ole lubatud kleepeid luua.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Püüame lühendada URL-i, mis ei viita meie instantsile.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Viga YOURLS-i kutsumisel. Tõenäoliselt konfiguratsiooniprobleem, näiteks vale või puuduv \"apiurl\" või \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Viga YOURLS vastuse parsimisel.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
11
i18n/fi.json
11
i18n/fi.json
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s on minimalistinen, avoimen lähdekoodin online pastebin jossa palvelimella ei ole tietoa syötetystä datasta. Data salataan/puretaan %sselaimessa%s käyttäen 256-bittistä AES:ää.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s on minimalistinen, avoimen lähdekoodin online pastebin jossa palvelimella ei ole tietoa syötetystä datasta. Data salataan/puretaan %sselaimessa%s käyttäen 256-bittistä AES:ää.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Lisää tietoa <a href=\"https://privatebin.info/\">projektisivulla</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Lisää tietoa <a href=\"https://privatebin.info/\">projektisivulla</a>.",
|
||||||
"Because ignorance is bliss": "Koska tieto lisää tuskaa",
|
"Because ignorance is bliss": "Koska tieto lisää tuskaa",
|
||||||
"en": "fi",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Pastea ei ole olemassa, se on vanhentunut tai se on poistettu.",
|
"Paste does not exist, has expired or has been deleted.": "Pastea ei ole olemassa, se on vanhentunut tai se on poistettu.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s vaatii php:n %s-version tai uudemman toimiakseen. Anteeksi.",
|
"%s requires php %s or above to work. Sorry.": "%s vaatii php:n %s-version tai uudemman toimiakseen. Anteeksi.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s vaatii konfiguraatio-osion [%s] olevan läsnä konfiguraatiotiedostossa.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s vaatii konfiguraatio-osion [%s] olevan läsnä konfiguraatiotiedostossa.",
|
||||||
@ -209,11 +208,13 @@
|
|||||||
"Convert To UTC": "Muuta UTC:ksi",
|
"Convert To UTC": "Muuta UTC:ksi",
|
||||||
"Close": "Sulje",
|
"Close": "Sulje",
|
||||||
"Encrypted note on %s": "Salattu viesti %sissä",
|
"Encrypted note on %s": "Salattu viesti %sissä",
|
||||||
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "Käy tässä linkissä nähdäksesi viestin. URL:n antaminen kenellekään antaa heidänkin päästä katsomeen viestiä. ",
|
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "Vieraile tässä linkissä nähdäksesi viestin. URL:n antaminen kenellekään antaa heidänkin päästä katsomaan viestiä.",
|
||||||
"URL shortener may expose your decrypt key in URL.": "URL-lyhentäjä voi paljastaa purkuavaimesi URL:ssä.",
|
"URL shortener may expose your decrypt key in URL.": "URL-lyhentäjä voi paljastaa purkuavaimesi URL:ssä.",
|
||||||
"Save paste": "Tallenna paste",
|
"Save paste": "Tallenna paste",
|
||||||
"Your IP is not authorized to create pastes.": "IP:llesi ei ole annettu oikeutta luoda pasteja.",
|
"Your IP is not authorized to create pastes.": "IP:llesi ei ole annettu oikeutta luoda pasteja.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Yritetään lyhentää URL-osoite, joka ei osoita meidän instanssiiin.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Virhe kutsuttaessa YOURLS. Luultavasti asetusongelma kuten väärä tai puuttuuva \"apiurl\" tai \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Virhe jäsennettäessä YOURLS-vastausta.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s est un 'pastebin' (ou gestionnaire d'extraits de texte et de code source) minimaliste et open source, dans lequel le serveur n'a aucune connaissance des données envoyées. Les données sont chiffrées/déchiffrées %sdans le navigateur%s par un chiffrement AES 256 bits.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s est un 'pastebin' (ou gestionnaire d'extraits de texte et de code source) minimaliste et open source, dans lequel le serveur n'a aucune connaissance des données envoyées. Les données sont chiffrées/déchiffrées %sdans le navigateur%s par un chiffrement AES 256 bits.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Plus d'informations sur <a href=\"https://privatebin.info/\">la page du projet</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Plus d'informations sur <a href=\"https://privatebin.info/\">la page du projet</a>.",
|
||||||
"Because ignorance is bliss": "Vivons heureux, vivons cachés",
|
"Because ignorance is bliss": "Vivons heureux, vivons cachés",
|
||||||
"en": "fr",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Le paste n'existe pas, a expiré, ou a été supprimé.",
|
"Paste does not exist, has expired or has been deleted.": "Le paste n'existe pas, a expiré, ou a été supprimé.",
|
||||||
"%s requires php %s or above to work. Sorry.": "Désolé, %s nécessite php %s ou supérieur pour fonctionner.",
|
"%s requires php %s or above to work. Sorry.": "Désolé, %s nécessite php %s ou supérieur pour fonctionner.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s a besoin de la section de configuration [%s] dans le fichier de configuration pour fonctionner.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s a besoin de la section de configuration [%s] dans le fichier de configuration pour fonctionner.",
|
||||||
@ -213,7 +212,9 @@
|
|||||||
"URL shortener may expose your decrypt key in URL.": "Raccourcir l'URL peut exposer votre clé de déchiffrement dans l'URL.",
|
"URL shortener may expose your decrypt key in URL.": "Raccourcir l'URL peut exposer votre clé de déchiffrement dans l'URL.",
|
||||||
"Save paste": "Sauver le paste",
|
"Save paste": "Sauver le paste",
|
||||||
"Your IP is not authorized to create pastes.": "Votre adresse IP n'est pas autorisée à créer des pastes.",
|
"Your IP is not authorized to create pastes.": "Votre adresse IP n'est pas autorisée à créer des pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Essayer de raccourcir une URL qui ne pointe pas vers notre instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Erreur lors de l'appel de YOURLS. Peut-être un problème de configuration, comme \"apiurl\" ou \"signature\" manquant.",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Erreur d'analyse de la réponse YOURLS.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Effacer après la lecture des paste ne peut être affiché qu'une seule fois lors du chargement. Voulez-vous l'ouvrir maintenant ?",
|
||||||
|
"Yes, load it": "Oui, chargez-le"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
||||||
"Because ignorance is bliss": "כיוון שבורות היא ברכה",
|
"Because ignorance is bliss": "כיוון שבורות היא ברכה",
|
||||||
"en": "he",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "ההדבקה לא קיימת, פגה או נמחקה.",
|
"Paste does not exist, has expired or has been deleted.": "ההדבקה לא קיימת, פגה או נמחקה.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s דורש PHP %s כדי לפעול.",
|
"%s requires php %s or above to work. Sorry.": "%s דורש PHP %s כדי לפעול.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s דורש שסעיף ההגדרות [%s] יהיה קיים בקובץ ההגדרות.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s דורש שסעיף ההגדרות [%s] יהיה קיים בקובץ ההגדרות.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
||||||
"Because ignorance is bliss": "Because ignorance is bliss",
|
"Because ignorance is bliss": "Because ignorance is bliss",
|
||||||
"en": "hi",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "A %s egy minimalista, nyílt forráskódú adattároló szoftver, ahol a szerver semmilyen információt nem tárol a feltett adatról. Azt ugyanis a %sböngésződ%s segítségével titkosítja és oldja fel 256 bit hosszú titkosítási kulcsú AES-t használva.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "A %s egy minimalista, nyílt forráskódú adattároló szoftver, ahol a szerver semmilyen információt nem tárol a feltett adatról. Azt ugyanis a %sböngésződ%s segítségével titkosítja és oldja fel 256 bit hosszú titkosítási kulcsú AES-t használva.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "További információt a <a href=\"https://privatebin.info/\">projekt oldalán</a> találsz.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "További információt a <a href=\"https://privatebin.info/\">projekt oldalán</a> találsz.",
|
||||||
"Because ignorance is bliss": "A titok egyfajta hatalom.",
|
"Because ignorance is bliss": "A titok egyfajta hatalom.",
|
||||||
"en": "hu",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "A bejegyzés nem létezik, lejárt vagy törölve lett.",
|
"Paste does not exist, has expired or has been deleted.": "A bejegyzés nem létezik, lejárt vagy törölve lett.",
|
||||||
"%s requires php %s or above to work. Sorry.": "Bocs, de a %s működéséhez %s vagy ezt meghaladó verziójú php-s környezet szükséges.",
|
"%s requires php %s or above to work. Sorry.": "Bocs, de a %s működéséhez %s vagy ezt meghaladó verziójú php-s környezet szükséges.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "A %s megfelelő működéséhez a konfigurációs fájlban a [%s] résznek léteznie kell.",
|
"%s requires configuration section [%s] to be present in configuration file.": "A %s megfelelő működéséhez a konfigurációs fájlban a [%s] résznek léteznie kell.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s adalah sebuah pastebin online sumber terbuka dan minimalis, dimana servernya tersebut tidak punya pengetahuan tentang data yang ditempelkan. Data tersebut di enkrip/dekrip %sdi dalam browser%s menggunakan metode enkrip AES 256 bit.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s adalah sebuah pastebin online sumber terbuka dan minimalis, dimana servernya tersebut tidak punya pengetahuan tentang data yang ditempelkan. Data tersebut di enkrip/dekrip %sdi dalam browser%s menggunakan metode enkrip AES 256 bit.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Infomasi lebih lanjut pada <a href=\"https://privatebin.info/\">halaman proyek</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Infomasi lebih lanjut pada <a href=\"https://privatebin.info/\">halaman proyek</a>.",
|
||||||
"Because ignorance is bliss": "Karena ketidaktahuan adalah kebahagiaan, gitu loh",
|
"Because ignorance is bliss": "Karena ketidaktahuan adalah kebahagiaan, gitu loh",
|
||||||
"en": "id",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste tidak ada, telah kedaluwarsa atau telah dihapus.",
|
"Paste does not exist, has expired or has been deleted.": "Paste tidak ada, telah kedaluwarsa atau telah dihapus.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s memerlukan php %s atau versi diatasnya untuk dapat dijalankan. Maaf.",
|
"%s requires php %s or above to work. Sorry.": "%s memerlukan php %s atau versi diatasnya untuk dapat dijalankan. Maaf.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s membutuhkan bagian konfigurasi [%s] untuk ada di file konfigurasi.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s membutuhkan bagian konfigurasi [%s] untuk ada di file konfigurasi.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s è un sistema di tipo \"Pastebin\" online, open source, minimalista. Il server non possiede alcuna conoscenza (\"Zero Knowledge\") del contenuto dei dati inviati. I dati sono cifrati/decifrati %snel Browser%s con algoritmo AES a 256 Bit.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s è un sistema di tipo \"Pastebin\" online, open source, minimalista. Il server non possiede alcuna conoscenza (\"Zero Knowledge\") del contenuto dei dati inviati. I dati sono cifrati/decifrati %snel Browser%s con algoritmo AES a 256 Bit.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Per ulteriori informazioni, vedi <a href=\"https://privatebin.info/\">Sito del progetto</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Per ulteriori informazioni, vedi <a href=\"https://privatebin.info/\">Sito del progetto</a>.",
|
||||||
"Because ignorance is bliss": "Perché l'ignoranza è una benedizione (Because ignorance is bliss)",
|
"Because ignorance is bliss": "Perché l'ignoranza è una benedizione (Because ignorance is bliss)",
|
||||||
"en": "it",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Questo messaggio non esiste, è scaduto o è stato cancellato.",
|
"Paste does not exist, has expired or has been deleted.": "Questo messaggio non esiste, è scaduto o è stato cancellato.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s richiede php %s o superiore per funzionare. Ci spiace.",
|
"%s requires php %s or above to work. Sorry.": "%s richiede php %s o superiore per funzionare. Ci spiace.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s richiede la presenza della sezione [%s] nei file di configurazione.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s richiede la presenza della sezione [%s] nei file di configurazione.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Il tuo IP non è autorizzato a creare dei messaggi.",
|
"Your IP is not authorized to create pastes.": "Il tuo IP non è autorizzato a creare dei messaggi.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Tantativo in corso di accorciare un URL che non punta alla nostra istanza.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Tantativo in corso di accorciare un URL che non punta alla nostra istanza.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Errore nella chiamata a YOURLS. Probabilmente un problema di configurazione, come un \"apiurl\" o una \"signature\" sbagliati o mancanti.",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Errore nella chiamata a YOURLS. Probabilmente un problema di configurazione, come un \"apiurl\" o una \"signature\" sbagliati o mancanti.",
|
||||||
"Error parsing YOURLS response.": "Errore nell'analizzare la risposta YOURLS."
|
"Error parsing YOURLS response.": "Errore nell'analizzare la risposta YOURLS.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Messaggi di tipo Distruggi-dopo-lettura piovono essere visualizzata solo una volta al caricamento. Vuoi aprirle ora?",
|
||||||
|
"Yes, load it": "Sì, caricalo"
|
||||||
}
|
}
|
||||||
|
347
i18n/ja.json
347
i18n/ja.json
@ -1,63 +1,62 @@
|
|||||||
{
|
{
|
||||||
"PrivateBin": "PrivateBin",
|
"PrivateBin": "PrivateBin",
|
||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s はミニマリストで、オープンソースのオンラインデータ貼り付けサービスです。サーバーに、貼り付けられたデータの中身を読み取ることはできません。データは、256ビットのAESを用いて%sブラウザー上で%s暗号化、または復号化されます。",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "詳細については<a href=\"https://privatebin.info/\">プロジェクトのページ</a>をご覧ください。",
|
||||||
"Because ignorance is bliss": "Because ignorance is bliss",
|
"Because ignorance is bliss": "知らぬが仏",
|
||||||
"en": "ja",
|
"Paste does not exist, has expired or has been deleted.": "ペーストが存在しないか、期限切れ、または削除されました。",
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"%s requires php %s or above to work. Sorry.": "%s の動作には php %s 以上が必要です。申し訳ありません。",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%sには設定ファイルに[%s]の設定セクションが必要です。",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
|
||||||
"Please wait %d seconds between each post.": [
|
"Please wait %d seconds between each post.": [
|
||||||
"Please wait %d second between each post. (singular)",
|
"投稿ごとに%d秒間お待ちください。",
|
||||||
"Please wait %d seconds between each post. (1st plural)",
|
"投稿ごとに%d秒間お待ちください。",
|
||||||
"Please wait %d seconds between each post. (2nd plural)",
|
"投稿ごとに%d秒間お待ちください。",
|
||||||
"Please wait %d seconds between each post. (3rd plural)",
|
"投稿ごとに%d秒間お待ちください。",
|
||||||
"Please wait %d seconds between each post. (4th plural)",
|
"投稿ごとに%d秒間お待ちください。",
|
||||||
"Please wait %d seconds between each post. (5th plural)"
|
"投稿ごとに%d秒間お待ちください。"
|
||||||
],
|
],
|
||||||
"Paste is limited to %s of encrypted data.": "Paste is limited to %s of encrypted data.",
|
"Paste is limited to %s of encrypted data.": "ペーストは暗号化されたデータの%sに制限されています。",
|
||||||
"Invalid data.": "Invalid data.",
|
"Invalid data.": "無効なデータです。",
|
||||||
"You are unlucky. Try again.": "You are unlucky. Try again.",
|
"You are unlucky. Try again.": "何か問題が発生しました。もう一度やり直してください。",
|
||||||
"Error saving comment. Sorry.": "Error saving comment. Sorry.",
|
"Error saving comment. Sorry.": "コメントの保存中にエラーが発生しました。申し訳ありません。",
|
||||||
"Error saving paste. Sorry.": "Error saving paste. Sorry.",
|
"Error saving paste. Sorry.": "ペーストの保存中にエラーが発生しました。申し訳ありません。",
|
||||||
"Invalid paste ID.": "Invalid paste ID.",
|
"Invalid paste ID.": "無効なペーストIDです。",
|
||||||
"Paste is not of burn-after-reading type.": "Paste is not of burn-after-reading type.",
|
"Paste is not of burn-after-reading type.": "ペーストは、読み込んだ後に消去される種類のものではありません。",
|
||||||
"Wrong deletion token. Paste was not deleted.": "Wrong deletion token. Paste was not deleted.",
|
"Wrong deletion token. Paste was not deleted.": "不正な削除トークンです。ペーストは削除されませんでした。",
|
||||||
"Paste was properly deleted.": "Paste was properly deleted.",
|
"Paste was properly deleted.": "ペーストが正しく削除されました。",
|
||||||
"JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript is required for %s to work. Sorry for the inconvenience.",
|
"JavaScript is required for %s to work. Sorry for the inconvenience.": "%s の動作にはJavaScriptが必要です。ご迷惑をおかけして申し訳ありません。",
|
||||||
"%s requires a modern browser to work.": "%s requires a modern browser to work.",
|
"%s requires a modern browser to work.": "%s の動作には最近のブラウザが必要です。",
|
||||||
"New": "新しい",
|
"New": "新規",
|
||||||
"Send": "送る",
|
"Send": "送信",
|
||||||
"Clone": "Clone",
|
"Clone": "複製",
|
||||||
"Raw text": "Raw text",
|
"Raw text": "未加工テキスト",
|
||||||
"Expires": "Expires",
|
"Expires": "有効期限",
|
||||||
"Burn after reading": "Burn after reading",
|
"Burn after reading": "読み込んだ後に消去",
|
||||||
"Open discussion": "Open discussion",
|
"Open discussion": "ディスカッションを開く",
|
||||||
"Password (recommended)": "Password (recommended)",
|
"Password (recommended)": "パスワード(推奨)",
|
||||||
"Discussion": "Discussion",
|
"Discussion": "ディスカッション",
|
||||||
"Toggle navigation": "Toggle navigation",
|
"Toggle navigation": "ナビゲーションを切り替え",
|
||||||
"%d seconds": [
|
"%d seconds": [
|
||||||
"%d second (singular)",
|
"%d秒",
|
||||||
"%d seconds (1st plural)",
|
"%d秒",
|
||||||
"%d seconds (2nd plural)",
|
"%d秒",
|
||||||
"%d seconds (3rd plural)",
|
"%d秒",
|
||||||
"%d seconds (4th plural)",
|
"%d秒",
|
||||||
"%d seconds (5th plural)"
|
"%d秒"
|
||||||
],
|
],
|
||||||
"%d minutes": [
|
"%d minutes": [
|
||||||
"%d 分",
|
"%d分",
|
||||||
"%d 分",
|
"%d分",
|
||||||
"%d 分",
|
"%d分",
|
||||||
"%d 分",
|
"%d分",
|
||||||
"%d 分",
|
"%d分",
|
||||||
"%d 分"
|
"%d分"
|
||||||
],
|
],
|
||||||
"%d hours": [
|
"%d hours": [
|
||||||
"%d 時間",
|
"%d時間",
|
||||||
"%d 時間",
|
"%d時間",
|
||||||
"%d 時間",
|
"%d時間",
|
||||||
"%d 時間",
|
"%d時間",
|
||||||
"%d 時間",
|
"%d時間",
|
||||||
"%d 時間"
|
"%d 時間"
|
||||||
],
|
],
|
||||||
"%d days": [
|
"%d days": [
|
||||||
@ -69,93 +68,93 @@
|
|||||||
"%d 日"
|
"%d 日"
|
||||||
],
|
],
|
||||||
"%d weeks": [
|
"%d weeks": [
|
||||||
"%d week (singular)",
|
"%d週間",
|
||||||
"%d weeks (1st plural)",
|
"%d週間",
|
||||||
"%d weeks (2nd plural)",
|
"%d週間",
|
||||||
"%d weeks (3rd plural)",
|
"%d週間",
|
||||||
"%d weeks (4th plural)",
|
"%d週間",
|
||||||
"%d weeks (5th plural)"
|
"%d週間"
|
||||||
],
|
],
|
||||||
"%d months": [
|
"%d months": [
|
||||||
"%d month (singular)",
|
"%dか月",
|
||||||
"%d months (1st plural)",
|
"%dか月",
|
||||||
"%d months (2nd plural)",
|
"%dか月",
|
||||||
"%d months (3rd plural)",
|
"%dか月",
|
||||||
"%d months (4th plural)",
|
"%dか月",
|
||||||
"%d months (5th plural)"
|
"%dか月"
|
||||||
],
|
],
|
||||||
"%d years": [
|
"%d years": [
|
||||||
"%d year (singular)",
|
"%d年",
|
||||||
"%d years (1st plural)",
|
"%d年",
|
||||||
"%d years (2nd plural)",
|
"%d年",
|
||||||
"%d years (3rd plural)",
|
"%d年",
|
||||||
"%d years (4th plural)",
|
"%d年",
|
||||||
"%d years (5th plural)"
|
"%d年"
|
||||||
],
|
],
|
||||||
"Never": "Never",
|
"Never": "無期限",
|
||||||
"Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.": "Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.",
|
"Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.": "注意:これはテストサービスです。データはいつでも削除される可能性があります。このサービスを悪用するとKittensの動作は停止します。",
|
||||||
"This document will expire in %d seconds.": [
|
"This document will expire in %d seconds.": [
|
||||||
"This document will expire in %d second. (singular)",
|
"このドキュメントは%d秒後に失効します。",
|
||||||
"This document will expire in %d seconds. (1st plural)",
|
"このドキュメントは%d秒後に失効します。",
|
||||||
"This document will expire in %d seconds. (2nd plural)",
|
"このドキュメントは%d秒後に失効します。",
|
||||||
"This document will expire in %d seconds. (3rd plural)",
|
"このドキュメントは%d秒後に失効します。",
|
||||||
"This document will expire in %d seconds. (4th plural)",
|
"このドキュメントは%d秒後に失効します。",
|
||||||
"This document will expire in %d seconds. (5th plural)"
|
"このドキュメントは%d秒後に失効します。"
|
||||||
],
|
],
|
||||||
"This document will expire in %d minutes.": [
|
"This document will expire in %d minutes.": [
|
||||||
"This document will expire in %d minute. (singular)",
|
"このドキュメントは%d分後に失効します。",
|
||||||
"This document will expire in %d minutes. (1st plural)",
|
"このドキュメントは%d分後に失効します。",
|
||||||
"This document will expire in %d minutes. (2nd plural)",
|
"このドキュメントは%d分後に失効します。",
|
||||||
"This document will expire in %d minutes. (3rd plural)",
|
"このドキュメントは%d分後に失効します。",
|
||||||
"This document will expire in %d minutes. (4th plural)",
|
"このドキュメントは%d分後に失効します。",
|
||||||
"This document will expire in %d minutes. (5th plural)"
|
"このドキュメントは%d分後に失効します。"
|
||||||
],
|
],
|
||||||
"This document will expire in %d hours.": [
|
"This document will expire in %d hours.": [
|
||||||
"This document will expire in %d hour. (singular)",
|
"このドキュメントは%d時間後に失効します。",
|
||||||
"This document will expire in %d hours. (1st plural)",
|
"このドキュメントは%d時間後に失効します。",
|
||||||
"This document will expire in %d hours. (2nd plural)",
|
"このドキュメントは%d時間後に失効します。",
|
||||||
"This document will expire in %d hours. (3rd plural)",
|
"このドキュメントは%d時間後に失効します。",
|
||||||
"This document will expire in %d hours. (4th plural)",
|
"このドキュメントは%d時間後に失効します。",
|
||||||
"This document will expire in %d hours. (5th plural)"
|
"このドキュメントは%d時間後に失効します。"
|
||||||
],
|
],
|
||||||
"This document will expire in %d days.": [
|
"This document will expire in %d days.": [
|
||||||
"This document will expire in %d day. (singular)",
|
"このドキュメントは%d日後に失効します。",
|
||||||
"This document will expire in %d days. (1st plural)",
|
"このドキュメントは%d日後に失効します。",
|
||||||
"This document will expire in %d days. (2nd plural)",
|
"このドキュメントは%d日後に失効します。",
|
||||||
"This document will expire in %d days. (3rd plural)",
|
"このドキュメントは%d日後に失効します。",
|
||||||
"This document will expire in %d days. (4th plural)",
|
"このドキュメントは%d日後に失効します。",
|
||||||
"This document will expire in %d days. (5th plural)"
|
"このドキュメントは%d日後に失効します。"
|
||||||
],
|
],
|
||||||
"This document will expire in %d months.": [
|
"This document will expire in %d months.": [
|
||||||
"This document will expire in %d month. (singular)",
|
"このドキュメントは%dか月後に失効します。",
|
||||||
"This document will expire in %d months. (1st plural)",
|
"このドキュメントは%dか月後に失効します。",
|
||||||
"This document will expire in %d months. (2nd plural)",
|
"このドキュメントは%dか月後に失効します。",
|
||||||
"This document will expire in %d months. (3rd plural)",
|
"このドキュメントは%dか月後に失効します。",
|
||||||
"This document will expire in %d months. (4th plural)",
|
"このドキュメントは%dか月後に失効します。",
|
||||||
"This document will expire in %d months. (5th plural)"
|
"このドキュメントは%dか月後に失効します。"
|
||||||
],
|
],
|
||||||
"Please enter the password for this paste:": "Please enter the password for this paste:",
|
"Please enter the password for this paste:": "このペーストのパスワードを入力してください。",
|
||||||
"Could not decrypt data (Wrong key?)": "Could not decrypt data (Wrong key?)",
|
"Could not decrypt data (Wrong key?)": "データを復号することができませんでした(間違った鍵ですか?)",
|
||||||
"Could not delete the paste, it was not stored in burn after reading mode.": "Could not delete the paste, it was not stored in burn after reading mode.",
|
"Could not delete the paste, it was not stored in burn after reading mode.": "ペーストを削除できませんでした。このペーストは、読み込んだ後に消去するモードでは保存されませんでした。",
|
||||||
"FOR YOUR EYES ONLY. Don't close this window, this message can't be displayed again.": "FOR YOUR EYES ONLY. Don't close this window, this message can't be displayed again.",
|
"FOR YOUR EYES ONLY. Don't close this window, this message can't be displayed again.": "このウィンドウを閉じないでください。このメッセージはもう表示できません。",
|
||||||
"Could not decrypt comment; Wrong key?": "Could not decrypt comment; Wrong key?",
|
"Could not decrypt comment; Wrong key?": "コメントを復号することができませんでした。間違った鍵ですか?",
|
||||||
"Reply": "Reply",
|
"Reply": "返信",
|
||||||
"Anonymous": "Anonymous",
|
"Anonymous": "匿名",
|
||||||
"Avatar generated from IP address": "Avatar generated from IP address",
|
"Avatar generated from IP address": "IPアドレスから生成したアバター",
|
||||||
"Add comment": "Add comment",
|
"Add comment": "コメントを追加",
|
||||||
"Optional nickname…": "Optional nickname…",
|
"Optional nickname…": "任意のニックネーム…",
|
||||||
"Post comment": "Post comment",
|
"Post comment": "コメントを投稿",
|
||||||
"Sending comment…": "Sending comment…",
|
"Sending comment…": "コメントを送信しています…",
|
||||||
"Comment posted.": "Comment posted.",
|
"Comment posted.": "コメントを投稿しました。",
|
||||||
"Could not refresh display: %s": "Could not refresh display: %s",
|
"Could not refresh display: %s": "表示を更新できませんでした:%s",
|
||||||
"unknown status": "unknown status",
|
"unknown status": "不明な状態",
|
||||||
"server error or not responding": "server error or not responding",
|
"server error or not responding": "サーバーエラーまたは応答しません",
|
||||||
"Could not post comment: %s": "Could not post comment: %s",
|
"Could not post comment: %s": "コメントを投稿できませんでした:%s",
|
||||||
"Sending paste…": "Sending paste…",
|
"Sending paste…": "ペーストを送信しています…",
|
||||||
"Your paste is <a id=\"pasteurl\" href=\"%s\">%s</a> <span id=\"copyhint\">(Hit [Ctrl]+[c] to copy)</span>": "Your paste is <a id=\"pasteurl\" href=\"%s\">%s</a> <span id=\"copyhint\">(Hit [Ctrl]+[c] to copy)</span>",
|
"Your paste is <a id=\"pasteurl\" href=\"%s\">%s</a> <span id=\"copyhint\">(Hit [Ctrl]+[c] to copy)</span>": "ペーストは<a id=\"pasteurl\" href=\"%s\">%s</a>です<span id=\"copyhint\">(コピーするには[Ctrl]+[c]を押してください)</span>",
|
||||||
"Delete data": "Delete data",
|
"Delete data": "データを削除",
|
||||||
"Could not create paste: %s": "Could not create paste: %s",
|
"Could not create paste: %s": "ペーストを作成できませんでした:%s",
|
||||||
"Cannot decrypt paste: Decryption key missing in URL (Did you use a redirector or an URL shortener which strips part of the URL?)": "Cannot decrypt paste: Decryption key missing in URL (Did you use a redirector or an URL shortener which strips part of the URL?)",
|
"Cannot decrypt paste: Decryption key missing in URL (Did you use a redirector or an URL shortener which strips part of the URL?)": "ペーストを復号化できません:復号化キーがURLにありません(URLの一部を削除するリダイレクト機能またはURLの短縮アプリケーションを使いましたか?)",
|
||||||
"B": "B",
|
"B": "B",
|
||||||
"KiB": "KiB",
|
"KiB": "KiB",
|
||||||
"MiB": "MiB",
|
"MiB": "MiB",
|
||||||
@ -165,55 +164,57 @@
|
|||||||
"EiB": "EiB",
|
"EiB": "EiB",
|
||||||
"ZiB": "ZiB",
|
"ZiB": "ZiB",
|
||||||
"YiB": "YiB",
|
"YiB": "YiB",
|
||||||
"Format": "Format",
|
"Format": "形式",
|
||||||
"Plain Text": "Plain Text",
|
"Plain Text": "プレーンテキスト",
|
||||||
"Source Code": "Source Code",
|
"Source Code": "ソースコード",
|
||||||
"Markdown": "Markdown",
|
"Markdown": "Markdown",
|
||||||
"Download attachment": "Download attachment",
|
"Download attachment": "添付ファイルをダウンロード",
|
||||||
"Cloned: '%s'": "Cloned: '%s'",
|
"Cloned: '%s'": "複製済:'%s'",
|
||||||
"The cloned file '%s' was attached to this paste.": "The cloned file '%s' was attached to this paste.",
|
"The cloned file '%s' was attached to this paste.": "複製されたファイル '%s' がこのペーストに添付されました。",
|
||||||
"Attach a file": "Attach a file",
|
"Attach a file": "ファイルを添付",
|
||||||
"alternatively drag & drop a file or paste an image from the clipboard": "alternatively drag & drop a file or paste an image from the clipboard",
|
"alternatively drag & drop a file or paste an image from the clipboard": "代わりに、ファイルをドラッグ&ドロップまたはクリップボードから画像を貼り付け",
|
||||||
"File too large, to display a preview. Please download the attachment.": "File too large, to display a preview. Please download the attachment.",
|
"File too large, to display a preview. Please download the attachment.": "ファイルが大きすぎるため、プレビューを表示できません。ダウンロードしてください。",
|
||||||
"Remove attachment": "Remove attachment",
|
"Remove attachment": "添付ファイルを削除",
|
||||||
"Your browser does not support uploading encrypted files. Please use a newer browser.": "Your browser does not support uploading encrypted files. Please use a newer browser.",
|
"Your browser does not support uploading encrypted files. Please use a newer browser.": "お使いのブラウザーは暗号化されたファイルのアップロードをサポートしていません。新しいブラウザーを使用してください。",
|
||||||
"Invalid attachment.": "Invalid attachment.",
|
"Invalid attachment.": "不正な添付ファイルです。",
|
||||||
"Options": "Options",
|
"Options": "設定",
|
||||||
"Shorten URL": "Shorten URL",
|
"Shorten URL": "URLを短縮",
|
||||||
"Editor": "Editor",
|
"Editor": "エディター",
|
||||||
"Preview": "Preview",
|
"Preview": "プレビュー",
|
||||||
"%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": "%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.",
|
"%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": "%s は「%s」で終わるPATHが必要です。index.phpのPATHを更新してください。",
|
||||||
"Decrypt": "Decrypt",
|
"Decrypt": "復号化",
|
||||||
"Enter password": "Enter password",
|
"Enter password": "パスワードを入力",
|
||||||
"Loading…": "Loading…",
|
"Loading…": "読み込んでいます…",
|
||||||
"Decrypting paste…": "Decrypting paste…",
|
"Decrypting paste…": "ペーストを復号化しています…",
|
||||||
"Preparing new paste…": "Preparing new paste…",
|
"Preparing new paste…": "新しいペーストを準備しています…",
|
||||||
"In case this message never disappears please have a look at <a href=\"%s\">this FAQ for information to troubleshoot</a>.": "In case this message never disappears please have a look at <a href=\"%s\">this FAQ for information to troubleshoot</a>.",
|
"In case this message never disappears please have a look at <a href=\"%s\">this FAQ for information to troubleshoot</a>.": "このメッセージが消去されない場合、<a href=\"%s\">トラブルシュート用のFAQ</a>をご確認ください。",
|
||||||
"+++ no paste text +++": "+++ no paste text +++",
|
"+++ no paste text +++": "+++ ペーストのテキストはありません +++",
|
||||||
"Could not get paste data: %s": "Could not get paste data: %s",
|
"Could not get paste data: %s": "ペーストのデータを取得できませんでした:%s",
|
||||||
"QR code": "QR code",
|
"QR code": "QRコード",
|
||||||
"This website is using an insecure HTTP connection! Please use it only for testing.": "This website is using an insecure HTTP connection! Please use it only for testing.",
|
"This website is using an insecure HTTP connection! Please use it only for testing.": "このウェブサイトは安全でない HTTP 接続を使用しています!テストにのみ使用してください。",
|
||||||
"For more information <a href=\"%s\">see this FAQ entry</a>.": "For more information <a href=\"%s\">see this FAQ entry</a>.",
|
"For more information <a href=\"%s\">see this FAQ entry</a>.": "詳細については、<a href=\"%s\">こちらのFAQエントリー</a>をご覧ください。",
|
||||||
"Your browser may require an HTTPS connection to support the WebCrypto API. Try <a href=\"%s\">switching to HTTPS</a>.": "Your browser may require an HTTPS connection to support the WebCrypto API. Try <a href=\"%s\">switching to HTTPS</a>.",
|
"Your browser may require an HTTPS connection to support the WebCrypto API. Try <a href=\"%s\">switching to HTTPS</a>.": "お使いのブラウザーはWebCrypto APIのサポートにHTTPS接続を必要とするかもしれません。<a href=\"%s\">HTTPS接続に切り替えてみてください</a>。",
|
||||||
"Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.": "Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.",
|
"Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.": "お使いのブラウザーはzlib圧縮に必要なWebAssemblyをサポートしていません。圧縮されていないドキュメントを作成することはできますが、圧縮されたドキュメントを読み込むことはできません。",
|
||||||
"waiting on user to provide a password": "waiting on user to provide a password",
|
"waiting on user to provide a password": "ユーザーがパスワードを入力するのを待機しています",
|
||||||
"Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.": "Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.",
|
"Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.": "データを復号できませんでした。パスワードが間違っていましたか? 上部のボタンで再試行してください。",
|
||||||
"Retry": "Retry",
|
"Retry": "再試行",
|
||||||
"Showing raw text…": "Showing raw text…",
|
"Showing raw text…": "未加工テキストを表示しています…",
|
||||||
"Notice:": "Notice:",
|
"Notice:": "注意:",
|
||||||
"This link will expire after %s.": "This link will expire after %s.",
|
"This link will expire after %s.": "このリンクは%s後に期限切れになります。",
|
||||||
"This link can only be accessed once, do not use back or refresh button in your browser.": "This link can only be accessed once, do not use back or refresh button in your browser.",
|
"This link can only be accessed once, do not use back or refresh button in your browser.": "このリンクは一度だけアクセスできます。ブラウザで戻ったり更新したりしないでください。",
|
||||||
"Link:": "Link:",
|
"Link:": "リンク:",
|
||||||
"Recipient may become aware of your timezone, convert time to UTC?": "Recipient may become aware of your timezone, convert time to UTC?",
|
"Recipient may become aware of your timezone, convert time to UTC?": "受信する人はあなたのタイムゾーンに気づくかもしれません。時間をUTCに変換しますか?",
|
||||||
"Use Current Timezone": "Use Current Timezone",
|
"Use Current Timezone": "現在のタイムゾーンを使用",
|
||||||
"Convert To UTC": "Convert To UTC",
|
"Convert To UTC": "UTCに変換",
|
||||||
"Close": "Close",
|
"Close": "閉じる",
|
||||||
"Encrypted note on %s": "Encrypted note on %s",
|
"Encrypted note on %s": "%sの暗号化されたメモ",
|
||||||
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.",
|
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "メモを見るには、このリンクを参照してください。誰でもURLからこのメモにアクセスできます。",
|
||||||
"URL shortener may expose your decrypt key in URL.": "URL shortener may expose your decrypt key in URL.",
|
"URL shortener may expose your decrypt key in URL.": "URLの短縮アプリケーションを使うと、復号用のキーが漏洩するおそれがあります。",
|
||||||
"Save paste": "Save paste",
|
"Save paste": "ペーストを保存",
|
||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "あなたのIPアドレスにはペーストを作成する権限がありません。",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "このインスタンスを指していないURLを短縮しようとしています。",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "YOURLSの呼び出し中にエラーが発生しました。\"apiurl\"または\"signature\"等の設定に問題がある可能性があります。",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "YOURLSレスポンスの解析中にエラーが発生しました。",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": ".i la %s mupli lo sorcu lo'e se setca kibro .i ji'a zo'e se zancari gi'e fingubni .i lo samse'u na djuno lo datni selru'e cu .i ba'e %sle brauzero%s ku mipri le do datni ku fi la'oi AES poi bitni li 256",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": ".i la %s mupli lo sorcu lo'e se setca kibro .i ji'a zo'e se zancari gi'e fingubni .i lo samse'u na djuno lo datni selru'e cu .i ba'e %sle brauzero%s ku mipri le do datni ku fi la'oi AES poi bitni li 256",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
||||||
"Because ignorance is bliss": ".i ki'u le ka na djuno cu ka saxfri",
|
"Because ignorance is bliss": ".i ki'u le ka na djuno cu ka saxfri",
|
||||||
"en": "jbo",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
||||||
"Because ignorance is bliss": "Because ignorance is bliss",
|
"Because ignorance is bliss": "Because ignorance is bliss",
|
||||||
"en": "ku",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
||||||
"Because ignorance is bliss": "Because ignorance is bliss",
|
"Because ignorance is bliss": "Because ignorance is bliss",
|
||||||
"en": "la",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s yra minimalistinis, atvirojo kodo internetinis įdėjimų dėklas, kurį naudojant, serveris nieko nenutuokia apie įdėtus duomenis. Duomenys yra šifruojami/iššifruojami %snaršyklėje%s naudojant 256 bitų AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s yra minimalistinis, atvirojo kodo internetinis įdėjimų dėklas, kurį naudojant, serveris nieko nenutuokia apie įdėtus duomenis. Duomenys yra šifruojami/iššifruojami %snaršyklėje%s naudojant 256 bitų AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Daugiau informacijos rasite <a href=\"https://privatebin.info/\">projekto puslapyje</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Daugiau informacijos rasite <a href=\"https://privatebin.info/\">projekto puslapyje</a>.",
|
||||||
"Because ignorance is bliss": "Nes nežinojimas yra palaima",
|
"Because ignorance is bliss": "Nes nežinojimas yra palaima",
|
||||||
"en": "lt",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Įdėjimo nėra, jis nebegalioja arba buvo ištrintas.",
|
"Paste does not exist, has expired or has been deleted.": "Įdėjimo nėra, jis nebegalioja arba buvo ištrintas.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s savo darbui reikalauja php %s arba naujesnės versijos. Apgailestaujame.",
|
"%s requires php %s or above to work. Sorry.": "%s savo darbui reikalauja php %s arba naujesnės versijos. Apgailestaujame.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s reikalauja, kad konfigūracijos faile būtų [%s] konfigūracijos sekcija.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s reikalauja, kad konfigūracijos faile būtų [%s] konfigūracijos sekcija.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Jūsų IP adresas neturi įgaliojimų kurti įdėjimų.",
|
"Your IP is not authorized to create pastes.": "Jūsų IP adresas neturi įgaliojimų kurti įdėjimų.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Bandoma sutrumpinti URL adresą, kuris nenurodo į mūsų egzempliorių.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Bandoma sutrumpinti URL adresą, kuris nenurodo į mūsų egzempliorių.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Klaida iškviečiant YOURLS. Tikriausiai, konfigūracijos klaida, pavyzdžiui, neteisingi „apiurl“ ar „signature“, arba jų nėra.",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Klaida iškviečiant YOURLS. Tikriausiai, konfigūracijos klaida, pavyzdžiui, neteisingi „apiurl“ ar „signature“, arba jų nėra.",
|
||||||
"Error parsing YOURLS response.": "Klaida nagrinėjant YOURLS atsaką."
|
"Error parsing YOURLS response.": "Klaida nagrinėjant YOURLS atsaką.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is een minimalistische, open source online pastebin waarbij de server geen kennis heeft van de paste data zelf. Gegevens worden gecodeerd/gedecodeerd %s in de browser %s met behulp van 256-bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is een minimalistische, open source online pastebin waarbij de server geen kennis heeft van de paste data zelf. Gegevens worden gecodeerd/gedecodeerd %s in de browser %s met behulp van 256-bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Meer informatie is te vinden op de <a href=\"https://privatebin.info/\">projectpagina</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Meer informatie is te vinden op de <a href=\"https://privatebin.info/\">projectpagina</a>.",
|
||||||
"Because ignorance is bliss": "Onwetendheid is een zegen",
|
"Because ignorance is bliss": "Onwetendheid is een zegen",
|
||||||
"en": "nl",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste bestaat niet, is verlopen of verwijderd.",
|
"Paste does not exist, has expired or has been deleted.": "Paste bestaat niet, is verlopen of verwijderd.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s vereist PHP %s of hoger om te kunnen werken. Sorry",
|
"%s requires php %s or above to work. Sorry.": "%s vereist PHP %s of hoger om te kunnen werken. Sorry",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s vereist dat de configuratiesectie [%s] aanwezig is in het configuratiebestand",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s vereist dat de configuratiesectie [%s] aanwezig is in het configuratiebestand",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Je IP-adres is niet gemachtigd om pastes te maken.",
|
"Your IP is not authorized to create pastes.": "Je IP-adres is niet gemachtigd om pastes te maken.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Proberen om een URL te verkorten dat niet naar ons systeem wijst.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Proberen om een URL te verkorten dat niet naar ons systeem wijst.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Foutmelding ophalen YOURLS. Waarschijnlijk een configuratiefout, zoals een verkeerde of missende \"apiurl\" of \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Foutmelding ophalen YOURLS. Waarschijnlijk een configuratiefout, zoals een verkeerde of missende \"apiurl\" of \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Foutmelding bij parsen van YOURLS respons."
|
"Error parsing YOURLS response.": "Foutmelding bij parsen van YOURLS respons.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s er en minimalistisk, åpen kildekode, elektronisk tilgjengelig pastebin hvor serveren ikke har kunnskap om dataene som limes inn. Dataene krypteres/dekrypteres %si nettleseren%s ved hjelp av 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s er en minimalistisk, åpen kildekode, elektronisk tilgjengelig pastebin hvor serveren ikke har kunnskap om dataene som limes inn. Dataene krypteres/dekrypteres %si nettleseren%s ved hjelp av 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Mer informasjon om prosjektet på <a href=\"https://privatebin.info/\">prosjektsiden</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Mer informasjon om prosjektet på <a href=\"https://privatebin.info/\">prosjektsiden</a>.",
|
||||||
"Because ignorance is bliss": "Fordi uvitenhet er lykke",
|
"Because ignorance is bliss": "Fordi uvitenhet er lykke",
|
||||||
"en": "no",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Innlegget eksisterer ikke, er utløpt eller har blitt slettet.",
|
"Paste does not exist, has expired or has been deleted.": "Innlegget eksisterer ikke, er utløpt eller har blitt slettet.",
|
||||||
"%s requires php %s or above to work. Sorry.": "Beklager, %s krever php %s eller nyere for å kjøre.",
|
"%s requires php %s or above to work. Sorry.": "Beklager, %s krever php %s eller nyere for å kjøre.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s krever konfigurasjonsdel [%s] å være til stede i konfigurasjonsfilen .",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s krever konfigurasjonsdel [%s] å være til stede i konfigurasjonsfilen .",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s es un 'pastebin' (o gestionari d’extrachs de tèxte e còdi font) minimalista e open source, dins lo qual lo servidor a pas cap de coneissença de las donadas mandadas. Las donadas son chifradas/deschifradas %sdins lo navigator%s per un chiframent AES 256 bits.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s es un 'pastebin' (o gestionari d’extrachs de tèxte e còdi font) minimalista e open source, dins lo qual lo servidor a pas cap de coneissença de las donadas mandadas. Las donadas son chifradas/deschifradas %sdins lo navigator%s per un chiframent AES 256 bits.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Mai informacions sus <a href=\"https://privatebin.info/\">la pagina del projècte</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Mai informacions sus <a href=\"https://privatebin.info/\">la pagina del projècte</a>.",
|
||||||
"Because ignorance is bliss": "Perque lo bonaür es l’ignorància",
|
"Because ignorance is bliss": "Perque lo bonaür es l’ignorància",
|
||||||
"en": "oc",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Lo tèxte existís pas, a expirat, o es estat suprimit.",
|
"Paste does not exist, has expired or has been deleted.": "Lo tèxte existís pas, a expirat, o es estat suprimit.",
|
||||||
"%s requires php %s or above to work. Sorry.": "O planhèm, %s necessita php %s o superior per foncionar.",
|
"%s requires php %s or above to work. Sorry.": "O planhèm, %s necessita php %s o superior per foncionar.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s fa besonh de la seccion de configuracion [%s] dins lo fichièr de configuracion per foncionar.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s fa besonh de la seccion de configuracion [%s] dins lo fichièr de configuracion per foncionar.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Vòstra adreça IP a pas l’autorizacion de crear de tèxtes.",
|
"Your IP is not authorized to create pastes.": "Vòstra adreça IP a pas l’autorizacion de crear de tèxtes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Ensag d’abracar una URL que mena pas a nòstra instància.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Ensag d’abracar una URL que mena pas a nòstra instància.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error en cridant YOURLS. Es probablament un problèma de configuracion, quicòm coma « apirul » o « signature » marrit o absent.",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error en cridant YOURLS. Es probablament un problèma de configuracion, quicòm coma « apirul » o « signature » marrit o absent.",
|
||||||
"Error parsing YOURLS response.": "Error d'analisi de la responsa YOURLS."
|
"Error parsing YOURLS response.": "Error d'analisi de la responsa YOURLS.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s jest minimalistycznym, otwartoźródłowym serwisem typu pastebin, w którym serwer nie ma jakichkolwiek informacji o tym, co jest wklejane. Dane są szyfrowane i deszyfrowane %sw przeglądarce%s z użyciem 256-bitowego klucza AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s jest minimalistycznym, otwartoźródłowym serwisem typu pastebin, w którym serwer nie ma jakichkolwiek informacji o tym, co jest wklejane. Dane są szyfrowane i deszyfrowane %sw przeglądarce%s z użyciem 256-bitowego klucza AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Więcej informacji na <a href=\"https://privatebin.info/\">stronie projektu</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Więcej informacji na <a href=\"https://privatebin.info/\">stronie projektu</a>.",
|
||||||
"Because ignorance is bliss": "Ponieważ ignorancja jest cnotą",
|
"Because ignorance is bliss": "Ponieważ ignorancja jest cnotą",
|
||||||
"en": "pl",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Wklejka nie istnieje, wygasła albo została usunięta.",
|
"Paste does not exist, has expired or has been deleted.": "Wklejka nie istnieje, wygasła albo została usunięta.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s wymaga PHP w wersji %s lub nowszej. Przykro mi.",
|
"%s requires php %s or above to work. Sorry.": "%s wymaga PHP w wersji %s lub nowszej. Przykro mi.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s wymaga obecności sekcji [%s] w pliku konfiguracyjnym.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s wymaga obecności sekcji [%s] w pliku konfiguracyjnym.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s é um serviço minimalista e de código aberto do tipo \"pastebin\", em que o servidor tem zero conhecimento dos dados copiados. Os dados são cifrados e decifrados %sno navegador%s usando 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s é um serviço minimalista e de código aberto do tipo \"pastebin\", em que o servidor tem zero conhecimento dos dados copiados. Os dados são cifrados e decifrados %sno navegador%s usando 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Mais informações na <a href=\"https://privatebin.info/\">página do projeto</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Mais informações na <a href=\"https://privatebin.info/\">página do projeto</a>.",
|
||||||
"Because ignorance is bliss": "Porque a ignorância é uma benção",
|
"Because ignorance is bliss": "Porque a ignorância é uma benção",
|
||||||
"en": "pt",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "A cópia não existe, expirou ou já foi excluída.",
|
"Paste does not exist, has expired or has been deleted.": "A cópia não existe, expirou ou já foi excluída.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requer php %s ou superior para funcionar. Desculpa.",
|
"%s requires php %s or above to work. Sorry.": "%s requer php %s ou superior para funcionar. Desculpa.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requer que a seção de configuração [% s] esteja no arquivo de configuração.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requer que a seção de configuração [% s] esteja no arquivo de configuração.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Seu IP não está autorizado a criar cópias.",
|
"Your IP is not authorized to create pastes.": "Seu IP não está autorizado a criar cópias.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Tentando encurtar uma URL que não aponta para a nossa instância.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Tentando encurtar uma URL que não aponta para a nossa instância.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
220
i18n/ro.json
Normal file
220
i18n/ro.json
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
{
|
||||||
|
"PrivateBin": "PrivateBin",
|
||||||
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s este un pastebin online, minimalist și cu sursă deschisă unde serverul are zero acces la datele introduse. Datele sunt criptate/decriptate %sîn browser%s folosind AES cu 256 de biți.",
|
||||||
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Mai multe informații pe <a href=\"https://privatebin.info/\">pagina proiectului</a>.",
|
||||||
|
"Because ignorance is bliss": "Ignoranța este o binecuvântare",
|
||||||
|
"Paste does not exist, has expired or has been deleted.": "Paste-ul nu există, a expirat sau a fost șters.",
|
||||||
|
"%s requires php %s or above to work. Sorry.": "%s necesită php %s sau mai nou pentru a funcționa. Scuze.",
|
||||||
|
"%s requires configuration section [%s] to be present in configuration file.": "%s necesită ca secțiunea de configurare [%s] să fie prezentă în fișierul de configurare.",
|
||||||
|
"Please wait %d seconds between each post.": [
|
||||||
|
"Vă rugăm să așteptați %d secundă între fiecare postare",
|
||||||
|
"Vă rugăm să așteptați %d secunde între fiecare postare",
|
||||||
|
"Vă rugăm să așteptați %d de secunde între fiecare postare",
|
||||||
|
"Please wait %d seconds between each post. (3rd plural)",
|
||||||
|
"Please wait %d seconds between each post. (4th plural)",
|
||||||
|
"Please wait %d seconds between each post. (5th plural)"
|
||||||
|
],
|
||||||
|
"Paste is limited to %s of encrypted data.": "Paste-ul este limitat la %s de date criptate.",
|
||||||
|
"Invalid data.": "Date invalide.",
|
||||||
|
"You are unlucky. Try again.": "Ați avut ghinion. Încercați din nou.",
|
||||||
|
"Error saving comment. Sorry.": "Eroare la salvarea comentariului. Ne pare rău.",
|
||||||
|
"Error saving paste. Sorry.": "Eroare la salvarea paste-ului. Ne pare rău.",
|
||||||
|
"Invalid paste ID.": "ID paste invalid.",
|
||||||
|
"Paste is not of burn-after-reading type.": "Paste-ul nu se șterge după citire.",
|
||||||
|
"Wrong deletion token. Paste was not deleted.": "Token de ștergere incorect. Paste-ul nu a fost șters.",
|
||||||
|
"Paste was properly deleted.": "Paste-ul a fost șters cu succes.",
|
||||||
|
"JavaScript is required for %s to work. Sorry for the inconvenience.": "JavaScript este necesar pentru ca %s să funcționeze. Ne cerem scuze pentru neplăceri.",
|
||||||
|
"%s requires a modern browser to work.": "%s necesită un browser modern pentru a funcționa.",
|
||||||
|
"New": "Nou",
|
||||||
|
"Send": "Trimiteți",
|
||||||
|
"Clone": "Clonați",
|
||||||
|
"Raw text": "Text brut",
|
||||||
|
"Expires": "Expiră",
|
||||||
|
"Burn after reading": "Ștergere după citire",
|
||||||
|
"Open discussion": "Deschideți discuția",
|
||||||
|
"Password (recommended)": "Parolă (recomandată)",
|
||||||
|
"Discussion": "Discuție",
|
||||||
|
"Toggle navigation": "Comutați navigarea",
|
||||||
|
"%d seconds": [
|
||||||
|
"%d secundă",
|
||||||
|
"%d secunde",
|
||||||
|
"%d de secunde",
|
||||||
|
"%d seconds (3rd plural)",
|
||||||
|
"%d seconds (4th plural)",
|
||||||
|
"%d seconds (5th plural)"
|
||||||
|
],
|
||||||
|
"%d minutes": [
|
||||||
|
"%d minut",
|
||||||
|
"%d minute",
|
||||||
|
"%d de minute",
|
||||||
|
"%d minutes (3rd plural)",
|
||||||
|
"%d minutes (4th plural)",
|
||||||
|
"%d minutes (5th plural)"
|
||||||
|
],
|
||||||
|
"%d hours": [
|
||||||
|
"%d oră",
|
||||||
|
"%d ore",
|
||||||
|
"%d de ore",
|
||||||
|
"%d hours (3rd plural)",
|
||||||
|
"%d hours (4th plural)",
|
||||||
|
"%d hours (5th plural)"
|
||||||
|
],
|
||||||
|
"%d days": [
|
||||||
|
"%d zi",
|
||||||
|
"%d zile",
|
||||||
|
"%d de zile",
|
||||||
|
"%d days (3rd plural)",
|
||||||
|
"%d days (4th plural)",
|
||||||
|
"%d days (5th plural)"
|
||||||
|
],
|
||||||
|
"%d weeks": [
|
||||||
|
"%d week (singular)",
|
||||||
|
"%d săptămână",
|
||||||
|
"%d săptămâni",
|
||||||
|
"%d de săptămâni",
|
||||||
|
"%d weeks (4th plural)",
|
||||||
|
"%d weeks (5th plural)"
|
||||||
|
],
|
||||||
|
"%d months": [
|
||||||
|
"%d lună",
|
||||||
|
"%d luni",
|
||||||
|
"%d de luni",
|
||||||
|
"%d months (3rd plural)",
|
||||||
|
"%d months (4th plural)",
|
||||||
|
"%d months (5th plural)"
|
||||||
|
],
|
||||||
|
"%d years": [
|
||||||
|
"%d an",
|
||||||
|
"%d ani",
|
||||||
|
"%d de ani",
|
||||||
|
"%d years (3rd plural)",
|
||||||
|
"%d years (4th plural)",
|
||||||
|
"%d years (5th plural)"
|
||||||
|
],
|
||||||
|
"Never": "Niciodată",
|
||||||
|
"Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.": "Notă: Acesta este un serviciu de test: Datele ar putea fi șterse oricând. Vor muri niște pisicuțe dacă abuzați acest serviciu.",
|
||||||
|
"This document will expire in %d seconds.": [
|
||||||
|
"Acest document va expira în %d secundă.",
|
||||||
|
"Acest document va expira în %d secunde.",
|
||||||
|
"Acest document va expira în %d de secunde.",
|
||||||
|
"This document will expire in %d seconds. (3rd plural)",
|
||||||
|
"This document will expire in %d seconds. (4th plural)",
|
||||||
|
"This document will expire in %d seconds. (5th plural)"
|
||||||
|
],
|
||||||
|
"This document will expire in %d minutes.": [
|
||||||
|
"This document will expire in %d minute. (singular)",
|
||||||
|
"This document will expire in %d minutes. (1st plural)",
|
||||||
|
"This document will expire in %d minutes. (2nd plural)",
|
||||||
|
"This document will expire in %d minutes. (3rd plural)",
|
||||||
|
"This document will expire in %d minutes. (4th plural)",
|
||||||
|
"This document will expire in %d minutes. (5th plural)"
|
||||||
|
],
|
||||||
|
"This document will expire in %d hours.": [
|
||||||
|
"Acest document va expira în %d oră.",
|
||||||
|
"Acest document va expira în %d ore.",
|
||||||
|
"Acest document va expira în %d de ore.",
|
||||||
|
"This document will expire in %d hours. (3rd plural)",
|
||||||
|
"This document will expire in %d hours. (4th plural)",
|
||||||
|
"This document will expire in %d hours. (5th plural)"
|
||||||
|
],
|
||||||
|
"This document will expire in %d days.": [
|
||||||
|
"Acest document va expira în %d zi.",
|
||||||
|
"Acest document va expira în %d zile.",
|
||||||
|
"Acest document va expira în %d de zile.",
|
||||||
|
"This document will expire in %d days. (3rd plural)",
|
||||||
|
"This document will expire in %d days. (4th plural)",
|
||||||
|
"This document will expire in %d days. (5th plural)"
|
||||||
|
],
|
||||||
|
"This document will expire in %d months.": [
|
||||||
|
"Acest document va expira în %d lună.",
|
||||||
|
"Acest document va expira în %d luni.",
|
||||||
|
"Acest document va expira în %d de luni.",
|
||||||
|
"This document will expire in %d months. (3rd plural)",
|
||||||
|
"This document will expire in %d months. (4th plural)",
|
||||||
|
"This document will expire in %d months. (5th plural)"
|
||||||
|
],
|
||||||
|
"Please enter the password for this paste:": "Va rugăm să introduceți parola pentru acest paste:",
|
||||||
|
"Could not decrypt data (Wrong key?)": "Nu s-au putut decripta datele (Cheie gresită?)",
|
||||||
|
"Could not delete the paste, it was not stored in burn after reading mode.": "Nu s-a putut șterge paste-ul, nu a fost stocat în modul de ștergere după citire.",
|
||||||
|
"FOR YOUR EYES ONLY. Don't close this window, this message can't be displayed again.": "NUMAI PENTRU OCHII DVS. Nu închideți această fereastră, acest mesaj nu poate fi afișat din nou.",
|
||||||
|
"Could not decrypt comment; Wrong key?": "Nu s-a putut decripta comentariul; Cheie greșită?",
|
||||||
|
"Reply": "Răspundeți",
|
||||||
|
"Anonymous": "Anonim",
|
||||||
|
"Avatar generated from IP address": "Avatar generat din adresa IP",
|
||||||
|
"Add comment": "Adăugați un comentariu",
|
||||||
|
"Optional nickname…": "Poreclă opțională…",
|
||||||
|
"Post comment": "Postați comentariul",
|
||||||
|
"Sending comment…": "Se trimite comentariul…",
|
||||||
|
"Comment posted.": "Comentariul a fost postat.",
|
||||||
|
"Could not refresh display: %s": "Nu s-a putut actualiza afișarea: %s",
|
||||||
|
"unknown status": "stare necunoscută",
|
||||||
|
"server error or not responding": "eroare de server sau nu răspunde",
|
||||||
|
"Could not post comment: %s": "Nu s-a putut posta comentariul: %s",
|
||||||
|
"Sending paste…": "Se trimite paste-ul…",
|
||||||
|
"Your paste is <a id=\"pasteurl\" href=\"%s\">%s</a> <span id=\"copyhint\">(Hit [Ctrl]+[c] to copy)</span>": "Paste-ul dvs. este <a id=\"pasteurl\" href=\"%s\">%s</a> <span id=\"copyhint\">(Apăsați [Ctrl]+[c] pentru a copia)</span>",
|
||||||
|
"Delete data": "Ștergeți datele",
|
||||||
|
"Could not create paste: %s": "Nu s-a putut crea paste-ul: %s",
|
||||||
|
"Cannot decrypt paste: Decryption key missing in URL (Did you use a redirector or an URL shortener which strips part of the URL?)": "Nu s-a putut decripta paste-ul: Cheia de decriptare lipsește din URL (Ați folosit un redirector sau un scurtător de URL care a tăiat o parte din URL?)",
|
||||||
|
"B": "B",
|
||||||
|
"KiB": "KiB",
|
||||||
|
"MiB": "MiB",
|
||||||
|
"GiB": "GiB",
|
||||||
|
"TiB": "TiB",
|
||||||
|
"PiB": "PiB",
|
||||||
|
"EiB": "EiB",
|
||||||
|
"ZiB": "ZiB",
|
||||||
|
"YiB": "YiB",
|
||||||
|
"Format": "Formatare",
|
||||||
|
"Plain Text": "Text neformatat",
|
||||||
|
"Source Code": "Cod sursă",
|
||||||
|
"Markdown": "Markdown",
|
||||||
|
"Download attachment": "Descărcați fișierul atașat",
|
||||||
|
"Cloned: '%s'": "S-a clonat: '%s'",
|
||||||
|
"The cloned file '%s' was attached to this paste.": "Fișierul clonat '%s' a fost atașat la acest paste.",
|
||||||
|
"Attach a file": "Atașați un fișier",
|
||||||
|
"alternatively drag & drop a file or paste an image from the clipboard": "alternativ, trageți și plasați un fișier sau lipiți o imagine din clipboard",
|
||||||
|
"File too large, to display a preview. Please download the attachment.": "Fișierul este prea mare pentru a afișa o previzualizare. Vă rugăm să descărcaţi fișierul.",
|
||||||
|
"Remove attachment": "Eliminați fișierul atașat",
|
||||||
|
"Your browser does not support uploading encrypted files. Please use a newer browser.": "Browserul dvs. nu acceptă încărcarea fișierelor criptate. Vă rugăm să folosiți un browser mai nou.",
|
||||||
|
"Invalid attachment.": "Fișier invalid.",
|
||||||
|
"Options": "Opţiuni",
|
||||||
|
"Shorten URL": "Scurtați URL-ul",
|
||||||
|
"Editor": "Editor",
|
||||||
|
"Preview": "Previzualizare",
|
||||||
|
"%s requires the PATH to end in a \"%s\". Please update the PATH in your index.php.": "%s necesită ca PATH să se termine cu \"%s\". Vă rugăm să actualizați PATH în index.php.",
|
||||||
|
"Decrypt": "Decriptare",
|
||||||
|
"Enter password": "Introduceţi parola",
|
||||||
|
"Loading…": "Se încarcă…",
|
||||||
|
"Decrypting paste…": "Se decriptează paste-ul…",
|
||||||
|
"Preparing new paste…": "Se pregătește un paste nou…",
|
||||||
|
"In case this message never disappears please have a look at <a href=\"%s\">this FAQ for information to troubleshoot</a>.": "În cazul în care acest mesaj nu dispare niciodată, vă rugăm să aruncaţi o privire la <a href=\"%s\">acest FAQ pentru informații de depanare</a>.",
|
||||||
|
"+++ no paste text +++": "+++ fără text +++",
|
||||||
|
"Could not get paste data: %s": "Nu s-a putut obține datele paste-ului: %s",
|
||||||
|
"QR code": "Cod QR",
|
||||||
|
"This website is using an insecure HTTP connection! Please use it only for testing.": "Acest website folosește o conexiune HTTP nesigură! Vă rugăm să îl folosiți doar pentru teste.",
|
||||||
|
"For more information <a href=\"%s\">see this FAQ entry</a>.": "Pentru mai multe informații <a href=\"%s\">a se vedea secțiunea FAQ</a>.",
|
||||||
|
"Your browser may require an HTTPS connection to support the WebCrypto API. Try <a href=\"%s\">switching to HTTPS</a>.": "Este posibil ca browserul dvs. să necesite o conexiune HTTPS pentru a suporta API-ul WebCrypto. Încercați să <a href=\"%s\">comutați la HTTPS</a>.",
|
||||||
|
"Your browser doesn't support WebAssembly, used for zlib compression. You can create uncompressed documents, but can't read compressed ones.": "Browserul dvs. nu acceptă WebAssembly folosit pentru compresia zlib. Puteți crea documente necompresate, dar nu le puteți citi pe cele compresate.",
|
||||||
|
"waiting on user to provide a password": "se așteaptă ca utilizatorul să furnizeze o parolă",
|
||||||
|
"Could not decrypt data. Did you enter a wrong password? Retry with the button at the top.": "Nu s-au putut decripta datele. Ați introdus parola greșită? Reîncercați folosind butonul de sus.",
|
||||||
|
"Retry": "Reîncercați",
|
||||||
|
"Showing raw text…": "Se afișează textul brut…",
|
||||||
|
"Notice:": "Observaţie:",
|
||||||
|
"This link will expire after %s.": "Acest link va expira după %s.",
|
||||||
|
"This link can only be accessed once, do not use back or refresh button in your browser.": "Acest link poate fi accesat o singură dată, nu folosiți butonul înapoi sau reîmprospătare din browserul dvs.",
|
||||||
|
"Link:": "Link:",
|
||||||
|
"Recipient may become aware of your timezone, convert time to UTC?": "Destinatarul vă poate afla fusul dvs. orar, convertiți timpul în UTC?",
|
||||||
|
"Use Current Timezone": "Se folosește fusul orar actual",
|
||||||
|
"Convert To UTC": "Convertire la UTC",
|
||||||
|
"Close": "Închideți",
|
||||||
|
"Encrypted note on %s": "Notă criptată pe %s",
|
||||||
|
"Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.": "Accesați acest link pentru a vedea nota. Nota poate fi accesată de către oricine care are acest URL.",
|
||||||
|
"URL shortener may expose your decrypt key in URL.": "Scurtătorul de URL ar putea să vă expună cheia de decriptare din URL.",
|
||||||
|
"Save paste": "Salvați paste-ul",
|
||||||
|
"Your IP is not authorized to create pastes.": "Adresa dvs. IP nu este autorizată să creeze paste-uri.",
|
||||||
|
"Trying to shorten a URL that isn't pointing at our instance.": "Încercarea de a scurta un URL care nu direcționează spre instanța noastră.",
|
||||||
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Eroare la apelarea YOURLS. Probabil o problemă de configurare, cum ar fi \"apiurl\" sau \"signature\" greșite sau lipsă.",
|
||||||
|
"Error parsing YOURLS response.": "Eroare la analizarea răspunsului YOURLS.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
|
}
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s это минималистичный Open Source проект для создания заметок, где сервер не знает ничего о сохраняемых данных. Данные шифруются/расшифровываются %sв браузере%s с использованием 256 битного шифрования AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s это минималистичный Open Source проект для создания заметок, где сервер не знает ничего о сохраняемых данных. Данные шифруются/расшифровываются %sв браузере%s с использованием 256 битного шифрования AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Подробнее можно узнать на <a href=\"https://privatebin.info/\">сайте проекта</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Подробнее можно узнать на <a href=\"https://privatebin.info/\">сайте проекта</a>.",
|
||||||
"Because ignorance is bliss": "Потому что неведение - благо",
|
"Because ignorance is bliss": "Потому что неведение - благо",
|
||||||
"en": "ru",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Запись не существует, просрочена или была удалена.",
|
"Paste does not exist, has expired or has been deleted.": "Запись не существует, просрочена или была удалена.",
|
||||||
"%s requires php %s or above to work. Sorry.": "Для работы %s требуется php %s или выше. Извините.",
|
"%s requires php %s or above to work. Sorry.": "Для работы %s требуется php %s или выше. Извините.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s необходимо наличие секции [%s] в конфигурационном файле.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s необходимо наличие секции [%s] в конфигурационном файле.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Вашему IP адресу не разрешено создавать записи.",
|
"Your IP is not authorized to create pastes.": "Вашему IP адресу не разрешено создавать записи.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s je minimalistický, open source online pastebin, kde server nemá žiadne znalosti o vložených údajoch. Údaje sú šifrované/dešifrované %sv prehliadači%s pomocou 256-bitového AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s je minimalistický, open source online pastebin, kde server nemá žiadne znalosti o vložených údajoch. Údaje sú šifrované/dešifrované %sv prehliadači%s pomocou 256-bitového AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Viac informácií na <a href=\"https://privatebin.info/\">stránke projektu</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Viac informácií na <a href=\"https://privatebin.info/\">stránke projektu</a>.",
|
||||||
"Because ignorance is bliss": "Pretože nevedomosť je sladká",
|
"Because ignorance is bliss": "Pretože nevedomosť je sladká",
|
||||||
"en": "sk",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Vložený text neexistuje, jeho platnosť vypršala alebo bol vymazaný.",
|
"Paste does not exist, has expired or has been deleted.": "Vložený text neexistuje, jeho platnosť vypršala alebo bol vymazaný.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s vyžaduje php %s alebo vyššie. Prepáčte.",
|
"%s requires php %s or above to work. Sorry.": "%s vyžaduje php %s alebo vyššie. Prepáčte.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s vyžaduje, aby bola v konfiguračnom súbore prítomná sekcia [%s].",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s vyžaduje, aby bola v konfiguračnom súbore prítomná sekcia [%s].",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Vaša IP adresa nie je oprávnená vytvárať príspevky.",
|
"Your IP is not authorized to create pastes.": "Vaša IP adresa nie je oprávnená vytvárať príspevky.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Pokúšate sa skrátiť adresu URL, ktorá neukazuje na túto inštanciu.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Pokúšate sa skrátiť adresu URL, ktorá neukazuje na túto inštanciu.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s je minimalističen, odprtokodni spletni 'pastebin', kjer server ne ve ničesar o prilepljenih podatkih. Podatki so zakodirani/odkodirani %sv brskalniku%s z uporabo 256 bitnega AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s je minimalističen, odprtokodni spletni 'pastebin', kjer server ne ve ničesar o prilepljenih podatkih. Podatki so zakodirani/odkodirani %sv brskalniku%s z uporabo 256 bitnega AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Več informacij na <a href=\"https://privatebin.info/\">spletni strani projekta.</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Več informacij na <a href=\"https://privatebin.info/\">spletni strani projekta.</a>.",
|
||||||
"Because ignorance is bliss": "Ker kar ne veš ne boli.",
|
"Because ignorance is bliss": "Ker kar ne veš ne boli.",
|
||||||
"en": "sl",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Prilepek ne obstaja, mu je potekla življenjska doba, ali pa je izbrisan.",
|
"Paste does not exist, has expired or has been deleted.": "Prilepek ne obstaja, mu je potekla življenjska doba, ali pa je izbrisan.",
|
||||||
"%s requires php %s or above to work. Sorry.": "Oprosti, %s za delovanje potrebuje vsaj php %s.",
|
"%s requires php %s or above to work. Sorry.": "Oprosti, %s za delovanje potrebuje vsaj php %s.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s potrebuje sekcijo konfiguracij [%s] v konfiguracijski datoteki.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s potrebuje sekcijo konfiguracij [%s] v konfiguracijski datoteki.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "More information on the <a href=\"https://privatebin.info/\">project page</a>.",
|
||||||
"Because ignorance is bliss": "Because ignorance is bliss",
|
"Because ignorance is bliss": "Because ignorance is bliss",
|
||||||
"en": "sv",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
"%s requires php %s or above to work. Sorry.": "%s requires php %s or above to work. Sorry.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s requires configuration section [%s] to be present in configuration file.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
"Your IP is not authorized to create pastes.": "Your IP is not authorized to create pastes.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s เป็น pastebin ออนไลน์แบบโอเพ่นซอร์สที่มีรูปแบบการใช้งานที่เรียบง่าย เซิร์ฟเวอร์ไม่สามารถรู้ได้ว่าข้อมูลโค้ดที่มาฝากนั้นเป็นข้อมูลอะไร โดยจะถูกเข้ารหัส/ถอดรหัสด้วยกระบวนการ AES จำนวน 256 บิต%sผ่านเบราว์เซอร์%s",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s เป็น pastebin ออนไลน์แบบโอเพ่นซอร์สที่มีรูปแบบการใช้งานที่เรียบง่าย เซิร์ฟเวอร์ไม่สามารถรู้ได้ว่าข้อมูลโค้ดที่มาฝากนั้นเป็นข้อมูลอะไร โดยจะถูกเข้ารหัส/ถอดรหัสด้วยกระบวนการ AES จำนวน 256 บิต%sผ่านเบราว์เซอร์%s",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "ข้อมูลเพิ่มเติม ดูได้ที่<a href=\"https://privatebin.info/\">หน้าโครงการ</a>",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "ข้อมูลเพิ่มเติม ดูได้ที่<a href=\"https://privatebin.info/\">หน้าโครงการ</a>",
|
||||||
"Because ignorance is bliss": "ไม่รู้ไม่ชี้ดีที่สุด",
|
"Because ignorance is bliss": "ไม่รู้ไม่ชี้ดีที่สุด",
|
||||||
"en": "th",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "การฝากโค้ดไม่มีอยู่ อาจจะหมดอายุหรือถูกลบไปแล้ว",
|
"Paste does not exist, has expired or has been deleted.": "การฝากโค้ดไม่มีอยู่ อาจจะหมดอายุหรือถูกลบไปแล้ว",
|
||||||
"%s requires php %s or above to work. Sorry.": "ขออภัย %s ต้องใช้ PHP %s ขึ้นไปจึงจะใช้งานได้",
|
"%s requires php %s or above to work. Sorry.": "ขออภัย %s ต้องใช้ PHP %s ขึ้นไปจึงจะใช้งานได้",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s จำเป็นต้องตั้งค่าตัวแปร [%s] ในไฟล์กำหนดค่า",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s จำเป็นต้องตั้งค่าตัวแปร [%s] ในไฟล์กำหนดค่า",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "IP ของคุณไม่ได้รับอนุญาตให้สร้างการฝากโค้ด",
|
"Your IP is not authorized to create pastes.": "IP ของคุณไม่ได้รับอนุญาตให้สร้างการฝากโค้ด",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "กำลังพยายามใช้เครื่องมือสร้างลิงก์ย่อ ที่ไม่ได้ชี้ไปที่อินสแตนซ์ของเรา",
|
"Trying to shorten a URL that isn't pointing at our instance.": "กำลังพยายามใช้เครื่องมือสร้างลิงก์ย่อ ที่ไม่ได้ชี้ไปที่อินสแตนซ์ของเรา",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "เกิดข้อผิดพลาดในการเรียก YOURLS อาจเป็นปัญหามาจากการกำหนดค่า เช่น \"apiurl\" หรือ \"signature\" ไม่ถูกต้องหรือขาดหายไป",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "เกิดข้อผิดพลาดในการเรียก YOURLS อาจเป็นปัญหามาจากการกำหนดค่า เช่น \"apiurl\" หรือ \"signature\" ไม่ถูกต้องหรือขาดหายไป",
|
||||||
"Error parsing YOURLS response.": "เกิดข้อผิดพลาดในการแยกวิเคราะห์การตอบสนองของ YOURLS"
|
"Error parsing YOURLS response.": "เกิดข้อผิดพลาดในการแยกวิเคราะห์การตอบสนองของ YOURLS",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s sunucunun burada paylaştığınız veriyi görmediği, minimal, açık kaynak bir pastebindir. Veriler tarayıcıda 256 bit AES kullanılarak şifrelenir/çözülür.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s sunucunun burada paylaştığınız veriyi görmediği, minimal, açık kaynak bir pastebindir. Veriler tarayıcıda 256 bit AES kullanılarak şifrelenir/çözülür.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Daha fazla bilgi için <a href=\"https://privatebin.info/\">proje sayfası</a>'na göz atabilirsiniz.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Daha fazla bilgi için <a href=\"https://privatebin.info/\">proje sayfası</a>'na göz atabilirsiniz.",
|
||||||
"Because ignorance is bliss": "Çünkü, cehalet mutluluktur",
|
"Because ignorance is bliss": "Çünkü, cehalet mutluluktur",
|
||||||
"en": "tr",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
"Paste does not exist, has expired or has been deleted.": "Paste does not exist, has expired or has been deleted.",
|
||||||
"%s requires php %s or above to work. Sorry.": "%s PHP %s veya daha üstünü gerektirir.",
|
"%s requires php %s or above to work. Sorry.": "%s PHP %s veya daha üstünü gerektirir.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s konfigürasyon bölümünün [%s] bulunmasını gerektir.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s konfigürasyon bölümünün [%s] bulunmasını gerektir.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "IP adresinizin yazı oluşturmaya yetkisi yoktur.",
|
"Your IP is not authorized to create pastes.": "IP adresinizin yazı oluşturmaya yetkisi yoktur.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s це мінімалістичний Open Source проєкт для створення нотаток, де сервер не знає нічого про дані, що зберігаються. Дані шифруються/розшифровуються %sу переглядачі%s з використанням 256-бітного шифрувания AES.",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s це мінімалістичний Open Source проєкт для створення нотаток, де сервер не знає нічого про дані, що зберігаються. Дані шифруються/розшифровуються %sу переглядачі%s з використанням 256-бітного шифрувания AES.",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Подробиці можна дізнатися на <a href=\"https://privatebin.info/\">сайті проєкту</a>.",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "Подробиці можна дізнатися на <a href=\"https://privatebin.info/\">сайті проєкту</a>.",
|
||||||
"Because ignorance is bliss": "Бо незнання - благо",
|
"Because ignorance is bliss": "Бо незнання - благо",
|
||||||
"en": "uk",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "Допис не існує, протермінований чи був видалений.",
|
"Paste does not exist, has expired or has been deleted.": "Допис не існує, протермінований чи був видалений.",
|
||||||
"%s requires php %s or above to work. Sorry.": "Для роботи %s потрібен php %s и вище. Вибачте.",
|
"%s requires php %s or above to work. Sorry.": "Для роботи %s потрібен php %s и вище. Вибачте.",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s потрібна секція [%s] в конфігураційному файлі.",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s потрібна секція [%s] в конфігураційному файлі.",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "Вашому IP не дозволено створювати вставки.",
|
"Your IP is not authorized to create pastes.": "Вашому IP не дозволено створювати вставки.",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
"Trying to shorten a URL that isn't pointing at our instance.": "Trying to shorten a URL that isn't pointing at our instance.",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".",
|
||||||
"Error parsing YOURLS response.": "Error parsing YOURLS response."
|
"Error parsing YOURLS response.": "Error parsing YOURLS response.",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
"PrivateBin": "PrivateBin",
|
"PrivateBin": "PrivateBin",
|
||||||
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s 是一个极简、开源、对粘贴内容毫不知情的在线粘贴板,数据%s在浏览器内%s进行 AES-256 加密和解密。",
|
"%s is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted %sin the browser%s using 256 bits AES.": "%s 是一个极简、开源、对粘贴内容毫不知情的在线粘贴板,数据%s在浏览器内%s进行 AES-256 加密和解密。",
|
||||||
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "更多信息请查看<a href=\"https://privatebin.info/\">项目主页</a>。",
|
"More information on the <a href=\"https://privatebin.info/\">project page</a>.": "更多信息请查看<a href=\"https://privatebin.info/\">项目主页</a>。",
|
||||||
"Because ignorance is bliss": "因为无知是福",
|
"Because ignorance is bliss": "以不知为幸",
|
||||||
"en": "zh",
|
|
||||||
"Paste does not exist, has expired or has been deleted.": "粘贴内容不存在、已过期或已被删除。",
|
"Paste does not exist, has expired or has been deleted.": "粘贴内容不存在、已过期或已被删除。",
|
||||||
"%s requires php %s or above to work. Sorry.": "抱歉,%s 需要 PHP %s 及以上版本才能运行。",
|
"%s requires php %s or above to work. Sorry.": "抱歉,%s 需要 PHP %s 及以上版本才能运行。",
|
||||||
"%s requires configuration section [%s] to be present in configuration file.": "%s 需要设置配置文件中的 [%s] 部分。",
|
"%s requires configuration section [%s] to be present in configuration file.": "%s 需要设置配置文件中的 [%s] 部分。",
|
||||||
@ -215,5 +214,7 @@
|
|||||||
"Your IP is not authorized to create pastes.": "您的 IP 无权创建粘贴。",
|
"Your IP is not authorized to create pastes.": "您的 IP 无权创建粘贴。",
|
||||||
"Trying to shorten a URL that isn't pointing at our instance.": "尝试缩短一个不指向我们实例的URL。",
|
"Trying to shorten a URL that isn't pointing at our instance.": "尝试缩短一个不指向我们实例的URL。",
|
||||||
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "调用 YOURLS 时出错。可能是配置问题,例如“apiurl”或“signature”错误或缺失。",
|
"Error calling YOURLS. Probably a configuration issue, like wrong or missing \"apiurl\" or \"signature\".": "调用 YOURLS 时出错。可能是配置问题,例如“apiurl”或“signature”错误或缺失。",
|
||||||
"Error parsing YOURLS response.": "解析 YOURLS 响应时出错。"
|
"Error parsing YOURLS response.": "解析 YOURLS 响应时出错。",
|
||||||
|
"Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?": "Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?",
|
||||||
|
"Yes, load it": "Yes, load it"
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// change this, if your php files and data is outside of your webservers document root
|
// change this, if your php files and data is outside of your webservers document root
|
||||||
|
31
js/common.js
31
js/common.js
@ -12,12 +12,12 @@ global.WebCrypto = require('@peculiar/webcrypto').Crypto;
|
|||||||
// application libraries to test
|
// application libraries to test
|
||||||
global.$ = global.jQuery = require('./jquery-3.7.0');
|
global.$ = global.jQuery = require('./jquery-3.7.0');
|
||||||
global.RawDeflate = require('./rawinflate-0.3').RawDeflate;
|
global.RawDeflate = require('./rawinflate-0.3').RawDeflate;
|
||||||
global.zlib = require('./zlib-1.2.13').zlib;
|
global.zlib = require('./zlib-1.3.1').zlib;
|
||||||
require('./prettify');
|
require('./prettify');
|
||||||
global.prettyPrint = window.PR.prettyPrint;
|
global.prettyPrint = window.PR.prettyPrint;
|
||||||
global.prettyPrintOne = window.PR.prettyPrintOne;
|
global.prettyPrintOne = window.PR.prettyPrintOne;
|
||||||
global.showdown = require('./showdown-2.1.0');
|
global.showdown = require('./showdown-2.1.0');
|
||||||
global.DOMPurify = require('./purify-3.0.4');
|
global.DOMPurify = require('./purify-3.0.8');
|
||||||
global.baseX = require('./base-x-4.0.0').baseX;
|
global.baseX = require('./base-x-4.0.0').baseX;
|
||||||
global.Legacy = require('./legacy').Legacy;
|
global.Legacy = require('./legacy').Legacy;
|
||||||
require('./bootstrap-3.4.1');
|
require('./bootstrap-3.4.1');
|
||||||
@ -37,7 +37,7 @@ var a2zString = ['a','b','c','d','e','f','g','h','i','j','k','l','m',
|
|||||||
})
|
})
|
||||||
),
|
),
|
||||||
schemas = ['ftp','http','https'],
|
schemas = ['ftp','http','https'],
|
||||||
supportedLanguages = ['de', 'es', 'fr', 'it', 'no', 'pl', 'pt', 'oc', 'ru', 'sl', 'zh'],
|
supportedLanguages = ['ar', 'bg', 'ca', 'co', 'cs', 'de', 'el', 'es', 'et', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'jbo', 'lt', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sk', 'sl', 'th', 'tr', 'uk', 'zh'],
|
||||||
mimeTypes = ['image/png', 'application/octet-stream'],
|
mimeTypes = ['image/png', 'application/octet-stream'],
|
||||||
formats = ['plaintext', 'markdown', 'syntaxhighlighting'],
|
formats = ['plaintext', 'markdown', 'syntaxhighlighting'],
|
||||||
mimeFile = fs.createReadStream('/etc/mime.types'),
|
mimeFile = fs.createReadStream('/etc/mime.types'),
|
||||||
@ -113,8 +113,8 @@ exports.jscBase64String = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// provides a random URL schema supported by the whatwg-url library
|
// provides a random URL schema supported by the whatwg-url library
|
||||||
exports.jscSchemas = function() {
|
exports.jscSchemas = function(withFtp = true) {
|
||||||
return jsc.elements(schemas);
|
return jsc.elements(withFtp ? schemas : schemas.slice(1));
|
||||||
};
|
};
|
||||||
|
|
||||||
// provides a random supported language string
|
// provides a random supported language string
|
||||||
@ -131,3 +131,24 @@ exports.jscMimeTypes = function() {
|
|||||||
exports.jscFormats = function() {
|
exports.jscFormats = function() {
|
||||||
return jsc.elements(formats);
|
return jsc.elements(formats);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// provides random URLs
|
||||||
|
exports.jscUrl = function(withFragment = true, withQuery = true) {
|
||||||
|
let url = {
|
||||||
|
schema: exports.jscSchemas(),
|
||||||
|
address: jsc.nearray(exports.jscA2zString()),
|
||||||
|
};
|
||||||
|
if (withFragment) {
|
||||||
|
url.fragment = jsc.string;
|
||||||
|
}
|
||||||
|
if(withQuery) {
|
||||||
|
url.query = jsc.array(exports.jscQueryString());
|
||||||
|
}
|
||||||
|
return jsc.record(url);
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.urlToString = function (url) {
|
||||||
|
return url.schema + '://' + url.address.join('') + '/' + (url.query ? '?' +
|
||||||
|
encodeURI(url.query.join('').replace(/^&+|&+$/gm,'')) : '') +
|
||||||
|
(url.fragment ? '#' + encodeURI(url.fragment) : '');
|
||||||
|
};
|
||||||
|
4
js/package-lock.json
generated
4
js/package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "privatebin",
|
"name": "privatebin",
|
||||||
"version": "1.5.2",
|
"version": "1.6.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "privatebin",
|
"name": "privatebin",
|
||||||
"version": "1.5.2",
|
"version": "1.6.2",
|
||||||
"license": "zlib-acknowledgement",
|
"license": "zlib-acknowledgement",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@peculiar/webcrypto": "^1.1.1",
|
"@peculiar/webcrypto": "^1.1.1",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "privatebin",
|
"name": "privatebin",
|
||||||
"version": "1.6.0",
|
"version": "1.7.0",
|
||||||
"description": "PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bit AES in Galois Counter mode (GCM).",
|
"description": "PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bit AES in Galois Counter mode (GCM).",
|
||||||
"main": "privatebin.js",
|
"main": "privatebin.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
183
js/privatebin.js
183
js/privatebin.js
@ -6,7 +6,7 @@
|
|||||||
* @see {@link https://github.com/PrivateBin/PrivateBin}
|
* @see {@link https://github.com/PrivateBin/PrivateBin}
|
||||||
* @copyright 2012 Sébastien SAUVAGE ({@link http://sebsauvage.net})
|
* @copyright 2012 Sébastien SAUVAGE ({@link http://sebsauvage.net})
|
||||||
* @license {@link https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License}
|
* @license {@link https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License}
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
* @name PrivateBin
|
* @name PrivateBin
|
||||||
* @namespace
|
* @namespace
|
||||||
*/
|
*/
|
||||||
@ -77,10 +77,17 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* URL fragment prefix requiring load confirmation
|
||||||
|
*
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
const loadConfirmPrefix = '#-';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CryptoData class
|
* CryptoData class
|
||||||
*
|
*
|
||||||
* bundles helper fuctions used in both paste and comment formats
|
* bundles helper functions used in both paste and comment formats
|
||||||
*
|
*
|
||||||
* @name CryptoData
|
* @name CryptoData
|
||||||
* @class
|
* @class
|
||||||
@ -95,7 +102,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
/**
|
/**
|
||||||
* gets the cipher data (cipher text + adata)
|
* gets the cipher data (cipher text + adata)
|
||||||
*
|
*
|
||||||
* @name Paste.getCipherData
|
* @name CryptoData.getCipherData
|
||||||
* @function
|
* @function
|
||||||
* @return {Array}|{string}
|
* @return {Array}|{string}
|
||||||
*/
|
*/
|
||||||
@ -108,7 +115,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
/**
|
/**
|
||||||
* Paste class
|
* Paste class
|
||||||
*
|
*
|
||||||
* bundles helper fuctions around the paste formats
|
* bundles helper functions around the paste formats
|
||||||
*
|
*
|
||||||
* @name Paste
|
* @name Paste
|
||||||
* @class
|
* @class
|
||||||
@ -171,7 +178,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
/**
|
/**
|
||||||
* Comment class
|
* Comment class
|
||||||
*
|
*
|
||||||
* bundles helper fuctions around the comment formats
|
* bundles helper functions around the comment formats
|
||||||
*
|
*
|
||||||
* @name Comment
|
* @name Comment
|
||||||
* @class
|
* @class
|
||||||
@ -183,7 +190,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
/**
|
/**
|
||||||
* gets the UNIX timestamp of the comment creation
|
* gets the UNIX timestamp of the comment creation
|
||||||
*
|
*
|
||||||
* @name Paste.getCreated
|
* @name Comment.getCreated
|
||||||
* @function
|
* @function
|
||||||
* @return {int}
|
* @return {int}
|
||||||
*/
|
*/
|
||||||
@ -195,7 +202,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
/**
|
/**
|
||||||
* gets the icon of the comment submitter
|
* gets the icon of the comment submitter
|
||||||
*
|
*
|
||||||
* @name Paste.getIcon
|
* @name Comment.getIcon
|
||||||
* @function
|
* @function
|
||||||
* @return {string}
|
* @return {string}
|
||||||
*/
|
*/
|
||||||
@ -228,7 +235,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
'<': '<',
|
'<': '<',
|
||||||
'>': '>',
|
'>': '>',
|
||||||
'"': '"',
|
'"': '"',
|
||||||
"'": ''',
|
'\'': ''',
|
||||||
'/': '/',
|
'/': '/',
|
||||||
'`': '`',
|
'`': '`',
|
||||||
'=': '='
|
'=': '='
|
||||||
@ -627,7 +634,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
* @prop {string[]}
|
* @prop {string[]}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
const supportedLanguages = ['ar', 'bg', 'ca', 'co', 'cs', 'de', 'el', 'es', 'et', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'jbo', 'lt', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sk', 'sl', 'th', 'tr', 'uk', 'zh'];
|
const supportedLanguages = ['ar', 'bg', 'ca', 'co', 'cs', 'de', 'el', 'es', 'et', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'jbo', 'lt', 'no', 'nl', 'pl', 'pt', 'oc', 'ro', 'ru', 'sk', 'sl', 'th', 'tr', 'uk', 'zh'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* built in language
|
* built in language
|
||||||
@ -790,6 +797,18 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
return output;
|
return output;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get currently loaded language
|
||||||
|
*
|
||||||
|
* @name I18n.getLanguage
|
||||||
|
* @function
|
||||||
|
* @return {string}
|
||||||
|
*/
|
||||||
|
me.getLanguage = function()
|
||||||
|
{
|
||||||
|
return language;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* per language functions to use to determine the plural form
|
* per language functions to use to determine the plural form
|
||||||
*
|
*
|
||||||
@ -824,6 +843,8 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
return n % 10 === 1 && n % 100 !== 11 ? 0 : ((n % 10 >= 2 && n % 100 < 10 || n % 100 >= 20) ? 1 : 2);
|
return n % 10 === 1 && n % 100 !== 11 ? 0 : ((n % 10 >= 2 && n % 100 < 10 || n % 100 >= 20) ? 1 : 2);
|
||||||
case 'pl':
|
case 'pl':
|
||||||
return n === 1 ? 0 : (n % 10 >= 2 && n %10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);
|
return n === 1 ? 0 : (n % 10 >= 2 && n %10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);
|
||||||
|
case 'ro':
|
||||||
|
return n === 1 ? 0 : ((n === 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2);
|
||||||
case 'ru':
|
case 'ru':
|
||||||
case 'uk':
|
case 'uk':
|
||||||
return n % 10 === 1 && n % 100 !== 11 ? 0 : (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);
|
return n % 10 === 1 && n % 100 !== 11 ? 0 : (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);
|
||||||
@ -847,7 +868,10 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
|
|
||||||
// auto-select language based on browser settings
|
// auto-select language based on browser settings
|
||||||
if (newLanguage.length === 0) {
|
if (newLanguage.length === 0) {
|
||||||
newLanguage = (navigator.language || navigator.userLanguage || 'en').substring(0, 2);
|
newLanguage = (navigator.language || navigator.userLanguage || 'en');
|
||||||
|
if (newLanguage.indexOf('-') > 0) {
|
||||||
|
newLanguage = newLanguage.split('-')[0];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if language is already used skip update
|
// if language is already used skip update
|
||||||
@ -1497,10 +1521,11 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
me.getPasteKey = function()
|
me.getPasteKey = function()
|
||||||
{
|
{
|
||||||
if (symmetricKey === null) {
|
if (symmetricKey === null) {
|
||||||
let newKey = window.location.hash.substring(1);
|
let startPos = 1;
|
||||||
if (newKey === '') {
|
if(window.location.hash.startsWith(loadConfirmPrefix)) {
|
||||||
throw 'no encryption key given';
|
startPos = loadConfirmPrefix.length;
|
||||||
}
|
}
|
||||||
|
let newKey = window.location.hash.substring(startPos);
|
||||||
|
|
||||||
// Some web 2.0 services and redirectors add data AFTER the anchor
|
// Some web 2.0 services and redirectors add data AFTER the anchor
|
||||||
// (such as &utm_source=...). We will strip any additional data.
|
// (such as &utm_source=...). We will strip any additional data.
|
||||||
@ -1509,6 +1534,9 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
{
|
{
|
||||||
newKey = newKey.substring(0, ampersandPos);
|
newKey = newKey.substring(0, ampersandPos);
|
||||||
}
|
}
|
||||||
|
if (newKey === '') {
|
||||||
|
throw 'no encryption key given';
|
||||||
|
}
|
||||||
|
|
||||||
// version 2 uses base58, version 1 uses base64 without decoding
|
// version 2 uses base58, version 1 uses base64 without decoding
|
||||||
try {
|
try {
|
||||||
@ -2020,29 +2048,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
xhrFields: {
|
xhrFields: {
|
||||||
withCredentials: false
|
withCredentials: false
|
||||||
},
|
},
|
||||||
success: function(response) {
|
success: PasteStatus.extractUrl
|
||||||
let responseString = response;
|
|
||||||
if (typeof responseString === 'object') {
|
|
||||||
responseString = JSON.stringify(responseString);
|
|
||||||
}
|
|
||||||
if (typeof responseString === 'string' && responseString.length > 0) {
|
|
||||||
const shortUrlMatcher = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g;
|
|
||||||
const shortUrl = (responseString.match(shortUrlMatcher) || []).sort(function(a, b) {
|
|
||||||
return a.length - b.length;
|
|
||||||
})[0];
|
|
||||||
if (typeof shortUrl === 'string' && shortUrl.length > 0) {
|
|
||||||
// we disable the button to avoid calling shortener again
|
|
||||||
$shortenButton.addClass('buttondisabled');
|
|
||||||
// update link
|
|
||||||
$pasteUrl.text(shortUrl);
|
|
||||||
$pasteUrl.prop('href', shortUrl);
|
|
||||||
// we pre-select the link so that the user only has to [Ctrl]+[c] the link
|
|
||||||
Helper.selectText($pasteUrl[0]);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Alert.showError('Cannot parse response from URL shortener.');
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.fail(function(data, textStatus, errorThrown) {
|
.fail(function(data, textStatus, errorThrown) {
|
||||||
console.error(textStatus, errorThrown);
|
console.error(textStatus, errorThrown);
|
||||||
@ -2108,6 +2114,50 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
Helper.selectText($pasteUrl[0]);
|
Helper.selectText($pasteUrl[0]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* extracts URLs from given string
|
||||||
|
*
|
||||||
|
* if at least one is found, it disables the shortener button and
|
||||||
|
* replaces the paste URL
|
||||||
|
*
|
||||||
|
* @name PasteStatus.extractUrl
|
||||||
|
* @function
|
||||||
|
* @param {string} response
|
||||||
|
*/
|
||||||
|
me.extractUrl = function(response)
|
||||||
|
{
|
||||||
|
if (typeof response === 'object') {
|
||||||
|
response = JSON.stringify(response);
|
||||||
|
}
|
||||||
|
if (typeof response === 'string' && response.length > 0) {
|
||||||
|
const shortUrlMatcher = /https?:\/\/[^\s"<]+/g; // JSON API will have URL in quotes, XML in tags
|
||||||
|
const shortUrl = (response.match(shortUrlMatcher) || []).filter(function(urlRegExMatch) {
|
||||||
|
if (typeof URL.canParse === 'function') {
|
||||||
|
return URL.canParse(urlRegExMatch);
|
||||||
|
}
|
||||||
|
// polyfill for older browsers (< 120) & node (< 19.9 & < 18.17)
|
||||||
|
try {
|
||||||
|
return !!new URL(urlRegExMatch);
|
||||||
|
} catch (error) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}).sort(function(a, b) {
|
||||||
|
return a.length - b.length; // shortest first
|
||||||
|
})[0];
|
||||||
|
if (typeof shortUrl === 'string' && shortUrl.length > 0) {
|
||||||
|
// we disable the button to avoid calling shortener again
|
||||||
|
$shortenButton.addClass('buttondisabled');
|
||||||
|
// update link
|
||||||
|
$pasteUrl.text(shortUrl);
|
||||||
|
$pasteUrl.prop('href', shortUrl);
|
||||||
|
// we pre-select the link so that the user only has to [Ctrl]+[c] the link
|
||||||
|
Helper.selectText($pasteUrl[0]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Alert.showError('Cannot parse response from URL shortener.');
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shows the remaining time
|
* shows the remaining time
|
||||||
*
|
*
|
||||||
@ -2213,6 +2263,34 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
PasteDecrypter.run();
|
PasteDecrypter.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request users confirmation to load possibly burn after reading paste
|
||||||
|
*
|
||||||
|
* @name Prompt.requestLoadConfirmation
|
||||||
|
* @function
|
||||||
|
*/
|
||||||
|
me.requestLoadConfirmation = function()
|
||||||
|
{
|
||||||
|
const $loadconfirmmodal = $('#loadconfirmmodal');
|
||||||
|
if ($loadconfirmmodal.length > 0) {
|
||||||
|
const $loadconfirmOpenNow = $loadconfirmmodal.find('#loadconfirm-open-now');
|
||||||
|
$loadconfirmOpenNow.off('click.loadPaste');
|
||||||
|
$loadconfirmOpenNow.on('click.loadPaste', PasteDecrypter.run);
|
||||||
|
const $loadconfirmClose = $loadconfirmmodal.find('.close');
|
||||||
|
$loadconfirmClose.off('click.close');
|
||||||
|
$loadconfirmClose.on('click.close', Controller.newPaste);
|
||||||
|
$loadconfirmmodal.modal('show');
|
||||||
|
} else {
|
||||||
|
if (window.confirm(
|
||||||
|
I18n._('Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?')
|
||||||
|
)) {
|
||||||
|
PasteDecrypter.run();
|
||||||
|
} else {
|
||||||
|
Controller.newPaste();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ask the user for the password and set it
|
* ask the user for the password and set it
|
||||||
*
|
*
|
||||||
@ -2227,6 +2305,12 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
backdrop: 'static',
|
backdrop: 'static',
|
||||||
keyboard: false
|
keyboard: false
|
||||||
});
|
});
|
||||||
|
// focus password input
|
||||||
|
$passwordDecrypt.focus();
|
||||||
|
// then re-focus it, when modal causes it to loose focus again
|
||||||
|
setTimeout(function () {
|
||||||
|
$passwordDecrypt.focus();
|
||||||
|
}, 500);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2286,13 +2370,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
$passwordForm = $('#passwordform');
|
$passwordForm = $('#passwordform');
|
||||||
$passwordModal = $('#passwordmodal');
|
$passwordModal = $('#passwordmodal');
|
||||||
|
|
||||||
// bind events
|
// bind events - handle Model password submission
|
||||||
|
|
||||||
// focus password input when it is shown
|
|
||||||
$passwordModal.on('shown.bs.Model', function () {
|
|
||||||
$passwordDecrypt.focus();
|
|
||||||
});
|
|
||||||
// handle Model password submission
|
|
||||||
$passwordForm.submit(submitPasswordModal);
|
$passwordForm.submit(submitPasswordModal);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3526,7 +3604,6 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
if (fadeOut === true) {
|
if (fadeOut === true) {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
$comment.removeClass('highlight');
|
$comment.removeClass('highlight');
|
||||||
|
|
||||||
}, 300);
|
}, 300);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -3774,6 +3851,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
{
|
{
|
||||||
document.cookie = 'lang=' + $(event.target).data('lang') + ';secure';
|
document.cookie = 'lang=' + $(event.target).data('lang') + ';secure';
|
||||||
UiHelper.reloadHome();
|
UiHelper.reloadHome();
|
||||||
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -3929,10 +4007,6 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
const $emailconfirmmodal = $('#emailconfirmmodal');
|
const $emailconfirmmodal = $('#emailconfirmmodal');
|
||||||
if ($emailconfirmmodal.length > 0) {
|
if ($emailconfirmmodal.length > 0) {
|
||||||
if (expirationDate !== null) {
|
if (expirationDate !== null) {
|
||||||
I18n._(
|
|
||||||
$emailconfirmmodal.find('#emailconfirm-display'),
|
|
||||||
'Recipient may become aware of your timezone, convert time to UTC?'
|
|
||||||
);
|
|
||||||
const $emailconfirmTimezoneCurrent = $emailconfirmmodal.find('#emailconfirm-timezone-current');
|
const $emailconfirmTimezoneCurrent = $emailconfirmmodal.find('#emailconfirm-timezone-current');
|
||||||
const $emailconfirmTimezoneUtc = $emailconfirmmodal.find('#emailconfirm-timezone-utc');
|
const $emailconfirmTimezoneUtc = $emailconfirmmodal.find('#emailconfirm-timezone-utc');
|
||||||
$emailconfirmTimezoneCurrent.off('click.sendEmailCurrentTimezone');
|
$emailconfirmTimezoneCurrent.off('click.sendEmailCurrentTimezone');
|
||||||
@ -4787,7 +4861,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
|
|
||||||
// show notification
|
// show notification
|
||||||
const baseUri = Helper.baseUri() + '?',
|
const baseUri = Helper.baseUri() + '?',
|
||||||
url = baseUri + data.id + '#' + CryptTool.base58encode(data.encryptionKey),
|
url = baseUri + data.id + (TopNav.getBurnAfterReading() ? loadConfirmPrefix : '#') + CryptTool.base58encode(data.encryptionKey),
|
||||||
deleteUrl = baseUri + 'pasteid=' + data.id + '&deletetoken=' + data.deletetoken;
|
deleteUrl = baseUri + 'pasteid=' + data.id + '&deletetoken=' + data.deletetoken;
|
||||||
PasteStatus.createPasteNotification(url, deleteUrl);
|
PasteStatus.createPasteNotification(url, deleteUrl);
|
||||||
|
|
||||||
@ -5206,7 +5280,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
Alert.hideMessages();
|
Alert.hideMessages();
|
||||||
Alert.showLoading('Decrypting paste…', 'cloud-download');
|
Alert.showLoading('Decrypting paste…', 'cloud-download');
|
||||||
|
|
||||||
if (typeof paste === 'undefined') {
|
if (typeof paste === 'undefined' || paste.type === 'click') {
|
||||||
// get cipher data and wait until it is available
|
// get cipher data and wait until it is available
|
||||||
Model.getPasteData(me.run);
|
Model.getPasteData(me.run);
|
||||||
return;
|
return;
|
||||||
@ -5313,7 +5387,10 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
AttachmentViewer.removeAttachmentData();
|
AttachmentViewer.removeAttachmentData();
|
||||||
|
|
||||||
Alert.hideLoading();
|
Alert.hideLoading();
|
||||||
|
// only push new state if we are coming from a different one
|
||||||
|
if (Helper.baseUri() != window.location) {
|
||||||
history.pushState({type: 'create'}, document.title, Helper.baseUri());
|
history.pushState({type: 'create'}, document.title, Helper.baseUri());
|
||||||
|
}
|
||||||
|
|
||||||
// clear discussion
|
// clear discussion
|
||||||
DiscussionViewer.prepareNewDiscussion();
|
DiscussionViewer.prepareNewDiscussion();
|
||||||
@ -5339,6 +5416,12 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check if we should request loading confirmation
|
||||||
|
if(window.location.hash.startsWith(loadConfirmPrefix)) {
|
||||||
|
Prompt.requestLoadConfirmation();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// show proper elements on screen
|
// show proper elements on screen
|
||||||
PasteDecrypter.run();
|
PasteDecrypter.run();
|
||||||
};
|
};
|
||||||
|
File diff suppressed because one or more lines are too long
2
js/purify-3.0.8.js
Normal file
2
js/purify-3.0.8.js
Normal file
File diff suppressed because one or more lines are too long
@ -96,36 +96,34 @@ describe('Helper', function () {
|
|||||||
jsc.property(
|
jsc.property(
|
||||||
'replaces URLs with anchors',
|
'replaces URLs with anchors',
|
||||||
'string',
|
'string',
|
||||||
jsc.elements(['http', 'https', 'ftp']),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
|
||||||
jsc.array(common.jscQueryString()),
|
|
||||||
jsc.array(common.jscHashString()),
|
jsc.array(common.jscHashString()),
|
||||||
'string',
|
'string',
|
||||||
function (prefix, schema, address, query, fragment, postfix) {
|
function (prefix, url, fragment, postfix) {
|
||||||
query = query.join('');
|
|
||||||
fragment = fragment.join('');
|
|
||||||
prefix = prefix.replace(/\r|\f/g, '\n').replace(/\u0000/g, '').replace(/\u000b/g, '');
|
prefix = prefix.replace(/\r|\f/g, '\n').replace(/\u0000/g, '').replace(/\u000b/g, '');
|
||||||
postfix = ' ' + postfix.replace(/\r/g, '\n').replace(/\u0000/g, '');
|
postfix = ' ' + postfix.replace(/\r/g, '\n').replace(/\u0000/g, '');
|
||||||
let url = schema + '://' + address.join('') + '/?' + query + '#' + fragment,
|
url.fragment = fragment.join('');
|
||||||
|
let urlString = common.urlToString(url),
|
||||||
clean = jsdom();
|
clean = jsdom();
|
||||||
$('body').html('<div id="foo"></div>');
|
$('body').html('<div id="foo"></div>');
|
||||||
let e = $('#foo');
|
let e = $('#foo');
|
||||||
|
|
||||||
// special cases: When the query string and fragment imply the beginning of an HTML entity, eg. � or &#x
|
// special cases: When the query string and fragment imply the beginning of an HTML entity, eg. � or &#x
|
||||||
if (
|
if (
|
||||||
query.slice(-1) === '&' &&
|
url.query[-1] === '&' &&
|
||||||
(parseInt(fragment.substring(0, 1), 10) >= 0 || fragment.charAt(0) === 'x' )
|
(parseInt(url.fragment.charAt(0), 10) >= 0 || url.fragment.charAt(0) === 'x')
|
||||||
)
|
) {
|
||||||
{
|
url.query.pop();
|
||||||
url = schema + '://' + address.join('') + '/?' + query.substring(0, query.length - 1);
|
urlString = common.urlToString(url);
|
||||||
postfix = '';
|
postfix = '';
|
||||||
}
|
}
|
||||||
e.text(prefix + url + postfix);
|
e.text(prefix + urlString + postfix);
|
||||||
$.PrivateBin.Helper.urls2links(e);
|
$.PrivateBin.Helper.urls2links(e);
|
||||||
let result = e.html();
|
let result = e.html();
|
||||||
clean();
|
clean();
|
||||||
url = $('<div />').text(url).html();
|
urlString = $('<div />').text(urlString).html();
|
||||||
return $('<div />').text(prefix).html() + '<a href="' + url + '" target="_blank" rel="nofollow noopener noreferrer">' + url + '</a>' + $('<div />').text(postfix).html() === result;
|
const expected = $('<div />').text(prefix).html() + '<a href="' + urlString + '" target="_blank" rel="nofollow noopener noreferrer">' + urlString + '</a>' + $('<div />').text(postfix).html();
|
||||||
|
return $('<div />').text(prefix).html() + '<a href="' + urlString + '" target="_blank" rel="nofollow noopener noreferrer">' + urlString + '</a>' + $('<div />').text(postfix).html() === result;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
jsc.property(
|
jsc.property(
|
||||||
@ -261,16 +259,16 @@ describe('Helper', function () {
|
|||||||
this.timeout(30000);
|
this.timeout(30000);
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'returns the URL without query & fragment',
|
'returns the URL without query & fragment',
|
||||||
jsc.elements(['http', 'https']),
|
common.jscSchemas(false),
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(),
|
||||||
jsc.array(common.jscA2zString()),
|
function (schema, url) {
|
||||||
jsc.array(common.jscQueryString()),
|
url.schema = schema;
|
||||||
'string',
|
const fullUrl = common.urlToString(url);
|
||||||
function (schema, address, path, query, fragment) {
|
delete(url.query);
|
||||||
|
delete(url.fragment);
|
||||||
$.PrivateBin.Helper.reset();
|
$.PrivateBin.Helper.reset();
|
||||||
var path = path.join('') + (path.length > 0 ? '/' : ''),
|
const expected = common.urlToString(url),
|
||||||
expected = schema + '://' + address.join('') + '/' + path,
|
clean = jsdom('', {url: fullUrl}),
|
||||||
clean = jsdom('', {url: expected + '?' + query.join('') + '#' + fragment}),
|
|
||||||
result = $.PrivateBin.Helper.baseUri();
|
result = $.PrivateBin.Helper.baseUri();
|
||||||
clean();
|
clean();
|
||||||
return expected === result;
|
return expected === result;
|
||||||
|
@ -193,10 +193,11 @@ describe('I18n', function () {
|
|||||||
// mock
|
// mock
|
||||||
clean = jsdom('', {cookie: ['lang=' + language]});
|
clean = jsdom('', {cookie: ['lang=' + language]});
|
||||||
$.PrivateBin.I18n.reset(language, require('../../i18n/' + language + '.json'));
|
$.PrivateBin.I18n.reset(language, require('../../i18n/' + language + '.json'));
|
||||||
var result = $.PrivateBin.I18n.translate('en'),
|
var loadedLang = $.PrivateBin.I18n.getLanguage(),
|
||||||
alias = $.PrivateBin.I18n._('en');
|
result = $.PrivateBin.I18n.translate('Never'),
|
||||||
|
alias = $.PrivateBin.I18n._('Never');
|
||||||
clean();
|
clean();
|
||||||
return language === result && language === alias;
|
return language === loadedLang && result === alias;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -216,13 +217,12 @@ describe('I18n', function () {
|
|||||||
|
|
||||||
$.PrivateBin.I18n.reset('en');
|
$.PrivateBin.I18n.reset('en');
|
||||||
$.PrivateBin.I18n.loadTranslations();
|
$.PrivateBin.I18n.loadTranslations();
|
||||||
var result = $.PrivateBin.I18n.translate('en'),
|
var result = $.PrivateBin.I18n.translate('Never'),
|
||||||
alias = $.PrivateBin.I18n._('en');
|
alias = $.PrivateBin.I18n._('Never');
|
||||||
|
|
||||||
clean();
|
clean();
|
||||||
return 'en' === result && 'en' === alias;
|
return 'Never' === result && 'Never' === alias;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
110
js/test/Model.js
110
js/test/Model.js
@ -80,23 +80,22 @@ describe('Model', function () {
|
|||||||
|
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'returns the query string without separator, if any',
|
'returns the query string without separator, if any',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(true, false),
|
||||||
jsc.nearray(common.jscA2zString()),
|
|
||||||
jsc.tuple(new Array(16).fill(common.jscHexString)),
|
jsc.tuple(new Array(16).fill(common.jscHexString)),
|
||||||
jsc.array(common.jscQueryString()),
|
jsc.array(common.jscQueryString()),
|
||||||
jsc.array(common.jscQueryString()),
|
jsc.array(common.jscQueryString()),
|
||||||
'string',
|
function (url, pasteId, queryStart, queryEnd) {
|
||||||
function (schema, address, pasteId, queryStart, queryEnd, fragment) {
|
if (queryStart.length > 0) {
|
||||||
var pasteIdString = pasteId.join(''),
|
queryStart.push('&');
|
||||||
queryStartString = queryStart.join('') + (queryStart.length > 0 ? '&' : ''),
|
}
|
||||||
queryEndString = (queryEnd.length > 0 ? '&' : '') + queryEnd.join(''),
|
if (queryEnd.length > 0) {
|
||||||
queryString = queryStartString + pasteIdString + queryEndString,
|
queryEnd.unshift('&');
|
||||||
clean = jsdom('', {
|
}
|
||||||
url: schema.join('') + '://' + address.join('') +
|
url.query = queryStart.concat(pasteId, queryEnd);
|
||||||
'/?' + queryString + '#' + fragment
|
const pasteIdString = pasteId.join(''),
|
||||||
});
|
clean = jsdom('', {url: common.urlToString(url)});
|
||||||
global.URL = require('jsdom-url').URL;
|
global.URL = require('jsdom-url').URL;
|
||||||
var result = $.PrivateBin.Model.getPasteId();
|
const result = $.PrivateBin.Model.getPasteId();
|
||||||
$.PrivateBin.Model.reset();
|
$.PrivateBin.Model.reset();
|
||||||
clean();
|
clean();
|
||||||
return pasteIdString === result;
|
return pasteIdString === result;
|
||||||
@ -104,14 +103,9 @@ describe('Model', function () {
|
|||||||
);
|
);
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'throws exception on empty query string',
|
'throws exception on empty query string',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(true, false),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (url) {
|
||||||
'string',
|
let clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
function (schema, address, fragment) {
|
|
||||||
var clean = jsdom('', {
|
|
||||||
url: schema.join('') + '://' + address.join('') +
|
|
||||||
'/#' + fragment
|
|
||||||
}),
|
|
||||||
result = false;
|
result = false;
|
||||||
global.URL = require('jsdom-url').URL;
|
global.URL = require('jsdom-url').URL;
|
||||||
try {
|
try {
|
||||||
@ -135,35 +129,24 @@ describe('Model', function () {
|
|||||||
|
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'returns the fragment of a v1 URL',
|
'returns the fragment of a v1 URL',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (url) {
|
||||||
jsc.array(common.jscQueryString()),
|
url.fragment = common.btoa(url.fragment.padStart(32, '\u0000'));
|
||||||
'nestring',
|
const clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
function (schema, address, query, fragment) {
|
|
||||||
const fragmentString = common.btoa(fragment.padStart(32, '\u0000'));
|
|
||||||
let clean = jsdom('', {
|
|
||||||
url: schema.join('') + '://' + address.join('') +
|
|
||||||
'/?' + query.join('') + '#' + fragmentString
|
|
||||||
}),
|
|
||||||
result = $.PrivateBin.Model.getPasteKey();
|
result = $.PrivateBin.Model.getPasteKey();
|
||||||
$.PrivateBin.Model.reset();
|
$.PrivateBin.Model.reset();
|
||||||
clean();
|
clean();
|
||||||
return fragmentString === result;
|
return url.fragment === result;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'returns the v1 fragment stripped of trailing query parts',
|
'returns the v1 fragment stripped of trailing query parts',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
|
||||||
jsc.array(common.jscQueryString()),
|
|
||||||
'nestring',
|
|
||||||
jsc.array(common.jscHashString()),
|
jsc.array(common.jscHashString()),
|
||||||
function (schema, address, query, fragment, trail) {
|
function (url, trail) {
|
||||||
const fragmentString = common.btoa(fragment.padStart(32, '\u0000'));
|
const fragmentString = common.btoa(url.fragment.padStart(32, '\u0000'));
|
||||||
let clean = jsdom('', {
|
url.fragment = fragmentString + '&' + trail.join('');
|
||||||
url: schema.join('') + '://' + address.join('') + '/?' +
|
const clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
query.join('') + '#' + fragmentString + '&' + trail.join('')
|
|
||||||
}),
|
|
||||||
result = $.PrivateBin.Model.getPasteKey();
|
result = $.PrivateBin.Model.getPasteKey();
|
||||||
$.PrivateBin.Model.reset();
|
$.PrivateBin.Model.reset();
|
||||||
clean();
|
clean();
|
||||||
@ -172,18 +155,12 @@ describe('Model', function () {
|
|||||||
);
|
);
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'returns the fragment of a v2 URL',
|
'returns the fragment of a v2 URL',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (url) {
|
||||||
jsc.array(common.jscQueryString()),
|
|
||||||
'nestring',
|
|
||||||
function (schema, address, query, fragment) {
|
|
||||||
// base58 strips leading NULL bytes, so the string is padded with these if not found
|
// base58 strips leading NULL bytes, so the string is padded with these if not found
|
||||||
fragment = fragment.padStart(32, '\u0000');
|
const fragment = url.fragment.padStart(32, '\u0000');
|
||||||
let fragmentString = $.PrivateBin.CryptTool.base58encode(fragment),
|
url.fragment = $.PrivateBin.CryptTool.base58encode(fragment);
|
||||||
clean = jsdom('', {
|
const clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
url: schema.join('') + '://' + address.join('') +
|
|
||||||
'/?' + query.join('') + '#' + fragmentString
|
|
||||||
}),
|
|
||||||
result = $.PrivateBin.Model.getPasteKey();
|
result = $.PrivateBin.Model.getPasteKey();
|
||||||
$.PrivateBin.Model.reset();
|
$.PrivateBin.Model.reset();
|
||||||
clean();
|
clean();
|
||||||
@ -192,19 +169,13 @@ describe('Model', function () {
|
|||||||
);
|
);
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'returns the v2 fragment stripped of trailing query parts',
|
'returns the v2 fragment stripped of trailing query parts',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
|
||||||
jsc.array(common.jscQueryString()),
|
|
||||||
'nestring',
|
|
||||||
jsc.array(common.jscHashString()),
|
jsc.array(common.jscHashString()),
|
||||||
function (schema, address, query, fragment, trail) {
|
function (url, trail) {
|
||||||
// base58 strips leading NULL bytes, so the string is padded with these if not found
|
// base58 strips leading NULL bytes, so the string is padded with these if not found
|
||||||
fragment = fragment.padStart(32, '\u0000');
|
const fragment = url.fragment.padStart(32, '\u0000');
|
||||||
let fragmentString = $.PrivateBin.CryptTool.base58encode(fragment),
|
url.fragment = $.PrivateBin.CryptTool.base58encode(fragment) + '&' + trail.join('');
|
||||||
clean = jsdom('', {
|
const clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
url: schema.join('') + '://' + address.join('') + '/?' +
|
|
||||||
query.join('') + '#' + fragmentString + '&' + trail.join('')
|
|
||||||
}),
|
|
||||||
result = $.PrivateBin.Model.getPasteKey();
|
result = $.PrivateBin.Model.getPasteKey();
|
||||||
$.PrivateBin.Model.reset();
|
$.PrivateBin.Model.reset();
|
||||||
clean();
|
clean();
|
||||||
@ -213,14 +184,9 @@ describe('Model', function () {
|
|||||||
);
|
);
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'throws exception on empty fragment of the URL',
|
'throws exception on empty fragment of the URL',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(false),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (url) {
|
||||||
jsc.array(common.jscQueryString()),
|
let clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
function (schema, address, query) {
|
|
||||||
var clean = jsdom('', {
|
|
||||||
url: schema.join('') + '://' + address.join('') +
|
|
||||||
'/?' + query.join('')
|
|
||||||
}),
|
|
||||||
result = false;
|
result = false;
|
||||||
try {
|
try {
|
||||||
$.PrivateBin.Model.getPasteKey();
|
$.PrivateBin.Model.getPasteKey();
|
||||||
|
@ -1,32 +1,39 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
var common = require('../common');
|
var common = require('../common');
|
||||||
|
|
||||||
|
function urlStrings(schema, longUrl, shortUrl) {
|
||||||
|
longUrl.schema = schema;
|
||||||
|
shortUrl.schema = schema;
|
||||||
|
let longUrlString = common.urlToString(longUrl),
|
||||||
|
shortUrlString = common.urlToString(shortUrl);
|
||||||
|
// ensure the two random URLs actually are sorted as expected
|
||||||
|
if (longUrlString.length <= shortUrlString.length) {
|
||||||
|
if (longUrlString.length === shortUrlString.length) {
|
||||||
|
longUrl.address.unshift('a');
|
||||||
|
longUrlString = common.urlToString(longUrl);
|
||||||
|
} else {
|
||||||
|
[longUrlString, shortUrlString] = [shortUrlString, longUrlString];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return [longUrlString, shortUrlString];
|
||||||
|
}
|
||||||
|
|
||||||
describe('PasteStatus', function () {
|
describe('PasteStatus', function () {
|
||||||
describe('createPasteNotification', function () {
|
describe('createPasteNotification', function () {
|
||||||
this.timeout(30000);
|
this.timeout(30000);
|
||||||
|
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'creates a notification after a successfull paste upload',
|
'creates a notification after a successfull paste upload',
|
||||||
common.jscSchemas(),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(false),
|
||||||
jsc.array(common.jscQueryString()),
|
function (url1, url2) {
|
||||||
'string',
|
const expected1 = common.urlToString(url1).replace(/&(gt|lt)$/, '&$1a'),
|
||||||
common.jscSchemas(),
|
expected2 = common.urlToString(url2).replace(/&(gt|lt)$/, '&$1a'),
|
||||||
jsc.nearray(common.jscA2zString()),
|
|
||||||
jsc.array(common.jscQueryString()),
|
|
||||||
function (
|
|
||||||
schema1, address1, query1, fragment1,
|
|
||||||
schema2, address2, query2
|
|
||||||
) {
|
|
||||||
var expected1 = schema1 + '://' + address1.join('') + '/?' +
|
|
||||||
encodeURI(query1.join('').replace(/^&+|&+$/gm,'') + '#' + fragment1),
|
|
||||||
expected2 = schema2 + '://' + address2.join('') + '/?' +
|
|
||||||
encodeURI(query2.join('').replace(/^&+|&+$/gm,'')),
|
|
||||||
clean = jsdom();
|
clean = jsdom();
|
||||||
$('body').html('<div><div id="deletelink"></div><div id="pastelink"></div></div>');
|
$('body').html('<div><div id="deletelink"></div><div id="pastelink"></div></div>');
|
||||||
$.PrivateBin.PasteStatus.init();
|
$.PrivateBin.PasteStatus.init();
|
||||||
$.PrivateBin.PasteStatus.createPasteNotification(expected1, expected2);
|
$.PrivateBin.PasteStatus.createPasteNotification(expected1, expected2);
|
||||||
var result1 = $('#pasteurl')[0].href,
|
const result1 = $('#pasteurl')[0].href,
|
||||||
result2 = $('#deletelink a')[0].href;
|
result2 = $('#deletelink a')[0].href;
|
||||||
clean();
|
clean();
|
||||||
return result1 === expected1 && result2 === expected2;
|
return result1 === expected1 && result2 === expected2;
|
||||||
@ -34,6 +41,138 @@ describe('PasteStatus', function () {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('extractUrl', function () {
|
||||||
|
this.timeout(30000);
|
||||||
|
|
||||||
|
jsc.property(
|
||||||
|
'extracts and updates IDN URLs found in given response',
|
||||||
|
common.jscSchemas(false),
|
||||||
|
'nestring',
|
||||||
|
common.jscUrl(),
|
||||||
|
function (schema, domain, url) {
|
||||||
|
domain = domain.replace(/\P{Letter}|[\u00AA-\u00BA]/gu, '').toLowerCase();
|
||||||
|
if (domain.length === 0) {
|
||||||
|
domain = 'a';
|
||||||
|
}
|
||||||
|
url.schema = schema;
|
||||||
|
url.address.unshift('.');
|
||||||
|
url.address = domain.split('').concat(url.address);
|
||||||
|
const urlString = common.urlToString(url),
|
||||||
|
expected = urlString.substring((schema + '://' + domain).length),
|
||||||
|
clean = jsdom();
|
||||||
|
|
||||||
|
$('body').html('<div><div id="pastelink"></div></div>');
|
||||||
|
$.PrivateBin.PasteStatus.init();
|
||||||
|
$.PrivateBin.PasteStatus.createPasteNotification('', '');
|
||||||
|
$.PrivateBin.PasteStatus.extractUrl(urlString);
|
||||||
|
|
||||||
|
const result = $('#pasteurl')[0].href;
|
||||||
|
clean();
|
||||||
|
|
||||||
|
return result.endsWith(expected) && (
|
||||||
|
result.startsWith(schema + '://xn--') ||
|
||||||
|
result.startsWith(schema + '://' + domain)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
// YOURLS API samples from: https://yourls.org/readme.html#API;apireturn
|
||||||
|
jsc.property(
|
||||||
|
'extracts and updates URLs found in YOURLS API JSON response',
|
||||||
|
common.jscSchemas(false),
|
||||||
|
common.jscUrl(),
|
||||||
|
common.jscUrl(false),
|
||||||
|
function (schema, longUrl, shortUrl) {
|
||||||
|
const [longUrlString, shortUrlString] = urlStrings(schema, longUrl, shortUrl),
|
||||||
|
yourlsResponse = {
|
||||||
|
url: {
|
||||||
|
keyword: longUrl.address.join(''),
|
||||||
|
url: longUrlString,
|
||||||
|
title: "example title",
|
||||||
|
date: "2014-10-24 16:01:39",
|
||||||
|
ip: "127.0.0.1"
|
||||||
|
},
|
||||||
|
status: "success",
|
||||||
|
message: longUrlString + " added to database",
|
||||||
|
title: "example title",
|
||||||
|
shorturl: shortUrlString,
|
||||||
|
statusCode: 200
|
||||||
|
},
|
||||||
|
clean = jsdom();
|
||||||
|
|
||||||
|
$('body').html('<div><div id="pastelink"></div></div>');
|
||||||
|
$.PrivateBin.PasteStatus.init();
|
||||||
|
$.PrivateBin.PasteStatus.createPasteNotification('', '');
|
||||||
|
$.PrivateBin.PasteStatus.extractUrl(JSON.stringify(yourlsResponse, undefined, 4));
|
||||||
|
|
||||||
|
const result = $('#pasteurl')[0].href;
|
||||||
|
clean();
|
||||||
|
|
||||||
|
return result === shortUrlString;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
jsc.property(
|
||||||
|
'extracts and updates URLs found in YOURLS API XML response',
|
||||||
|
common.jscSchemas(false),
|
||||||
|
common.jscUrl(),
|
||||||
|
common.jscUrl(false),
|
||||||
|
function (schema, longUrl, shortUrl) {
|
||||||
|
const [longUrlString, shortUrlString] = urlStrings(schema, longUrl, shortUrl),
|
||||||
|
yourlsResponse = '<result>\n' +
|
||||||
|
' <keyword>' + longUrl.address.join('') + '</keyword>\n' +
|
||||||
|
' <shorturl>' + shortUrlString + '</shorturl>\n' +
|
||||||
|
' <longurl>' + longUrlString + '</longurl>\n' +
|
||||||
|
' <message>success</message>\n' +
|
||||||
|
' <statusCode>200</statusCode>\n' +
|
||||||
|
'</result>',
|
||||||
|
clean = jsdom();
|
||||||
|
|
||||||
|
$('body').html('<div><div id="pastelink"></div></div>');
|
||||||
|
$.PrivateBin.PasteStatus.init();
|
||||||
|
$.PrivateBin.PasteStatus.createPasteNotification('', '');
|
||||||
|
$.PrivateBin.PasteStatus.extractUrl(yourlsResponse);
|
||||||
|
|
||||||
|
const result = $('#pasteurl')[0].href;
|
||||||
|
clean();
|
||||||
|
|
||||||
|
return result === shortUrlString;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
jsc.property(
|
||||||
|
'extracts and updates URLs found in YOURLS proxy HTML response',
|
||||||
|
common.jscSchemas(false),
|
||||||
|
common.jscUrl(),
|
||||||
|
common.jscUrl(false),
|
||||||
|
function (schema, longUrl, shortUrl) {
|
||||||
|
const [longUrlString, shortUrlString] = urlStrings(schema, longUrl, shortUrl),
|
||||||
|
yourlsResponse = '<!DOCTYPE html>\n' +
|
||||||
|
'<html lang="en">\n' +
|
||||||
|
'\t<head>\n' +
|
||||||
|
'\t\t<meta charset="utf-8" />\n' +
|
||||||
|
'\t\t<meta http-equiv="Content-Security-Policy" content="default-src \'none\'; base-uri \'self\'; form-action \'none\'; manifest-src \'self\'; connect-src * blob:; script-src \'self\' \'unsafe-eval\'; style-src \'self\'; font-src \'self\'; frame-ancestors \'none\'; img-src \'self\' data: blob:; media-src blob:; object-src blob:; sandbox allow-same-origin allow-scripts allow-forms allow-popups allow-modals allow-downloads">\n' +
|
||||||
|
'\t\t<meta name="robots" content="noindex" />\n' +
|
||||||
|
'\t\t<meta name="google" content="notranslate">\n' +
|
||||||
|
'\t\t<title>PrivateBin</title>\n' +
|
||||||
|
'\t</head>\n' +
|
||||||
|
'\t<body>\n' +
|
||||||
|
'\t\t<p>Your paste is <a id="pasteurl" href="' + shortUrlString + '">' + shortUrlString + '</a> <span id="copyhint">(Hit [Ctrl]+[c] to copy)</span></p>\n' +
|
||||||
|
'\t</body>\n' +
|
||||||
|
'</html>',
|
||||||
|
clean = jsdom();
|
||||||
|
|
||||||
|
$('body').html('<div><div id="pastelink"></div></div>');
|
||||||
|
$.PrivateBin.PasteStatus.init();
|
||||||
|
$.PrivateBin.PasteStatus.createPasteNotification('', '');
|
||||||
|
$.PrivateBin.PasteStatus.extractUrl(yourlsResponse);
|
||||||
|
|
||||||
|
const result = $('#pasteurl')[0].href;
|
||||||
|
clean();
|
||||||
|
|
||||||
|
return result === shortUrlString;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
describe('showRemainingTime', function () {
|
describe('showRemainingTime', function () {
|
||||||
this.timeout(30000);
|
this.timeout(30000);
|
||||||
|
|
||||||
@ -41,18 +180,9 @@ describe('PasteStatus', function () {
|
|||||||
'shows burn after reading message or remaining time v1',
|
'shows burn after reading message or remaining time v1',
|
||||||
'bool',
|
'bool',
|
||||||
'nat',
|
'nat',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (burnafterreading, remainingTime, url) {
|
||||||
jsc.nearray(common.jscQueryString()),
|
let clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
'string',
|
|
||||||
function (
|
|
||||||
burnafterreading, remainingTime,
|
|
||||||
schema, address, query, fragment
|
|
||||||
) {
|
|
||||||
var clean = jsdom('', {
|
|
||||||
url: schema.join('') + '://' + address.join('') +
|
|
||||||
'/?' + query.join('') + '#' + fragment
|
|
||||||
}),
|
|
||||||
result;
|
result;
|
||||||
$('body').html('<div id="remainingtime" class="hidden"></div>');
|
$('body').html('<div id="remainingtime" class="hidden"></div>');
|
||||||
$.PrivateBin.PasteStatus.init();
|
$.PrivateBin.PasteStatus.init();
|
||||||
@ -79,18 +209,9 @@ describe('PasteStatus', function () {
|
|||||||
'shows burn after reading message or remaining time v2',
|
'shows burn after reading message or remaining time v2',
|
||||||
'bool',
|
'bool',
|
||||||
'nat',
|
'nat',
|
||||||
jsc.nearray(common.jscA2zString()),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (burnafterreading, remainingTime, url) {
|
||||||
jsc.nearray(common.jscQueryString()),
|
let clean = jsdom('', {url: common.urlToString(url)}),
|
||||||
'string',
|
|
||||||
function (
|
|
||||||
burnafterreading, remainingTime,
|
|
||||||
schema, address, query, fragment
|
|
||||||
) {
|
|
||||||
var clean = jsdom('', {
|
|
||||||
url: schema.join('') + '://' + address.join('') +
|
|
||||||
'/?' + query.join('') + '#' + fragment
|
|
||||||
}),
|
|
||||||
result;
|
result;
|
||||||
$('body').html('<div id="remainingtime" class="hidden"></div>');
|
$('body').html('<div id="remainingtime" class="hidden"></div>');
|
||||||
$.PrivateBin.PasteStatus.init();
|
$.PrivateBin.PasteStatus.init();
|
||||||
|
@ -13,10 +13,9 @@ describe('UiHelper', function () {
|
|||||||
|
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'redirects to home, when the state is null',
|
'redirects to home, when the state is null',
|
||||||
common.jscSchemas(),
|
common.jscUrl(false, false),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (url) {
|
||||||
function (schema, address) {
|
const expected = common.urlToString(url),
|
||||||
var expected = schema + '://' + address.join('') + '/',
|
|
||||||
clean = jsdom('', {url: expected});
|
clean = jsdom('', {url: expected});
|
||||||
|
|
||||||
// make window.location.href writable
|
// make window.location.href writable
|
||||||
@ -34,13 +33,11 @@ describe('UiHelper', function () {
|
|||||||
|
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'does not redirect to home, when a new paste is created',
|
'does not redirect to home, when a new paste is created',
|
||||||
common.jscSchemas(),
|
common.jscUrl(false),
|
||||||
jsc.nearray(common.jscA2zString()),
|
|
||||||
jsc.array(common.jscQueryString()),
|
|
||||||
jsc.nearray(common.jscBase64String()),
|
jsc.nearray(common.jscBase64String()),
|
||||||
function (schema, address, query, fragment) {
|
function (url, fragment) {
|
||||||
var expected = schema + '://' + address.join('') + '/?' +
|
url.fragment = fragment.join('');
|
||||||
query.join('') + '#' + fragment.join(''),
|
const expected = common.urlToString(url),
|
||||||
clean = jsdom('', {url: expected});
|
clean = jsdom('', {url: expected});
|
||||||
|
|
||||||
// make window.location.href writable
|
// make window.location.href writable
|
||||||
@ -67,15 +64,12 @@ describe('UiHelper', function () {
|
|||||||
|
|
||||||
jsc.property(
|
jsc.property(
|
||||||
'redirects to home',
|
'redirects to home',
|
||||||
common.jscSchemas(),
|
common.jscUrl(),
|
||||||
jsc.nearray(common.jscA2zString()),
|
function (url) {
|
||||||
jsc.array(common.jscQueryString()),
|
const clean = jsdom('', {url: common.urlToString(url)});
|
||||||
jsc.nearray(common.jscBase64String()),
|
delete(url.query);
|
||||||
function (schema, address, query, fragment) {
|
delete(url.fragment);
|
||||||
var expected = schema + '://' + address.join('') + '/',
|
const expected = common.urlToString(url);
|
||||||
clean = jsdom('', {
|
|
||||||
url: expected + '?' + query.join('') + '#' + fragment.join('')
|
|
||||||
});
|
|
||||||
|
|
||||||
// make window.location.href writable
|
// make window.location.href writable
|
||||||
Object.defineProperty(window.location, 'href', {
|
Object.defineProperty(window.location, 'href', {
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
let buff;
|
let buff;
|
||||||
if (typeof fetch === 'undefined') {
|
if (typeof fs === 'object') {
|
||||||
buff = fs.readFileSync('zlib-1.2.13.wasm');
|
buff = fs.readFileSync('zlib-1.3.wasm');
|
||||||
} else {
|
} else {
|
||||||
const resp = await fetch('js/zlib-1.2.13.wasm');
|
const resp = await fetch('js/zlib-1.3.wasm');
|
||||||
buff = await resp.arrayBuffer();
|
buff = await resp.arrayBuffer();
|
||||||
}
|
}
|
||||||
const module = await WebAssembly.compile(buff);
|
const module = await WebAssembly.compile(buff);
|
Binary file not shown.
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
@ -28,7 +28,7 @@ class Controller
|
|||||||
*
|
*
|
||||||
* @const string
|
* @const string
|
||||||
*/
|
*/
|
||||||
const VERSION = '1.6.0';
|
const VERSION = '1.7.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* minimal required PHP version
|
* minimal required PHP version
|
||||||
@ -111,10 +111,12 @@ class Controller
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
if (version_compare(PHP_VERSION, self::MIN_PHP_VERSION) < 0) {
|
if (version_compare(PHP_VERSION, self::MIN_PHP_VERSION) < 0) {
|
||||||
throw new Exception(I18n::_('%s requires php %s or above to work. Sorry.', I18n::_('PrivateBin'), self::MIN_PHP_VERSION), 1);
|
error_log(I18n::_('%s requires php %s or above to work. Sorry.', I18n::_('PrivateBin'), self::MIN_PHP_VERSION));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (strlen(PATH) < 0 && substr(PATH, -1) !== DIRECTORY_SEPARATOR) {
|
if (strlen(PATH) < 0 && substr(PATH, -1) !== DIRECTORY_SEPARATOR) {
|
||||||
throw new Exception(I18n::_('%s requires the PATH to end in a "%s". Please update the PATH in your index.php.', I18n::_('PrivateBin'), DIRECTORY_SEPARATOR), 5);
|
error_log(I18n::_('%s requires the PATH to end in a "%s". Please update the PATH in your index.php.', I18n::_('PrivateBin'), DIRECTORY_SEPARATOR));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// load config from ini file, initialize required classes
|
// load config from ini file, initialize required classes
|
||||||
@ -250,7 +252,14 @@ class Controller
|
|||||||
}
|
}
|
||||||
// The user posts a standard paste.
|
// The user posts a standard paste.
|
||||||
else {
|
else {
|
||||||
|
try {
|
||||||
$this->_model->purge();
|
$this->_model->purge();
|
||||||
|
} catch (Exception $e) {
|
||||||
|
error_log('Error purging pastes: ' . $e->getMessage() . PHP_EOL .
|
||||||
|
'Use the administration scripts statistics to find ' .
|
||||||
|
'damaged paste IDs and either delete them or restore them ' .
|
||||||
|
'from backup.');
|
||||||
|
}
|
||||||
$paste = $this->_model->getPaste();
|
$paste = $this->_model->getPaste();
|
||||||
try {
|
try {
|
||||||
$paste->setData($data);
|
$paste->setData($data);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Data;
|
namespace PrivateBin\Data;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Data;
|
namespace PrivateBin\Data;
|
||||||
|
@ -7,12 +7,13 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Data;
|
namespace PrivateBin\Data;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
use GlobIterator;
|
||||||
use PrivateBin\Json;
|
use PrivateBin\Json;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -394,7 +395,7 @@ class Filesystem extends AbstractData
|
|||||||
public function getAllPastes()
|
public function getAllPastes()
|
||||||
{
|
{
|
||||||
$pastes = array();
|
$pastes = array();
|
||||||
foreach (new \GlobIterator($this->_path . self::PASTE_FILE_PATTERN) as $file) {
|
foreach (new GlobIterator($this->_path . self::PASTE_FILE_PATTERN) as $file) {
|
||||||
if ($file->isFile()) {
|
if ($file->isFile()) {
|
||||||
$pastes[] = $file->getBasename('.php');
|
$pastes[] = $file->getBasename('.php');
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* an S3 compatible data backend for PrivateBin with CEPH/RadosGW in mind
|
* an S3 compatible data backend for PrivateBin with CEPH/RadosGW in mind
|
||||||
* see https://docs.ceph.com/en/latest/radosgw/s3/php/
|
* see https://docs.ceph.com/en/latest/radosgw/s3/php/
|
||||||
* based on lib/Data/GoogleCloudStorage.php from PrivateBin version 1.6.0
|
* based on lib/Data/GoogleCloudStorage.php from PrivateBin version 1.7.0
|
||||||
*
|
*
|
||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2022 Felix J. Ogris (https://ogris.de/)
|
* @copyright 2022 Felix J. Ogris (https://ogris.de/)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
35
lib/I18n.php
35
lib/I18n.php
@ -7,11 +7,14 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
|
||||||
|
use AppendIterator;
|
||||||
|
use GlobIterator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* I18n
|
* I18n
|
||||||
*
|
*
|
||||||
@ -193,10 +196,14 @@ class I18n
|
|||||||
public static function getAvailableLanguages()
|
public static function getAvailableLanguages()
|
||||||
{
|
{
|
||||||
if (count(self::$_availableLanguages) == 0) {
|
if (count(self::$_availableLanguages) == 0) {
|
||||||
$i18n = dir(self::_getPath());
|
self::$_availableLanguages[] = 'en'; // en.json is not part of the release archive
|
||||||
while (false !== ($file = $i18n->read())) {
|
$languageIterator = new AppendIterator();
|
||||||
if (preg_match('/^([a-z]{2,3}).json$/', $file, $match) === 1) {
|
$languageIterator->append(new GlobIterator(self::_getPath('??.json')));
|
||||||
self::$_availableLanguages[] = $match[1];
|
$languageIterator->append(new GlobIterator(self::_getPath('???.json'))); // for jbo
|
||||||
|
foreach ($languageIterator as $file) {
|
||||||
|
$language = $file->getBasename('.json');
|
||||||
|
if ($language != 'en') {
|
||||||
|
self::$_availableLanguages[] = $language;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -272,6 +279,18 @@ class I18n
|
|||||||
return array_intersect_key(self::$_languageLabels, array_flip($languages));
|
return array_intersect_key(self::$_languageLabels, array_flip($languages));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* determines if the current language is written right-to-left (RTL)
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
* @static
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public static function isRtl()
|
||||||
|
{
|
||||||
|
return in_array(self::$_language, array('ar', 'he'));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set the default language
|
* set the default language
|
||||||
*
|
*
|
||||||
@ -296,10 +315,10 @@ class I18n
|
|||||||
*/
|
*/
|
||||||
protected static function _getPath($file = '')
|
protected static function _getPath($file = '')
|
||||||
{
|
{
|
||||||
if (strlen(self::$_path) == 0) {
|
if (empty(self::$_path)) {
|
||||||
self::$_path = PUBLIC_PATH . DIRECTORY_SEPARATOR . 'i18n';
|
self::$_path = PUBLIC_PATH . DIRECTORY_SEPARATOR . 'i18n';
|
||||||
}
|
}
|
||||||
return self::$_path . (strlen($file) ? DIRECTORY_SEPARATOR . $file : '');
|
return self::$_path . (empty($file) ? '' : DIRECTORY_SEPARATOR . $file);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -337,6 +356,8 @@ class I18n
|
|||||||
return $n % 10 === 1 && $n % 100 !== 11 ? 0 : (($n % 10 >= 2 && $n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
|
return $n % 10 === 1 && $n % 100 !== 11 ? 0 : (($n % 10 >= 2 && $n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
|
||||||
case 'pl':
|
case 'pl':
|
||||||
return $n === 1 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
|
return $n === 1 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
|
||||||
|
case 'ro':
|
||||||
|
return $n === 1 ? 0 : (($n === 0 || ($n % 100 > 0 && $n % 100 < 20)) ? 1 : 2);
|
||||||
case 'ru':
|
case 'ru':
|
||||||
case 'uk':
|
case 'uk':
|
||||||
return $n % 10 === 1 && $n % 100 != 11 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
|
return $n % 10 === 1 && $n % 100 != 11 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Model;
|
namespace PrivateBin\Model;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Model;
|
namespace PrivateBin\Model;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Model;
|
namespace PrivateBin\Model;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Persistence;
|
namespace PrivateBin\Persistence;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Persistence;
|
namespace PrivateBin\Persistence;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Persistence;
|
namespace PrivateBin\Persistence;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin\Persistence;
|
namespace PrivateBin\Persistence;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @link https://sebsauvage.net/wiki/doku.php?id=php:vizhash_gd
|
* @link https://sebsauvage.net/wiki/doku.php?id=php:vizhash_gd
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 0.0.5 beta PrivateBin 1.6.0
|
* @version 0.0.5 beta PrivateBin 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* @link https://github.com/PrivateBin/PrivateBin
|
* @link https://github.com/PrivateBin/PrivateBin
|
||||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||||
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||||
* @version 1.6.0
|
* @version 1.7.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace PrivateBin;
|
namespace PrivateBin;
|
||||||
|
@ -4,7 +4,7 @@ $isCpct = substr($template, 9, 8) === '-compact';
|
|||||||
$isDark = substr($template, 9, 5) === '-dark';
|
$isDark = substr($template, 9, 5) === '-dark';
|
||||||
$isPage = substr($template, -5) === '-page';
|
$isPage = substr($template, -5) === '-page';
|
||||||
?><!DOCTYPE html>
|
?><!DOCTYPE html>
|
||||||
<html lang="<?php echo I18n::_('en'); ?>">
|
<html lang="<?php echo I18n::getLanguage(); ?>"<?php echo I18n::isRtl() ? ' dir="rtl"' : ''; ?>>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="Content-Security-Policy" content="<?php echo I18n::encode($CSPHEADER); ?>">
|
<meta http-equiv="Content-Security-Policy" content="<?php echo I18n::encode($CSPHEADER); ?>">
|
||||||
@ -55,7 +55,7 @@ if ($ZEROBINCOMPATIBILITY) :
|
|||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" data-cfasync="false" src="js/zlib-1.2.13.js" integrity="sha512-Lv4PCbSge8B4odE2blatgggJ/mkX1Ak21e7jL8mY3vzrVHS8FGsrEoqCrizxIJB4sW3T2w5Q+RG7hhUvp7+9tw==" crossorigin="anonymous"></script>
|
<script type="text/javascript" data-cfasync="false" src="js/zlib-1.3.1.js" integrity="sha512-VL3lLnt8EexTr22ze4a4HfVghpgY48c/Lhf4CcQa8bgYaIRRPjV1nP7EA8RiciGoXXQ1IeiU7tjrclPeVEfxOQ==" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" data-cfasync="false" src="js/base-x-4.0.0.js" integrity="sha512-nNPg5IGCwwrveZ8cA/yMGr5HiRS5Ps2H+s0J/mKTPjCPWUgFGGw7M5nqdnPD3VsRwCVysUh3Y8OWjeSKGkEQJQ==" crossorigin="anonymous"></script>
|
<script type="text/javascript" data-cfasync="false" src="js/base-x-4.0.0.js" integrity="sha512-nNPg5IGCwwrveZ8cA/yMGr5HiRS5Ps2H+s0J/mKTPjCPWUgFGGw7M5nqdnPD3VsRwCVysUh3Y8OWjeSKGkEQJQ==" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" data-cfasync="false" src="js/rawinflate-0.3.js" integrity="sha512-g8uelGgJW9A/Z1tB6Izxab++oj5kdD7B4qC7DHwZkB6DGMXKyzx7v5mvap2HXueI2IIn08YlRYM56jwWdm2ucQ==" crossorigin="anonymous"></script>
|
<script type="text/javascript" data-cfasync="false" src="js/rawinflate-0.3.js" integrity="sha512-g8uelGgJW9A/Z1tB6Izxab++oj5kdD7B4qC7DHwZkB6DGMXKyzx7v5mvap2HXueI2IIn08YlRYM56jwWdm2ucQ==" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" data-cfasync="false" src="js/bootstrap-3.4.1.js" integrity="sha512-oBTprMeNEKCnqfuqKd6sbvFzmFQtlXS3e0C/RGFV0hD6QzhHV+ODfaQbAlmY6/q0ubbwlAM/nCJjkrgA3waLzg==" crossorigin="anonymous"></script>
|
<script type="text/javascript" data-cfasync="false" src="js/bootstrap-3.4.1.js" integrity="sha512-oBTprMeNEKCnqfuqKd6sbvFzmFQtlXS3e0C/RGFV0hD6QzhHV+ODfaQbAlmY6/q0ubbwlAM/nCJjkrgA3waLzg==" crossorigin="anonymous"></script>
|
||||||
@ -71,9 +71,9 @@ if ($MARKDOWN) :
|
|||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" data-cfasync="false" src="js/purify-3.0.4.js" integrity="sha512-N7H+3ylaOUeKuTX57cZoa42hqaG5w1rchG/IP9+BHd48W/vESgPDpb5QuDqzJE1dZhrGVCQgU8peIQGHmdGFhQ==" crossorigin="anonymous"></script>
|
<script type="text/javascript" data-cfasync="false" src="js/purify-3.0.8.js" integrity="sha512-wWBDKh5wYGtJ1Df+PPZIn59jHVBnJ4/Yb2W/pVnzaXab8cmlZnHVx+FEBGu5JX39s3P2Qlt+aNQou0XnjW86hg==" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" data-cfasync="false" src="js/legacy.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-LYos+qXHIRqFf5ZPNphvtTB0cgzHUizu2wwcOwcwz/VIpRv9lpcBgPYz4uq6jx0INwCAj6Fbnl5HoKiLufS2jg==" crossorigin="anonymous"></script>
|
<script type="text/javascript" data-cfasync="false" src="js/legacy.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-LYos+qXHIRqFf5ZPNphvtTB0cgzHUizu2wwcOwcwz/VIpRv9lpcBgPYz4uq6jx0INwCAj6Fbnl5HoKiLufS2jg==" crossorigin="anonymous"></script>
|
||||||
<script type="text/javascript" data-cfasync="false" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-bvLSauH52p3a1alLFQ7YYbl95KUHaf4oVPsUeIqVEBry0c30By+chwu3o5cXUPWB/+OAz0TY00P+k+lquMsAcQ==" crossorigin="anonymous"></script>
|
<script type="text/javascript" data-cfasync="false" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-w5YHEFVx8IcurkgsVsaRFwO+0u9HDNrwAE+BUS3mnFQLjJ6Ti3hzQdguL1exCG3rY85drvHcGSj/FJWmHFxudA==" crossorigin="anonymous"></script>
|
||||||
<!-- icon -->
|
<!-- icon -->
|
||||||
<link rel="apple-touch-icon" href="<?php echo I18n::encode($BASEPATH); ?>img/apple-touch-icon.png" sizes="180x180" />
|
<link rel="apple-touch-icon" href="<?php echo I18n::encode($BASEPATH); ?>img/apple-touch-icon.png" sizes="180x180" />
|
||||||
<link rel="icon" type="image/png" href="img/favicon-32x32.png" sizes="32x32" />
|
<link rel="icon" type="image/png" href="img/favicon-32x32.png" sizes="32x32" />
|
||||||
@ -123,22 +123,32 @@ if (count($class)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="loadconfirmmodal" tabindex="-1" class="modal fade" role="dialog" aria-hidden="true">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="<?php echo I18n::_('Close') ?>"><span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title"><?php echo I18n::_('Burn after reading pastes can only be displayed once upon loading it. Do you want to open it now?') ?></h4>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body text-center">
|
||||||
|
<button id="loadconfirm-open-now" type="button" class="btn btn-success" data-dismiss="modal"><span class="glyphicon glyphicon-download"></span> <?php echo I18n::_('Yes, load it') ?></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if ($QRCODE) :
|
if ($QRCODE) :
|
||||||
?>
|
?>
|
||||||
<div id="qrcodemodal" tabindex="-1" class="modal fade" aria-labelledby="qrcodemodalTitle" role="dialog" aria-hidden="true">
|
<div id="qrcodemodal" tabindex="-1" class="modal fade" role="dialog" aria-hidden="true">
|
||||||
<div class="modal-dialog" role="document">
|
<div class="modal-dialog" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="<?php echo I18n::_('Close') ?>"><span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title"><?php echo I18n::_('QR code') ?></h4>
|
||||||
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="mx-auto" id="qrcode-display"></div>
|
<div class="mx-auto" id="qrcode-display"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="btn-group col-xs-12">
|
|
||||||
<span class="col-xs-12">
|
|
||||||
<button type="button" class="btn btn-primary btn-block" data-dismiss="modal"><?php echo I18n::_('Close') ?></button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -146,23 +156,19 @@ if ($QRCODE) :
|
|||||||
endif;
|
endif;
|
||||||
if ($EMAIL) :
|
if ($EMAIL) :
|
||||||
?>
|
?>
|
||||||
<div id="emailconfirmmodal" tabindex="-1" class="modal fade" aria-labelledby="emailconfirmmodalTitle" role="dialog" aria-hidden="true">
|
<div id="emailconfirmmodal" tabindex="-1" class="modal fade" role="dialog" aria-hidden="true">
|
||||||
<div class="modal-dialog" role="document">
|
<div class="modal-dialog" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-body">
|
<div class="modal-header">
|
||||||
<div id="emailconfirm-display"></div>
|
<button type="button" class="close" data-dismiss="modal" aria-label="<?php echo I18n::_('Close') ?>"><span aria-hidden="true">×</span></button>
|
||||||
|
<h4 class="modal-title"><?php echo I18n::_('Recipient may become aware of your timezone, convert time to UTC?') ?></h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="modal-body row">
|
||||||
<div class="btn-group col-xs-12" data-toggle="buttons">
|
<div class="col-xs-12 col-md-6">
|
||||||
<span class="col-xs-12 col-md-4">
|
<button id="emailconfirm-timezone-current" type="button" class="btn btn-danger"><span class="glyphicon glyphicon-time"></span> <?php echo I18n::_('Use Current Timezone') ?></button>
|
||||||
<button id="emailconfirm-timezone-current" type="button" class="btn btn-danger btn-block" data-dismiss="modal"><?php echo I18n::_('Use Current Timezone') ?></button>
|
</div>
|
||||||
</span>
|
<div class="col-xs-12 col-md-6 text-right">
|
||||||
<span class="col-xs-12 col-md-4">
|
<button id="emailconfirm-timezone-utc" type="button" class="btn btn-success"><span class="glyphicon glyphicon-globe"></span> <?php echo I18n::_('Convert To UTC') ?></button>
|
||||||
<button id="emailconfirm-timezone-utc" type="button" class="btn btn-default btn-block" data-dismiss="modal"><?php echo I18n::_('Convert To UTC') ?></button>
|
|
||||||
</span>
|
|
||||||
<span class="col-xs-12 col-md-4">
|
|
||||||
<button type="button" class="btn btn-primary btn-block" data-dismiss="modal"><?php echo I18n::_('Close') ?></button>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user