[mythtv-commits] mythtv/master commit: 87143507d by Chris Pinkham (cpinkham)

MythTV noreply at mythtv.org
Tue Mar 29 04:54:29 UTC 2011


      Author:  Chris Pinkham <cpinkham at mythtv.org>
 Change Date:  2011-03-28T21:53:00-07:00
   Push Date:  2011/03/28 21:54:27 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  87143507d7c282b4bfa9ebe21745bd8d8cd8c360
   Changeset:  https://github.com/MythTV/mythtv/commit/87143507d

Log:

A bunch of HTML Setup changes.

Add an edit 'popup' div for editting things outside the content div.

Add a JobQueue Job editor to allow editting JobQueue Job commands and
descriptions.  The backend settings such as the window, which jobs can
run on a host, etc. are displayed, but not saveable yet.

Modify the Setup Wizard so that it displays in the 'popup' div.

Add status and error message areas at the top of the page in the black band.

Convert the Storage Groups editor to use the status message area at the top
of the page instead of using alert().

Convert the database test code to use the status message area at the top
of the edit popup.

Convert the password changer to use the status message area at the top of
the page.

Modify HttpConfig, MythSettings, and MythSettingsGroup to allow editting
a single group of items instead of the whole list in the XML file.  This
is used in the JobQueue backend settings tab and will be used in other
places as well.

More code to get toward the saving of settings in HttpConfig.  The new values
aren't validated or saved to the DB yet, but the backend does return a
JSON list of key/value pairs which will contain status messages about any
values that do not fit the criteria specified in the XML, such as an
integer out of range.  This status message is displayed in a div by the
setting input on the form.  This will give us error messages in context.
Eventually there should be no errors returned because we hope to catch these
in javascript prior to submitting.

Split up the 'General' page into multiple tabs. This is based on the groupings
in config_backend_general.xml and is just for readability, the groupings will
probably change.

Minor CSS cleanup to display some 'content' div data a little better.

Added:

   mythtv/html/setup/general.html
   mythtv/html/setup/jobqueue-backend.html
   mythtv/html/setup/jobqueue-job-editor.html
   mythtv/html/setup/jobqueue-jobs.qsp
   mythtv/html/setup/js/general.js
   mythtv/html/setup/js/jobqueue.js

Modified:

   mythtv/html/css/site.css
   mythtv/html/index.html
   mythtv/html/js/menu.qjs
   mythtv/html/js/util.qjs
   mythtv/html/setup/css/setup.css
   mythtv/html/setup/index.html
   mythtv/html/setup/jobqueue.html
   mythtv/html/setup/js/Config.js
   mythtv/html/setup/js/password.js
   mythtv/html/setup/js/storagegroups.js
   mythtv/html/setup/js/util.js
   mythtv/html/setup/js/wizard.js
   mythtv/html/setup/storagegroups.html
   mythtv/html/setup/wizard-capture.html
   mythtv/html/setup/wizard-database.html
   mythtv/html/setup/wizard-network.qsp
   mythtv/html/setup/wizard.html
   mythtv/programs/mythbackend/config_backend_general.xml
   mythtv/programs/mythbackend/httpconfig.cpp
   mythtv/programs/mythbackend/httpconfig.h
   mythtv/programs/mythbackend/mythsettings.cpp
   mythtv/programs/mythbackend/mythsettings.h



More information about the mythtv-commits mailing list