Merge branch 'release/2.2.0' into develop

pull/2822/head
Chocobozzz 2020-06-02 09:31:30 +02:00
commit b763f88dd0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 34 additions and 4 deletions

View File

@ -1,6 +1,8 @@
# Changelog
## v2.2.0-rc.1
## v2.2.0
**Since v2.1.0**
## IMPORTANT NOTES
@ -163,6 +165,33 @@
* Fix playlist creation/update with a long description
* Fix links of same instance in video description
* Fix REPL script
* Fix broken client when cookies are disabled
* Fix upload button color in dark mode
* Explicit theme colors for inputs and textarea
* Fix input/textarea themes
* Fix action button icons theme
* Fix grey color theme
* Fix regression scrollbar bgcolor mdtextarea maximized-mode ([@kimsible](https://github.com/kimsible))
**since v2.2.0-rc.1**
### Bug fixes
* Fix broken migration introduced in 2.2.0-rc.1 in docker
* Fix sort icons in tables
* Fix action button overflow in tables
* Fix broken client when cookies are disabled
* Fix upload button color in dark mode
* Explicit theme colors for inputs and textarea
* Fix input/textarea themes
* Fix dropdown menu overflow
* Fix notifications with dark theme
* Fix action button icons theme
* Fix grey color theme
* Fix regression scrollbar bgcolor mdtextarea maximized-mode ([@kimsible](https://github.com/kimsible))
* Fix broken emails
## v2.1.1

View File

@ -7,3 +7,4 @@ rm -rf ./dist
npm run tsc
cp "./tsconfig.json" "./dist"
cp -r "./server/static" "./server/assets" "./dist/server"
cp -r "./server/lib/emails" "./dist/server/lib"

View File

@ -473,7 +473,7 @@ class Emailer {
},
transport: this.transporter,
views: {
root: join(root(), 'server', 'lib', 'emails')
root: join(root(), 'dist', 'server', 'lib', 'emails')
},
subjectPrefix: CONFIG.EMAIL.SUBJECT.PREFIX
})
@ -498,8 +498,8 @@ class Emailer {
},
options // overriden/new variables given for a specific template in the payload
) as SendEmailOptions)
.then(logger.info)
.catch(logger.error)
.then(res => logger.debug('Sent email.', { res }))
.catch(err => logger.error('Error in email sender.', { err }))
}
}