Skip to content

Commit 4c23ee9

Browse files
committed
Merge branch 'release/1.1.4'
2 parents 63a4799 + 2b52b1c commit 4c23ee9

543 files changed

Lines changed: 154156 additions & 784 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 101 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,103 @@
1-
.idea/
2-
.Build/
1+
##
2+
# Compiled source
3+
########################################
4+
*.com
5+
*.class
6+
*.dll
7+
*.exe
8+
*.o
9+
*.so
10+
11+
12+
##
13+
# Packages
14+
########################################
15+
*.7z
16+
*.dmg
17+
*.gz
18+
*.iso
19+
*.jar
20+
*.rar
21+
*.tar
22+
*.zip
23+
*.tgz
24+
25+
26+
##
27+
# Logs & Databases
28+
########################################
29+
logs
30+
*.log
31+
*.sql
32+
*.sqlite
33+
npm-debug.log*
34+
yarn-debug.log*
35+
yarn-error.log*
36+
37+
38+
##
39+
# OS generated files
40+
########################################
41+
.DS_Store
42+
.DS_Store?
43+
._*
44+
.Spotlight-V100
45+
.Trashes
46+
ehthumbs.db
47+
Thumbs.db
48+
49+
50+
##
51+
# Backup files
52+
########################################
53+
*~
54+
*#
55+
*.pyo
56+
*.pyc
57+
*.bak
58+
*.swp
59+
60+
61+
##
62+
# IDE files
63+
########################################
64+
nbproject
65+
.~lock.*
66+
.buildpath
67+
.idea
68+
.project
69+
.settings
70+
.classpath
71+
.c9/
72+
*.launch
73+
*.sublime-workspace
74+
75+
76+
##
77+
# Caches
78+
########################################
79+
.npm
80+
.eslintcache
81+
.node_repl_history
82+
.yarn-integrity
83+
phpdoc-cache-*
84+
85+
86+
##
87+
# Miscelaneous
88+
########################################
389
composer.phar
490
composer.lock
5-
.DS_Store
6-
Tests/Reports/
91+
.Build/
92+
build/
93+
node_modules/
94+
jspm_packages/
95+
.env
96+
97+
98+
##
99+
# Project specific
100+
########################################
101+
phpDocumentor.phar
102+
phpDocumentor.phar.pubkey
103+
Tests/Reports/

CHANGELOG.md

Lines changed: 75 additions & 137 deletions
Original file line numberDiff line numberDiff line change
@@ -1,189 +1,127 @@
11
# Changelog
2-
32
All notable changes to this project will be documented in this file.
43

54
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
65
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
76

8-
9-
107
## [Unreleased]
11-
128
- nothing, yet
139

14-
## [1.1.3] - 2019-05-04
10+
## [1.1.4] - 2019-05-07
11+
### Added
12+
- New translation keys for FlashMessage texts
13+
- Configuration file (phpdoc.xml) for PHP Documentor
14+
- Class `..\Domain\Repository\BackendUserRepository`
1515

1616
### Changed
17+
- Restructured CHANGELOG.md
18+
- Providing Google Authenticator setup tab in user settings module
19+
- Resolving some deprecations
20+
- More detailed PHPDoc blocks
21+
- Code cleanup
22+
- Cease official support for TYPO3 CMS v7
1723

18-
- provide `TYPO3\CMS\Lang\LanguageService` via constructor injection
19-
in `CodeFareith\CfGoogleAuthenticator\Controller\Frontend\SetupController`
20-
- use `CodeFareith\CfGoogleAuthenticator\Domain\Repository\FrontendUserRepository` instead of
21-
`TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository` in `CodeFareith\CfGoogleAuthenticator\Controller\Frontend\SetupController`
22-
- remove object mapping in `setup.typoscript` and move table mapping to `ext_typoscript_setup.typoscript`
23-
24-
### Added
25-
26-
#### Files
24+
### Deprecated
25+
- Trait `..\Traits\GeneralUtilityObjectManager` will be removed in `v1.2.0`
2726

28-
- Classes/Domain/Repository/FrontendUserRepository
29-
- ext_typoscript_setup.typoscript
27+
### Removed
28+
- Trait `..\Traits\GeneralUtilityObjectManagerStatic`
3029

30+
## [1.1.3] - 2019-05-04
31+
### Added
32+
- Class `..\Domain\Repository\FrontendUserRepository`
33+
- File `ext_typoscript_setup.typoscript`
3134

35+
### Changed
36+
- Providing `TYPO3\CMS\Lang\LanguageService` via constructor injection in `..\Controller\Frontend\SetupController`
37+
- Using `..\Domain\Repository\FrontendUserRepository` instead of `TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository` in `..\Controller\Frontend\SetupController`
38+
- Removed object mapping in `setup.typoscript`
39+
- Moved table mapping to `ext_typoscript_setup.typoscript`
3240

3341
## [1.1.2] - 2018-10-15
34-
3542
### Changed
36-
37-
- constant `AUTH_FAIL_AND_PROCEED` in `GoogleAuthenticatorService` set to 100
38-
39-
43+
- Constant `AUTH_FAIL_AND_PROCEED` in `..\Service\GoogleAuthenticatorService` set to 100
4044

4145
## [1.1.1] - 2018-10-15
42-
4346
### Changed
44-
45-
- on success, GoogleAuthenticatorService returns status code 70, instead of 200,
46-
so that further services can also perform their own authentication
47-
48-
47+
- On success, `..\Service\GoogleAuthenticatorService` returns status code 70, instead of 200
4948

5049
## [1.1.0] - 2018-10-15
51-
52-
### Added
53-
54-
- compatibility with TYPO3 CMS v9
55-
56-
57-
58-
## [1.0.6] - 2018-10-15
59-
6050
### Changed
51+
- Compatibility with TYPO3 CMS v9
6152

62-
- fix some major bugs which caused the Google Authenticator service to be ignored
63-
- refactoring
64-
65-
53+
## [1.0.6] - 2018-10-15
6654
### Added
55+
- Class `..\Domain\Form\FormInterface`
56+
- Class `..\Traits\GeneralUtilityObjectManager`
57+
- Class `..\Utility\TypoScriptUtility`
6758

68-
#### Files
69-
70-
- Classes/Domain/Form/FormInterface.php
71-
- Classes/Traits/GeneralUtilityObjectManager.php
72-
- Classes/Utility/TypoScriptUtility.php
73-
74-
59+
### Fixed
60+
- Fixed some major bugs which caused the Google Authenticator service to be ignored
61+
- Refactoring
7562

7663
## [1.0.5] - 2018-09-26
77-
78-
### Changed
79-
80-
- fix a bug that made it impossible to edit a backend user
81-
- fix a bug in the JavaScript that kept the 2FA QR code hidden
82-
- fix a bug in the user module that made it impossible to create
83-
new frontend users using the backend.
84-
85-
64+
### Fixed
65+
- Backend users could not be edited
66+
- QR code kept hidden
67+
- Frontend users could not be created
8668

8769
## [1.0.4] - 2018-07-23
88-
8970
### Added
90-
91-
#### Features
92-
93-
- the content element/plugin `Google Two-Factor Authentication Setup`
94-
is now available, which allows users to set up Google 2FA for
95-
their frontend accounts.
96-
97-
98-
#### Files
99-
100-
- Classes/Controller/Frontend/SetupController.php
101-
- Classes/Domain/Form/SetupForm.php
102-
- Classes/Domain/Model/BackendUser.php
103-
- Classes/Domain/Model/FrontendUser.php
104-
- Classes/Validation/Validator/SetupFormValidator.php
105-
- Configuration/TCA/Overrides/tt_content.php
106-
- Resources/Private/Layouts/Frontend/Default.html
107-
- Resources/Private/Partials/Backend/Form/OneTimePassword.html
108-
- Resources/Private/Partials/Backend/Form/QrCode.html
109-
- Resources/Private/Partials/Backend/Form/Secret.html
110-
- Resources/Private/Partials/Frontend/Form/OneTimePassword.html
111-
- Resources/Private/Partials/Frontend/Form/QrCode.html
112-
- Resources/Private/Partials/Frontend/Form/Secret.html
113-
- Resources/Private/Partials/Shared/Alert.html
114-
- Resources/Private/Partials/Shared/FlashMessages.html
115-
- Resources/Private/Partials/Shared/Icon.html
116-
- Resources/Private/Partials/Shared/ValidationResults.html
117-
- Resources/Private/Templates/Backend/UserSettings.html
118-
- Resources/Private/Templates/Frontend/Setup/Index.html
119-
71+
- Content element/plugin `Google Two-Factor Authentication Setup` to allow users to set up two-factor authentication for their frontend accounts.
72+
- Formular for setting up the two-factor authentication
73+
- Multiple template files
12074

