/[projects]/smsdaemon
ViewVC logotype

Log of /smsdaemon

View Directory Listing Directory Listing


Sticky Revision:

Revision 1011 - Directory Listing
Modified Thu Aug 5 06:53:38 2010 UTC (13 years, 8 months ago) by torben
change log date format to yyyy-mm-dd

Revision 696 - Directory Listing
Modified Sun May 2 15:57:49 2010 UTC (13 years, 11 months ago) by torben
svn:ignore added install_manifest.txt

Revision 695 - Directory Listing
Modified Thu Apr 29 18:18:18 2010 UTC (14 years ago) by torben
nobody should have access to the logBuffer but the logger module itself

Revision 694 - Directory Listing
Modified Thu Apr 29 18:04:10 2010 UTC (14 years ago) by torben
added log view to http engine

Revision 688 - Directory Listing
Modified Wed Apr 28 09:38:09 2010 UTC (14 years ago) by torben
go back to correct spooldir

Revision 687 - Directory Listing
Modified Wed Apr 28 09:32:01 2010 UTC (14 years ago) by torben
svn:ignore

Revision 686 - Directory Listing
Modified Wed Apr 28 09:23:07 2010 UTC (14 years ago) by torben
disable normal file serving

Revision 685 - Directory Listing
Modified Wed Apr 28 09:02:30 2010 UTC (14 years ago) by torben
correct callback function name

Revision 684 - Directory Listing
Modified Wed Apr 28 09:01:09 2010 UTC (14 years ago) by torben
added 404 handler

Revision 683 - Directory Listing
Modified Wed Apr 28 08:51:24 2010 UTC (14 years ago) by torben
pretty print of uptime

Revision 680 - Directory Listing
Modified Wed Apr 28 07:38:39 2010 UTC (14 years ago) by torben
config options for embedded http

Revision 679 - Directory Listing
Modified Tue Apr 27 21:12:11 2010 UTC (14 years ago) by torben
added index.html equivalent function

Revision 678 - Directory Listing
Modified Tue Apr 27 21:06:53 2010 UTC (14 years ago) by torben
undo previous unintentional commit

Revision 677 - Directory Listing
Modified Tue Apr 27 21:03:37 2010 UTC (14 years ago) by torben
added /status command do embedded http engine

Revision 676 - Directory Listing
Modified Tue Apr 27 21:00:01 2010 UTC (14 years ago) by torben
added /status command do embedded http engine

Revision 675 - Directory Listing
Modified Tue Apr 27 20:07:12 2010 UTC (14 years ago) by torben
Added basic infra structure for an embedded http engine

Revision 671 - Directory Listing
Modified Tue Apr 27 11:06:17 2010 UTC (14 years ago) by torben
small error fix

Revision 592 - Directory Listing
Modified Fri Feb 19 08:47:31 2010 UTC (14 years, 2 months ago) by torben
be nicer to std::vector (we might save a expansion operation or two)

Revision 523 - Directory Listing
Modified Sun Dec 27 18:54:45 2009 UTC (14 years, 4 months ago) by torben
Header eanup


Revision 522 - Directory Listing
Modified Sun Dec 27 18:37:23 2009 UTC (14 years, 4 months ago) by torben
Small fixes


Revision 521 - Directory Listing
Modified Sun Dec 27 18:01:36 2009 UTC (14 years, 4 months ago) by torben
Deprecate the old spam plugin and make the new one the default


Revision 520 - Directory Listing
Modified Sat Dec 26 23:01:01 2009 UTC (14 years, 4 months ago) by torben
Added delayspam plugin+task



Revision 442 - Directory Listing
Modified Mon Oct 12 10:36:48 2009 UTC (14 years, 6 months ago) by torben
Also send a message back to requester


Revision 325 - Directory Listing
Modified Wed Sep 16 16:37:34 2009 UTC (14 years, 7 months ago) by torben
Compile with latest g++


Revision 324 - Directory Listing
Modified Wed Sep 16 09:20:01 2009 UTC (14 years, 7 months ago) by torben
The new togplugin uses expat, so make CMake find and use this library


Revision 323 - Directory Listing
Modified Wed Sep 16 09:08:40 2009 UTC (14 years, 7 months ago) by torben
First attempt at making TogPlugin use my xml service 


Revision 225 - Directory Listing
Modified Sat Apr 11 22:38:23 2009 UTC (15 years ago) by torben
ToDO


Revision 224 - Directory Listing
Modified Sat Apr 11 22:00:14 2009 UTC (15 years ago) by torben
Give the modem some more time to send the sms to avoid overflow



Revision 223 - Directory Listing
Modified Fri Apr 10 20:11:21 2009 UTC (15 years ago) by torben
Do the same to TaskManager as I did to Pluginmanager in the previous commit


Revision 222 - Directory Listing
Modified Fri Apr 10 20:00:07 2009 UTC (15 years ago) by torben
Alter GetPlugin(string) so that it does not pollute  the map with null pointers 
(the [] operator used previously will create a map entry if no entry exists)


