ankermake-m5-protocol
ankermake-m5-protocol copied to clipboard
Support storing detected printer IP addresses
This PR introduces the following features:
- CLI
pppp lan-searchis extended by a flag--storewhich allows to update the already configured printers with the detected IP addresses. - Web Interface
A new card is added in the Setup tab as shown below. It represents the GUI version of above--storeoption.
Along with these changes an "internal" reload target address was introduced which does not remove pending flash messages (in contrast to the user-triggered reload). This is important when a success message shall be displayed by actions like uploading a new configuration file or updating printer IP addresses. If the user-triggered reload was being used, it would just display a success message for the reload, not for the actual action performed.
Updated the PR because I saw commit https://github.com/Ankermgmt/ankermake-m5-protocol/commit/2add2e60bb66f5ae369aefe7ed3f8cb9a087a255 and used its (proper) way of displaying the modal popup with varying messages instead of duplicating it.
Fixes #109, #152.