274 Commits

Author SHA1 Message Date
Patrick Linstruth
bc0ec04b8a Fixed regression with rdimport(1) that threw SQL errors when importing into an existing cart. 2018-11-30 17:29:20 -08:00
Fred Gleason
6eab09f51c 2018-11-30 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.REPORT_EDITOR_PATH' field to the database.
	* Incremented the database version to 302.
	* Added a 'Report Editor' control to the 'Edit Host' dialog in
	rdadmin(1).
	* Modified the report generator to use the editor specified in the
	'Report Editor' control rather than than the value of the $VISUAL
	environmental variable.
2018-11-30 07:52:56 -05:00
Fred Gleason
a9a3f385ad 2018-11-29 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.INCLUDE_IMPORT_MARKERS' field to the database.
	* Added a 'LOGS.INCLUDE_IMPORT_MARKERS' field to the database.
	* Incremented the database version to 301.
	* Added an 'Inlcude Import Markers in Finished Logs' checkbox to
	the 'Edit Service' dialog in rdadmin(1).
2018-11-29 14:44:38 -05:00
Fred Gleason
10b08d65a8 2018-11-21 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'SERVICES.MUS_WIN_PATH', 'SERVICES.MUS_WIN_PREIMPORT_CMD'
	'SERVICES.TFC_WIN_PATH', and 'SERVICES.TFC_WIN_PREIMPORT_CMD' fields
	from the database.
	* Incremented the database version to 300.
	* Removed the 'RDSvc::ImportOs' enumeration.
	* Removed the 'Windows Import Path' and 'Windows Preimport Command'
	fields from the 'Edit Service' dialog in rdadmin(1).
2018-11-21 09:56:54 -05:00
Fred Gleason
6ca773e21d 2018-11-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the 298 => 299 schema change in rddbmgr(8) to use the
	new method for dropping a DB field.
2018-11-16 10:06:42 -05:00
Fred Gleason
500f7be2aa Resolved conflict in 'ChangeLog' 2018-11-16 09:56:47 -05:00
Fred Gleason
09f4557db6 2018-11-16 Fred Gleason <fredg@paravelsystems.com>
* Added '-fno-var-tracking-assignments' to the 'AM_CPPFLAGS' rule
	for rddbmgr(8).
2018-11-16 09:27:50 -05:00
Fred Gleason
c1ba5c92a9 2018-11-16 Fred Gleason <fredg@paravelsystems.com>
* Refactored schema modification routines in rddbmgr(8) to check
	for existence of a field before dropping it.
2018-11-16 09:17:11 -05:00
Patrick Linstruth
7269644bd7 Fix indentation 2018-11-15 15:59:25 -08:00
Patrick Linstruth
b5f736bd6e Remove use of convenience library classes 2018-11-15 15:52:30 -08:00
Patrick Linstruth
3ed7a7ca6f Move 'CART.SCHED_CODES' field to 'CART_SCHED_CODES' table. 2018-11-13 13:16:26 -08:00
Fred Gleason
b41d35ff40 2018-11-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rddbmgr(8) that attempted to drop the
	'RDAIRPLAY.INSTANCE' field when processing schema update 284.
2018-11-08 11:59:18 -05:00
Fred Gleason
7e26b04e40 2018-11-01 Fred Gleason <fredg@paravelsystems.com>
* Modified rdselect_helper(8) to include the value of the value of
	the 'MountOptions=' parameter in rd.conf(5) when configuring
	audio store mounts.
2018-11-01 13:40:15 -04:00
Fred Gleason
f9e0e152ba 2018-11-01 Fred Gleason <fredg@paravelsystems.com>
* Modified rdselect_helper(8) to use the automounter for managing
	audio store mounts.
2018-11-01 13:14:49 -04:00
Fred Gleason
4d762b437e Fixed conflict in 'ChangeLog' 2018-10-30 13:02:17 -04:00
Patrick Linstruth
636f185202 Added display of warnings from rddbmgr(8) to rddbconfig(8). 2018-10-30 09:21:17 -07:00
Fred Gleason
ebe2869069 2018-10-29 Fred Gleason <fredg@paravelsystems.com>
* Backported a consistency check into schema update 291 in
	rddbmgr(8) to remove rdlogmanager(1) events with duplicate start
	times.
2018-10-29 17:59:46 -04:00
Fred Gleason
9338a14042 2018-10-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the code to implement schema update/reversion 284
	that did not properly add/drop the 'RDAIRPLAY.INSTANCE' field.
2018-10-29 16:33:41 -04:00
Fred Gleason
7c0ee3cbda Fixed conflict in 'ChangeLog' 2018-10-24 21:05:04 -04:00
Fred Gleason
4e851eedf3 2018-10-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused multiple default records
	to be created in 'SERVICE_PERMS' when creating a new database.
2018-10-24 16:15:44 -04:00
Fred Gleason
9d25af4c5f 2018-10-24 Fred Gleason <fredg@paravelsystems.com>
* Consolidated the implementation of the 'RDProfile' class into
	two files.
	* Added an rdselect_helper(1) SETUID helper program.
	* Removed the SETUID bit from rdselect(1).
2018-10-24 15:34:35 -04:00
Patrick Linstruth
6baf94b64e Incremented database version to 298 2018-10-23 07:25:15 -07:00
Patrick Linstruth
c385827e46 Change RDLOGEDIT INPUT_CARD and OUTPUT_CARD defaults to 0 to match RDLIBRARY 2018-10-22 18:32:29 -07:00
Deltec Enterprises
4a3106c8dc
Master (#6)
* Fixed bug where wrong ID was used for local maintenance

* Updated ChangeLog

* Added ability to run macros from cart list with "Run Macro" button

* Updated ChangeLog

* Updated translations

* 2018-10-18 Fred Gleason <fredg@paravelsystems.com>
	* Tweaked the position of buttons on the bottom row of the main
	screen of rdlibrary(1).
	* Changed the minimum size of the main screen of rdlibrary to
	850x600.

* 2018-10-18 Fred Gleason <fredg@paravelsystems.com>
	* Fixed a regression in rdmaint(8) that broke cut rehashing.

* 2018-10-19 Fred Gleason <fredg@paravelsystems.com>
	* Added code in the %post and %preun rules in 'rivendell.spec.in'
	to enable and disable the 'rivendell' service.

* 2018-10-19 Fred Gleason <fredg@paravelsystems.com>
	* Modified rdservice(8) to log errors to syslog.
	* Added an rdservice(8) man page.
	* Modified 'systemd/rivendell.service.in' to enable automatic
	start retries.

* 2018-10-19 Fred Gleason <fredg@paravelsystems.com>
	* Fixed a typo that broke generation of the rmlsend(1) man page.

* 2018-10-19 Fred Gleason <fredg@paravelsystems.com>
	* Removed 'build_win32.bat'.
	* Removed all conditional compilation based on 'WIN32'.

* 2018-10-19 Fred Gleason <fredg@paravelsystems.com>
	* Removed check for Win32 installer from 'configure.ac'.
	* Removed win32 clauses from '.pro' files.
2018-10-19 16:52:56 -07:00
Patrick Linstruth
c265cc6044 Merge branch 'master' into RDImport
Conflicts:
	ChangeLog
2018-10-17 08:43:20 -07:00
Patrick Linstruth
dde248d7ba 2018-10-16 Patrick Linstruth <patrick@deltecent.com>
* Drop and create empty database before restore
	* Update "DB Version" label after restore
	* Prompt to update database (rddbmgr --modify) if not current version
2018-10-16 23:56:24 -07:00
Patrick Linstruth
e42df3b8e3 Update DB Version after restoring database 2018-10-16 21:23:25 -07:00
Fred Gleason
ece868a0f2 Merge branch 'systemctl' of https://github.com/deltecent/rivendell into deltecent-systemctl 2018-10-16 20:11:28 -04:00
Patrick Linstruth
9cf8ad6fd0 Changed logging to better support command line and dropbox execution 2018-10-16 16:24:27 -07:00
Fred Gleason
ac7e3d1bd9 2018-10-16 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Rivendell->Configuration' menu entry for rddbconfig(8).
2018-10-16 18:12:35 -04:00
Fred Gleason
1c5a6d3954 Merge branch 'RDDBConfig' of https://github.com/deltecent/rivendell into deltecent-RDDBConfig 2018-10-16 16:39:32 -04:00
Patrick Linstruth
82794caa92 Add LogError() 2018-10-16 09:40:41 -07:00
Patrick Linstruth
84f6b5566e Missed removal of an fprintf(stderr,...) 2018-10-16 09:39:15 -07:00
Patrick Linstruth
ff98934f23 Send all errors to stderr in addition to rda->log() 2018-10-16 09:34:17 -07:00
Patrick Linstruth
338f7fb013 Changed /etc/init.d/rivendell to systemctl 2018-10-10 19:27:26 -07:00
Patrick Linstruth
cf91daa254 Cleaned up MySQL login dialog 2018-10-09 06:55:29 -07:00
Patrick Linstruth
fb4c56ba27 Merge branch 'RDDBConfig' of github.com:deltecent/rivendell into RDDBConfig 2018-10-08 22:05:52 -07:00
Patrick Linstruth
74739cad2e Fixed QSqlDatabase warnings 2018-10-08 22:03:56 -07:00
Patrick Linstruth
bec85018a3 No changes... I have no idea why git thinks there are changes. 2018-10-08 18:15:38 -07:00
Deltec Enterprises
bfa62cd96e
Delete opendb.cpp 2018-10-08 18:12:29 -07:00
Deltec Enterprises
7336e5cf49
Delete opendb.h 2018-10-08 18:12:02 -07:00
Patrick Linstruth
2e8819dfa8 Fixed problems with MySQL user management 2018-10-08 18:09:45 -07:00
Patrick Linstruth
a62d13b14b Requires root privileges
Improved error detection and reporting
2018-10-08 16:40:05 -07:00
Fred Gleason
58d856a726 2018-10-08 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Charset=' and 'Collation=' parameters from the
	'[mySQL]' section of rd.conf(5).
	* Removed support for the --mysql-charset=' and '--mysql-collation='
	switches in rddbmgr(8).
	* Refactored handling of character set and collation attributes
	in rddbmgr(8) to treat them as immutable parts of the DB schema.
2018-10-08 18:38:12 -04:00
Patrick Linstruth
b89e38e52b Added rddbconfig to SUBDIRS 2018-10-08 15:11:20 -07:00
Patrick Linstruth
63cf33574c Initial Commit 2018-10-07 09:28:10 -07:00
Patrick Linstruth
d65e81981b Change logging from fprintf to use RDConfig::log(). Allow overriding
[Logs] section in rd.conf with new --log-directory, --log-filename,
and --log-syslog options.
2018-10-03 20:26:13 -07:00
Fred Gleason
a564d0c0fc 2018-10-03 Fred Gleason <fredg@paravelsystems.com>
* Changed all instances of 'char' to 'varchar' in the database.
	* Changed the width of the 'CART.TITLE' field to 191.
	* Changed the width of the 'CART.ARTIST' field to 191.
	* Changed the width of the 'CART.ALBUM' field to 191.
	* Changed the width of the 'CART.USER_DEFINED' field to 191.
	* Changed the width of the 'CUTS.ORIGIN_LOGIN_NAME' field to 191.
	* Changed the width of the 'DROPBOXES.PATH' field to 191.
	* Changed the width of the 'DROPBOXES.LOG_PATH' field to 191.
	* Changed the width of the 'DROPBOXES.SET_USER_DEFINED' field to 191.
	* Changed the width of the 'DROPBOX_PATHS.FILE_PATH' field to 191.
	* Changed the width of the 'ELR_LINES.TITLE' field to 191.
	* Changed the width of the 'ELR_LINES.ARTIST' field to 191.
	* Changed the width of the 'ELR_LINES.USER_DEFINED' field to 191.
	* Changed the width of the 'ELR_LINES.ALBUM' field to 191.
	* Changed the width of the 'ENCODERS.COMMAND_LINE' field to 191.
	* Changed the width of the 'EVENTS.NOTE_TEXT' field to 191.
	* Changed the width of the 'EVENT_LINES.MARKER_COMMENT' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_TITLE' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_LINK' field to 191.
	* Changed the width of the 'FEEDS.BASE_URL' field to 191.
	* Changed the width of the 'FEEDS.BASE_PREAMBLE' field to 191.
	* Changed the width of the 'FEEDS.PURGE_URL' field to 191.
	* Changed the width of the 'FEEDS.REDIRECT_PATH' field to 191.
	* Changed the width of the 'FEED_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'GROUPS.DESCRIPTION' field to 191.
	* Changed the width of the 'GROUPS.DEFAULT_TITLE' field to 191.
	* Changed the width of the 'HOSTVARS.VARVALUE' field to 191.
	* Changed the width of the 'HOSTVARS.REMARK' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TITLE' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TRACK_STRING' field to 191.
	* Changed the width of the 'INPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'LOGS.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOGS.LOCK_USER_NAME' field to 191.
	* Changed the width of the 'LOG_LINES.COMMENT' field to 191.
	* Changed the width of the 'LOG_LINES.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_ADDR' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_STRING' field to 191.
	* Changed the width of the 'LOG_MACHINES.LOG_RML' field to 191.
	* Changed the width of the 'MATRICES.GPIO_DEVICE' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_PATH' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_ARG' field to 191.
	* Changed the width of the 'OUTPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_TITLE' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_LINK' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_COMMENTS' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_AUTHOR' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_SOURCE_URL' field to 191.
	* Changed the width of the 'PODCASTS.AUDIO_FILENAME' field to 191.
	* Changed the width of the 'RDAIRPLAY.SKIN_PATH' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RDCATCH.ERROR_RML' field to 191.
	* Changed the width of the 'RDPANEL.SKIN_PATH' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RECORDINGS.URL' field to 191.
	* Changed the width of the 'REPLICATORS.URL' field to 191.
	* Changed the width of the 'REPL_CART_STATE.POSTED_FILENAME' field
	to 191.
	* Changed the width of the 'REPORTS.EXPORT_PATH' field to 191.
	* Changed the width of the 'REPORTS.WIN_EXPORT_PATH' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION' field to 191.
	* Changed the width of the 'SERVICES.NAME_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.PROGRAM_CODE' field to 191.
	* Changed the width of the 'SERVICES.TFC_PATH' field to 191.
	* Changed the width of the 'SERVICES.TFC_WIN_PATH' field to 191.
	* Changed the width of the 'SERVICES.MUS_PATH' field to 191.
	* Changed the width of the 'SERVICES_MUS_WIN_PATH' field to 191.
	* Changed the width of the 'STATIONS.USER_NAME' field to 191.
	* Changed the width of the 'STATIONS.DEFAULT_NAME' field to 191.
	* Changed the width of the 'STATIONS.EDITOR_PATH' field to 191.
	* Changed the width of the 'STATIONS.JACK_COMMAND_LINE' field to 191.
	* Changed the width of the 'SWITCHER_NODES.DESCRIPTION' field to 191.
	* Changed the width of the 'SYSTEM.ISCI_XREFERENCE_PATH' field to 191.
	* Changed the width of the 'USERS.LOGIN_NAME' field to 191.
	* Changed the width of the 'USERS.FULL_NAME' field to 191.
	* Changed the width of the 'USERS.DESCRIPTION' field to 191.
	* Changed the width of the 'USER_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'USER_SERVICE_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'WEBAPI_AUTHS.LOGIN_NAME' field to 191.
	* Changed the width of the 'WEB_CONNECTIONS.LOGIN_NAME' field to 191.
	* Incremented the database version to 297.
	* Changed the default DB charset to 'utf8mb4'.
	* Changed the default DB collation to 'utf8mb4_general_ci'.
	* Removed the MYSQL_BUILTIN_DATABASE define from 'lib/rd.h'.
	* Removed the POSTGRESQL_BUILTIN_DATABASE define from 'lib/rd.h'.
2018-10-03 18:13:51 -04:00
Fred Gleason
110fdf856f 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Added table rewriting when converting tables to a different
	character set in rddbmgr(8).
2018-08-16 19:25:50 +00:00
Fred Gleason
f59d5f2396 2018-08-16 Fred Gleason <fredg@paravelsystems.com>
* Added a database attributes check to rddbmgr(8).
2018-08-16 16:42:23 +00:00