21 Commits

Author SHA1 Message Date
Fred Gleason
c85e16c0a2 2019-01-07 Fred Gleason <fredg@paravelsystems.com>
* Removed 'apis/rlm/'.
	* Removed the 'Edit Now & Next' button from the 'Configure RDAirPlay'
	dialog in rdadmin(1).
	* Removed RLM support from rdairplay(1) and rdvairplayd(8).
	* Removed v1.x legacy PAD update support from rdairplay(1).
	* Dropped the 'NOWNEXT_PLUGINS' table from the database.
	* Dropped the 'LOG_MACHINES.UDP_ADDR' field from the database.
	* Dropped the 'LOG_MACHINES.UDP_PORT' field from the database.
	* Dropped the 'LOG_MACHINES.UDP_STRING' field from the database.
	* Dropped the 'LOG_MACHINES.LOG_RML' field from the database.
	* Incremented the database version to 305.
2019-01-08 10:55:36 -05:00
Fred Gleason
1e3b1a6e0b 2019-01-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'PyPAD.Receiver' that threw an exception when
	processing a PAD update with no active timer.
	* Added a 'pypad_spottrap.py' PyPAD script.
	* Removed the 'rlm_spottrap' RLM.
	* Removed the 'rlm_test' RLM.
2019-01-06 10:00:13 -05:00
Fred Gleason
49f3a4cd52 2019-01-05 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'PyPAD.setConfigFile()' method to return a
	configparser object.
2019-01-05 15:50:19 -05:00
Fred Gleason
bb2b97c09a 2019-01-05 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PyPAD.Receiver::setTimerCallback()' method.
2019-01-05 15:12:12 -05:00
Fred Gleason
efc2a100a9 2019-01-04 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad_xds.py' PyPAD script.
	* Removed the 'rlm_xds' RLM.
2019-01-04 11:06:19 -05:00
Fred Gleason
af9a155965 2019-01-02 Fred Gleason <fredg@paravelsystems.com>
* Added a 'lineNumber' parameter to the 'padUpdate' structure.
	* Added a 'FIELD_LINE_NUMBER' data value to PyPAD.
	* Defined the '%z' metadata wildcard to refer to log line number.
	* Added a 'lineId' parameter to the 'padUpdate' structure.
	* Added 'FIELD_LINE_ID' data value to PyPAD.
	* Defined the '%x' metadata wildcard to refer to log line ID.
2019-01-02 13:13:54 -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
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
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
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
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
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
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
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