Commit graph

28 commits

Author SHA1 Message Date
Kumi a2f3a45451 Fix add_attachment function 2020-09-05 21:41:04 +02:00
Kumi 481c8498dd Forgot subject handling... 2020-09-05 21:36:07 +02:00
Kumi 730ad8c0e1 Move response to own class
Implement warning output
Implement warning when URL and string provided for HTML/plain
Turn allowempty to config key
Add option to prefer URL over string for HTML/plain
Add user agent to curl requests
Update OpenAPI
Bump version to 0.5
2020-09-05 09:12:28 +02:00
Kumi 48087056b5 Yet again. 2020-09-04 22:16:10 +02:00
Kumi fd75fd77ff Fix HTML version of OpenAPI doc 2020-09-04 22:09:40 +02:00
Kumi 11ff08f6bb Fix OpenAPI documentation again 2020-09-04 22:07:32 +02:00
Kumi 1563a6ede2 Fix OpenAPI YAML, generate HTML version 2020-09-04 22:04:43 +02:00
Kumi 2eed78b83e Complete refactor: Moving stuff to classes, making sender tiny
Adding two config options to modify behavior
Allow messages with empty body to be sent
Automatically convert HTML to plain if none provided
Version bump to 0.4
2020-09-04 22:01:34 +02:00
Kumi 41a337d875 Version bump to 0.3
Added option to assign cid to attachments
Made HTML and plain text retrieval use File class
Removed now unused helpers.php
Updated OpenAPI documentation
2020-09-04 16:13:21 +02:00
Kumi 1db8d5a2af Move file operations to separate File object
Use curl for remote file operations
Do file operations in memory instead of file system
Add config.php to .gitignore
2020-09-04 15:09:39 +02:00
Kumi 0737316ed7 Version bump to 0.2 2020-09-04 13:31:50 +02:00
Kumi 7238fd61a6 Option to set mail sender
Changed OpenAPI definition to yaml and added sender option
2020-09-04 11:56:29 +02:00
Kumi 89253078a3 Fix file name when URL ends with slash 2020-09-04 10:22:36 +02:00
Kumi 382a167f2f Switch to using Composer because why not 2020-09-03 13:31:36 +02:00
Kumi 0658a92326 Change swagger.json to OpenAPI 3.0 2020-09-03 12:16:10 +02:00
Kumi e925f79b8f Add hard-coded recipients 2020-09-03 11:55:25 +02:00
Kumi 92ce2092e7 Fix swagger syntax 2020-09-03 11:48:31 +02:00
Kumi 4d1c18c542 Implement placeholders 2020-09-03 11:14:13 +02:00
Kumi e456bedc68 Forgot return statement... 2020-09-03 10:11:28 +02:00
Kumi 17ae37346f Get Kumi Systems in there somehow :D 2020-09-03 10:07:27 +02:00
Kumi d6a3396767 Fix wrong variable name 2020-09-03 10:00:48 +02:00
Kumi e513d68734 Add missing require_once 2020-09-03 09:48:01 +02:00
Kumi 7c9250e052 Fix stupid mistake 2020-09-03 09:30:09 +02:00
Kumi ac52f56357 Fix JSON handling 2020-09-03 09:26:26 +02:00
Kumi af208db0a4 Turn config into dist file 2020-09-03 08:53:30 +02:00
Kumi 79e3fd93c2 Use raw JSON input 2020-09-03 08:50:20 +02:00
Kumi 1dddd7b07e Stupid PHP syntax 2020-09-03 08:47:18 +02:00
Kumi d55282ec38 Initial version 2020-09-03 08:31:10 +02:00