<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to wiki</title><link href="https://sourceforge.net/p/cclite2/wiki/" rel="alternate"/><link href="https://sourceforge.net/p/cclite2/wiki/feed.atom" rel="self"/><id>https://sourceforge.net/p/cclite2/wiki/</id><updated>2022-05-28T08:28:43.677000Z</updated><subtitle>Recent changes to wiki</subtitle><entry><title>Adding a Function modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Adding%2520a%2520Function/" rel="alternate"/><published>2022-05-28T08:28:43.677000Z</published><updated>2022-05-28T08:28:43.677000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net055d8fbf51915407177adf30eb61c7656c054b41</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,9 +1,9 @@
 We're doing this to add a 'liquidity' (helicopter money) function at the moment, so this page gives a rough idea of how to extend Cclite2.

 1. (Please) Do a little analysis of whether the function is really new!
-2. Design a template, preferably English language, because the other templates are machine translated from English. This will go into /usr/share/templates/&amp;lt;type&amp;gt;/&amp;lt;language-code&amp;gt;. Have a look and borrow from existing templates.
-3. Add a route in /usr/share/cclite2/lib/Cclite2.pm, again look at existing routes, Mojolicious documentation and borrow.
-4.  Add code to the main controller /usr/share/cclite2/lib/Cclite2/Ccclite2.pm, almost certainly this passes off control to, for example Ccadmin.pm (if it's an admin function) or another module. Clearly, create a module if, as and when necessary.
- 5. Add a test or two in the test directory /usr/share/Cclite2/t/ take a look at the existing tests for inspiration.
+2. Design a template, preferably English language, because the other templates are machine translated from English. This will go into `/usr/share/templates/&amp;lt;type&amp;gt;/&amp;lt;language-code&amp;gt;`. Have a look and borrow from existing templates.
+3. Add a route in `/usr/share/cclite2/lib/Cclite2.pm`, again look at existing routes, Mojolicious documentation and borrow.
+4. Add code to the main controller` /usr/share/cclite2/lib/Cclite2/Cclite2.pm`, almost certainly this passes off control to, for example `Ccadmin.pm` (if it's an admin function) or another module. Clearly, create a module if, as and when necessary.
+5.  Add a test or two in the test directory `/usr/share/Cclite2/t/`take a look at the existing tests for inspiration.

   If it's something really interesting or useful, contact us and we'll put it into the core code. 
&amp;lt;/language-code&amp;gt;&amp;lt;/type&amp;gt;&amp;lt;/language-code&amp;gt;&amp;lt;/type&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Adding a Function modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Adding%2520a%2520Function/" rel="alternate"/><published>2022-05-28T08:26:27.703000Z</published><updated>2022-05-28T08:26:27.703000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net155d652d276a725ce47061ad5f11870ec6635590</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We're doing this to add a 'liquidity' (helicopter money) function at the moment, so this page gives a rough idea of how to extend Cclite2.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;(Please) Do a little analysis of whether the function is really new!&lt;/li&gt;
&lt;li&gt;Design a template, preferably English language, because the other templates are machine translated from English. This will go into /usr/share/templates/&amp;lt;type&amp;gt;/&amp;lt;language-code&amp;gt;. Have a look and borrow from existing templates.&amp;lt;/language-code&amp;gt;&amp;lt;/type&amp;gt;&lt;/li&gt;
&lt;li&gt;Add a route in /usr/share/cclite2/lib/Cclite2.pm, again look at existing routes, Mojolicious documentation and borrow.&lt;/li&gt;
&lt;li&gt;Add code to the main controller /usr/share/cclite2/lib/Cclite2/Ccclite2.pm, almost certainly this passes off control to, for example Ccadmin.pm (if it's an admin function) or another module. Clearly, create a module if, as and when necessary.&lt;/li&gt;
&lt;li&gt;Add a test or two in the test directory /usr/share/Cclite2/t/ take a look at the existing tests for inspiration.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If it's something really interesting or useful, contact us and we'll put it into the core code. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Home modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Home/" rel="alternate"/><published>2022-03-25T12:27:45.501000Z</published><updated>2022-03-25T12:27:45.501000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.netb4f6d8aee05a6193cffe7f86e5bab98324046fce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -28,6 +28,7 @@
 * &lt;del&gt;Docker&lt;/del&gt;
 * &lt;del&gt;Rasberry Pi Image&lt;/del&gt;

+Currently we're testing on a Raspberry Pi with a Huawei SMS dongle and Postgres 11.  It passes most of its current `prove` tests on this.

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Installing SMS modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Installing%2520SMS/" rel="alternate"/><published>2022-03-24T13:14:16.936000Z</published><updated>2022-03-24T13:14:16.936000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net9444d8b17025186d9a244ea06652c917b6961d3a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,13 +1,13 @@
 Cclite2 **requires** SMS to improve security and provide a basis for 2 factor authentication. This isn't nearly as solid as a commercial bank application but it's a step in that direction.

 So
-1.  `sudo apt install gammu-smsd` if not done already, this will report an error but the software is install. The systemd unit is problematic&lt;br/&gt;
-2.  attach an SMS dongle with an activated card to a USB port &lt;br/&gt;
-3.   check with `lsusb`to see whether the dongle has registered &lt;br/&gt;
-4.   for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot &lt;br/&gt;
+1.  Do `sudo apt install gammu-smsd` if not done already, this will report an error but the software is installed. The `systemd`unit only is problematic&lt;br/&gt;
+2.  Attach an SMS dongle with an activated SIM card to a USB port &lt;br/&gt;
+3.   Check with `lsusb`to see whether the dongle has registered &lt;br/&gt;
+4.   For Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot &lt;br/&gt;
 5.   `sudo udevadm trigger` may help also &lt;br/&gt;
 6.   There is a little test script in python in `/usr/share/cclite2/script/misc`&lt;br/&gt; 
-7.    `sudo gammu-smsd --config /etc/cclite2/gammu-smsdrc --pid /var/run/gammu-smsd.pid --daemon`will start the daemon which will read SMS messages into  `/var/spool/cclite2/sms/inbox` &lt;br/&gt;
+7.    The command `sudo gammu-smsd --config /etc/cclite2/gammu-smsdrc --pid /var/run/gammu-smsd.pid --daemon`will start the daemon which will read SMS messages into  `/var/spool/cclite2/sms/inbox` &lt;br/&gt;
 8.    From the inbox, they are picked up and actioned by `/usr/share/cclite2/script/read_sms_from_gammu.pl` running on a five minute cron in `cron.d`&lt;br/&gt;


&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Installing SMS modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Installing%2520SMS/" rel="alternate"/><published>2022-03-24T13:12:45.288000Z</published><updated>2022-03-24T13:12:45.288000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.netd1f3868abde33ad8470affe0a7e7af9ebe070754</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,9 +1,16 @@
 Cclite2 **requires** SMS to improve security and provide a basis for 2 factor authentication. This isn't nearly as solid as a commercial bank application but it's a step in that direction.

 So
-1.  `sudo apt install gammu-smsd` if not done already &lt;br/&gt;
+1.  `sudo apt install gammu-smsd` if not done already, this will report an error but the software is install. The systemd unit is problematic&lt;br/&gt;
 2.  attach an SMS dongle with an activated card to a USB port &lt;br/&gt;
 3.   check with `lsusb`to see whether the dongle has registered &lt;br/&gt;
 4.   for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot &lt;br/&gt;
 5.   `sudo udevadm trigger` may help also &lt;br/&gt;
-6.   There is a little test script in python in `/usr/share/cclite2/script/misc`  
+6.   There is a little test script in python in `/usr/share/cclite2/script/misc`&lt;br/&gt; 
+7.    `sudo gammu-smsd --config /etc/cclite2/gammu-smsdrc --pid /var/run/gammu-smsd.pid --daemon`will start the daemon which will read SMS messages into  `/var/spool/cclite2/sms/inbox` &lt;br/&gt;
+8.    From the inbox, they are picked up and actioned by `/usr/share/cclite2/script/read_sms_from_gammu.pl` running on a five minute cron in `cron.d`&lt;br/&gt;
+
+
+There is another way to do this using a commercial SMS gateway. We'll provide an example of how this is set up in a while.
+
+
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Installing SMS modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Installing%2520SMS/" rel="alternate"/><published>2022-03-24T13:06:04.462000Z</published><updated>2022-03-24T13:06:04.462000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net5d91475a5c09db7d6aa332152a95b6d538d66c10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -2,8 +2,8 @@

 So
 1.  `sudo apt install gammu-smsd` if not done already &lt;br/&gt;
-2.  attach an SMS dongle with an activated card to a USB port &lt;br for="" to=""/&gt;
+3.   check with `lsusb`to see whether the dongle has registered &lt;br/&gt;
+4.   for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot &lt;br/&gt;
+5.   `sudo udevadm trigger` may help also &lt;br/&gt;
 6.   There is a little test script in python in `/usr/share/cclite2/script/misc`  
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Installing SMS modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Installing%2520SMS/" rel="alternate"/><published>2022-03-24T13:05:31.909000Z</published><updated>2022-03-24T13:05:31.909000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net559384ab93e75d917a19af831d7dfbb0d6740680</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,10 +1,9 @@
 Cclite2 **requires** SMS to improve security and provide a basis for 2 factor authentication. This isn't nearly as solid as a commercial bank application but it's a step in that direction.

 So
-1. `sudo apt install gammu-smsd` if not done already &lt;br/&gt;
-3. attach an SMS dongle with an activated card to a USB port
-4.  check with `lsusb`to see whether the dongle has registered
-5.  for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot
-6.  `sudo udevadm trigger` may help also
-7.  a little test script in python will be added *soon* 
-*  
+1.  `sudo apt install gammu-smsd` if not done already &lt;br/&gt;
+2.  attach an SMS dongle with an activated card to a USB port &lt;br for="" to=""/&gt;
&lt;/pre&gt;&lt;/div&gt;</summary></entry><entry><title>Installing SMS modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Installing%2520SMS/" rel="alternate"/><published>2022-03-24T13:04:05.344000Z</published><updated>2022-03-24T13:04:05.344000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net8cd02c48c63acd47221bdcd25b8ac31dab39f1c7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,10 +1,10 @@
 Cclite2 **requires** SMS to improve security and provide a basis for 2 factor authentication. This isn't nearly as solid as a commercial bank application but it's a step in that direction.

 So
-1. `sudo apt install gammu-smsd` if not done already
-2. attach an SMS dongle with an activated card to a USB port
-3.  check with `lsusb`to see whether the dongle has registered
-4.  for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot
-5.  `sudo udevadm trigger` may help also
-6.  a little test script in python will be added *soon* 
+1. `sudo apt install gammu-smsd` if not done already &lt;br/&gt;
+3. attach an SMS dongle with an activated card to a USB port
+4.  check with `lsusb`to see whether the dongle has registered
+5.  for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot
+6.  `sudo udevadm trigger` may help also
+7.  a little test script in python will be added *soon* 
 *  
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Installing SMS modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Installing%2520SMS/" rel="alternate"/><published>2022-03-24T13:03:33.178000Z</published><updated>2022-03-24T13:03:33.178000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net8a8de4e6ea68cd9995b4b78da4fccb8523169311</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,10 +1,10 @@
 Cclite2 **requires** SMS to improve security and provide a basis for 2 factor authentication. This isn't nearly as solid as a commercial bank application but it's a step in that direction.

 So
-* `sudo apt install gammu-smsd` if not done already
-* attach an SMS dongle with an activated card to a USB port
-*  check with `lsusb`to see whether the dongle has registered
-*  for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot
-*  `sudo udevadm trigger` may help also
-*  a little test script in python will be added *soon* 
+1. `sudo apt install gammu-smsd` if not done already
+2. attach an SMS dongle with an activated card to a USB port
+3.  check with `lsusb`to see whether the dongle has registered
+4.  for Raspberry Pi, it may be necessary to use `raspi-config` to activate the serial interface + reboot
+5.  `sudo udevadm trigger` may help also
+6.  a little test script in python will be added *soon* 
 *  
&lt;/pre&gt;
&lt;/div&gt;</summary></entry><entry><title>Installing SMS modified by Hugh Barnard</title><link href="https://sourceforge.net/p/cclite2/wiki/Installing%2520SMS/" rel="alternate"/><published>2022-03-24T13:03:08.823000Z</published><updated>2022-03-24T13:03:08.823000Z</updated><author><name>Hugh Barnard</name><uri>https://sourceforge.net/u/hbarnard/</uri></author><id>https://sourceforge.net78ab06af1d7d5d59cb8ad6e92863eea3d0aeb0be</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</summary></entry></feed>