184 lines
4.6 KiB
Plaintext
184 lines
4.6 KiB
Plaintext
# file: gsl.conf
|
||
# Folder: /etc/gsl
|
||
# By echolib
|
||
# License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
|
||
|
||
#=======================================================================
|
||
# Set GSL Internal Configuration
|
||
#=======================================================================
|
||
# minimum size to check a post (default: 180)
|
||
gsl_article_min_Size=180
|
||
|
||
# Show log by time|level (default: 'time'); not set = level
|
||
gsl_log_order=time
|
||
|
||
|
||
#----------------------------------------------------------------------
|
||
# # Directories Structure
|
||
#----------------------------------------------------------------------
|
||
# Main
|
||
app_name="gsl"
|
||
gsl_dir_lib="/var/lib/gsl"
|
||
gsl_dir_scripts="$gsl_dir_lib/scripts"
|
||
gsl_dir_help="$gsl_dir_lib/help"
|
||
gsl_dir_logs="/var/log/gsl"
|
||
|
||
gsl_dir_domains="$gsl_dir_lib/domains"
|
||
gsl_dir_db="$gsl_dir_lib/db"
|
||
|
||
|
||
#======================================================================
|
||
# iNSTALLATION DEPENDANCIES
|
||
#======================================================================
|
||
gsl_dirs=(
|
||
$gsl_dir_lib
|
||
$gsl_dir_scripts
|
||
$gsl_dir_domains
|
||
$gsl_dir_db
|
||
$gsl_dir_logs
|
||
$gsl_dir_help
|
||
)
|
||
|
||
gsl_files_scripts=(
|
||
$gsl_dir_scripts/gsl__db_manager
|
||
$gsl_dir_scripts/gsl__do_commons
|
||
$gsl_dir_scripts/gsl__domain_manager
|
||
$gsl_dir_scripts/gsl__edit_file
|
||
$gsl_dir_scripts/gsl__HTML_template
|
||
$gsl_dir_scripts/gsl__log_manager
|
||
$gsl_dir_scripts/gsl__post_checkers
|
||
$gsl_dir_scripts/gsl__post_makers
|
||
$gsl_dir_scripts/gsl__post_manager
|
||
$gsl_dir_scripts/gsl__srv_manager
|
||
$gsl_dir_scripts/gsl__stats
|
||
$gsl_dir_scripts/gsl__version
|
||
)
|
||
|
||
gsl_files_help=(
|
||
$gsl_dir_help/comment_ecrire-article.md
|
||
$gsl_dir_help/gsl_help.md
|
||
$gsl_dir_help/comment_installer-GSL.md
|
||
$gsl_dir_help/how-to_set_directory_for_articles.md
|
||
$gsl_dir_help/how-to_add_remove_authors.md
|
||
$gsl_dir_help/how-to_parameters_conf.md
|
||
$gsl_dir_help/how-to_CSS_classes.md
|
||
$gsl_dir_help/how-to_Tips_Advises.md
|
||
)
|
||
|
||
gsl_dirs_w=(
|
||
$gsl_dir_domains
|
||
$gsl_dir_db
|
||
$gsl_dir_logs
|
||
)
|
||
|
||
|
||
#=======================================================================
|
||
# Files
|
||
#=======================================================================
|
||
gsl_file_db_domains="$gsl_dir_db/domains.db"
|
||
gsl_file_logs="$gsl_dir_logs/gsl.log"
|
||
|
||
# colors
|
||
NC="\e[0m"
|
||
CY="\e[33m"
|
||
CR="\e[0;91m"
|
||
|
||
|
||
#----------------------------------------------------------------------
|
||
# LOGS settings
|
||
#----------------------------------------------------------------------
|
||
gsl_log_e="Err"
|
||
gsl_log_w="War"
|
||
gsl_log_i='Inf'
|
||
gsl_log_act_type="'page' or 'post'"
|
||
gsl_log_act_title='ARTICLE TITLE'
|
||
gsl_log_act_author='REGISTRED NAME'
|
||
gsl_log_act_info='it is about...'
|
||
gsl_log_act_slug='THIS-SLUG'
|
||
gsl_log_act_fcode='NBR : FILENAME : Alt Text'
|
||
gsl_log_act_fbrut='NBR : FILENAME'
|
||
gsl_log_act_flink='NAME : FILENAME : Alt Text'
|
||
gsl_log_act_image='NBR : FILENAME : ALT TEXT'
|
||
gsl_log_act_abbr='SHORT : LONG'
|
||
gsl_log_act_link='NAME : URL : Alt-Text'
|
||
|
||
|
||
#----------------------------------------------------------------------
|
||
# CONTENT Article markers
|
||
#----------------------------------------------------------------------
|
||
gsl_mark_p_start='('
|
||
gsl_mark_p_close=')'
|
||
gsl_mark_flink='__'
|
||
gsl_mark_image='_image'
|
||
gsl_mark_fcode='_code'
|
||
gsl_mark_fbrut='_brut'
|
||
gsl_mark_title='#'
|
||
gsl_mark_list='='
|
||
gsl_mark_listo='+'
|
||
gsl_mark_newline='|'
|
||
gsl_mark_link='_'
|
||
gsl_mark_blockquote='---'
|
||
gsl_mark_blockquote_cite='_cite :'
|
||
gsl_mark_blockquote_year='_year :'
|
||
gsl_mark_blockquote_link='_link :'
|
||
gsl_mark_blockquote_book='_book :'
|
||
gsl_mark_blockquote_lang='_lang :'
|
||
|
||
|
||
#----------------------------------------------------------------------
|
||
# bsis + icode
|
||
#----------------------------------------------------------------------
|
||
gsl_mark_icode='`'
|
||
icode_start='þ'
|
||
icode_close='Ł'
|
||
|
||
gsl_mark_bold='*'
|
||
bold_start='¶'
|
||
bold_close='ŧ'
|
||
|
||
gsl_mark_cross='×'
|
||
cross_start='ẞ'
|
||
cross_close='Ð'
|
||
|
||
gsl_mark_em='\'
|
||
em_start='ĸ'
|
||
em_close='ł'
|
||
|
||
gsl_mark_strong='¤'
|
||
strong_start='Ŋ'
|
||
strong_close='Ħ'
|
||
|
||
gsl_mark_del='~'
|
||
del_start='Ŧ'
|
||
del_close='ð'
|
||
|
||
|
||
#----------------------------------------------------------------------
|
||
# HEADERS markers
|
||
#----------------------------------------------------------------------
|
||
# Needed HEADER markers
|
||
gsl_marker_type='type:'
|
||
gsl_marker_title='title:'
|
||
gsl_marker_slug='slug:'
|
||
gsl_marker_info='info:'
|
||
gsl_marker_author='author:'
|
||
gsl_marker_date='date:'
|
||
gsl_marker_tags='tags:'
|
||
|
||
# Optional HEADER markers
|
||
gsl_marker_css='css:'
|
||
gsl_marker_fcode='code:'
|
||
gsl_marker_fbrut='brut:'
|
||
gsl_marker_image='image:'
|
||
gsl_marker_abbr='abbr:'
|
||
gsl_marker_link='link:'
|
||
gsl_marker_flink='file:'
|
||
|
||
# Closed HTML static code
|
||
HTML_br='<br />'
|
||
HTML_p_close='</p>'
|
||
|
||
# Onlinde Repo
|
||
repo="https://git.a-lec.org/echolib/gsl/-/raw/main/usr/local/bin/gsl"
|
||
repo_tar="https://git.a-lec.org/echolib/gsl/-/archive/main/gsl-main.tar.gz"
|