feat: inline/attachment settings#478
Conversation
might be pretty annoying which is why i was not super excited about this feature request you need to take the correct logged in user, it might be easier to make the signature |
|
Oops, I didn't see that comment. |
|
can you make it pass CI |
|
if you delete the migration script the whole project won't work (and it also isn't the formatting issue anyway) |
|
BTW, I'm sorry I'm being a bit deliberately unhelpful, in that I could probably just run the formatter myself and make it pass CI. However, the fact you didn't do this means that you never got a clone of the repository working to begin with, which means that the code has never been run, and that's the real issue here. Generally when you contribute code to an upstream project you should have at least run it yourself to make sure it works. (Properly speaking maintainers will ask for unit tests most of the time, but the part you're touching happens to be the one that touches the file system so I'm a bit more willing to overlook it.) |
|
also, i think the code would be cleaner as get_from_google_storage(exam.pdfname, user)so you don't have to keep repeating the line |
|
The checker says |
nah, uv is great. maybe what you mean to say that you hate pre-commit checks (like ruff, prettier, etc.), however i think that's just skiss
yeah, because you overwrite the symlink with random content (look at the |
|
I don't know how it got changed. It was modified after running |
|
Great! Now watch my code crash in prod. |
|
there are a lot of assert's added (i guess for type safety) so in fact i'm just going to refactor the whole thing to take the entire |
how tf did that happen
|
oh oops i didn't mean to merge my unpushed main stuff in. aiya. ok whatever it's fine. |
I don't know how to pass the settings values into the PDF opener.
If you're an OTIS student, include your OTIS-WEB username or student ID number
(whichever you prefer) so I can grant you the spades bounty as well.
2840