mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge branch 'master' into add_hide_amount_to_users
This commit is contained in:
commit
11c2b3900c
3
.github/workflows/lint_pr.yml
vendored
3
.github/workflows/lint_pr.yml
vendored
@ -29,6 +29,9 @@ jobs:
|
|||||||
admin
|
admin
|
||||||
database
|
database
|
||||||
release
|
release
|
||||||
|
federation
|
||||||
|
workflow
|
||||||
|
docker
|
||||||
other
|
other
|
||||||
# Configure that a scope must always be provided.
|
# Configure that a scope must always be provided.
|
||||||
requireScope: true
|
requireScope: true
|
||||||
|
|||||||
@ -66,5 +66,5 @@ EVENT_PROTOCOL_DISABLED=false
|
|||||||
# if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen
|
# if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen
|
||||||
# on an hash created from this topic
|
# on an hash created from this topic
|
||||||
# FEDERATION_DHT_TOPIC=GRADIDO_HUB
|
# FEDERATION_DHT_TOPIC=GRADIDO_HUB
|
||||||
# FEDERATION_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f
|
# FEDERATION_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f
|
||||||
# FEDERATION_COMMUNITY_URL=http://localhost:4000/api
|
# FEDERATION_COMMUNITY_URL=http://localhost:4000/api
|
||||||
|
|||||||
@ -17,7 +17,7 @@ const constants = {
|
|||||||
LOG_LEVEL: process.env.LOG_LEVEL || 'info',
|
LOG_LEVEL: process.env.LOG_LEVEL || 'info',
|
||||||
CONFIG_VERSION: {
|
CONFIG_VERSION: {
|
||||||
DEFAULT: 'DEFAULT',
|
DEFAULT: 'DEFAULT',
|
||||||
EXPECTED: 'v14.2022-11-22',
|
EXPECTED: 'v14.2022-12-22',
|
||||||
CURRENT: '',
|
CURRENT: '',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -327,18 +327,20 @@ describe('sendEmailVariants', () => {
|
|||||||
to: 'Peter Lustig <peter@lustig.de>',
|
to: 'Peter Lustig <peter@lustig.de>',
|
||||||
from: 'Gradido (do not answer) <info@gradido.net>',
|
from: 'Gradido (do not answer) <info@gradido.net>',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
subject: 'Gradido: Your common good contribution was confirmed',
|
subject: 'Gradido: Your contribution to the common good was confirmed',
|
||||||
html: expect.any(String),
|
html: expect.any(String),
|
||||||
text: expect.stringContaining('GRADIDO: YOUR COMMON GOOD CONTRIBUTION WAS CONFIRMED'),
|
text: expect.stringContaining(
|
||||||
|
'GRADIDO: YOUR CONTRIBUTION TO THE COMMON GOOD WAS CONFIRMED',
|
||||||
|
),
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
expect(result.originalMessage.html).toContain('<!DOCTYPE html>')
|
expect(result.originalMessage.html).toContain('<!DOCTYPE html>')
|
||||||
expect(result.originalMessage.html).toContain('<html lang="en">')
|
expect(result.originalMessage.html).toContain('<html lang="en">')
|
||||||
expect(result.originalMessage.html).toContain(
|
expect(result.originalMessage.html).toContain(
|
||||||
'<title>Gradido: Your common good contribution was confirmed</title>',
|
'<title>Gradido: Your contribution to the common good was confirmed</title>',
|
||||||
)
|
)
|
||||||
expect(result.originalMessage.html).toContain(
|
expect(result.originalMessage.html).toContain(
|
||||||
'>Gradido: Your common good contribution was confirmed</h1>',
|
'>Gradido: Your contribution to the common good was confirmed</h1>',
|
||||||
)
|
)
|
||||||
expect(result.originalMessage.html).toContain('Hello Peter Lustig')
|
expect(result.originalMessage.html).toContain('Hello Peter Lustig')
|
||||||
expect(result.originalMessage.html).toContain(
|
expect(result.originalMessage.html).toContain(
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"contributionConfirmed": {
|
"contributionConfirmed": {
|
||||||
"commonGoodContributionConfirmed": "Your public good contribution “{contributionMemo}” has just been confirmed by {senderFirstName} {senderLastName} and credited to your Gradido account.",
|
"commonGoodContributionConfirmed": "Your public good contribution “{contributionMemo}” has just been confirmed by {senderFirstName} {senderLastName} and credited to your Gradido account.",
|
||||||
"subject": "Gradido: Your common good contribution was confirmed"
|
"subject": "Gradido: Your contribution to the common good was confirmed"
|
||||||
},
|
},
|
||||||
"contributionRejected": {
|
"contributionRejected": {
|
||||||
"commonGoodContributionRejected": "Your public good contribution “{contributionMemo}” was rejected by {senderFirstName} {senderLastName}.",
|
"commonGoodContributionRejected": "Your public good contribution “{contributionMemo}” was rejected by {senderFirstName} {senderLastName}.",
|
||||||
|
|||||||
@ -23,8 +23,8 @@ const setHeadersPlugin = {
|
|||||||
|
|
||||||
const filterVariables = (variables: any) => {
|
const filterVariables = (variables: any) => {
|
||||||
const vars = clonedeep(variables)
|
const vars = clonedeep(variables)
|
||||||
if (vars.password) vars.password = '***'
|
if (vars && vars.password) vars.password = '***'
|
||||||
if (vars.passwordNew) vars.passwordNew = '***'
|
if (vars && vars.passwordNew) vars.passwordNew = '***'
|
||||||
return vars
|
return vars
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -27,11 +27,10 @@ COMMUNITY_DESCRIPTION="Gradido Development Stage1 Test Community"
|
|||||||
COMMUNITY_SUPPORT_MAIL=support@supportmail.com
|
COMMUNITY_SUPPORT_MAIL=support@supportmail.com
|
||||||
|
|
||||||
# backend
|
# backend
|
||||||
BACKEND_CONFIG_VERSION=v13.2022-12-20
|
BACKEND_CONFIG_VERSION=v14.2022-12-22
|
||||||
|
|
||||||
JWT_EXPIRES_IN=10m
|
JWT_EXPIRES_IN=10m
|
||||||
GDT_API_URL=https://gdt.gradido.net
|
GDT_API_URL=https://gdt.gradido.net
|
||||||
ENV_NAME=stage1
|
|
||||||
|
|
||||||
TYPEORM_LOGGING_RELATIVE_PATH=../deployment/bare_metal/log/typeorm.backend.log
|
TYPEORM_LOGGING_RELATIVE_PATH=../deployment/bare_metal/log/typeorm.backend.log
|
||||||
|
|
||||||
@ -64,7 +63,7 @@ EVENT_PROTOCOL_DISABLED=false
|
|||||||
# if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen
|
# if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen
|
||||||
# on an hash created from this topic
|
# on an hash created from this topic
|
||||||
# FEDERATION_DHT_TOPIC=GRADIDO_HUB
|
# FEDERATION_DHT_TOPIC=GRADIDO_HUB
|
||||||
# FEDERATION_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f
|
# FEDERATION_DHT_SEED=64ebcb0e3ad547848fef4197c6e2332f
|
||||||
|
|
||||||
# database
|
# database
|
||||||
DATABASE_CONFIG_VERSION=v1.2022-03-18
|
DATABASE_CONFIG_VERSION=v1.2022-03-18
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user