mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2024-11-16 07:36:36 +01:00
307 lines
6.9 KiB
INI
Executable file
307 lines
6.9 KiB
INI
Executable file
#sharee global configuration
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
# Copyright (c) Rainer Gümpelein, TeilRad GmbH
|
|
|
|
#sub <block> is the dbname of sharee COPRI-Instanz
|
|
|
|
<primary>
|
|
<sharee_primary>
|
|
merchant_id="queexee3Da"
|
|
owner=298
|
|
primaryApp="https://shareeapp-operator.example.tld"
|
|
primaryDMS="https://shareedms-operator.example.tld"
|
|
primaryApp1="https://shareeapp-operator1.example.tld"
|
|
primaryDMS1="https://shareedms-operator1.example.tld"
|
|
syshost="shareedms-operator"
|
|
dir_app="shareeapp-operator"
|
|
dir_dms="shareedms-operator"
|
|
pprefix="PRI"
|
|
project="all"
|
|
title="Primary Example"
|
|
live_hostname="no"
|
|
bgcolor1="009899"
|
|
hgcolor1="c0c0c0"
|
|
fgcolor1="3f3f3f"
|
|
initMap="47.669305,9.162531"
|
|
<database>
|
|
dbname=sharee_operator
|
|
host="localhost"
|
|
port=5432
|
|
sslmode=
|
|
options=""
|
|
user=your_psql_user
|
|
passwd=your_psql_pw
|
|
</database>
|
|
</sharee_primary>
|
|
</primary>
|
|
|
|
|
|
<operator>
|
|
<sharee_operator>
|
|
#merchant_id="your-operator-merchant_id"
|
|
merchant_id="ong5ohc6Oi"
|
|
owner=296
|
|
operatorApp="https://shareeapp-operator.example.tld"
|
|
operatorDMS="https://shareedms-operator.example.tld"
|
|
operatorApp1="https://shareeapp-operator1.example.tld"
|
|
operatorDMS1="https://shareedms-operator1.example.tld"
|
|
syshost="shareedms-operator"
|
|
dir_app="shareeapp-operator"
|
|
dir_dms="shareedms-operator"
|
|
oprefix="EXA"
|
|
project="Example"
|
|
title="Operator example"
|
|
app_name="sharee.bike"
|
|
hwtype="none"
|
|
bgcolor1="009899"
|
|
hgcolor1="c0c0c0"
|
|
fgcolor1="3f3f3f"
|
|
initMap="47.976634, 7.825490"
|
|
map_zoom="13"
|
|
cache_station=1
|
|
withpub=1
|
|
sms_alert=0
|
|
<database>
|
|
dbname=sharee_operator
|
|
host=localhost
|
|
port=5432
|
|
sslmode=
|
|
options=""
|
|
user=your_psql_user
|
|
passwd=your_psql_pw
|
|
</database>
|
|
</sharee_operator>
|
|
</operator>
|
|
|
|
#sub <block> is the syshost path of website
|
|
<website>
|
|
<shareeweb-project>
|
|
parent_id=100007
|
|
parent_node="frame"
|
|
#merchant_id="your-webproject-merchant_id"
|
|
merchant_id="eiFiPaing9"
|
|
owner=294
|
|
operatorWeb="https://shareeweb-project.example.tld"
|
|
operatorWeb1="https://shareeweb-project1.example.tld"
|
|
dir_web="shareeweb-project"
|
|
oprefix="EXA"
|
|
title="website example"
|
|
project="Example"
|
|
layout="standalone"
|
|
app_name="sharee.bike"
|
|
bgcolor1="009899"
|
|
hgcolor1="c0c0c0"
|
|
fgcolor1="black"
|
|
initMap="47.976634, 7.825490"
|
|
map_zoom="13"
|
|
cache_station=0
|
|
withpub=0
|
|
<database>
|
|
dbname=sharee_operator
|
|
host=localhost
|
|
port=5432
|
|
sslmode=
|
|
options=""
|
|
user=your_psql_user
|
|
passwd=your_psql_pw
|
|
</database>
|
|
</shareeweb-project>
|
|
</website>
|
|
|
|
<project_conf>
|
|
<Example>
|
|
agb_html="site/agb.html"
|
|
privacy_html="site/privacy.html"
|
|
impress_html="site/impress.html"
|
|
tariff_info_html="site/tariff.html"
|
|
bike_info_html="site/bike_info.html"
|
|
</Example>
|
|
</project_conf>
|
|
|
|
#reverse app merchant_id
|
|
<appsframe>
|
|
<sharee.bike>
|
|
merchant_id="exzooLu4oh"
|
|
</sharee.bike>
|
|
</appsframe>
|
|
|
|
<merchant_ids>
|
|
#contact TeilRad GmbH to get access to our single-sign-on with sharee.bike App
|
|
#<your-primary-merchant_id>
|
|
<queexee3Da>
|
|
id = 298
|
|
name = "example Pr"
|
|
app_name=""
|
|
project="all"
|
|
user_agent = ""
|
|
initMap = "47.976634, 7.825490"
|
|
bgcolor1="009899"
|
|
hgcolor1="c0c0c0"
|
|
fgcolor1="3f3f3f"
|
|
</queexee3Da>
|
|
#</your-primary-merchant_id>
|
|
|
|
#<your-operator-merchant_id>
|
|
<ong5ohc6Oi>
|
|
id = 296
|
|
name = "example Op"
|
|
app_name=""
|
|
project="Example"
|
|
user_agent = ""
|
|
initMap = "47.976634, 7.825490"
|
|
bgcolor1 = "009899"
|
|
hgcolor1="c0c0c0"
|
|
fgcolor1="3f3f3f"
|
|
</ong5ohc6Oi>
|
|
#</your-operator-merchant_id>
|
|
|
|
#<your-webproject-merchant_id>
|
|
<eiFiPaing9>
|
|
id = 294
|
|
name = "example Web"
|
|
app_name=""
|
|
project="Example"
|
|
user_agent = ""
|
|
initMap = "47.976634, 7.825490"
|
|
bgcolor1 = "009899"
|
|
hgcolor1="c0c0c0"
|
|
fgcolor1="3f3f3f"
|
|
</eiFiPaing9>
|
|
#</your-webproject-merchant_id>
|
|
|
|
#<your-app-merchant_id>
|
|
<exzooLu4oh>
|
|
id = 295
|
|
name = "example App"
|
|
app_name="sharee.bike"
|
|
project="Example"
|
|
user_agent = ""
|
|
initMap = "47.976634, 7.825490"
|
|
bgcolor1 = "009899"
|
|
hgcolor1="c0c0c0"
|
|
fgcolor1="3f3f3f"
|
|
</exzooLu4oh>
|
|
#</your-app-merchant_id>
|
|
|
|
</merchant_ids>
|
|
|
|
#sharee copri globals
|
|
<copri_conf>
|
|
#stage = "test"
|
|
stage = "live"
|
|
sms_to = "017xxxxxxx2"
|
|
debug = 0
|
|
superu_id = "1234567"
|
|
logdir = "/var/log/copri4"
|
|
basedir = "/var/www/copri4"
|
|
<type_id>
|
|
300101 = "cargo"
|
|
300103 = "city"
|
|
</type_id>
|
|
<sharing_type>
|
|
2 = "public"
|
|
3 = "private"
|
|
5 = "public-bonus"
|
|
</sharing_type>
|
|
<bike_state>
|
|
1 = "available"
|
|
2 = "requested"
|
|
3 = "occupied"
|
|
4 = "maintenance"
|
|
5 = "defect"
|
|
6 = "canceled"
|
|
</bike_state>
|
|
<station_state>
|
|
1 = "available"
|
|
4 = "maintenance"
|
|
5 = "defect"
|
|
</station_state>
|
|
<lock_state>
|
|
1 = "locked"
|
|
2 = "unlocked"
|
|
3 = "locking"
|
|
4 = "unlocking"
|
|
</lock_state>
|
|
<station_lock_state>
|
|
1 = "locked"
|
|
2 = "unlocked"
|
|
3 = "locking"
|
|
4 = "unlocking"
|
|
</station_lock_state>
|
|
<lock_system>
|
|
2 = "Ilockit"
|
|
</lock_system>
|
|
<access>
|
|
0 = "nein"
|
|
1 = "ja"
|
|
</access>
|
|
<permission>
|
|
0 = "keine"
|
|
1 = "lesen"
|
|
2 = "lesen & schreiben"
|
|
</permission>
|
|
<theftalarm>
|
|
move_count = 1
|
|
speed = 1
|
|
meter = 50
|
|
</theftalarm>
|
|
jsscript = "js/mobile_script.js"
|
|
style_bootstrap_icons = "external/bootstrap-icons-1.10.2/bootstrap-icons.css"
|
|
</copri_conf>
|
|
|
|
#sharee WebApp sepcific para
|
|
<shareeapp_conf>
|
|
parent_id = "100005"
|
|
parent_node="app"
|
|
|
|
start = "Profil"
|
|
profile = "Profil"
|
|
accounting_1 = "1. Kundendaten"
|
|
accounting_1_5 = "1.5. Zahlungsart"
|
|
accounting_2 = "2.0. Zahlungsdaten"
|
|
accounting_3 = "3. Verleihdaten"
|
|
|
|
local_style = "css/local_style2022-03-20.css"
|
|
jquery = ""
|
|
js_bootstrap = "external/bootstrap-5.2.3-dist/js/bootstrap.bundle.min.js"
|
|
style_bootstrap = "external/bootstrap-5.2.3-dist/css/bootstrap.css"
|
|
</shareeapp_conf>
|
|
|
|
#sharee DMS/COPRI specific para
|
|
<shareedms_conf>
|
|
parent_id = "100002"
|
|
parent_node="DMS"
|
|
|
|
start = "Mietjournal"
|
|
profile = "nothing"
|
|
|
|
waren = "200013"
|
|
kunden = "200011"
|
|
faktura = "200007"
|
|
invoice = "300008"
|
|
invoicejournal = "300011"
|
|
mietjournal = "200012"
|
|
alarmjournal = "200022"
|
|
einstellung = "200019"
|
|
serviceconfig = "300025"
|
|
|
|
payment_state = "SEPA-Lastschrift (payone)|Kreditkarte (payone)|Überweisung|Gutschrift"
|
|
order_state = "|Zahlungseingang|Zahlung offen|eMail gesendet|in Arbeit|Betrugsfall"
|
|
<warning_state>
|
|
1 = "1. Zahlungserinnerung"
|
|
2 = "2. Zahlungserinnerung"
|
|
3 = "1. Mahnung"
|
|
4 = "2. Mahnung"
|
|
5 = "3. Mahnung"
|
|
</warning_state>
|
|
|
|
local_style = "css/local_style20221205.css"
|
|
jquery = "external/jquery-3.6.1.min.js"
|
|
jquery_ui = "external/jquery-ui-1.13.2/jquery-ui.min.js"
|
|
style_jquery_ui = "external/jquery-ui-1.13.2/jquery-ui.min.css"
|
|
js_bootstrap = "external/bootstrap-5.2.3-dist/js/bootstrap.bundle.min.js"
|
|
style_bootstrap = "external/bootstrap-5.2.3-dist/css/bootstrap.min.css"
|
|
mod_active = "Waren|Faktura|Karte|Kunden|Mietjournal|Alarmjournal|Einstellung"
|
|
modes = "login|logout|logout_sharee|user|manager|supervisor|admin|maintainer"
|
|
</shareedms_conf>
|
|
|