Wykres commitów

180 Commity (f222d5cc3090b5c6c18d5752f5a0614cf8e0327e)

Autor SHA1 Wiadomość Data
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 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 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 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 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 5cc525c5c7 Updated copyright year. 2017-02-10 18:54:21 +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 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 7d941ce2fe Write configuration files to ~/.config to keep the user's home directory uncluttered. 2015-11-29 22:25:41 +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 45abb28e38 Improved docstrings. 2015-10-04 00:16:55 +01: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
András Veres-Szentkirályi 500ca5977a removed unused imports 2015-09-30 10:56:56 +02:00
Christian Jacobs 37685c9a4c When calling add_record with multiple records in a list, insert all the records in one go using executemany.
This seems to bring a significant performance benefit, and addresses issue #29.
2015-08-12 00:58:00 +01:00
Christian Jacobs c6002fbd7d Match *.ADI files too. 2015-08-11 17:31:51 +01:00
Christian Jacobs 233b996784 Include the total number of QSOs in the Summary page. Addresses issue #23. 2015-04-02 08:57:27 +01:00
Christian Jacobs 3945834450 Display a more helpful error message if the logs fail to load properly. 2015-03-06 23:45:27 +00:00
Christian Jacobs f9b97a6b26 Remove the unnecessary "File:" lines at the top of each .py file. 2015-03-06 23:35:14 +00:00
Christian Jacobs 3cc4f83a22 Added my middle initial. 2015-03-06 23:31:46 +00:00
Christian Jacobs dca3ed118c Added unit tests for the Logbook class. 2015-03-01 14:21:18 +00:00
Christian Jacobs 99724ae10e Handle the case where the user tries to add/edit/delete a record, but the Summary page is selected. 2015-02-16 10:39:16 +00:00
Christian Jacobs 2c5c046a7a Clear the contents of the file, in case the file exists already. 2015-02-07 21:44:34 +00:00
Christian Jacobs 69d1a95f51 Docstrings and comments. 2015-02-07 21:28:55 +00:00
Christian Jacobs d428fc7953 Use set_do_overwrite_confirmation(True), rather than handling the confirm-overwrite signal ourselves. 2015-02-07 21:25:06 +00:00
Christian Jacobs e6e8570c1b Separate the Create and Open functionality for logbooks. Addresses issue #20.
The menu and toolbar now have separate "Create Logbook" and "Open Logbook" buttons.
2015-02-07 21:22:16 +00:00
Paride Legovini 9473318e9a Fix creation of empty GtkTreeModel 2014-05-18 10:17:09 +08:00
Christian Jacobs 42d6130d0e Handle 'configuration option not found' exceptions. 2014-03-31 10:44:46 +01:00
Christian Jacobs 8a09ed798c Include the valid ADIF file extensions as well as an "All Files" option in the 'Import Log' and 'Export Log' dialogs. 2014-03-01 18:39:23 +00:00
Christian Jacobs 40bc5aa187 If the field being sorted is the QSO_DATE, then also sort by the TIME_ON field so we get the correct chronological order. 2014-03-01 18:06:50 +00:00
Christian Jacobs aca64cc2c7 Set the sizing property of the 'Notes' column to 'Gtk.TreeViewColumnSizing.FIXED'. This resolves issue #1. 2014-02-05 00:53:16 +00:00
Christian Jacobs 5c99387b40 More error handling. 2013-10-01 21:23:37 +01:00
Christian Jacobs ebc6d767aa More error handling. 2013-10-01 21:20:15 +01:00
Christian Jacobs 7396e895ac Handle the case where there is an IOError or OSError. 2013-09-30 18:16:06 +01:00
Christian Jacobs a3c3552f14 Using 'with' statements to deal with database commits and rollbacks. 2013-09-30 16:56:11 +01:00
Christian Jacobs 23b6557c54 Remove the "close" button in the log's tab. 2013-09-16 03:24:53 +01:00
Christian Jacobs e3f81fbfda Fixed a bug which occurred when searching for duplicate records in an empty log. 2013-09-16 03:17:37 +01:00
Christian Jacobs e8c3ff3f00 Updated status bar text. 2013-09-15 04:43:03 +01:00
Christian Jacobs f260462072 Added commit and rollback statements. 2013-09-15 02:49:12 +01:00
Christian Jacobs 42a849aa4c Corrected a debugging statement. 2013-09-14 22:19:33 +01:00
Christian Jacobs e8c1fafbcc More debugging statements. 2013-09-14 22:12:10 +01:00
Christian Jacobs 45aee6bf74 More error handling. 2013-09-14 21:33:01 +01:00
Christian Jacobs f2e64dbd19 Wrap the import statements for the Hamlib module in a try-except block. Only try to call Hamlib if have_hamlib is True. 2013-09-14 20:31:12 +01:00
Christian Jacobs ab4d7ce9c6 A few small improvements. 2013-09-14 20:15:12 +01:00
Christian Jacobs d1e4c1471b - Added open and close methods for the Logbook class.
- Added some more error handling for database-related statements.
2013-09-14 19:27:45 +01:00
Christian Jacobs 26b86d754c Removed the 'delete log' button next to the log tabs, since it's unlikely the user will want to do this often. 2013-09-05 11:44:02 +01:00
Christian Jacobs fa7788f49d Changed ''' to """. 2013-09-04 21:12:04 +01:00
Christian Jacobs bc4ae0e41a Added more docstrings. 2013-09-04 21:03:48 +01:00
Christian Jacobs 927b41c3a7 - Added functionality to remove duplicate records in a log.
- Updated the manual.
2013-09-01 20:01:29 +01:00
Christian Jacobs 9511c40e21 Database updates can be expensive, so only update the field if the data has actually changed. 2013-08-15 22:33:59 +01:00
Christian Jacobs 10d7d4e662 Added DXCC award tracking functionality. 2013-08-15 21:23:10 +01:00
Christian Jacobs 326aa513d9 Use the parent window in the Gtk.PrintOperation.run call. 2013-08-03 20:16:50 +01:00
Christian Jacobs 2f11f80221 - Added a module for creating auxiliary dialogs for error messages and prompts.
- Renamed 'root_window' to 'parent'.
2013-08-03 20:11:00 +01:00
Christian Jacobs 56c8e6e33f Fixed an 'iter'-related bug - the correct iter is now used when editing or deleting records from the ListStore. 2013-08-03 19:00:39 +01:00
Christian Jacobs 80683bab07 - Added station-related fields to the records dialog.
- Fixed a case sensitivity-related bug in the callsign filter.
2013-07-28 16:50:52 +01:00
Christian Jacobs 59f53981e8 Added callsign lookup functionality which uses the qrz.com database. 2013-07-13 20:23:53 +01:00
Christian Jacobs a00bd7192a - Finished log printing capability.
- Automatically fill in the date and time fields for new records.
2013-07-13 16:43:27 +01:00
Christian Jacobs 22460fff00 Added basic print functionality using the PrintOperation class. 2013-07-11 00:22:27 +01:00
Christian Jacobs ac3a543a83 - Added a calendar widget to the Record dialog.
- Added a frame to hold station information. Still need to add the other relevant fields.
2013-07-03 01:00:00 +01:00
Christian Jacobs 5ab8ff6352 The 'sys' module is no longer needed here. 2013-07-02 15:14:30 +01:00
Christian Jacobs 2922e75b34 Some additional error handling for the database connection setup. 2013-07-02 15:13:25 +01:00
Christian Jacobs b40702c0bd Fixed log deletion functionality. 2013-07-02 03:20:51 +01:00
Christian Jacobs e151f0a23e Users can now import into existing logs. 2013-07-02 02:47:21 +01:00
Christian Jacobs df1fdcf781 Allow the user to select the field names that are visible in the logbook. 2013-07-01 23:23:43 +01:00
Christian Jacobs b680e4c955 - Default to 800 x 600 resolution.
- Check that a log is selected before attempting to export.
2013-06-30 14:38:08 +01:00
Christian Jacobs e9b73d6985 Check whether the Summary page is currently selected. If so, don't let the user delete or rename that page. 2013-06-23 23:07:46 +01:00
Christian Jacobs 523c233f03 Improved the modification date format. 2013-06-23 22:42:22 +01:00
Christian Jacobs e79baec0bd Forget the idea about selected field names for now. Just use all available ADIF fields instead. 2013-06-23 17:31:27 +01:00
Christian Jacobs d587522327 - Check the validity of field data when importing logs in ADIF format.
- Make the BAND and MODE field data lower/upper case to ensure that the combo boxes are set correctly.
- If the user tries to overwrite a file when exporting a log, check that they are sure.
2013-06-16 02:09:53 +01:00
Christian Jacobs ed35c00409 Remove the filter for .db files. 2013-06-15 22:18:10 +01:00