Revision 218 - Directory Listing
Modified Thu Mar 26 22:10:28 2009 UTC (15 years, 1 month ago) by torben
Make traininfo work with the latest changes on bane.dk


Revision 217 - Directory Listing
Modified Tue Dec 23 14:20:43 2008 UTC (15 years, 4 months ago) by torben
Solved ToDo item:
'- Create a filtering method:
-  Incoming: which phonenumbers are allowed to invoke which plugins
-  Incoming could be solved with a PluginProxy() which intercepts the ExecutePlugin calls (only 
PluginManager needs to know about this one)'

Move the Access related items to AccessManager.*



Revision 216 - Directory Listing
Modified Tue Dec 23 12:09:08 2008 UTC (15 years, 4 months ago) by torben
Added config option of privileged and blacklisted phone numbers, and applied the blacklist to
Proxy Transceiver.

Am still missing the equivalent for incomming messages (ProxyPlugin)


Revision 215 - Directory Listing
Modified Mon Dec 22 23:27:49 2008 UTC (15 years, 4 months ago) by torben
add ShellExec("fortune") to the list of loaded plugins


Revision 214 - Directory Listing
Modified Mon Dec 22 22:22:42 2008 UTC (15 years, 4 months ago) by torben
Make smsdaemon less 'crashable' if a config value is not defined in the config file


Revision 213 - Directory Listing
Modified Sun Dec 21 22:44:11 2008 UTC (15 years, 4 months ago) by torben
todo


Revision 212 - Directory Listing
Modified Sun Dec 21 22:21:36 2008 UTC (15 years, 4 months ago) by torben
Make sure the daemon doesn't crash if country code isn't specified in the config file


Revision 211 - Directory Listing
Modified Sun Dec 21 22:08:20 2008 UTC (15 years, 4 months ago) by torben
Add a Proxy Transceiver to enforce requirements on outgoing messages


Revision 210 - Directory Listing
Modified Sun Dec 21 21:14:40 2008 UTC (15 years, 4 months ago) by torben
No usage for DeleteAllSms(), since all incoming messages should be serviced


Revision 209 - Directory Listing
Modified Sun Dec 21 18:57:24 2008 UTC (15 years, 4 months ago) by torben
Added a very lazy restart option to initscript


Revision 208 - Directory Listing
Modified Sun Dec 21 18:41:08 2008 UTC (15 years, 4 months ago) by torben
Enable dynamic reload of plugins/tasks when recieving a HUP signal


Revision 207 - Directory Listing
Modified Sun Dec 21 17:42:30 2008 UTC (15 years, 4 months ago) by torben
Loaded tasks should also be configurable


Revision 206 - Directory Listing
Modified Fri Dec 19 22:33:41 2008 UTC (15 years, 4 months ago) by torben
ToDo


Revision 205 - Directory Listing
Modified Fri Dec 19 22:29:25 2008 UTC (15 years, 4 months ago) by torben
Enable selection and configuration of loaded plugins to be specified in the configuration file


Revision 204 - Directory Listing
Modified Fri Dec 19 07:33:01 2008 UTC (15 years, 4 months ago) by torben
A much more simple initscript - which actually works !


Revision 203 - Directory Listing
Modified Fri Dec 19 07:03:34 2008 UTC (15 years, 4 months ago) by torben
Util: added another exec wrapper

PlugiinManager,  change  path to wake script


Revision 202 - Directory Listing
Modified Thu Dec 18 23:29:23 2008 UTC (15 years, 4 months ago) by torben
Enable ConfigFile to return a string containing all config settings.


Revision 201 - Directory Listing
Modified Thu Dec 18 23:19:08 2008 UTC (15 years, 4 months ago) by torben
Make configfile work with duplicate keys


Revision 200 - Directory Listing
Modified Thu Dec 18 22:56:07 2008 UTC (15 years, 4 months ago) by torben
More todo


Revision 199 - Directory Listing
Modified Thu Dec 18 20:11:35 2008 UTC (15 years, 4 months ago) by torben
SmsToolTransceiver::SendSms(): make sure the allowMultipart is honored

Added some more todo items


Revision 198 - Directory Listing
Modified Thu Dec 18 19:52:25 2008 UTC (15 years, 4 months ago) by torben
Add some no-caching headers and make the html pass validation


Revision 197 - Directory Listing
Modified Thu Dec 18 10:38:37 2008 UTC (15 years, 4 months ago) by torben
Limit messages to 300 characters


Revision 196 - Directory Listing
Modified Thu Dec 18 06:53:29 2008 UTC (15 years, 4 months ago) by torben
Make pretty

astyle -t -b -N


Revision 195 - Directory Listing
Modified Thu Dec 18 06:47:26 2008 UTC (15 years, 4 months ago) by torben
Bugfix: Urlencode must use '0' as filler character


Revision 194 - Directory Listing
Modified Thu Dec 18 00:03:05 2008 UTC (15 years, 4 months ago) by torben
Make sure to test for the CURL dependencies


Revision 193 - Directory Listing
Modified Wed Dec 17 23:43:26 2008 UTC (15 years, 4 months ago) by torben
Util.*, HttpClient.*: 
	make a new Http client based on libcurl and deprecate Util::readUrl
	
