Commit graph

9 commits

Author SHA1 Message Date
Markus Klein
1ee52d852b
Merge pull request #10 from SkillDisplay/task/change-extkey
[BUGFIX] Use more precise extension key
2021-01-29 11:37:38 +01:00
Markus Klein
9f43ea427b [BUGFIX] Use more precise extension key
To avoid name clashes we use a more precise extension key.
Also the namespace is adjusted accordingly.

Resolves: #8
2021-01-29 10:32:30 +01:00
1e3646e105
Follow new strict_types enforecement 2021-01-23 15:53:56 +01:00
01d25e4c49
Allow creation of content elements
Content elements could not be created, since they needed campaigns.
In order to retrieve campaigns, the API needs to be created.
The API needs settings from current site, which is not available in that
context.

Therefore the factory is extended to also fetch site and their settings
based on page uid. The page uid is available in the context.

Since we now interact with guzzle, we add the dependency.
Wouldn't be necessary if SDK would have PSR compatible type hints.

Also tests were added for code, to keep code coverage.

Fixes: #5
2021-01-23 15:53:07 +01:00
4f09af857e
Ensure strict_types are defined 2021-01-23 15:52:16 +01:00
Markus Klein
5d5c502794 [FEATURE] Add campaign selection to content elements 2020-12-01 12:39:53 +01:00
a1dda725a0
Handle unavailable skills and skillsets in backend and frontend
Show an error message in backend, to allow editors to spot the issue.
Hide issues in frontend to not break frontend.

Relates: #1, #2
2020-10-05 09:40:54 +02:00
101d2fb3e4
Switch to TYPO3 testing framework base
Now that all incompatibilities are resolved, we can use the testing
framework of TYPO3.
2020-10-05 08:28:14 +02:00
d123d5219e
Add unit tests 2020-09-24 08:39:53 +02:00