mirror of
https://github.com/axllent/mailpit.git
synced 2025-02-11 13:52:52 +02:00
Merge branch 'release/v1.3.1'
This commit is contained in:
commit
be582291c7
12
CHANGELOG.md
12
CHANGELOG.md
@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
Notable changes to Mailpit will be documented in this file.
|
Notable changes to Mailpit will be documented in this file.
|
||||||
|
|
||||||
|
## v1.3.1
|
||||||
|
|
||||||
|
### Bugfix
|
||||||
|
- Append trailing slash to custom webroot for UI & API
|
||||||
|
|
||||||
|
### Libs
|
||||||
|
- Upgrade esbuild & axios
|
||||||
|
|
||||||
|
### UI
|
||||||
|
- Rename "results" to "result" when singular message returned
|
||||||
|
|
||||||
|
|
||||||
## v1.3.0
|
## v1.3.0
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
@ -160,11 +160,12 @@ func VerifyConfig() error {
|
|||||||
SMTPAuth = a
|
SMTPAuth = a
|
||||||
}
|
}
|
||||||
|
|
||||||
if strings.Contains(Webroot, " ") {
|
validWebrootRe := regexp.MustCompile(`[^0-9a-zA-Z\/-]`)
|
||||||
return fmt.Errorf("Webroot cannot contain spaces (%s)", Webroot)
|
if validWebrootRe.MatchString(Webroot) {
|
||||||
|
return fmt.Errorf("Invalid characters in Webroot (%s). Valid chars: a-z, A-Z, 0-9, - and /", Webroot)
|
||||||
}
|
}
|
||||||
|
|
||||||
s := path.Join("/", Webroot, "/")
|
s := strings.TrimRight(path.Join("/", Webroot, "/"), "/") + "/"
|
||||||
Webroot = s
|
Webroot = s
|
||||||
|
|
||||||
SMTPTags = []Tag{}
|
SMTPTags = []Tag{}
|
||||||
|
1488
package-lock.json
generated
1488
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
|||||||
"package": "MINIFY=true node esbuild.config.js"
|
"package": "MINIFY=true node esbuild.config.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.27.2",
|
"axios": "^1.2.1",
|
||||||
"bootstrap": "^5.2.0",
|
"bootstrap": "^5.2.0",
|
||||||
"bootstrap-icons": "^1.9.1",
|
"bootstrap-icons": "^1.9.1",
|
||||||
"bootstrap5-tags": "^1.4.41",
|
"bootstrap5-tags": "^1.4.41",
|
||||||
@ -20,7 +20,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@popperjs/core": "^2.11.5",
|
"@popperjs/core": "^2.11.5",
|
||||||
"@vue/compiler-sfc": "^3.2.37",
|
"@vue/compiler-sfc": "^3.2.37",
|
||||||
"esbuild": "^0.14.50",
|
"esbuild": "^0.16.1",
|
||||||
"esbuild-plugin-vue-next": "^0.1.4",
|
"esbuild-plugin-vue-next": "^0.1.4",
|
||||||
"esbuild-sass-plugin": "^2.3.2"
|
"esbuild-sass-plugin": "^2.3.2"
|
||||||
}
|
}
|
||||||
|
@ -619,7 +619,7 @@ export default {
|
|||||||
<option value="200">200</option>
|
<option value="200">200</option>
|
||||||
</select>
|
</select>
|
||||||
<span v-if="searching">
|
<span v-if="searching">
|
||||||
<b>{{ formatNumber(items.length) }} results</b>
|
<b>{{ formatNumber(items.length) }} result<template v-if="items.length != 1">s</template></b>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<small>
|
<small>
|
||||||
|
@ -63,16 +63,6 @@ const commonMixins = {
|
|||||||
return new FakeModal();
|
return new FakeModal();
|
||||||
},
|
},
|
||||||
|
|
||||||
// generic modal get/set function
|
|
||||||
offcanvas: function (id) {
|
|
||||||
var e = document.getElementById(id);
|
|
||||||
if (e) {
|
|
||||||
return bootstrap.Offcanvas.getOrCreateInstance(e);
|
|
||||||
}
|
|
||||||
// in case there are open/close actions
|
|
||||||
return new FakeModal();
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Axios GET request
|
* Axios GET request
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user