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

333 lines
7.4 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"
2023-06-30 19:13:45 +02:00
cache_station=1
withpub=1
2023-04-05 07:41:11 +02:00
sms_alert=0
2022-01-27 20:30:35 +01:00
<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"
2023-03-05 20:01:47 +01:00
cache_station=0
2023-03-21 09:04:25 +01:00
withpub=0
2022-01-27 20:30:35 +01:00
<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
2023-03-05 20:01:47 +01:00
<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>
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"
2023-03-21 09:04:25 +01:00
app_name=""
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"
2023-03-21 09:04:25 +01:00
app_name=""
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"
2023-03-21 09:04:25 +01:00
app_name=""
2022-01-27 20:30:35 +01:00
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"
2023-03-21 09:04:25 +01:00
app_name="sharee.bike"
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"
test_accounts = ""
<betau_id>
</betau_id>
2023-03-05 20:01:47 +01:00
<type_id>
300101 = "cargo"
300103 = "city"
2023-03-05 20:01:47 +01:00
</type_id>
2022-01-27 20:30:35 +01:00
<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>
<payment_type>
0 = ""
1 = "SEPA Bankeinzug"
2 = "CreditCard"
3 = "Prepaid"
</payment_type>
2023-10-18 12:15:15 +02:00
<access>
0 = "nein"
1 = "ja"
</access>
2022-01-27 20:30:35 +01:00
<permission>
0 = "keine"
1 = "lesen"
2 = "lesen & schreiben"
</permission>
2023-03-05 20:01:47 +01:00
<theftalarm>
move_count = 1
speed = 1
meter = 50
</theftalarm>
<fee_type>
0 = ""
1 = "Aufwand TeilRad Fibu Gebühr"
2 = "Payone Gebühr"
3 = "Zahlungseingang Teilzahlung"
4 = "Zahlungseingang Prepaid/Vorkasse"
5 = "Operator Prepaid Abbuchung"
</fee_type>
2022-01-27 20:30:35 +01:00
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"
2024-06-05 12:20:38 +02:00
local_style = "css/local_style20240315.css"
jquery = "external/jquery-3.7.1.min.js"
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"
xjournal = "200012"
2022-01-27 20:30:35 +01:00
alarmjournal = "200022"
einstellung = "200019"
serviceconfig = "300025"
2023-03-05 20:01:47 +01:00
order_state = "|Zahlungseingang|Zahlung offen|eMail gesendet|in Arbeit|Betrugsfall"
<payment_state2>
1 = "SEPA-Lastschrift (payone)"
2 = "Kreditkarte (payone)"
3 = "Prepaid"
4 = "Überweisung"
5 = "Gutschrift"
6 = "fehlgeschlagener Einzug"
7 = "Zahlungsausfall"
</payment_state2>
2023-03-05 20:01:47 +01:00
<warning_state>
1 = "1. Zahlungserinnerung"
2 = "2. Zahlungserinnerung"
3 = "1. Mahnung"
4 = "2. Mahnung"
5 = "3. Mahnung"
</warning_state>
2022-01-27 20:30:35 +01:00
2024-06-05 12:20:38 +02:00
local_style = "css/local_style20240206.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"
mod_active = "Waren|Faktura|Karte|Kunden|journal|Einstellung"
2022-01-27 20:30:35 +01:00
modes = "login|logout|logout_sharee|user|manager|supervisor|admin|maintainer"
</shareedms_conf>