42 Commits

Author SHA1 Message Date
Fred Gleason
ca76777c11 2018-12-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad_ando.py' PyPAD script.
	* Removed the 'rlm_ando' RLM.
2018-12-20 13:33:59 -05:00
Fred Gleason
3bf849a8a1 2018-12-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PyPAD.Update::startDateTimeString()' method.
	* Added a 'pypad_spinitron.py' PyPAD script.
	* Removed the 'rlm_spinitron_plus' RLM.
2018-12-20 10:29:56 -05:00
Fred Gleason
eae618e464 2018-12-18 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'rlm_padpoint' RLM.
2018-12-18 18:14:10 -05:00
Fred Gleason
8dc4e72af6 2018-12-18 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad_live365.py' PyPAD script.
	* Removed the 'rlm_live365' RLM.
	* Fixed typos in the docstrings for 'PyPAD.Update::startDateTime()'
	and 'PyPAD.Update::padField()'.
2018-12-18 18:08:49 -05:00
Fred Gleason
324e35cd8e 2018-12-18 Fred Gleason <fredg@paravelsystems.com>
* Removed the source file for the 'rlm_urlwrite' RLM.
	* Removed the source file for the 'rlm_walltime' RLM.
2018-12-18 16:35:52 -05:00
Fred Gleason
441ecd3880 2018-12-18 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad_walltime.py' PyPAD script.
	* Removed the 'rlm_walltime' RLM.
2018-12-18 16:31:38 -05:00
Fred Gleason
86716a1041 2018-12-18 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad_urlwrite.py' PyPAD script.
	* Removed the 'rlm_urlwrite' RLM.
2018-12-18 15:32:59 -05:00
Fred Gleason
22f878eaae 2018-12-18 Fred Gleason <fredg@paravelsystems.com>
* Deleted the 'rlm_facebook' RLM.
	* Deleted the 'rlm_filewrite' RLM.
	* Deleted the 'rlm_tagstation' RLM.
	* Deleted the 'rlm_twitter' RLM.
	* Deleted the 'rlm_udp' RLM.
2018-12-18 13:07:20 -05:00
Fred Gleason
bc42ff435c 2018-12-17 Fred Gleason <fredg@paravelsystems.com>
* Renamed the RD_RLM2_CLIENT_TCP_PORT define to RD_PAD_CLIENT_TCP_PORT.
	* Renamed the  RD_RLM_SOURCE_UNIX_ADDRESS define to
	 RD_PAD_SOURCE_UNIX_ADDRESS.
	* Added a RD_PYPAD_SCRIPT_DIR define.
	* Added an 'RDNotification::PypadType' value to the
	'RDNotification::Type' enumeration.
	* Added 'PypadOwner=' and 'PypadGroup=' directives to the
	'[Identity]' section of rd.conf(5).
	* Added an rdpadengined(8) service.
	* Added a 'PYPAD_INSTANCES.IS_RUNNING' field to the database.
	* Added a 'PYPAD_INSTANCES.EXIT_CODE' field to the database.
	* Added a 'PYPAD_INSTANCES.ERROR_TEXT' field to the database.
	* Incremented the database version to 304.
2018-12-17 14:16:30 -05:00
Fred Gleason
7a04111228 2018-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added support in 'PyPAD.Receiver::setConfigFile()' to load
	configuration information from a Rivendell database.
2018-12-14 17:37:06 -05:00
Fred Gleason
dfa8ed93b2 2018-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PYPAD_INSTANCES' table to the database.
	* Incremented the database version to 303.
	* Added a 'PyPAD Instances' button to the 'Edit Station' dialog
	in rdadmin(1).
	* Added a 'ListPyPAD Instances' dialog in rdadmin(1).
	* Added an 'Edit PyPAD' Instance' dialog in rdadmin(1).
2018-12-14 16:17:42 -05:00
Fred Gleason
d781b694fb 2018-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PyPAD.Receiver::setConfigFile()' method.
	* Added a 'PyPAD.Update::shouldBeProcessed()' method.
	* Updated the 'pypad_filewrite.py' script to use the
	'PyPAD.Update::shouldBeProcessed()' method.
	* Updated the 'pypad_udp.py' script to use the
	'PyPAD.Update::shouldBeProcessed()' method.
2018-12-13 15:29:37 -05:00
Fred Gleason
b2007ee84a 2018-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added a 'make install' rule in 'apis/PyPAD/examples/' to install
	PyPAD scripts in '${libdir}/rivendell/PyPAD/'.
	* Fixed a typo in the pseudo-bangpath line in the example PyPAD
	scripts.
2018-12-13 11:36:59 -05:00
Fred Gleason
0302445c0b 2018-12-11 Fred Gleason <fredg@paravelsystems.com>
* Renamed 'apis/PyPAD/examples/pypad_test.py' to
	'apisPyPAD/tests/pad_test.py'.
	* Added a 'hostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::hostName()' method.
	* Added a 'shortHostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::shortHostName()' method.
	* Added a 'PyPAD.Update::resolveFilepath()' method.
	* Added 'apis/PyPAD/tests/filepath_test.py.
	* Added 'api/PyPAD/examples/pypad_filewrite.py'.
2018-12-12 13:20:24 -05:00
Fred Gleason
e6b46cca76 2018-12-11 Fred Gleason <fredg@paravelsystems.com>
* Renamed 'apis/PyPAD/examples/pypad_test.py' to
	'apisPyPAD/tests/pad_test.py'.
	* Added a 'hostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::hostName()' method.
	* Added a 'shortHostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::shortHostName()' method.
	* Added a 'PyPAD.Update::resolveFilepath()' method.
	* Added 'apis/PyPAD/tests/filepath_test.py.
	* Added 'api/PyPAD/examples/pypad_filewrite.py'.
2018-12-11 16:50:28 -05:00
Fred Gleason
e2a313a07d 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'pypad_udp.py' script that threw an exception
	when processing multi-byte UTF-8 characters.
2018-12-10 14:09:33 -05:00
Fred Gleason
66d0d465c1 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Added support for the 'ProcessNullUpdates=' directive in the
	'pypad_udp.py' script.
	* Added support for the log selection directives in the
	'pypad_udp.py' script.
2018-12-10 13:30:49 -05:00
Fred Gleason
b693555c87 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'PyPAD.Update::resolvePadFields()' that caused
	incorrect rendering of 'dddd' placeholders when processing '%d(<dt>)'
	wildcards.
2018-12-10 12:44:10 -05:00
Fred Gleason
387cbad1b0 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Changed the name of the JSON PAD field 'logMachine' to 'machine'.
	* Changed the name of the 'PyPAD.Update::logMachine()' method to
	'PyPAD.Update::machine()'.
	* Changed the name of the JSON PAD field 'logMode' to 'mode'.
	* Added a 'PyPAD.Update::mode()' method.
	* Added a 'cutNumber' field to the JSON PAD 'now' and 'next' objects.
	* Added a 'PyPAD.FIELD_CUT_NUMBER' define.
	* Added 'api/PyPAD/examples/pypad_test.py'.
2018-12-10 11:07:07 -05:00
Fred Gleason
d3e35a8cab 2018-12-09 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'PyPAD.Update::padFields()' method to
	'PyPAD.Update::resolvePadFields()'.
	* Added a 'PyPAD.Update::padField()' method.
	* Added a 'PyPAD.Update::escape()' method.
2018-12-09 19:33:21 -05:00
Fred Gleason
2f4a4ada06 2018-12-08 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'PyPAD.Update::dateTime()' method to
	'PyPAD.Update::dateTimeString()'.
	* Changed the format of the 'dateTime' field in the PAD JSON structure
	from RFC822 to ISO 8601.
	* Added a 'startDateTime' field to the 'now' and 'next' objects in
	the PAD JSON structure.
	* Added a PAD Type enumeration for use in 'PyPAD.Update'.
	* Added 'PyPAD.Update::hasPadType()' and 'PyPAD.Update.startDateTime()'
	methods.
	* Removed 'PyPAD.Update::hasNowPad()' and 'PyPAD.Update:hasNextPad()'
	methods.
	* Added support for '%d(<dt>)' and '%D(<dt>)' wildcards in
	'PyPAD.Update::padFields()'.
2018-12-08 21:55:48 -05:00
Fred Gleason
265146f01e 2018-12-07 Fred Gleason <fredg@paravelsystems.com>
* Changed the Python namespace of the PyPAD classes from
	'rivendell.PyPAD' to 'PyPAD'.
	* Renamed the 'PyPAD.PyPADReceiver' class to 'PyPAD.Receiver'.
	* Renamed the 'PyPAD.PyPADUpdate' class to 'PyPAD.Update'.
	* Added a 'port' argument to the 'PyPAD.Receiver::start()' method.
	* Added an 'escaping' argument to the 'PyPAD.Update::padFields()'
	method.
	* Added support for the 'Encoding=' directive to the 'pypad_udp.py'
	script.
2018-12-07 13:52:57 -05:00
Fred Gleason
3a65043bd6 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad_udp.py' PyPAD script.
2018-12-06 18:40:56 -05:00
Fred Gleason
03141e6421 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added support for '\b', '\f', '\n' '\r' and '\t' control escapes
	in the 'PyPADUpdate::padFields()' method.
2018-12-06 17:49:00 -05:00
Fred Gleason
340f834839 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Removed support for the 'priv' argument in callbacks in PyPAD
	scripts.
2018-12-06 15:54:19 -05:00
Fred Gleason
c80f67cfd0 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added comments to the 'now_and_next.py' PyPAD script.
2018-12-06 13:51:43 -05:00
Fred Gleason
1d8e303101 2018-12-05 Fred Gleason <fredg@paravelsystems.com>
* Added a set of Python classes for processing PAD updates.
2018-12-05 20:15:10 -05:00
Fred Gleason
0d271e168c 2018-11-07 Fred Gleason <fredg@paravelsystems.com>
* Modified rd_deleteaudio(7) in the rivwebcapi to process UTF-8.
2018-11-07 14:28:04 -05:00
Fred Gleason
e05d707ed5 2018-11-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed buffer overflow bugs in the rd_export(7) rivcwebapi call.
	* Fixed buffer overflow bugs in the rd_listservices(7) rivcwebapi call.
	* Fixed buffer overflow bugs in the rd_trimaudio(7) rivcwebapi call.
2018-11-07 14:13:11 -05:00
Fred Gleason
22541425cf 2018-10-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rivwebcapi's 'RD_ListCartCuts()' and
	'RD_ListCartsCuts()' functions that threw a segfault if the WebAPI
	returned an error response.
2018-10-17 12:29:27 -04:00
Fred Gleason
ae75610054 2018-10-11 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RD_ListCartsCuts()' function to 'rivwebcapi'.
2018-10-11 19:02:44 -04:00
Fred Gleason
3aa50b54cf 2018-10-10 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RD_ListCartCuts()' function to 'rivwebcapi'.
	* Changed the length of the 'cut_name' member of the 'rd_cut' struct
	from 11 to 41 in 'rivwebcapi'.
	* Added a 'struct rd_cut *cart_cuts' member to the 'rd_cart' struct
	in 'rivwebcapi'.
2018-10-10 17:12:00 -04:00
Fred Gleason
0602962b46 2018-10-09 Fred Gleason <fredg@paravelsystems.com>
* Alphabetized the Makefile component lists in 'rivwebcapi'.
2018-10-09 14:03:37 -04:00
Fred Gleason
cdca805ed5 2018-09-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the build.
2018-09-17 15:08:18 +00:00
Fred Gleason
5179ba9563 2018-09-10 Fred Gleason <fredg@paravelsystems.com>
* Quadrupled the length of strings in 'struct rd_cart' in the
	'rivwebcapi' to accomodate UTF-8 characters.
2018-09-10 12:21:25 -04:00
Fred Gleason
f13aa1e3ae 2018-09-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in the 'rivwebcapi' rd_savelog(7) call that caused
	log saves to fail.
2018-09-10 09:13:15 -04:00
Fred Gleason
220fef0c56 2018-09-04 Fred Gleason <fredg@paravelsystems.com>
* Modified rd_listlog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listschedcodes(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listservices(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listsystemsettings(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_removecart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_removecut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_savelog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_trimaudio(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_unassignschedcode(7) in the rivwebcapi to process UTF-8
	strings correctly.
2018-09-04 17:03:56 -04:00
Fred Gleason
5fbfed9d38 2018-08-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed buffer overflow vulnerabilities in the rivwebcapi test
	harnesses.
	* Modified rd_createticket(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_addcart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_addcut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_addlog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_assignschedcode(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_audioinfo(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_audiostore(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_copyaudio(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_deletelog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_editcart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_editcut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_export(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_exportpeaks(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcarts(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcartschedcodes(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcuts(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listgroup(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listgroups(7) in the rivwebcapi to process UTF-8
	strings correctly.
2018-08-31 14:28:26 -04:00
Fred Gleason
e0dd678c8e 2018-08-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the build under MingW32.
2018-08-31 08:41:28 -04:00
Fred Gleason
fbb87ffed3 2018-08-31 Fred Gleason <fredg@paravelsystems.com>
* Added support for cross-compiling 'rivwebcapi' for Windows with
	the MingW64 environment.
2018-08-31 08:31:39 -04:00
Fred Gleason
6a71c397a2 2018-08-30 Fred Gleason <fredg@paravelsystems.com>
* Integrated the 'Rivendell-C-API'
	[from https://github.com/RadioFreeAsia/rivendell-c-api] in
	'apis/rivwebcapi/'.
	* Added a 'rivendell-webapi' RPM subpackage.
2018-08-30 14:06:12 -04:00
Fred Gleason
28a43eeae2 2018-08-30 Fred Gleason <fredg@paravelsystems.com>
* Moved RLM subsystem to 'apis/rlm/'.
2018-08-30 12:11:42 -04:00