Commit graph

7 commits

Author SHA1 Message Date
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
Markus Klein
5d5c502794 [FEATURE] Add campaign selection to content elements 2020-12-01 12:39:53 +01:00
060d432f15
Adjust dependency to released toolkit version
As the released version now contains all necessary features.
2020-10-19 14:51:59 +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
6e47f165e9
Add PHP 7.2 compatibility
Also ensure code works in all compatibilities via GitHub Actions.
Also add further checks like XML compatibility, CGL, etc.
2020-09-22 13:27:52 +02:00
da3aed135c
Add content element "skills"
Allow editors to add new content element "skills".
The element contains an input for a comma separated list of skill IDs.
A preview in backend is shown.
Frontend rendering is provided.
2020-09-22 10:37:24 +02:00