WeatherPlugin.cpp, TrainInfo.cpp:
	Make use of HttpClient
	
UrlTriggerPlugin.*:
	Make a new plugin which can trigger an external webapp. and return the response back to the requester





Revision 192 - Directory Listing
Modified Wed Dec 17 20:55:13 2008 UTC (15 years, 4 months ago) by torben
Carriage returns (\r) in messages makes smstools f*** up


Revision 191 - Directory Listing
Modified Wed Dec 17 18:23:03 2008 UTC (15 years, 4 months ago) by torben
Added webinterface for trigger the smsdaemon remotely


Revision 190 - Directory Listing
Modified Wed Dec 17 13:51:57 2008 UTC (15 years, 4 months ago) by torben
more verbose daemon shutdown procedure


Revision 189 - Directory Listing
Modified Wed Dec 17 12:46:49 2008 UTC (15 years, 4 months ago) by torben
Lower the delay between Task executions - to get a faster turn-around time for SpoolerTask


Revision 188 - Directory Listing
Modified Mon Dec 15 13:27:53 2008 UTC (15 years, 4 months ago) by torben
First version of a a weather plugin


Revision 187 - Directory Listing
Modified Mon Dec 15 10:13:21 2008 UTC (15 years, 4 months ago) by torben
IGsmModem -> ISmsTransceiver


Revision 186 - Directory Listing
Modified Mon Dec 15 09:27:56 2008 UTC (15 years, 4 months ago) by torben
Make TogPlugin less sensible to editor conversion errors


Revision 185 - Directory Listing
Modified Mon Dec 15 09:10:05 2008 UTC (15 years, 4 months ago) by torben
Util, a new str_split which operates on whitespace

Make HostStatusPlugin return system memory usage



Revision 184 - Directory Listing
Modified Fri Dec 12 14:06:11 2008 UTC (15 years, 4 months ago) by torben
Add the helper plugin concept


Revision 183 - Directory Listing
Modified Fri Dec 12 13:57:10 2008 UTC (15 years, 4 months ago) by torben
make Util.cpp less sensible to editor conversions


Revision 182 - Directory Listing
Modified Fri Dec 12 13:23:01 2008 UTC (15 years, 4 months ago) by torben
The transceiver should make sure the text is latin 1. It is not something the plugin  should care about!


Revision 181 - Directory Listing
Modified Fri Dec 12 13:20:30 2008 UTC (15 years, 4 months ago) by torben
more verbose doc generation


Revision 180 - Directory Listing
Modified Fri Dec 12 12:54:27 2008 UTC (15 years, 4 months ago) by torben
Remove ISmsTransceiver::DeleteSms() - Each transceiver should clean up after itself

Merge SmsHelper into ModemTransceiver, since it is closely connected to the AT command output



Revision 179 - Directory Listing
Modified Fri Dec 12 12:33:12 2008 UTC (15 years, 4 months ago) by torben
Added doxygen config file


Revision 178 - Directory Listing
Modified Fri Dec 12 12:13:05 2008 UTC (15 years, 4 months ago) by torben
Completed modemtransceivers multipart concatenate function


Revision 177 - Directory Listing
Modified Fri Dec 12 10:58:11 2008 UTC (15 years, 4 months ago) by torben
Prevent a potential crash in ParseUdh


Revision 176 - Directory Listing
Modified Thu Dec 11 22:32:58 2008 UTC (15 years, 4 months ago) by torben
Work in progress: take a shot of multipart concatenator for ModemTransceiver


Revision 175 - Directory Listing
Modified Wed Dec 10 22:02:28 2008 UTC (15 years, 4 months ago) by torben
Common.cpp, actually use the config file specified on command line

(the rest): enable optional use of syslog


Revision 174 - Directory Listing
Modified Wed Dec 10 10:16:50 2008 UTC (15 years, 4 months ago) by torben
update todo


Revision 173 - Directory Listing
Modified Wed Dec 10 10:13:50 2008 UTC (15 years, 4 months ago) by torben
todo update


Revision 172 - Directory Listing
Modified Wed Dec 10 09:23:22 2008 UTC (15 years, 4 months ago) by torben
Updated todo, split it in todo and new features


Revision 171 - Directory Listing
Modified Wed Dec 10 08:59:58 2008 UTC (15 years, 4 months ago) by torben
Load pin code from config file


Revision 170 - Directory Listing
Modified Tue Dec 9 22:16:26 2008 UTC (15 years, 4 months ago) by torben
Added something more like a real initscript


Revision 169 - Directory Listing
Modified Tue Dec 9 21:48:54 2008 UTC (15 years, 4 months ago) by torben
Sugesting a Kannel transceiver


Revision 168 - Directory Listing
Modified Tue Dec 9 21:44:15 2008 UTC (15 years, 4 months ago) by torben
1) SmsTool, outgoingdir - use .LOCK files
2) SmsTool: make it possible to configure inbox and outgoing directories
3) Value: make some extra data accessor functions



Revision 167 - Directory Listing
Modified Tue Dec 9 19:42:45 2008 UTC (15 years, 4 months ago) by torben
Since smstools doesn't have a locking mechanism for incoming files, 
create a event handler script that moves the file to another directory and
make SmsToolTransceiver handle the messages from there.


Revision 166 - Directory Listing
Modified Tue Dec 9 16:25:01 2008 UTC (15 years, 4 months ago) by torben
more todo


Revision 165 - Directory Listing
Modified Tue Dec 9 10:33:32 2008 UTC (15 years, 4 months ago) by torben
dated todo


Revision 164 - Directory Listing
Modified Tue Dec 9 09:56:05 2008 UTC (15 years, 4 months ago) by torben
Update Todo: loaded plugisn should be configurable


Revision 163 - Directory Listing
Modified Tue Dec 9 09:39:51 2008 UTC (15 years, 4 months ago) by torben
Updated todo


Revision 162 - Directory Listing
Modified Tue Dec 9 09:35:36 2008 UTC (15 years, 4 months ago) by torben
Make the file parser a little more robust


Revision 161 - Directory Listing
Modified Mon Dec 8 22:15:28 2008 UTC (15 years, 4 months ago) by torben
Maybe I should compile and thest the frickin code before commiting the change


Revision 160 - Directory Listing
Modified Mon Dec 8 22:11:01 2008 UTC (15 years, 4 months ago) by torben
Remember to increase the smscounter


Revision 159 - Directory Listing
Modified Mon Dec 8 22:05:16 2008 UTC (15 years, 4 months ago) by torben
How the f*** do I still forget to add new files  ????
These should be part of r157 : "Move logpart to its own files"



Revision 158 - Directory Listing
Modified Mon Dec 8 21:49:49 2008 UTC (15 years, 4 months ago) by torben
rename:
	util.* -> Util.*
	common.* -> Common.*


Revision 157 - Directory Listing
Modified Mon Dec 8 21:28:40 2008 UTC (15 years, 4 months ago) by torben
Move logpart to its own files


Revision 156 - Directory Listing
Modified Mon Dec 8 20:56:36 2008 UTC (15 years, 4 months ago) by torben
Updated todo:
	logging method should be configurable
	no need for master/slave processes


Revision 155 - Directory Listing
Modified Mon Dec 8 17:14:21 2008 UTC (15 years, 4 months ago) by torben
Make sure to close the files again or the daemon will crash on to many open files.


Revision 154 - Directory Listing
Modified Mon Dec 8 13:48:52 2008 UTC (15 years, 4 months ago) by torben
The correct config phrase for modemtransceiver is "internal"


Revision 153 - Directory Listing
Modified Mon Dec 8 13:14:55 2008 UTC (15 years, 4 months ago) by torben
Add default signal handler


Revision 152 - Directory Listing
Modified Mon Dec 8 11:30:07 2008 UTC (15 years, 4 months ago) by torben
Make it possible to configure which user the daemon should run as


Revision 151 - Directory Listing
Modified Mon Dec 8 10:42:04 2008 UTC (15 years, 4 months ago) by torben
Added a transceiver which uses smstools for interfaceing with the gsm modem.
-> http://smstools3.kekekasvi.com/



Revision 150 - Directory Listing
Modified Sun Dec 7 21:42:15 2008 UTC (15 years, 4 months ago) by torben
Make daemon mode a chance to dump error messages to console before daemonizing


Revision 149 - Directory Listing
Modified Sun Dec 7 20:58:41 2008 UTC (15 years, 4 months ago) by torben
Refactoring / rename:
        IGsmModem -> ISmsTransceiver
        GsmModem -> ModemTransceiver
        DebugGsmModem -> DebugTransceiver

Move DebugTransceiver to its own files.



Revision 148 - Directory Listing
Modified Sun Dec 7 20:18:20 2008 UTC (15 years, 4 months ago) by torben
Include guards



Revision 147 - Directory Listing
Modified Sun Dec 7 20:11:40 2008 UTC (15 years, 4 months ago) by torben
Again I forgot some files :(


Revision 146 - Directory Listing
Modified Sun Dec 7 20:06:12 2008 UTC (15 years, 4 months ago) by torben
Added configuration module


Revision 145 - Directory Listing
Modified Sun Dec 7 16:31:40 2008 UTC (15 years, 4 months ago) by torben
Forgot to correct the include statements


Revision 144 - Directory Listing
Modified Sun Dec 7 16:27:34 2008 UTC (15 years, 4 months ago) by torben
Refactor IGsmModem, in order to ease adding another sms transceiver


Revision 143 - Directory Listing
Modified Sun Dec 7 16:00:12 2008 UTC (15 years, 4 months ago) by torben
forgot, these two files, which part of the SMS refactoring.


Revision 142 - Directory Listing
Modified Sun Dec 7 15:51:02 2008 UTC (15 years, 4 months ago) by torben
Refacerored SMS class


Revision 141 - Directory Listing
Modified Sun Dec 7 13:28:52 2008 UTC (15 years, 4 months ago) by torben
Make a better latin1<->gsm conversion


Revision 140 - Directory Listing
Modified Sun Dec 7 12:06:01 2008 UTC (15 years, 4 months ago) by torben
Clean up header dependencies


Revision 139 - Directory Listing
Modified Sun Dec 7 11:55:44 2008 UTC (15 years, 4 months ago) by torben
Cleanup CMake files and rename "libtasks" -> "libsmstasks" and "libplugins" -> "libsmsplugins"


Revision 138 - Directory Listing
Modified Sun Dec 7 11:13:38 2008 UTC (15 years, 4 months ago) by torben
also write the hostname back to requester


Revision 137 - Directory Listing
Modified Sun Dec 7 11:08:31 2008 UTC (15 years, 4 months ago) by torben
ListPlugin.cpp: dont send the plugin descriptions back to user (too much text)

PluginManager.cpp, HostStatusPlugin.(h|cpp), CMakeLists.txt: 
	Add a new plugin which sends server status back to requester (data is from uptime(1) and df(1) )



Revision 136 - Directory Listing
Modified Sun Dec 7 10:15:44 2008 UTC (15 years, 4 months ago) by torben
ToDo, SmsPdu.cpp: Fix issue whith Multipart SMS skips a byte in each intersection.

GsmModem.cpp: write a log line when all pdu's has been send.



Revision 135 - Directory Listing
Modified Sun Dec 7 08:58:15 2008 UTC (15 years, 4 months ago) by torben
It is the duty of GsmModem::SendSms to correctly encode the message


Revision 134 - Directory Listing
Modified Sun Dec 7 08:44:22 2008 UTC (15 years, 4 months ago) by torben
make smsqueue and SpoolTask report the name of the spoolfile


Revision 133 - Directory Listing
Modified Sun Dec 7 07:59:23 2008 UTC (15 years, 4 months ago) by torben
no need for smsqueue to deoend on the other libraries


Revision 132 - Directory Listing
Modified Sun Dec 7 00:59:05 2008 UTC (15 years, 4 months ago) by torben
Added spooling (queing) function, with a standalone application(smsqueue) to put new messages 
into the spool dir.


Revision 131 - Directory Listing
Modified Sat Dec 6 20:26:38 2008 UTC (15 years, 4 months ago) by torben
Enabled "make install"


Revision 130 - Directory Listing
Modified Sat Dec 6 19:37:11 2008 UTC (15 years, 4 months ago) by torben
Require cmake v2.6 (and make cmake shut up)


Revision 129 - Directory Listing
Modified Sat Dec 6 19:30:20 2008 UTC (15 years, 4 months ago) by torben
Normal task is now Persistant task


Revision 128 - Directory Listing
Modified Sat Dec 6 15:13:34 2008 UTC (15 years, 4 months ago) by torben
Revert r125 & r126 - and use some less aggressive timevalues


Revision 127 - Directory Listing
Modified Sat Dec 6 14:43:41 2008 UTC (15 years, 4 months ago) by torben
Make Sleep() a little smarter


Revision 126 - Directory Listing
Modified Sat Dec 6 14:25:53 2008 UTC (15 years, 4 months ago) by torben
Damn, how could i forget to increment the loopcount ???


Revision 125 - Directory Listing
Modified Sat Dec 6 14:06:17 2008 UTC (15 years, 4 months ago) by torben
no need to check for new sms or execute tasks more than once per second


Revision 120 - Directory Listing
Modified Mon Dec 1 12:26:28 2008 UTC (15 years, 4 months ago) by torben
Added a list of items to be done when creating a new plugin.


Revision 119 - Directory Listing
Modified Mon Dec 1 12:14:37 2008 UTC (15 years, 4 months ago) by torben
Updated the todo list


Revision 118 - Directory Listing
Modified Mon Dec 1 12:08:23 2008 UTC (15 years, 4 months ago) by torben
main.cpp: reconfigured to usb port (i _really_ need to create that config module)

plugins/ListPlugin.(h|cpp): forgot to add the ListPlugin earlier. 
		this plugins sends an sms back with all the plugins loaded by the daemon.



Revision 115 - Directory Listing
Modified Tue Nov 4 11:45:25 2008 UTC (15 years, 5 months ago) by torben
Added basic initscript


Revision 114 - Directory Listing
Modified Sun Nov 2 20:14:20 2008 UTC (15 years, 5 months ago) by torben
Enable compilation 4.3


Revision 109 - Directory Listing
Modified Sun Aug 24 17:57:04 2008 UTC (15 years, 8 months ago) by torben
TogPlugin.cpp: Avoid danish characters in station codes.

common.cpp: The month in struct tm is 0-based instead of 1-based (eg. January is 0), 
            reflect this in the list of month-names.


Revision 108 - Directory Listing
Modified Fri Jul 4 07:58:26 2008 UTC (15 years, 9 months ago) by torben
Make str_toupper and str_tolower handle danish characters correctly.


Revision 107 - Directory Listing
Modified Thu Jun 19 14:47:52 2008 UTC (15 years, 10 months ago) by torben
Allow ShellExecPlugin to return the output of the executed command.


Revision 106 - Directory Listing
Modified Tue Jun 17 17:56:45 2008 UTC (15 years, 10 months ago) by torben
Also show SVNVERSION in printUsage();


Revision 105 - Directory Listing
Modified Tue Jun 17 17:47:37 2008 UTC (15 years, 10 months ago) by torben
Handle pincode


Revision 104 - Directory Listing
Modified Tue Jun 17 08:14:12 2008 UTC (15 years, 10 months ago) by torben
Make taskmanager print the names of the loaded tasks


Revision 103 - Directory Listing
Modified Tue Jun 17 06:32:51 2008 UTC (15 years, 10 months ago) by torben
svn:ignore : also ignore the build-targes.


Revision 102 - Directory Listing
Modified Tue Jun 17 06:29:19 2008 UTC (15 years, 10 months ago) by torben
Bugfix: correct time calculations.


Revision 101 - Directory Listing
Modified Mon Jun 16 16:41:18 2008 UTC (15 years, 10 months ago) by torben
Finally is the version.h working as i want to

Added a StatusPlugin


Revision 100 - Directory Listing
Modified Mon Jun 16 16:15:21 2008 UTC (15 years, 10 months ago) by torben
Don't need this anymore


Revision 99 - Directory Listing
Modified Mon Jun 16 15:32:07 2008 UTC (15 years, 10 months ago) by torben
Finally got read of svn version working


Revision 98 - Directory Listing
Modified Mon Jun 16 14:33:47 2008 UTC (15 years, 10 months ago) by torben


Revision 97 - Directory Listing
Modified Mon Jun 16 14:11:49 2008 UTC (15 years, 10 months ago) by torben
Forgot to add Task.cpp in previous commit.

Added a skeleton creator script for tasks


Revision 96 - Directory Listing
Modified Mon Jun 16 14:04:19 2008 UTC (15 years, 10 months ago) by torben
Finish the task interface


Revision 95 - Directory Listing
Modified Mon Jun 16 12:21:30 2008 UTC (15 years, 10 months ago) by torben
Set an interval between sms reads from modem.


Revision 94 - Directory Listing
Modified Mon Jun 16 11:57:48 2008 UTC (15 years, 10 months ago) by torben
Testing keyword property substitution


Revision 93 - Directory Listing
Modified Mon Jun 16 11:39:33 2008 UTC (15 years, 10 months ago) by torben
Header cleanup


Revision 92 - Directory Listing
Modified Mon Jun 16 11:30:20 2008 UTC (15 years, 10 months ago) by torben
No need for Common.h to include TaskManager.h and PluginManager.h



Revision 91 - Directory Listing
Modified Mon Jun 16 10:56:02 2008 UTC (15 years, 10 months ago) by torben
Move serialport to its own directory


Revision 90 - Directory Listing
Modified Mon Jun 16 10:21:02 2008 UTC (15 years, 10 months ago) by torben
Move IGsmModem to its own header file.


Revision 89 - Directory Listing
Modified Mon Jun 16 10:09:17 2008 UTC (15 years, 10 months ago) by torben
Easier access to gettimeofday()


Revision 88 - Directory Listing
Modified Mon Jun 16 09:04:05 2008 UTC (15 years, 10 months ago) by torben
Refactored some of the main.cpp code into SmsDaemon class.



Revision 87 - Directory Listing
Modified Mon Jun 16 07:41:47 2008 UTC (15 years, 10 months ago) by torben
svn:ignore


Revision 86 - Directory Listing
Modified Mon Jun 16 07:39:56 2008 UTC (15 years, 10 months ago) by torben
daemon.cpp: do not ignore child signals

util.(h|cpp): make a safe replacement for system(3) call
ShellExecPlugin.cpp: use this safer replacement



Revision 85 - Directory Listing
Modified Mon Jun 16 06:46:56 2008 UTC (15 years, 10 months ago) by torben
Safer call of main loop


Revision 84 - Directory Listing
Modified Mon Jun 16 06:12:45 2008 UTC (15 years, 10 months ago) by torben
More correct implementation of mTimeDiff


Revision 83 - Directory Listing
Modified Sun Jun 15 20:45:14 2008 UTC (15 years, 10 months ago) by torben
Save (out-commented) commands for SMS over GPRS


Revision 82 - Directory Listing
Modified Sun Jun 15 20:06:39 2008 UTC (15 years, 10 months ago) by torben
Added task infrastructure.


Revision 81 - Directory Listing
Modified Sun Jun 15 19:33:02 2008 UTC (15 years, 10 months ago) by torben
throw an error if the doc string is empty


Revision 80 - Directory Listing
Modified Sun Jun 15 18:57:00 2008 UTC (15 years, 10 months ago) by torben
util.cpp system() allways returns -1 in daemon mode (take handle of that)

TogPlugin.cpp: pass the exception message back to the user.


Revision 79 - Directory Listing
Modified Sun Jun 15 16:05:14 2008 UTC (15 years, 10 months ago) by torben
This check breaks functionality in daemon mode....


Revision 78 - Directory Listing
Modified Sat Jun 14 08:39:40 2008 UTC (15 years, 10 months ago) by torben
Remove any leading/trailing 0x00 from the strings.



Revision 77 - Directory Listing
Modified Fri Jun 13 21:15:00 2008 UTC (15 years, 10 months ago) by torben
Fixed a bug in PDU decide wich resultet in appended garbage.


Revision 76 - Directory Listing
Modified Fri Jun 13 10:14:50 2008 UTC (15 years, 10 months ago) by torben
Done


Revision 75 - Directory Listing
Modified Fri Jun 13 10:10:06 2008 UTC (15 years, 10 months ago) by torben
Make gsmmodem::readsms use pdu mode 

Cleaned up some unneeded cout and <iostream>



Revision 74 - Directory Listing
Modified Fri Jun 13 09:33:47 2008 UTC (15 years, 10 months ago) by torben
Added a list with items need to be done.


Revision 73 - Directory Listing
Modified Fri Jun 13 09:09:36 2008 UTC (15 years, 10 months ago) by torben
Fixed a bug in CreateSmsPdu() so it now uses EncodePhonenr() correctly


Revision 72 - Directory Listing
Modified Fri Jun 13 08:37:19 2008 UTC (15 years, 10 months ago) by torben
Enable dumping of modem error messages.


Revision 71 - Directory Listing
Modified Fri Jun 13 07:58:40 2008 UTC (15 years, 10 months ago) by torben
Also save the long test PDU's


Revision 70 - Directory Listing
Modified Fri Jun 13 07:56:57 2008 UTC (15 years, 10 months ago) by torben
Enable correct parsing of concatenated pdu's


Revision 69 - Directory Listing
Modified Fri Jun 13 06:38:43 2008 UTC (15 years, 10 months ago) by torben
Basic Sms PDU parsing works


Revision 68 - Directory Listing
Modified Thu Jun 12 18:54:24 2008 UTC (15 years, 10 months ago) by torben
Added pdu decode helper functions.


Revision 67 - Directory Listing
Modified Thu Jun 12 15:23:11 2008 UTC (15 years, 10 months ago) by torben
Allow DebugGsmModem::SendSms to print directly to cout


Revision 66 - Directory Listing
Modified Thu Jun 12 15:16:12 2008 UTC (15 years, 10 months ago) by torben
Make the PDU work with and without the lading country code



Revision 65 - Directory Listing
Modified Thu Jun 12 13:32:17 2008 UTC (15 years, 10 months ago) by torben
Limit concatenated(multi-part) sms to 800 bytes


Revision 64 - Directory Listing
Modified Thu Jun 12 12:47:32 2008 UTC (15 years, 10 months ago) by torben
Bugfix: only report the departure info


Revision 63 - Directory Listing
Modified Thu Jun 12 12:43:29 2008 UTC (15 years, 10 months ago) by torben
Make GsmModem use the pdu way.

Added allowMultipart parameter to IGsmModem::SendSms()




Revision 62 - Directory Listing
Modified Thu Jun 12 12:04:32 2008 UTC (15 years, 10 months ago) by torben
Multipart SMS works


Revision 61 - Directory Listing
Modified Thu Jun 12 11:05:18 2008 UTC (15 years, 10 months ago) by torben
More work towards getting concatenated sms working - but not there yet !


Revision 60 - Directory Listing
Modified Wed Jun 11 21:18:04 2008 UTC (15 years, 10 months ago) by torben
First take at multi-part/concatenated SMS pdu's - doesn't work yet!


Revision 59 - Directory Listing
Modified Wed Jun 11 19:42:24 2008 UTC (15 years, 10 months ago) by torben
Implemented basic sms pdu support


Revision 58 - Directory Listing
Modified Wed Jun 11 16:14:28 2008 UTC (15 years, 10 months ago) by torben
Use a simpler command for modem connection testing


Revision 57 - Directory Listing
Modified Wed Jun 11 16:08:37 2008 UTC (15 years, 10 months ago) by torben
implement early exit if modem wasn't detected.



Revision 56 - Directory Listing
Modified Wed Jun 11 15:55:18 2008 UTC (15 years, 10 months ago) by torben
Allow clients of ShellExecPlugin to specify whether user specified arguments to the commands
should be allowed


Revision 55 - Directory Listing
Modified Wed Jun 11 14:25:08 2008 UTC (15 years, 10 months ago) by torben
Silenced warning



Revision 54 - Directory Listing
Modified Wed Jun 11 12:57:26 2008 UTC (15 years, 10 months ago) by torben
Moving Plugin and PluginManager back to the main library because ... because I can !!!



Revision 53 - Directory Listing
Modified Wed Jun 11 12:41:10 2008 UTC (15 years, 10 months ago) by torben
Clean up header dependencies


Revision 52 - Directory Listing
Modified Wed Jun 11 12:15:14 2008 UTC (15 years, 10 months ago) by torben
TogPlugin is now working :)



Revision 51 - Directory Listing
Modified Wed Jun 11 11:05:03 2008 UTC (15 years, 10 months ago) by torben
Adopt skeleton creator to IGsmModem interface.


Revision 50 - Directory Listing
Modified Wed Jun 11 10:31:42 2008 UTC (15 years, 10 months ago) by torben
Trunkate messages to 160 characters.



Revision 49 - Directory Listing
Modified Wed Jun 11 10:21:47 2008 UTC (15 years, 10 months ago) by torben
Make togplugin work

GsmModem.cpp - when sending SMS - truncate message body to 160 chars


Revision 48 - Directory Listing
Modified Wed Jun 11 09:13:31 2008 UTC (15 years, 10 months ago) by torben
No need for this anymore


Revision 47 - Directory Listing
Modified Wed Jun 11 09:12:15 2008 UTC (15 years, 10 months ago) by torben
added "tester" as application target and made the libraries shared (.so) in order to avoid mutual library dependency problems



Revision 46 - Directory Listing
Modified Wed Jun 11 09:03:32 2008 UTC (15 years, 10 months ago) by torben
CMakeLists.txt: forgot to add TrainInfo.cpp and TogPlugin.cpp



Revision 45 - Directory Listing
Modified Wed Jun 11 09:00:56 2008 UTC (15 years, 10 months ago) by torben
CMakeLists.txt added a smsdaemon core library in order to ease testing.

The other changes is to make this new library work correctly


Revision 44 - Directory Listing
Modified Wed Jun 11 08:25:34 2008 UTC (15 years, 10 months ago) by torben
Intermediate code sync.

TrainInfo.*
TogPlugin.*: plugin to get train departure info from bane.dk

SpamPlugin.*
ShellExecPlugin.*
EchoPlugin.*
Plugin.h
GsmModem.h: implemented IGsmModem in order to make offline Plugin testing easier.



Revision 43 - Directory Listing
Modified Wed Jun 11 06:46:14 2008 UTC (15 years, 10 months ago) by torben
More string utilities.


Revision 42 - Directory Listing
Modified Tue Jun 10 22:22:19 2008 UTC (15 years, 10 months ago) by torben
Added some character conversion rutines.


Revision 41 - Directory Listing
Modified Tue Jun 10 20:40:25 2008 UTC (15 years, 10 months ago) by torben
Fixed a typo


Revision 40 - Directory Listing
Modified Tue Jun 10 20:30:51 2008 UTC (15 years, 10 months ago) by torben
Added test-driver script


Revision 39 - Directory Listing
Modified Tue Jun 10 20:28:42 2008 UTC (15 years, 10 months ago) by torben
Make SMS class use some of the new Util::str_ functions



Revision 38 - Directory Listing
Modified Tue Jun 10 20:25:15 2008 UTC (15 years, 10 months ago) by torben
Added some extra string functions to Util::

