Markus Klein
a7e0532d06
[TASK] Throw exception if required API key is missing
2023-07-06 18:30:20 +02:00
Lizardl
fee06f0fa1
Merge pull request #14 from SkillDisplay/organisation
...
Added new Entities (Organisation, MemberSkills and SkillSetProgress)
2023-07-06 15:17:50 +02:00
lisam
a6756cc2b8
Merge branch 'php8-migration' into organisation
2023-07-06 15:13:25 +02:00
lisam
b4dbb508db
Changed Tests
2023-07-06 15:12:00 +02:00
julianzangl
4af9c1c656
test changes
2023-07-06 15:10:44 +02:00
lisam
b3bd17d10a
Merge branch 'master' into organisation
2023-07-06 15:05:08 +02:00
julianzangl
f28d2af8e0
Merge branch 'master' of https://github.com/SkillDisplay/api-php into php8-migration
2023-07-06 14:53:14 +02:00
Markus Klein
d4bc19dd20
Merge pull request #13 from SkillDisplay/fix-guzzle-mocking
...
[BUGFIX] Guzzle mocking for response body
2023-07-06 14:50:58 +02:00
lisam
ae0c838722
Added Member and Organisation Statistic with Test
2023-07-06 14:48:23 +02:00
Markus Klein
eb066e224d
[BUGFIX] Guzzle mocking for response body
2023-07-06 14:47:47 +02:00
Markus Klein
a5db2bd729
[!!!][TASK] Raise guzzle requirement
2023-07-06 14:37:02 +02:00
julianzangl
9a335a7486
added SkillSetProgress with Tests
2023-07-06 14:24:24 +02:00
Weissheiten Wien
0f4263663b
Merge pull request #12 from SkillDisplay/PHPUnitUpgrade
...
Php unit upgrade
2023-07-06 14:01:24 +02:00
Florian Weiss
3e2f86f1a2
[TASK] Add composer.lock to gitignore to prevent CI tests lock for testing multiple versions
2023-07-06 14:00:00 +02:00
Florian Weiss
76a1f5fcb7
[TASK] Remove composer lock
2023-07-06 13:57:46 +02:00
Florian Weiss
6a74da49a3
[TASK] match PHP version for CI
2023-07-06 13:53:06 +02:00
Florian Weiss
ffd07689c6
[TASK] Update Unit Tests for new version of PHPUnit, drop Unit Tests that match a specific SVG
2023-07-06 12:47:42 +02:00
lisam
55ced21f7d
Added property types to link
2023-07-06 10:11:32 +02:00
lisam
d6d9c293f5
Added property types
2023-07-06 10:09:41 +02:00
Markus Klein
71188fe34c
[!!!][TASK] Require PHP 7+8
2023-07-05 16:47:49 +02:00
Markus Klein
efbd72c843
[TASK] Update ReadMe.md with composer info
2023-07-05 16:47:07 +02:00
Markus Klein
64670ba49e
[TASK] Update composer requirements
2022-09-05 16:49:20 +02:00
Markus Klein
16035774e6
[FEATURE] Support includeFullSkills for SkillSets
...
Fixes : #10
2021-07-02 15:55:58 +02:00
Markus Klein
3ed3abc0d2
[FEATURE] Make verification auto-confirm configurable #9
2021-07-02 15:48:54 +02:00
Markus Klein
ed1e70100f
[BUGFIX] Fix tests
2021-02-19 15:58:02 +01:00
Markus Klein
479f8d420c
[TASK] Use php 7.4 by default for CI
2021-02-19 15:30:47 +01:00
Markus Klein
a42f76226a
[BUGFIX] Use correct base URL for media
2021-02-19 15:23:29 +01:00
Markus Klein
2977ee8781
Merge pull request #8 from DanielSiepmann/bugfix/type-missmatch-for-campaigns-api
...
Allow json decode of received campaigns response
2021-01-22 22:07:20 +01:00
4741df6803
Allow json decode of received campaigns response
...
The body is an instance of a stream.
Therefore we need to cast so string before passing to json_decode.
That's necessary because strict_types are forced.
2021-01-22 11:06:27 +01:00
Markus Klein
adec8fd806
[TASK] Fix indentation
2020-11-20 15:11:07 +01:00
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