Project

General

Profile

Actions

Feature #17988

closed

EM should send TYPO3 version when connecting to TER

Added by Ingo Renner almost 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
-
Start date:
2008-01-13
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

When the EM connects to the TER to fetch extensions or translations it currently does that without sending the TYPO3 version.

Having the TYPO3 version at hand it would be easy to change the TER in a way that f.e. only translations specific for a certain TYPO3 version are send.

This could also be used to track how many installations of which version of TYPO3 are installed out there. This again could ease decisions about backwards-compatibility or what not.

class.em_soap.php needs to get adjusted
(issue imported from #M7140)


Files

7140.patch (5.61 KB) 7140.patch Administrator Admin, 2008-02-29 16:57
useragent.diff (8.94 KB) useragent.diff Administrator Admin, 2008-03-03 12:16

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22926: EM translation handling fails in 4.1.13ClosedChris topher2010-06-18

Actions
Actions #1

Updated by Ingo Renner almost 17 years ago

The EM should juts send a HTTP header like this:

$version = explode('.', TYPO3_version);
unset($version2);
$version = implode($version, '.');

$header = 'User-Agent: TYPO3/'.$version;

Actions #2

Updated by Ingo Renner almost 17 years ago

an additional xml fragment might be possible, too

<UserAgent>TYPO3/$version</UserAgent>

Actions #3

Updated by Benni Mack over 16 years ago

Could we get this in 4.2 still? And maybe in 4.1 and 4.0 too ?

Actions #4

Updated by Ingo Renner over 16 years ago

sure, if you find out how =)

Actions #5

Updated by Niels Pardon over 16 years ago

Patch above sends an HTML-header with e.g. "User-Agent: TYPO3/4.2-dev" in case of:

- an extension is fetched
- a translation is fetched
- a translation status is fetched
- any meta data is fetched

Actions #6

Updated by Ingo Renner over 16 years ago

committed to SVN

Actions

Also available in: Atom PDF