SMSCON Editor

(Versions:)
(Versions: added newer version changelogs)
 
(75 intermediate revisions not shown)
Line 1: Line 1:
-
The SMSCON Editor is a graphical user interface to the configuration file of the [[SMSCON]].  
+
The SMSCON Editor is a user interface to the configuration of the [[SMSCON]] application. Further, it can assist in verifying its correct operation and configuration.
-
It has been created with PyQT (PyQt v4.7.5 for Python v2.6) and the functionality is provided by Python.
+
It has been created using the PyQT libraries 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 <code>/usr/bin/smscon_config</code> file.  
+
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]]. All settings are stored at its configuration file, i.e. the <code>/opt/smscon/smscon_config</code> 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 <code>smscon_daemon</code>.   
In addition, it provides an interface to initialise (i.e. init, start, stop, reset and set/remove from the device's boot sequence) the <code>smscon_daemon</code>.   
-
 
+
==Installation==
-
=Installation=
+
The application can be installed directly by the Application Manager (HAM) and the [[Extras]] repositories. (Check [http://maemo.org/packages/view/smscon-editor/ here] for its status)   
The application can be installed directly by the Application Manager (HAM) and the [[Extras]] repositories. (Check [http://maemo.org/packages/view/smscon-editor/ here] for its status)   
Line 16: Line 15:
===Dependencies===
===Dependencies===
-
The editor depends (not verified yet) at:
+
The editor depends to the following packages:
 +
* smscon
* python2.5
* python2.5
* python2.5-qt4-gui
* python2.5-qt4-gui
* python2.5-qt4-core  
* python2.5-qt4-core  
* python2.5-qt4-maemo5
* python2.5-qt4-maemo5
-
It suggests:
 
-
* smscon
 
-
=Usage=
+
==Usage==
-
When it starts it loads the current configuration file and the options already will be shown in the appropriate sections of the GUI.
+
 
 +
When it starts it loads the current configuration file so that the options already configured to be shown in the appropriate sections of the GUI.
FIXME: add explanations
FIXME: add explanations
-
===General configuration tab===
+
===Start up===
-
Popup showing the correct startup, i.e. <code>smscon_config</code> file is correct and has been loaded.
+
A banner will popup showing the correct startup, i.e. the <code>smscon_config</code> file is correct and that it has been successfully loaded by the editor.
-
[[Image:SMSCON_Editor_Startup.png|600px]]
+
[[Image:SMSCON_Editor_Startup.png|400px]]
 +
 
 +
(Since version 0.6) a password dialog will open and request the application password
 +
 
 +
'''NOTE:''' the default password for the SMSCON Editor is '''12345''' and should not be mistaken with the password that might be requested during the installation of the OpenSSH server (which is a dependency of [[SMSCON]]).
 +
 
 +
 +
[[Image:SMSCON_Editor_AskPassword.png|400px]]
===General configuration tab===
===General configuration tab===
[[Image:SMSCON_Editor_General.png|600px]]
[[Image:SMSCON_Editor_General.png|600px]]
 +
 +
[[Image:SMSCON_Editor_General1.png|300px]]
 +
[[Image:SMSCON_Editor_General2.png|300px]]
 +
 +
==== Select Reply Options ====
 +
 +
Choice can be made on the communication option the replies are send.
 +
 +
[[Image:SMSCON_Editor_disableReply.png|300px]]
 +
[[Image:SMSCON_Editor_selectReply.png|300px]]
 +
 +
====Disable All Replies ====
 +
 +
Choice can be made to disable all replies (this will not apply for the SMS message send when an not authorised SIM card is inserted).
 +
If no replies to be send is requested, the relevant options will be hidden, i.e. will become non selectable.
 +
 +
[[Image:SMSCON_Editor_disableReply2.png|300px]]
 +
[[Image:SMSCON_Editor_selectReply2.png|300px]]
 +
 +
====Send GPS Coordinates Replies ====
 +
 +
Choice can be made where the replies with the GPS coordinates should be send.
 +
It can be either one of:
 +
*SMS
 +
*Email
 +
*Both
 +
 +
[[Image:SMSCON_Editor_General_selection.png|400px]]
===Email configuration tab===
===Email configuration tab===
 +
 +
In order to receive email notifications the appropriate tab must be filled.
 +
Currently only few types are supported.
 +
 +
An example of gmail account settings are shown below:
 +
 +
[[Image:SMSCON_Editor_Email.png|600px]]
[[Image:SMSCON_Editor_Email.png|600px]]
===Reverse SSH configuration tab===
===Reverse SSH configuration tab===
 +
 +
'''NOTE:''' Leaving empty the username and password fields will disable the reverse SSH functionality.
 +
 
[[Image:SMSCON_Editor_SSH.png|600px]]
[[Image:SMSCON_Editor_SSH.png|600px]]
===Commands renaming first tab===
===Commands renaming first tab===
-
[[Image:SMSCON_Editor_Commands1.png|600px]]
+
 +
The Commands can be renamed (it is recommended for maximum safety) to ones preferences.
 +
 
 +
[[Image:SMSCON_Editor_Commands1.png|300px]]
 +
[[Image:SMSCON_Editor_Commands2.png|300px]]
 +
 +
====Prefixing Commands====
 +
 +
The "Prefix" functionality can be useful in the cases where it is desired all the default names to be prefixed with a common string.
-
===Commands renaming second tab===
+
''Note:'' The new names (as all other changes) are stored only after the button "Update Settings" is pressed.
-
[[Image:SMSCON_Editor_Commands2.png|600px]]
+
 +
[[Image:SMSCON_Editor_Commands_prefix.png|300px]]
-
===Program initialisation tab===
+
===Program Initialisation tab===
 +
[[Image:SMSCON_Editor_Init.png|600px]]
[[Image:SMSCON_Editor_Init.png|600px]]
 +
[[Image:SMSCON_Editor_Init2.png|300px]]
 +
 +
 +
 +
====Authorise a new SIM card====
 +
 +
 +
In the case a new SIM card needs to be added follow the next steps to add the new IMSI avoiding triggering SMSCON
 +
 +
''(NOTE: SMSCON accepts authorisation multiple SIM cards)''
 +
 +
Before changing the SIM card (or with no SIM card installed)
 +
from the Init tab using the available buttons
 +
* "Stop" the SMSCON operation
 +
* "Disable" the SMSCON on device boot
 +
 +
Then you can replace the SIM card, boot the device and open again the SMSCON Editor. From the Init tab using the available buttons:
 +
* "Add IMSI"
 +
* "Enable" the SMSCON on device boot
 +
* "Start" the SMSCON operation
 +
 +
The new SIM card is now authorised and SMSCON is active again.
 +
You can switch back to your old card without any intervention since now both IMSIs are authorised.
 +
 +
If you want to remove the old SIM card then in the above steps and before adding the new IMSI first using the available button:
 +
* "Remove IMSI"
 +
which will de-authorise all SIM cards.
===Invoke program test commands tab===
===Invoke program test commands tab===
-
[[Image:SMSCON_Editor_Test.png|600px]]
+
 +
'''Note:'''
 +
* After each test is executed the daemon is stopped and previous configuration is restored.
 +
* Before exiting the application press the "'''''Tests Done'''''" button to start the daemon again.
 +
 +
[[Image:SMSCON_Editor_Test.png|300px]]
 +
[[Image:SMSCON_Editor_Test2.png|300px]]
===Drop down menu===
===Drop down menu===
 +
[[Image:SMSCON_Editor_Main.png|600px]]
[[Image:SMSCON_Editor_Main.png|600px]]
 +
 +
===About===
 +
 +
The about window provides also buttons to connect in the wiki pages for both parts of the application and read the latest documentation.
 +
 +
[[Image:SMSCON_About.png|400px]]
 +
 +
===Change Password===
 +
 +
Menu for changing the password for opening the Editor application.
 +
 +
[[Image:SMSCON_ChangePassword.png|400px]]
 +
 +
===Popups===
 +
There are several popups triggered on actions and updates that inform the user on the current state of the operation.
 +
 +
[[Image:SMSCON_UpdatedSettings.png|400px]]
 +
 
 +
FIXME: add more popups and explanations.
 +
 +
== Changelog ==
 +
 +
=== 0.9.12-1 '''[http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/smscon-editor/0.9.12-1/ Development]''' '''[http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/smscon-editor/0.9.12-1/ Testing]''' ===
 +
Availability: [[Extras-devel]], [[Extras-testing]]
 +
 +
FIX: Issues on reading smscon settings of older versions and/or invalid settings.
 +
  * Invalid settings now generate a warning on start but are left unchanged and will show up in the editor fields.
 +
  * If user does not change them, they again will generate error messages when editor pages are closed.
 +
CHANGE: Restructure and modification of text in the General window (minor).
 +
FIX: Allow characters in the "Listen IP" field; "*" and "localhost" are valid inputs.
 +
 +
=== 0.9.11-1 ===
 +
 +
NEW: first version of a Log Reader window:
 +
  * will show the last 500 lines.
 +
  * will show the non-anonymized output.
 +
CHANGE: Main window (minor) restructure.
 +
 +
===0.9.10-1===
 +
 +
CHANGE: Several UI modifications (aka beautifications): changed the appearence of the info boxes; set calibri as the global font.
 +
FIX: Removed actions for when closing the application; normal and test modes are unified in latest SMSCON - a restart might cause loss of a pending action/test.
 +
 +
=== 0.9.9-1 ===
 +
 +
NEW: Added in the test window a stop button for the Reverse SSH Connection.
 +
NEW: Added more explanation/info boxes.
 +
FIX: On closing the application the daemon is restarted only if it was running. Otherwise it leaves it off.
 +
FIX: On the Initialise window the Init button was freezing the application instead of closing.
 +
CHANGE: Several UI modifications.
 +
CHANGE: Dependency to SMSCON was raised to 0.9.9-1 or higher.
 +
 +
=== 0.9.8-1 ===
 +
 +
* 0.9.8:
 +
NEW: Added several info boxes in the UI to assist the user with the settings choices.
 +
CHANGE: Remove of the "Update Settings" buttons on all windows; settings are updated every time the window is closed.
 +
CHANGE: The Daemon is restarted every time the application closes.
 +
CHANGE: The RESENDTIME and CHECKTIME entry fields are replaced with QDoubleSpinBox type.
 +
CHANGE: Information messages in the banners are not displayed by default.
 +
 +
* 0.9.7:
 +
NEW: Added fields REMOTELISTENIP, REMOTELISTENPORT, REMOTE2LOCALPORT in SSH config.
 +
NEW: Added r/o field SENDERNUMBER in the General config; shows the last number that requested an action.
 +
NEW: Added field COM_LOG in the Commands config; will reply the smscon.log.
 +
NEW: Added field COM_CUSTOMLOG in the Commands config; will reply the COM_CUSTOM output.
 +
NEW: Added several info boxes to assist the user with the different settings choices.
 +
CHANGE: The settings CHECKTIME, RESENDTIME, GPSTIMEOUT and GPSINTERVAL have been changed from float to int.
 +
CHANGE: The CHECKTIME, RESENDTIME, RESENDMAXTRY, GPSTIMEOUT, GPSPOLLING, REMOTEPORT, REMOTELISTENPORT and REMOTE2LOCALPORT entry fields are replaced with a QSpinBox type.
 +
CHANGE: Make more resilient the discovery if the Daemon is running.
 +
 +
=== 0.9.6-1 ===
 +
 +
CHANGE: Rebuild of the UI; removed tabs and added for each a separate window.
 +
CHANGE: Removed the menu and added its actions as buttons in the main UI.
 +
CHANGE: Modified postrm script; inclusion of new files.
 +
NEW: Added Email-From field.
 +
 +
=== 0.9.5-1 ===
 +
 +
NEW: Added a startup screen.
 +
CHANGE: Modified the Init tab to have radio buttons and show the state of the daemon and the boot option.
 +
CHANGE: Modified the General tab with better names and more condensed structure.
 +
CHANGE: Modified the About window.
 +
CHANGE: Removed the credits dialog - superseded by the About window.
 +
CHANGE: Modified the .desktop file - wrong setting for terminal.
 +
CHANGE: Update in the postrm; restructure and inclusion of the new files.
 +
 +
=== 0.9.4-1 ===
 +
 +
CHANGE: Modification of the main UI to fit better in portrait orientation.
 +
 +
=== 0.9.3-1 ===
 +
 +
* 0.9.3
 +
NEW:      Addition of postrm, preinst, prerm scripts for better deployment, upgrade and removal.
 +
CHANGE:    Modification of the postinst script.
 +
NEW:      Addition in the UI of a input field for the max number of retries in case of send failure.
 +
NEW:      Addition in the UI of a input field for the command suffix.
 +
CHANGE:    Removed the 'Prefix' button - no useful functionality in the new code.
 +
CHANGE:    Removed the 'Test done' button - code is able to handle this gracefully.
 +
 
 +
* 0.9.2
 +
NEW:      Allow editing unsuccessfully/enforcedly loaded config.
 +
NEW:      Added a symlink in the postinst for starting the UI easier from terminal; in x-term it is enough to type: smscon-editor
 +
 
 +
* 0.9.1
 +
CHANGE:    Now uses refactured version of SMSCON
 +
            * Uses code from library (smsconlib.py).
 +
            * Restructured code and added comments.
 +
            * Prepared for easy adding code to edit new features.
 +
NEW:      Gives password hint on initial use. So SMSCON Editor goes plug and play: No need to read wiki to get it run the 1st time.
 +
NEW:      Encurages to change the password while it is the initial one.
 +
NEW:      When editor is closed, it automatically terminates test mode if required.
 +
NEW:      GUI feedback when the configuration is about to be updated.
 +
NEW:      Early GUI feedback on Editor startup (shortens time being in doubt if phone recognized my tap).
 +
NEW:      Sends SMS notification on attempt to start SMSCON Editor with wrong password.
 +
CHANGE:  No longer makes use of "smssend" application which might not be installed. Now uses SMSCON builtin capability to send SMS.
 +
CHANGE:  Eliminated and removed 'smsconEditorCopyConfig'; using "smscon -import" now.
 +
 +
=== 0.8-8 ===
 +
* Correction of error with RESENDTIME creation.
 +
* Replaced "-init" command with "-force init".
 +
* Added check in postinstal script for the config version.
 +
 +
=== 0.8-7 ===
 +
 +
* Modification of the UI to support rotation.
 +
* Enabled rotation on all panels (some parts look ugly but it is functional).
 +
 +
=== 0.8-6 ===
 +
 +
* Added new logic and options for support of SMSCON 0.8.x versions.
 +
* Added dependency on smscon (>= 0.8.0-1) and suggestion for smssend (>= 0.1.8)
 +
* Added auto-disable of options related to SMS replies if SMSSEND is not selected.
 +
* Added auto-disable of options related to SMS retries if SMSRESEND is not selected.
 +
* Added background send of SMS message on password change (optional; requires smssend package).
 +
* Several UI modifications for usability.
 +
* Modification of the General tab to be a scrollable list.
 +
* Modification of the UI to expand on all the available screen estate.
 +
* Added code in the postinstall to compile the python code.
 +
 +
=== 0.7-4 '''[http://maemo.org/downloads/product/Maemo5/smscon-editor/ Stable]'''===
 +
Availability: [[Extras]]
 +
 +
* Addition of more test options.
 +
* Modification of the Tests tab to be a scrollable list.
 +
* Added a button to restart the daemon when tests complete.
 +
* Password to open the editor will persist updates.
 +
* Removed autocapitalisation of first character in several entry fields.
 +
* Aligned Left all entry fields in the Email and SSH tabs.
 +
 +
'''Known issues'''
 +
 +
* options for disabling SMS replies are not displaying correctly.
 +
 +
=== 0.7-3 ===
-
===Popup Menu===
+
* Addition of five new commands and one new option in the UI and code (support for SMSCON ver. > 0.7)
-
[[Image:SMSCON_UpdatedSettings.png|600px]]
+
* Addition of scrollable list for the commands editing. All the commands now can be edited from one tab.
 +
* Improvement in the UI to hide SMS reply options when replies are disabled.
 +
* Improvement in the change password window.
 +
* Simplification and cleanup in many parts of the code.
 +
* New About page with auto rotation.
 +
* Correction for stackable windows.
-
FIXME: add functionality
+
=== 0.6-1 ===
 +
 +
* Correction in copying config file for safe editing.
 +
* Added creation of temp config file on first use.
-
=Versions:=
+
=== 0.6-0 ===
 +
 +
* Added password protection for opening the GUI (default password = 12345).
 +
* Added two new dialog windows (to enter and change the password respectively).
 +
* Added new initialisation command to delete the application stored IMSI number.
 +
* Added new initialisation command to delete the configuration stored.
 +
* New sudoers file to include two scripts for handling operations that need root privileges.
 +
* Removed indirect dependency to rootsh package (i.e. use of root).
 +
* Changed password fields in email and ssh settings to be hidden.
 +
* Changed privileges for supporting files to be more restrictive.
-
==''0.4.4-11 (current)''==
+
=== 0.5-5 ===
 +
 +
* Added new code to read and encrypt the sensitive config file parameters (Contribution by Frank Visser).
 +
* Restructure and heavy cleanup of the code.
 +
* Some small main GUI corrections and beautifications.
 +
* Package smscon has been added in the dependencies.
 +
* Changed the sequence for updating the config file to give better information to the user.
 +
* Updated several messages to be more descriptive.
-
* ''changelog'':
+
=== 0.4.4-14 ===
-
** Added tests for receiving GPS coordinates commands
+
-
** Added tests for phonecall and sms commands
+
* Added prefix of a common string to all 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.
+
-
* ''issues'':
+
=== 0.4.4-12 ===
-
** none known/reported.
+
 +
* 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)
-
==''0.4.4-9''==
+
=== 0.4.4-11 ===
 +
 +
* 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.
-
* ''changelog'':
+
=== 0.4.4-9 ===
-
** 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.
+
* 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.
-
==''0.4.4-5''==
+
=== 0.4.4-5 ===
'''Warning''': This version (and above) will work only with [[SMSCON]] version equal or higher than 0.4.4
'''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.
-
** 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).
-
** 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 screen size.
-
** Corrected canvas of the main window to fit better the N900 screenzise.
+
* Increased the width of commands line enter.
-
** Increased the width of commands line enter.
+
* Corrected the .desktop file to point in the correct iconset
-
** Corrected the .desktop file to point in the correct iconset
+
* Added explicit permissions in the postinst script for the gui elements file.
-
** Added explicit permissions in the postinst script for the gui elements file.
+
-
==''0.4.3-9''==
+
=== 0.4.3-9 ===
-
*''changelog'':
+
* added block on starting the UI as root (it should only be started as user)
-
** 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).
-
** the editor will quit after calling the init or reset commands (after informing user).
+
* added slightly modified icons.
-
** added slightly modified icons.
+
* added settings and permissions in sudoers file.
-
** added settings and permissions in sudoers file.
+
* cleanup of postinst instructions
-
** cleanup of postinst instructions
+
* cleanup of commented out code.
-
** cleanup of commented out code.
+
-
==''0.4.3-8''==
+
=== 0.4.3-8 ===
-
*''changelog'':
+
* The Editor will trigger a reload of the new configuration after every update of the config file.
-
** 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).
-
** 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 <code>Create Settings</code> to <code>Update Settings</code>.
-
** Renamed buttons in the UI from <code>Create Settings</code> to <code>Update Settings</code>.
+
-
''NOTE'': For older versions please see the changelogs in the [https://garage.maemo.org/frs/?group_id=1848&release_id=4066|project's garage page]
+
'''''NOTE''''': For older versions please see the changelogs in the [https://garage.maemo.org/frs/?group_id=1848&release_id=4066 project's garage page]
-
=Future Development=
+
==Future Development==
-
* add mailfrom field
+
* add mailfrom field.
-
* add more test commands
+
* do not overwrite the password if it is already defined.
 +
* add more test commands.
 +
* add option to hide the desktop entry.
 +
* protect the installation.
-
=License=
+
==License==
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
it under the terms of the GNU General Public License as published
by the Free Software Foundation; version 2 only.
by the Free Software Foundation; version 2 only.
-
=Disclaimer=
+
==Disclaimer==
This program is distributed in the hope that it will be useful,
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of

Latest revision as of 01:22, 13 January 2012

The SMSCON Editor is a user interface to the configuration of the SMSCON application. Further, it can assist in verifying its correct operation and configuration.

It has been created using the PyQT libraries 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. All settings are stored at its configuration file, i.e. the /opt/smscon/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

[edit] 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.

[edit] Dependencies

The editor depends to the following packages:

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

[edit] Usage

When it starts it loads the current configuration file so that the options already configured to be shown in the appropriate sections of the GUI.

FIXME: add explanations

[edit] Start up

A banner will popup showing the correct startup, i.e. the smscon_config file is correct and that it has been successfully loaded by the editor.

(Since version 0.6) a password dialog will open and request the application password

NOTE: the default password for the SMSCON Editor is 12345 and should not be mistaken with the password that might be requested during the installation of the OpenSSH server (which is a dependency of SMSCON).


[edit] General configuration tab

[edit] Select Reply Options

Choice can be made on the communication option the replies are send.

[edit] Disable All Replies

Choice can be made to disable all replies (this will not apply for the SMS message send when an not authorised SIM card is inserted). If no replies to be send is requested, the relevant options will be hidden, i.e. will become non selectable.

[edit] Send GPS Coordinates Replies

Choice can be made where the replies with the GPS coordinates should be send. It can be either one of:

  • SMS
  • Email
  • Both

[edit] Email configuration tab

In order to receive email notifications the appropriate tab must be filled. Currently only few types are supported.

An example of gmail account settings are shown below:


[edit] Reverse SSH configuration tab

NOTE: Leaving empty the username and password fields will disable the reverse SSH functionality.

[edit] Commands renaming first tab

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

[edit] Prefixing Commands

The "Prefix" functionality 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.

[edit] Program Initialisation tab


[edit] Authorise a new SIM card

In the case a new SIM card needs to be added follow the next steps to add the new IMSI avoiding triggering SMSCON

(NOTE: SMSCON accepts authorisation multiple SIM cards)

Before changing the SIM card (or with no SIM card installed) from the Init tab using the available buttons

  • "Stop" the SMSCON operation
  • "Disable" the SMSCON on device boot

Then you can replace the SIM card, boot the device and open again the SMSCON Editor. From the Init tab using the available buttons:

  • "Add IMSI"
  • "Enable" the SMSCON on device boot
  • "Start" the SMSCON operation

The new SIM card is now authorised and SMSCON is active again. You can switch back to your old card without any intervention since now both IMSIs are authorised.

If you want to remove the old SIM card then in the above steps and before adding the new IMSI first using the available button:

  • "Remove IMSI"

which will de-authorise all SIM cards.

[edit] Invoke program test commands tab

Note:

  • After each test is executed the daemon is stopped and previous configuration is restored.
  • Before exiting the application press the "Tests Done" button to start the daemon again.

[edit] Drop down menu

[edit] About

The about window provides also buttons to connect in the wiki pages for both parts of the application and read the latest documentation.

[edit] Change Password

Menu for changing the password for opening the Editor application.

[edit] Popups

There are several popups triggered on actions and updates that inform the user on the current state of the operation.

FIXME: add more popups and explanations.

[edit] Changelog

[edit] 0.9.12-1 Development Testing

Availability: Extras-devel, Extras-testing

FIX: Issues on reading smscon settings of older versions and/or invalid settings.
  * Invalid settings now generate a warning on start but are left unchanged and will show up in the editor fields.
  * If user does not change them, they again will generate error messages when editor pages are closed.
CHANGE: Restructure and modification of text in the General window (minor).
FIX: Allow characters in the "Listen IP" field; "*" and "localhost" are valid inputs.	

[edit] 0.9.11-1

NEW: first version of a Log Reader window:
  * will show the last 500 lines.
  * will show the non-anonymized output.
CHANGE: Main window (minor) restructure.	

[edit] 0.9.10-1

CHANGE: Several UI modifications (aka beautifications): changed the appearence of the info boxes; set calibri as the global font.
FIX: Removed actions for when closing the application; normal and test modes are unified in latest SMSCON - a restart might cause loss of a pending action/test.

[edit] 0.9.9-1

NEW: Added in the test window a stop button for the Reverse SSH Connection.
NEW: Added more explanation/info boxes.
FIX: On closing the application the daemon is restarted only if it was running. Otherwise it leaves it off.
FIX: On the Initialise window the Init button was freezing the application instead of closing.
CHANGE: Several UI modifications.
CHANGE: Dependency to SMSCON was raised to 0.9.9-1 or higher.	

[edit] 0.9.8-1

* 0.9.8:
NEW: Added several info boxes in the UI to assist the user with the settings choices.
CHANGE: Remove of the "Update Settings" buttons on all windows; settings are updated every time the window is closed.
CHANGE: The Daemon is restarted every time the application closes.
CHANGE: The RESENDTIME and CHECKTIME entry fields are replaced with QDoubleSpinBox type.
CHANGE: Information messages in the banners are not displayed by default.
* 0.9.7:
NEW: Added fields REMOTELISTENIP, REMOTELISTENPORT, REMOTE2LOCALPORT in SSH config.
NEW: Added r/o field SENDERNUMBER in the General config; shows the last number that requested an action.
NEW: Added field COM_LOG in the Commands config; will reply the smscon.log.
NEW: Added field COM_CUSTOMLOG in the Commands config; will reply the COM_CUSTOM output.
NEW: Added several info boxes to assist the user with the different settings choices.
CHANGE: The settings CHECKTIME, RESENDTIME, GPSTIMEOUT and GPSINTERVAL have been changed from float to int.
CHANGE: The CHECKTIME, RESENDTIME, RESENDMAXTRY, GPSTIMEOUT, GPSPOLLING, REMOTEPORT, REMOTELISTENPORT and REMOTE2LOCALPORT entry fields are replaced with a QSpinBox type.
CHANGE: Make more resilient the discovery if the Daemon is running.	

[edit] 0.9.6-1

CHANGE: Rebuild of the UI; removed tabs and added for each a separate window.
CHANGE: Removed the menu and added its actions as buttons in the main UI.
CHANGE: Modified postrm script; inclusion of new files.
NEW: Added Email-From field.

[edit] 0.9.5-1

NEW: Added a startup screen.
CHANGE: Modified the Init tab to have radio buttons and show the state of the daemon and the boot option.
CHANGE: Modified the General tab with better names and more condensed structure.
CHANGE: Modified the About window.
CHANGE: Removed the credits dialog - superseded by the About window.
CHANGE: Modified the .desktop file - wrong setting for terminal.
CHANGE: Update in the postrm; restructure and inclusion of the new files.	

[edit] 0.9.4-1

CHANGE: Modification of the main UI to fit better in portrait orientation.

[edit] 0.9.3-1

* 0.9.3
NEW:       Addition of postrm, preinst, prerm scripts for better deployment, upgrade and removal.
CHANGE:    Modification of the postinst script.
NEW:       Addition in the UI of a input field for the max number of retries in case of send failure.
NEW:       Addition in the UI of a input field for the command suffix.
CHANGE:    Removed the 'Prefix' button - no useful functionality in the new code.
CHANGE:    Removed the 'Test done' button - code is able to handle this gracefully.
  
* 0.9.2
NEW:       Allow editing unsuccessfully/enforcedly loaded config.
NEW:       Added a symlink in the postinst for starting the UI easier from terminal; in x-term it is enough to type: smscon-editor
  
* 0.9.1
CHANGE:    Now uses refactured version of SMSCON
            * Uses code from library (smsconlib.py).
            * Restructured code and added comments.
            * Prepared for easy adding code to edit new features.
NEW:       Gives password hint on initial use. So SMSCON Editor goes plug and play: No need to read wiki to get it run the 1st time.
NEW:      Encurages to change the password while it is the initial one.
NEW:      When editor is closed, it automatically terminates test mode if required.
NEW:      GUI feedback when the configuration is about to be updated.
NEW:      Early GUI feedback on Editor startup (shortens time being in doubt if phone recognized my tap).
NEW:      Sends SMS notification on attempt to start SMSCON Editor with wrong password.
CHANGE:   No longer makes use of "smssend" application which might not be installed. Now uses SMSCON builtin capability to send SMS.
CHANGE:   Eliminated and removed 'smsconEditorCopyConfig'; using "smscon -import" now.

[edit] 0.8-8

  • Correction of error with RESENDTIME creation.
  • Replaced "-init" command with "-force init".
  • Added check in postinstal script for the config version.

[edit] 0.8-7

  • Modification of the UI to support rotation.
  • Enabled rotation on all panels (some parts look ugly but it is functional).

[edit] 0.8-6

  • Added new logic and options for support of SMSCON 0.8.x versions.
  • Added dependency on smscon (>= 0.8.0-1) and suggestion for smssend (>= 0.1.8)
  • Added auto-disable of options related to SMS replies if SMSSEND is not selected.
  • Added auto-disable of options related to SMS retries if SMSRESEND is not selected.
  • Added background send of SMS message on password change (optional; requires smssend package).
  • Several UI modifications for usability.
  • Modification of the General tab to be a scrollable list.
  • Modification of the UI to expand on all the available screen estate.
  • Added code in the postinstall to compile the python code.

[edit] 0.7-4 Stable

Availability: Extras

  • Addition of more test options.
  • Modification of the Tests tab to be a scrollable list.
  • Added a button to restart the daemon when tests complete.
  • Password to open the editor will persist updates.
  • Removed autocapitalisation of first character in several entry fields.
  • Aligned Left all entry fields in the Email and SSH tabs.

Known issues

  • options for disabling SMS replies are not displaying correctly.

[edit] 0.7-3

  • Addition of five new commands and one new option in the UI and code (support for SMSCON ver. > 0.7)
  • Addition of scrollable list for the commands editing. All the commands now can be edited from one tab.
  • Improvement in the UI to hide SMS reply options when replies are disabled.
  • Improvement in the change password window.
  • Simplification and cleanup in many parts of the code.
  • New About page with auto rotation.
  • Correction for stackable windows.

[edit] 0.6-1

  • Correction in copying config file for safe editing.
  • Added creation of temp config file on first use.

[edit] 0.6-0

  • Added password protection for opening the GUI (default password = 12345).
  • Added two new dialog windows (to enter and change the password respectively).
  • Added new initialisation command to delete the application stored IMSI number.
  • Added new initialisation command to delete the configuration stored.
  • New sudoers file to include two scripts for handling operations that need root privileges.
  • Removed indirect dependency to rootsh package (i.e. use of root).
  • Changed password fields in email and ssh settings to be hidden.
  • Changed privileges for supporting files to be more restrictive.

[edit] 0.5-5

  • Added new code to read and encrypt the sensitive config file parameters (Contribution by Frank Visser).
  • Restructure and heavy cleanup of the code.
  • Some small main GUI corrections and beautifications.
  • Package smscon has been added in the dependencies.
  • Changed the sequence for updating the config file to give better information to the user.
  • Updated several messages to be more descriptive.

[edit] 0.4.4-14

  • Added prefix of a common string to all commands.

[edit] 0.4.4-12

  • 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)

[edit] 0.4.4-11

  • 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.

[edit] 0.4.4-9

  • 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.

[edit] 0.4.4-5

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

  • 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 screen size.
  • 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.

[edit] 0.4.3-9

  • 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.

[edit] 0.4.3-8

  • 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 project's garage page

[edit] Future Development

  • add mailfrom field.
  • do not overwrite the password if it is already defined.
  • add more test commands.
  • add option to hide the desktop entry.
  • protect the installation.

[edit] 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.

[edit] 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.