Mark Nelson
Mark Nelson
The API endpoint would have to be done similar to the ones in https://github.com/mdjnelson/moodle-mod_customcert/blob/MOODLE_404_STABLE/classes/external.php. See https://moodledev.io/docs/4.5/apis/subsystems/external/writing-a-service. I work full-time and this is a hobby project so I dont know when...
Hm. I think we another issue for backup/restore now we have this index but I can't think of a solution without removing the index.
We could create the index but make it so its not unique. I am thinking that is the best way forward.
The issue will happen if they do a backup and restore on the same site so I am making the index not unique.
Fixed, thanks for the report.
Can you please address the issues found?
Please squash into one commit and reference the issue number like (#169) as other commits have. Thanks.
Rebased. Thanks all. :)
Hi @atlet, feel free to create a PR and ill have a look at the code and comment abt what I think! :)
Closing as there has been no movement in a while. Also, with the current implementation the user can only get one certificate.