Closed np closed 7 years ago
I propose to change the behavior of the export of students which no longer have an initial password.
good idea. i'll get a decision on that.
I'll also get a decision on whether we want to keep the csv button. It's nice we still have it, but it may be more distracting than helpful for the target audience.
Otherwise LGTM, thanks! (-: I am happy about the xlsx-templater pull request.
Your points in the same order:
Users with a hashed password are not currently listed in master (https://github.com/liqd/aula/blob/master/src/Frontend/Page/Admin.hs#L1142), however they are in my commit since this easier to test since I have most users with hashed passwords. I'll add the "<Passwort geschützt>".
About the filename, I try with a Content-Disposition: inline; filename="Passwoerter.xlsx"
, if I can't make it work, I'll simply change the end point name.
We can remove the email column simply by removing it from the template file, I'll do it.
I've only tested with libreoffice and the sheet name shows up at the usual location of the UI.
cool.
weird about the missing sheet name. please ignore this point for now and i'll investigate if i have the PR back.
The filename suggestion does not work for me. Additionally using curl, I don't see the headers being added. I think one of these two is happening:
Does this issue rings a bell? I can investigate more.
Does this issue rings a bell?
very faintly. i could look into this, but i think i like your idea of just renaming the end-point best at this point
I've fixed the remaining issues. Total time tracking on this issue 13 hours.
I'm not getting headers in the xlsx file that show the class name; neither in the sheet name in libreoffice nor in the PDF export. I wonder what's different from what you're doing? I will let you know if we need to fix this, perhaps it's good enough as it is.
Thanks!
Fixes #1005.
Things to consider: