Skip to content

Commit cdcc589

Browse files
Merge develop into master (#71)
* 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>
1 parent 60b12b7 commit cdcc589

File tree

4 files changed

+9
-34
lines changed

4 files changed

+9
-34
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@ on:
77
description: 'Instance'
88
required: true
99

10-
defaults:
11-
run:
12-
shell: bash -ieo pipefail {0}
13-
working-directory: /var/www/pc.stacha.dev/web
14-
1510
jobs:
16-
deploy:
11+
tardis:
1712
runs-on: self-hosted
13+
defaults:
14+
run:
15+
shell: bash -ieo pipefail {0}
16+
working-directory: /var/www/${{ github.event.inputs.instance }}/web
1817
steps:
19-
- uses: actions/checkout@v2
20-
with:
21-
ref: master
22-
18+
- name: Checkout
19+
run: git pull origin master
20+
2321
- name: Install
2422
run: ./bin/install.sh ${{ secrets.DB_USER }} ${{ secrets.DB_PASSWORD }} ${{ secrets.DB_NAME }}

.github/workflows/issue_template.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/pull_request_template.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Test
22

33
on: [pull_request]
44

0 commit comments

Comments
 (0)