You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are now using Orion's email APIs. Unfortunately, the Orion code uses its own mail templates and they cannot currently be (easily) overridden. See Orion bug 403261.
Until that bug is fixed, we have several options:
As part of the build step, overwrite the Orion mail templates with our own.
Use Java reflection to change the visibility of the private members in UserEmailUtil.java, which store the mail templates. Then, set them to our own.
Use AspectJ to dynamically intercept the API calls in UserEmailUtil.java and use our mail templates instead.
Tasks:
Override Orion templates.
Cleanup/additions to template text.
The text was updated successfully, but these errors were encountered:
Above commit adds our own email templates (located at maqetta.server.orion/emails). I made minimal changes from the Orion templates, mainly specifying "Maqetta/Orion" instead of simply "Orion".
Todo:
Is "Maqetta/Orion" fine? Or should we just use "Maqetta"?
Any other cleanup/additions to these templates?
Regarding (2), I think it would be good to add some text explaining to the user how they can change the generated password they receive when doing a reset (i.e. load Orion, go to profile page, edit password).
We are now using Orion's email APIs. Unfortunately, the Orion code uses its own mail templates and they cannot currently be (easily) overridden. See Orion bug 403261.
Until that bug is fixed, we have several options:
UserEmailUtil.java
, which store the mail templates. Then, set them to our own.UserEmailUtil.java
and use our mail templates instead.Tasks:
The text was updated successfully, but these errors were encountered: