[mythtv-firehose] mythtv branch master updated by stuartm. v0.28-pre-2693-gc4ed359

Git Repo Owner noreply at mythtv.org
Wed Feb 25 14:16:31 UTC 2015

The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  c4ed359b6036929f16fc5ec5652d98ee0505d0c7 (commit)
       via  2e4035af3dea15ddb297798c1e6cccd6c41b0208 (commit)
      from  fff741782ad888f262409c4bb97b36b723243dc1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c4ed359b6036929f16fc5ec5652d98ee0505d0c7
Author:    Stuart Morgan <smorgan at mythtv.org> at Fri, 20 Feb 2015 19:04:54 +0000
Committer: Stuart Morgan <smorgan at mythtv.org> at Wed, 25 Feb 2015 14:13:04 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c4ed359b6036929f16fc5ec5652d98ee0505d0c7

Add skeletal user login and session management class
This is only currently used to manage logins for the WebFrontend and
it isn't a complete implementation but it could be extended in future
to support multi-user features.

There is no UI yet to add/remove users, set passwords or permissions.

The design is session based, with the master backend acting as the
central, and only, manager for sessions. Users log in on any client,
but the actual request is processed on the master. A successful login
results in the creation of a 'session' identified with a session token
which the client will use in all subsequent exchanges to minimise the
login credentials going over the network. Sessions have expiry dates
and can be terminated at the master backend effectively allowing users
to be 'logged out' remotely.

For the WebFrontend sessions end when the browser is closed, unless
TLS is being used in which case a cookie is set which allows the
session to be resumed.

There is a stub for a context-dependent permissions system, extensible
by plugins. Other multi-user features such as restricting usage for
certain users to a set period during the day, or a fixed number of
hours can be bolted on later.

commit 2e4035af3dea15ddb297798c1e6cccd6c41b0208
Author:    Stuart Morgan <smorgan at mythtv.org> at Thu, 19 Feb 2015 13:51:46 +0000
Committer: Stuart Morgan <smorgan at mythtv.org> at Wed, 25 Feb 2015 14:13:04 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2e4035af3dea15ddb297798c1e6cccd6c41b0208

Add digest authentication support


Summary of changes:
 mythtv/bindings/perl/MythTV.pm              |    2 +-
 mythtv/bindings/python/MythTV/static.py     |    2 +-
 mythtv/libs/libmythbase/libmythbase.pro     |    2 +
 mythtv/libs/libmythbase/mythcorecontext.cpp |   15 +-
 mythtv/libs/libmythbase/mythcorecontext.h   |    3 +
 mythtv/libs/libmythbase/mythdate.cpp        |    3 +
 mythtv/libs/libmythbase/mythdate.h          |    1 +
 mythtv/libs/libmythbase/mythsession.cpp     |  433 +++++++++++++++++++++++++++
 mythtv/libs/libmythbase/mythsession.h       |  189 ++++++++++++
 mythtv/libs/libmythbase/mythversion.h       |    4 +-
 mythtv/libs/libmythtv/dbcheck.cpp           |   34 ++
 mythtv/libs/libmythupnp/httprequest.cpp     |  341 ++++++++++++++++++++--
 mythtv/libs/libmythupnp/httprequest.h       |   23 ++-
 mythtv/libs/libmythupnp/httpserver.cpp      |    7 +-
 mythtv/libs/libmythupnp/httpserver.h        |   44 ++--
 15 files changed, 1050 insertions(+), 53 deletions(-)
 create mode 100644 mythtv/libs/libmythbase/mythsession.cpp
 create mode 100644 mythtv/libs/libmythbase/mythsession.h


More information about the mythtv-firehose mailing list