Skip to content

Fix phpunit codecov#63

Merged
pchalupa merged 1 commit intodevelopfrom
fix/phpunit_codecov
Dec 15, 2020
Merged

Fix phpunit codecov#63
pchalupa merged 1 commit intodevelopfrom
fix/phpunit_codecov

Conversation

@pchalupa
Copy link
Copy Markdown
Contributor

No description provided.

@pchalupa pchalupa added the bug Something isn't working label Dec 15, 2020
@pchalupa pchalupa self-assigned this Dec 15, 2020
@pchalupa pchalupa linked an issue Dec 15, 2020 that may be closed by this pull request
@pchalupa pchalupa changed the base branch from master to develop December 15, 2020 11:24
@pchalupa pchalupa merged commit 4891e2a into develop Dec 15, 2020
@pchalupa pchalupa deleted the fix/phpunit_codecov branch December 15, 2020 11:27
pchalupa added a commit that referenced this pull request Dec 15, 2020
* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* Dev exeption (#42)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* returns exeption, init commit

* Update (#38)

* Update #38

* Remove class

* Read http code from exception

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add PNG support (#45)

* Update dependencies

* Refactoring

* Add PNG support, define multiple dimensions

* Refactoring

* Add images folder to repository #44 (#48)

* Remove index.html

* Add images gitkeep

* Feat/issue pr template (#49)

* Add issue template

* Add pull request template

* Fix/image thumbnails generator (#53)

* Add thumb file format

* Delete original image

* Feat/image state (#54)

* Return image state

* Fix return type

* Add PHPStan config (#57)

* Fix/phpstan tests (#58)

* Add tests to paths

* Add type anotation

* hash for passwords (#56)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* whirpooool hash, non-active salt

* whirlpool hash witohut salt

* Add security segment

* Generate peeper

* Add config load

* Add password verify and hashing + pepper functions

* Remove unnecessary commentars

* Fix hashString function

* Fix getHash()

* Fix return bool on verifyHash()

* Fix "exeption"=>"exception"

* Fix use Exception

* Fix PHPStan errors

* Fix return string in getHash()

* Fix comments

* Fix: don!t hash pepper

* Update shorter return value in getHash()

* Remove dots from comments

* Use password hashing

* Add security test suite

* Add tests of Hash class

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add xdebug mode (#63)

* Add save() and setQuality()

* *jpeg image quality (#55)

* *jpeg image quality

* *comment mistake

* Add save() and setQuality()

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>
pchalupa added a commit that referenced this pull request Dec 15, 2020
* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* Dev exeption (#42)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* returns exeption, init commit

* Update (#38)

* Update #38

* Remove class

* Read http code from exception

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add PNG support (#45)

* Update dependencies

* Refactoring

* Add PNG support, define multiple dimensions

* Refactoring

* Add images folder to repository #44 (#48)

* Remove index.html

* Add images gitkeep

* Feat/issue pr template (#49)

* Add issue template

* Add pull request template

* Fix/image thumbnails generator (#53)

* Add thumb file format

* Delete original image

* Feat/image state (#54)

* Return image state

* Fix return type

* Add PHPStan config (#57)

* Fix/phpstan tests (#58)

* Add tests to paths

* Add type anotation

* hash for passwords (#56)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* whirpooool hash, non-active salt

* whirlpool hash witohut salt

* Add security segment

* Generate peeper

* Add config load

* Add password verify and hashing + pepper functions

* Remove unnecessary commentars

* Fix hashString function

* Fix getHash()

* Fix return bool on verifyHash()

* Fix "exeption"=>"exception"

* Fix use Exception

* Fix PHPStan errors

* Fix return string in getHash()

* Fix comments

* Fix: don!t hash pepper

* Update shorter return value in getHash()

* Remove dots from comments

* Use password hashing

* Add security test suite

* Add tests of Hash class

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add xdebug mode (#63)

* Add save() and setQuality()

* *jpeg image quality (#55)

* *jpeg image quality

* *comment mistake

* Add save() and setQuality()

* Move templates into right folder (#65)

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>
pchalupa added a commit that referenced this pull request Dec 15, 2020
* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* Dev exeption (#42)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* returns exeption, init commit

* Update (#38)

* Update #38

* Remove class

* Read http code from exception

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add PNG support (#45)

* Update dependencies

* Refactoring

* Add PNG support, define multiple dimensions

* Refactoring

* Add images folder to repository #44 (#48)

* Remove index.html

* Add images gitkeep

* Feat/issue pr template (#49)

* Add issue template

* Add pull request template

* Fix/image thumbnails generator (#53)

* Add thumb file format

* Delete original image

* Feat/image state (#54)

* Return image state

* Fix return type

* Add PHPStan config (#57)

* Fix/phpstan tests (#58)

* Add tests to paths

* Add type anotation

* hash for passwords (#56)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* whirpooool hash, non-active salt

* whirlpool hash witohut salt

* Add security segment

* Generate peeper

* Add config load

* Add password verify and hashing + pepper functions

* Remove unnecessary commentars

* Fix hashString function

* Fix getHash()

* Fix return bool on verifyHash()

* Fix "exeption"=>"exception"

* Fix use Exception

* Fix PHPStan errors

* Fix return string in getHash()

* Fix comments

* Fix: don!t hash pepper

* Update shorter return value in getHash()

* Remove dots from comments

* Use password hashing

* Add security test suite

* Add tests of Hash class

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add xdebug mode (#63)

* Add save() and setQuality()

* *jpeg image quality (#55)

* *jpeg image quality

* *comment mistake

* Add save() and setQuality()

* Move templates into right folder (#65)

* Add workflow dispatch (#68)

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>
pchalupa added a commit that referenced this pull request Dec 16, 2020
* Merge develop into master (#69)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* Dev exeption (#42)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* returns exeption, init commit

* Update (#38)

* Update #38

* Remove class

* Read http code from exception

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add PNG support (#45)

* Update dependencies

* Refactoring

* Add PNG support, define multiple dimensions

* Refactoring

* Add images folder to repository #44 (#48)

* Remove index.html

* Add images gitkeep

* Feat/issue pr template (#49)

* Add issue template

* Add pull request template

* Fix/image thumbnails generator (#53)

* Add thumb file format

* Delete original image

* Feat/image state (#54)

* Return image state

* Fix return type

* Add PHPStan config (#57)

* Fix/phpstan tests (#58)

* Add tests to paths

* Add type anotation

* hash for passwords (#56)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* whirpooool hash, non-active salt

* whirlpool hash witohut salt

* Add security segment

* Generate peeper

* Add config load

* Add password verify and hashing + pepper functions

* Remove unnecessary commentars

* Fix hashString function

* Fix getHash()

* Fix return bool on verifyHash()

* Fix "exeption"=>"exception"

* Fix use Exception

* Fix PHPStan errors

* Fix return string in getHash()

* Fix comments

* Fix: don!t hash pepper

* Update shorter return value in getHash()

* Remove dots from comments

* Use password hashing

* Add security test suite

* Add tests of Hash class

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add xdebug mode (#63)

* Add save() and setQuality()

* *jpeg image quality (#55)

* *jpeg image quality

* *comment mistake

* Add save() and setQuality()

* Move templates into right folder (#65)

* Add workflow dispatch (#68)

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>

* Add checkout

* Fix instance variable

* Test instance

* Rename workflow

* Add default

* Rename file

* Add cd

* Add working directory

* Rename workflow

* Remove templates

* Rename file

* Add working direcotory

* Remove wd

* Add pull

* Add defaults

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>
pchalupa added a commit that referenced this pull request Dec 16, 2020
* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* Dev exeption (#42)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* returns exeption, init commit

* Update (#38)

* Update #38

* Remove class

* Read http code from exception

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add PNG support (#45)

* Update dependencies

* Refactoring

* Add PNG support, define multiple dimensions

* Refactoring

* Add images folder to repository #44 (#48)

* Remove index.html

* Add images gitkeep

* Feat/issue pr template (#49)

* Add issue template

* Add pull request template

* Fix/image thumbnails generator (#53)

* Add thumb file format

* Delete original image

* Feat/image state (#54)

* Return image state

* Fix return type

* Add PHPStan config (#57)

* Fix/phpstan tests (#58)

* Add tests to paths

* Add type anotation

* hash for passwords (#56)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* whirpooool hash, non-active salt

* whirlpool hash witohut salt

* Add security segment

* Generate peeper

* Add config load

* Add password verify and hashing + pepper functions

* Remove unnecessary commentars

* Fix hashString function

* Fix getHash()

* Fix return bool on verifyHash()

* Fix "exeption"=>"exception"

* Fix use Exception

* Fix PHPStan errors

* Fix return string in getHash()

* Fix comments

* Fix: don!t hash pepper

* Update shorter return value in getHash()

* Remove dots from comments

* Use password hashing

* Add security test suite

* Add tests of Hash class

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add xdebug mode (#63)

* Add save() and setQuality()

* *jpeg image quality (#55)

* *jpeg image quality

* *comment mistake

* Add save() and setQuality()

* Move templates into right folder (#65)

* Add workflow dispatch (#68)

* Update workflows (#70)

* Merge develop into master (#69)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* Dev exeption (#42)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* returns exeption, init commit

* Update (#38)

* Update #38

* Remove class

* Read http code from exception

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add PNG support (#45)

* Update dependencies

* Refactoring

* Add PNG support, define multiple dimensions

* Refactoring

* Add images folder to repository #44 (#48)

* Remove index.html

* Add images gitkeep

* Feat/issue pr template (#49)

* Add issue template

* Add pull request template

* Fix/image thumbnails generator (#53)

* Add thumb file format

* Delete original image

* Feat/image state (#54)

* Return image state

* Fix return type

* Add PHPStan config (#57)

* Fix/phpstan tests (#58)

* Add tests to paths

* Add type anotation

* hash for passwords (#56)

* Update master branch (#40)

* Update

* Update dependecies

* Register default routes (#16)

* Add default routes

* Test register default routes method

* Change build command

* Update

* Add create db config  (#17)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Develop db install script (#18)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Develop db install script (#19)

* Update install to generate DB config file

* Remove echo

* Add composer validate

* Add install step

* Update

* Update

* Update

* Update

* Uodate

* Update

* Update

* Update

* Update

* Add DB credetials from secrets

* Update

* Remove one driver param

* Change host

* Update

* Add port

* Change image

* Update

* Update

* Add port

* Add host ip address

* Update

* Update

* Update

* Update

* Add php unit test to ci (#20)

* Update install instructions

* Update dependencies

* Update submodule

* Update dependencies

* Update admin

* Update dependencies

* Set permitions

* Implement JWT and configuration helper (#26)

* Install php-jwt resolve #24

* Add authorization header resolve #24

* Add configuration class resolve #25

* Add unit test resolve #25

* Use configuration helper resolve #25

* Use configuration helper #25

* Add jwt authorization #24

* Remove exists check #25

* Add base authorization class #24

* Use jwt instead of api key

* Use jwt instead of api key #24

* Add return #24

* Type fix #24

* Add unit test #24

* Set default values #24

* Use localhost #24

* Undo changes

* Test params

* Add connection test

* Use env vars

* Use mysql

* use mariadb

* Test

* Test

* test

* test

* Use mariadb action

* Use root access

* Set db name

* Rename db

* Set cache for doctrine orm (#27)

* Set cache for orm

* Remove unvanted echo

* Add status to article (#28)

* Add command to clear metadata cache

* Set to not use simple anotation driver

* Add status property

* Add article status to render

* Add type

* Add file storage and image manipulation helper closes #23, closes #31 (#32)

* Check if authorization token is provided

* Refactoring

* Change return type to null|string

* Add file system functions with image manipulation tool #23 #31

* Add storage name constant

* Update dependencies

* Chande exception message

* Set http host

* Convert path to absolute path

* Remove setup method

* Add file system tests

* Add file system tests #23 #31

* Remove public/storage from git ignore

* Remove url test

* Remove debug constant (#33)

* Add gallery entity (#34)

* Add gallery entity

* Fix route regex

* Add gallery controller

* Add image entity #30

* Parse body based on content type, add files

* Get files from body entity

* Add upload directory parammeter

* Add get dirname method

* Generate thumbnails into seperated folders

* If content type is not provided make it null

* Replace method get url with get uri

* Return uri isntead of url

* Add string check

* Replace null with empty string

* Update dependencies

* Add clear cache command

* Add tmp directory

* Add command to generate proxies

* Add proxy dir

* Remove query class

* Add path type check

* Add standing property to render

* Delete image with thumbnails

* Add gallery relation

* Add image controller

* Delete image together with gallery

* Remove file use

* Set cs to check only src

* CS fix

* Generate proxies after install

* Add cli mode variable

* CS fix

* Parse authrozation header

* Refactoring

* Set default body content (#35)

* Set empty body

* Change return type

* Add token prefix

* Add file entity (#36)

* Refactoring

* Add file entity

* Add get all and get one methods

* Update dependencies

* Add upload name property

* Use upload name

* Fix insert to db

* Remove admin submodule (#37)

* Remove admin submodule

* Remove admin submodule

* Add keep admin folder

* Update information in a README (#39)

* Remove unvanted cd

* Update information

* Update workflow

* whirpooool hash, non-active salt

* whirlpool hash witohut salt

* Add security segment

* Generate peeper

* Add config load

* Add password verify and hashing + pepper functions

* Remove unnecessary commentars

* Fix hashString function

* Fix getHash()

* Fix return bool on verifyHash()

* Fix "exeption"=>"exception"

* Fix use Exception

* Fix PHPStan errors

* Fix return string in getHash()

* Fix comments

* Fix: don!t hash pepper

* Update shorter return value in getHash()

* Remove dots from comments

* Use password hashing

* Add security test suite

* Add tests of Hash class

Co-authored-by: Petr Chalupa <chalupa.petr93@gmail.com>

* Add xdebug mode (#63)

* Add save() and setQuality()

* *jpeg image quality (#55)

* *jpeg image quality

* *comment mistake

* Add save() and setQuality()

* Move templates into right folder (#65)

* Add workflow dispatch (#68)

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>

* Add checkout

* Fix instance variable

* Test instance

* Rename workflow

* Add default

* Rename file

* Add cd

* Add working directory

* Rename workflow

* Remove templates

* Rename file

* Add working direcotory

* Remove wd

* Add pull

* Add defaults

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>

Co-authored-by: Oliver Staša <oliver.stasa@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHPUnit failing to generate codecov

1 participant