Closed opticron closed 7 years ago
I'm not sure what the conflicts are that are preventing an easy merge, but if you can figure out what they are I'll fix them.
I just get the message "This branch has conflicts that must be resolved. Use the command line to resolve conflicts before continuing." Can you resolve them? Not sure where the conflicts are coming from since I haven't touched this code in quite a while.
I'll do some massaging on the code and see what I can do to make it easily mergable.
This should be ready to go now.
By the way, you may want to apply everything up to/including bb97daf to your before-opticron-refactor branch as it's all bug fixes and dead code removal. All the actual refactoring occurs in the last 6 patches. I'll make a pull request if you want.
This moves the parsing, HTTP handling, and as much non-user-facing code as possible into a separate file to reduce clutter. This also adds the ability to accept CT and XY color coordinates and adds error responses where necessary. This also fixes some crashes that were occurring on unexpected requests.