Commit Graph

11248 Commits

Author SHA1 Message Date
Alejandro Martinez
c85da479ca Fix typo in Nonzero Average Power description
[skip ci]
2026-01-23 10:39:21 -03:00
Paul Johnson
07e673d5d5 Selectable show/hide planned activities (#4811) 2026-01-22 17:49:55 -03:00
Joachim Kohlhammer
1a4dd1d10f Updated Time Range context menu (#4808)
* Centralized the menu creation
* Grouping of actions
* Showing that a phase is always directly assigned to a season
* Harmonized case
* Added ellipsis to all actions opening new dialogs
* Keeping ellipsis out of translatable string to keep as many
  current translations as possible
2026-01-18 11:46:25 -03:00
Alejandro Martinez
3c3927df1b Update snapshot builds
Main changes from v3.8-DEV2601:
686f4310f Revert to Qt 6.5.3 for macOS builds
a00e27638 Dialog to build filter queries for similar activities (#4805)
749a21d9b Train mode: Improved readability for ErgFilePlot (#4806)
3e8c6fe04 Updating power values of planned activities with linked workouts (#4799)
1c6979846 Fix Edit menu disappearing when changing languages on macOS (#4797)
[publish binaries]
2026-01-17 18:31:12 -03:00
Alejandro Martinez
9bf7a3cbb8 Revert "Key the CloudDB cache by hostname and add a button to clear the cache (#4794)"
This reverts commit b25b3e3c61.

While this is useful for development and testing we don't need it
for release versions and it invalidates existing caches causing
additional traffic on CloudDB servers.
2026-01-17 18:26:15 -03:00
Alejandro Martinez
686f4310f9 Revert to Qt 6.5.3 for macOS builds
A user reported having severe performance issues on macOS Tahoe
with v3.8-DEV2601 not present when using v3.7-sp1
Besides 6.5.3 is LTS and 6.6.1 is deprecated, so lets play safe
until we can upgrade to 6.8.3
2026-01-17 18:24:32 -03:00
Joachim Kohlhammer
a00e27638f Dialog to build filter queries for similar activities (#4805)
* list all (non-zero) fields and metrics
* filter list by field / metric name
* select an operator per field (ignore, equals, contains, larger than, ...)
* available in the context menus of activity- and calendar view
2026-01-17 14:36:34 -03:00
jgpallero
7a8f329a84 Update Spanish translation (#4807) 2026-01-17 14:35:45 -03:00
Joachim Kohlhammer
749a21d9ba Train mode: Improved readability for ErgFilePlot (#4806)
* Any curve in ErgFilePlot can be hidden (W'bal, Power, Speed, ...)
* Configurable plot width for curves
* When using colored power zones: Zone color can be dimmed to enhance
  visibility of the curves
2026-01-17 13:03:59 -03:00
jgpallero
225923209f Update Spanish translation (#4801) 2026-01-13 08:25:07 -03:00
Joachim Kohlhammer
3e8c6fe047 Updating power values of planned activities with linked workouts (#4799)
* Updating power values of workout based planned activities when they
  fall into a timerange with different CP
* Triggers:
  * CP configuration changes (future activities only)
  * planned activities are moved (calendar)
  * schedules are repeated (calendar)
  * rest days are inserted or removed (calendar)
* Additional: Typo in Calendar (show in train _n_ode -> mode)
2026-01-13 01:42:43 -03:00
Magnus Gille
1c69798463 Fix the Edit menu disappearing when changing languages. (#4797)
The edit menu attempted to populate itself with aboutToShow() but this is fragile on Mac when the system menu is empty.
Also fixed a (very minor) memory leak and rewrote some code in more modern C++.

Fixes: #4647
2026-01-12 16:37:17 -03:00
Magnus Gille
2910799610 Remove goldencheetah_plugin_import.cpp as it is autogenerated 2026-01-12 16:34:32 -03:00
Alejandro Martinez
452d194658 Revert "CloudDB - Use the new go125 server for testing"
This reverts commit 72ec4a3463.
2026-01-10 18:05:12 -03:00
Alejandro Martinez
72ec4a3463 CloudDB - Use the new go125 server for testing
[publish binaries]
2026-01-10 16:45:09 -03:00
Magnus Gille
b25b3e3c61 Key the CloudDB cache by hostname and add a button to clear the cache (#4794)
Using the new go125 server for testing purposes

[publish binaries]
2026-01-10 16:35:30 -03:00
Alejandro Martinez
e705831571 Partially revert #4762 and rebuild v3.8-DEV2601
The PR included unrelated changes which broke CloudDB connection.
[publish binaries]
2026-01-10 11:03:57 -03:00
Alejandro Martinez
95531b043a Trigger v3.8-DEV2601 build
First v3.8 Dev Build with planned activities
[publish binaries]
v3.8-DEV2601
2026-01-08 21:39:17 -03:00
Alejandro Martinez
8d4996c905 v3.8-DEV2601
First v3.8 Dev Build, includes planned activities
[publish binaries]
2026-01-07 01:50:22 -03:00
Alejandro Martinez
9bd37f0e97 v3.8-DEV2601
First v3.8 Dev Build, includes planned activities
[publish binaries]
2026-01-06 20:17:34 -03:00
Alejandro Martinez
87ea10c916 Update translation files
To include new planning calendar strings
2026-01-06 15:50:32 -03:00
Joachim Kohlhammer
24269f0dbf Multi Metrics support for Agenda (#4793)
Agenda used to display entries similar to the Calendar: Primary line for
a field, secondary line for one metric, tertiary line for a multi-line
field.
As the agenda has more space available per line, this change adds
support for multiple metrics in the secondary line. Defaults are
Duration and TriScore.
2026-01-06 15:41:10 -03:00
Paul Johnson
6fde458393 Athlete folder change confirmation (#4792) 2026-01-06 09:43:02 -03:00
Paul Johnson
1ee5af3d85 Fixes for MacOs compiler warnings (#4778) 2026-01-06 09:31:29 -03:00
Paul Johnson
d57b7c5ead Suppress "may be unsafe" MSVC compiler warnings for C functions (#4789)
* Suppress C function warnings in Windows using pragmas
2026-01-05 17:07:35 -03:00
Joachim Kohlhammer
3a995f768e Linking planned and completed activities (#4772)
* Bidirectional linking of planned and completed activities via field "Linked Filename"
* Convenience functions in RideCache, taking care of updating all relations
  * link activities
  * unlink activities
  * move activities
  * copy planned activities
  * batch copy planned activities
  * shift planned activities
* Calendar
  * Visual hints to show whether an activity is linked (bar on right side)
  * Options to link, unlink, jump to linked activity
  * Option to save an activity
  * Visual hint indicating unsaved changes in an activity (italic font)
  * Deleting activities clears the link
* Agenda: Hiding completed / linked activities
* Repeat Schedule: Clearing the link in copied entries
* RideImportWizard: Autolinking new activities if a planned counterpart exists
* Stricter consistency handling of linked activities
Additional:
* highlighting linked activities when clicking in calendar
* linked() datafilter access function (similar to filename())
* New dialog to link planned and completed activities
* Centralized the calendar context menus (only one location to maintain them for all views)
* Restructured the entries of all calendar context menus
2026-01-05 15:58:59 -03:00
Alejandro Martinez
dbd7de01b8 Remove vertical lines in Overview Zones Tiles
They were introduced by #4779, which replaced setAxisX
which removes the previously existing default x-axis
for the new one, with addAxis which doesn't remove anything.
This change just remove the existing (default) x-axis before
to add the new one to minimize the impact in the remaining code.
2026-01-04 20:09:16 -03:00
Alejandro Martinez
beede09500 Deprecate VeloHero integration
The service is being shutdown.
Fixes #4782
2026-01-04 16:38:02 -03:00
Alejandro Martinez
7421371a2d Update translation files
After removing all lupdate warnings
2026-01-04 16:34:18 -03:00
Alejandro Martinez
c6c5ff0bac Remove deprecated macextras
Removed from Qt6 and we don't support Qt5 anymore
2026-01-04 16:32:18 -03:00
Paul Johnson
f3d50c4f3a Remove unused httpsession and httpsessionstore from build (#4785) 2026-01-04 14:28:56 -03:00
Magnus Gille
ab1b9633d0 Fixes so that lupdate doesn't throw warnings (#4788)
src/Gui/CalendarItemDelegates.h:
  ColumnDelegatingItemDelegate
    - uses tr() so should call Q_OBJECT
  CalendarDetailedDayDelegate
    - uses tr() so should call Q_OBJECT
  Moved Q_OBJECT to the top of the class for consistency and this also guarantees it's private (which it has to be).

src/Gui/ColorButton.h:
  - Moved the comment from Colors.h here.

src/Gui/Colors.h:
  - Removed #if 0 code that confused lupdate since it doesn't understand preprocessor macros.
2026-01-04 10:07:50 -03:00
Alejandro Martinez
1b21c6a4fc AppVeyor - Revert QWT build to -j1 on Windows
To avoid ocassional errors due to race conditions,
since QWT is rebuilt only when appveyor.yml changes
the impact on performance is limited in normal cases.
2026-01-02 17:32:47 -03:00
Paul Johnson
a6c2114e0a Fixes Qt6 standard buttons warnings (#4783) 2026-01-02 10:17:11 -03:00
Paul Johnson
9bae3a7658 Update Calendar on Batch Import (#4734)
When more than 20 activities are imported at once.
2026-01-01 22:10:49 -03:00
Paul Johnson
4ff62b4893 Fixes for QT6 deprecation warnings (#4779) 2026-01-01 13:09:26 -03:00
Magnus Gille
addf1b55d3 Fix signalSafety unittest (#4773) [skip ci] 2025-12-28 12:18:26 -03:00
Magnus Gille
c4e880622b QZip improvements (#4768)
Removed unused constructors
Replaced raw pointer with a unique_ptr to clearly pass ownership.
Fixed a bug where we compared if a signed integer is negative (it never is).
Fixed a case where we take the pointer to a pointer we de-reference!
2025-12-27 16:06:45 -03:00
Poncho
2d463c8bc2 Upgrade FIT SDK to 21.188 (#4776) [skip ci]
The presence of a \ in a string will produce an error in python 3.13
Using raw strings in all regexes avoids this.
2025-12-27 16:05:48 -03:00
Poncho
a45bb2503c linux/51-garmin-usb.rules: use mode 0660 and tag uaccess (#4775) [skip ci]
Use a more modern approach for device access.

The uaccess tag makes udev apply a dynamic user ACL to the device node, which
makes the device usable to logged-in users.

See https://wiki.archlinux.org/title/Udev#Allowing_regular_users_to_use_devices
2025-12-26 20:19:01 -03:00
Paul Johnson
8a19c38b3a QSqlQuery copy constructor deprecated in Qt6.2 (#4771)
The QSqlQuery assignment and copy constructor are deprecated since Qt6.2, and will be removed in Qt7, see https://doc.qt.io/qt-6/qsqlquery-obsolete.html
2025-12-24 08:28:05 -03:00
Paul Johnson
4eaec533aa Remove type truncation warnings (#4770)
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
warning C4805: '!=': unsafe mix of type 'int' and type 'bool' in operation
warning C4305: 'argument': truncation from 'double' to 'float'
2025-12-23 10:21:11 -03:00
Paul Johnson
1a0cd74c19 Remove Qt6 stateChanged deprecation warning (#4766)
From QT6.7.0 QCheckBox::stateChanged() is being replaced with QCheckBox::checkStateChanged(), and stateChanged() is deprecated in Qt6.9.0
2025-12-22 16:32:57 -03:00
Paul Johnson
7caa7582dd Remove Windows crash handler compile warning (#4765)
Warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead.
2025-12-22 13:37:36 -03:00
Paul Johnson
9cff593c68 Remove unused variables and parameter warnings (#4767)
Remove the following types of build warnings:

warning C4189: local variable is initialized but not referenced
warning C4100: unreferenced parameter
warning C4101: unreferenced local variable

I have only commented out unused variables and used [[maybe_unused]] for unused parameters.
2025-12-22 09:59:31 -03:00
Alejandro Martinez
b0b65e4e1f Update minimum Qt version 6.6.1 recommended 6.8.3 2025-12-21 21:35:44 -03:00
Magnus Gille
03ca4fdbc3 Parallelize builds and upgrade build environments (#4749)
* Parallelize QWT builds
* Upgrade macOS Builds to Sonoma with Xcode 15.2 and Qt 6.6
* Upgrade Windows builds to Visual Studio 2022
2025-12-21 18:24:27 -03:00
Alejandro Martinez
be01a861b8 Fix crash when importing compressed zip files
The bug was introduced by #4751 when QScopedPointer was replaced
by std::unique_ptr but release() was not called to replace take().
2025-12-19 14:05:52 -03:00
Paul Johnson
78fb79cfe1 Correct initial view change for navigation model (#4735)
Change startupView flag from static to member variable in AthleteTab class
2025-12-18 18:34:40 -03:00
Paul Johnson
c67d913f11 Deprecate QT5 support (#4751)
* Remove Qt5 Compatibility
* Remove QT compiler directives < QT6.5.3, set QT6.5.3 as minimum GC version
* Remove references to QT5 Video
Fixes #4750
2025-12-18 10:37:55 -03:00