intial experiments with websockets. Also includes a small http server for serving static files (mainly for the client-side library used by the browser).

Signed-off-by: Andreas Marr <monolar@monolar.org>
added client side library based on GomObserver in common.
Currently gom-client support is deactivated so initial retrieve does not work.
Also server is echoing back a fake update payload.

Signed-off-by: Andreas Marr <monolar@monolar.org>
Added gom access capabilities. Using the logger and jsgom from the cdn now.

Signed-off-by: Andreas Marr <monolar@monolar.org>
oops - removed app_settings.yml from repo

Signed-off-by: Andreas Marr <monolar@monolar.org>
Added app_settings.yml to gitignore

Signed-off-by: Andreas Marr <monolar@monolar.org>
Could not get this to properly work via osc - using http for now.
OSC is missing an association between a subscribed path and the gnp. This means we cannot match to listeners.

Signed-off-by: Andreas Marr <monolar@monolar.org>
Housekeeping with gom-observers and known subscriptions for connections.
Also implicitely manages removal of gom-observers from gom on shutdown

Signed-off-by: Andreas Marr <monolar@monolar.org>
Also removing GomObserver instance from known observers data structure (and leaving it to be garbage collected)

Signed-off-by: Andreas Marr <monolar@monolar.org>
better logging

Signed-off-by: Andreas Marr <monolar@monolar.org>
removing osc support
cleanup
more defensive handler in httpserver

Signed-off-by: Andreas Marr <monolar@monolar.org>
Added session restore by simply reloading the whole document after 30 secs.

Signed-off-by: Andreas Marr <monolar@monolar.org>
supporting erb template rendering for static files.
This allows us to expose the APP_SETTINGS in js files without too much hassle.

Signed-off-by: Andreas Marr <monolar@monolar.org>
better logging and minor rearrangement

Signed-off-by: Andreas Marr <monolar@monolar.org>
initial tests for gom_observer

Signed-off-by: Andreas Marr <monolar@monolar.org>
Added proper logging.

Signed-off-by: Andreas Marr <monolar@monolar.org>
Added real log files to gitignore.

Signed-off-by: Andreas Marr <monolar@monolar.org>
cleanup

Signed-off-by: Andreas Marr <monolar@monolar.org>
proper run loop termination.
Minor code rearrangement

Signed-off-by: Andreas Marr <monolar@monolar.org>
added http server tests - those are integration tests. i did not find a way to perform unit test.

Signed-off-by: Andreas Marr <monolar@monolar.org>
Added registering in gom as service.

Signed-off-by: Andreas Marr <monolar@monolar.org>