- Improved progress status reporting: new posted-submission result type with url data when submitting
{"status":"in-progress","message":"Submission running at https://tmc.mooc.fi/submissions/8105529","result":"posted-submission","percent-done":0.5,"data":{"show_submission_url":"https://tmc.mooc.fi/submissions/8105529","paste_url":"","submission_url":"https://tmc.mooc.fi/api/v8/core/submissions/8105529"}}
- Improved authentication error handling: removed error kind authorization-error, added forbidden (403 from server) and not-logged-in (401 from server or no stored token found)
{"status":"finished","message":"Failed to submit","result":"error","percent-done":1.0,"data":{"kind":"forbidden","trace":["Caused by: Failed to submit","Caused by: HTTP error 403 Forbidden for https://tmc.mooc.fi/api/v8/core/exercises/83114/submissions: Authentication required"]}}
{"status":"finished","message":"Failed to get courses","result":"error","percent-done":1.0,"data":{"kind":"not-logged-in","trace":["Caused by: Failed to get courses","Caused by: Authentication required"]}}
- Don't write .tmcparams when packaging submission if the file would be empty