- improved vies and controllers for rejecting datasets with email for reviewer and editor role
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m8s
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m8s
- falsh also error via config/inertia.ts - npm updates
This commit is contained in:
parent
b06ccae603
commit
2235f3905a
12 changed files with 627 additions and 370 deletions
|
@ -1,49 +1,48 @@
|
|||
import env from '#start/env'
|
||||
import { defineConfig, transports } from '@adonisjs/mail'
|
||||
import env from '#start/env';
|
||||
import { defineConfig, transports } from '@adonisjs/mail';
|
||||
|
||||
const mailConfig = defineConfig({
|
||||
default: 'smtp',
|
||||
default: 'smtp',
|
||||
from: 'tethys@geosphere.at',
|
||||
/**
|
||||
* The mailers object can be used to configure multiple mailers
|
||||
* each using a different transport or same transport with different
|
||||
* options.
|
||||
*/
|
||||
mailers: {
|
||||
|
||||
smtp: transports.smtp({
|
||||
socketTimeout: 5000,// Overall timeout (5 seconds)
|
||||
host: env.get('SMTP_HOST', ''),
|
||||
port: env.get('SMTP_PORT'),
|
||||
secure: false,
|
||||
// ignoreTLS: true,
|
||||
requireTLS: false,
|
||||
|
||||
/**
|
||||
* The mailers object can be used to configure multiple mailers
|
||||
* each using a different transport or same transport with different
|
||||
* options.
|
||||
*/
|
||||
mailers: {
|
||||
smtp: transports.smtp({
|
||||
host: env.get('SMTP_HOST', ''),
|
||||
port: env.get('SMTP_PORT'),
|
||||
secure: false,
|
||||
// ignoreTLS: true,
|
||||
requireTLS: false,
|
||||
/**
|
||||
* Uncomment the auth block if your SMTP
|
||||
* server needs authentication
|
||||
*/
|
||||
/* auth: {
|
||||
/**
|
||||
* Uncomment the auth block if your SMTP
|
||||
* server needs authentication
|
||||
*/
|
||||
/* auth: {
|
||||
type: 'login',
|
||||
user: env.get('SMTP_USERNAME'),
|
||||
pass: env.get('SMTP_PASSWORD'),
|
||||
}, */
|
||||
}),
|
||||
|
||||
resend: transports.resend({
|
||||
key: env.get('RESEND_API_KEY'),
|
||||
baseUrl: 'https://api.resend.com',
|
||||
}),
|
||||
|
||||
},
|
||||
})
|
||||
}),
|
||||
|
||||
export default mailConfig
|
||||
resend: transports.resend({
|
||||
key: env.get('RESEND_API_KEY'),
|
||||
baseUrl: 'https://api.resend.com',
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
export default mailConfig;
|
||||
|
||||
declare module '@adonisjs/mail/types' {
|
||||
export interface MailersList extends InferMailers<typeof mailConfig> {}
|
||||
export interface MailersList extends InferMailers<typeof mailConfig> {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// const mailConfig = defineConfig({
|
||||
// default: 'smtp',
|
||||
|
||||
|
@ -52,7 +51,7 @@ declare module '@adonisjs/mail/types' {
|
|||
// * each using a different transport or same transport with different
|
||||
// * options.
|
||||
// */
|
||||
// mailers: {
|
||||
// mailers: {
|
||||
// smtp: transports.smtp({
|
||||
// host: env.get('SMTP_HOST', ''),
|
||||
// port: env.get('SMTP_PORT'),
|
||||
|
@ -66,11 +65,11 @@ declare module '@adonisjs/mail/types' {
|
|||
// pass: env.get('SMTP_PASSWORD'),
|
||||
// }, */
|
||||
// }),
|
||||
|
||||
|
||||
// resend: transports.resend({
|
||||
// key: env.get('RESEND_API_KEY'),
|
||||
// baseUrl: 'https://api.resend.com',
|
||||
// }),
|
||||
|
||||
|
||||
// },
|
||||
// })
|
||||
// })
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue