mirror of
https://github.com/YunoHost-Apps/privatebin_ynh.git
synced 2024-09-03 20:15:56 +02:00
Testing (#11)
* 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:
parent
90273a5af9
commit
ca739e6d16
6 changed files with 7 additions and 13 deletions
|
@ -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
|
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/
|
**Demo:** https://privatebin.net/
|
||||||
|
|
||||||
|
|
|
@ -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
|
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/
|
**Démo :** https://privatebin.net/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/PrivateBin/PrivateBin/archive/1.3.5.tar.gz
|
SOURCE_URL=https://github.com/PrivateBin/PrivateBin/archive/1.4.0.tar.gz
|
||||||
SOURCE_SUM=cbee0a8c5ef58ae98cd77982619190356f657e8bbc9e3f429307c65a411bfb80
|
SOURCE_SUM=a0ff8ff4f8eabda1f963d8ffc99ac32559f3dcb8050ed0bde384093e450d534f
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -4,11 +4,6 @@ location __PATH__/ {
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/;
|
alias __FINALPATH__/;
|
||||||
|
|
||||||
# Force usage of https
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Minimalist pastebin where the server has zero knowledge of pasted data",
|
"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"
|
"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",
|
"url": "https://github.com/PrivateBin/PrivateBin",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "Zlib",
|
"license": "Zlib",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"email": "julien.malik@paraiso.me"
|
"email": "julien.malik@paraiso.me"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.2.4"
|
"yunohost": ">= 4.3.0"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -33,8 +33,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
ynh_script_progression --message="Validating restoration parameters..." --weight=2
|
||||||
|
|
||||||
test ! -d $final_path \
|
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD RESTORATION STEPS
|
# STANDARD RESTORATION STEPS
|
||||||
|
|
Loading…
Reference in a new issue