Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bring branch alexey-dev-issue367 (data-from-disk integration) to the latest master state #149

Merged
merged 44 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
b4ac7ca
GMP: REPORTING -- mods for ussue 357 on how to treat the report, gmp …
alexsav815 Sep 6, 2024
4d7c604
GMP : FAILED run reinitialization -- create a fresh 'status' record t…
alexsav815 Sep 26, 2024
41c6905
GMP, Reportign & e-Signing : fix for bad filenames for combined RI+IP…
alexsav815 Sep 29, 2024
56fdbf6
us_archive: initialized
samo38 Sep 30, 2024
623b004
us_legacy_converter: use us_Archive to extarct zip files
samo38 Sep 30, 2024
e96479c
us_archive: add US_UTIL_EXTERN to the header file
samo38 Sep 30, 2024
401e397
us_legacy_converter: clean the header file
samo38 Oct 1, 2024
2449915
us_archive: add the compress function and merge the extract_entry and…
samo38 Oct 1, 2024
4622492
us_archive: finished writing the static fucntions and theirs docs
samo38 Oct 1, 2024
8be9a64
us_archive: change it from using static functions to object oriented.
samo38 Oct 2, 2024
8927fa0
issue 358 - license updates
demeler Oct 2, 2024
bf16431
Merge pull request #1 from ehb54/master
demeler Oct 2, 2024
15eb336
us_archive: add the extract(const QString&, const QString&) function.…
samo38 Oct 2, 2024
61e26bc
us_legacy_converter: used the latest version of the US_Archive. Show …
samo38 Oct 2, 2024
ab22ea6
Merge pull request #134 from demeler/358-enhancement-information-need…
doluk Oct 3, 2024
d8e2ff4
Force old informations to n/a
doluk Oct 3, 2024
9be1dbb
Merge pull request #135 from ehb54/358-enhancement-information-needed…
demeler Oct 3, 2024
f7f56c7
us_archive: complete extract and compress functions to support relati…
samo38 Oct 4, 2024
d76493b
edit docker files to support libarchive
samo38 Oct 4, 2024
bc28ebc
add apt-get install -y libarchive to the github codeql workflow
samo38 Oct 6, 2024
f94580f
Merge pull request #136 from samo38/docker_update
ehb54 Oct 6, 2024
f91ca5b
codeql-analysis: add libarchive to analyze-gui, analyze-somo
samo38 Oct 7, 2024
c11cb7e
removed libarchive from somo codeql workflow
samo38 Oct 7, 2024
2b6fc69
Merge pull request #137 from samo38/us_archive
ehb54 Oct 8, 2024
f92b0c1
for issue 557...
alexsav815 Oct 11, 2024
20cbbc9
Merge pull request #132 from ehb54/alexey-dev-issue357
demeler Oct 11, 2024
5dcdee9
Merge pull request #140 from ehb54/master
alexsav815 Oct 13, 2024
0bea2c3
GMP & ProtocolDev : additions to issue #365; some other related 4bugs…
alexsav815 Oct 13, 2024
11c2429
Merge pull request #141 from ehb54/alexey-dev-issue365
demeler Oct 13, 2024
0c2054f
GMP : UTC time in report -- except header, real changes are in SQL (t…
alexsav815 Oct 17, 2024
c1b74a8
GMP : UTC time in e-signer, audit_trail -- all times in .pdf(s) & GUI…
alexsav815 Oct 18, 2024
9aa691f
Update email to use Montana addresses
aaron-auc Oct 20, 2024
adc6c23
fix accent mark
aaron-auc Oct 20, 2024
df2ef24
Merge pull request #144 from ehb54/370-request-email-address-maintenance
ehb54 Oct 22, 2024
9f0b603
GMP : Reporting Averages over Replicates for all Optics types -- atte…
alexsav815 Oct 22, 2024
6cc8140
[fix 1 for -- ] GMP : Reporting Averages over Replicates for all Opti…
alexsav815 Oct 22, 2024
b42bbe5
[fix 2 plu debugs for -- ] GMP : Reporting Averages over Replicates f…
alexsav815 Oct 22, 2024
24e7c8d
[fix 3 plu debugs for -- ] GMP : Reporting Averages over Replicates f…
alexsav815 Oct 22, 2024
9c0235f
[fix 4a plu debugs for -- ] GMP : Reporting Averages over Replicates …
alexsav815 Oct 22, 2024
6c7123e
GMP : C(s) ranges for indiv. distribs.....
alexsav815 Oct 29, 2024
f72d501
GMP : C(s) ranges for indiv. distribs; passed Aprofile params for min…
alexsav815 Oct 29, 2024
3d1aaee
Merge pull request #146 from ehb54/alexey-dev-issue376
demeler Oct 31, 2024
fc29374
Merge pull request #147 from ehb54/alexey-dev-issue359
demeler Oct 31, 2024
6e2a7f7
Merge pull request #148 from ehb54/alexey-dev-issue368
demeler Oct 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install libarchive
run: |
apt-get install -y libarchive-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down Expand Up @@ -83,6 +86,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install libarchive
run: |
apt-get install -y libarchive-dev
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
UltraScan is licensed under the LGPL v3 license.

Copyright © Borries Demeler, Ph.D.
The University of Texas
****************************************************************************************
***************************************************************************************

GNU LESSER GENERAL PUBLIC LICENSE

Expand Down
1 change: 1 addition & 0 deletions admin/codeql/docker/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN apt-get install -y xorg
RUN apt-get install -y x11-apps
RUN apt-get install -y telnet
RUN apt-get install -y cmake
RUN apt-get install -y libarchive-dev

# qt
RUN apt-get install -y qtbase5-dev
Expand Down
1 change: 1 addition & 0 deletions admin/codeql/docker/dockerdev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN apt-get install -y xorg
RUN apt-get install -y x11-apps
RUN apt-get install -y telnet
RUN apt-get install -y cmake
RUN apt-get install -y libarchive-dev

# qt
RUN apt-get install -y qtbase5-dev
Expand Down
1 change: 1 addition & 0 deletions admin/release/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ RUN yum install -y telnet
RUN yum install -y $apt_python_version
RUN yum install -y rsync
RUN yum install -y glib2-devel postgresql-devel at-spi2-core-devel libjpeg-devel fontconfig-devel
RUN yum install -y libarchive-devel

# bits to ease development/testing

Expand Down
1 change: 1 addition & 0 deletions admin/release/redhat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ RUN dnf install -y telnet
RUN dnf install -y $apt_python_version
RUN dnf install -y rsync
RUN dnf install -y glib2-devel postgresql-devel at-spi2-core-devel libjpeg-devel fontconfig-devel
RUN dnf install -y libarchive-devel

# bits to ease development/testing

Expand Down
1 change: 1 addition & 0 deletions admin/release/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ RUN apt-get install -y x11-apps
RUN apt-get install -y telnet
RUN apt-get install -y $apt_python_version
RUN apt-get install -y rsync
RUN apt-get install -y libarchive-dev

# bits to ease development/testing

Expand Down
22 changes: 8 additions & 14 deletions alpha/us.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,11 +627,11 @@ void US_Win::help( int index )

" * Nikolay Dokholyan\n"
" * Jose Garcia de la Torre\n"
" * Haram Kim\n"
" * Minji Kim\n"
" * Haram Kim\n"
" * Minji Kim\n"
" * Brad Langford\n"
" * Thomas Laue\n"
" * Konrad L�hr\n"
" * Konrad Löhr\n"
" * Luitgard Nagel-Steger\n"
" * Zach Ozer\n"
" * Karel Planken\n"
Expand All @@ -652,18 +652,12 @@ void US_Win::help( int index )
tr( "About UltraScan..." ),
tr( "UltraScan III version %1 (DEVELOPMENT)\n"
"%2\n"
"Copyright 1989 - 2018\n"
"Borries Demeler and the University of Texas System\n\n"
"Copyright 1989 - 2024\n"
"Borries Demeler\n\n"
"For more information, please visit:\n"
"http://www.ultrascan.uthscsa.edu/\n\n"
"http://www.ultrascan.aucsolutions.com/\n\n"
"The author can be reached at:\n"
"The University of Texas Health Science Center\n"
"Department of Biochemistry\n"
"7703 Floyd Curl Drive\n"
"San Antonio, Texas 78229-3900\n"
"voice: (210) 767-3332\n"
"Fax: (210) 567-6595\n"
"E-mail: [email protected]" ).arg( US_Version ).arg( REVISION ) );
"E-mail: [email protected]" ).arg( US_Version ).arg( REVISION ) );

statusBar()->showMessage( tr( "Ready" ) );
break;
Expand Down Expand Up @@ -740,7 +734,7 @@ bool US_Win::notice_check()
// Query notice table in the us3_notice database
US_Passwd pw;
US_DB2 db;
QString host ( "uslims3.uthscsa.edu" );
QString host ( "uslims3.aucsolutions.edu" );
QString dbname( "us3_notice" );
QString user ( "us3_notice" );
QString passwd( "us3_notice" );
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/advanced_config.body
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
in an advanced mode. Certain applications can benefit from use of more
than one thread. These variations are governed by the configuration values
that are set in this panel. Actual values should be set only under the
guidance of UTHSCSA software developers, since meanings of settings vary
guidance of software developers, since meanings of settings vary
considerably from application to application.</p>

<p class='center'> <img src="images/advanced_config.png" alt='Advanced
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/convert.body
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
channels us_convert would convert that into three binary AUC
files, which can then be uploaded to an UltraScan III database
and prepared for analysis. The AUC file format is described <a
href='http://wiki.bcf2.uthscsa.edu/ultrascan3/wiki/Us3Formats'>here</a>.
href='http://wiki.aucsolutions.com/ultrascan3/wiki/Us3Formats'>here</a>.
</p>

<p class='center'><img src="images/convert.png"
Expand Down
15 changes: 4 additions & 11 deletions doc/manual/ultrascan3.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
UltraScan III

Copyright 1989 - 2021
Copyright 1989 - 2024

Copyright � 1989?2021 Borries Demeler, Ph.D.
Copyright � 1997?2021 The University of Texas Health Science Center at San Antonio
Copyright � 1989?2021 Borries Demeler, Ph.D.
All rights reserved.

UltraScan is free software; you can redistribute it and/or modify it under the
Expand All @@ -12,14 +11,8 @@ Foundation; either version 3 of the License, or (at your option) any later
version.

For more information, please visit:
http://www.ultrascan.uthscsa.edu/
http://www.ultrascan.aucsolutions.com/

The author can be reached at:

The University of Texas Health Science Center
Department of Biochemistry
7703 Floyd Curl Drive
San Antonio, Texas 78229-3900
voice: (210) 567-6592
Fax: (210) 567-6595
E-mail: [email protected]
E-mail: [email protected]
76 changes: 18 additions & 58 deletions gui/us_license.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ US_License::US_License( QWidget* parent, Qt::WindowFlags flags )

// Banner
QLabel* banner = us_banner(
tr( "UltraScan III Registration\nPlease enter all fields" ) );
tr( "Please enter all fields" ) );

banner->setGeometry(
QRect( xpos, ypos, width, spacing + 2 * rowHeight ) );
QRect( xpos, ypos, width, spacing + rowHeight ) );

// Row 1 - Name
ypos += rowHeight * 3 + spacing;
ypos += rowHeight + 2 * spacing;

QLabel* firstname = us_label( tr( "Name (first, last):" ), 0, QFont::Bold );
firstname->setGeometry( xpos, ypos, buttonw, rowHeight );
Expand Down Expand Up @@ -85,20 +85,6 @@ US_License::US_License( QWidget* parent, Qt::WindowFlags flags )
connect( le_institution, SIGNAL( textChanged ( const QString& ) ),
SLOT ( update_institution( const QString& ) ) );

// Row 4 - Address
xpos = spacing;
ypos += rowHeight + spacing;

QLabel* address = us_label( tr( "Address:" ), 0, QFont::Bold );
address->setGeometry( xpos, ypos, buttonw, rowHeight );

xpos += buttonw + spacing;

le_address = us_lineedit( "" );
le_address->setGeometry( xpos, ypos, full_buttonw, rowHeight );
connect( le_address, SIGNAL( textChanged ( const QString& ) ),
SLOT ( update_address( const QString& ) ) );

// Row 5 - City/State/Zip
xpos = spacing;
ypos += rowHeight + spacing;
Expand Down Expand Up @@ -139,31 +125,12 @@ US_License::US_License( QWidget* parent, Qt::WindowFlags flags )

xpos += mediumColumn + spacing + 10; // Adjust

QLabel* zip = us_label( tr( "Zip:" ), 0, QFont::Bold );
zip->setGeometry( xpos, ypos, smallColumn, rowHeight );

xpos += smallColumn + spacing;

le_zip = us_lineedit( "" );
le_zip->setGeometry( xpos, ypos, mediumColumn, rowHeight );
connect( le_zip, SIGNAL( textChanged( const QString& ) ),
SLOT ( update_zip ( const QString& ) ) );

// Row 6 - Phone/License Type/Version
xpos = spacing;
ypos += rowHeight + spacing;
//xpos = spacing;
// ypos += rowHeight + spacing;

QLabel* phone = us_label( tr( "Phone Number:" ), 0, QFont::Bold );
phone->setGeometry( xpos, ypos, buttonw, rowHeight );

xpos += spacing + buttonw;
// xpos += spacing + buttonw;

le_phone = us_lineedit( "" );;
le_phone->setGeometry( xpos, ypos, buttonw, rowHeight );
connect( le_phone, SIGNAL( textChanged ( const QString& ) ),
SLOT ( update_phone( const QString& ) ) );

xpos += buttonw + spacing;
// xpos += buttonw + spacing;

QLabel* lb_licensetype = us_label( tr( "License:" ), 0, QFont::Bold );
lb_licensetype->setGeometry( xpos, ypos, smallColumn, rowHeight );
Expand All @@ -179,13 +146,8 @@ US_License::US_License( QWidget* parent, Qt::WindowFlags flags )
connect( cbb_licensetype, SIGNAL( currentIndexChanged( const QString& ) ),
SLOT ( update_licensetype ( const QString& ) ) );

xpos += mediumColumn + spacing + 10; // Adjust

lbl_version = us_label( tr( "Version:" ), 0, QFont::Bold );
lbl_version->setGeometry( xpos, ypos, smallColumn, rowHeight );

xpos = spacing;
ypos += 2 * rowHeight + spacing;
ypos += rowHeight + spacing;

QLabel* status = us_banner( tr( "License Status" ) );
status->setGeometry( QRect( xpos, ypos, width, spacing + rowHeight ) );
Expand All @@ -211,7 +173,7 @@ US_License::US_License( QWidget* parent, Qt::WindowFlags flags )

// Row 8 - Expiration
xpos = spacing;
ypos += rowHeight + 2 * spacing;
ypos += rowHeight + spacing;

lbl_expiration = us_label( "Expiration:", 0, QFont::Bold );
lbl_expiration->setGeometry( xpos, ypos, buttonw, rowHeight );
Expand All @@ -225,7 +187,7 @@ US_License::US_License( QWidget* parent, Qt::WindowFlags flags )

// Row 9 - Version
xpos = spacing;
ypos += rowHeight + 2 * spacing;
ypos += rowHeight + spacing;

lbl_valid = us_label( "UltraScan III Version:", 0, QFont::Bold );
lbl_valid->setGeometry( xpos, ypos, buttonw, rowHeight );
Expand Down Expand Up @@ -313,11 +275,11 @@ void US_License::load_current( void )
lastname = "";
firstname = "";
institution = "";
address = "";
address = "n/a";
city = "";
state = "NON-US";
zip = "";
phone = "";
zip = "n/a";
phone = "n/a";
email = "";
version = US_Version; // us_defines.h
validation = "";
Expand Down Expand Up @@ -349,6 +311,10 @@ void US_License::load_current( void )
validation = license [ 12 ];
expiration = license [ 13 ];
}
// Force unused fields to "n/a"
address = "n/a";
zip = "n/a";
phone = "n/a";

