diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..6537ca46 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..ac748637 --- /dev/null +++ b/.env.example @@ -0,0 +1,46 @@ +APP_NAME=Laravel +APP_ENV=local +APP_KEY= +APP_DEBUG=true +APP_URL=http://localhost + +LOG_CHANNEL=stack + +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=laravel +DB_USERNAME=root +DB_PASSWORD= + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +QUEUE_CONNECTION=sync +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=smtp +MAIL_HOST=smtp.mailtrap.io +MAIL_PORT=2525 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_ENCRYPTION=null +MAIL_FROM_ADDRESS=null +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= + +PUSHER_APP_ID= +PUSHER_APP_KEY= +PUSHER_APP_SECRET= +PUSHER_APP_CLUSTER=mt1 + +MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..967315dd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +* text=auto +*.css linguist-vendored +*.scss linguist-vendored +*.js linguist-vendored +CHANGELOG.md export-ignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..09672f88 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +/node_modules +/public/hot +/public/storage +/storage/*.key +/vendor +.env +.env.backup +.phpunit.result.cache +Homestead.json +Homestead.yaml +npm-debug.log +yarn-error.log +*.zip diff --git a/.styleci.yml b/.styleci.yml new file mode 100644 index 00000000..1db61d96 --- /dev/null +++ b/.styleci.yml @@ -0,0 +1,13 @@ +php: + preset: laravel + disabled: + - unused_use + finder: + not-name: + - index.php + - server.php +js: + finder: + not-name: + - webpack.mix.js +css: true diff --git a/DEADJOE b/DEADJOE new file mode 100644 index 00000000..4e547e32 --- /dev/null +++ b/DEADJOE @@ -0,0 +1,42 @@ + +*** These modified files were found in JOE when it aborted on Fri May 10 17:33:06 2024 +*** JOE was aborted because the terminal closed + +*** File '(Unnamed)' +q + +*** File '(Unnamed)' +/var/www/html/apimacro/.git/COMMIT_EDITMSG + +*** File '/var/www/html/apimacro/.git/COMMIT_EDITMSG' + +# Please enterq!:Qq theqqqq commit message for your changes. Lines starting +# with '#' will be ignored, and an empty message aborts the commit. +# +# Committer: root +# +# On branch produzione +# Your branch is up to date with 'origin/produzione'. +# +# Changes to be committed: +# modified: app/Console/Commands/ProductUpdateGm.php +# modified: app/Console/Commands/ProductUpdateUsedGm.php +# modified: routes/web.php +# modified: server.php +# +# Untracked files: +# .editorconfig +# .env.example +# .gitattributes +# .gitignore +# .styleci.yml +# README.md +# storage/ +# +:q! + +*** File '* Startup Log *' +Processing '/etc/joe/editorrc'... +Processing '/etc/joe/ftyperc'... +Finished processing /etc/joe/ftyperc +Finished processing /etc/joe/editorrc diff --git a/README.md b/README.md new file mode 100644 index 00000000..f3decb12 --- /dev/null +++ b/README.md @@ -0,0 +1,61 @@ +

+ +

+Build Status +Total Downloads +Latest Stable Version +License +

