1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/privatebin_ynh.git synced 2024-09-03 20:15:56 +02:00
* Allow pastes to be seen in private

* upgrade to PHP7.3

* Update README_fr.md

* Small fixes

* Typo

* ZeroBin -> PrivateBin

* Small typos

* rename common.sh

* Typo

* Fix linter warnings

* Fix linter warnings

* Update README_fr.md

* Update backup

* Update manifest.json

* Update manifest.json

* Set badge in SVG

* Set badge to SVG

* Enh testing (#3)

* New permissions
* Update check_process

* Update change_url

* Update change_url

* Update manifest.json

* Upgrade to version 1.3.5

* Fix links

* [autopatch] Update issue and PR templates (#8)

Co-authored-by: Yunohost-Bot <>

* Add templates

* Update check_process

* cleaning up

* Add templates

* Auto-update README

* Update DISCLAIMER_fr.md

* Auto-update README

* cleaning up

* Auto-update README

* 4.3

* Update restore

* 1.4.0 (#10)

* 1.4.0

* Auto-update README

Co-authored-by: yunohost-bot <yunohost@yunohost.org>

Co-authored-by: maniack <maniack@maniack-fixe>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
Éric Gaspar 2022-04-09 19:01:56 +02:00 committed by GitHub
parent 90273a5af9
commit ca739e6d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 13 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Minimalist pastebin where the server has zero knowledge of pasted data
**Shipped version:** 1.3.5~ynh1
**Shipped version:** 1.4.0~ynh1
**Demo:** https://privatebin.net/

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Pastebin minimaliste où le serveur n'a aucune connaissance des données copiées
**Version incluse :** 1.3.5~ynh1
**Version incluse :** 1.4.0~ynh1
**Démo :** https://privatebin.net/

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/PrivateBin/PrivateBin/archive/1.3.5.tar.gz
SOURCE_SUM=cbee0a8c5ef58ae98cd77982619190356f657e8bbc9e3f429307c65a411bfb80
SOURCE_URL=https://github.com/PrivateBin/PrivateBin/archive/1.4.0.tar.gz
SOURCE_SUM=a0ff8ff4f8eabda1f963d8ffc99ac32559f3dcb8050ed0bde384093e450d534f
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -4,11 +4,6 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php;
try_files $uri $uri/ index.php;

View file

@ -6,7 +6,7 @@
"en": "Minimalist pastebin where the server has zero knowledge of pasted data",
"fr": "Pastebin minimaliste où le serveur n'a aucune connaissance des données copiées"
},
"version": "1.3.5~ynh1",
"version": "1.4.0~ynh1",
"url": "https://github.com/PrivateBin/PrivateBin",
"upstream": {
"license": "Zlib",
@ -21,7 +21,7 @@
"email": "julien.malik@paraiso.me"
},
"requirements": {
"yunohost": ">= 4.2.4"
"yunohost": ">= 4.3.0"
},
"multi_instance": true,
"services": [

View file

@ -33,8 +33,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=2
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
#=================================================
# STANDARD RESTORATION STEPS