Hackerfleet / hfos-legacy

Hackerfleet Operating System
GNU Affero General Public License v3.0
29 stars 4 forks source link

Cleanup and unify object manager methods #253

Open ri0t opened 7 years ago

ri0t commented 7 years ago

There are too many pathways of logic in the objectmanager, which makes it unnecessarily complicated. With more clever handling of non-existing objects in the frontend, the code's complexity could be reduced by around 20%.

Also makes testing easier, which C. Johnson would approve.

ri0t commented 6 years ago

Unifying the callers is necessary. Some more data (e.g. amount of search results) needs to be transported to some frontend components.