This commit is contained in:
Andris Reinman 2020-07-03 23:33:05 +03:00
parent a00be20f80
commit cc0c6e5438
3 changed files with 19 additions and 5 deletions

View file

@ -575,6 +575,20 @@ indexes:
expires: 1
deleted: 1
- collection: auditusers
index:
name: list_audit
key:
audit: 1
deleted: 1
- collection: auditusers
index:
name: audit_users
unique: true
key:
username: 1
- collection: audit.files
type: gridfs # index applies to gridfs database
index:

View file

@ -37,7 +37,7 @@ class AuditHandler {
end: options.end, // Date or null
expires: options.expires, // Date
deleted: false, // Boolean
notes: options.nodes, // String
notes: options.notes, // String
meta: options.meta || {}, // Object
import: {

View file

@ -1,6 +1,6 @@
{
"name": "wildduck",
"version": "1.26.4",
"version": "1.26.5",
"description": "IMAP/POP3 server built with Node.js and MongoDB",
"main": "server.js",
"scripts": {
@ -19,10 +19,10 @@
"apidoc": "0.23.0",
"chai": "4.2.0",
"docsify-cli": "4.4.1",
"eslint": "7.3.1",
"eslint": "7.4.0",
"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "6.11.0",
"grunt": "1.1.0",
"grunt": "1.2.0",
"grunt-cli": "1.3.2",
"grunt-eslint": "23.0.0",
"grunt-mocha-test": "0.13.3",
@ -75,7 +75,7 @@
"u2f": "0.1.3",
"uuid": "8.2.0",
"wild-config": "1.5.1",
"yargs": "15.3.1"
"yargs": "15.4.0"
},
"repository": {
"type": "git",