Skip to content

Commit 7b5be5d

Browse files
committed
Version 6.0.5
1 parent dd63f0f commit 7b5be5d

16 files changed

Lines changed: 76 additions & 127 deletions

File tree

Classes/Controller/SessionController.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,14 +1305,8 @@ protected function addDocHeaderDropDown(string $currentAction): void
13051305
$this->moduleTemplate->getDocHeaderComponent()->getMenuRegistry()->addMenu($actionMenu);
13061306
}
13071307

1308-
protected function getModuleUri(string $action = null, array $additionalPramaters = []): string
1308+
protected function getModuleUri(?string $action = null): string
13091309
{
1310-
$parameters = [
1311-
'id' => $this->id,
1312-
];
1313-
if ($action !== null) {
1314-
$parameters['action'] = $action;
1315-
}
13161310
return $this->uriBuilder->uriFor($action, null, 'Session', 'mod1');
13171311
}
13181312
}

Classes/Domain/Model/BackendUser.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class BackendUser extends AbstractEntity
3030
{
3131
/**
3232
* @var string
33-
* @Extbase\Validate("NotEmpty")
3433
*/
34+
#[Extbase\Validate(['validator' => 'NotEmpty'])]
3535
protected $userName = '';
3636

3737
/**
@@ -100,7 +100,7 @@ class BackendUser extends AbstractEntity
100100
/**
101101
* @param string $allowedLanguages
102102
*/
103-
public function setAllowedLanguages($allowedLanguages)
103+
public function setAllowedLanguages($allowedLanguages): void
104104
{
105105
$this->allowedLanguages = $allowedLanguages;
106106
}
@@ -116,7 +116,7 @@ public function getAllowedLanguages()
116116
/**
117117
* @param string $dbMountPoints
118118
*/
119-
public function setDbMountPoints($dbMountPoints)
119+
public function setDbMountPoints($dbMountPoints): void
120120
{
121121
$this->dbMountPoints = $dbMountPoints;
122122
}
@@ -132,7 +132,7 @@ public function getDbMountPoints()
132132
/**
133133
* @param string $fileMountPoints
134134
*/
135-
public function setFileMountPoints($fileMountPoints)
135+
public function setFileMountPoints($fileMountPoints): void
136136
{
137137
$this->fileMountPoints = $fileMountPoints;
138138
}
@@ -162,7 +162,7 @@ public function isActive()
162162
/**
163163
* @param ObjectStorage<BackendUserGroup> $backendUserGroups
164164
*/
165-
public function setBackendUserGroups($backendUserGroups)
165+
public function setBackendUserGroups($backendUserGroups): void
166166
{
167167
$this->backendUserGroups = $backendUserGroups;
168168
}
@@ -215,7 +215,7 @@ public function getUserName()
215215
*
216216
* @param string $userName the user name to set, must not be empty
217217
*/
218-
public function setUserName($userName)
218+
public function setUserName($userName): void
219219
{
220220
$this->userName = $userName;
221221
}
@@ -231,7 +231,7 @@ public function getDescription()
231231
/**
232232
* @param string $description
233233
*/
234-
public function setDescription($description)
234+
public function setDescription($description): void
235235
{
236236
$this->description = $description;
237237
}
@@ -251,7 +251,7 @@ public function getIsAdministrator()
251251
*
252252
* @param bool $isAdministrator whether this user should be an administrator
253253
*/
254-
public function setIsAdministrator($isAdministrator)
254+
public function setIsAdministrator($isAdministrator): void
255255
{
256256
$this->isAdministrator = $isAdministrator;
257257
}
@@ -271,7 +271,7 @@ public function getIsDisabled()
271271
*
272272
* @param bool $isDisabled whether this user is disabled
273273
*/
274-
public function setIsDisabled($isDisabled)
274+
public function setIsDisabled($isDisabled): void
275275
{
276276
$this->isDisabled = $isDisabled;
277277
}
@@ -291,7 +291,7 @@ public function getStartDateAndTime()
291291
*
292292
* @param \DateTime|null $dateAndTime the start date and time
293293
*/
294-
public function setStartDateAndTime(?\DateTime $dateAndTime = null)
294+
public function setStartDateAndTime(?\DateTime $dateAndTime = null): void
295295
{
296296
$this->startDateAndTime = $dateAndTime;
297297
}
@@ -311,7 +311,7 @@ public function getEndDateAndTime()
311311
*
312312
* @param \DateTime|null $dateAndTime the end date and time
313313
*/
314-
public function setEndDateAndTime(?\DateTime $dateAndTime = null)
314+
public function setEndDateAndTime(?\DateTime $dateAndTime = null): void
315315
{
316316
$this->endDateAndTime = $dateAndTime;
317317
}
@@ -331,7 +331,7 @@ public function getEmail()
331331
*
332332
* @param string $email the e-mail address, may be empty
333333
*/
334-
public function setEmail($email)
334+
public function setEmail($email): void
335335
{
336336
$this->email = $email;
337337
}
@@ -351,7 +351,7 @@ public function getRealName()
351351
*
352352
* @param string $name the user's real name, may be empty.
353353
*/
354-
public function setRealName($name)
354+
public function setRealName($name): void
355355
{
356356
$this->realName = $name;
357357
}
@@ -411,7 +411,7 @@ public function getLastLoginDateAndTime()
411411
*
412412
* @param \DateTime|null $dateAndTime this user's last login date and time
413413
*/
414-
public function setLastLoginDateAndTime(?\DateTime $dateAndTime = null)
414+
public function setLastLoginDateAndTime(?\DateTime $dateAndTime = null): void
415415
{
416416
$this->lastLoginDateAndTime = $dateAndTime;
417417
}

Documentation/Changelog/Index.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
.. ==================================================
2-
.. FOR YOUR INFORMATION
3-
.. --------------------------------------------------
4-
.. -*- coding: utf-8 -*- with BOM.
5-
6-
.. include:: ../Includes.txt
7-
1+
.. include:: /Includes.rst.txt
82

93
.. _changelog:
104

115
Changelog
126
=========
7+
Version 6.0.5:
8+
Refactoring, Documentation.
9+
1310
Version 6.0.3:
1411
Access of the module changed from invalid value to "admin".
1512
Dashboard requirement removed. TYPO3 requirement changed from 12.5 to 12.4.
@@ -82,4 +79,4 @@ Bugfix: icons for TYPO3 10.
8279
Version 2.0:
8380
Refactoring: large modification of the queries.
8481
FE-links: domain + language entry point added, L removed.
85-
Link added to all page-titles + the csv-view.
82+
Link added to all page-titles + the csv-view.
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
.. ==================================================
2-
.. FOR YOUR INFORMATION
3-
.. --------------------------------------------------
4-
.. -*- coding: utf-8 -*- with BOM.
5-
61
.. This is 'Includes.txt'. It is included at the very top of each and
72
every ReST source file in this documentation project (= manual).
83

Documentation/Index.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
.. ==================================================
2-
.. FOR YOUR INFORMATION
3-
.. --------------------------------------------------
4-
.. -*- coding: utf-8 -*- with BOM.
5-
6-
.. include:: Includes.txt
1+
.. include:: /Includes.rst.txt
72

83
.. _start:
94

105
=============================================================
11-
Backend tools
6+
Newsletter subscriber management
127
=============================================================
138

149
.. only:: html
@@ -29,18 +24,21 @@ Backend tools
2924
backend,tools,extensions
3025

3126
:Copyright:
32-
2024
27+
2025
3328

3429
:Author:
3530
Kurt Gusbeth
3631

3732
:License:
3833
This document is published under the Open Content License
39-
available from https://www.opencontent.org/opl.shtml
34+
available from http://www.opencontent.org/opl.shtml
4035

4136
:Rendered:
4237
|today|
4338

39+
:Documentation:
40+
`english Version <https://docs.typo3.org/p/fixpunkt/backendtools/main/en-us/>`_
41+
4442
The content of this document is related to TYPO3,
4543
a GNU/GPL CMS/Framework available from `www.typo3.org <https://www.typo3.org/>`_.
4644

Documentation/Introduction/Index.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
.. ==================================================
2-
.. FOR YOUR INFORMATION
3-
.. --------------------------------------------------
4-
.. -*- coding: utf-8 -*- with BOM.
5-
6-
.. include:: ../Includes.txt
7-
1+
.. include:: /Includes.rst.txt
82

93
.. _introduction:
104

@@ -58,19 +52,19 @@ Screenshots
5852

5953
Some screenshots from the backend module.
6054

61-
.. figure:: ../Images/backendtools1.jpg
55+
.. figure:: /Images/backendtools1.jpg
6256
:width: 712px
6357
:alt: Resized Screenshot 1 of the Backendtools
6458

65-
.. figure:: ../Images/backendtools2.jpg
59+
.. figure:: /Images/backendtools2.jpg
6660
:width: 700px
6761
:alt: Resized Screenshot 2 of the Backendtools
6862

69-
.. figure:: ../Images/backendtools3.jpg
63+
.. figure:: /Images/backendtools3.jpg
7064
:width: 712px
7165
:alt: Resized Screenshot 3 of the Backendtools
7266

73-
.. figure:: ../Images/backendtools4.jpg
67+
.. figure:: /Images/backendtools4.jpg
7468
:width: 654px
7569
:alt: Screenshot 4 of the Backendtools
7670

Documentation/Settings.cfg

Lines changed: 0 additions & 37 deletions
This file was deleted.

Documentation/User/Index.rst

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
.. ==================================================
2-
.. FOR YOUR INFORMATION
3-
.. --------------------------------------------------
4-
.. -*- coding: utf-8 -*- with BOM.
5-
6-
.. include:: ../Includes.txt
7-
1+
.. include:: /Includes.rst.txt
82

93
.. _user-manual:
104

@@ -20,4 +14,4 @@ you can add more CType´s here: "Or exclude elements with this CType value:".
2014
Separate them by a space character. E.g.: "newsletter_pi1 mask_button mask_box".
2115

2216

23-
Since version 4.2.0 you can add some dashboard widgets to your widget too. You find them at the tab "Fixpunkt".
17+
Since version 4.2.0 you can add some dashboard widgets to your widget too. You find them at the tab "Fixpunkt".

Documentation/guides.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<guides xmlns="https://www.phpdoc.org/guides" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="https://www.phpdoc.org/guides ../vendor/phpdocumentor/guides-cli/resources/schema/guides.xsd"
4+
links-are-relative="true"
5+
default-code-language="php"
6+
>
7+
<extension class="\T3Docs\Typo3DocsTheme\DependencyInjection\Typo3DocsThemeExtension"
8+
project-home="https://extensions.typo3.org/extension/backendtools"
9+
project-contact="https://www.fixpunkt.com/webentwicklung/typo3/typo3-extensions/"
10+
project-repository="https://github.com/bihor/backendtools"
11+
project-issues="https://github.com/bihor/backendtools/issues"
12+
edit-on-github-branch="master"
13+
edit-on-github="bihor/backendtools"
14+
interlink-shortcode="fixpunkt/backendtools"
15+
typo3-core-preferred="13.4"
16+
/>
17+
<project title="TYPO3 backendtools (8 admin tools)"
18+
version="local"
19+
copyright="Kurt Gusbeth"
20+
/>
21+
</guides>

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# backendtools
22

3-
Version 6.0.4
3+
Version 6.0.5
44

55
8 admin tools for extensions, pages, (backend) layouts, slug, redirects, files, images and links:
66
extension-list, recent pages and content elements, used (backend) layouts, import redirects, check redirects,
@@ -28,3 +28,6 @@ Version 6.0.3:
2828

2929
Version 6.0.4:
3030
- Compatibility for PHP 8.4.
31+
32+
Version 6.0.5:
33+
- Refactoring again.

0 commit comments

Comments
 (0)