Made Util::str_clean into Util::str_replace


Revision 37 - Directory Listing
Modified Tue Jun 10 17:09:33 2008 UTC (15 years, 10 months ago) by torben
Added a shell script for creating a plugin skeleton


Revision 36 - Directory Listing
Modified Tue Jun 10 15:34:19 2008 UTC (15 years, 10 months ago) by torben
SerialPort.cpp: silenced 2 warnings (signed/unsigned comparison)

main.cpp,GsmModem.cpp,common.(h|cpp): added some statistics


Revision 35 - Directory Listing
Modified Tue Jun 10 14:38:59 2008 UTC (15 years, 10 months ago) by torben
Finished PluginManager::AddPlugin() so that the plugins can register them selves.

Added a plugin for executing an external program.



Revision 34 - Directory Listing
Modified Tue Jun 10 13:29:19 2008 UTC (15 years, 10 months ago) by torben
Do not append \r when sending the SMS body text.


Revision 33 - Directory Listing
Modified Tue Jun 10 12:58:30 2008 UTC (15 years, 10 months ago) by torben
Switch to hw flow control


Revision 32 - Directory Listing
Modified Tue Jun 10 05:34:26 2008 UTC (15 years, 10 months ago) by torben
Forgot to add this file at commit 28



Revision 31 - Directory Listing
Modified Tue Jun 10 05:33:14 2008 UTC (15 years, 10 months ago) by torben
svn:ignore


Revision 30 - Directory Listing
Modified Mon Jun 9 21:56:47 2008 UTC (15 years, 10 months ago) by torben
main.cpp: when daemon, clean up before exiting.

Plugin.h: silence a initializer warning

CMakeLists.txt: enable compiler warnings 


Revision 29 - Directory Listing
Modified Mon Jun 9 21:36:39 2008 UTC (15 years, 10 months ago) by torben
Nicer handling on port open exceptions.


Revision 28 - Directory Listing
Modified Mon Jun 9 20:56:03 2008 UTC (15 years, 10 months ago) by torben
Restructured the plugins a little and implemented a spam plugin.



Revision 27 - Directory Listing
Modified Mon Jun 9 19:22:59 2008 UTC (15 years, 10 months ago) by torben
Switched from homemade makefiles to CMake


Revision 26 - Directory Listing
Added Mon Jun 9 18:15:53 2008 UTC (15 years, 10 months ago) by torben
Added first basic edition of smsdaemon.

So far sending & receiving sms works and a basic sample plugin is implemented.


  ViewVC Help
Powered by ViewVC 1.1.20