Editing SMSCON Editor

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
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.
+
The SMSCON Editor is a user interface to the configuration of the [[SMSCON]].  
-
It has been created using the PyQT libraries and the functionality is provided by Python.
+
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]]. All settings are stored at its configuration file, i.e. the <code>/opt/smscon/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]] and are stored at its configuration file, i.e. the <code>/usr/bin/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>.   
Line 34: Line 34:
[[Image:SMSCON_Editor_Startup.png|400px]]
[[Image:SMSCON_Editor_Startup.png|400px]]
-
(Since version 0.6) a password dialog will open and request the application password  
+
(Since version 0.6) a password dialog will open and request the application password ('''NOTE:''' the default password is '''12345''')
-
 
+
-
'''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]]
[[Image:SMSCON_Editor_AskPassword.png|400px]]
Line 45: Line 42:
[[Image:SMSCON_Editor_General.png|600px]]
[[Image:SMSCON_Editor_General.png|600px]]
-
[[Image:SMSCON_Editor_General1.png|300px]]
+
====Disable All SMS Replies ====
-
[[Image:SMSCON_Editor_General2.png|300px]]
+
-
==== Select Reply Options ====
+
Choice can be made to disable all SMS replies. In this case, the relevant options will be hidden, i.e. not selectable.
-
Choice can be made on the communication option the replies are send.
+
[[Image:SMSCON_Editor_disableSMS.png|400px]]
-
 
+
-
[[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 ====
====Send GPS Coordinates Replies ====
Line 75: Line 60:
===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===
Line 93: Line 72:
The Commands can be renamed (it is recommended for maximum safety) to ones preferences.  
The Commands can be renamed (it is recommended for maximum safety) to ones preferences.  
    
    
-
[[Image:SMSCON_Editor_Commands1.png|300px]]
+
[[Image:SMSCON_Editor_Commands1.png|600px]]
-
[[Image:SMSCON_Editor_Commands2.png|300px]]
+
   
   
====Prefixing Commands====
====Prefixing Commands====
Line 100: Line 78:
The "Prefix" functionality can be useful in the cases where it is desired all the default names to be prefixed with a common string.
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.
+
''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.  
   
   
-
[[Image:SMSCON_Editor_Commands_prefix.png|300px]]
+
[[Image:SMSCON_Editor_Commands_prefix.png|400px]]
===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===
   
   
Line 141: Line 92:
* Before exiting the application press the "'''''Tests Done'''''" button to start the daemon again.
* Before exiting the application press the "'''''Tests Done'''''" button to start the daemon again.
   
   
-
[[Image:SMSCON_Editor_Test.png|300px]]
+
[[Image:SMSCON_Editor_Test.png|600px]]
-
[[Image:SMSCON_Editor_Test2.png|300px]]
+
===Drop down menu===
===Drop down menu===
Line 150: Line 100:
===About===
===About===
-
The about window provides also buttons to connect in the wiki pages for both parts of the application and read the latest documentation.
+
The about window provides also buttons to connect in the wikis for both parts of the application and read the latest documentation.
[[Image:SMSCON_About.png|400px]]
[[Image:SMSCON_About.png|400px]]
Line 167: Line 117:
FIXME: add more popups and explanations.
FIXME: add more popups and explanations.
   
   
-
== Changelog ==
+
==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]'''===
+
=== 0.7-4 ([http://maemo.org/downloads/product/Maemo5/smscon-editor/ current]) ===
-
Availability: [[Extras]]
+
* Addition of more test options.
* Addition of more test options.
Line 299: Line 128:
* Aligned Left all entry fields in the Email and SSH tabs.
* Aligned Left all entry fields in the Email and SSH tabs.
-
'''Known issues'''
+
==== Known issues ====
-
* options for disabling SMS replies are not displaying correctly.
+
* none known/reported.
=== 0.7-3 ===
=== 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 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.
+
* Adddition 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 UI to hide SMS reply options when replies are disabled.
* Improvement in the change password window.
* Improvement in the change password window.
Line 371: Line 200:
* 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

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)