Autolab icon indicating copy to clipboard operation
Autolab copied to clipboard

attachments should be stored in the course directory

Open cg2v opened this issue 8 years ago • 4 comments

There seems to be no good reason for attachments to live in a single toplevel directory. Why aren't they in the course or assessment directory?

cg2v avatar Feb 01 '16 15:02 cg2v

Wow, apparently all of the attachments for all courses seem to be stored in the ./attachments folder with no heirarchy. Leaving this one open.

TheodorJ avatar Oct 08 '17 17:10 TheodorJ

Not sure if this issue is still relevant in the latest master. Let me know if it is.

victorhuangwq avatar Jun 18 '20 13:06 victorhuangwq

I'm pretty sure it still is relevant. I still observe this behavior in my deployment. I'm not running the latest master there, but it isn't very out of date. And I see no meaningful changes to app/models/attachment.rb in the past two years.

mtoupsUNO avatar Jun 18 '20 22:06 mtoupsUNO

@mtoupsUNO thank you for the update. I will keep this open.

victorhuangwq avatar Jul 10 '20 14:07 victorhuangwq

Addressed in #1810 (currently in develop) by switching to ActiveStorage.

damianhxy avatar Mar 12 '23 03:03 damianhxy