Commit Graph

10950 Commits

Author SHA1 Message Date
Alejandro Martinez
ff240a0dd8 Update Issue template
[skip ci]
2025-01-22 18:40:14 -03:00
Alejandro Martinez
05dcba2611 Merge branch 'master' of https://github.com/GoldenCheetah/GoldenCheetah 2025-01-22 16:30:48 -03:00
Peret
cb8e6a158a Added 'Context' to VideoLayoutParser (#4603)
Fixes crash introduced by #4484
2025-01-22 14:43:38 -03:00
Ivor Hewitt
306b2d99b2 Remember coretemp quality state between messages, reset temp to zero if not set (#4602)
Part of #4207
2025-01-22 14:41:24 -03:00
Ivor Hewitt
20c9789979 Enable compiling VideoWindow with QT6 (#4601) 2025-01-22 09:49:09 -03:00
Ivor Hewitt
198ec34497 Change CoreTemp suffix to e (#4600)
Suffix clashes with Temp sensor, change to 'e' for core
Part of #4207
2025-01-21 18:39:32 -03:00
Alejandro Martinez
46a19c85c0 Merge branch 'master' of https://github.com/GoldenCheetah/GoldenCheetah 2025-01-21 18:37:00 -03:00
Ivor Hewitt
3af81eb27a Addition of CoreTemp sensor support (#4207)
This patch adds ANT+ support for CoreTemp body sensors.
If there is core temperature XData then it uses that for "tcore" data instead of using the estimated calculation.
2025-01-20 16:36:02 -03:00
Ivor Hewitt
aee21447a0 Add tempe ANT sensor support (#4595)
Fixes #4234
2025-01-20 10:51:48 -03:00
Alejandro Martinez
d18f24c03f Athlete level WebEngineProfile for cookies and storage
Used by WebChart for autologin and Map charts for cache,
but not for OAuth dialogs nor Python web charts.
Fixes #4484
2025-01-19 21:02:09 -03:00
Alejandro Martinez
bbf229e66f Athlete level WebEngineProfile for cookies and storage
Used by WebChart for autologin and Map charts for cache,
but not for OAuth dialogs nor Python web charts.
Fixes #4484
2025-01-19 19:49:15 -03:00
Alejandro Martinez
064d73c95e Update Italian translation
Contributed by Giuseppe Cifelli at the users forum.
2025-01-19 14:19:55 -03:00
Alejandro Martinez
bf843459c7 Use default library.xml when an invalid one is present
A size zero library.xml provokes search paths are
not saved, lets use the default one like we do
when library.xml is not present.
This weir config is likely a residue of some older
test version, so it may not affect all users, but
still this change is a safe failout mechanism.
2025-01-15 11:55:50 -03:00
Alejandro Martinez
f7e91e7fae Avoid crash when workout search path is empty
Fixes #4593
2025-01-13 16:52:56 -03:00
Paul Johnson
a7d6acec87 Batch processing metadata auto completion field (#4590) 2025-01-10 17:58:31 -03:00
Alejandro Martinez
8a5c57f35e Replace obsolete appimagetool
[skip AppVeyor]
Fixes #4589
2025-01-07 12:52:11 -03:00
Alejandro Martinez
042e06c4f4 Update German translation
Contributed by Marcen at the users forum
2025-01-02 19:35:59 -03:00
Alejandro Martinez
bea10dda06 Remove references to unused QCalendarWidget 2025-01-02 09:54:18 -03:00
Alejandro Martinez
4b2cbec6b1 Update FITmetadata.json to FIT SDK v21.158
[skip ci]
2024-12-29 14:04:08 -03:00
Alejandro Martinez
defd43ae34 Update snapshot builds
Changes from v3.7-Dev2412
08e5540dd Assigned keyboard shortcuts to toggle sidebars (#4583)
5ef6080ef Revert Edit to Process menu change
31d2352f8 Fixed compilation error when python is disabled (#4585)
9e38ae9b8 Fixed calculation of measures when using imperial units (#4584)
e9e83936d Avoid Qt 6.7 bug when using windows11 style
2979ed879 Text in Trainbottom window is word wrapped (#4582)
b224752c2 Update Spanish translation (#4580)
[publish binaries]
2024-12-28 09:26:52 -03:00
Joachim Kohlhammer
08e5540ddb Assigned keyboard shortcuts to toggle sidebars (#4583)
* Assigned keyboard shortcuts to toggle various sidebars and panels
* Swapped Trends and Activities in the View-menu to match the order in
  the view sidebar
2024-12-28 09:19:38 -03:00
Alejandro Martinez
5ef6080ef5 Revert Edit to Process menu change
It invalidates top level menu translations, most of which
we don't have the resources to update now and several
parts of the wiki for no relevant reasons.
I should not have merged this change, sorry.
2024-12-27 21:56:08 -03:00
Joachim Kohlhammer
31d2352f85 Fixed compilation error when python is disabled (#4585)
See https://groups.google.com/g/golden-cheetah-users/c/d-A1M2FlcZI
2024-12-23 16:18:22 -03:00
Joachim Kohlhammer
9e38ae9b85 Fixed calculation of measures when using imperial units (#4584)
See https://groups.google.com/g/golden-cheetah-users/c/hAwFNWP3-G0
2024-12-23 09:16:01 -03:00
Alejandro Martinez
e9e83936d4 Avoid Qt 6.7 bug when using windows11 style
Still not fixed in 6.7.3 (https://bugreports.qt.io/browse/QTBUG-124150)
2024-12-22 21:51:23 -03:00
Peret
2979ed8790 Text in Trainbottom window is word wrapped (#4582)
So messages can be seen in several lines if they are large, not truncated
2024-12-20 10:30:40 -03:00
jgpallero
b224752c2b Update Spanish translation (#4580) 2024-12-15 14:13:40 -03:00
Alejandro Martinez
d69412d3cc Trigger v3.7-DEV2412 builds
[publish binaries]
v3.7-DEV2412
2024-12-14 10:25:07 -03:00
Alejandro Martinez
9f54c83bf8 Update translation files based on #4578 2024-12-10 10:17:52 -03:00
Joachim Kohlhammer
80ba6ea06a Reworked the Options-Dialog (#4578)
* Created a new class ActionButtonBox, similar to QDialogButtonBox to
  reduce code duplication when adding footers (add/delete, up/down) to
  QTreeWidgets
* Created a new QStyledItemDelegate for inline editing of lists
* Highlighting the current category (General, Appearance, ...)
* Using the same reset button for Appearance and Measures that is hidden
  in all other categories
* Using the same style and behaviour as in athlete settings for all
  QTreeWidgets
* Using QFormLayout as much as possible, introducing additional support
  for the setting Mac styled Forms

* General: Reordered the settings, grouped them and added a (optional)
  scrollbar
* Data Fields
  * Fields
    * Enabled inline editing
    * Added autocompletion to Screen Tab
    * Added a uniqueness validator to Field
    * Added the list-delegate to Values
  * Colour Keywords: Added the list-delegate to Related Notres Words
  * Defaults: Added autocompletion to Field and Linked field
* Metrics
  * Swapped the tab order
  * Favourites
    * Made the lists wider
    * Moved the up-/down-buttons below the Favourites list
* Training
  * Swapped the tab order of Preferences and Train Devices
  * Remote Controls
    * Switched to inline editing
    * Made the Action non-editable
  * Virtual Bicycle Specifications: Redesigned the dialog
2024-12-09 19:46:35 -03:00
Alejandro Martinez
2505c55f94 Add Device Wizard - Avoid crash on user nonsense
Trying to create a custom virtual power curve
with less than 2 points leads to a crash when
saving device config on terminate.
Reported at the users forum.
2024-12-08 17:57:10 -03:00
Alejandro Martinez
2a2eafe926 Python API - Add deleteXDataSeries and deleteXData
For completeness as requested in the users forum:
GC.deleteXDataSeries(xdata, series) to remove existing XData series
GC.deleteXData(xdata) to remove existing XData
They invoke the corresponding RideFileCommand methods.
2024-12-06 15:31:27 -03:00
Joachim Kohlhammer
000a76983d "Automated only"-flagging for DataProcessors
* Options > Data Fields > Processors & Automation (renamed from
  "Processing")
  * Modernized the UI
  * Added UI to set Automation (None, On Import, On Save) for all
    processors
  * Added UI to set Automated execution only for all processors
  * Showing the processors description
  * Showing the processors setting (if available) in a more userfriendly
    way
  * Added option to add / delete / edit custom Python processors
  * Enabled editing of Python processors via double click
  * Added option to hide code processors
* Removed the submenu to manage Python Fixes from the Edit-menu
* Renamed the Edit-menu to "Process"
* Hiding "automated only"-processors from Process-menu and
  Batchprocessing-dialog
* DataProcessors
  * Turned configuration of all core processors into forms
  * Changed the technical name of all core processors to match their
    classname
  * Added legacy technical name to all core processors to support existing
    scripts
  * Moved description from config-class to DataProcessor
  * Implemented a migration path for existing persisted processor
    configurations
* GSettings
  * Added method to remove settings by key
2024-11-26 20:04:33 -03:00
Alejandro Martinez
c40257911d Update German translation
Contributed by Marcen at the users forum.
2024-11-24 16:31:30 -03:00
Alejandro Martinez
9c1386ad75 Add Swim Stroke metric for lap swims
It can take the following values:
0 - rest, 1 - free, 2 - back, 3 - breast, 4 - fly, 5 - drill, 6 - mixed
When stroke type is not available it evaluates to -1 - na
Type is Peak, which is not exactly right, but we need to refactor
aggregation to fix this (#4575) and this is mostly intended to be
used for intervals, so it is not that relevant anyway.
The text value of this metric is used as the second colum for the Overview chart
in default Swim perspective.
Fixes #4570
2024-11-22 21:34:43 -03:00
Alejandro Martinez
3013e51c8e Fix previous commit (04cb57b)
Shorter than minRest lengths were removed,
but next length duration was not updated.
- Move the update block inside the transaction scope
- Account for removed rows on row index
- Consider column offset due to time and distance
2024-11-21 17:56:30 -03:00
Alejandro Martinez
04cb57bda3 Fix Lap Swims - Ignore lengths shorter than Min Rest
This adds a minimum rest parameter to Fix Lap Swims DP to
ignore lengths shorter than a configured minimum value,
the corresponding time is added to the next length where it
is assumed to belong.
Minimum rest length default value is 3 secs, but it can be
changed in DP config.
Test files contributed by Jean Div at the users forum.
Fixes #4571
2024-11-20 19:40:15 -03:00
Alejandro Martinez
3570e089b4 Overview - Fix QColorDialog "Cancel" clicked issue
Contributed by https://github.com/ZajtiM
Fixes #4573
2024-11-20 17:33:58 -03:00
Alejandro Martinez
57c6e6485f Fix Lap Swims - Consecutive rest lenghts
Some devices generate consecutive rest lengths and they
should be included in the same interval, to achive this
we use the change of length distance to mark intervals
instead of just the presence of a rest length as we did
before assuming only one will be generated.
Related to #4571
2024-11-20 17:28:58 -03:00
jgpallero
251dd4d611 Update Spanish translation (#4569) 2024-11-05 08:34:38 -03:00
Alejandro Martinez
5bbb79e7ba Update snapshot builds
Summary of changes from v3.7-dev2410:
9a269677d Settings: Inline-editing for Measures (#4567)
928891634 Update Spanish translation (#4566, #4563)
e3fb6c4e3 AutoCP: Proposing new ranges only for younger estimates (#4565)
6576b12a7 Infowidget: Made more strings translatable (#4564)
c86b5a6be Harmonize the layout of athlete settings (#4562)
[publish binaries]
2024-11-04 17:17:08 -03:00
Peret
fab2d35300 util/antlog.py migrated to python3 (#4568)
Simplified code, no longer compatible with python2
[skip ci]
2024-11-04 13:56:16 -03:00
Joachim Kohlhammer
eaa86779e5 Implemented precalulation of sizeHint
For the following classes:
* ComboBoxDelegate
* DateEditDelegate
* TimeEditDelegate
* SpinBoxEditDelegate
2024-11-04 09:14:12 -03:00
Joachim Kohlhammer
ef3b8acfb4 Precalculating sizeHint for DoubleSpinBoxEditDelegate 2024-11-04 09:14:12 -03:00
Joachim Kohlhammer
9a269677d8 Settings: Inline-editing for Measures
* Implmented inline-editing in Measures-tab, similar to Zones (Power,
  HR, Pace)
* Disabled editing of columns Datetime, Source, Original-Source
2024-11-04 09:14:12 -03:00
jgpallero
928891634b Update Spanish translation (#4566) 2024-11-01 19:41:55 -03:00
Joachim Kohlhammer
e3fb6c4e30 AutoCP: Proposing new ranges only for younger estimates (#4565)
* Only proposing a new range if the current estimate starts after the
  current range (otherwise deviations should be handled by review)
* Review-dialog: Replaced the relation-signs (<>) by arrows (↗↘) for
  better readability
2024-11-01 19:41:24 -03:00
Joachim Kohlhammer
6576b12a7f Infowidget: Made more strings translatable (#4564)
* Made more strings in InfoWidget translatable
* Updated the translation files
2024-10-31 18:58:33 -03:00
Joachim Kohlhammer
c86b5a6be9 Harmonize the layout of athlete settings (#4562)
Settings
* About
  * Show the athletes name
  * Mask the avatar-image as a circle
* Model
  * Add button to revert to defaults
* Auto Import
  * Use inline editing
* Backup
  * Add a "Backup now"-button

Create new athlete
* Rename NewCyclistDialog to NewAthleteWizard and turned it into a
  2-page wizard
* ChooseCyclistDialog: Open the NewAthleteWizard without interaction
  if no athlete is available

Common
* Avatar image
  * Use Qt::SmoothTransformation for improved quality
  * Crop to the center of the original image
  * Keep aspect ratio of the original image
* All forms: Use QFormLayout to simplify the code and provide a
  desktop aware layout
* Switch to QDialogButtonBox for a button order aligned with the
  desktop

Centralized creation of QFormLayouts
* Added option to use either system-style or mac-style for QFormLayouts
2024-10-29 09:49:19 -03:00
jgpallero
f3aedd6184 Update Spanish translation (#4563) 2024-10-27 18:41:01 -03:00