Commit graph

2101 commits

Author SHA1 Message Date
NickOvt
6e251c5bae
fix(api-messages): Added all messages endpoints to api docs generation ZMS-140 (#666)
* added Update Message information api endpoint to api docs generation

* fix response types

* Added delete a message api endpoint to api docs generation

* Added Delete all messages from a Mailbox api endpoint to api docs generation

* fix some response types. Added delete an outbound message api endpoint to api docs generation
2024-04-11 11:50:02 +03:00
NickOvt
d9834776f3
fix(api-dkim): Fix empty p value in dnsText.value if no private key initially given ZMS-142 (#664)
* fix dkim issue

* make better test
2024-04-11 11:47:03 +03:00
NickOvt
1f27778ae8
fix(api-messages-attachment-download): is sendAsString param is set, and is set to true then decode the original file and send back as UTF-8 ZMS-134 (#655)
* add attachment charset in the indexer

* test adding a field

* test another way

* walk through mimetree to find the attachment charset and decode the message using this charset. Decoding is piped to the output stream

* test

* revert last change

* use regex for check, fix piping

* fixes
2024-04-08 09:47:27 +03:00
NickOvt
f55ddea06d
fix(api-certs): Certs API endpoints added to API docs generation ZMS-141 (#663)
* Added list registered TLS certificates api endpoint to api docs generation. Add examples to res types

* fix last commit's typo

* Resolve ID for a server name api endpoint added to api docs generation. Add examples to res types

* added create or update TLS sertificate for server name api endpoint to api docs generation

* add acme to response of last commit's changes

* added Delete a TLS certificate api endpoint to api docs generation

* delete cert api endpoint change certs -> cert path param

* fix cert-handler typo and bug. Added Request TLS certificate information api endpoint to api docs generation

* last commit add certs.js
2024-04-03 11:45:44 +03:00
NickOvt
6548f3cd5e
fix(api-generate): API docs generation now is run through a separate npm command ZMS-139 (#659)
* added generate-api-docs npm command and corresponding code changes

* fix typo
2024-04-03 11:43:54 +03:00
Andris Reinman
2d08b6132f
Bumped install commit hashes 2024-04-01 09:33:24 +03:00
Andris Reinman
0ac0090dee
Bumped deps 2024-03-28 10:56:19 +02:00
Matt Simerson
1f73f06da9
doc(command-line.md): fix typo (#656) 2024-03-24 07:58:47 +02:00
NickOvt
9f9c55a886
fix(api-ApplicationPassword): Added all ApplicationPasswords API endpoints to API docs generation ZMS-136 (#645)
* List Application Passwords and Request ASP information endpoints added to API docs generation

* fixes. Added Create new Application Password endpoint to API docs generation

* Added Delete an Application Password api endpoint to API docs generation
2024-03-18 10:37:16 +02:00
NickOvt
b9e3f94c6f
fix(api-audit): Added all Audit API endpoints to API docs generation ZMS-135 (#642)
* Added Create new audit api endpoint to API docs generation

* Request Audit info API endpoint added to API docs generation

* added Export Audited Emails API endpoint to API docs generation
2024-03-18 10:28:56 +02:00
github-actions[bot]
a5c7d7018b
chore(master): release 1.42.5 [skip-ci] (#652)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-14 13:27:00 +02:00
Andris Reinman
4dbc5c5032
fix(roles): Added new role 'downloader' that can download any email 2024-03-14 13:25:47 +02:00
github-actions[bot]
41f10e40ae
chore(master): release 1.42.4 [skip-ci] (#650)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-14 11:52:23 +02:00
Andris Reinman
93233deae5
Merge branch 'master' of github.com:nodemailer/wildduck 2024-03-14 11:47:25 +02:00
Andris Reinman
d57a397fd3
fix(deploy): Fixed package-lock for release 2024-03-14 11:47:20 +02:00
github-actions[bot]
2b193a2c08
chore(master): release 1.42.3 [skip-ci] (#638)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-14 11:45:58 +02:00
Andris Reinman
6a9da2a46e
Bumped undici 2024-03-14 11:41:15 +02:00
Andris Reinman
b1ba513a55
fix(move): Extend move operaiton lock automatically 2024-03-14 11:38:03 +02:00
Andris Reinman
b7f0aa6a22
fix(move): Increase lock time for moving messages 2024-03-14 10:59:02 +02:00
Andris Reinman
1931d22993
Merge branch 'master' of github.com:nodemailer/wildduck 2024-03-12 14:54:26 +02:00
Andris Reinman
3b7f28c128
fix(password-hash): Rehash pbkdf2 if required iterations count increases 2024-03-12 14:54:22 +02:00
Taavi Eomäe
46654da594
fix(password-hash): Update PBKDF2 iteration count to more closely align with OWASP recommendations (#648) 2024-03-12 14:53:52 +02:00
NickOvt
5af8126e54
fix(api-domainaliases): Added DomainAliases API endpoints to API docs generation ZMS-132 (#641)
* added List registered Domain Aliases endpoint to API docs generation

* added Create new Domain Alias API endpoint to API docs generation

* added Resolve ID for a domain alias API endpoint to API docs generation

* added Delete an Alias API endpoint to API docs generation

* Added Request Alias information API endpoint to API docs generation
2024-03-07 10:25:14 +02:00
NickOvt
64c6b5e63c
fix(api-quota): Quota reset now also logs storage diff. Log now includes zero valued fields ZMS-128 (#640)
* Log storage diff for quota usage recalculation API endpoint. Also logs 0

* include _set as required key as well
2024-02-29 10:32:40 +02:00
NickOvt
9f704f7c5d
fix(api-generation): api generation package now uses WIldduck Joi and does not depend on fixed joi version ZMS-126 (#639)
* restifyapi generate transformed into a class and uses the passed Joi and dirname

* remove joi dependency from .ncurc.js
2024-02-29 10:07:16 +02:00
NickOvt
f6f5f5eb65
fix(api-autoreplies): Added logging to graylog. Autoreply docs have a created field now ZMS-127 (#633)
* Update Autoreply information api endpoint added to api docs generation

* Delete Autoreply information api endpoint added to api docs generation

* Request Autoreply information api endpoint added to api docs generation

* autoreply now contains the created field to check when it was created. Added logging to graylog

* make created timestamp second precision. Fix tests

* autoreply.js add optional chaining
2024-02-26 11:08:25 +02:00
github-actions[bot]
f19540f715
chore(master): release 1.42.2 [skip-ci] (#625)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-26 10:32:09 +02:00
NickOvt
0efae19f9e
fix(api-2fa): Added 2FA API endpoints to API docs generation ZMS-124 (#626)
* added Generate TOTP seed api endpoint to API generation

* added Enable TOTP api endpoint to API docs generation

* added Disable TOTP auth api endpoint to API docs generation

* added Validate TOTP token api endpoint to API docs generation

* added Disable 2FA api endpoint to API docs generation

* Added Enable custom 2FA for a user api endpoint for API docs generation

* Disable custom 2FA for a user endpoint added to API docs generation. Fix imports

* added Get WebAuthN credentials for a user api endpoint to api docs generation

* WebAuthN del and registration endpoints added to API docs generation

* webAuthN authentication challenge and attestation endpoints added to API docs generation

* fix rpId descriptions

* add response objects to endpoints
2024-02-26 09:57:39 +02:00
Andris Reinman
0e987de5a8
Merge branch 'master' of github.com:nodemailer/wildduck 2024-02-26 09:42:43 +02:00
Andris Reinman
6aae46bc95
Bumped deps 2024-02-26 09:42:39 +02:00
NickOvt
78a9e1b2a8
fix(api-dkim): Add all DKIM API endpoints to API docs generation ZMS-129 (#630)
* added List registered DKIM keys to API docs generation

* Added Resolve ID for a DKIM domain api endpoint to API docs generation

* Added Delete a DKIM key api endpoint to API docs generation

* Added Request DKIM information api endpoint to api docs generation. Fix typo

* added create or update dkim key for domain api endpoint to api docs generation
2024-02-26 09:34:36 +02:00
Andris Reinman
f61111e3cc
fix(pop3-starttls): ensure default SNICallback option 2024-02-26 09:16:46 +02:00
titanism
4b19dee20b
fix(imap-starttls): define SNICallback only when insecure (closes #635) (#637) 2024-02-26 09:15:06 +02:00
NickOvt
aa60ef93fe
fix(api-autoreply): Autoreply API endpoints added to API docs generation ZMS-130 (#632)
* Update Autoreply information api endpoint added to api docs generation

* Delete Autoreply information api endpoint added to api docs generation

* Request Autoreply information api endpoint added to api docs generation
2024-02-23 13:31:08 +02:00
NickOvt
7e9e62ea7a
fix(api-addresses): Fix tags typo in addresses.js (#627) 2024-02-23 13:28:39 +02:00
Hakan FIRAT
5019cf13b2
fix(git): Changed git: url in install script to https: (#610)
git clone git://github.com/nodemailer/wildduck.git  =>
git clone https://github.com/nodemailer/wildduck.git
2024-02-22 13:39:06 +02:00
NickOvt
3d7d0a6d6a
fix(api-dkim): DKIM now supports ED25519 keys, both in PEM and raw format as input ZMS-125 (#617)
* dkim, add support for ed25519

* add support for raw ED25519 private key

* magic value make variable. Remove unnecessary variables. Refactor

* add new tests for ED25519
2024-02-19 09:46:46 +02:00
NickOvt
6f0e4b54be
fix(api-filters): Filter creation is now logged to graylog and authlog ZMS-34 (#616)
* log filter creation to logs

* api.js, filterroutes, remove unnecessary loggelf param

* instead of dumping all filter data, create a human readable description of it using getFilterStrings

* separate getFilterStrings data into _filter_query and _filter_action fields, make them human-readable by joining
2024-02-19 09:45:46 +02:00
Andris Reinman
bf313cca4c
Added Github workflow to clear old issues and PRs 2024-02-12 09:03:06 +02:00
Andris Reinman
36540a7bda
Updated setup instructions 2024-02-08 10:33:41 +02:00
Andris Reinman
72782ce455
bumped commit hashes 2024-02-08 10:28:42 +02:00
github-actions[bot]
3d864c87de
chore(master): release 1.42.1 [skip-ci] (#615)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-07 14:14:33 +02:00
Andris Reinman
6724ec9f5e
fix(deps): downgraded joi to fix conflict with restifyapigenerate 2024-02-07 14:13:25 +02:00
NickOvt
95f829d16a
fix(api-filters): Add Filters API endpoints to API docs generation ZMS-121 (#611)
* added List all FIltes endpoint to api docs generation

* List Filters for a User endpoint added to API docs generation

* Request Filter information endpoint added to API docs generation. Add schemas

* fix description

* added Delete a Filter api endpoint to API docs generation

* New schemas for filter api endpoints. Added Create a mew Filter api endpoint to API docs generation

* fix schemas. Added Update Filter information endpoint to api docs generation
2024-02-05 10:30:02 +02:00
NickOvt
c7a1ab4987
fix(api-generate): Move API generation code into separate package and use it ZMS-119 (#613)
* test initial design of API generation as a restify plugin. next extract it into separate npm package and add more checks/logs etc.

* remove API docs generation from the WILDDUCK specific tools.js file into a separate file. Do appropriate changes

* move api generation into separate npm package, currently local

* add restifyapigenerate package and use it, fix path

* separate API docs generation config into a separate file. Fix API docs generation package version
2024-02-05 10:29:24 +02:00
Andris Reinman
630b751021
Updated commit hashes 2024-02-05 10:12:54 +02:00
github-actions[bot]
94434cab43
chore(master): release 1.42.0 [skip-ci] (#583)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-05 10:01:45 +02:00
Andris Reinman
857e4c0a01
fix(deps): bumped deps to upgrade mailauth for fixed ed25519 DKIM support 2024-02-05 09:55:51 +02:00
NickOvt
84ab0c09dc
feat(api-health): Added /health endpoint to check Wildduck API health during runtime ZMS-120 (#607)
* add health api endpoint to check health of API

* fixes and add graylog logging

* round timestamp, cast to string. Use mongodb ping instead of topology.isConnected check

* add timeout to redis commands so that the health api endpoint will return a value
2024-01-26 10:23:01 +02:00
Andris Reinman
01b22ec9dc
Merge branch 'master' of github.com:nodemailer/wildduck 2024-01-26 10:04:55 +02:00