SMSCON Editor

The SMSCON Editor is a graphical user interface to the configuration file of the SMSCON.

It has been created with PyQT (PyQt v4.7.5 for Python v2.6) and the functionality is provided by Python.

With its assistance the user is able to edit from a GUI all the options and name the secret pass-phrases of the commands used for controlling the device by the SMSCON and are stored at its configuration file, i.e. the /usr/bin/smscon_config file.

In addition, it provides an interface to initialise (i.e. init, start, stop, reset and set/remove from the device's boot sequence) the smscon_daemon.


Contents

Installation

The application can be installed directly by the Application Manager (HAM) and the Extras repositories. (Check here for its status)

You can also find the latest version in the garage project page.

Dependencies

The editor depends (not verified yet) at:

  • smscon
  • python2.5
  • python2.5-qt4-gui
  • python2.5-qt4-core
  • python2.5-qt4-maemo5

Usage

When it starts it loads the current configuration file and the options already will be shown in the appropriate sections of the GUI.

FIXME: add explanations

General configuration tab

Popup showing the correct startup, i.e. smscon_config file is correct and has been loaded.

General configuration tab

Send GPS Coordinates Replies

Choice can be made where the replies will be send. It can be either SMS, Email or Both.

Email configuration tab

Reverse SSH configuration tab

Commands renaming first tab

The Commands can be renamed (it is recommended for maximum safety) to ones preferences.

  • The "Prefix" can be useful in the cases where it is desired all the default names to be prefixed with a common string.

Note: The new names (as all other changes) are stored only after the button "Update Settings" is pressed. In addition, the same operation has to be repeated for the second tab of commands renames.

Commands renaming second tab

Program Initialisation tab

Invoke program test commands tab

Drop down menu

Popup Menu

FIXME: add functionality

Versions:

v.0.4.4-14 (current)

  • changelog:
    • Added prefix of a common string to all commands.
  • issues:
    • none known/reported.

v.0.4.4-12

  • changelog:
    • Added support for new option to send GPS coordinates to both email and sms.
    • Increased the size of the username fields - useful with gmail and such.
    • Removed smscon from the dependencies (to allow promotion in extras)

v.0.4.4-11

  • changelog:
    • Added tests for receiving GPS coordinates commands
    • Added tests for phonecall and sms commands
    • Added information and warning boxes
    • Many visibility enhancement changes
    • Updated icon to be transparent.
    • Added icon for the application manager.
    • Made MailFrom = MailAddress as a temp solution until dedicated space is made for this field in the GUI.
    • Added the About and Credits dialogs.
    • Added smscon in the dependencies.

v.0.4.4-9

  • changelog:
    • Changes in the postinst script to correct it's execution and privileges
    • Added checks on the configuration file existence and to provide messages to the user when missing or corrupted.

v.0.4.4-5

Warning: This version (and above) will work only with SMSCON version equal or higher than 0.4.4

  • changelog:
    • Addition of a new tickbox to provide "Reply On Keybord Open" settings option.
    • Update of code reading the config file to include spaces in commands (provided by digitalvoid).
    • Corrected canvas of the main window to fit better the N900 screenzise.
    • Increased the width of commands line enter.
    • Corrected the .desktop file to point in the correct iconset
    • Added explicit permissions in the postinst script for the gui elements file.

v.0.4.3-9

  • changelog:
    • added block on starting the UI as root (it should only be started as user)
    • the editor will quit after calling the init or reset commands (after informing user).
    • added slightly modified icons.
    • added settings and permissions in sudoers file.
    • cleanup of postinst instructions
    • cleanup of commented out code.

v.0.4.3-8

  • changelog:
    • The Editor will trigger a reload of the new configuration after every update of the config file.
    • Temporarily the MailFrom field in the email settings will be filled by the MailAddress (in the future will get its own element in the GUI).
    • Renamed buttons in the UI from Create Settings to Update Settings.

NOTE: For older versions please see the changelogs in the garage page

Future Development

  • add mailfrom field
  • add more test commands
  • password protect the configuration

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 only.

Disclaimer

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.