Commit Graph

11262 Commits

Author SHA1 Message Date
Magnus Gille
40db2bc8ec Standardize how the config is created for releases. (#4784)
Build configuration for Windows was moved from appveyor.yml to appveyor/windows/before_build.ps1
and based on gcconfig.pri.in to match the other platforms, Python config is taken from PATH too.
We could do the same with install and after_build too.
Co-authored-by: Alejandro Martinez <amtriathlon@gmail.com>
2026-02-01 17:16:44 -03:00
Alejandro Martinez
6ab99506ad AppVeyor - run lupdate on Windows
For Linux and macOS this was part of before_build.sh
Also remove now unused site-packages from cache section
2026-01-30 21:19:20 -03:00
Joachim Kohlhammer
a36f52760b Copy & Paste for planned activities on calendar (#4819)
* Planned activities can be copied
* Pasting:
  * Month view: Target time is the same time as the source activity
  * Day + week view: Time at mouse pointer is used as target time
  * If the slot at target time is not long enough to take the full
    activity, the closest free slot is used
  * If no free slot could be found, the activity is pasted at a free
    start time (h:00, h:15, h:30, h:45)
  * Night hours (midnight until start hour + end hour until midnight)
    are considered blocked
2026-01-30 18:21:47 -03:00
Alejandro Martinez
dfd932d921 Fit file import - don't crash on malformed files
Fixes #4818
2026-01-30 11:16:07 -03:00
Alejandro Martinez
f8bd9a936d Update Snapshot builds
Embedded Python (3.11) and SIP (6.15.1) upgrade
with updated modules: numpy, pandas, plotly, etc.
[publish binaries]
2026-01-29 15:59:10 -03:00
Alejandro Martinez
025ffa9c0e Fix Windows installer script from previous commit 2026-01-29 15:40:32 -03:00
Magnus Gille
2eaf1bccc1 Upgrade Python, Pandas, and SIP versions (#4747)
Python is moved to 3.11 and packaged in Appveyor. This version is a good spot in the lifecycle.

Packaged SIP at the current version, I needed this to get around some of the reparsing that was required.
Eventually this will break but make -f Makefile.SIP likely creates a new build, we should do this at
every "major" release. Unfroze the rest so it can move freely.

Add iterator support to GoldenCheetah container data types in Python. This avoids the Pandas regression that held us back.

Added code signing for MacOS as this was a requirement to run my local binaries and unfortunately needed to rewrite the build.

This puts us at a good jumping off spot for building a universal Mac binary but there's a lot of work left.
2026-01-29 12:11:45 -03:00
Alejandro Martinez
b00d3b7091 Update German translation
[skip ci]
Contributed by Adrian at the users forum
2026-01-29 09:38:05 -03:00
Alejandro Martinez
73b82180e5 Update snaphot builds
Changes from v3.8-DEV2601
4db88fa Update translation files
663526c Choose cyclist default to no avatar (#4814)
f6d4f6a Using "actual activity" instead of "completed activity" (#4813)
253b220 Add Zoomed Elevation Widget to Graphical Meters For simulation workouts without GPS data
b0d16d1 Add reconnect attempt timer after BT40Device unexpected disconnect (#4812)
c85da47 Fix typo in Nonzero Average Power description
07e673d Selectable show/hide planned activities (#4811)
1a4dd1d Updated Time Range context menu (#4808)
686f431 Revert to Qt 6.5.3 for macOS builds
a00e276 Dialog to build filter queries for similar activities (#4805)
749a21d Train mode: Improved readability for ErgFilePlot (#4806)
3e8c6fe Updating power values of planned activities with linked workouts (#4799)
1c69798 Fix Edit menu disappearing when changing languages on macOS (#4797)
[publish binaries]
2026-01-24 15:50:47 -03:00
Alejandro Martinez
4db88fa286 Update translation files 2026-01-24 15:46:18 -03:00
Paul Johnson
663526cd49 Choose cyclist default to no avatar (#4814)
Minor change, but it does make selecting an athlete with no avatar easier.
2026-01-24 15:44:43 -03:00
Joachim Kohlhammer
f6d4f6a6cb Using "actual activity" instead of "completed activity" (#4813)
To match  #4811
2026-01-24 07:22:25 -03:00
Alejandro Martinez
253b2206ce Add Zoomed Elevation Widget to Graphical Meters
[skip ci]
For simulation workouts without GPS data
2026-01-23 19:53:19 -03:00
Anže Blagus
b0d16d163e Add reconnect attempt timer after BT40Device unexpected disconnect (#4812)
Add reconnect attempt timer every 5s after BT40Device unexpected disconnect
2026-01-23 13:59:52 -03:00
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