mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	remove app uuid
This hasn't been used on the backend in a long time (and appears to get stripped out on several platforms). No point in keeping it around. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									ef35c3e8cb
								
							
						
					
					
						commit
						0a46068501
					
				
					 4 changed files with 1 additions and 17 deletions
				
			
		|  | @ -42,7 +42,6 @@ bool CheckCloudConnection::checkServer() | |||
| 		QNetworkRequest request; | ||||
| 		request.setRawHeader("Accept", "text/plain"); | ||||
| 		request.setRawHeader("User-Agent", getUserAgent().toUtf8()); | ||||
| 		request.setRawHeader("Client-Id", getUUID().toUtf8()); | ||||
| 		request.setUrl(QString(prefs.cloud_base_url) + TEAPOT); | ||||
| 		reply = mgr->get(request); | ||||
| 		QTimer timer; | ||||
|  |  | |||
|  | @ -1451,19 +1451,6 @@ void init_proxy() | |||
| 	QNetworkProxy::setApplicationProxy(proxy); | ||||
| } | ||||
| 
 | ||||
| QString getUUID() | ||||
| { | ||||
| 	QString uuidString; | ||||
| 	uuidString = qPrefUpdateManager::uuidString(); | ||||
| 	if (uuidString != "") { | ||||
| 		QUuid uuid = QUuid::createUuid(); | ||||
| 		uuidString = uuid.toString(); | ||||
| 		qPrefUpdateManager::set_uuidString(uuidString); | ||||
| 	} | ||||
| 	uuidString.replace("{", "").replace("}", ""); | ||||
| 	return uuidString; | ||||
| } | ||||
| 
 | ||||
| void parse_seabear_header(const char *filename, struct xml_params *params) | ||||
| { | ||||
| 	QFile f(filename); | ||||
|  |  | |||
|  | @ -44,7 +44,6 @@ QString localFilePath(const QString &originalFilename); | |||
| int getCloudURL(QString &filename); | ||||
| bool parseGpsText(const QString &gps_text, double *latitude, double *longitude); | ||||
| void init_proxy(); | ||||
| QString getUUID(); | ||||
| QStringList getWaterTypesAsString(); | ||||
| extern const QStringList videoExtensionsList; | ||||
| QStringList mediaExtensionFilters(); | ||||
|  |  | |||
|  | @ -41,8 +41,7 @@ void UpdateManager::checkForUpdates(bool automatic) | |||
| #endif | ||||
| 	isAutomaticCheck = automatic; | ||||
| 	QString version = subsurface_canonical_version(); | ||||
| 	QString uuidString = getUUID(); | ||||
| 	QString url = QString("http://updatecheck.subsurface-divelog.org/updatecheck.html?os=%1&version=%2&uuid=%3").arg(os, version, uuidString); | ||||
| 	QString url = QString("http://updatecheck.subsurface-divelog.org/updatecheck.html?os=%1&version=%2").arg(os, version); | ||||
| 	QNetworkRequest request; | ||||
| 	request.setUrl(url); | ||||
| 	request.setRawHeader("Accept", "text/xml"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue