mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
Do not send duplicated emails on bugs.
This commit is contained in:
parent
645402e691
commit
c8d3d99224
@ -19,9 +19,11 @@ public class NotifierFilter {
|
|||||||
|
|
||||||
final StringBuilder buff = new StringBuilder();
|
final StringBuilder buff = new StringBuilder();
|
||||||
for (String key : model.keySet()) {
|
for (String key : model.keySet()) {
|
||||||
buff.append(key);
|
if (!key.equals("mapXML")) {
|
||||||
buff.append("=");
|
buff.append(key);
|
||||||
buff.append(model.get(key));
|
buff.append("=");
|
||||||
|
buff.append(model.get(key));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final String digest = DigestUtils.md5DigestAsHex(buff.toString().getBytes());
|
final String digest = DigestUtils.md5DigestAsHex(buff.toString().getBytes());
|
||||||
|
@ -102,7 +102,7 @@ public class AccountController extends BaseController {
|
|||||||
|
|
||||||
@RequestMapping(method = RequestMethod.POST, value = "logger/editor", consumes = {"application/xml", "application/json"}, produces = {"application/json", "text/html", "application/xml"})
|
@RequestMapping(method = RequestMethod.POST, value = "logger/editor", consumes = {"application/xml", "application/json"}, produces = {"application/json", "text/html", "application/xml"})
|
||||||
@ResponseStatus(value = HttpStatus.NO_CONTENT)
|
@ResponseStatus(value = HttpStatus.NO_CONTENT)
|
||||||
public void changePassword(@RequestBody RestLogItem item, @NotNull HttpServletRequest request) {
|
public void logError(@RequestBody RestLogItem item, @NotNull HttpServletRequest request) {
|
||||||
final Mindmap mindmap = mindmapService.findMindmapById(item.getMapId());
|
final Mindmap mindmap = mindmapService.findMindmapById(item.getMapId());
|
||||||
final User user = Utils.getUser();
|
final User user = Utils.getUser();
|
||||||
logger.error("Unexpected editor error - " + item.getJsErrorMsg());
|
logger.error("Unexpected editor error - " + item.getJsErrorMsg());
|
||||||
|
Loading…
Reference in New Issue
Block a user