Conversation
347c087 to
cfe8698
Compare
|
Interestingly it seems like the files are displayed in a different order in the CI than on my local system. Coming back soon to fix this, but still open to review on the different test conditions (which will not change) |
|
That issue was fixed by adding a second sort parameter to the It should be noted that we rely on DataTables for sorting in the Files app, so the project directory is the only place where the system ordering impacts the final render |
Reversed file mode changes to allow for easy deletion of the temporary directory
| <% end %> | ||
| <% if writable %> | ||
| <li> | ||
| <%= link_to OodAppkit.editor.edit(path: full_path).to_s, |
There was a problem hiding this comment.
I don't think we should allow edits if you can't download. That seems like an end-run around disabling downloads. That is, these files are still downloadable, all you have to do is open the editor then copy and paste.
johrstrom
left a comment
There was a problem hiding this comment.
I don't think we should allow edits if you can't download. That seems like an end-run around disabling downloads. That is, these files are still downloadable, all you have to do is open the editor then copy and paste which defeats the entire purpose of disabling downloads.
This is already the case for project directories, as the block you quote lies within this conditional And is tested by this line After testing it looks like the normal files app still allows editing, so I have opened #5177 to handle this separately |
Fixes #4973 by adding system testing for project directory behavior. Includes testing of
The changes that had to be made to make these tests pass were