cosmetic changes caused by site moving

This commit is contained in:
Evgenii Alekseev 2017-02-02 23:12:19 +03:00
parent 6a24fc3f63
commit 9543122816
5 changed files with 6 additions and 8 deletions

View File

@ -138,7 +138,6 @@ void AWTelemetryHandler::uploadTelemetry(const QString group,
SLOT(telemetryReplyRecieved(QNetworkReply *))); SLOT(telemetryReplyRecieved(QNetworkReply *)));
QUrl url(REMOTE_TELEMETRY_URL); QUrl url(REMOTE_TELEMETRY_URL);
url.setPort(REMOTE_TELEMETRY_PORT);
QNetworkRequest request(url); QNetworkRequest request(url);
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json"); request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");

View File

@ -31,8 +31,7 @@ class AWTelemetryHandler : public QObject
Q_OBJECT Q_OBJECT
public: public:
const char *REMOTE_TELEMETRY_URL = "http://arcanis.me/telemetry"; const char *REMOTE_TELEMETRY_URL = "https://arcanis.me/telemetry";
const int REMOTE_TELEMETRY_PORT = 8080;
explicit AWTelemetryHandler(QObject *parent = nullptr, explicit AWTelemetryHandler(QObject *parent = nullptr,
const QString clientId = QString()); const QString clientId = QString());

View File

@ -28,8 +28,8 @@ class OWMWeatherProvider : public AbstractWeatherProvider
public: public:
// we are using own server to pass requests to OpenWeatherMap because it // we are using own server to pass requests to OpenWeatherMap because it
// requires specific APPID which belongs to developer not user // requires specific APPID which belongs to developer not user
const char *OWM_WEATHER_URL = "http://arcanis.me/weather"; const char *OWM_WEATHER_URL = "https://arcanis.me/weather";
const char *OWM_FORECAST_URL = "http://arcanis.me/forecast"; const char *OWM_FORECAST_URL = "https://arcanis.me/forecast";
explicit OWMWeatherProvider(QObject *parent, const int number); explicit OWMWeatherProvider(QObject *parent, const int number);
virtual ~OWMWeatherProvider(); virtual ~OWMWeatherProvider();

View File

@ -49,7 +49,7 @@ void TestAWBugReporter::test_generateText()
void TestAWBugReporter::test_sendBugReport() void TestAWBugReporter::test_sendBugReport()
{ {
QSignalSpy spy(plugin, SIGNAL(replyReceived(bool, QString))); QSignalSpy spy(plugin, SIGNAL(replyReceived(int, QString)));
plugin->sendBugReport( plugin->sendBugReport(
AWTestLibrary::randomString(), AWTestLibrary::randomString(),
plugin->generateText(data.at(0), data.at(1), data.at(2), data.at(3))); plugin->generateText(data.at(0), data.at(1), data.at(2), data.at(3)));

View File

@ -66,7 +66,7 @@ const char STATIC_KEYS[]
#cmakedefine BUILD_TESTING #cmakedefine BUILD_TESTING
// links // links
const char HOMEPAGE[] = "https://arcanis.me/projects/awesome-widgets/"; const char HOMEPAGE[] = "https://arcanis.me/projects/awesome-widgets";
const char REPOSITORY[] = "https://github.com/arcan1s/awesome-widgets"; const char REPOSITORY[] = "https://github.com/arcan1s/awesome-widgets";
const char RELEASES[] const char RELEASES[]
= "https://github.com/arcan1s/awesome-widgets/releases/tag/V."; = "https://github.com/arcan1s/awesome-widgets/releases/tag/V.";
@ -74,7 +74,7 @@ const char VERSION_API[]
= "https://api.github.com/repos/arcan1s/awesome-widgets/releases"; = "https://api.github.com/repos/arcan1s/awesome-widgets/releases";
const char BUGTRACKER[] = "https://github.com/arcan1s/awesome-widgets/issues"; const char BUGTRACKER[] = "https://github.com/arcan1s/awesome-widgets/issues";
const char BUGTRACKER_API[] const char BUGTRACKER_API[]
= "http://arcanis.me/repos/arcan1s/awesome-widgets/issues"; = "https://arcanis.me/repos/arcan1s/awesome-widgets/issues";
const char TRANSLATION[] const char TRANSLATION[]
= "https://github.com/arcan1s/awesome-widgets/issues/14"; = "https://github.com/arcan1s/awesome-widgets/issues/14";
const char AUR_PACKAGES[] const char AUR_PACKAGES[]