-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c003866
Showing
160 changed files
with
19,454 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
example export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: [tomas-kulhanek, vojmani] | ||
custom: [ "https://www.paypal.me/helppc" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: "PHP Composer" | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
extensions: "json" | ||
cache-version: "1" | ||
composer-version: "v1" | ||
composer-install: "composer install --no-interaction --no-progress --no-suggest" | ||
|
||
jobs: | ||
build: | ||
name: "Static analysis" | ||
runs-on: "${{ matrix.operating-system }}" | ||
|
||
strategy: | ||
matrix: | ||
php-version: [ "7.4" ] | ||
operating-system: [ "ubuntu-20.04" ] | ||
fail-fast: false | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "Setup PHP cache environment" | ||
id: "extcache" | ||
uses: "shivammathur/cache-extensions@v1" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
extensions: "${{ env.extensions }}" | ||
key: "${{ env.cache-version }}" | ||
|
||
- name: "Cache PHP extensions" | ||
uses: "actions/cache@v2" | ||
with: | ||
path: "${{ steps.extcache.outputs.dir }}" | ||
key: "${{ steps.extcache.outputs.key }}" | ||
restore-keys: "${{ steps.extcache.outputs.key }}" | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
extensions: "${{ env.extensions }}" | ||
tools: "composer:${{ env.composer-version }} " | ||
|
||
- name: "Setup problem matchers for PHP" | ||
run: 'echo "::add-matcher::${{ runner.tool_cache }}/php.json"' | ||
|
||
- name: "Get Composer cache directory" | ||
id: "composercache" | ||
run: 'echo "::set-output name=dir::$(composer config cache-files-dir)"' | ||
|
||
- name: "Cache PHP dependencies" | ||
uses: "actions/cache@v2" | ||
with: | ||
path: "${{ steps.composercache.outputs.dir }}" | ||
key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}" | ||
restore-keys: "${{ runner.os }}-composer-" | ||
|
||
- name: "Install dependencies" | ||
run: "${{ env.composer-install }}" | ||
|
||
- name: "PHPStan" | ||
run: vendor/bin/phpstan analyse -c phpstan.neon | ||
|
||
- name: "Lint" | ||
run: vendor/bin/linter src | ||
|
||
- name: "Codesniffer" | ||
run: vendor/bin/codesniffer src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.idea/ | ||
build | ||
composer.lock | ||
docks | ||
vendor | ||
/temp | ||
/tests/config.local.yaml | ||
/src/Cafile.crt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Licenses | ||
======== | ||
|
||
Good news! You may use Help PC library under the terms of either | ||
the New BSD License or the GNU General Public License (GPL) version 2 or 3. | ||
|
||
The BSD License is recommended for most projects. It is easy to understand and it | ||
places almost no restrictions on what you can do with the framework. If the GPL | ||
fits better to your project, you can use the framework under this license. | ||
|
||
You don't have to notify anyone which license you are using. You can freely | ||
use Help PC library in commercial projects as long as the copyright header | ||
remains intact. | ||
|
||
|
||
|
||
New BSD License | ||
--------------- | ||
|
||
Copyright (c) 2008 Tomáš Kulhánek & Vojtěch Krupka | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
* Neither the name of "Help PC" nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
This software is provided by the copyright holders and contributors "as is" and | ||
any express or implied warranties, including, but not limited to, the implied | ||
warranties of merchantability and fitness for a particular purpose are | ||
disclaimed. In no event shall the copyright owner or contributors be liable for | ||
any direct, indirect, incidental, special, exemplary, or consequential damages | ||
(including, but not limited to, procurement of substitute goods or services; | ||
loss of use, data, or profits; or business interruption) however caused and on | ||
any theory of liability, whether in contract, strict liability, or tort | ||
(including negligence or otherwise) arising in any way out of the use of this | ||
software, even if advised of the possibility of such damage. | ||
|
||
|
||
|
||
GNU General Public License | ||
-------------------------- | ||
|
||
GPL licenses are very very long, so instead of including them here we offer | ||
you URLs with full text: | ||
|
||
- [GPL version 2](http://www.gnu.org/licenses/gpl-2.0.html) | ||
- [GPL version 3](http://www.gnu.org/licenses/gpl-3.0.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<!-- ********************************************************************* | ||
WSDL pro služby související s OTP přihlašováním | ||
verze: 2.31 | ||
klasifikace: Veřejný dokument | ||
Seznam služeb: | ||
============== | ||
ChangePasswordOTP | ||
SendSMSCode | ||
změny: | ||
15.9.2011 verze 1.0 | ||
21.11.2017 verze 2.27 - sjednocení verzí | ||
5.9.2018 verze 2.31 - sjednocení verzí | ||
************************************************************************ --> | ||
|
||
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" | ||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | ||
xmlns:tns="http://isds.czechpoint.cz/v20/asws" | ||
targetNamespace="http://isds.czechpoint.cz/v20/asws"> | ||
<types> | ||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://isds.czechpoint.cz/v20/asws"> | ||
<xsd:include schemaLocation="ChangePasswordTypes.xsd"/> | ||
</xsd:schema> | ||
</types> | ||
<message name="SendSMSCodeRequest"> | ||
<part element="tns:SendSMSCode" name="SendSMSCode"> | ||
</part> | ||
</message> | ||
<message name="SendSMSCodeResponse"> | ||
<part element="tns:SendSMSCodeResponse" name="SendSMSCodeResponse"> | ||
</part> | ||
</message> | ||
<message name="ChangePasswordOTPRequest"> | ||
<part element="tns:ChangePasswordOTP" name="ChangePasswordOTP"> | ||
</part> | ||
</message> | ||
<message name="ChangePasswordOTPResponse"> | ||
<part element="tns:ChangePasswordOTPResponse" name="ChangePasswordOTPResponse"> | ||
</part> | ||
</message> | ||
<portType name="ChangePassword"> | ||
<operation name="SendSMSCode"> | ||
<input message="tns:SendSMSCodeRequest" name="SendSMSCodeRequest"> | ||
</input> | ||
<output message="tns:SendSMSCodeResponse" name="SendSMSCodeResponse"> | ||
</output> | ||
</operation> | ||
<operation name="ChangePasswordOTP"> | ||
<input message="tns:ChangePasswordOTPRequest" name="ChangePasswordOTPRequest"> | ||
</input> | ||
<output message="tns:ChangePasswordOTPResponse" name="ChangePasswordOTPResponse"> | ||
</output> | ||
</operation> | ||
</portType> | ||
<binding name="ChangePasswordSoap11" type="tns:ChangePassword"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<operation name="SendSMSCode"> | ||
<soap:operation soapAction=""/> | ||
<input name="SendSMSCodeRequest"> | ||
<soap:body use="literal"/> | ||
</input> | ||
<output name="SendSMSCodeResponse"> | ||
<soap:body use="literal"/> | ||
</output> | ||
</operation> | ||
<operation name="ChangePasswordOTP"> | ||
<soap:operation soapAction=""/> | ||
<input name="ChangePasswordOTPRequest"> | ||
<soap:body use="literal"/> | ||
</input> | ||
<output name="ChangePasswordOTPResponse"> | ||
<soap:body use="literal"/> | ||
</output> | ||
</operation> | ||
</binding> | ||
<service name="ChangePasswordService"> | ||
<port binding="tns:ChangePasswordSoap11" name="ChangePasswordSoap11"> | ||
<soap:address location="https://www.mojedatovaschranka.cz/asws/changePassword"/> | ||
</port> | ||
</service> | ||
</definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- ************************************************************************ | ||
XSD schema typů použitých v ChangePasswordOTP.wsdl | ||
verze: 2.31 | ||
klasifikace: Veřejný dokument | ||
změny: | ||
15.9.2011 verze 1.0 | ||
21.11.2017 verze 2.27 - sjednocení verzí | ||
5.9.2018 verze 2.31 - sjednocení verzí | ||
**************************************************************************** --> | ||
|
||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:v1="http://isds.czechpoint.cz/v20/asws" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://isds.czechpoint.cz/v20/asws"> | ||
<xs:element name="ChangePasswordOTP" type="v1:tChngPasswInputOTP"/> | ||
<xs:complexType name="tChngPasswInputOTP"> | ||
<xs:sequence> | ||
<xs:element maxOccurs="1" minOccurs="1" name="dbOldPassword" type="xs:string"> | ||
<xs:annotation> | ||
<xs:documentation>původní heslo</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element maxOccurs="1" minOccurs="1" name="dbNewPassword" type="xs:string"> | ||
<xs:annotation> | ||
<xs:documentation>nové heslo</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
<xs:element maxOccurs="1" minOccurs="1" name="dbOTPType" type="v1:tAuthType"> | ||
<xs:annotation> | ||
<xs:documentation>typ přihlášení</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:simpleType name="tAuthType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="TOTP"/> | ||
<xs:enumeration value="HOTP"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
<xs:element name="ChangePasswordOTPResponse" type="v1:tReqStatusOutput"/> | ||
<xs:complexType name="tReqStatusOutput"> | ||
<xs:sequence> | ||
<xs:element name="dbStatus" type="v1:tDbReqStatus"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:complexType name="tDbReqStatus"> | ||
<xs:annotation> | ||
<xs:documentation>návratový typ WS</xs:documentation> | ||
</xs:annotation> | ||
<xs:group ref="v1:gDbReqStatus"/> | ||
</xs:complexType> | ||
<xs:group name="gDbReqStatus"> | ||
<xs:sequence> | ||
<xs:element name="dbStatusCode" type="xs:string"/> | ||
<xs:element name="dbStatusMessage" type="xs:string"/> | ||
<xs:element maxOccurs="1" minOccurs="0" name="dbStatusRefNumber" nillable="true" type="xs:string"> | ||
<xs:annotation> | ||
<xs:documentation>nepovinné referenční číslo žádosti</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:group> | ||
<xs:element name="SendSMSCode" type="v1:tSendSMSCode"/> | ||
<xs:complexType name="tSendSMSCode"> | ||
</xs:complexType> | ||
<xs:element name="SendSMSCodeResponse" type="v1:tReqStatusOutput"/> | ||
|
||
</xs:schema> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://agw-as.cz/ats-ws/extWs/v1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://agw-as.cz/ats-ws/extWs/v1" targetNamespace="http://agw-as.cz/ats-ws/extWs/v1"> | ||
<wsdl:types> | ||
<xs:schema xmlns:v1="http://agw-as.cz/ats-ws/extWs/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://agw-as.cz/ats-ws/extWs/v1"> | ||
|
||
|
||
<xs:element name="extWsLogoutRequest" type="v1:extWsLogoutRequestType"/> | ||
<xs:element name="extWsLogoutResponse" type="v1:extWsLogoutResponseType"/> | ||
|
||
<xs:complexType name="extWsLogoutRequestType"> | ||
<xs:sequence> | ||
<xs:element name="timeLimitedId" type="xs:string"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:complexType name="extWsLogoutResponseType"> | ||
<xs:sequence> | ||
<xs:element name="status" type="v1:extWsLogoutResponseStatusType"> | ||
<xs:annotation> | ||
<xs:documentation>OK/SYSTEM_ERROR</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:simpleType name="extWsLogoutResponseStatusType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="OK"/> | ||
<xs:enumeration value="SYSTEM_ERROR"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
|
||
</xs:schema> | ||
</wsdl:types> | ||
<wsdl:message name="extWsLogoutResponse"> | ||
<wsdl:part element="tns:extWsLogoutResponse" name="extWsLogoutResponse"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
<wsdl:message name="extWsLogoutRequest"> | ||
<wsdl:part element="tns:extWsLogoutRequest" name="extWsLogoutRequest"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
<wsdl:portType name="ExtWs"> | ||
<wsdl:operation name="extWsLogout"> | ||
<wsdl:input message="tns:extWsLogoutRequest" name="extWsLogoutRequest"> | ||
</wsdl:input> | ||
<wsdl:output message="tns:extWsLogoutResponse" name="extWsLogoutResponse"> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
<wsdl:binding name="ExtWsSoap11" type="tns:ExtWs"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<wsdl:operation name="extWsLogout"> | ||
<soap:operation soapAction=""/> | ||
<wsdl:input name="extWsLogoutRequest"> | ||
<soap:body use="literal"/> | ||
</wsdl:input> | ||
<wsdl:output name="extWsLogoutResponse"> | ||
<soap:body use="literal"/> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:binding> | ||
<wsdl:service name="ExtWsService"> | ||
<wsdl:port binding="tns:ExtWsSoap11" name="ExtWsSoap11"> | ||
<soap:address location="https://cert.mojedatovaschranka.cz/asws/extWsEndpoint"/> | ||
</wsdl:port> | ||
</wsdl:service> | ||
</wsdl:definitions> |
Oops, something went wrong.