3.0.0
fixed user submitted issues:
fixed issues:
Caching:
- rewritten how caching works
- now own Caching Methods can be added
- made it more secure (prefix)
- added an CacheBuilder removed the cache creation from the Repository class
Security:
- added an Class SecurityManager
- now your own SecurityManager can be added which theoretically allows you to use other api then webuntis
- the login now works with this SecurityManager and is not located in the Instance anymore
- also added an own CLient which fetches all the api data, its an wrapper of the normal BaseClient
Models:
- if no id is found there will now be an uuid generated and not an random number
- added ClassRegEvents, LastImportTime, TimegridUnits, StatusData
Repositories:
- added ClassRegEventsRepository, StatusDataRepository, LastImportTimeRepository
- the executionHandler can now be injected
ExecutionHandler:
- moved to namespace Webuntis\Handler
- removed static methods
Command:
- due to more flexible caching and security you are now to able to generate your own config array in the parameter and pass an custom caching routine or an custom security manager and pass the parameters they require.
Types:
- added ArrayType
- added better validation to the default types like int, string and array so they are more distinct
Testing:
- added Testing
Miscellaneous:
- added Type-Hinting
- migrated json rpc library due to depreceated
Dependencies:
- removed jguillot/json-rpc
- added datto/json-rpc-http
- updated doctrine
- updated symfony
- added phpunit to dev
- added ramsey/uuid
- updated memio