Revert "Lotw url fix"

pull/210/head
Peter Goodhall 2017-12-13 13:34:08 +00:00 zatwierdzone przez GitHub
rodzic 0759f5e2f2
commit 08686b535a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
4 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -126,14 +126,14 @@ class Lotw extends CI_Controller {
// Build URL for LoTW report file // Build URL for LoTW report file
$lotw_url .= "?"; $lotw_url .= "?";
$lotw_url .= "login=" . $data['user_lotw_name']; $lotw_url .= "login=" . $data['user_lotw_name'];
$lotw_url .= "&password=" . urlencode($data['user_lotw_password']); $lotw_url .= "&password=" . $data['user_lotw_password'];
$lotw_url .= "&qso_query=1&qso_qsl='yes'"; $lotw_url .= "&qso_query=1&qso_qsl='yes'";
//TODO: Option to specifiy whether we download location data from LoTW or not //TODO: Option to specifiy whether we download location data from LoTW or not
//$lotw_url .= "&qso_qsldetail=\"yes\"; //$lotw_url .= "&qso_qsldetail=\"yes\";
$lotw_url .= "&qso_qslsince="; $lotw_url .= "&qso_qslsince=";
$lotw_url .= urlencode("$lotw_last_qsl_date"); $lotw_url .= "$lotw_last_qsl_date";
// Only pull back entries that belong to this callsign // Only pull back entries that belong to this callsign
$lotw_call = $this->session->userdata('user_callsign'); $lotw_call = $this->session->userdata('user_callsign');

Wyświetl plik

@ -7,7 +7,7 @@
<tr> <tr>
<td><input type="radio" name="lotwimport" id="upload" value="upload" checked /> Upload a file</td> <td><input type="radio" name="lotwimport" id="upload" value="upload" checked /> Upload a file</td>
<td> <td>
<p>Upload the Exported ADIF file from LoTW from the <a href="https://lotw.arrl.org/lotwuser/qsos?qsoscmd=adif" target="_blank">Download Report</a> Area, to mark QSOs as confirmed on LOTW.</p> <p>Upload the Exported ADIF file from LoTW from the <a href="https://p1k.arrl.org/lotwuser/qsos?qsoscmd=adif" target="_blank">Download Report</a> Area, to mark QSOs as confirmed on LOTW.</p>
<p><span class="label important">Important</span> Log files must have the file type .adi</p> <p><span class="label important">Important</span> Log files must have the file type .adi</p>
<input type="file" name="userfile" size="20" /> <input type="file" name="userfile" size="20" />
</td> </td>

Wyświetl plik

@ -3805,6 +3805,6 @@ CREATE TABLE IF NOT EXISTS `config` (
-- --
INSERT INTO `config` (`id`, `lotw_download_url`, `lotw_upload_url`, `lotw_rcvd_mark`, `lotw_login_url`, `eqsl_download_url`, `eqsl_rcvd_mark`) VALUES INSERT INTO `config` (`id`, `lotw_download_url`, `lotw_upload_url`, `lotw_rcvd_mark`, `lotw_login_url`, `eqsl_download_url`, `eqsl_rcvd_mark`) VALUES
(1, 'https://lotw.arrl.org/lotwuser/lotwreport.adi', 'https://lotw.arrl.org/lotwuser/upload', 'Y', 'https://lotw.arrl.org/lotwuser/default', 'http://www.eqsl.cc/qslcard/DownloadInBox.cfm', 'Y'); (1, 'https://p1k.arrl.org/lotwuser/lotwreport.adi', 'https://p1k.arrl.org/lotwuser/upload', 'Y', 'https://p1k.arrl.org/lotwuser/default', 'http://www.eqsl.cc/qslcard/DownloadInBox.cfm', 'Y');
ALTER TABLE `cat` ADD `downlink_freq` INT(11) NOT NULL AFTER `mode`, ADD `uplink_freq` INT(11) NOT NULL AFTER `downlink_freq`, ADD `downlink_mode` VARCHAR(255) NOT NULL AFTER `uplink_freq`, ADD `uplink_mode` VARCHAR(255) NOT NULL AFTER `downlink_mode`, ADD `sat_name` VARCHAR(255) NOT NULL AFTER `uplink_mode`; ALTER TABLE `cat` ADD `downlink_freq` INT(11) NOT NULL AFTER `mode`, ADD `uplink_freq` INT(11) NOT NULL AFTER `downlink_freq`, ADD `downlink_mode` VARCHAR(255) NOT NULL AFTER `uplink_freq`, ADD `uplink_mode` VARCHAR(255) NOT NULL AFTER `downlink_mode`, ADD `sat_name` VARCHAR(255) NOT NULL AFTER `uplink_mode`;

Wyświetl plik

@ -42,7 +42,7 @@ CREATE TABLE IF NOT EXISTS `config` (
-- --
INSERT INTO `config` (`id`, `lotw_download_url`, `lotw_upload_url`, `lotw_rcvd_mark`, `lotw_login_url`, `eqsl_download_url`, `eqsl_rcvd_mark`) VALUES INSERT INTO `config` (`id`, `lotw_download_url`, `lotw_upload_url`, `lotw_rcvd_mark`, `lotw_login_url`, `eqsl_download_url`, `eqsl_rcvd_mark`) VALUES
(1, 'https://lotw.arrl.org/lotwuser/lotwreport.adi', 'https://lotw.arrl.org/lotwuser/upload', 'Y', 'https://lotw.arrl.org/lotwuser/default', 'http://www.eqsl.cc/qslcard/DownloadInBox.cfm', 'Y'); (1, 'https://p1k.arrl.org/lotwuser/lotwreport.adi', 'https://p1k.arrl.org/lotwuser/upload', 'Y', 'https://p1k.arrl.org/lotwuser/default', 'http://www.eqsl.cc/qslcard/DownloadInBox.cfm', 'Y');
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;