ilscipio/scipio-erp

View on GitHub
framework/common/config/general.properties

Summary

Maintainability
Test Coverage
###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
###############################################################################

# -- unique instance id (20 char max)
unique.instanceId=scipio1

# -- the default currency to use for prices, etc
currency.uom.id.default=USD

# These values override the _NA_ DEFAULT values in user preferences for the GLOBAL_PREFERENCES userPrefGroupTypeId
# -- the default organizationPartyId for used in dropdowns and reports
ORGANIZATION_PARTY=Company
# ID of the VisualTheme to use if there is no VISUAL_THEME UserPreference record for the current user (ie default value)
VISUAL_THEME=BULMATHEME

# -- the default decimal format for currency (used in UtilFormatOut.java)
currency.decimal.format=#,##0.00

# -- the default rounding for currency (used by the FreeMarker currency directive (@ofbizCurrency/CurrencyDirective.java))
# SCIPIO: Use 2 decimals
#currency.rounding.default=10
currency.rounding.default=2

# -- SCIPIO: the default rounding mode for currency (used by the FreeMarker currency directive (@ofbizCurrency/CurrencyDirective.java)) - leave empty for legacy behavior
currency.rounding.mode=ROUND_HALF_UP

# -- the default check scale for integer currency enabled (Y|N) (used by the FreeMarker currency directive)
#When decimals are '00'
# -- Y if you want to display only x , example : 10
# -- N if you want to display x.00 , example : 10.00
currency.scale.enabled=N

# -- Properties fallback locale. Change this setting with caution. If you
#    start getting "resource not found" exceptions, then there are
#    properties missing in the locale you specified. This property does not
#    control the default locale - the default locale is set in start.properties.
locale.properties.fallback=en

# -- Locales made available, separated by commas. This property controls
#    which locales the user can select from. If this property is not used,
#    then the user will be able to select from all the locales available
#    in the JVM. The list below corresponds to the languages really available OOTB (2010-16-02)
#locales.available=ar,de,en,es,fr,hi,it,nl,pt,ro,ru,th,zh
locales.available=de,en,es,fr,hi,it,nl,pt,zh

# -- Time zones made available, separated by commas. This property controls
#    which time zones the user can select from. If this property is not used,
#    then the user will be able to select from all the time zones available
#    in the JVM.
#timeZones.available=US/Eastern,US/Central,US/Mountain,US/Pacific,US/Alaska,US/Hawaii

# -- the default country for drop downs
country.geo.id.default=USA

# -- Available countries, separated by commas.This property controls
#    which countries the user can select from. If this property is not used,
#    then the user will be able to select from all the countries.
#countries.geo.id.available=USA
# SCIPIO: List of unavalilable countries
countries.geo.id.unavailable=IRN,RUS,CHN,ENGL,NIRL,WALS,SCOT

# -- the default trackingCodeId to use for Partner Managed Tracking Codes
partner.trackingCodeId.default=

