Commit graph

104 commits

Author SHA1 Message Date
NickOvt
905b463a63
fix(api-listings-pagination): ZMS-225 Encode page in next and previous cursor (#818)
* implement a mongopaging wrapper to encode page in the cursor

* update mongopaging validation schema to properly use base64url encoding

* list messages endpoint use embedded page in cursor instead of explicit user-provided

* addresses, auth, certs for listing endpoints use mongopaging wrapper

* dkim, domainaliases, filters - listing endpoints use mongopaging wrapper

* messages, storage, users, webhooks - listing endpoints use mongopaging wrapper

* mongopaging wrapper - if page negative due to externally crafter cursor, default to page 1
2025-05-27 15:39:04 +03:00
NickOvt
5ce9989313
fix: ZMS-210 API and docs fallback values updates (#802)
* in APIs remove fallbacks to false and fallback to undefined. Update documentation

* update docs

* Updae autoreply test. Don't account for undefined fields (not present in response)
2025-04-08 14:45:39 +03:00
NickOvt
978ce0685f
fix(docs-client-gen): add more readable operationId and response types, fix deps ZMS-188 (#759) 2024-12-23 10:56:37 +02:00
Louis Laureys
c9188b3766
fix(api-addresses): Main isn't required when updating an address (#695) 2024-06-05 13:24:02 +03:00
NickOvt
836ca26017
fix(api-all): Fixes to some API endpoint request and/or response types and schemas ZMS-157 (#691)
* Added submission api endpoint to api docs generation

* fixes to different api paths
2024-05-27 09:47:37 +03:00
NickOvt
7e9e62ea7a
fix(api-addresses): Fix tags typo in addresses.js (#627) 2024-02-23 13:28:39 +02:00
NickOvt
85e09ecc77
feat(api-addresses): ZMS-115 (#608)
* List registered Addresses API endpoint added to API docs generation

* Create new Address API endpoint to API generation

* Create new Address API endpoint to API generation. List registered Addresses for a User api endpoint added to api generation

* Request Addresses information api endpoint added to api generation

* Update Address information api endpoint added to api endpoint generation

* Delete an Address endpoint added to api generation

* List addresses from communication register endpoint added to api docs generation. Add example to userId

* Create new forwarded Address api endpoint added to api docs generation

* Update forwarded Address information API endpoint added to API docs generation

* Delete a forwarded Address endpoint added to API docs generation

* Request forwarded Addresses information endpoint added to API docs generation

* Get Address info endpoint added to API docs generation

* Rename domain in addresses endpoint added to API docs generation
2024-01-24 10:07:30 +02:00
Andris Reinman
e27eea14ff
Upgraded to Restify v9. Removed next() calls. 2022-11-24 12:26:10 +02:00
Andris Reinman
04ba496dc7
bunch of fixes 2022-07-05 11:57:57 +03:00
Andris Reinman
6045004dc5
Backported API tests from the Hapi branch 2022-05-16 00:18:24 +03:00
Andris Reinman
f00730a16e
allow subjects up to 2048b 2022-03-29 15:36:07 +03:00
Andris Reinman
2173a5c38f
Forward tracking 2021-10-04 11:57:43 +03:00
Andris Reinman
d1885c28e0 Updated /settings endpoint. Added new setting keys 2021-09-04 10:30:50 +03:00
Andris Reinman
53cda36329 Upgrade Mongodb library from 3 to 4
update
2021-08-30 11:21:50 +03:00
Andris Reinman
9c04a286e2 updated error codes for API 2021-05-21 20:14:43 +03:00
Andris Reinman
25eb5b198b ensure non-200 response for errors 2021-05-20 14:47:20 +03:00
Andris Reinman
ce15670d7c Make sure that addressregister addresses are decoded from mime-words 2021-04-15 15:41:08 +03:00
Andris Reinman
b921021d0a Added SPAM/HAM marking webhook 2021-02-26 14:00:13 +02:00
Andris Reinman
766746945d Do not use _id in API response 2021-01-07 09:41:48 +02:00
Andris Reinman
ea53bac4bf added API endpoint to delete outbound emails 2021-01-04 11:40:44 +02:00
Andris Reinman
b26d97bc13 v1.31.1 2020-11-18 18:19:56 +02:00
Andris Reinman
1ce995edd6 new API endpoint /addressresgister 2020-11-18 17:56:52 +02:00
Louis Laureys
4843208761 Delete all apidoc jsdoc 2020-11-06 01:34:32 +01:00
Andris Reinman
b61ba63d6a first draft for webhooks 2020-10-09 11:08:33 +03:00
Louis Laureys
b504634b62 Fix unconverted objectids 2020-10-08 00:58:01 +02:00
Andris Reinman
61eb05717c v1.30.1 2020-10-01 11:01:20 +03:00
Andris Reinman
399251f1fc added metaData for forwarded addresses 2020-09-28 13:45:41 +03:00
Andris Reinman
f2f14ca8fc started with metaData for addresses 2020-09-25 16:49:38 +03:00
Andris Reinman
488f41c93e Upgraded joi to latest 2020-07-19 20:51:06 +03:00
Andris Reinman
e4b11e557e show validation errors in JSON response 2020-07-16 11:31:58 +03:00
Andris Reinman
8957ec028b default GET+POST to req.params 2020-07-16 11:15:04 +03:00
Louis Laureys
d0576f4afe Allow disabling forwarder 2020-05-08 15:36:00 +02:00
Andris Reinman
faa713d12e do not use collection.update 2020-04-24 12:27:25 +03:00
Andris Reinman
5a560073b9
return metadata as an object instead of a string 2020-02-21 10:38:02 +02:00
Andris Reinman
64ccb33ee5
bumped deps 2020-01-03 13:30:42 +02:00
Andris Reinman
f46f9ddfe1 show targets in /addresses result 2019-09-25 16:39:48 +03:00
Andris Reinman
121b61a6f6 v1.22.1 2019-09-12 14:25:42 +03:00
Andris Reinman
dcef8e22cd migrated API tests from icedfrisby to supertest 2019-07-31 16:05:59 +03:00
Louis Laureys
08927831b7 an user > a user 2019-07-08 18:14:55 +02:00
Andris Reinman
a289063435 v1.20.6 2019-06-14 15:11:07 +03:00
Andris Reinman
ba424c29c7 v1.20.5 2019-06-14 15:05:21 +03:00
Andris Reinman
81e1300e3c updated docs 2019-05-10 13:56:27 +03:00
Andris Reinman
a552d67311 v1.20.0 2019-05-10 13:32:49 +03:00
Andris Reinman
1da0bb7a19 v1.10.13 2018-11-23 09:53:22 +02:00
Andris Reinman
3f5f110904 fix forwarded schema 2018-10-15 14:05:54 +03:00
Andris Reinman
c9c441c01b updated api listing role 2018-10-12 15:38:00 +03:00
Andris Reinman
74e2e45696 v1.4.20 2018-09-26 10:25:52 +03:00
Andris Reinman
d8979f158a use pbkdf2 as default password hash (uses native module), added disabled property for filter API 2018-09-21 11:25:55 +03:00
Andris Reinman
fe4c09d0e0 Change DKIM and Alias domains on domainRename 2018-09-21 10:47:15 +03:00
Andris Reinman
224c76f869 do not use fields 2018-09-20 11:28:43 +03:00