12175
### Changed
122-
12376
- `GoogleQrImageGenerator` renamed to `GoogleQrCodeGenerator`
12477
- `QrImageGeneratorInterface` renamed to `QrCodeGeneratorInterface`
125-
- `Classes/Hook/TCEMain::getObjectManager()` now requests the `ObjectManager`
126-
via `GeneralUtility::makeInstance()` only at the first call, then stores
127-
the reference in, and - when needed - loads it from its appropriate instance variable.
128-
- analogous to this behaves `getGoogleAuthenticatorSetupHandler()`.
129-
- `Classes/Hook/UserSettings::createSecretField()` now only does "one thing".
130-
Data retrieval and preparation have been delegated to other functions.
131-
- structure of `ext_localconf.php`, `ext_tables.php`, `be_users.php`,
132-
`fe_users.php` and `sys_template.php` has been improved.
78+
- `..\Hook\TCEMain::getObjectManager()` now requests the `TYPO3\CMS\Extbase\Object\ObjectManager`
79+
via `TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance()` only at the first call, then stores
80+
the reference in, and - when needed - loads it from its appropriate instance variable
81+
- Analogous to this behaves `..\Hook\TCEMain::getGoogleAuthenticatorSetupHandler()`
82+
- `..\Hook\UserSettings::createSecretField()` now only does "one thing";
83+
data retrieval and preparation have been delegated to other functions
84+
- Structure of `ext_localconf.php`, `ext_tables.php`, `be_users.php`,
85+
`fe_users.php` and `sys_template.php` has been improved
13386
- `constants.typoscript` and `setup.typoscript` have been enhanced
13487
to meet frontend requirements
13588

136-
137-
13889
## [1.0.3] - 2018-07-16
139-
14090
### Added
141-
142-
#### Files
143-
144-
- Tests/Unit/BaseTestCase.php
145-
- Tests/Unit/Utility/PathUtilityTest.php
146-
- Classes/Domain/DataTransferObject/GoogleAuthenticatorSettingsDTO.php
147-
- Classes/Domain/DataTransferObject/PreProcessFieldArrayDTO.php
148-
- Classes/Domain/Immutable/ImmutableInterface.php
149-
- Classes/Domain/Mapper/MapperInterface.php
150-
- Classes/Domain/Mapper/AbstractMapper.php
151-
- Classes/Domain/Mapper/GoogleAuthenticatorSettingsMapper.php
152-
- Classes/Domain/Struct/StructInterface.php
153-
- Classes/Domain/Struct/AbstractStruct.php
154-
- Classes/Domain/Struct/GoogleAuthenticatorSettings.php
155-
- Classes/Domain/Exception/MissingRequiredField.php
156-
- Classes/Domain/Exception/PropertyNotFound.php
157-
- Classes/Domain/Exception/PropertyNotInitialized.php
158-
- Classes/Domain/Handler/GoogleAuthenticatorSetupHandler.php
159-
- Classes/Domain/Utility/ExtensionBasicDataUtility.php
160-
- Classes/Domain/Utility/PathUtility.php
161-
91+
- Base class for unit tests (`..\Tests\Unit\BaseTestCase`)
92+
- Utility to create paths (`..\Utility\PathUtility`)
93+
- Utility to fetch extension meta data (`..\Utility\ExtensionBasicDataUtility`)
94+
- Multiple exception classes
95+
- Multiple data transfer object classes
96+
- Multiple mapper classes
97+
- Multiple struct classes
98+
- Handler for Google Authenticator setup requests
16299

163100
### Changed
164-
165-
- A lot of refactoring
166-
- Apart from the code structure, nothing has changed significantly
167-
168-
101+
- Code structure / refactoring
169102

170103
## [1.0.2] - 2018-07-15
171-
172104
### Changed
173-
174-
- Replace wrong extension link in README.md
175-
- Add PHP 7.1+ as dependency in ext_emconf.php
176-
177-
105+
- Replace wrong extension link in `README.md`
106+
- Add PHP 7.1+ as dependency in `ext_emconf.php`
178107

179108
## [1.0.1] - 2018-06-17
180-
181-
### Changed
182-
109+
### Fixed
183110
- Use <img> instead of <f:image> to resolve an issue, with the QR-Code in the backend
184111

185-
186-
187112
## [1.0.0] - 2018-06-17
188-
189113
- Initial development
114+
115+
[Unreleased]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.1.4...HEAD
116+
[1.1.4]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.1.3...v1.1.4
117+
[1.1.3]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.1.2...v1.1.3
118+
[1.1.2]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.1.1...v1.1.2
119+
[1.1.1]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.1.0...v1.1.1
120+
[1.1.0]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.0.6...v1.1.0
121+
[1.0.6]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.0.5...v1.0.6
122+
[1.0.5]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.0.4...v1.0.5
123+
[1.0.4]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.0.3...v1.0.4
124+
[1.0.3]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.0.2...v1.0.3
125+
[1.0.2]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.0.1...v1.0.2
126+
[1.0.1]: https://github.com/codeFareith/cf_google_authenticator/compare/v1.0.0...v1.0.1
127+
[1.0.0]: https://github.com/codeFareith/cf_google_authenticator/releases/tag/v1.0.0

0 commit comments

Comments
 (0)