not1mm 25.1.27.4__py3-none-any.whl → 25.1.29__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
not1mm/bandmap.py CHANGED
@@ -814,6 +814,7 @@ class BandMapWindow(QDockWidget):
814
814
  """Process waiting bytes"""
815
815
  while self.socket.bytesAvailable():
816
816
  data = self.socket.readLine(1000)
817
+
817
818
  try:
818
819
  data = str(data, "utf-8").strip()
819
820
  except UnicodeDecodeError:
@@ -821,14 +822,15 @@ class BandMapWindow(QDockWidget):
821
822
 
822
823
  if "login:" in data or "call:" in data or "callsign:" in data:
823
824
  self.send_command(self.callsignField.text())
824
- self.send_command(self.settings.get("cluster_filter", ""))
825
- self.send_command("set dx extension Section")
826
- self.send_command(
827
- "set dx mode " + self.settings.get("cluster_mode", "OPEN")
828
- )
829
825
  return
826
+
827
+ if "password:" in data:
828
+ self.send_command(self.settings.get("cluster_password", ""))
829
+ return
830
+
830
831
  if "BEACON" in data:
831
832
  return
833
+
832
834
  if "DX de" in data:
833
835
  parts = data.split()
834
836
  spotter = parts[2]
@@ -848,8 +850,14 @@ class BandMapWindow(QDockWidget):
848
850
  except ValueError:
849
851
  logger.debug(f"couldn't parse freq from datablock {data}")
850
852
  return
851
- if self.callsignField.text().upper() in data:
853
+
854
+ if "HELLO" in data.upper():
852
855
  self.connectButton.setText("Connected")
856
+ self.send_command(self.settings.get("cluster_filter", ""))
857
+ self.send_command("set dx extension Section")
858
+ self.send_command(
859
+ "set dx mode " + self.settings.get("cluster_mode", "OPEN")
860
+ )
853
861
  logger.debug(f"callsign login acknowledged {data}")
854
862
 
855
863
  def maybeconnected(self) -> None:
@@ -806,20 +806,27 @@
806
806
  <string>Cluster</string>
807
807
  </attribute>
808
808
  <layout class="QGridLayout" name="gridLayout_5">
809
- <item row="5" column="0">
810
- <spacer name="horizontalSpacer_7">
811
- <property name="orientation">
812
- <enum>Qt::Horizontal</enum>
809
+ <item row="2" column="1" colspan="2">
810
+ <widget class="QLineEdit" name="cluster_port_field">
811
+ <property name="accessibleName">
812
+ <string>port</string>
813
813
  </property>
814
- <property name="sizeHint" stdset="0">
815
- <size>
816
- <width>40</width>
817
- <height>20</height>
818
- </size>
814
+ <property name="accessibleDescription">
815
+ <string>network port of the d x cluster server.</string>
819
816
  </property>
820
- </spacer>
817
+ </widget>
821
818
  </item>
822
- <item row="6" column="1">
819
+ <item row="4" column="1" colspan="5">
820
+ <widget class="QLineEdit" name="cluster_filter">
821
+ <property name="accessibleName">
822
+ <string>filter</string>
823
+ </property>
824
+ <property name="accessibleDescription">
825
+ <string>cluster filter.</string>
826
+ </property>
827
+ </widget>
828
+ </item>
829
+ <item row="7" column="1">
823
830
  <spacer name="verticalSpacer_7">
824
831
  <property name="orientation">
825
832
  <enum>Qt::Vertical</enum>
@@ -832,21 +839,18 @@
832
839
  </property>
833
840
  </spacer>
834
841
  </item>
835
- <item row="5" column="4">
836
- <spacer name="horizontalSpacer_11">
837
- <property name="orientation">
838
- <enum>Qt::Horizontal</enum>
842
+ <item row="2" column="0">
843
+ <widget class="QLabel" name="label_8">
844
+ <property name="text">
845
+ <string>Port:</string>
839
846
  </property>
840
- <property name="sizeHint" stdset="0">
841
- <size>
842
- <width>40</width>
843
- <height>20</height>
844
- </size>
847
+ <property name="alignment">
848
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
845
849
  </property>
846
- </spacer>
850
+ </widget>
847
851
  </item>
848
- <item row="5" column="3">
849
- <spacer name="horizontalSpacer_9">
852
+ <item row="6" column="0">
853
+ <spacer name="horizontalSpacer_7">
850
854
  <property name="orientation">
851
855
  <enum>Qt::Horizontal</enum>
852
856
  </property>
@@ -858,21 +862,21 @@
858
862
  </property>
859
863
  </spacer>
860
864
  </item>
861
- <item row="5" column="5">
862
- <spacer name="horizontalSpacer_10">
865
+ <item row="0" column="1">
866
+ <spacer name="verticalSpacer_6">
863
867
  <property name="orientation">
864
- <enum>Qt::Horizontal</enum>
868
+ <enum>Qt::Vertical</enum>
865
869
  </property>
866
870
  <property name="sizeHint" stdset="0">
867
871
  <size>
868
- <width>40</width>
869
- <height>20</height>
872
+ <width>20</width>
873
+ <height>40</height>
870
874
  </size>
871
875
  </property>
872
876
  </spacer>
873
877
  </item>
874
- <item row="5" column="1">
875
- <spacer name="horizontalSpacer_8">
878
+ <item row="6" column="5">
879
+ <spacer name="horizontalSpacer_10">
876
880
  <property name="orientation">
877
881
  <enum>Qt::Horizontal</enum>
878
882
  </property>
@@ -884,48 +888,51 @@
884
888
  </property>
885
889
  </spacer>
886
890
  </item>
887
- <item row="0" column="1">
888
- <spacer name="verticalSpacer_6">
889
- <property name="orientation">
890
- <enum>Qt::Vertical</enum>
891
- </property>
892
- <property name="sizeHint" stdset="0">
893
- <size>
894
- <width>20</width>
895
- <height>40</height>
896
- </size>
897
- </property>
898
- </spacer>
899
- </item>
900
891
  <item row="4" column="0">
901
- <widget class="QLabel" name="label_21">
892
+ <widget class="QLabel" name="label_20">
902
893
  <property name="text">
903
- <string>Mode:</string>
894
+ <string>Filter:</string>
904
895
  </property>
905
896
  <property name="alignment">
906
897
  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
907
898
  </property>
908
899
  </widget>
909
900
  </item>
910
- <item row="3" column="0">
911
- <widget class="QLabel" name="label_20">
901
+ <item row="5" column="0">
902
+ <widget class="QLabel" name="label_21">
912
903
  <property name="text">
913
- <string>Filter:</string>
904
+ <string>Mode:</string>
914
905
  </property>
915
906
  <property name="alignment">
916
907
  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
917
908
  </property>
918
909
  </widget>
919
910
  </item>
920
- <item row="2" column="0">
921
- <widget class="QLabel" name="label_8">
922
- <property name="text">
923
- <string>Port:</string>
911
+ <item row="6" column="3">
912
+ <spacer name="horizontalSpacer_9">
913
+ <property name="orientation">
914
+ <enum>Qt::Horizontal</enum>
924
915
  </property>
925
- <property name="alignment">
926
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
916
+ <property name="sizeHint" stdset="0">
917
+ <size>
918
+ <width>40</width>
919
+ <height>20</height>
920
+ </size>
927
921
  </property>
928
- </widget>
922
+ </spacer>
923
+ </item>
924
+ <item row="6" column="1">
925
+ <spacer name="horizontalSpacer_8">
926
+ <property name="orientation">
927
+ <enum>Qt::Horizontal</enum>
928
+ </property>
929
+ <property name="sizeHint" stdset="0">
930
+ <size>
931
+ <width>40</width>
932
+ <height>20</height>
933
+ </size>
934
+ </property>
935
+ </spacer>
929
936
  </item>
930
937
  <item row="1" column="0">
931
938
  <widget class="QLabel" name="label_5">
@@ -937,27 +944,20 @@
937
944
  </property>
938
945
  </widget>
939
946
  </item>
940
- <item row="1" column="1" colspan="5">
941
- <widget class="QLineEdit" name="cluster_server_field">
942
- <property name="accessibleName">
943
- <string>server</string>
944
- </property>
945
- <property name="accessibleDescription">
946
- <string>address of d x cluster server.</string>
947
- </property>
948
- </widget>
949
- </item>
950
- <item row="3" column="1" colspan="5">
951
- <widget class="QLineEdit" name="cluster_filter">
952
- <property name="accessibleName">
953
- <string>filter</string>
947
+ <item row="6" column="4">
948
+ <spacer name="horizontalSpacer_11">
949
+ <property name="orientation">
950
+ <enum>Qt::Horizontal</enum>
954
951
  </property>
955
- <property name="accessibleDescription">
956
- <string>cluster filter.</string>
952
+ <property name="sizeHint" stdset="0">
953
+ <size>
954
+ <width>40</width>
955
+ <height>20</height>
956
+ </size>
957
957
  </property>
958
- </widget>
958
+ </spacer>
959
959
  </item>
960
- <item row="4" column="1" colspan="2">
960
+ <item row="5" column="1" colspan="2">
961
961
  <widget class="QComboBox" name="cluster_mode">
962
962
  <property name="accessibleName">
963
963
  <string>mode</string>
@@ -977,13 +977,33 @@
977
977
  </item>
978
978
  </widget>
979
979
  </item>
980
- <item row="2" column="1" colspan="2">
981
- <widget class="QLineEdit" name="cluster_port_field">
980
+ <item row="1" column="1" colspan="5">
981
+ <widget class="QLineEdit" name="cluster_server_field">
982
982
  <property name="accessibleName">
983
- <string>port</string>
983
+ <string>server</string>
984
984
  </property>
985
985
  <property name="accessibleDescription">
986
- <string>network port of the d x cluster server.</string>
986
+ <string>address of d x cluster server.</string>
987
+ </property>
988
+ </widget>
989
+ </item>
990
+ <item row="3" column="0">
991
+ <widget class="QLabel" name="label_29">
992
+ <property name="text">
993
+ <string>Password:</string>
994
+ </property>
995
+ <property name="alignment">
996
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
997
+ </property>
998
+ </widget>
999
+ </item>
1000
+ <item row="3" column="1">
1001
+ <widget class="QLineEdit" name="cluster_password_field">
1002
+ <property name="echoMode">
1003
+ <enum>QLineEdit::EchoMode::Password</enum>
1004
+ </property>
1005
+ <property name="placeholderText">
1006
+ <string>Only If Needed</string>
987
1007
  </property>
988
1008
  </widget>
989
1009
  </item>
@@ -1613,7 +1633,7 @@
1613
1633
  <rect>
1614
1634
  <x>5</x>
1615
1635
  <y>25</y>
1616
- <width>636</width>
1636
+ <width>639</width>
1617
1637
  <height>376</height>
1618
1638
  </rect>
1619
1639
  </property>
not1mm/lib/settings.py CHANGED
@@ -164,11 +164,15 @@ class Settings(QtWidgets.QDialog):
164
164
  str(self.preference.get("cluster_server", "dxc.nc7j.com"))
165
165
  )
166
166
  self.cluster_port_field.setText(str(self.preference.get("cluster_port", 7373)))
167
+ self.cluster_password_field.setText(
168
+ str(self.preference.get("cluster_password", ""))
169
+ )
167
170
  self.cluster_filter.setText(self.preference.get("cluster_filter", ""))
168
171
  value = self.preference.get("cluster_mode", "")
169
172
  index = self.cluster_mode.findText(value)
170
173
  if index != -1:
171
174
  self.cluster_mode.setCurrentIndex(index)
175
+
172
176
  self.activate_160m.setChecked(bool("160" in self.preference.get("bands", [])))
173
177
  self.activate_80m.setChecked(bool("80" in self.preference.get("bands", [])))
174
178
  self.activate_60m.setChecked(bool("60" in self.preference.get("bands", [])))
@@ -277,7 +281,11 @@ class Settings(QtWidgets.QDialog):
277
281
  self.preference["n1mm_lookupport"] = self.n1mm_lookupport.text()
278
282
  self.preference["n1mm_scoreport"] = self.n1mm_scoreport.text()
279
283
  self.preference["cluster_server"] = self.cluster_server_field.text()
280
- self.preference["cluster_port"] = int(self.cluster_port_field.text())
284
+ try:
285
+ self.preference["cluster_port"] = int(self.cluster_port_field.text())
286
+ except:
287
+ ...
288
+ self.preference["cluster_password"] = self.cluster_password_field.text()
281
289
  self.preference["cluster_filter"] = self.cluster_filter.text()
282
290
  self.preference["cluster_mode"] = self.cluster_mode.currentText()
283
291
  bandlist = list()
not1mm/lib/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """It's the version"""
2
2
 
3
- __version__ = "25.1.27.4"
3
+ __version__ = "25.1.29"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: not1mm
3
- Version: 25.1.27.4
3
+ Version: 25.1.29
4
4
  Summary: NOT1MM Logger
5
5
  Author-email: Michael Bridak <michael.bridak@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/mbridak/not1mm
@@ -236,6 +236,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.
236
236
 
237
237
  ## Recent Changes
238
238
 
239
+ - [25-1-29] Add password field for cluster signin.
239
240
  - [25-1-27-3] Add ft8 adif parser to the general logger.
240
241
  - [25-1-27-1] Add LABRE-RS Digi
241
242
  - [25-1-27] Update pop up about updates...
@@ -1,6 +1,6 @@
1
1
  not1mm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  not1mm/__main__.py,sha256=g0o9K_koq2alfJffLvSYAEB_jjRetCfy1ZyjsSe6-vw,147224
3
- not1mm/bandmap.py,sha256=BpaR8ENrDJyyPBDeNiHrNYGPU6vRNMoCl2J8HBx4FtE,31137
3
+ not1mm/bandmap.py,sha256=vaOeqv_gW0-K0P3xA9JYcuiFILiKw601tjHQCwuoV-s,31260
4
4
  not1mm/checkwindow.py,sha256=VFAcKYTcoWhmIf91chwY6tyao9FQMWPiUkgDDkkWaog,9670
5
5
  not1mm/fsutils.py,sha256=ukHKxKTeNKxKwqRaJjtzRShL4X5Xl0jRBbADyy3Ifp8,1701
6
6
  not1mm/logwindow.py,sha256=TvpzQTNB92hISlUO3iWBqtlPmlebdhOkAArx0DNGcOs,43966
@@ -18,7 +18,7 @@ not1mm/data/alpha bravo charlie delta.txt,sha256=d5QMmSWEUAe4Rj1XbNjTPLa_5Be4Se6
18
18
  not1mm/data/bandmap.ui,sha256=rh9GHdBOIfrOmamR6zUZ15aJ4VDsX5mQoVuZs8bV8TI,8034
19
19
  not1mm/data/check.png,sha256=UvFOLr8V-79qnjW8wUaGItXk_OSP8m8hqPevs8NDlFY,387
20
20
  not1mm/data/checkwindow.ui,sha256=PRD98K0julJ9EfWqoE89dT8UPuPKQzGiWBk_efAko3o,5141
21
- not1mm/data/configuration.ui,sha256=VJv_uJp53mPK6YyVXOu0aRRtgrgFvIha_wX_7P4M9t0,72554
21
+ not1mm/data/configuration.ui,sha256=IvE0IkNdqznfo94qQHvJHQFwrYVxp-5aSbkvKnEesOQ,73234
22
22
  not1mm/data/contests.sql,sha256=4hmJCDvrbxnA_Y5S4T5o52TZieeFk6QUwFerwlFePNA,89307
23
23
  not1mm/data/cty.json,sha256=dPG9K1Pm4Rxd4uJom_gQ8y-sbqiZfILpl4kBAFnOveU,4877142
24
24
  not1mm/data/cwmacros.txt,sha256=NztufsX6R52gAO7VyJ2AHr7wOh41pJTwHKh5Lcs32ds,468
@@ -114,9 +114,9 @@ not1mm/lib/n1mm.py,sha256=H54mpgJF0GAmKavM-nb5OAq2SJFWYkux4eMWWiSRxJc,6288
114
114
  not1mm/lib/new_contest.py,sha256=IznTDMq7yXHB6zBoGUEC_WDYPCPpsSZW4wwMJi16zK0,816
115
115
  not1mm/lib/plugin_common.py,sha256=M5reDYM-v5IjAa2yTROvZTeTDkXYHb3U52W9mc9GxwA,13213
116
116
  not1mm/lib/select_contest.py,sha256=WsptLuwkouIHeocJL3oZ6-eUfEnhpwdc-x7eMZ_TIVM,359
117
- not1mm/lib/settings.py,sha256=j5lIMLHJ-eqIaVr_QhI82gkbOl17_C-5suRkWbHYET8,14717
117
+ not1mm/lib/settings.py,sha256=9xsf5MbjiPdELq7QtWTpkY-qPH442K3Uc8NVao57fSI,14964
118
118
  not1mm/lib/super_check_partial.py,sha256=hwT2NRwobu0PLDyw6ltmbmcAtGBD02CKGFbgGWjXMqA,2334
119
- not1mm/lib/version.py,sha256=-MqFFt7akWpxTXyweUCTaf5mthfhZx52lwmsD2LBaew,50
119
+ not1mm/lib/version.py,sha256=MqGntxoAGmOzNzEEaay0_uDA_SAhUe3g2GEGLUU96d4,48
120
120
  not1mm/lib/versiontest.py,sha256=8vDNptuBBunn-1IGkjNaquehqBYUJyjrPSF8Igmd4_Y,1286
121
121
  not1mm/plugins/10_10_fall_cw.py,sha256=5QUyGMvGBC-HxcY_z9QbfuxSg3f7p6C9K4qhTxgZE7k,14719
122
122
  not1mm/plugins/10_10_spring_cw.py,sha256=XjYFM263WYyG6nVQzPObW4YC7Z9L93rixSOcVsxPvH4,14722
@@ -166,9 +166,9 @@ not1mm/plugins/ref_ssb.py,sha256=Z_XmMpYKcI5dZh4TQqvQDcz-cLpMzpDEKBnb5iHeBLQ,215
166
166
  not1mm/plugins/stew_perry_topband.py,sha256=D1hekmMbx-i4BhaP2uzOK3OzaVVMMdgcN3RmfweNqHo,15341
167
167
  not1mm/plugins/weekly_rtty.py,sha256=rdlIrsxBeuj-RQc5OStVNF7sGCtBK5t6inN5Z7DI4tw,20066
168
168
  not1mm/plugins/winter_field_day.py,sha256=JK4r1vfxs7aADR7ZYbjZniz3f5s3_ipSQDZ0GRNWC7I,15222
169
- not1mm-25.1.27.4.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
170
- not1mm-25.1.27.4.dist-info/METADATA,sha256=8xHtejN4_fT7125J3WrgV0_cL7bU9NHpyDBJ41-Z7-w,36094
171
- not1mm-25.1.27.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
172
- not1mm-25.1.27.4.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
173
- not1mm-25.1.27.4.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
174
- not1mm-25.1.27.4.dist-info/RECORD,,
169
+ not1mm-25.1.29.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
170
+ not1mm-25.1.29.dist-info/METADATA,sha256=1od78yzIlRAfE8C38_Ff6gFzBTnpn8NI4s9iDwKogB0,36143
171
+ not1mm-25.1.29.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
172
+ not1mm-25.1.29.dist-info/entry_points.txt,sha256=pMcZk_0dxFgLkcUkF0Q874ojpwOmF3OL6EKw9LgvocM,47
173
+ not1mm-25.1.29.dist-info/top_level.txt,sha256=0YmTxEcDzQlzXub-lXASvoLpg_mt1c2thb5cVkDf5J4,7
174
+ not1mm-25.1.29.dist-info/RECORD,,