mirror of
https://github.com/anonaddy/anonaddy.git
synced 2025-12-28 07:55:07 +00:00
Encrypt all queueable payloads
This commit is contained in:
parent
5bf9395acf
commit
cd70b89bc9
@ -5,12 +5,13 @@ namespace App\Jobs;
|
||||
use App\Models\DeletedUsername;
|
||||
use App\Models\User;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class DeleteAccount implements ShouldQueue
|
||||
class DeleteAccount implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ use App\Models\Recipient;
|
||||
use App\Notifications\GpgKeyExpired;
|
||||
use App\Traits\CheckUserRules;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
@ -18,7 +19,7 @@ use Illuminate\Support\Str;
|
||||
use Swift_Signers_DKIMSigner;
|
||||
use Swift_SwiftException;
|
||||
|
||||
class ForwardEmail extends Mailable implements ShouldQueue
|
||||
class ForwardEmail extends Mailable implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Queueable, SerializesModels, CheckUserRules;
|
||||
|
||||
|
||||
@ -8,12 +8,13 @@ use App\Models\EmailData;
|
||||
use App\Models\User;
|
||||
use App\Traits\CheckUserRules;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Swift_Signers_DKIMSigner;
|
||||
|
||||
class ReplyToEmail extends Mailable implements ShouldQueue
|
||||
class ReplyToEmail extends Mailable implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Queueable, SerializesModels, CheckUserRules;
|
||||
|
||||
|
||||
@ -8,12 +8,13 @@ use App\Models\EmailData;
|
||||
use App\Models\User;
|
||||
use App\Traits\CheckUserRules;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Swift_Signers_DKIMSigner;
|
||||
|
||||
class SendFromEmail extends Mailable implements ShouldQueue
|
||||
class SendFromEmail extends Mailable implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Queueable, SerializesModels, CheckUserRules;
|
||||
|
||||
|
||||
@ -4,11 +4,12 @@ namespace App\Mail;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class TokenExpiringSoon extends Mailable implements ShouldQueue
|
||||
class TokenExpiringSoon extends Mailable implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
|
||||
@ -3,11 +3,12 @@
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
class GpgKeyExpired extends Notification implements ShouldQueue
|
||||
class GpgKeyExpired extends Notification implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
|
||||
@ -3,11 +3,12 @@
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
class NearBandwidthLimit extends Notification implements ShouldQueue
|
||||
class NearBandwidthLimit extends Notification implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
|
||||
@ -3,11 +3,12 @@
|
||||
namespace App\Notifications;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldBeEncrypted;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
class UsernameReminder extends Notification implements ShouldQueue
|
||||
class UsernameReminder extends Notification implements ShouldQueue, ShouldBeEncrypted
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.3",
|
||||
"asbiin/laravel-webauthn": "^0.9.0",
|
||||
"asbiin/laravel-webauthn": "^1.0.0",
|
||||
"bacon/bacon-qr-code": "^2.0",
|
||||
"doctrine/dbal": "^2.9",
|
||||
"fideloper/proxy": "^4.2",
|
||||
@ -24,7 +24,6 @@
|
||||
"php-mime-mail-parser/php-mime-mail-parser": "^6.0",
|
||||
"pragmarx/google2fa-laravel": "^1.3",
|
||||
"pragmarx/version": "^1.2",
|
||||
"predis/predis": "^1.1",
|
||||
"ramsey/uuid": "^4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
|
||||
487
composer.lock
generated
487
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -46,7 +46,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'encrypt' => false,
|
||||
'encrypt' => true,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@ -5,9 +5,9 @@ current:
|
||||
major: 0
|
||||
minor: 7
|
||||
patch: 0
|
||||
prerelease: 2-gde4e0af
|
||||
prerelease: 3-g5bf9395
|
||||
buildmetadata: ''
|
||||
commit: de4e0a
|
||||
commit: 5bf939
|
||||
timestamp:
|
||||
year: 2020
|
||||
month: 10
|
||||
|
||||
19135
package-lock.json
generated
19135
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user