OBM configuration file

Introduction

This document explain the new way to store OBM configuration.

Before OBM 2.3

  • Main configuration file : obm_conf.ini
  • Main configuration application file : obm_conf.inc

From OBM 2.3

  • All obm_conf.inc variables are moving in the database
  • obm_conf.ini is splitted in obm_conf.ini and some database storage

obm_conf.ini in OBM 2.4.x

Database

In obm-sync as in o-push, we access the database using a connection pool.

You can change the default pool size by specifing the “database-max-connection-pool-size” in the “obm_conf.ini” configuration file (like “database-max-connection-pool-size=15”) .

obm_conf.ini storage in OBM 2.2.0

FIXME

SECTIONS/variables default value description
global
title OBM
automate
logLevel
ldapServer localhost LDAP server adress
obm
new variable
sync
new variable

Database storage in OBM 2.3.0

global parameters

domain parameters (identified by conf_domain_id or in DomainProperties) ??

Table

table Conf

ConfComments
conf_domain_id
conf_key
conf_value

Scalar variables

Array variables

Specific variables

Profiles

Sections

Modules

Visibility

Sections

obm_conf.ini must have many section:

SectionsComments
global
automate
obm
sync

Profiles

All profiles must move to DB. All OBM components must access profiles, and also remote components.

Storage spécification of profile in DB

FIXME

obm_conf.inc variables for OBM 2.1.x

All variables which are present on actual obm_conf.inc and action for next release.

Variables Actions CommentsDescriptions
$resources_path deprecated move dir to webroot
$c_home_redirect
$conf_lang deprecated set default true Use specific langs
$conf_modules move to obm_conf.ini Use specific check controls (see conf/modules/module.inc)
$cgp_todo_nb move to obm_conf.ini Todo lines to display
$conf_display_max_rows move to obm_conf.ini Maximum rows allowed to display
$cgp_sql_star deprecated Allow * in search field
$cgp_archive_only archive checkbox return only archived results
$ctu_sql_limit deprecated
$cmy_character_set deprecated
$cmy_charset_collation deprecated
$cgp_mail_enabled deprecated send OBM email
$cgp_demo_enabled deprecated is Demo enabled (login screen array with default account)
$cs_lifetime deprecated session Cookie lifetime (in seconds, 0=session cookie)
$cgp_sess_db move to obm_conf.ini Use Database sessions
$cgp_cookie_name ?
$cgp_cookie_domain ?
$auth_kind move to obm_conf.ini CAS
$cas_server move to obm_conf.ini CAS
$cas_server_port move to obm_conf.ini CAS
$cas_server_uri move to obm_conf.ini CAS
$password_encryption move to obm_conf.ini
$cclipboard_address move to obm_conf.ini Company and Contact : Copy address to clipboard
$caf_company_name deprecated new system of check form Company : Auto format fields
$caf_town deprecated new system of check form Company : Auto format fields
$csearch_advanced_default ? Company + Contact : Advanced search enabled by default
$cgp_mailing_default Contact : is mailing enabled by default for a new contact
$ccontact_private_default Contact : is a new contact private by default
$ccalendar_public_groups ?? Calendar : show public groups
$ccalendar_resource_admin  Calendar: generic E-mail resource admin for calendar module
$ccalendar_weekstart  ?? 
$ccalendar_first_hour ??
$ccalendar_last_hour ??
$ccalendar_max_users Calendar max user displayed in the calendar
$ccalendar_resource ?? set default true ? Calendar Resource usage
$ccalendar_send_ics move to obm_conf.ini Calendar send ics file
$ccalendar_hour_fraction ??? Calendar hour fraction (minutes select granularity)
$cmail_incident Generic E-mail for Incident module
$cimage_logo  Time : activity report logo
$cdocument_root move to obm_conf.ini   Document : Root of the document repository
$default_path we can delete this and set ”/” Default directory
$cgroup_private_default move to obm_conf.ini Group : is a new group private by default
$cdefault_tax move to obm_conf.ini default taxes values
$cgp_hide[*]
$cgp_show[*]  
$cgp_user[*]
$aliamin_link deprecated
$aliacms_link deprecated
$blogs_link deprecated
specification/obmconffile.txt · Last modified: 2012/08/21 17:36 by thilaire
Driven by DokuWiki