# -- USPS address matching string - should be all lower case, no spaces, pipe delimited
usps.address.match=(^.*?p[\\. ]*o[\\. ]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*(( +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)

# -- general default 'fromEmailAddress' can be overridden in: EmailTemplateSetting
defaultFromEmailAddress=test@scipioerp.com

# -- The default domainname used in the notification emails links
# as 'baseUrl' and 'baseSecureUrl' are set in the url.properties file. 

# -- mail notifications enabled (Y|N)
mail.notifications.enabled=N

# -- redirect all mail notifications to this address for testing
#mail.notifications.redirectTo=

# -- the default mail server to use
mail.smtp.relay.host=localhost

# -- SMTP Auth settings
#mail.smtp.auth.user=
#mail.smtp.auth.password=

# -- Additional Required Fields needed for Gmail and other non traditional smtp servers
# -- These added fields also work for Yahoo business mail for instance
# -- Gmail smtp port can be either 465 or 587
mail.smtp.port=465
# -- Gmail requires StartTLS
#mail.smtp.starttls.enable=true

# -- Gmail requires a JSSE socket factory, the following socketFactory settings will override JavaMail's default socketFactory settings
# -- Port needs to be the same as mail.smtp.port
#mail.smtp.socketFactory.port=465
#mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
#--Fallback [true|false] determines whether you will allow a non secure connection if you are unable to get a secure one
#mail.smtp.socketFactory.fallback=false

# -- how the address are matched with the CRM addresses
mail.address.caseInsensitive=N

# -- debug SMTP mail option enabled (Y|N)
mail.debug.on=N

# -- if some addresses fail the SMTP check using the RCPT TO: command then setting this property to false will abort sending the message
#    to any recipients valid or not
mail.smtp.sendpartial=true

# -- HTTP upload settings
# -- directory used to temporarily store files that are larger than the configured size threshold (10K)
http.upload.max.sizethreshold=10240
# -- directory used to temporarily store files that are larger than the configured size threshold
http.upload.tmprepository=runtime/tmp
# -- max size in bytes (-1 for unlimited)
http.upload.max.size=-1

# -- spam header name and value to block incoming spam detected by external spam checker, configured for spam assin
mail.spam.name=X-Spam-Flag
mail.spam.value=YES

# -- HTTP JSON settings
http.json.xssi.prefix=//

# -- Save Entity Sync Remove Info. This is used in the context of Entity Sync, doc currently updated, WIP at OFBIZ-10390...  
# SCIPIO: NOTE: 2019-09-02: The default has been changed to false; set to true as needed or for backward-compability
saveEntitySyncRemoveInfo=false

# -- Y if you want to display the multi-tenant textbox in the login page and install specify components which related to each tenant
multitenant=N


# SCIPIO: Global pagination defaults.
# NOTE: Some components have their own specific settings from stock Ofbiz. Also see the following files and properties:
#   widget.properties - widget.form.defaultViewSize
#   content.properties - viewSize

# Global default, used mainly for non-widget code. widget code usually uses widget.form.defaultViewSize as default instead.
record.paginate.defaultViewSize=20
# This is used when pagination is disabled. Sometimes it is really used in lookups in these cases, so don't make this an extreme value.
record.paginate.disabled.defaultViewSize=99999

# SCIPIO: Global default rendering exception handling default, used for example in Freemarker configuration
# Possible values: RETHROW (default if omitted - most secure), DEBUG (development default), BLANK, DEBUG_RETHROW
render.global.exception.mode=DEBUG

# SCIPIO: Boolean, controls whether the ControlServlet allows printing transaction rollbacks and other errors
# when a request forward is not possible. Default: true if render.global.exception.mode is DEBUG or DEBUG_*, false otherwise.
render.global.error.fallback.print=

# SCIPIO: Allows to provide alternate implementations of the Freemarker ObjectWrappers used in Scipio
# NOTE: This should be avoided if possible. Instead, try providing wrapper factories using freemarkerWrapperFactories.properties.
render.global.systemObjectWrapperFactory=org.ofbiz.base.util.template.ScipioFtlWrappers$DefaultScipioObjectWrapperFactory

# SCIPIO: Official main site urls
scipioerp.base.url=https://www.scipioerp.com/
scipioerp.ce.dev.setup=community/developer/installation-configuration/
# SCIPIO: Official addons/themes store urls
scipio.store.base.url=https://shop.scipioerp.com/
scipio.store.addon.accounting.SKR-07=products/ADDONS/p_ADDON_ACCT_AT
scipio.store.addon.accounting.SKR-03=products/ADDONS/p_ADDON_ACCT_DE_SKR03
scipio.store.addon.accounting.SKR-04=products/ADDONS/p_ADDON_ACCT_DE_SKR04
scipio.store.addon.accounting.PGC=products/ADDONS/p_ADDON_ACCT_ES_PGC
scipio.store.accounting.PGC=products/ADDONS/p_ADDON_ACCT_ES_PGC
# SCIPIO: Default GLs (included in stock seed, ext or demo data)
scipio.accounting.defaultGL.US_GAAP=component://accounting/data/DemoGeneralChartOfAccounts.xml

# 2017-02-07: Currently configured to use Apache Tika only (manual disabled)...
# allowMode possible values: strict, permissive, all (default: permissive)
media.detect.allowMode=permissive
# If true (true default), uses Apache Tika
media.detect.libraryMediaTypeDetection=true
# If true (false default), uses manual built-in recognition.
media.detect.manualMediaTypeDetection=false
# If true (false default), manual runs before lib.
media.detect.manualMediaTypeDetectionPrioritized=false

# This can be either "origfn" or "name"
# TODO: REVIEW: by setting origfn we are doing the opposite of stock code, so
# currently inconsistent everywhere
media.serve.filename.source=origfn

media.variants.enabled=true

# (Session) Attribute handler default configuration (SCIPIO)
# Each property can be specified in web.xml using same dotted name
# Client override for default (non-store) locale/timeZone/currencyUom attribute resolver
attrHandler.class=com.ilscipio.scipio.base.util.AttrHandler$Factory
# Default session attribute store mode on get calls when uninitialized; values: GET (default - probably do not change for now), GET_SET
attrHandler.defaultAttrAccessOp=GET
# Whether to run user-related (locale/timeZone/currencyUom) attribute even (setDefaultUserSettings) on LoginWorker.doBasicLogin
attrHandler.events.basicLogin=true