Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release of the Version 0.2 #14

Merged
merged 10 commits into from
Sep 1, 2020
Merged

Release of the Version 0.2 #14

merged 10 commits into from
Sep 1, 2020

Conversation

nuzzy
Copy link
Contributor

@nuzzy nuzzy commented Sep 1, 2020

Release Notes

The stability and durability of the current PHP SDK were increased for Events and Proxy clients.
The code cleaning was made.

Updates in Frontegg

  • Adjusted the Frontegg class - added new constant TENANT_ID_ENV_NAME to get the tenant ID from the env, cleanups were made.

Updates in Frontegg\Authenticator

  • Adjusted the Authenticator class - added usage of the ApiJsonTrait` trait, cleanups were made.
  • Moved the Frontegg\Authenticator\ApiError class to Frontegg\Error\ApiError.

Updates in Frontegg\Audits

  • Adjusted the Audits client class - added usage of the ApiJsonTrait trait, cleanups were made.

Updates in Frontegg\Events

  • Adjusted the Events client class - added usage of the ApiJsonTrait trait, cleanups were made.
  • Adjusted other classes in this namespace.
  • Changed directory structure where Event type classes are stored.

Updates in Frontegg\Proxy\Filters

  • Adjusted the FronteggResponseErrorResolver to use Frontegg\Http\Response constants and methods.
  • Adjusted the FronteggSendRequestResolver to use Frontegg\Http\Response constants and methods.

Updates in Frontegg\Http

  • Removed the ResponseInterface because all constants had been migrated to the new Response class.
  • Added the Response class instead of the removed ResponseInterface.

Updates in Frontegg\Error

  • Added the ApiErrorTrait trait to provide API error handling logic.

Updates in Frontegg\Json

  • Added the ApiJsonTrait trait to provide JSON data manipulations logic.

Github Actions

  • Added Github Actions config for running Unit tests on push action.
  • Added phpunit.xml for running Unit tests with Github Actions.

Demo

  • Added demo integration for Vanilla (raw) PHP with a Docker environment.

Tests

  • Updated tests.

nuzzy and others added 10 commits August 14, 2020 11:12
* Task "Build authenticator".

* Created Frontegg main class.
* Created Helper classes.
* Created "readme.md" file.
* Created "composer.json" file with package dependencies.
* Created tests for base functionality.

* Task "Build authenticator".

* Update Frontegg main class.
* Updated Helper classes.
* Updated "readme.md" file.
* Updated "composer.json" file "ext-curl" dependency.
* Updated tests for base functionality.

* Task "Build authenticator".

* Update Frontegg main class.
* Updated Helper classes.
* Updated "readme.md" file.
* Updated "composer.json" file "ext-curl" dependency.
* Updated tests for base functionality.

* Task "Build Authenticator"

* Updated code style using CodeSniffer and PhpStan.
* Updated "composer.json"
* Task "Build authenticator".

* Created Frontegg main class.
* Created Helper classes.
* Created "readme.md" file.
* Created "composer.json" file with package dependencies.
* Created tests for base functionality.

* Task "Build authenticator".

* Update Frontegg main class.
* Updated Helper classes.
* Updated "readme.md" file.
* Updated "composer.json" file "ext-curl" dependency.
* Updated tests for base functionality.

* Task "Build authenticator".

* Update Frontegg main class.
* Updated Helper classes.
* Updated "readme.md" file.
* Updated "composer.json" file "ext-curl" dependency.
* Updated tests for base functionality.

* Task "Build Authenticator"

* Updated code style using CodeSniffer and PhpStan.
* Updated "composer.json"

* Task "Audits SDK"

* Created new AuditsClient class for API calls to Audit Logs endpoints.
* Updated main classes.
* Created new tests for Audit Logs classes.
* Updated and refactored existing tests.
* Updated "readme.md" file.

* Task "Audits SDK"

* Fixed code styles.

* Task "Audits Log"

* Small fixes
* Task "Events SDK"

* Created basic classes for Events API.
* Updated existing classes.
* Created tests for Events API.
* Other small changes.

* Task "Events SDK"

* Created basic classes for Events API.
* Updated existing classes.
* Created tests for Events API.
* Other small changes.

* Task "Events SDK"

* Updated Events classes and tests.
* Created class and tests for Slack channel.
* Other small updates.

* Task "Events SDK"

* Fixed code styles.

* Task "Events SDK"

* Fixed an error with API URL.
* Updated basic classes and tests.

* Task "Events SDK"

* Renamed config services constants.
* Added Proxy functionality

* Included `psr/http-message`, 'relay/relay', `guzzlehttp/psr7` packages
* Intruduced `Proxy` class
* Introduced `FronteggAdapter` class
* Added `FronteggRequestHeaderResolver` and `FronteggRequestMethodResolver`
* Adjusted `FronteggCurlHttpClient` with `DEFAULT_TIMEOUT` constant

* Task "Events SDK"

* Created basic classes for Events API.
* Updated existing classes.
* Created tests for Events API.
* Other small changes.

* Task "Events SDK"

* Created basic classes for Events API.
* Updated existing classes.
* Created tests for Events API.
* Other small changes.

* Task "Events SDK"

* Updated Events classes and tests.
* Created class and tests for Slack channel.
* Other small updates.

* Task "Events SDK"

* Fixed code styles.

* Task "Frontegg middleware"

* Updated Proxy classes.
* Created tests for Proxy classes.

* Task "Events SDK"

* Fixed an error with API URL.
* Updated basic classes and tests.

* Task "Frontegg Middleware"

* Updated basic classes and tests.
* Created Proxy filter classes.
* Other changes.

* Task "Events SDK"

* Renamed config services constants.

* Task "Frontegg Middleware"

* Updated and refactored Proxy classes.
* Added new tests for Proxy middleware.

* Task "Frontegg Middleware"

* Fixed code styles.

* Task "Frontegg Middleware"

* Fixed merge conflicts.

* Task "Frontegg Middleware"

* Updated Proxy classes to properly handle POST requests.
* Created tests for Proxy API.

Co-authored-by: Daniel Kleba <klebadanial@gmail.com>
* Fixed conflicts after the merge with "master" branch.
* Updated "readme.md"
* Fixed "composer.json" file to be valid.
* Refactored ApiErrors to be a part of ApiErrorTrait.
* Refactored getDecodedJsonData() method to be a part of ApiJsonTrait.
* Updated directory structure for Events.
* Updated Audits GET request to properly send query parameters.
* Updated tests.
* Other small changes.
* Added Github workflow to run phpunit tests.
* Removed credentials from the tests.
* Created phpunit.xml config file
* Task "Docker demo for raw PHP"

* Created demo environment with docker for raw PHP.

* Docker demo for raw PHP

* Removed credentials from the code.
* Updated code.

* Task "Demo site on Docker env"

* Updated demo site in "docker/index.php".
* Updated "docker-compose.yml" file.
* Removed credentials from the tests.
* Updated Events channel classes.
* Updated and added tests for new code changes.
* Updated "readme.md" file.
@aviadmizrachi aviadmizrachi merged commit 18e90cf into master Sep 1, 2020
@aviadmizrachi aviadmizrachi deleted the development branch September 1, 2020 11:38
@aviadmizrachi aviadmizrachi restored the development branch September 1, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants