mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 04:01:10 -04:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			dark-baseI
			...
			dependabot
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| cc89285caa | |||
| 393fe20010 | |||
| 57bdbd2897 | 
							
								
								
									
										9
									
								
								.github/workflows/uffizzi-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/uffizzi-build.yml
									
									
									
									
										vendored
									
									
								
							| @ -14,8 +14,6 @@ jobs: | ||||
|     steps: | ||||
|       - name: Checkout git repo | ||||
|         uses: actions/checkout@v3 | ||||
|       - name: Set up Docker Buildx | ||||
|         uses: docker/setup-buildx-action@v2         | ||||
|       - name: Generate UUID image name | ||||
|         id: uuid | ||||
|         run: echo "UUID_TAG_APP=$(uuidgen)" >> $GITHUB_ENV | ||||
| @ -33,11 +31,10 @@ jobs: | ||||
|           tags: ${{ steps.meta.outputs.tags }} | ||||
|           labels: ${{ steps.meta.outputs.labels }} | ||||
|           file: ./uffizzi/Dockerfile | ||||
|           cache-from: type=gha | ||||
|           cache-to: type=gha,mode=max | ||||
|  | ||||
|  | ||||
|   build-nginx: | ||||
|     needs:  | ||||
|       - build-application | ||||
|     name: Build and Push `nginx` | ||||
|     runs-on: ubuntu-latest | ||||
|     if: ${{ github.event_name != 'pull_request' || github.event.action != 'closed' }} | ||||
| @ -65,6 +62,8 @@ jobs: | ||||
|           tags: ${{ steps.meta.outputs.tags }} | ||||
|           labels: ${{ steps.meta.outputs.labels }} | ||||
|           file: ./uffizzi/nginx/Dockerfile | ||||
|           build-args: | | ||||
|             BASE_IMAGE=${{ needs.build-application.outputs.tags }} | ||||
|           cache-from: type=gha | ||||
|           cache-to: type=gha,mode=max | ||||
|  | ||||
|  | ||||
| @ -55,7 +55,7 @@ class CreateTemplateCommand extends Command | ||||
|         copy(public_path("/build/img/PDF/{$type}1.png"), public_path("/build/img/PDF/{$templateName}.png")); | ||||
|         copy(resource_path("/static/img/PDF/{$type}1.png"), resource_path("/static/img/PDF/{$templateName}.png")); | ||||
|  | ||||
|         $path = resource_path("app/pdf/{$type}/{$templateName}.blade.php"); | ||||
|         $path = resource_path("views/app/pdf/{$type}/{$templateName}.blade.php"); | ||||
|         $type = ucfirst($type); | ||||
|         $this->info("{$type} Template created successfully at ".$path); | ||||
|  | ||||
|  | ||||
							
								
								
									
										263
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										263
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							| @ -4390,25 +4390,30 @@ | ||||
|         }, | ||||
|         { | ||||
|             "name": "phpdocumentor/type-resolver", | ||||
|             "version": "1.6.1", | ||||
|             "version": "1.6.2", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/phpDocumentor/TypeResolver.git", | ||||
|                 "reference": "77a32518733312af16a44300404e945338981de3" | ||||
|                 "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", | ||||
|                 "reference": "77a32518733312af16a44300404e945338981de3", | ||||
|                 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/48f445a408c131e38cab1c235aa6d2bb7a0bb20d", | ||||
|                 "reference": "48f445a408c131e38cab1c235aa6d2bb7a0bb20d", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
|                 "php": "^7.2 || ^8.0", | ||||
|                 "php": "^7.4 || ^8.0", | ||||
|                 "phpdocumentor/reflection-common": "^2.0" | ||||
|             }, | ||||
|             "require-dev": { | ||||
|                 "ext-tokenizer": "*", | ||||
|                 "psalm/phar": "^4.8" | ||||
|                 "phpstan/extension-installer": "^1.1", | ||||
|                 "phpstan/phpstan": "^1.8", | ||||
|                 "phpstan/phpstan-phpunit": "^1.1", | ||||
|                 "phpunit/phpunit": "^9.5", | ||||
|                 "rector/rector": "^0.13.9", | ||||
|                 "vimeo/psalm": "^4.25" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
| @ -4434,9 +4439,9 @@ | ||||
|             "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", | ||||
|             "support": { | ||||
|                 "issues": "https://github.com/phpDocumentor/TypeResolver/issues", | ||||
|                 "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" | ||||
|                 "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.2" | ||||
|             }, | ||||
|             "time": "2022-03-15T21:29:03+00:00" | ||||
|             "time": "2022-10-14T12:47:21+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "phpoption/phpoption", | ||||
| @ -7666,7 +7671,7 @@ | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/deprecation-contracts", | ||||
|             "version": "v3.0.1", | ||||
|             "version": "v3.0.2", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/deprecation-contracts.git", | ||||
| @ -7713,7 +7718,7 @@ | ||||
|             "description": "A generic function and convention to trigger deprecation notices", | ||||
|             "homepage": "https://symfony.com", | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.1" | ||||
|                 "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -7733,16 +7738,16 @@ | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/error-handler", | ||||
|             "version": "v5.4.9", | ||||
|             "version": "v5.4.19", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/error-handler.git", | ||||
|                 "reference": "c116cda1f51c678782768dce89a45f13c949455d" | ||||
|                 "reference": "438ef3e5e6481244785da3ce8cf8f4e74e7f2822" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/error-handler/zipball/c116cda1f51c678782768dce89a45f13c949455d", | ||||
|                 "reference": "c116cda1f51c678782768dce89a45f13c949455d", | ||||
|                 "url": "https://api.github.com/repos/symfony/error-handler/zipball/438ef3e5e6481244785da3ce8cf8f4e74e7f2822", | ||||
|                 "reference": "438ef3e5e6481244785da3ce8cf8f4e74e7f2822", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -7784,7 +7789,7 @@ | ||||
|             "description": "Provides tools to manage errors and ease debugging PHP code", | ||||
|             "homepage": "https://symfony.com", | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/error-handler/tree/v5.4.9" | ||||
|                 "source": "https://github.com/symfony/error-handler/tree/v5.4.19" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -7800,20 +7805,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-21T13:57:48+00:00" | ||||
|             "time": "2023-01-01T08:32:19+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/event-dispatcher", | ||||
|             "version": "v6.0.9", | ||||
|             "version": "v6.0.19", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/event-dispatcher.git", | ||||
|                 "reference": "5c85b58422865d42c6eb46f7693339056db098a8" | ||||
|                 "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/5c85b58422865d42c6eb46f7693339056db098a8", | ||||
|                 "reference": "5c85b58422865d42c6eb46f7693339056db098a8", | ||||
|                 "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", | ||||
|                 "reference": "2eaf8e63bc5b8cefabd4a800157f0d0c094f677a", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -7867,7 +7872,7 @@ | ||||
|             "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", | ||||
|             "homepage": "https://symfony.com", | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.9" | ||||
|                 "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.19" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -7883,11 +7888,11 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-05T16:45:52+00:00" | ||||
|             "time": "2023-01-01T08:36:10+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/event-dispatcher-contracts", | ||||
|             "version": "v3.0.1", | ||||
|             "version": "v3.0.2", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/event-dispatcher-contracts.git", | ||||
| @ -7946,7 +7951,7 @@ | ||||
|                 "standards" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.1" | ||||
|                 "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.2" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8029,16 +8034,16 @@ | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/http-foundation", | ||||
|             "version": "v5.4.9", | ||||
|             "version": "v5.4.20", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/http-foundation.git", | ||||
|                 "reference": "6b0d0e4aca38d57605dcd11e2416994b38774522" | ||||
|                 "reference": "d0435363362a47c14e9cf50663cb8ffbf491875a" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/http-foundation/zipball/6b0d0e4aca38d57605dcd11e2416994b38774522", | ||||
|                 "reference": "6b0d0e4aca38d57605dcd11e2416994b38774522", | ||||
|                 "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d0435363362a47c14e9cf50663cb8ffbf491875a", | ||||
|                 "reference": "d0435363362a47c14e9cf50663cb8ffbf491875a", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8050,8 +8055,11 @@ | ||||
|             "require-dev": { | ||||
|                 "predis/predis": "~1.0", | ||||
|                 "symfony/cache": "^4.4|^5.0|^6.0", | ||||
|                 "symfony/dependency-injection": "^5.4|^6.0", | ||||
|                 "symfony/expression-language": "^4.4|^5.0|^6.0", | ||||
|                 "symfony/mime": "^4.4|^5.0|^6.0" | ||||
|                 "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", | ||||
|                 "symfony/mime": "^4.4|^5.0|^6.0", | ||||
|                 "symfony/rate-limiter": "^5.2|^6.0" | ||||
|             }, | ||||
|             "suggest": { | ||||
|                 "symfony/mime": "To use the file extension guesser" | ||||
| @ -8082,7 +8090,7 @@ | ||||
|             "description": "Defines an object-oriented layer for the HTTP specification", | ||||
|             "homepage": "https://symfony.com", | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/http-foundation/tree/v5.4.9" | ||||
|                 "source": "https://github.com/symfony/http-foundation/tree/v5.4.20" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8098,20 +8106,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-17T15:07:29+00:00" | ||||
|             "time": "2023-01-29T11:11:52+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/http-kernel", | ||||
|             "version": "v5.4.9", | ||||
|             "version": "v5.4.20", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/http-kernel.git", | ||||
|                 "reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8" | ||||
|                 "reference": "aaeec341582d3c160cc9ecfa8b2419ba6c69954e" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/http-kernel/zipball/34b121ad3dc761f35fe1346d2f15618f8cbf77f8", | ||||
|                 "reference": "34b121ad3dc761f35fe1346d2f15618f8cbf77f8", | ||||
|                 "url": "https://api.github.com/repos/symfony/http-kernel/zipball/aaeec341582d3c160cc9ecfa8b2419ba6c69954e", | ||||
|                 "reference": "aaeec341582d3c160cc9ecfa8b2419ba6c69954e", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8194,7 +8202,7 @@ | ||||
|             "description": "Provides a structured process for converting a Request into a Response", | ||||
|             "homepage": "https://symfony.com", | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/http-kernel/tree/v5.4.9" | ||||
|                 "source": "https://github.com/symfony/http-kernel/tree/v5.4.20" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8210,20 +8218,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-27T07:09:08+00:00" | ||||
|             "time": "2023-02-01T08:18:48+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/mime", | ||||
|             "version": "v5.4.9", | ||||
|             "version": "v5.4.19", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/mime.git", | ||||
|                 "reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e" | ||||
|                 "reference": "a858429a9c704edc53fe057228cf9ca282ba48eb" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/mime/zipball/2b3802a24e48d0cfccf885173d2aac91e73df92e", | ||||
|                 "reference": "2b3802a24e48d0cfccf885173d2aac91e73df92e", | ||||
|                 "url": "https://api.github.com/repos/symfony/mime/zipball/a858429a9c704edc53fe057228cf9ca282ba48eb", | ||||
|                 "reference": "a858429a9c704edc53fe057228cf9ca282ba48eb", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8237,15 +8245,16 @@ | ||||
|                 "egulias/email-validator": "~3.0.0", | ||||
|                 "phpdocumentor/reflection-docblock": "<3.2.2", | ||||
|                 "phpdocumentor/type-resolver": "<1.4.0", | ||||
|                 "symfony/mailer": "<4.4" | ||||
|                 "symfony/mailer": "<4.4", | ||||
|                 "symfony/serializer": "<5.4.14|>=6.0,<6.0.14|>=6.1,<6.1.6" | ||||
|             }, | ||||
|             "require-dev": { | ||||
|                 "egulias/email-validator": "^2.1.10|^3.1", | ||||
|                 "egulias/email-validator": "^2.1.10|^3.1|^4", | ||||
|                 "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", | ||||
|                 "symfony/dependency-injection": "^4.4|^5.0|^6.0", | ||||
|                 "symfony/property-access": "^4.4|^5.1|^6.0", | ||||
|                 "symfony/property-info": "^4.4|^5.1|^6.0", | ||||
|                 "symfony/serializer": "^5.2|^6.0" | ||||
|                 "symfony/serializer": "^5.4.14|~6.0.14|^6.1.6" | ||||
|             }, | ||||
|             "type": "library", | ||||
|             "autoload": { | ||||
| @ -8277,7 +8286,7 @@ | ||||
|                 "mime-type" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/mime/tree/v5.4.9" | ||||
|                 "source": "https://github.com/symfony/mime/tree/v5.4.19" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8293,20 +8302,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-21T10:24:18+00:00" | ||||
|             "time": "2023-01-09T05:43:46+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-ctype", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-ctype.git", | ||||
|                 "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" | ||||
|                 "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", | ||||
|                 "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", | ||||
|                 "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8321,7 +8330,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -8359,7 +8368,7 @@ | ||||
|                 "portable" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8375,7 +8384,7 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-24T11:49:31+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-iconv", | ||||
| @ -8462,16 +8471,16 @@ | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-intl-grapheme", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-intl-grapheme.git", | ||||
|                 "reference": "433d05519ce6990bf3530fba6957499d327395c2" | ||||
|                 "reference": "511a08c03c1960e08a883f4cffcacd219b758354" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", | ||||
|                 "reference": "433d05519ce6990bf3530fba6957499d327395c2", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", | ||||
|                 "reference": "511a08c03c1960e08a883f4cffcacd219b758354", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8483,7 +8492,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -8523,7 +8532,7 @@ | ||||
|                 "shim" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8539,20 +8548,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-24T11:49:31+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-intl-idn", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-intl-idn.git", | ||||
|                 "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8" | ||||
|                 "reference": "639084e360537a19f9ee352433b84ce831f3d2da" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/59a8d271f00dd0e4c2e518104cc7963f655a1aa8", | ||||
|                 "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", | ||||
|                 "reference": "639084e360537a19f9ee352433b84ce831f3d2da", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8566,7 +8575,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -8610,7 +8619,7 @@ | ||||
|                 "shim" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8626,20 +8635,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-24T11:49:31+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-intl-normalizer", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-intl-normalizer.git", | ||||
|                 "reference": "219aa369ceff116e673852dce47c3a41794c14bd" | ||||
|                 "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", | ||||
|                 "reference": "219aa369ceff116e673852dce47c3a41794c14bd", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", | ||||
|                 "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8651,7 +8660,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -8694,7 +8703,7 @@ | ||||
|                 "shim" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8710,20 +8719,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-24T11:49:31+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-mbstring", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-mbstring.git", | ||||
|                 "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" | ||||
|                 "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", | ||||
|                 "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", | ||||
|                 "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8738,7 +8747,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -8777,7 +8786,7 @@ | ||||
|                 "shim" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8793,20 +8802,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-24T11:49:31+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-php72", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-php72.git", | ||||
|                 "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2" | ||||
|                 "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/bf44a9fd41feaac72b074de600314a93e2ae78e2", | ||||
|                 "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", | ||||
|                 "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8815,7 +8824,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -8853,7 +8862,7 @@ | ||||
|                 "shim" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8869,20 +8878,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-24T11:49:31+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-php73", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-php73.git", | ||||
|                 "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" | ||||
|                 "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", | ||||
|                 "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", | ||||
|                 "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8891,7 +8900,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -8932,7 +8941,7 @@ | ||||
|                 "shim" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -8948,20 +8957,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-24T11:49:31+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-php80", | ||||
|             "version": "v1.26.0", | ||||
|             "version": "v1.27.0", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/polyfill-php80.git", | ||||
|                 "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" | ||||
|                 "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", | ||||
|                 "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", | ||||
|                 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", | ||||
|                 "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -8970,7 +8979,7 @@ | ||||
|             "type": "library", | ||||
|             "extra": { | ||||
|                 "branch-alias": { | ||||
|                     "dev-main": "1.26-dev" | ||||
|                     "dev-main": "1.27-dev" | ||||
|                 }, | ||||
|                 "thanks": { | ||||
|                     "name": "symfony/polyfill", | ||||
| @ -9015,7 +9024,7 @@ | ||||
|                 "shim" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" | ||||
|                 "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -9031,7 +9040,7 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-10T07:21:04+00:00" | ||||
|             "time": "2022-11-03T14:55:06+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/polyfill-php81", | ||||
| @ -9266,16 +9275,16 @@ | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/service-contracts", | ||||
|             "version": "v2.5.1", | ||||
|             "version": "v2.5.2", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/service-contracts.git", | ||||
|                 "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" | ||||
|                 "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", | ||||
|                 "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", | ||||
|                 "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", | ||||
|                 "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -9329,7 +9338,7 @@ | ||||
|                 "standards" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/service-contracts/tree/v2.5.1" | ||||
|                 "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -9345,20 +9354,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-03-13T20:07:29+00:00" | ||||
|             "time": "2022-05-30T19:17:29+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/string", | ||||
|             "version": "v6.0.9", | ||||
|             "version": "v6.0.19", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/string.git", | ||||
|                 "reference": "df9f03d595aa2d446498ba92fe803a519b2c43cc" | ||||
|                 "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/string/zipball/df9f03d595aa2d446498ba92fe803a519b2c43cc", | ||||
|                 "reference": "df9f03d595aa2d446498ba92fe803a519b2c43cc", | ||||
|                 "url": "https://api.github.com/repos/symfony/string/zipball/d9e72497367c23e08bf94176d2be45b00a9d232a", | ||||
|                 "reference": "d9e72497367c23e08bf94176d2be45b00a9d232a", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -9414,7 +9423,7 @@ | ||||
|                 "utf8" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/string/tree/v6.0.9" | ||||
|                 "source": "https://github.com/symfony/string/tree/v6.0.19" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -9430,7 +9439,7 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-04-22T08:18:02+00:00" | ||||
|             "time": "2023-01-01T08:36:10+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/translation", | ||||
| @ -9529,16 +9538,16 @@ | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/translation-contracts", | ||||
|             "version": "v3.0.1", | ||||
|             "version": "v3.0.2", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/translation-contracts.git", | ||||
|                 "reference": "c4183fc3ef0f0510893cbeedc7718fb5cafc9ac9" | ||||
|                 "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/c4183fc3ef0f0510893cbeedc7718fb5cafc9ac9", | ||||
|                 "reference": "c4183fc3ef0f0510893cbeedc7718fb5cafc9ac9", | ||||
|                 "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/acbfbb274e730e5a0236f619b6168d9dedb3e282", | ||||
|                 "reference": "acbfbb274e730e5a0236f619b6168d9dedb3e282", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -9587,7 +9596,7 @@ | ||||
|                 "standards" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/translation-contracts/tree/v3.0.1" | ||||
|                 "source": "https://github.com/symfony/translation-contracts/tree/v3.0.2" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -9603,20 +9612,20 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-01-02T09:55:41+00:00" | ||||
|             "time": "2022-06-27T17:10:44+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "symfony/var-dumper", | ||||
|             "version": "v5.4.9", | ||||
|             "version": "v5.4.19", | ||||
|             "source": { | ||||
|                 "type": "git", | ||||
|                 "url": "https://github.com/symfony/var-dumper.git", | ||||
|                 "reference": "af52239a330fafd192c773795520dc2dd62b5657" | ||||
|                 "reference": "2944bbc23f5f8da2b962fbcbf7c4a6109b2f4b7b" | ||||
|             }, | ||||
|             "dist": { | ||||
|                 "type": "zip", | ||||
|                 "url": "https://api.github.com/repos/symfony/var-dumper/zipball/af52239a330fafd192c773795520dc2dd62b5657", | ||||
|                 "reference": "af52239a330fafd192c773795520dc2dd62b5657", | ||||
|                 "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2944bbc23f5f8da2b962fbcbf7c4a6109b2f4b7b", | ||||
|                 "reference": "2944bbc23f5f8da2b962fbcbf7c4a6109b2f4b7b", | ||||
|                 "shasum": "" | ||||
|             }, | ||||
|             "require": { | ||||
| @ -9676,7 +9685,7 @@ | ||||
|                 "dump" | ||||
|             ], | ||||
|             "support": { | ||||
|                 "source": "https://github.com/symfony/var-dumper/tree/v5.4.9" | ||||
|                 "source": "https://github.com/symfony/var-dumper/tree/v5.4.19" | ||||
|             }, | ||||
|             "funding": [ | ||||
|                 { | ||||
| @ -9692,7 +9701,7 @@ | ||||
|                     "type": "tidelift" | ||||
|                 } | ||||
|             ], | ||||
|             "time": "2022-05-21T10:24:18+00:00" | ||||
|             "time": "2023-01-16T10:52:33+00:00" | ||||
|         }, | ||||
|         { | ||||
|             "name": "theseer/tokenizer", | ||||
| @ -11856,5 +11865,5 @@ | ||||
|         "php": "^7.4 || ^8.0" | ||||
|     }, | ||||
|     "platform-dev": [], | ||||
|     "plugin-api-version": "2.1.0" | ||||
|     "plugin-api-version": "2.3.0" | ||||
| } | ||||
|  | ||||
| @ -11,7 +11,8 @@ RUN apt-get update && apt-get install -y \ | ||||
|     unzip \ | ||||
|     libzip-dev \ | ||||
|     libmagickwand-dev \ | ||||
|     mariadb-client | ||||
|     mariadb-client \ | ||||
|     npm | ||||
|  | ||||
| # Clear cache | ||||
| RUN apt-get clean && rm -rf /var/lib/apt/lists/* | ||||
| @ -45,4 +46,19 @@ RUN chmod -R 775 composer.json composer.lock \ | ||||
| RUN chown -R $(whoami):$(whoami) /var/log/ | ||||
| RUN chmod -R 775 /var/log | ||||
|  | ||||
| # Cleanup manually generated build files | ||||
| RUN rm -rf /var/www/public/build | ||||
| RUN npm config set user 0 | ||||
| RUN npm config set unsafe-perm true | ||||
| # Frontend bulding | ||||
| RUN sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/g' /var/www/.env | ||||
| RUN sed -i 's/DB_DATABASE=crater/DB_DATABASE=\/tmp\/crater.sqlite/g' /var/www/.env | ||||
| RUN touch /tmp/crater.sqlite | ||||
| RUN composer install --no-interaction --prefer-dist | ||||
| RUN npm i -f | ||||
| RUN npm install --save-dev sass | ||||
| RUN export NODE_OPTIONS="--max-old-space-size=4096" && /usr/bin/npx vite build --target=es2020 | ||||
| RUN sed -i 's/DB_CONNECTION=sqlite/DB_CONNECTION=mysql/g' /var/www/.env | ||||
| RUN sed -i 's/DB_DATABASE=\/tmp\/crater.sqlite/DB_DATABASE=crater/g' /var/www/.env | ||||
|  | ||||
| USER crater-user | ||||
|  | ||||
| @ -1,7 +1,9 @@ | ||||
| ARG BASE_IMAGE | ||||
|  | ||||
| FROM $BASE_IMAGE as build | ||||
| FROM nginx:1.17-alpine | ||||
|  | ||||
| RUN rm /etc/nginx/conf.d/default.conf | ||||
|  | ||||
| COPY ./ /var/www | ||||
| COPY --from=build /var/www /var/www | ||||
| COPY ./uffizzi/nginx/nginx /etc/nginx/conf.d/ | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	![dependabot[bot]](/assets/img/avatar_default.png)