#### Server configuration # # The :base_url specifies the prefix for all default http responders. :base_url: '/' # # This setting defines if requests should be gzip-compressed or not. # This is a trade-off between cpu cycles used and network bandwidth used. # It's generally a good idea to leave it as false (gzipping enabled). :no_gzip: false # # Enabling this appends all msg.reply call output to stdout :trace: false # # The settings for the index_html plugin :index_html: # # HTML template file path relative to the plugin dir :index_tmpl: 'tmpl/index.html' # # The index.html page
This site requires a Javascript -capable web browser.
Please enable Javascript or upgrade your browser.
' # :instance: null # # A list of javascript dependencies to include in the html :deps: [ ] # # 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 # # 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) :debug_mode: false # # Web server-related settings: :http_server: # # Simulate network latency. Good for testing how your # app behaves with laggy connections. :latency: 0 # # HTTP Port number to listen to. :port: 8001 # # Bind this ip address ('0.0.0.0' means all) :bind_address: '0.0.0.0' # # Rack handler to use, defaults to thin :rack_require: mongrel # # When enabled, sets http cache headers # to cache content as long as possible. :cache_maximize: true # # When :cache_maximize is enabled, # this is the time (in seconds) the cached # content will expire in :cache_expire: 14515200 # 6 months # # Paths to scan for available plugins :plugin_paths: [ ] # # List of files that include strings :string_files: [ "conf/default_strings.yaml" ] # # Transporter settings: :transporter_conf: # # The HApplication priority of the client, when actively polling. :client_poll_priority: 60 # # # Session-related settings :session_conf: # # Enable cookie-based sessions :session_cookies: true # # Trusting the cookies means ignoring the client protocol session key exchange. # Enabled by default, because in most cases, extreme security measures aren't necessary # and the drawback of having an invalid session because a tcp packet got lost isn't # tolerable as a default setting. :trust_cookies: true # # The comment string in the session cookie :ses_cookie_comment: "RSence Session Key" # # Disposable keys. When enabled, runs in a more secure way and changes the session key on each xhr. :disposable_keys: true # # Timeout controls how long a session is valid :timeout_secs: 900 # 15 minutes # # Key length controls the length of the random-part of the key. :key_length: 12 # # Cookie keys are this many times longer than xhr keys :cookie_key_multiplier: 2 # # # When enabled, deletes all old sessions upon server startup. # If the --reset-sessions command-line switch is provided, # switches this one to true. :reset_sessions: false # # When this is enabled, multiple sessions are allowed for each client # When it's enabled, the old session is left intact and a new one is # created by making a clone of the last session. # 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). :cloned_session_expires_in: 120 # # Message strings :messages: # # if the session is invalid for one reason or another, display this: :invalid_session: :title: 'Invalid Session' :descr: 'Your session is invalid. Please reload the page to continue.' :uri: '/' # # Database configuration :database: # Session database storage string. Leave empty here to enable the wizard for storage. :ses_db: 'sqlite://db/ses.db' # # ValueManager settings :values_conf: # Key length controls the length of the random-part of the key. :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 # # :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 # 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 - sessionwatcher # COMM.SessionWatcher - urlresponder # COMM.URLResponder - autosync # ( automatic sync setup ) - values # COMM.Values - value # HValue - jsloader # COMM.JSLoader - json_renderer # COMM.JSONRenderer - valuematrix # HValueMatrixInterface & HValueMatrix - point # HPoint - rect # HRect - thememanager # HThemeManager - markupview # HMarkupView - morphanimation # HMorphAnimation - viewdefaults # HViewDefaults - view # HView - eventresponder # HEventResponder - dummyvalue # HDummyValue - eventmanager # EVENT - controldefaults # HControlDefaults - control # HControl - dyncontrol # HDynControl - centerview # HCenterView - scrollview # HScrollView - inlineview # HInlineView # The default collection of simple control widgets (components) controls: - button # HButton & HClickValueButton - checkbox # HCheckbox - radiobutton # HRadioButton - stringview # HStringView - textcontrol # HTextControl - passwordcontrol # HPasswordControl - textarea # HTextArea - uploader # HUploader - slider # HSlider - vslider # HVSlider - progressbar # HProgressBar - progressindicator # HProgressIndicator - imageview # HImageView - stepper # HStepper - validatorview # HValidatorView - window # HWindow - tab # HTab & HTabView & HTabItem - sheet # HSheet - alert_sheet # HAlertSheet - confirm_sheet # HConfirmSheet # Server error message application ( the Reload / Reset Session dialog ) servermessage: - reloadapp # ReloadApp # Special package for Internet Explorer 6.0 iefix: - iefix # Date and time -related control widgets (components) # These are not complete; they are still under development # and will be included in the controls package when finalized. datetime: - datetimevalue # HDateTime - calendar # HCalendar - timesheet # HTimeSheet - timesheet_item # HTimeSheetItem - timesheet_item_edit # HTimeSheetItemEditor # List related control widgets (components) # These are not complete; they are still under development # and will be included in the controls package when finalized. lists: - listitems # HListItems - checkboxlist # HCheckboxList - radiobuttonlist # HRadiobuttonList # Special packages that include other packages (not used currently) :compound_packages: allinone: - core - default_theme - controls - lists - datetime # List of variables and other names beginning # with a underscore that should not be obfuscated :reserved_names: - _ID - _WIDTH - _width - _HEIGHT - _height - _ # List of file extensions considered graphics image types. # Used for theme graphics inclusion. :gfx_formats: - .jpg - .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 :repl_prefix: _ # If enabled, doesn't obfuscate code (useful for debugging) :no_obfuscation: false # If enabled, doesn't remove whitespace (useful for debugging) :no_whitespace_removal: false # If enabled, doesn't make gzipped packages :no_gzip: false # The strategy for gzip, a number between 0 and 9 # - 0 means largest size, but fast compression # - 9 means smallest size, but slow compression # - any number in between is a compromise :gz_strategy: 9