-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(files): do not load legacy files app js #40065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Where is legacy files still loaded? |
58ab539 to
e43a2ab
Compare
|
uh... interesting - i will investigate. |
|
Ah, found Line 403 in 3846ec2
EDIT: but it might still be used in public mode 🤔 |
|
It's a multi step, but requires a bit more:
Then it should be good, public pages seems to still work, I gues they load their own minimal stuff |
This comment was marked as outdated.
This comment was marked as outdated.
|
if we don't include the file, dropping the initialize will not matter. |
e43a2ab to
ae66c40
Compare
Circles is not upgraded for 28 though 🤔 |
| // Load the files we need | ||
| \OCP\Util::addStyle('files', 'merged'); | ||
| \OCP\Util::addScript('files', 'merged-index', 'files'); | ||
| \OCP\Util::addScript('files', 'fileactions'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without the fileactions import files won't open anymore in the viewer. So I guess we still need it.
@skjnldsv - what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried latest Viewer?
We don't use the old fileactions ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes... latest viewer, disabled contacts app which was causing errors and early return from circles app so it does not interfere. Still .md .pdf and .jpgs have no view action and clicking files triggers a download. Did not try other file types.
bf8d915 to
e17a725
Compare
See also nextcloud/server#40065 Signed-off-by: Max <[email protected]>
|
Is it still relevant? |
e17a725 to
c7c331b
Compare
I think so. Cleaned it up and the main thing now is not to |
Signed-off-by: Max <[email protected]>
`OCA.Files.App.fileList` is not initiated anymore. Signed-off-by: Max <[email protected]>
c7c331b to
27bcef7
Compare
|
/compile |
Signed-off-by: nextcloud-command <[email protected]>



OCP.Files.Navigationis undefined.Checklist