Commit graph

34 commits

Author SHA1 Message Date
Markus Klein
40337616b5
Merge pull request #7 from boehmmatthias/campaigns-of-user
Add API call for existing campaigns of the user
2020-11-20 15:09:51 +01:00
Matthias Böhm
66f9f2bd5e Add API call for existing campaigns of the user 2020-11-20 15:02:13 +01:00
Markus Klein
9b3ab12ec5
Merge pull request #6 from DanielSiepmann/feature/provide-entity-getter
Add brands
2020-11-06 10:28:30 +01:00
1799af118b
Add brands
Provide getter for brand and brands to SkillSets and skills.
Support frameworks and libraries that need getter "methods with get".
2020-11-04 15:43:52 +01:00
Markus Klein
53f3e75dc2
Merge pull request #5 from DanielSiepmann/bugfix/do-not-cache-skills-across-sets
Prevent skill sets from sharing their skills
2020-10-19 16:07:32 +02:00
59f1ffab4a
Prevent skill sets from sharing their skills
Each SkillSet should provide his own skills and should not share the
skills with other skill sets.
Therefore use an instance property instead of static.
2020-10-19 15:37:42 +02:00
Markus Klein
195d37986a
Merge pull request #4 from DanielSiepmann/bugfix/skillset-verification-url
Fix wrong verification link for skillsets
2020-10-19 13:30:21 +02:00
ac31dd09d0
Fix wrong verification link for skillsets
For whatever reason, URL structure is different for skillsets compared
to skills.
2020-10-19 11:48:02 +02:00
Markus Klein
6d27e3d0f8 [BUGFIX] Correct link building
Resolves: #3
2020-10-08 16:52:43 +02:00
Markus Klein
ca56b9224c [FEATURE] Integration campaign support
Resolves: #3
2020-10-08 16:47:44 +02:00
Markus Klein
4d401081e8
Merge pull request #2 from DanielSiepmann/feature/improve-api
Improve API
2020-10-08 16:33:03 +02:00
94c2038658
Handle 404 and "Oops" API responses
The API is created by a TYPO3.
It provides proper 404 for unavailable Skill IDs.
An "Oops" is returned for unavailable SkillSet IDs.
2020-10-05 09:23:51 +02:00
8179104233
Add missing declare_strict 2020-10-05 08:51:59 +02:00
444fc7021e
Provide verification link and button for SkillSet 2020-10-05 08:49:34 +02:00
bafbc76cfa
Add missing test case 2020-10-05 08:49:33 +02:00
c234d3e757
Add first API implementation
Allow to retrieve skill and skill set by ID.
Returns PHP classes with proper getter for most important info.
All info are available via PHP array from those classes.
2020-10-05 08:49:33 +02:00
691adc00a6
Follow and validate against PSR-12
This prevents unnecessary merge conflicts in future.
Also code follows a simple formatting rule set and is easier to read.
2020-10-05 08:49:33 +02:00
c75aa1f2c0
Support PHP 7.2 and 7.3
As those are still supported and used by many Unix distributions.
Many software is running on PHP 7.2 and 7.3 and the code base should
support those versions.
2020-10-05 08:45:52 +02:00
bf1e666091
Make skill ID optional when creating link instance
Link looks more like a service.
When dealing with dependency injection it would make sense to create a
single instance with settings.

Following calls can then ask to create a button or link with all
necessary information.
2020-10-05 08:42:23 +02:00
Markus Klein
ed73b6d3f0 [TASK] Update composer.lock 2020-09-25 14:52:49 +02:00
Markus Klein
1f42619fef [TASK] Update codestyle and add .editorconfig 2020-09-24 16:54:45 +02:00
Weissheiten Wien
a4aaa8a690
Merge pull request #1 from DanielSiepmann/feature/add-unit-testing
Add tests and execute via GitHub Actions
2020-09-10 11:25:01 +02:00
619436a2fd
Add tests and execute via GitHub Actions 2020-09-10 11:22:16 +02:00
Florian Weiss
f765b1fbff [FIX] parameter array for issuing 2020-05-20 16:58:02 +02:00
Florian Weiss
04634f4278 [FIX] Fix function call for SkillSet Verification 2020-05-20 16:49:47 +02:00
Florian Weiss
14eef81363 [TASK] Introduce SkillSet Verification 2020-05-20 16:47:18 +02:00
Florian Weiss
1ad35bd909 [FIX] Verification constant education 2020-05-20 16:38:10 +02:00
Florian Weiss
1c8c07954f [FIX] Return ResponseInterface after issuing verification instead of direct output 2020-05-20 16:25:48 +02:00
Florian Weiss
6e73b71098 [FIX] License 2020-04-02 11:33:43 +02:00
Florian Weiss
8a05590472 Merge branch 'master' of github.com:SkillDisplay/PHPToolKit 2020-04-02 11:31:03 +02:00
Florian Weiss
0af8ef3db4 [FIX] Add missing composer.json info 2020-04-02 11:30:44 +02:00
Weissheiten Wien
5505564d47
Update ReadMe.md 2020-03-26 18:03:19 +01:00
Florian Weiss
91b0f0d8f9 [TASK] Introduce Examples and means for rendering Verification Buttons 2020-03-26 17:54:35 +01:00
Florian Weiss
50f06d3aa2 Initial commit 2020-03-26 12:56:55 +01:00