1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00
shaarli_ynh/conf/config.json.php

79 lines
1.9 KiB
PHP
Raw Normal View History

<?php /*
{
"resource": {
"data_dir": "data",
"config": "data\/config.php",
"datastore": "data\/datastore.php",
"ban_file": "data\/ipbans.php",
"updates": "data\/updates.txt",
"log": "data\/log.txt",
"update_check": "data\/lastupdatecheck.txt",
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"history": "data\/history.php",
"raintpl_tpl": "tpl\/",
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"theme": "default",
"raintpl_tmp": "tmp\/",
"thumbnails_cache": "cache",
"page_cache": "pagecache"
},
"security": {
"ban_after": 4,
"ban_duration": 1800,
"session_protection_disabled": false,
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"open_shaarli": false,
"allowed_protocols": [
"ftp",
"ftps",
"magnet"
]
},
"general": {
"header_link": "?",
"links_per_page": 20,
"enabled_plugins": [
"qrcode"
],
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"default_note_title": "Note: ",
"retrieve_description": false,
"timezone": "__TIMEZONE__",
"title": "__TITLE__"
},
"updates": {
"check_updates": true,
"check_updates_branch": "stable",
"check_updates_interval": 86400
},
"feed": {
"rss_permalinks": true,
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"show_atom": true
},
"privacy": {
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"default_private_links": __DEFAULT_PRIVATE_LINKS__,
"hide_public_links": false,
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"force_login": false,
"hide_timestamps": false,
"remember_user_default": true
},
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"thumbnails": {
"mode": "all",
"width": "125",
"height": "90"
},
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"translation": {
"language": "auto",
"mode": "php",
"extensions": []
},
"plugins": [],
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"formatter": "markdown",
"credentials": {
Testing : update to 0.12.0, nginx fix, other fixes (#58) * Set file permissions after creating the log (#53) Should fix #49 * Updated to V0.12.0 and Nginx fix (#57) * Set file permissions after creating the log (#53) (#54) Should fix #49 Authored-by: tituspijean <tituspijean@outlook.com> * Updated to version v0.12.0 * Fix images * Fixed path in nginx Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update README.md * rm -r -> ynh_secure_remove (#59) * Update issue_template.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update openssl dependency Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> * Update _common.sh - Remove unused script that generates an error - Remove openssl that is part of PHP as default * Cleaning up * Fix linter warnings * Small typos (#60) * Patch2 (#61) - Fix NGINX 302 redirect - Fix missing upgrade_type in upgrade script - Add ynh_smart_mktemp helper * Fix NGINX * Re-implement automatic post-installation * Ensure file and directories permissions in upgrade * Replace all ynh_print_info with ynh_script_progression * Update check_process * Use permissions system Co-authored-by: tituspijean <tituspijean@outlook.com> Co-authored-by: anmol26s <5068843+anmol26s@users.noreply.github.com> Co-authored-by: anmol <anmol@jswan2.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-11-30 09:43:42 +01:00
"login": "__ADMIN__",
"salt": "__SALT__",
"hash": "__HASH__"
},
"api": {
"enabled": true,
"secret": "__SECRET__"
}
}
*/ ?>