Commit Graph

35 Commits

Author SHA1 Message Date
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
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
Paul Johnson
4488b6e4f4 Rebrand Diary View to Plan View (#4690)
It shares Trends sidebar minus the charts library.
Initially hosting Calendar, Agenda and Expected PMCs.
Let's see how it works and evolve.
2025-12-13 19:06:31 -03:00
Alejandro Martinez
b02f7bad7e Refactor Security Fix - disable ignoreSslErrors
Moved sslErrors to CloudService since CloudDB is an optional component
and c827d9f fails to compile when CloudDB is not included.
2025-11-19 19:52:38 -03:00
Alejandro Martinez
c553de5216 Replace QRegExpValidator by QRegularExpressionValidator
And QRegExp by QRegularExpression, they were deprecated.
2024-01-16 14:56:01 -03:00
Alejandro Martinez
e95608e4bc QByteArray::append(const QString &str) a is deprecated
The Unicode data was converted into 8-bit characters using
QString::toUtf8(), now it must be explicit.
2024-01-16 14:38:19 -03:00
Alejandro Martinez
894eb421e3 QTableWidgetItem::setBackgroundColor is deprecated - adapt code 2024-01-16 14:11:00 -03:00
Alejandro Martinez
9761873d7a Merge branch 'replace_qdesktopwidget_usage' of https://github.com/andreasbuhr/GoldenCheetah into andreasbuhr-replace_qdesktopwidget_usage 2024-01-12 19:21:44 -03:00
Andreas Buhr
fbabe2aa36 Qt6: Add QRegExp include and adapt usage (#3960) 2024-01-12 10:39:20 -03:00
Andreas Buhr
d39a9f0c05 Replace QString::(Skip|Keep)EmptyParts by Qt::(Skip|Keep)EmptyParts (#3917)
QString::SkipEmptyParts and QString::KeepEmptyParts are deprecated,
they have been moved to the Qt:: namespace. This patch adapts
the code accordingly.
2024-01-08 21:05:00 -03:00
Andreas Buhr
85ab8211b0 Qt6: remove QDesktopWidget usage 2021-07-26 13:11:44 +02:00
Mark Liversedge
b738038907 Trends view perspective filter
.. applies to all charts in the perspective, so you can create
   a perspective called "Running" and set the filter to "isRun"
   and all charts in the perspective will only show data from
   runs.

.. updated charts on Trends view to honor the perspective
   filter, as below:

   * Overview
   * Trends
   * User Chart
   * Treemap
   * Critical Power
   * R Chart
   * Python Chart
   * Histogram - for metrics
   * Summary - no change as deprecating shortly

.. renamed the HomeView to TrendsView in line with some of the
   other recent name changes. The class names were set over 10
   years ago and no longer reflect the UI concepts.

.. New signal: GcWindow::perspectiveChanged(Perspective *)

   When the chart is moved from one perspective to another, likely does
   not need to do anything on Analysis view, but on Trends view its
   quite likely the filter has changed, so refresh is needed.

.. New signal: GcWindow::perspectiveFilterChanged(QString)

   When the perspective filter is updated this signal is called but
   only on trends view since it doesn't really matter on Analysis
   from the charts point of view.
2021-07-08 15:17:14 +01:00
Alejandro Martinez
43150e7c17 CloudDB sharing of Custom Metrics (#3370)
Upload/Download are similar to Export/Import in User Metrics config dialog.
Admin interfaces are similar to CloudDB charts for both user (edit/delete)
and curator (set curated/edit/delete).
Name and Description are initialized to the corresponding items for the metric
but both can be edited to provide different/more complete information for the
CloudDB interfase.
Fixes #3361
2020-03-26 15:03:44 -03:00
Ale Martinez
9e16d1dbf0 Map newlines to html <br> tags on CloudDB chart descriptions
When displayed on tableWidget, newlines are already preserved
across cloudDB interactions.
Fixes #3286
2020-01-05 13:41:33 -03:00
Ale Martinez
f83a367796 CloudDB chart upload - allow digits and hyphen but not underscore in domains
Issue reported at the forum
2019-07-19 10:32:28 -03:00
Ale Martinez
dd755386d3 CloudDB chart upload - allow subdomains in email address 2019-07-18 10:36:15 -03:00
Ale Martinez
55e9c5ed45 Fix copy paste error in previous commit 2018-04-20 18:46:55 -03:00
Ale Martinez
8b10ebc96e CloudDB Download - Warn the user dowloading a Python chart if Python inactive
Same logic as the one existing for R charts
2018-04-20 15:05:21 -03:00
Mark Liversedge
94052523e2 Hi-DPI Support - CloudDB Charts 2017-03-13 15:13:22 +00:00
Joern
17f3a1576c CloudDB - Chart Curation/User Editing
... fix misleading text that only charts of the current view are editable, while in this modes all charts are editable.
2017-02-19 18:11:46 +01:00
Joern
7fe1ccd274 CloudDB - Curation/Editing
... keep current position in paging through the list of charts if nothing has been changed
2017-02-12 15:01:16 +01:00
Mark Liversedge
39ef343b6f Merge pull request #2286 from Joern-R/CDB1
CloudDB - new features
2017-01-08 18:43:27 +00:00
Mark Liversedge
98129640d4 Default to curated only on chartDB download 2017-01-08 14:24:49 +00:00
Joern
5a18bbb501 CloudDB - Telemetry
... add user permission dialog
... add telemetry update call
2017-01-04 19:48:58 +01:00
Joern
fa4f6fe672 CloudDB - Download Counter Statistik
... count charts downloaded from CloudDB
2017-01-03 18:13:39 +01:00
Joern
9f90bccc0e CloudDB - Chart Caching
... create Caching Root Directory if not yet existing
2016-12-28 17:11:32 +01:00
Joern
e1940607ba CloudDB Upload/Download improvements
... do not allow Upload of charts containing User Metrics (as they will not work for other users)
... do not allow Upload of trivial charts (without configuration) - as they do not provide any value for others
... when downloading "R" charts - check if R is active - if not, inform the user that he/she needs R for the chart to work
2016-12-10 13:09:58 +01:00
Joern
4687979d84 Merge pull request #1991 from Joern-R/View1
CloudDB - Charts
2016-06-09 07:18:49 +02:00
Joern
33cc570830 CloudDB - Charts
... show description of view (Trends,...) in the counter string
    so that a user understand the different between the available
    and total upload counter
2016-06-05 14:24:31 +02:00
Joern
e9beefe69b CloudDB - only one Nickname in GC
... re-use existing Nickname from Athlete preferences
2016-06-05 13:56:36 +02:00
Joern
9d97fecf1c CloudDB - Popups - Cosmetics
... align terminology (upload/download vs. import/publish)
... make pushbuttons right-aligned (in sync with most GC dialogs)
... ask for confirmation before finally deleting a chart from CloudDB
2016-05-30 19:46:26 +02:00
Joern
767156cec9 Fix CI compile errors - CloudDB - gchart
... and remove unused test variables
2016-05-29 18:37:45 +02:00
Joern
3205a956fd CloudDB - gChart support
... add "Sport" metadata as filter option
... move "Import" from main menue to "add chart"
... make chart lists context sensitive on home, activities and diary
... import directly - without extra dialog
2016-05-29 18:12:21 +02:00
Joern
6fb832a142 CloudDB - add .gchart Support
... add export support for the new .gchart format (allowing to post all chart types to CloudDB)
... add import in main menu for the new .gchart format
... allow to import multiple charts at once

... remove specific LTM Chart support (menu, db,... -since this is covered by general .gchart format)
2016-05-28 12:03:05 +02:00
Mark Liversedge
4b5201c4c5 Restructure source directory
Introducing a directory structure to make it a bit less
daunting for new developers and perhaps even old hands.

The main folders all start with an upper character, so src
files are now located in;

* Core - Core data structures
* Gui - Main GUI elements
* Metrics - Models and Metrics
* FileIO - Device and File I/O
* Charts - All the chart types
* Cloud - Working with Web Resources
* Train - Anything Train View specific
* ANT - Our ANT+ Stack
* Resources - Images, Translations, Web etc

Apologies to anyone who needs to merge across this update.
2016-02-25 14:51:53 +00:00