conf/default_conf.yaml in rsence-2.1.11 vs conf/default_conf.yaml in rsence-2.2.0
- old
+ new
@@ -24,20 +24,47 @@
#
:instance: null
#
# A list of javascript dependencies to include in the html
:deps: [ ]
+ #
+ # Boot library:
+ :boot_lib: rsence
+ #
+ # Default additional libraries to use:
+ :default_libs: []
#
# The settings for the main plugin
:main_plugin:
#
# The background color of the web page when loading is done
:bg_color: '#ffffff'
#
# how many milliseconds to wait before doing an idle poll
:server_poll_interval: 2000 # 2 seconds
#
+ # The settings for the daemon
+ :daemon:
+ #
+ # How long to wait before binding the broker to the
+ # HTTP address and port after starting the Transporter.
+ # A value of -1 disables the broker completely.
+ # Before waiting, the daemon starts all subsystems except the
+ # http handling front-end (Broker).
+ # Useful in situations where RSence itself configures the
+ # network interfaces or the interfaces become available after
+ # RSence is started.
+ :http_delayed_start: 0
+ #
+ # Save plugin and session state every n seconds.
+ # Set to 0 or negative to disable.
+ :autosave_interval: 180 # once every 3 minutes
+ #
+ # Daemon helper files, leave empty for defaults.
+ #:pid_fn: /var/run/rsence.pid
+ #:log_fn: /var/log/rsence.log
+ #
# Switches on debug-mode:
# - Generates more output
# - Each time /hello is post-requested:
# - Plugins are reloaded from source
# - GZFiles are reloaded (if more recent than in memory)
@@ -52,11 +79,11 @@
#
# HTTP Port number to listen to.
:port: 8001
#
# Bind this ip address ('0.0.0.0' means all)
- :bind_address: '0.0.0.0'
+ :bind_address: '127.0.0.1'
#
# Rack handler to use, defaults to thin
:rack_require: mongrel
#
# When enabled, sets http cache headers
@@ -81,11 +108,11 @@
#
# The HApplication priority of the client, when actively polling.
:client_poll_priority: 60
#
# Reload the client after any plugins are reloaded:
- :client_autoreload: false
+ :client_autoreload: true
#
#
# Session-related settings
:session_conf:
#
@@ -125,14 +152,10 @@
# If enabled, also check the maximum number of clones allowed in
# :session_cookie_max_clones
# Defaults to false, will be the default in a future version.
:clone_cookie_sessions: true
#
- # This limits the amount of cloned targets of a source session.
- # NOTE: This has no effect yet, the code is not implemented.
- :max_cloned_sessions: 10
- #
# This option overrides the default session timeout.
# Don't set this to less than the expected poll interval,
# otherwise the session might expire before the previous
# (cloned) session re-connects the next time.
# A safe value for a 60 second poll interval is 120 (default).
@@ -159,16 +182,10 @@
:key_length: 8
#
# Disposable keys, when enabled, changes the value id on each session restoration
:disposable_keys: true
#
- # Daemon helper files, leave empty for defaults.
- :daemon: {
- #:pid_fn: /var/run/rsence.pid
- #:log_fn: /var/log/rsence.log
- }
- #
# Entered by code, empty container
:broker_urls: { }
#### Client package build configuration
@@ -176,44 +193,40 @@
#
:client_pkg:
# Source directories to scan
:src_dirs: []
-
- # RSence Client Framework
- #- js
-
- # How to include your own custom js package directory:
- # - /home/me/code/extra_components
-
+
# List of theme names to include and pack
:theme_names:
- default # Makes default_theme.js containing css and html templates
- bright # Makes bright_theme.js containing css and html templates
# List of packages to build
:packages:
# The core package, loaded by default using a script tag in index_html
core:
-
+
# RSence.*
- rsence_ns
-
+
+ - locale_settings # HLocaleSettings
+
# RSence.Core
- class # HClass
- elem # ELEM
- event # Event
-
+
# RSence.Util
- sha # SHA
-
+
# RSence.Foundation
- system # HSystem
- valueresponder # HValueResponder
- application # HApplication
-
+
# COMM
- comm # COMM
- queue # COMM.Queue
- session # COMM.Session
- transporter # COMM.Transporter
@@ -235,10 +248,11 @@
- eventresponder # HEventResponder
- dummyvalue # HDummyValue
- eventmanager # EVENT
- controldefaults # HControlDefaults
- control # HControl
+ - valueaction # HValueAction
- dyncontrol # HDynControl
- centerview # HCenterView
- scrollview # HScrollView
- inlineview # HInlineView
@@ -249,10 +263,11 @@
- radiobutton # HRadioButton
- stringview # HStringView
- textcontrol # HTextControl
- passwordcontrol # HPasswordControl
- textarea # HTextArea
+ - searchfield # HSearchField
- uploader # HUploader
- slider # HSlider
- vslider # HVSlider
- progressbar # HProgressBar
- progressindicator # HProgressIndicator
@@ -277,10 +292,11 @@
# These are not complete; they are still under development
# and will be included in the controls package when finalized.
datetime:
- datetimevalue # HDateTime
- calendar # HCalendar
+ - datetimepicker # HDateTimePicker
- timesheet # HTimeSheet
- timesheet_item # HTimeSheetItem
- timesheet_item_edit # HTimeSheetItemEditor
# List related control widgets (components)
@@ -292,19 +308,42 @@
- radiobuttonlist # HRadiobuttonList
- propertylist # HPropertyList
- propertylisteditor # HPropertyEditor
- minimenu # HMiniMenu
- minimenuitem # HMiniMenuItem
+ - popupmenu # HPopupMenu
+ - menuitem # HMenuItem
+
+ tables:
+ - table # HTable
- # Special packages that include other packages (not used currently)
+ # Graphics related control widgets (components)
+ # These are not complete and there will probably never be any
+ # serious efforts to support legacy browsers, like old IE versions,
+ # unless someone is interested in sponsoring such efforts.
+ graphics:
+ - svgcontrol
+
+ # Special packages that include other packages
:compound_packages:
- allinone:
+ rsence:
- core
- default_theme
- controls
- lists
- datetime
+ - tables
+ - graphics
+ - servermessage
+ std_widgets:
+ - default_theme
+ - controls
+ - lists
+ - datetime
+ - tables
+ - graphics
+ - servermessage
# List of variables and other names beginning
# with a underscore that should not be obfuscated
:reserved_names:
- _ID
@@ -322,12 +361,9 @@
- .gif
- .png
- .swf
- .svg
- .pdf
-
- # The name of the include file
- :js_inc: js.inc
# If disabled, makes packages out of single source bundles automatically
:dont_pack_undefined: true
# Replacement prefix for obfuscated names