richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Admin settings file upload error

Open elzody opened this issue 1 year ago • 0 comments

Problem A lot of legacy code was cleaned out of the server repository, and richdocuments still relies on a lot of legacy code, unfortunately. This breaks the admin settings a bit when it comes to the global templates settings, since it relies on a legacy file upload plugin that no longer exists on the master branch of the server repository. This is also causing failing tests on the main branch of richdocuments.

Solution We clearly need to do the same and clean out the legacy code related to the admin settings, as it's quite a mess. The solution would be to rewrite the admin settings and make them more modular and maintainable, as right now it's one giant Vue component, with a lot of legacy code being used in the template as well, and using PHP as a sort of templating language there.

elzody avatar Sep 26 '24 16:09 elzody