Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
extensions.typo3.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
services
T
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
0eb27e48
Commit
0eb27e48
authored
Nov 03, 2017
by
Thomas Löffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Append Service to all service classes
parent
623411ac
Pipeline
#2768
passed with stages
in 3 minutes and 57 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
18 additions
and
18 deletions
+18
-18
html/typo3conf/ext/ter_fe2/Classes/Controller/AbstractTerBasedController.php
...ter_fe2/Classes/Controller/AbstractTerBasedController.php
+3
-3
html/typo3conf/ext/ter_fe2/Classes/Controller/ExtensionController.php
...nf/ext/ter_fe2/Classes/Controller/ExtensionController.php
+2
-2
html/typo3conf/ext/ter_fe2/Classes/Provider/MirrorProvider.php
...typo3conf/ext/ter_fe2/Classes/Provider/MirrorProvider.php
+2
-2
html/typo3conf/ext/ter_fe2/Classes/Provider/SoapProvider.php
html/typo3conf/ext/ter_fe2/Classes/Provider/SoapProvider.php
+2
-2
html/typo3conf/ext/ter_fe2/Classes/Service/DocumentationService.php
...conf/ext/ter_fe2/Classes/Service/DocumentationService.php
+1
-1
html/typo3conf/ext/ter_fe2/Classes/Service/FlattrService.php
html/typo3conf/ext/ter_fe2/Classes/Service/FlattrService.php
+1
-1
html/typo3conf/ext/ter_fe2/Classes/Service/MirrorService.php
html/typo3conf/ext/ter_fe2/Classes/Service/MirrorService.php
+1
-1
html/typo3conf/ext/ter_fe2/Classes/Service/SoapService.php
html/typo3conf/ext/ter_fe2/Classes/Service/SoapService.php
+1
-1
html/typo3conf/ext/ter_fe2/Classes/Service/TerService.php
html/typo3conf/ext/ter_fe2/Classes/Service/TerService.php
+3
-3
html/typo3conf/ext/ter_fe2/Classes/Solr/Indexqueue/TerIndexer.php
...o3conf/ext/ter_fe2/Classes/Solr/Indexqueue/TerIndexer.php
+2
-2
No files found.
html/typo3conf/ext/ter_fe2/Classes/Controller/AbstractTerBasedController.php
View file @
0eb27e48
...
...
@@ -26,7 +26,7 @@ abstract class AbstractTerBasedController extends \T3o\TerFe2\Controller\Abstrac
protected
$frontendUser
=
array
();
/**
* @var \T3o\TerFe2\Service\Ter
* @var \T3o\TerFe2\Service\Ter
Service
*/
protected
$terConnection
;
...
...
@@ -97,7 +97,7 @@ abstract class AbstractTerBasedController extends \T3o\TerFe2\Controller\Abstrac
/**
* Create a connection to the TER server
*
* @return \T3o\TerFe2\Service\Ter The TER connection
* @return \T3o\TerFe2\Service\Ter
Service
The TER connection
* @throws \Exception
*/
protected
function
getTerConnection
()
...
...
@@ -113,6 +113,6 @@ abstract class AbstractTerBasedController extends \T3o\TerFe2\Controller\Abstrac
// Create connection
$wsdl
=
$this
->
terSettings
[
'wsdl'
];
return
$this
->
objectManager
->
get
(
\
T3o\TerFe2\Service\Ter
::
class
,
$wsdl
,
$this
->
terAccount
[
'username'
],
$this
->
terAccount
[
'password'
],
$this
->
terSettings
[
'httpAuth'
]);
return
$this
->
objectManager
->
get
(
\
T3o\TerFe2\Service\Ter
Service
::
class
,
$wsdl
,
$this
->
terAccount
[
'username'
],
$this
->
terAccount
[
'password'
],
$this
->
terSettings
[
'httpAuth'
]);
}
}
html/typo3conf/ext/ter_fe2/Classes/Controller/ExtensionController.php
View file @
0eb27e48
...
...
@@ -195,8 +195,8 @@ class ExtensionController extends \T3o\TerFe2\Controller\AbstractController
$this
->
view
->
assign
(
'extension'
,
$extension
);
$this
->
view
->
assign
(
'versionHistory'
,
$versionHistory
);
/** @var \T3o\TerFe2\Service\Documentation $documentationService */
$documentationService
=
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
makeInstance
(
\
T3o\TerFe2\Service\Documentation
::
class
);
/** @var \T3o\TerFe2\Service\Documentation
Service
$documentationService */
$documentationService
=
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
makeInstance
(
\
T3o\TerFe2\Service\Documentation
Service
::
class
);
$documentationLink
=
$documentationService
->
getDocumentationLink
(
$extension
->
getExtKey
(),
$extension
->
getLastVersion
()
->
getVersionString
());
$this
->
view
->
assign
(
'documentationLink'
,
$documentationLink
);
...
...
html/typo3conf/ext/ter_fe2/Classes/Provider/MirrorProvider.php
View file @
0eb27e48
...
...
@@ -21,7 +21,7 @@ class MirrorProvider extends \T3o\TerFe2\Provider\FileProvider
{
/**
* @var \T3o\TerFe2\Service\Mirror
* @var \T3o\TerFe2\Service\Mirror
Service
*/
protected
$mirrorService
;
...
...
@@ -53,7 +53,7 @@ class MirrorProvider extends \T3o\TerFe2\Provider\FileProvider
}
// Get mirror service
$this
->
mirrorService
=
$this
->
objectManager
->
get
(
\
T3o\TerFe2\Service\Mirror
::
class
);
$this
->
mirrorService
=
$this
->
objectManager
->
get
(
\
T3o\TerFe2\Service\Mirror
Service
::
class
);
$this
->
mirrorService
->
setRepositoryId
(
$repositoryId
);
}
...
...
html/typo3conf/ext/ter_fe2/Classes/Provider/SoapProvider.php
View file @
0eb27e48
...
...
@@ -41,7 +41,7 @@ class SoapProvider extends \T3o\TerFe2\Provider\AbstractProvider
protected
$getDownloadCountFunc
;
/**
* @var \T3o\TerFe2\Service\Soap
* @var \T3o\TerFe2\Service\Soap
Service
*/
protected
$soapService
;
...
...
@@ -62,7 +62,7 @@ class SoapProvider extends \T3o\TerFe2\Provider\AbstractProvider
$password
=
(
empty
(
$this
->
configuration
[
'password'
])
?
$this
->
configuration
[
'password'
]
:
''
);
$httpAuth
[
'login'
]
=
$this
->
configuration
[
'httpAuth'
][
'login'
]
?:
''
;
$httpAuth
[
'password'
]
=
$this
->
configuration
[
'httpAuth'
][
'password'
]
?:
''
;
$this
->
soapService
=
$this
->
objectManager
->
get
(
\
T3o\TerFe2\Service\Soap
::
class
);
$this
->
soapService
=
$this
->
objectManager
->
get
(
\
T3o\TerFe2\Service\Soap
Service
::
class
);
$this
->
soapService
->
connect
(
$this
->
configuration
[
'wsdlUrl'
],
$username
,
$password
,
$httpAuth
);
// Set getExtensionsFunc
...
...
html/typo3conf/ext/ter_fe2/Classes/Service/Documentation.php
→
html/typo3conf/ext/ter_fe2/Classes/Service/Documentation
Service
.php
View file @
0eb27e48
...
...
@@ -20,7 +20,7 @@ namespace T3o\TerFe2\Service;
* @package TerFe2
* @author Thomas Löffler <thomas.loeffler@typo3.org>
*/
class
Documentation
implements
\
TYPO3\CMS\Core\SingletonInterface
class
Documentation
Service
implements
\
TYPO3\CMS\Core\SingletonInterface
{
/**
...
...
html/typo3conf/ext/ter_fe2/Classes/Service/Flattr.php
→
html/typo3conf/ext/ter_fe2/Classes/Service/Flattr
Service
.php
View file @
0eb27e48
...
...
@@ -17,7 +17,7 @@ namespace T3o\TerFe2\Service;
/**
* Service for flattr buttons
*/
class
Flattr
implements
\
TYPO3\CMS\Core\SingletonInterface
class
Flattr
Service
implements
\
TYPO3\CMS\Core\SingletonInterface
{
/**
...
...
html/typo3conf/ext/ter_fe2/Classes/Service/Mirror.php
→
html/typo3conf/ext/ter_fe2/Classes/Service/Mirror
Service
.php
View file @
0eb27e48
...
...
@@ -17,7 +17,7 @@ namespace T3o\TerFe2\Service;
/**
* Service to handle mirrors
*/
class
Mirror
implements
\
TYPO3\CMS\Core\SingletonInterface
class
Mirror
Service
implements
\
TYPO3\CMS\Core\SingletonInterface
{
/**
...
...
html/typo3conf/ext/ter_fe2/Classes/Service/Soap.php
→
html/typo3conf/ext/ter_fe2/Classes/Service/Soap
Service
.php
View file @
0eb27e48
...
...
@@ -17,7 +17,7 @@ namespace T3o\TerFe2\Service;
/**
* Service to handle soap requests
*/
class
Soap
implements
\
TYPO3\CMS\Core\SingletonInterface
class
Soap
Service
implements
\
TYPO3\CMS\Core\SingletonInterface
{
/**
...
...
html/typo3conf/ext/ter_fe2/Classes/Service/Ter.php
→
html/typo3conf/ext/ter_fe2/Classes/Service/Ter
Service
.php
View file @
0eb27e48
...
...
@@ -17,7 +17,7 @@ namespace T3o\TerFe2\Service;
/**
* Service for TER operations
*/
class
Ter
class
Ter
Service
{
/**
...
...
@@ -36,7 +36,7 @@ class Ter
protected
$objectManager
;
/**
* @var \T3o\TerFe2\Service\Soap
* @var \T3o\TerFe2\Service\Soap
Service
*/
protected
$soapService
;
...
...
@@ -57,7 +57,7 @@ class Ter
'password'
=>
$password
,
);
$objectManager
=
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
makeInstance
(
\
TYPO3\CMS\Extbase\Object\ObjectManager
::
class
);
$this
->
soapService
=
$objectManager
->
get
(
\
T3o\TerFe2\Service\Soap
::
class
);
$this
->
soapService
=
$objectManager
->
get
(
\
T3o\TerFe2\Service\Soap
Service
::
class
);
$this
->
soapService
->
connect
(
$this
->
wsdlUrl
,
''
,
''
,
true
,
$httpAuth
);
}
...
...
html/typo3conf/ext/ter_fe2/Classes/Solr/Indexqueue/TerIndexer.php
View file @
0eb27e48
...
...
@@ -119,8 +119,8 @@ class TerIndexer extends \ApacheSolrForTypo3\Solr\IndexQueue\Indexer
$document
->
setField
(
'extensionIcon_stringS'
,
$extensionIcon
);
// add documentation link
/** @var \T3o\TerFe2\Service\Documentation $documentationService */
$documentationService
=
GeneralUtility
::
makeInstance
(
\
T3o\TerFe2\Service\Documentation
::
class
);
/** @var \T3o\TerFe2\Service\Documentation
Service
$documentationService */
$documentationService
=
GeneralUtility
::
makeInstance
(
\
T3o\TerFe2\Service\Documentation
Service
::
class
);
$documentationLink
=
$documentationService
->
getDocumentationLink
(
$extension
->
getExtKey
(),
$extension
->
getLastVersion
()
->
getVersionString
(),
true
);
$document
->
setField
(
'extensionDocumentationLink_stringS'
,
$documentationLink
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment