Commit graph

26 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
4f09af857e
Ensure strict_types are defined 2021-01-23 15:52:16 +01:00
Markus Klein
cd68eb9dd0 [TASK] Use PHP 7.4 for CI 2021-01-14 14:14:42 +01:00
Markus Klein
2bd297879b [RELEASE] 1.0.1 2021-01-14 13:33:48 +01:00
Markus Klein
5b4da676af [BUGFIX] Add additional int-cast for campaign argument in VH 2020-12-07 08:36:01 +01:00
Markus Klein
ce53a9ab6e
Merge pull request #3 from SkillDisplay/feature/campaign-integration
Integrate campaign selection for verification tracking
2020-12-01 13:42:10 +01:00
Markus Klein
5d5c502794 [FEATURE] Add campaign selection to content elements 2020-12-01 12:39:53 +01:00
Markus Klein
40e322485e [FEATURE] Add campaign to viewhelpers 2020-12-01 11:03:04 +01:00
Markus Klein
174d2ff691
Merge pull request #4 from SkillDisplay/feature/composer-v2-support
Use composer v1 in CI
2020-12-01 11:01:20 +01:00
7c4a9820b4
Use composer v1 in CI
Not all dev dependencies are v2 ready.

maglnet/composer-require-checker has a dependency to
ocramius/package-versions version which requires v1 composer API.
Once a newer version is required, we can use v2.
2020-12-01 10:46:02 +01:00
Markus Klein
3f9c078395 [TASK] Re-add schema to xliff files 2020-11-27 23:14:26 +01:00
Markus Klein
be0657a206 [TASK] Make locallang files crowdin compliant 2020-11-27 23:05:52 +01:00
Markus Klein
36a592dfcd [BUGFIX] Use valid syntax in ext_tables.sql 2020-11-27 22:52:29 +01:00
785745b364
Use logo from brand 2020-11-04 15:32:45 +01:00
badcae5b8d
Add missing "Skills" label to template 2020-11-04 14:26:23 +01:00
8137b7678b
Fix wrong adoption of static HTML
* Do use proper counting of skills for skill set
* Do not use example brand logo, but logo provided by API
  (once implemented in toolkit)
* Open verification in new tab
* Do not use pending state.
2020-10-19 15:43:09 +02: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
dc6a6c9c96
Integrate CSS and HTML 2020-10-19 11:41:57 +02: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
14c2c5e915
Add basic documentation 2020-09-24 08:51:56 +02:00
d123d5219e
Add unit tests 2020-09-24 08:39:53 +02:00
e967112277
Add content element "skillsets"
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 14:17:36 +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
7dd9311d13
INIT 2020-09-10 07:48:43 +02:00