Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional sequential number certificate code, with new display element. #653

Open
rickabitdigital opened this issue Nov 19, 2024 · 1 comment

Comments

@rickabitdigital
Copy link

Add a sequential number code element with an optional user defined start number setting.

  • with option to include this sequential number and/or other element tokens in the certificate filename (will create separate ticket).
  • also with option to download zip of issued (renamed) certificates in batches by Group ref: Add group name element #155 .

I've written the logic for this sequential number and start number setting outside of Moodle for easier testing.
I will now attempt to incorporate into plugin code.

@mdjnelson , @leonstr, @dpalou, @rhell4, @Peterburnett, @mwreichel, @mohamedmohamedatia, @ojnadjarm apologies if this is the wrong way to request feedback (please ask and I will delete your name) - I simply included committers from the last 6 months as most relevant interested parties.
I would really appreciate some feedback on how best to incorporate this feature given that customcert currently relies heavily on the existing random code generation. e.g. should I fork and overwrite, swapping random code for sequential? Or should I leave random code generation, and it's display element, and include a user defined option to allow either or both?
This refactor would be easier if file naming was tokenised to include all available display elements/fields as tokens.

@rickabitdigital
Copy link
Author

I'm testing this feature now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant