mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-02 00:49:37 +02:00
2017-11-07 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal remnants of Host Security mode.
This commit is contained in:
parent
d139438ddc
commit
39536e6514
@ -16327,3 +16327,5 @@
|
|||||||
dialog in rdlibrary(1).
|
dialog in rdlibrary(1).
|
||||||
2017-11-07 Fred Gleason <fredg@paravelsystems.com>
|
2017-11-07 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added an 'RDLogFilter' widget.
|
* Added an 'RDLogFilter' widget.
|
||||||
|
2017-11-07 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Removed vestigal remnants of Host Security mode.
|
||||||
|
@ -1885,7 +1885,7 @@ Bitte Kofiguration prüfen und erneut versuchen.</translation>
|
|||||||
<name>RDListLogs</name>
|
<name>RDListLogs</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log - User: </source>
|
<source>Select Log - User: </source>
|
||||||
<translation>Vybrat zápis - uživatel:</translation>
|
<translation type="obsolete">Vybrat zápis - uživatel:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log</source>
|
<source>Select Log</source>
|
||||||
|
@ -1876,7 +1876,7 @@ Bitte Kofiguration prüfen und erneut versuchen.</translation>
|
|||||||
<name>RDListLogs</name>
|
<name>RDListLogs</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log - User: </source>
|
<source>Select Log - User: </source>
|
||||||
<translation>Logbenutzer auswählen:</translation>
|
<translation type="obsolete">Logbenutzer auswählen:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log</source>
|
<source>Select Log</source>
|
||||||
|
@ -1882,7 +1882,7 @@ Do you still want to proceed?</source>
|
|||||||
<name>RDListLogs</name>
|
<name>RDListLogs</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log - User: </source>
|
<source>Select Log - User: </source>
|
||||||
<translation>Seleccionar Playlist - Usuario: </translation>
|
<translation type="obsolete">Seleccionar Playlist - Usuario: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log</source>
|
<source>Select Log</source>
|
||||||
|
@ -1703,10 +1703,6 @@ Do you want to overwrite it?</source>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDListLogs</name>
|
<name>RDListLogs</name>
|
||||||
<message>
|
|
||||||
<source>Select Log - User: </source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log</source>
|
<source>Select Log</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -1876,10 +1876,6 @@ Sjekk eksportoppsettet ditt og prøv att.</translation>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDListLogs</name>
|
<name>RDListLogs</name>
|
||||||
<message>
|
|
||||||
<source>Select Log - User: </source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log</source>
|
<source>Select Log</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -1876,10 +1876,6 @@ Sjekk eksportoppsettet ditt og prøv att.</translation>
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>RDListLogs</name>
|
<name>RDListLogs</name>
|
||||||
<message>
|
|
||||||
<source>Select Log - User: </source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log</source>
|
<source>Select Log</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
@ -1880,7 +1880,7 @@ Por Favor, cheque suas configurações e tenbte outra vez.</translation>
|
|||||||
<name>RDListLogs</name>
|
<name>RDListLogs</name>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log - User: </source>
|
<source>Select Log - User: </source>
|
||||||
<translation>Selecionar Lista - Usuario: </translation>
|
<translation type="obsolete">Selecionar Lista - Usuario: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Select Log</source>
|
<source>Select Log</source>
|
||||||
|
@ -21,15 +21,15 @@
|
|||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
#include <qdatetime.h>
|
#include <qdatetime.h>
|
||||||
#include <rddb.h>
|
#include <rddb.h>
|
||||||
|
#include <rdescape_string.h>
|
||||||
#include <rdlist_logs.h>
|
#include <rdlist_logs.h>
|
||||||
|
|
||||||
RDListLogs::RDListLogs(QString *logname,const QString &stationname,
|
RDListLogs::RDListLogs(QString *logname,const QString &stationname,
|
||||||
QWidget *parent,RDUser *rduser)
|
QWidget *parent)
|
||||||
: QDialog(parent,"",true)
|
: QDialog(parent,"",true)
|
||||||
{
|
{
|
||||||
list_stationname=stationname;
|
list_stationname=stationname;
|
||||||
list_logname=logname;
|
list_logname=logname;
|
||||||
list_user=rduser;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Fix the Window Size
|
// Fix the Window Size
|
||||||
@ -45,12 +45,7 @@ RDListLogs::RDListLogs(QString *logname,const QString &stationname,
|
|||||||
QFont button_font("Helvetica",12,QFont::Bold);
|
QFont button_font("Helvetica",12,QFont::Bold);
|
||||||
button_font.setPixelSize(12);
|
button_font.setPixelSize(12);
|
||||||
|
|
||||||
if (list_user != 0) { // RDStation::UserSec
|
setCaption(tr("Select Log"));
|
||||||
setCaption(QString().sprintf("%s%s",(const char *)tr("Select Log - User: "),
|
|
||||||
(const char *)list_user->name() ));
|
|
||||||
} else { // RDStation::HostSec
|
|
||||||
setCaption(tr("Select Log"));
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Log List
|
// Log List
|
||||||
@ -147,18 +142,14 @@ void RDListLogs::RefreshList()
|
|||||||
|
|
||||||
list_log_list->clear();
|
list_log_list->clear();
|
||||||
|
|
||||||
if (list_user != 0) { // RDStation::UserSec
|
sql=QString("select ")+
|
||||||
services_list = list_user->services();
|
"SERVICE_NAME from SERVICE_PERMS where "+
|
||||||
} else { // RDStation::HostSec
|
"STATION_NAME=\""+RDEscapeString(list_stationname)+"\"";
|
||||||
sql=QString().sprintf("select SERVICE_NAME from SERVICE_PERMS \
|
q=new RDSqlQuery(sql);
|
||||||
where STATION_NAME=\"%s\"",
|
while(q->next()) {
|
||||||
(const char *)list_stationname);
|
services_list.append( q->value(0).toString() );
|
||||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
|
||||||
while(q->next()) {
|
|
||||||
services_list.append( q->value(0).toString() );
|
|
||||||
}
|
|
||||||
delete q;
|
|
||||||
}
|
}
|
||||||
|
delete q;
|
||||||
|
|
||||||
if(services_list.size()==0) {
|
if(services_list.size()==0) {
|
||||||
return;
|
return;
|
||||||
|
@ -30,21 +30,13 @@
|
|||||||
#include <qdialog.h>
|
#include <qdialog.h>
|
||||||
#include <qlistview.h>
|
#include <qlistview.h>
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
#include <rduser.h>
|
|
||||||
|
|
||||||
class RDListLogs : public QDialog
|
class RDListLogs : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
RDListLogs(QString *logname,const QString &stationname,QWidget *parent=0);
|
||||||
* Constructor for the RDListLogs object.
|
|
||||||
*
|
|
||||||
* NOTE: the presence of the optional rduser parameter is used to flag if
|
|
||||||
* user security should be used instead of host based security.
|
|
||||||
*/
|
|
||||||
RDListLogs(QString *logname,const QString &stationname,
|
|
||||||
QWidget *parent=0,RDUser *rduser=0);
|
|
||||||
QSize sizeHint() const;
|
QSize sizeHint() const;
|
||||||
QSizePolicy sizePolicy() const;
|
QSizePolicy sizePolicy() const;
|
||||||
|
|
||||||
@ -59,7 +51,6 @@ class RDListLogs : public QDialog
|
|||||||
QListView *list_log_list;
|
QListView *list_log_list;
|
||||||
QString *list_logname;
|
QString *list_logname;
|
||||||
QString list_stationname;
|
QString list_stationname;
|
||||||
RDUser *list_user;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -1000,7 +1000,7 @@ void EditRDAirPlay::selectData()
|
|||||||
{
|
{
|
||||||
QString logname=air_startlog_edit->text();
|
QString logname=air_startlog_edit->text();
|
||||||
|
|
||||||
RDListLogs *ll=new RDListLogs(&logname,air_conf->station(),this,admin_user);
|
RDListLogs *ll=new RDListLogs(&logname,air_conf->station(),this);
|
||||||
if(ll->exec()==0) {
|
if(ll->exec()==0) {
|
||||||
air_startlog_edit->setText(logname);
|
air_startlog_edit->setText(logname);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user