Update to 1.7.4 #18

Merged
meaz merged 3 commits from staging into main 2024-08-06 21:23:38 +02:00
3 changed files with 12 additions and 6 deletions

View file

@ -1,7 +1,7 @@
---
#PRIVATE BIN VARIABLES
privatebin_version: '1.7.3'
privatebin_version: '1.7.4'
privatebin_app_dir: '/var/www/privatebin'
privatebin_user: 'www-data'
privatebin_group: 'www-data'

View file

@ -43,6 +43,11 @@ syntaxhighlightingtheme = "{{ privatebin_highlight_theme }}"
sizelimit = {{ privatebin_sizelimit }}
; template to include, default is "bootstrap" (tpl/bootstrap.php)
; available are "page" (tpl/page.php), the classic ZeroBin style and several
; bootstrap variants: "bootstrap-dark", "bootstrap-compact", "bootstrap-page",
; which can be combined with "-dark" and "-compact" for "bootstrap-dark-page"
; and finally "bootstrap-compact-page" - previews at:
; https://privatebin.info/screenshots.html
template = "{{ privatebin_theme }}"
; (optional) info text to display
@ -88,8 +93,10 @@ icon = {{ privatebin_ip_icon }}
; scripts or run your site behind certain DDoS-protection services.
; Check the documentation at https://content-security-policy.com/
; Notes:
; - If you use a bootstrap theme, you can remove the allow-popups from the
; - If you use any bootstrap theme, you can remove the allow-popups from the
; sandbox restrictions.
; - If you use the bootstrap5 theme, you must change default-src to 'self' to
; enable display of the svg icons
; - By default this disallows to load images from third-party servers, e.g. when
; they are embedded in pastes. If you wish to allow that, you can adjust the
; policy here. See https://github.com/PrivateBin/PrivateBin/wiki/FAQ#why-does-not-it-load-embedded-images
@ -247,7 +254,7 @@ dir = PATH "{{ privatebin_data_dir }}"
; - AWS_ACCESS_KEY_ID
; - AWS_SECRET_ACCESS_KEY
; - AWS_SESSION_TOKEN (if needed)
; for more details, see https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html#default-credential-chain
; for more details, see https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials.html#default-credential-chain
;class = S3Storage
;[model_options]
;region = "eu-central-1"
@ -261,8 +268,8 @@ dir = PATH "{{ privatebin_data_dir }}"
; Only use this if you allow short URL creation without credentials.
; - Alternatively, using the parameters in this section ("signature" and
; "apiurl"), "urlshortener" needs to point to the base URL of your PrivateBin
; instance with "shortenviayourls?link=" appended. For example:
; urlshortener = "${basepath}shortenviayourls?link="
; instance with "?shortenviayourls&link=" appended. For example:
; urlshortener = "${basepath}?shortenviayourls&link="
; This URL will in turn call YOURLS on the server side, using the URL from
; "apiurl" and the "access signature" from the "signature" parameters below.

View file

@ -7,7 +7,6 @@
* @link https://github.com/PrivateBin/PrivateBin
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
* @license https://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
* @version 1.1
*/
// change this, if your php files and data is outside of your webservers document root