+ +## About Laravel + +Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: + +- [Simple, fast routing engine](https://laravel.com/docs/routing). +- [Powerful dependency injection container](https://laravel.com/docs/container). +- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. +- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). +- Database agnostic [schema migrations](https://laravel.com/docs/migrations). +- [Robust background job processing](https://laravel.com/docs/queues). +- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). + +Laravel is accessible, powerful, and provides tools required for large, robust applications. + +## Learning Laravel + +Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. + +If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. + +## Laravel Sponsors + +We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). + +### Premium Partners + +- **[Vehikl](https://vehikl.com/)** +- **[Tighten Co.](https://tighten.co)** +- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** +- **[64 Robots](https://64robots.com)** +- **[Cubet Techno Labs](https://cubettech.com)** +- **[Cyber-Duck](https://cyber-duck.co.uk)** +- **[Many](https://www.many.co.uk)** +- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** +- **[DevSquad](https://devsquad.com)** +- **[OP.GG](https://op.gg)** + +## Contributing + +Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). + +## Code of Conduct + +In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). + +## Security Vulnerabilities + +If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. + +## License + +The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). diff --git a/app/Console/Commands/ProductUpdateGm.php b/app/Console/Commands/ProductUpdateGm.php index 7b210d0c..ec10df86 100644 --- a/app/Console/Commands/ProductUpdateGm.php +++ b/app/Console/Commands/ProductUpdateGm.php @@ -1105,7 +1105,7 @@ class ProductUpdateGm extends Command Log::channel('updateproducts')->notice($log . $log2 . $log1 . $log3); Log::channel('updateproducts')->notice('Fino a '.$ora_update."\n"); Mail::raw($loginizio. $log . $log2 . $log1 . $log3 . $logfine, function ($message) { - $message->to("fioredellavitamacro@gmail.com"); + $message->to("fioredellavitainfo@gmail.com"); //$message->bcc('luca@pecos.it'); $message->subject("Inserimento nuovi prodotti"); diff --git a/app/Console/Commands/ProductUpdateUsedGm.php b/app/Console/Commands/ProductUpdateUsedGm.php index 4a06224b..599b9ea3 100644 --- a/app/Console/Commands/ProductUpdateUsedGm.php +++ b/app/Console/Commands/ProductUpdateUsedGm.php @@ -283,12 +283,10 @@ class ProductUpdateUsedGm extends Command Log::channel('updateproductsused')->notice($log . $log2 . $log1 . $log3); Log::channel('updateproductsused')->notice('Fino a '.$ora_update."\n"); Mail::raw($loginizio. $log . $log2 . $log1 . $log3 . $logfine, function ($message) { - $message->to("fioredellavitamacro@gmail.com"); + $message->to("fioredellavitainfo@gmail.com"); //$message->bcc('luca@pecos.it'); $message->subject("Inserimento nuovi prodotti usati"); - // prova - }); } diff --git a/routes/web.php b/routes/web.php index 3e6a13bf..4381267d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -4822,7 +4822,7 @@ echo "FINITO!!!"; Route::get('/emailtest', function(){ Mail::html('Prova email 2', function ($message) { - $message->to("fioredellavitamacro@gmail.com"); + $message->to("luca.pecos@gmail.com"); $message->subject("Prova email"); }); @@ -4965,7 +4965,7 @@ Route::get('/wpposts', function(){ } echo "Finito"; Mail::html($log, function ($message) { - $message->to("fioredellavitamacro@gmail.com"); + $message->to("luca.pecos@gmail.com"); //$message->bcc('luca@pecos.it'); $message->subject("Youtube"); diff --git a/server.php b/server.php index a56603e7..5fb6379e 100644 --- a/server.php +++ b/server.php @@ -19,5 +19,3 @@ if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { } require_once __DIR__.'/public/index.php'; - -// Test diff --git a/storage/app/.gitignore b/storage/app/.gitignore new file mode 100755 index 00000000..8f4803c0 --- /dev/null +++ b/storage/app/.gitignore @@ -0,0 +1,3 @@ +* +!public/ +!.gitignore diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/app/public/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore new file mode 100755 index 00000000..b02b700f --- /dev/null +++ b/storage/framework/.gitignore @@ -0,0 +1,8 @@ +config.php +routes.php +schedule-* +compiled.php +services.json +events.scanned.php +routes.scanned.php +down diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore new file mode 100755 index 00000000..01e4a6cd --- /dev/null +++ b/storage/framework/cache/.gitignore @@ -0,0 +1,3 @@ +* +!data/ +!.gitignore diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/framework/cache/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/framework/sessions/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/framework/testing/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/framework/views/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore new file mode 100755 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/logs/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore