* fix: fixed string conversion to uf8 vs binary (closes#563)
@andris9 this is a core bug that needs merged/fixed
details are in #563
calling `compiled + "something"` will result in the buffer being converted to utf8 instead of binary, since the default buffer.toString is utf8
* fix: update imap composer for `compiled` types
Ref #564 and #563
* api.js added endpoint for generating openapi docs. added new info to one route in mailboxes.js and messages.js files so that the api docs generation can be done at all
* try to first generate json representation of the api docs
* add initial Joi Object parsing
* api.js make generation dynamic. messages.js add schemas from separate file. messages-schemas.js used for messages endpoint schemas
* add additions to schemas. Add new schemas to messages.js and also add response object there. Add response object parsing functionality to api.js
* add initial openapi doc yml file generation
* remove manual yaml parsing with js-yaml JSON -> YAML parsing
* fix replaceWithRefs and parseComponentsDecoupled functions, refactor, remove unnecessary comments and logs
* add support for another endpoint
* move big code from api.js to tools
* fix array type representation, fix response objects, add necessary data and changes to endpoints
* redo include logic into exclude login
* fix api generation in tools.js to accomodate new naming of objects
* fix messages.js, add structuredClone check in tools.js
* fix structured clone definition
* add one endpoint in messages.js to the api generation
* messages.js add one more endpoint to API generation
* add response to prev commit. Add new endpoint to API generation. Archive message and archive messages
* finish with post endpoints in messages.js
* added general request and response schemas. Also added req and res schemas for messages
* add multiple GET endpoints to API generation and changed them to new design. Use general schemas made earlier
* fix incorrect import of successRes
* fix mailboxes.js
* refactor general-schemas.js. Fix searchSchema in messages.js. Mailboxes.js fix response
* tools.js rename methodObj in API generation to operationObj
* tools.js api generation remove string fallbacks
* messages.js finish with GET endpoints, addition to API doc generation
* fix description on the object issue
* add descriptions to fields for the schemas in the messages-schemas.js file
* remove yarml import in tools.js
* api.js added endpoint for generating openapi docs. added new info to one route in mailboxes.js and messages.js files so that the api docs generation can be done at all
* try to first generate json representation of the api docs
* add initial Joi Object parsing
* api.js make generation dynamic. messages.js add schemas from separate file. messages-schemas.js used for messages endpoint schemas
* add additions to schemas. Add new schemas to messages.js and also add response object there. Add response object parsing functionality to api.js
* add initial openapi doc yml file generation
* remove manual yaml parsing with js-yaml JSON -> YAML parsing
* fix replaceWithRefs and parseComponentsDecoupled functions, refactor, remove unnecessary comments and logs
* add support for another endpoint
* move big code from api.js to tools
* fix array type representation, fix response objects, add necessary data and changes to endpoints
* redo include logic into exclude login
* fix api generation in tools.js to accomodate new naming of objects
* fix messages.js, add structuredClone check in tools.js
* fix structured clone definition
* add one endpoint in messages.js to the api generation
* messages.js add one more endpoint to API generation
* add response to prev commit. Add new endpoint to API generation. Archive message and archive messages
* finish with post endpoints in messages.js
* added general request and response schemas. Also added req and res schemas for messages
* add multiple GET endpoints to API generation and changed them to new design. Use general schemas made earlier
* fix incorrect import of successRes
* fix mailboxes.js
* refactor general-schemas.js. Fix searchSchema in messages.js. Mailboxes.js fix response
* tools.js rename methodObj in API generation to operationObj
* tools.js api generation remove string fallbacks
* messages.js finish with GET endpoints, addition to API doc generation
* remove yaml import
* api.js added endpoint for generating openapi docs. added new info to one route in mailboxes.js and messages.js files so that the api docs generation can be done at all
* try to first generate json representation of the api docs
* add initial Joi Object parsing
* api.js make generation dynamic. messages.js add schemas from separate file. messages-schemas.js used for messages endpoint schemas
* add additions to schemas. Add new schemas to messages.js and also add response object there. Add response object parsing functionality to api.js
* add initial openapi doc yml file generation
* remove manual yaml parsing with js-yaml JSON -> YAML parsing
* fix replaceWithRefs and parseComponentsDecoupled functions, refactor, remove unnecessary comments and logs
* add support for another endpoint
* move big code from api.js to tools
* fix array type representation, fix response objects, add necessary data and changes to endpoints
* redo include logic into exclude login
* fix api generation in tools.js to accomodate new naming of objects
* fix messages.js, add structuredClone check in tools.js
* fix structured clone definition
* add one endpoint in messages.js to the api generation
* messages.js add one more endpoint to API generation
* add response to prev commit. Add new endpoint to API generation. Archive message and archive messages
* finish with post endpoints in messages.js
* added general request and response schemas. Also added req and res schemas for messages
* add multiple GET endpoints to API generation and changed them to new design. Use general schemas made earlier
* fix incorrect import of successRes
* fix mailboxes.js
* refactor general-schemas.js. Fix searchSchema in messages.js. Mailboxes.js fix response
* tools.js rename methodObj in API generation to operationObj
* tools.js api generation remove string fallbacks
* messages.js finish with GET endpoints, addition to API doc generation
* for openApi doc generation use JSON now instead of YAML
* added new file to test git repo setup
* add limit_allowed and limit_sent to loggelf in messages in API. Also if multiple recipients log each message separately
* typo fix
* messages.js refactor code. Make cleaner
* fix _limit_sent. Fix earlier issue too
* session -> sess. Session doesn't exist on request objs, sess exists
* return pback the general SUBMIT log message to track API endpoint usage
* add max mailboxes to settings and consts
* rewrite mailbox handler create function, convert it to async as well as add check for max mailboxes
* mailboxes.js add support for new createAsync function, refactor. tools.js add support for new error code
* make userDate check the first check
* fix error message, make it clearer. Remove OVERQUOTA error code and replace with CANNOT. Remove OVERQUOTA error in the tools.js as well
* fix createAsync wrapper, strict ordering. Settings handler remove unnecessary second param