sharee.bike/copri4/shareeconf/examples/global.cfg

267 lines
6.1 KiB
INI
Raw Normal View History

2022-01-27 20:30:35 +01:00
#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=""
2022-12-10 15:47:22 +01:00
user=your_psql_user
passwd=your_psql_pw
</database>
</sharee_primary>
</primary>
2022-01-27 20:30:35 +01:00
<operator>
<sharee_operator>
#merchant_id="your-operator-merchant_id"
merchant_id="ong5ohc6Oi"
owner=296
2022-01-27 20:30:35 +01:00
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"
2022-01-27 20:30:35 +01:00
app_name="sharee.bike"
hwtype="none"
bgcolor1="009899"
hgcolor1="c0c0c0"
fgcolor1="3f3f3f"
2022-01-27 20:30:35 +01:00
initMap="47.976634, 7.825490"
map_zoom="13"
<database>
dbname=sharee_operator
host=localhost
port=5432
sslmode=
options=""
2022-12-10 15:47:22 +01:00
user=your_psql_user
passwd=your_psql_pw
2022-01-27 20:30:35 +01:00
</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"
2022-01-27 20:30:35 +01:00
owner=294
operatorWeb="https://shareeweb-project.example.tld"
operatorWeb1="https://shareeweb-project1.example.tld"
dir_web="shareeweb-project"
oprefix="EXA"
title="website example"
2022-01-27 20:30:35 +01:00
project="Example"
layout="standalone"
2022-01-27 20:30:35 +01:00
app_name="sharee.bike"
bgcolor1="009899"
hgcolor1="c0c0c0"
fgcolor1="black"
2022-01-27 20:30:35 +01:00
initMap="47.976634, 7.825490"
map_zoom="13"
<database>
dbname=sharee_operator
host=localhost
port=5432
sslmode=
options=""
2022-12-10 15:47:22 +01:00
user=your_psql_user
passwd=your_psql_pw
2022-01-27 20:30:35 +01:00
</database>
</shareeweb-project>
</website>
2022-01-27 20:30:35 +01:00
<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"
project="all"
2022-01-27 20:30:35 +01:00
user_agent = ""
initMap = "47.976634, 7.825490"
bgcolor1="009899"
hgcolor1="c0c0c0"
fgcolor1="3f3f3f"
</queexee3Da>
#</your-primary-merchant_id>
2022-01-27 20:30:35 +01:00
#<your-operator-merchant_id>
<ong5ohc6Oi>
2022-01-27 20:30:35 +01:00
id = 296
name = "example Op"
project="Example"
2022-01-27 20:30:35 +01:00
user_agent = ""
initMap = "47.976634, 7.825490"
bgcolor1 = "009899"
hgcolor1="c0c0c0"
fgcolor1="3f3f3f"
</ong5ohc6Oi>
#</your-operator-merchant_id>
2022-01-27 20:30:35 +01:00
#<your-webproject-merchant_id>
<eiFiPaing9>
2022-01-27 20:30:35 +01:00
id = 294
name = "example Web"
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"
project="Example"
user_agent = ""
initMap = "47.976634, 7.825490"
bgcolor1 = "009899"
hgcolor1="c0c0c0"
fgcolor1="3f3f3f"
</exzooLu4oh>
#</your-app-merchant_id>
2022-01-27 20:30:35 +01:00
</merchant_ids>
#sharee copri globals
<copri_conf>
#stage = "test"
stage = "live"
sms_to = "017xxxxxxx2"
2022-12-02 07:25:27 +01:00
debug = 0
2022-01-27 20:30:35 +01:00
superu_id = "1234567"
logdir = "/var/log/copri4"
basedir = "/var/www/copri4"
<sharing_type>
2 = "public"
3 = "private"
5 = "public-bonus"
</sharing_type>
<bike_state>
1 = "available"
2 = "requested"
3 = "occupied"
4 = "maintenance"
2022-01-27 20:30:35 +01:00
5 = "defect"
6 = "canceled"
</bike_state>
<station_state>
1 = "available"
4 = "maintenance"
2022-01-27 20:30:35 +01:00
5 = "defect"
</station_state>
<lock_state>
1 = "locked"
2 = "unlocked"
3 = "locking"
4 = "unlocking"
2022-01-27 20:30:35 +01:00
</lock_state>
<station_lock_state>
1 = "locked"
2 = "unlocked"
3 = "locking"
4 = "unlocking"
2022-01-27 20:30:35 +01:00
</station_lock_state>
<lock_system>
2 = "Ilockit"
</lock_system>
<access>
0 = "nein"
1 = "ja"
</access>
<permission>
0 = "keine"
1 = "lesen"
2 = "lesen & schreiben"
</permission>
jsscript = "js/mobile_script.js"
2022-12-13 09:30:09 +01:00
style_bootstrap_icons = "external/bootstrap-icons-1.10.2/bootstrap-icons.css"
2022-01-27 20:30:35 +01:00
</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 = ""
2022-12-13 09:30:09 +01:00
js_bootstrap = "external/bootstrap-5.2.3-dist/js/bootstrap.bundle.min.js"
style_bootstrap = "external/bootstrap-5.2.3-dist/css/bootstrap.css"
2022-01-27 20:30:35 +01:00
</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"
2022-01-27 20:30:35 +01:00
invoicejournal = "300011"
mietjournal = "200012"
alarmjournal = "200022"
einstellung = "200019"
serviceconfig = "300025"
payment_state = "SEPA-Lastschrift (payone)|Kreditkarte (payone)|Überweisung|Gutschrift"
order_state = "|angerufen|eMail gesendet|in Arbeit|cronjob fail"
2022-01-27 20:30:35 +01:00
local_style = "css/local_style20221205.css"
2022-12-13 09:30:09 +01:00
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"
2022-12-10 15:47:22 +01:00
mod_active = "Waren|Faktura|Karte|Kunden|Mietjournal|Alarmjournal|Einstellung"
2022-01-27 20:30:35 +01:00
modes = "login|logout|logout_sharee|user|manager|supervisor|admin|maintainer"
</shareedms_conf>