Aller au contenu | Aller au menu | Rechercher

Blog | Budget | Gallery | Sys Info |

General Configuration Form Manager

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:

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

Debian packages

Requirements

GCFM only requires python. It has been tested on python 2.7 for Linux.

Install

To install, one only needs to

Changelogs

GCFM 1.12.5 (Thu, 28 Aug 2014 09:16:35 +0200)

GCFM 1.12.4 (Fri, 25 Jul 2014 00:52:42 +0200)

GCFM 1.12.3 (Wed, 23 Jul 2014 22:07:37 +0200)

GCFM 1.12.2 (Thu, 10 Jul 2014 06:35:43 +0200)

GCFM 1.12.1 (Tue, 08 Jul 2014 09:21:50 +0200)

GCFM 1.12 (Thu, 03 Jul 2014 22:16:56 +0200)

GCFM 1.10 (Sat, 03 May 2014 00:11:10 +0200)

GCFM 1.8.1 (Mon, 24 Mar 2014 20:31:10 +0100)

GCFM 1.8 (Mon, 24 Mar 2014 09:22:24 +0100)

GCFM 1.6.1 (Thu, 20 Mar 2014 09:29:39 +0100)

GCFM 1.6 (Wed, 19 Mar 2014 09:09:45 +0100)

GCFM 1.4.1 (Sat, 15 Mar 2014 23:28:34 +0100)

GCFM 1.4 (Fri, 14 Mar 2014 09:09:13 +0100)

GCFM 1.2 ( Wed, 19 Feb 2014 13:30:49 +0100)

GCFM 1.0 (Wed, 22 Jan 2014 21:50:26 +0100)

Page créee/modifié le 22 janvier 2014.

Envoyez tout commentaire à Laurent Mazet

Ce site fonctionne avec des logiciels libres tels que Debian GNU/Linux, Apache, MySQL et PHP

Valid XHTML 1.1 Valid CSS!