Commit graph

42 commits

Author SHA1 Message Date
Andris Reinman 80797eebec
feat(storage): Added cid property to storage files (#502) 2023-09-21 12:37:35 +03:00
NickOvt a49bc11c45
Zms 86 storage (#498)
* added new file to test git repo setup

* added multiple tests for all storage api endpoints. Both positive and negative tests

* added tests for GET /addresses and GET users/:user/addresses

* added storage tests and fixes for them, fixed addresses tests

* add test overview file
2023-09-18 11:15:48 +03:00
NickOvt c60373bbfe
ZMS-85 (#495)
* added new file to test git repo setup

* remove test.txt
Add api-tests-table.md file to keep track of api endpoints, method and their test count + test types (and their count)

* add js script to parse files in the /lib/api folder and retrieve a map of apiPath -> apiMethod

* delete parseApiFiles.js as it is unneeded

* add global (per test run) beforeEach and after hooks to collect test data and create an overview table

* update tests to conform to new test title structure

* add expectations to tests

* remove old api-tests-table.md that was handmade

* add expectations to tests in the api-test.js file

* add GET endpoint /api-methods/:arg to fetch all api endpoints for testing purposes only

* add and fix and refactor _globals-test.js file in the api test/api folder. Use global beforeEach and after hook to generate test overview table in api-test-overview.md file

* add missing newline at the end of file

* fix with prettier

* api.js fix style, remove unnecessary comments, remove :arg

* make first post,put,delete,get regex case insensitive, fix call to /api-methods

* _globals-test.js fixes

* fix some test titles

---------

Co-authored-by: Nikolai Ovtsinnikov <nikolai@zone.ee>
2023-09-14 12:49:55 +03:00
Andris Reinman 1c17f5fefc
fix(test): Added POST storage test (#492) 2023-09-07 11:09:33 +03:00
Andris Reinman 99fe16b448 Allow defining custom metaData for filter objects 2023-06-15 11:23:26 +03:00
Andris Reinman a32c065da5
test-failing 2023-05-24 16:29:06 +03:00
Andris Reinman 486a43c2a1
re-run test with 127.0.0.1 2022-12-15 11:24:09 +02:00
Andris Reinman b5cbad0dfa
fixed tests 2022-12-15 11:03:30 +02:00
Andris Reinman 2ebcf9d2e0
Added test for const:max:rcpt_to 2022-12-04 11:53:44 +02:00
Andris Reinman 0d327c1315
Added preauth API endpoint 2022-10-07 10:13:05 +03:00
Andris Reinman 04ba496dc7
bunch of fixes 2022-07-05 11:57:57 +03:00
Andris Reinman 7ef45b2307
Added support for DES password hashes 2022-05-24 17:01:45 +03:00
Andris Reinman 6045004dc5
Backported API tests from the Hapi branch 2022-05-16 00:18:24 +03:00
Andris Reinman d95f4fe4cd allow to use predefined asp passwords 2021-06-04 10:34:26 +03:00
Andris Reinman 2d381db260 testcase for POST certs 2021-05-19 19:43:13 +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 20fda17be4 include hash value in attachment output 2021-03-26 09:58:05 +02:00
Andris Reinman b2f8c1fd41 added test for deleting queue entries 2021-01-04 17:47:57 +02:00
Andris Reinman 1e1417cedb when submitting message structures then extract embedded attachments from HTML before doing validation checks 2020-11-26 18:03:23 +02: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 89dad94ae3 v1.30.0 2020-09-25 12:58:00 +03:00
Andris Reinman f4bbc9f958 tests 2020-07-31 14:38:46 +03:00
Andris Reinman 5abdac4c8c updated API handling for autoreplies 2020-07-31 13:36:07 +03:00
Andris Reinman 00da4bc4fa replaced browserbox with imapflow, utf7 with iconv-lite 2020-05-15 19:02:24 +03:00
Andris Reinman e0ad98e3ef v1.25.1 2020-05-08 10:55:07 +03:00
Andris Reinman 4c1cd4210a Updated fixture pgp keys to fix tests 2019-10-21 23:01:11 +03:00
Andris Reinman 07bc93bad0 fixed tests 2019-08-27 16:20:23 +03:00
Andris Reinman dcef8e22cd migrated API tests from icedfrisby to supertest 2019-07-31 16:05:59 +03:00
Andris Reinman 8e7a3f50aa v1.12.4 2019-01-13 13:13:22 +02:00
Andris Reinman 61d2813be9 v1.9.0 2018-10-22 12:00:24 +03:00
Andris Reinman 4bef7e3a10 Allow using addresses as usernames 2018-05-11 14:39:23 +03:00
Andris Reinman 7598ac2f17 fixed tests 2017-12-13 10:33:13 +02:00
Andris Reinman bd1883d9cd started running tests against actual server instead of mock server 2017-12-12 17:01:17 +02:00
Andris Reinman 101562359c Fixed tests 2017-11-30 13:57:25 +02:00
Andris Reinman 6db874255c fixed tests 2017-11-19 14:58:01 +02:00
Andris Reinman b54e110020 Added method to delete users 2017-11-17 13:37:53 +02:00
Andris Reinman 98a38fab04 allow encrypting forwarded emails 2017-10-30 13:41:53 +02:00
Andris Reinman 0342e5c179 v1.0.84 2017-10-19 23:33:36 +03:00
Andris Reinman b53ae97938 Added tests for sending messages to LMTP 2017-10-19 11:19:16 +03:00
Andris Reinman b5fdbcd3e1 Allow using external resources for default messages 2017-08-04 14:07:17 +03:00
Andris Reinman a40dce26f1 added some API integration tests 2017-07-26 15:50:54 +03:00