mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Deprecate Twitter support
.. move the twitter dialog into the deprecated folder .. remove all remaining references to twitter
This commit is contained in:
@@ -84,7 +84,6 @@ private slots:
|
||||
void onSslErrors(QNetworkReply *reply, const QList<QSslError>&error);
|
||||
|
||||
#ifdef GC_HAVE_KQOAUTH
|
||||
// Twitter OAUTH
|
||||
void onTemporaryTokenReceived(QString, QString);
|
||||
void onAuthorizationReceived(QString, QString);
|
||||
void onAccessTokenReceived(QString token, QString tokenSecret);
|
||||
|
||||
@@ -712,8 +712,6 @@ GSettings::upgradeAthlete(QString athlete) {
|
||||
migrateCValue(athlete, GC_DVPASS);
|
||||
migrateCValue(athlete, GC_DVCALDAVTYPE);
|
||||
migrateCValue(athlete, GC_DVGOOGLE_CALID);
|
||||
migrateCValue(athlete, GC_TWITTER_TOKEN);
|
||||
migrateCValue(athlete, GC_TWITTER_SECRET);
|
||||
migrateCValue(athlete, GC_GOOGLE_CALENDAR_REFRESH_TOKEN);
|
||||
migrateCValue(athlete, GC_STRAVA_TOKEN);
|
||||
migrateCValue(athlete, GC_CYCLINGANALYTICS_TOKEN);
|
||||
|
||||
@@ -35,9 +35,6 @@
|
||||
#define GC_UNIT_METRIC "Metric"
|
||||
#define GC_UNIT_IMPERIAL "Imperial"
|
||||
|
||||
//Twitter oauth keys / see also Athlete parameter
|
||||
#define GC_TWITTER_CONSUMER_KEY "qbbmhDt8bG8ZBcT3r9nYw" //< consumer key
|
||||
|
||||
//Google Calendar-CALDAV oauthkeys / see also Athlete parameter
|
||||
#define GC_GOOGLE_CALENDAR_CLIENT_ID "426009671216-c588t1u6hafep30tfs7g0g1nuo72s8ko.apps.googleusercontent.com"
|
||||
|
||||
@@ -286,9 +283,11 @@
|
||||
#define GC_DVCALDAVTYPE "<athlete-private>dv/type"
|
||||
#define GC_DVGOOGLE_CALID "<athlete-private>dv/googlecalid"
|
||||
#define GC_DVGOOGLE_DRIVE "<athlete-private>dv/googledrive"
|
||||
//Twitter oauth keys
|
||||
//Dropbox oauth keys
|
||||
#define GC_DROPBOX_TOKEN "<athlete-private>dropbox/token"
|
||||
#define GC_DROPBOX_FOLDER "<athlete-private>dropbox/folder"
|
||||
|
||||
//Google oauth keys
|
||||
#define GC_GOOGLE_DRIVE_AUTH_SCOPE "<athlete-private>google-drive/auth_scope"
|
||||
#define GC_GOOGLE_DRIVE_ACCESS_TOKEN "<athlete-private>google-drive/access_token"
|
||||
#define GC_GOOGLE_DRIVE_REFRESH_TOKEN "<athlete-private>google-drive/refresh_token"
|
||||
@@ -296,9 +295,6 @@
|
||||
|
||||
#define GC_GOOGLE_DRIVE_FOLDER "<athlete-private>google-drive/folder"
|
||||
#define GC_GOOGLE_DRIVE_FOLDER_ID "<athlete-private>google-drive/folder_id"
|
||||
//Twitter
|
||||
#define GC_TWITTER_TOKEN "<athlete-private>twitter_token"
|
||||
#define GC_TWITTER_SECRET "<athlete-private>twitter_secret"
|
||||
//Withings
|
||||
#define GC_WITHINGS_TOKEN "<athlete-private>withings_token"
|
||||
#define GC_WITHINGS_SECRET "<athlete-private>withings_secret"
|
||||
|
||||
@@ -65,9 +65,6 @@
|
||||
#include "MergeActivityWizard.h"
|
||||
#include "GenerateHeatMapDialog.h"
|
||||
#include "BatchExportDialog.h"
|
||||
#ifdef GC_HAVE_KQOAUTH
|
||||
#include "TwitterDialog.h"
|
||||
#endif
|
||||
#include "ShareDialog.h"
|
||||
#include "TodaysPlan.h"
|
||||
#include "BodyMeasuresDownload.h"
|
||||
|
||||
@@ -323,13 +323,6 @@ unix:!macx {
|
||||
}
|
||||
}
|
||||
|
||||
# if we have it we can add twitter support
|
||||
contains(DEFINES, "GC_HAVE_KQOAUTH") {
|
||||
SOURCES += Cloud/TwitterDialog.cpp
|
||||
HEADERS += Cloud/TwitterDialog.h
|
||||
}
|
||||
|
||||
|
||||
###=======================================================
|
||||
### OPTIONAL => D2XX FOR FTDI DRIVERS ON WINDOWS PLATFORMS
|
||||
###=======================================================
|
||||
|
||||
Reference in New Issue
Block a user