mozilla-vpn-client icon indicating copy to clipboard operation
mozilla-vpn-client copied to clipboard

Mzutils cleanup: move server models

Open oskirby opened this issue 5 months ago • 0 comments

Description

Some additional cleanup and refactoring cleans up external dependencies and moves the Server, ServerCity, ServerCountry and ServerCountryModel models into the mzutils library. In order to achieve this it was necessary to move the connection scoring algorithm out of the ServerCity model and into ServerLatency instead... then to make the score viewable in QML again we make the connectionScore a settable property in ServerCity

Reference

i.e Jira or Github issue URL

Checklist

  • [ ] My code follows the style guidelines for this project
  • [ ] I have not added any packages that contain high risk or unknown licenses (GPL, LGPL, MPL, etc. consult with DevOps if in question)
  • [ ] I have performed a self review of my own code
  • [ ] I have commented my code PARTICULARLY in hard to understand areas
  • [ ] I have added thorough tests where needed

oskirby avatar Jun 13 '25 16:06 oskirby