-
Notifications
You must be signed in to change notification settings - Fork 807
Closed
Description
Refactor
Component(s) to be refactored
- monkey_island.cc.resources.version_update
- monkey_island.cc.services.version_update
Tasks
- Add a new object called
Version
with attributes: (0d) @ilija-lazoroski-
version_number
- Passed in toVersion()
constructor -
latest_version
- A property that is populated asynchronously upon construction -
download_url
- A property that is populated asynchronously upon construction
-
- Construct
Version()
at Island startup (0d) @ilija-lazoroski - Rename VersionUpdate to Version (0d) @ilija-lazoroski
- Rename
/api/version-update
to/api/island/version
- Rename
VersionUpdate
toVersion
- Rename
resources/version_update.py
toresources/version.py
- Rename
- Use
Version
object in/api/island/version
endpoint (0d) @ilija-lazoroski- Add
Version
object to DIContainer - Rename
newer_version
tolatest_version
- Rename
current_version
toversion_number
- Modify the UI to compare
version_number
tolatest_version
- Add
Version
toresources/__init__.py
and shorten all imports
- Add
- Remove
services/version_update.py
(0d) @ilija-lazoroski - Add authentication to
/api/island/version
. There are comments stating that the UI needs to know the version number before authentication, but I don't know why that's the case. (0d)