update_screen();
}
Expand All @@ -358,10 +324,7 @@ void US_License::update_screen( void )
le_firstname ->setText( firstname );
le_lastname ->setText( lastname );
le_institution ->setText( institution );
le_address ->setText( address );
le_city ->setText( city );
le_zip ->setText( zip );
le_phone ->setText( phone );
le_email ->setText( email );

le_platform ->setText( platform + " / " + os );
Expand Down Expand Up @@ -431,10 +394,7 @@ void US_License::update( void )
if ( firstname == "" ||
lastname == "" ||
institution == "" ||
address == "" ||
state == "" ||
zip == "" ||
phone == "" ||
email == "" )
{
QMessageBox::information ( this,
Expand Down Expand Up @@ -493,7 +453,7 @@ void US_License::update( void )
+ "&licensetype=" + licensetype;
//qDebug() << "requesting update";
// Send request
QString url = "https://ultrascan.aucsolutions.com/update-license.php";
QString url = "https://ultrascan.aucsolutions.com/update-license-new.php";
US_HttpPost* transmit = new US_HttpPost( url, req );
connect( transmit, SIGNAL( US_Http_post_response( const QString& ) ),
this, SLOT ( update_response ( const QString& ) ) );
Expand Down
6 changes: 0 additions & 6 deletions gui/us_license.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ class US_GUI_EXTERN US_License : public US_Widgets
QLineEdit* le_firstname;
QLineEdit* le_lastname;
QLineEdit* le_institution;
QLineEdit* le_address;
QLineEdit* le_city;
QLineEdit* le_zip;
QLineEdit* le_phone;
QLineEdit* le_email;
QLineEdit* le_platform;
QLineEdit* le_expiration;
Expand Down Expand Up @@ -114,11 +111,8 @@ class US_GUI_EXTERN US_License : public US_Widgets
void update_firstname ( const QString& s ){ firstname = trim( s ); };
void update_lastname ( const QString& s ){ lastname = trim( s ); };
void update_institution( const QString& s ){ institution = trim( s ); };
void update_address ( const QString& s ){ address = trim( s ); };
void update_city ( const QString& s ){ city = trim( s ); };
void update_state ( const QString& s ){ state = trim( s ); };
void update_zip ( const QString& s ){ zip = trim( s ); };
void update_phone ( const QString& s ){ phone = trim( s ); };
void update_email ( const QString& s ){ email = trim( s ); };
void update_licensetype( const QString& s ){ licensetype = trim( s ); };
};
Expand Down
3 changes: 3 additions & 0 deletions library.pri
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ unix {
INCLUDEPATH += $$MYSQLPATH
}
DEFINES += INTEL LINUX
LIBS += -larchive

}

Expand All @@ -44,6 +45,7 @@ win32 {
LIBS += $$MINGWDIR/lib/libws2_32.a $$MINGWDIR/lib/libadvapi32.a
LIBS += $$MINGWDIR/lib/libgdi32.a $$MINGWDIR/lib/libuser32.a
LIBS += $$MINGWDIR/lib/libkernel32.a $$MINGWDIR/lib/libpsapi.a
LIBS += -larchive

#QMAKE_LFLAGS += /IMPLIB:../lib/$${TARGET}.a /MACHINE:X86 /INCREMENTAL:NO
#QMAKE_CXXFLAGS_DEBUG += /wd4996
Expand All @@ -58,5 +60,6 @@ macx {
INCLUDEPATH += ../gui ../utils $$QWTPATH/include ../mysql/include
DEFINES += MAC OSX
LIBS += $$QWTLIB
LIBS += -larchive
}

10 changes: 2 additions & 8 deletions programs/us/us_de_DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,10 @@ Copyright 1989 - 2008
Borries Demeler and the University of Texas System

For more information, please visit:
http://www.ultrascan.uthscsa.edu/
http://www.ultrascan.aucsolutions.com/

The author can be reached at:
The University of Texas Health Science Center
Department of Biochemistry
7703 Floyd Curl Drive
San Antonio, Texas 78229-3900
voice: (210) 567-6592
Fax: (210) 567-6595
E-mail: [email protected]</source>
E-mail: [email protected]</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down
Loading