General Configuration Form Manager
Generic Configuration Form Manager (GCFM aka webconfig) is a minimalist web server which provides some web service to update configuration file. A web-service skeleton is provide in directory skel as an example to develop specific configuration file editor. Mostly one need to customize the help tab message and the import/export function in the script.inc.js file.
Moreover, GCFM also provides a form to configure the minimalist web server in order to enable configuration editor services. It allows to:
- load the web server configuration file from a server,
- save a modified web server configuration file to a server,
- import a web server configuration file from local file-system,
- export a modified configuration to local file-system,
- and, obviously, to change alias name, directory name, configuration file name and service description of installed configuration file editors.
Server usage
GCFM provides webconfig, the generic configuration form server. This daemon is a small web server which supplies a basic support needed to update configuration file remotely.
It can serve HTML pages, CSS and JavaScript files, and images (PNG, JPEG and ICO format only) on GET requests. It also do automatic redirection to index.html for request on directory name.
On POST request, webconfig parses two variables: action and data. action could be "load", "save" or "refresh". Action "load" will provide an XML file containing the desired configuration file encoded in base64 format. Action "save" will save on local file system the contain of data into the desired configuration file after decoding the base64 format. A status is provided in an XML response. Action "refresh" will force webconfig to reload its configuration.
XML response is composed, named message, is composed of two fields: stat containing the last action status (0 stands for OK, and 1 for KO) and, optionally, data containing the downloaded file encoded in base64 format.
Form skeleton
Screen-shots
Welcome/Service list view
Help view
Edit view
Download
Source packages
- Webconfig version 1.16.1
- Webconfig version 1.16.0
- Webconfig version 1.14.0
- Webconfig version 1.12.6
- Webconfig version 1.12.5
- Webconfig version 1.12.4
- Webconfig version 1.12.3
- Webconfig version 1.12.2
- Webconfig version 1.12.1
- Webconfig version 1.12
- Webconfig version 1.10
- Webconfig version 1.8.1
- Webconfig version 1.8
- Webconfig version 1.6.1
- Webconfig version 1.6
- Webconfig version 1.4.1
- Webconfig version 1.4
- Webconfig version 1.2
- Webconfig version 1.0
Debian packages
Requirements
GCFM only requires python. It has been tested on python 2.7 for Linux.
Install
To install, one only needs to
- unpack the archive in an accessible directory,
- file
alias.csv must be writable for server user, - start web server on port 8042 with command
./webconfig .
Changelogs
GCFM 1.16.1 (Mon, 21 Sep 2015 20:41:00 +0200)
- Add default resource directory into daemon script
GCFM 1.16.0 (Thu, 20 Aug 2015 10:48:34 +0200)
- Support multiple alias files
- Better exception management
GCFM 1.14.0 (Thu, 02 Apr 2015 08:50:49 +0200)
- New server feature, 'file' for direct download
- Support https connexion
GCFM 1.12.6 (Thu, 11 Dec 2014 08:45:32 +0100)
- Change cursor during apply action
GCFM 1.12.5 (Thu, 28 Aug 2014 09:16:35 +0200)
- Fix import file
GCFM 1.12.4 (Fri, 25 Jul 2014 00:52:42 +0200)
- Fixes for ie6 and ie7
GCFM 1.12.3 (Wed, 23 Jul 2014 22:07:37 +0200)
- Fixes for ie6
GCFM 1.12.2 (Thu, 10 Jul 2014 06:35:43 +0200)
- Support semi-column in action command
- Protect file openings in daemon
- Fix skeleton
GCFM 1.12.1 (Tue, 08 Jul 2014 09:21:50 +0200)
- Fix latest issues to support IE
- Fix skeleton
- Better error handling on server
GCFM 1.12 (Thu, 03 Jul 2014 22:16:56 +0200)
- Right click on redirection opens a new tab/window
- Protect server from python trace back
- Full support for ie
- Update skeleton
GCFM 1.10 (Sat, 03 May 2014 00:11:10 +0200)
- Forbid sending background request during script action
- Add password to access edition features
- Allow redirection button
- Allow title customization
GCFM 1.8.1 (Mon, 24 Mar 2014 20:31:10 +0100)
- Remove control sequence from command output
GCFM 1.8 (Mon, 24 Mar 2014 09:22:24 +0100)
- Enhance service list
- Add action button management
GCFM 1.6.1 (Thu, 20 Mar 2014 09:29:39 +0100)
- Fix hidden menu (different behaviour on context menu than on click
GCFM 1.6 (Wed, 19 Mar 2014 09:09:45 +0100)
- Backport functions from xcfe
- Add ENABLE variable for daemon activation control
- Replace anchor by goto_url javascript function in service list
- Add forgotten js files in package
- New rule to ease debian packaging
- Patch for chromiun
- Fix incorrect post request answer
- Fix service list
- Fix check input
GCFM 1.4.1 (Sat, 15 Mar 2014 23:28:34 +0100)
- Enhance alias table editor
GCFM 1.4 (Fri, 14 Mar 2014 09:09:13 +0100)
- Backport from xcfe: input checking, menu, and xml parser
- Remove item without description from list
GCFM 1.2 ( Wed, 19 Feb 2014 13:30:49 +0100)
- Popup a selector window on export
- Add an 'apply' action
- Correct export feature
- Correct spelling
- Fix string request split, avoid issue on base64 decoding
- Fix user account properties
GCFM 1.0 (Wed, 22 Jan 2014 21:50:26 +0100)
- Initial version