This commit is contained in:
Paolo A
2024-05-10 22:31:47 +00:00
parent ba11808781
commit 6fbfc69558
20 changed files with 225 additions and 8 deletions

15
.editorconfig Normal file
View File

@@ -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

46
.env.example Normal file
View File

@@ -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}"

5
.gitattributes vendored Normal file
View File

@@ -0,0 +1,5 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore

13
.gitignore vendored Normal file
View File

@@ -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

13
.styleci.yml Normal file
View File

@@ -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

42
DEADJOE Normal file
View File

@@ -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 <root@vps-88271abb.vps.ovh.net>
#
# 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

61
README.md Normal file
View File

@@ -0,0 +1,61 @@
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p>
<p align="center">
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/d/total.svg" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/v/stable.svg" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/license.svg" alt="License"></a>
</p>
## 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).

View File

@@ -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");

View File

@@ -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
});
}

View File

@@ -4822,7 +4822,7 @@ echo "FINITO!!!";
Route::get('/emailtest', function(){
Mail::html('Prova email <b>2</b>', 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");

View File

@@ -19,5 +19,3 @@ if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
}
require_once __DIR__.'/public/index.php';
// Test

3
storage/app/.gitignore vendored Executable file
View File

@@ -0,0 +1,3 @@
*
!public/
!.gitignore

2
storage/app/public/.gitignore vendored Executable file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

8
storage/framework/.gitignore vendored Executable file
View File

@@ -0,0 +1,8 @@
config.php
routes.php
schedule-*
compiled.php
services.json
events.scanned.php
routes.scanned.php
down

3
storage/framework/cache/.gitignore vendored Executable file
View File

@@ -0,0 +1,3 @@
*
!data/
!.gitignore

2
storage/framework/cache/data/.gitignore vendored Executable file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

2
storage/framework/sessions/.gitignore vendored Executable file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

2
storage/framework/testing/.gitignore vendored Executable file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

2
storage/framework/views/.gitignore vendored Executable file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

2
storage/logs/.gitignore vendored Executable file
View File

@@ -0,0 +1,2 @@
*
!.gitignore