Wykres commitów

447 Commity (master)

Autor SHA1 Wiadomość Data
Christian T. Jacobs 8d8276ff33 Added tests for the Summary class. 2017-04-20 22:50:08 +01:00
Christian T. Jacobs 41acc8be30 Use new_log_name for consistency. 2017-04-15 01:37:52 +01:00
Christian T. Jacobs 39aa303959 Importing the modules required for the unit tests. 2017-04-15 01:19:44 +01:00
Christian T. Jacobs 3a5a1525a5 Moved all the unittests to a new directory called 'tests'. The command 'make test' now looks in the 'tests' directory. 2017-04-15 01:14:17 +01:00
Christian T. Jacobs 0953a2e431 Added log renaming test. 2017-04-15 01:08:40 +01:00
Christian T. Jacobs 64cb2b2c15 Comment updates. 2017-04-15 00:59:21 +01:00
Christian T. Jacobs 331d80a060 Create a new method called "rename" in the Log class. 2017-04-15 00:55:52 +01:00
Christian T. Jacobs 9a6a1a24ae Use a Gtk.Paned widget to allow the Toolbox to be resized. 2017-04-15 00:02:13 +01:00
Christian T. Jacobs c53c7ab9a3 Moved the blank/dummy page to blank.py 2017-04-14 23:14:27 +01:00
Christian T. Jacobs 68dfa0f9d6 Remove 'self' argument. 2017-04-14 22:22:52 +01:00
Christian T. Jacobs 7df20bd28b "find" -> "get". 2017-04-14 22:03:28 +01:00
Christian T. Jacobs 2a33f97505 Corrected rtypes. 2017-04-14 22:02:16 +01:00
Christian T. Jacobs 78033f9a01 Remove _ in front of methods for consistency reasons. 2017-04-14 21:45:59 +01:00
Christian T. Jacobs f122e3cfde More docstrings. 2017-04-14 21:38:42 +01:00
Christian T. Jacobs ae304e7fa9 Moving Summary page over to Glade. 2017-04-14 21:33:16 +01:00
Christian T. Jacobs 12ae7195f4 Moving code out of logbook.py into compare.py and summary.py. The functionality includes the Summary page and functions for comparing log records. 2017-04-14 19:48:09 +01:00
Christian T. Jacobs 522e461dee More tests. 2017-04-11 23:40:06 +01:00
Christian T. Jacobs c3bce781f1 Rename to record_count and log_count, and use decorators. 2017-04-11 23:06:44 +01:00
Christian T. Jacobs fa96db7219 Rename to print_records. 2017-04-11 22:53:51 +01:00
Christian T. Jacobs a3b3568d48 Move the log printing functionality to a new Printer class, defined in printer.py. 2017-04-11 22:47:16 +01:00
Christian T. Jacobs 93e76b9b84 Move test.db to the 'res' directory. 2017-04-05 23:18:23 +01:00
Christian T. Jacobs 0cdd59f3ef Always show callsigns in upper case. 2017-04-05 22:58:02 +01:00
Christian T. Jacobs 35922cd493 Moved the CabrilloExportDialog class to a separate file. 2017-04-05 22:54:26 +01:00
Christian T. Jacobs 6407c4a9cc More work on the Cabrillo exporting functionality.
Added a dialog that allows the user to specify the callsign used during a contest, and the contest's name.
2017-04-05 22:42:43 +01:00
Christian T. Jacobs 76b673475e Moved Glade file and icon files to a new directory called 'res'. 2017-04-02 14:02:40 +01:00
Christian T. Jacobs 9e73b2abfa Set CABRILLO_VERSION instead. 2017-04-01 23:19:49 +01:00
Christian T. Jacobs 5454c8e296 Flake8. 2017-04-01 23:18:05 +01:00
Christian T. Jacobs 2d30163e7d Created a Cabrillo class for writing out QSO records to a file in Cabrillo format. This is a work-in-progress. 2017-04-01 23:07:52 +01:00
Christian T. Jacobs 74b393e0e1 Fixed comment. 2017-04-01 23:07:47 +01:00
Christian T. Jacobs 315997c1e5 Use " not ' in setup.py 2017-04-01 21:36:59 +01:00
Christian T. Jacobs 8a07c26fec Update unit test. 2017-04-01 18:17:08 +01:00
Christian T. Jacobs 531749270c Perform an initial count for the awards table. 2017-04-01 18:10:24 +01:00
Christian T. Jacobs c10abde42a Updated comment. 2017-04-01 17:55:03 +01:00
Christian T. Jacobs 6c782094e7 Fix instantiation of RecordDialog when editing a record. 2017-04-01 15:43:55 +01:00
Christian T. Jacobs 7a2aa12e47 Use a comma rather than placing my callsign in brackets after my name. 2017-04-01 15:20:33 +01:00
Christian T. Jacobs 3caf3f9274 flake8 2017-04-01 14:58:06 +01:00
Christian T. Jacobs 1f4f95bcba Connecting up the Preferences dialog. 2017-04-01 14:57:17 +01:00
Christian T. Jacobs 10d0b9d462 Rename "parent" -> "application". 2017-03-31 10:31:30 +01:00
Christian T. Jacobs 2565a7512d Renaming "parent" to "application". 2017-03-31 10:28:26 +01:00
Christian T. Jacobs 75a65891a9 "builder" -> "application". 2017-03-31 10:21:43 +01:00
Christian T. Jacobs 183d1c9d8d Rename "parent" to "application". 2017-03-31 10:06:11 +01:00
Christian T. Jacobs 2ef087c202 Added the View tab of the Preferences dialog in Glade. 2017-03-30 16:45:09 +01:00
Christian T. Jacobs e10a25bccf Added Hamlib tab in the Preferences dialog in Glade. 2017-03-30 08:16:23 +01:00
Christian T. Jacobs 66d3f45be8 Added the Records tab of the Preferences dialog in Glade. 2017-03-30 08:08:23 +01:00
Christian T. Jacobs d78f0f74d7 Added ADIF preferences in Glade. 2017-03-22 23:07:40 +00:00
Christian T. Jacobs b9c15c0e92 Include my middle name in the copyright lines and authors list. Also use my new callsign. 2017-03-20 13:06:01 +00:00
Christian T. Jacobs 9c954373b0 Added General tab of the Preferences dialog in Glade. 2017-03-16 18:34:06 +00:00
Christian T. Jacobs 95bad0fe72 Added the start of the Preferences dialog in Glade. 2017-03-11 23:26:52 +00:00
Christian T. Jacobs 36de2328c4 If the Return key is pressed in the RecordDialog, record the QSO details. Addresses issue #53. 2017-03-02 10:45:49 +00:00
Christian T. Jacobs a6d5839527 Fixed auxiliary dialog calls. 2017-03-02 10:14:21 +00:00
Christian T. Jacobs 296997ec4e Fixed unit test in logbook.py. 2017-03-02 09:56:45 +00:00
Christian T. Jacobs 09a2d3e78b Connected up the record dialog. 2017-03-01 10:16:03 +00:00
Christian T. Jacobs 60bfb3520e Added the About dialog box in Glade. 2017-03-01 00:59:27 +00:00
Christian T. Jacobs 005d5385b4 Added the Glade version of the RecordDialog. 2017-03-01 00:40:17 +00:00
Christian T. Jacobs d5e0f2e007 Import mock. 2017-02-24 00:32:59 +00:00
Christian T. Jacobs 00a86c57bc flake8. 2017-02-24 00:27:03 +00:00
Christian T. Jacobs 1eea1d5917 Renaming calendar.py to calendar_dialog.py to avoid naming conflicts. Also moved LogName to its own file log_name_dialog.py once again. 2017-02-24 00:20:43 +00:00
Christian T. Jacobs e168a417d1 flake8 2017-02-24 00:11:20 +00:00
Christian T. Jacobs 7fdedc51b4 Spacing. 2017-02-24 00:05:42 +00:00
Christian T. Jacobs f19d99b92c Moved the Calendar class to its own separate file (calendar.py). 2017-02-24 00:04:54 +00:00
Christian T. Jacobs cbe93856b4 Added the CalendarDialog to Glade. 2017-02-24 00:04:40 +00:00
Christian T. Jacobs b89acae882 Removed the old log_name_dialog.py file. Moved the LogName class to log.py. 2017-02-23 23:38:29 +00:00
Christian T. Jacobs 0c3f76deb8 Destroy dialog windows, but use add_objects_from_file to rebuild them in the existing Gtk.Builder object. 2017-02-23 22:40:47 +00:00
Christian T. Jacobs e04b604bf1 Small fixes. 2017-02-21 20:41:53 +00:00
Christian T. Jacobs 6a8c2c1798 Remove useless code. 2017-02-21 19:38:59 +00:00
Christian T. Jacobs 3f0995086b Mock Gtk.Builder class. 2017-02-21 19:37:24 +00:00
Christian T. Jacobs 03eeb614ae Move Logbook class over to Glade constructs. 2017-02-21 19:36:25 +00:00
Christian T. Jacobs 6dc8488e00 flake8 2017-02-21 19:27:23 +00:00
Christian T. Jacobs f266e6def8 More moving of toolbar over to Glade. 2017-02-21 19:16:13 +00:00
Christian T. Jacobs fdc3a5f051 Moving the toolbar over to Glade. 2017-02-21 18:48:50 +00:00
Christian T. Jacobs be1ae2af4d Don't pass in the parent PyQSO window into all the tools. 2017-02-21 18:16:02 +00:00
Christian T. Jacobs 7cd34fb59a Fix re-drawing of grey line on tab change. 2017-02-21 17:57:47 +00:00
Christian T. Jacobs 0456d1b3ec Fixed DX cluster unit test. 2017-02-21 17:48:42 +00:00
Christian T. Jacobs f976d840e2 flake8 2017-02-21 16:47:35 +00:00
Christian T. Jacobs 7b3f8d067b Moving the menu bar over to Glade. 2017-02-21 16:45:58 +00:00
Christian T. Jacobs 98cfa7b9e1 Added the LogNameDialog in Glade. 2017-02-21 15:28:55 +00:00
Christian T. Jacobs 3eb3275d35 Porting toolbox tools over to Glade. 2017-02-21 14:54:04 +00:00
Christian T. Jacobs 304d35fe0f flake8 2017-02-15 23:21:11 +00:00
Christian T. Jacobs e977bc5e0f flake8 2017-02-15 23:19:22 +00:00
Christian T. Jacobs c9ffb5e11e More work on using Glade. Also bumped the version to 1.0.0 (in development). 2017-02-15 23:17:51 +00:00
Christian T. Jacobs 295eb79b91 Consolidating all glade files into a single project. 2017-02-15 19:25:08 +00:00
Christian T. Jacobs ba6b570583 Created the Telnet connection dialog in Glade, and hooked it up to the DX cluster. 2017-02-15 18:04:49 +00:00
Christian T. Jacobs 389ab91072 Added the start of the main window, toolbox and DX cluster frame designed with Glade. 2017-02-12 23:25:53 +00:00
Christian T. Jacobs c8c9ae681e Linting. 2017-02-10 18:55:42 +00:00
Christian T. Jacobs 5cc525c5c7 Updated copyright year. 2017-02-10 18:54:21 +00:00
Christian T. Jacobs d70762ae01 Pin-point QTH on grey line map. Addresses issue #42. 2017-02-10 18:50:34 +00:00
Christian T. Jacobs 9baf2aaddd Use username and port information (in addition to hostname) when creating an identifier for a DX cluster bookmark. Addresses issue #43. 2017-02-08 16:36:56 +00:00
Christian T. Jacobs abaa467a88 Bumped version to 0.4. 2017-02-08 15:47:52 +00:00
Christian T. Jacobs ce46c14096 Replace any characters that cannot be decoded with a replacement marker in the DX cluster frame. Addresses issue #45. 2017-02-07 20:33:41 +00:00
Christian T. Jacobs 08d21627e2 If the Return key is pressed when the focus is on the command box, then send whatever command the user has entered. Addresses issue #44. 2017-02-07 17:22:06 +00:00
Christian T. Jacobs e733af215e Flake8. 2017-02-07 16:43:11 +00:00
Christian T. Jacobs 1e185318f7 Allow the user to specify a default logbook that should be opened, if desired. Addresses issue #48. 2017-02-07 16:39:43 +00:00
Christian T. Jacobs 79d3451d56 Use has_option here. 2017-02-07 16:24:16 +00:00
Christian T. Jacobs 2524cd5d94 Move Hamlib autofill code to its own function. 2017-02-07 15:54:34 +00:00
Christian T. Jacobs df27c359ac Also auto-fill the Mode field using Hamlib, if desired. Addresses issue #49. 2017-02-07 15:31:16 +00:00
Christian T. Jacobs a65e34db65 Continue to support Python 2.x modules. Thanks to @gaionim (IU2HDS) for this patch. Fixes issue #50. 2017-02-07 14:17:14 +00:00
Christian T. Jacobs 426c2dac29 Updated copyright notices. 2016-05-28 20:32:00 +01:00
Christian T. Jacobs 4c18f2099b Fix mode count. 2016-05-28 17:12:10 +01:00
Christian T. Jacobs b9901196db Changed canvas size to 800 x 250. 2016-05-28 16:56:37 +01:00
Christian T. Jacobs 238564d044 Specify parent window. 2016-05-28 16:29:47 +01:00
Christian T. Jacobs b29eebe0b4 Convert from dict_keys to list. 2016-05-28 16:24:37 +01:00
Christian T. Jacobs 9ddaa56b73 Make this option clearer. 2016-05-28 14:19:19 +01:00
Christian T. Jacobs 8b5ea87b79 Flake8 fixes. 2016-01-27 18:15:06 +00:00
Christian T. Jacobs c993704e84 Make the code pep8 compliant, using the autopep8 tool. Note that we are ignoring the following: E501,F403,E226,E402,W503. 2016-01-27 16:23:09 +00:00
Christian Jacobs 1c47846289 Keep the 'Add Record' dialog open after adding a new QSO, if the user wants this. 2016-01-24 21:29:35 +00:00
Christian Jacobs 98f27a36e2 Collect contacts together by month in the bar chart. 2016-01-24 16:48:10 +00:00
Christian Jacobs 6de0a1f451 Change to have_matplotlib. 2016-01-24 15:33:15 +00:00
Christian Jacobs 56b476e66d Only try to plot statistics if the necessary matplotlib module exists. 2016-01-24 15:31:15 +00:00
Christian Jacobs 23a325367c Handle unspecified modes. 2016-01-24 15:22:33 +00:00
Christian Jacobs cc436c4a42 Handle empty logs. 2016-01-24 15:19:51 +00:00
Christian Jacobs f03f31c65b Hook the statistics up to the preferences. 2016-01-24 15:12:14 +00:00
Christian Jacobs c610b9f13e Only show the progress up to the end of the current month. 2016-01-24 15:05:02 +00:00
Christian Jacobs 76f038a39b Replot statistics for a user-specified year. 2016-01-24 14:50:42 +00:00
Christian Jacobs a5f4d80654 Only perform one SQL query. 2016-01-24 02:08:40 +00:00
Christian Jacobs 608007d616 Add a combo box to select which year we want PyQSO to generate statistics for. 2016-01-24 02:03:48 +00:00
Christian Jacobs 3d40955b36 Make the statistics an option in the Preferences. 2016-01-23 00:26:55 +00:00
Christian Jacobs 524c6a0054 Use matplotlib.dates to do the plotting of the QSO count. 2016-01-22 20:36:50 +00:00
Christian Jacobs b9ce2153de Started to add graphs to the Summary page of the logbook. 2016-01-11 19:29:42 +00:00
Christian Jacobs 07274c6f60 Use gtk3cairo backend. 2016-01-11 19:29:34 +00:00
Christian Jacobs 7d941ce2fe Write configuration files to ~/.config to keep the user's home directory uncluttered. 2015-11-29 22:25:41 +00:00
Christian Jacobs 2a66389dc3 Store the bookmarks file path in BOOKMARKS_FILE. 2015-11-28 16:55:28 +00:00
Christian Jacobs efbc51d6bf Use "label=" in MenuItem to avoid deprecation warnings. 2015-11-28 16:42:43 +00:00
Christian Jacobs d6588c5761 Implement bookmarking. 2015-11-28 16:41:23 +00:00
Christian Jacobs 362c9fa5e5 Split up the "Connect" menu into "New..." and "From Bookmark". 2015-11-28 14:53:33 +00:00
Christian Jacobs e1e4784a07 Let's call this the command box instead. 2015-11-28 14:42:57 +00:00
Christian Jacobs 6f7d15cb33 Use a MenuBar instead of a row of buttons in the DX cluster tool. 2015-11-28 14:36:18 +00:00
Christian Jacobs 4164977747 If there is an encoding error when writing/reading a character to/from an ADIF file, then replace the character with a replacement marker. 2015-11-23 20:22:35 +00:00
Christian Jacobs 8a70fbc369 Unit tests for the DXCluster class. 2015-11-22 23:04:02 +00:00
Christian Jacobs 05664b4f04 Moar docstrings. 2015-11-22 23:03:48 +00:00
Christian Jacobs ea8777841a Added more unit tests for qrz.com and hamqth.com lookups. 2015-11-22 21:54:20 +00:00
Christian Jacobs f9fdc32891 Fixed Telnet DX cluster functionality following the move to Python 3. This involved encoding/decoding from str/bytes. 2015-11-22 01:16:08 +00:00
Christian Jacobs 2fcdc4833c Remove old print statement. 2015-11-22 00:50:51 +00:00
Christian Jacobs dcd94634e8 Remove the deprecated_mode method. 2015-11-22 00:50:29 +00:00
Christian Jacobs 4b1f83eeef Comment updates. 2015-11-22 00:46:56 +00:00
Christian Jacobs 905c352af0 Included deprecated MODE values, and included the 630m band in the BANDS list.
Also bumped the ADIF version to 3.0.4.
2015-11-22 00:39:06 +00:00
Christian Jacobs e957ae5864 Fixes following the move to Python 3. Also added a default Submode field in the Preferences dialog. 2015-11-17 01:03:59 +00:00
Christian Jacobs ef9ca21ccb Add a Submode field to the Record dialog. 2015-11-17 01:03:50 +00:00
Christian Jacobs de01ceefdf Added empty strings to the tuples containing the SUBMODES. Also added a method to 'update' a deprecated mode. 2015-11-17 01:02:11 +00:00
Christian Jacobs 07954c18a8 Updated the list of MODES and their corresponding SUBMODES. Note that this list is now actually a dictionary - see the comment. 2015-11-16 21:26:14 +00:00
njohnsn fc94c8d511 Convert to Python 3 using 2to3.
Also update Travis CI settings for Python 3, add new package dependencies and update the documentation.
2015-11-05 00:23:19 +00:00
Christian Jacobs ce900209b0 Generalise the callsign lookup button and documentation, since PyQSO now also supports hamqth.com. 2015-10-04 00:52:53 +01:00
Christian Jacobs 165edd5023 Bumped the version number to 0.3(-dev). 2015-10-04 00:32:00 +01:00
Christian Jacobs 45abb28e38 Improved docstrings. 2015-10-04 00:16:55 +01:00
Christian Jacobs bf26af984d Merge pull request #32 from dnet/cleanup2015930
Cleanup
2015-10-01 18:37:38 +01:00
Christian Jacobs 794d999587 lastrowid only gets set *after* issuing an INSERT statement, but PyQSO needs the index of the last row beforehand. Therefore, determine the index of the last row using a SELECT statement instead. 2015-10-01 18:27:11 +01:00
András Veres-Szentkirályi 7d8b702bce auxiliary_dialogs: extracted common dialog code 2015-09-30 12:03:07 +02:00
András Veres-Szentkirályi e92c294dd4 use datetime.strftime instead of manual formatting 2015-09-30 11:53:40 +02:00
András Veres-Szentkirályi 9094d197e9 simplified increment syntax 2015-09-30 11:48:44 +02:00
András Veres-Szentkirályi 5054c99e7c simplified logbook loading 2015-09-30 11:43:49 +02:00
András Veres-Szentkirályi 3f9434cd2e removed unread variables 2015-09-30 10:57:11 +02:00