Zum Inhalt

Changelog Serviceplattform

1.40.2

Bugfixes

  • Fixed error when creating location via mobile API (#822)

1.40.1

Bugfixes

  • Fixed error when copying order process (#821)

1.40.0

New Features

Task Tree (#567)

It is now possible to create a tree in processes. This allows the user to give the installer optional routes, e.g. the customer is not at home.

  • Use the order form to create different paths for the installer
  • Rule actions might be skipped, if the tasks for the rule action are missing
  • Added validation for BRANCH task to have at least 2 options (#802)
  • Abbreviate title of task schema item nodes (#810)
  • Display branch option in tree view on each node (#800)
  • BRANCH tasks should only be able to get the value available in the options (#803)
  • Allow user to select option in profile rule actions (#806)
  • Adjusted input field for branch option (#807)
  • Fixed orientation resets to vertical when adding a task scheam item (#808)
  • Fixed editing a task schema item after closing a new task schema item renders wrong content (#816)
  • Fixed whitespace being accepted as branch option (#815)
  • Show indicator of missing task schema item for all branch options in show (#818)
  • Fixed issue when deleting multiple task schema items in a path (#819)

Improvements

  • Allow to set process to active state from create/edit form (#424)

Bugfixes

  • Fixed installer name not shown in qa screen for signature tasks (#811)
  • Fixed Adding no order item restarts the order wizard (#545)
  • Fixed active orders can be edited by adding /edit in the url (#687)

Other

  • Mobile API v1 and v2 were removed (#285)

1.39.1

Hotfix

  • Update tzdata to 1.1.2 (#813)

1.39.0

Improvements

  • Add editing of order location schedules (#757)
  • Refactor text in schedule step of order wizard (#779)

Bugfix

  • Validate start_at to be before end_at (#778)

1.38.0

Improvements

  • Implement App Version Deprecation (#766)
  • Refactor/Improve location tree in wizard (#755)

Bugfix

  • Select all whitelist locations in order wizard does not work correctly (#532)

1.37.5

Bugfix

  • Fix device import when no element-id is passed (#772)

1.37.4

Bugfix

  • Fix profile rule action where floats wouldn't be parsed correctly (#765)

1.37.3

Bugfix

  • Validate TakePicturePayload references to not be empty (#764)

1.37.2

Bugfix

  • Cannot delete device batches (#762)

1.37.1

Bugfix

  • Fix time input being jumpy in schedules step (#761)

1.37.0

Improvements

  • Add scheduling step to order wizard (#264)
  • Add OrderLocationSchedule table and modules (#746)
  • Add pagination to scheduling tables (#753)
  • Add time component to display time in the users timezone (#760)

Bugfix

  • Editing orders does not work (#752)

1.36.1

Bugfix

  • Error when mapping empty value to integer in profile rule action (#750)

1.36.0

  • Add CSV import for devices (#670)
  • Add an CSV example export for the import mapping (#589)

Under the hood

  • Refactor device group for Phoenix 1.7 (#700)

1.35.0

Improvements

  • Show dry run button only after upload (#733)
  • Added option to create orders without installer for use in task import (#683)
  • Change invitation e-Mail (#672)

Bugfix

  • Fixed meter reading not accessible in profile export (#541)
  • Fixed device batch pagination in order wizard crashing (#740)
  • Fixed dry run not working for json import as it does not have locations or an order (#732)

1.34.2

Bugfix

  • Fix LiveView deserlization broken when passing in changesets/structs (#731)

1.34.1

Bugfix

  • Fix mails not being sent

1.34.0

Improvements

  • Update Elixir/Erlang/Phoenix/LiveView/Tailwind (and everything else) and migrate from webpack to esbuild (#628)

Bugfix

  • Fix error when removing task schema item referenced by rule action (#729)

1.33.1

Bugfix

  • Fix issue when editing rule action that is referencing a different location schema item (#690)

1.33.0

Improvements

  • Renamed everything from ELEMENT Go to element go (#625)
  • Use tenant mail address for support link in footer (#626)

New Features

Task Import

  • Allows user to upload Tasks via CSV (#576)
  • Adds JSON mapping form to process form (#584)
  • JSON mappings are shown on the process show
  • an unlimited amount of mappings can be added to a process
  • JSON mappings can always be added and edited, even after publishing them
  • provides an almost working initial JSON
  • JSON mapping can have resolvers, by using one of the following keys
    • on top level location_by_name which is replaced by a location_id
    • uses the location schema item linked with the process
    • for device related tasks device_by_name and device_by_eui
  • JSON mapping can have transforms (element-go/json-mapping#2)
    • e.g. "key" => %{"column" => "foo", "transforms" => ["empty_to_null", "remove_if_empty", "bool_if_present"]
    • empty_to_null replace empty entries with null
    • remove_if_empty completely removes the entry
    • bool_if_present replaces entry with true if present or false if not
  • provides a dry run to test against an existing CSV file (#585)
  • Add import form on orders (#586)
  • User can upload tasks by selecting order_item, json_mapping, csv separator and upload the file. It will preview what the import will do. Tasks are created after submitting the form

Under the hood

  • Added json mapping library as a separate project (#583 element-go/json-mapping#1)

1.32.1

Bugfix

  • Handle order being deleted after rule actions were created (#636)
  • Required text input task validation breaks upload (#637)
  • Cannot open process after deleting linked profile in ELEMENT (#638)

1.32.0

Improvements

  • Added administration button to user menu (#619)
  • Updated/Fixed livebooks (#581)

Bugfix

  • Formatting in task schema item list is incorrect for input fields with select (#615)
  • Profile can't be clicked while toast is shown (#486)
  • Moved the toast to bottom right
  • Added close icon to toast

1.31.1

Bugfix

  • Reverted the favicon to ico instead of svg (#624)

1.31.0

Improvements

  • Updated to the new logo (#614, #623)

1.30.2

Bugfix

  • Don't allow to save LIST_INPUT without adding any values (#616)
  • Typo in notification (#534)
  • Typo in manager welcome mail to doc page (#539)
  • Password reset does not require tenant/e-mail (#516)
  • Renaming a location to an existing name throws an exception (#578)

1.30.1

Bugfix

  • Exception on associated locations tab in location schema show (#611)

1.30.0

Improvements

  • Add meta data to locations and location schema items (#499)

Bugfix

  • Multiple bugs regarding deletion of location schema items (#599)

1.29.1

Bugfix

  • Log error changeset when creating tasks via mobile api (#591)

1.29.0

Improvements

  • Write device identity into EventLog on login via api/v3 (#559)

1.28.1

Bugfix

  • Fixed missing handling of some errors when opening socket to ELEMENT IoT (#558)

1.28.0

Improvements

  • New Device Auth system (#521)
  • Users can now be de-/activated
  • Deactivated users can't login
  • Deactivated users can't use the new app
  • Event Logs (#544)
  • Listing events with actor, trigger and target per tenant
  • Only visible to super admins
  • Current listed events are app login/logout (new and legacy app), de-/activating users
  • API v3 (#542)
  • Only for the new app
  • No difference to the old APIs

1.27.6

Bugfix

  • Fixed message handler crashing with multiple order_items for one order_process/order (#538)

1.27.5

Bugfix

  • Fixed get order in mobile v2 api (#531)

1.27.4

  • Fixing dockerfile using a rolling image instead of a fixed one

1.27.3

Bugfix

  • ElementCopyToTag fails when no location schema items are set (#530)

1.27.2

Bugfix

  • Publish should not be visible for in progress orders (#512)

1.27.1

Bugfix

  • Fix payload priority not being saved correctly

1.27.0

Improvements

  • Make it choosable which downlink payload send to device (downlink payload defined in process or in location) (#515)

1.26.1

Bugfix

  • Fix error when trying to delete order process (#511)

1.26.0

Improvements

  • Added csv export for devices and locations (#489)

1.25.0

Improvements

  • Improved help text on order status (#377)
  • Allow user to hide/show columns in tables (#488)
  • Delete device batches including devices (#470)
  • Added new state unassigned for orders (#494)

1.24.1

Bugfixes

  • Fixed an issue when trying to create the image profile in ELEMENT (#497)
  • Fixed an issue where the result of a list input of type single_select could not be selected in the rule action for setting a profile (#498)

1.24.0

Improvements

  • Extended device information with data from the device's ELEMENT profiles (#416)
  • Locations can now be collapsed in orders (#217)
  • You can also collapse/expand all locations and order items
  • You can also collapse/expand by the same location_schema_item

Bugfixes

  • Fixed JS error because task_schema_item save event was called twice (#491)

Under the hood

  • Updated to LiveView 0.16 and Phoenix 1.6 (#487)
  • several other smaller libs updated

1.23.0

Bugfixes

  • Logged-in user's weren't able to update their own profile because the "role" field wouldn't validate

Improvements

  • Allow the user to select field from multiple/single select to be written to ELEMENT profile (#430)
  • Added ability to to build the folder path from location schema items / prefix to the "Remove device from folder" rule action (#199)

1.22.1

Bugfixes

  • Fixed location import type ELEMENT IoT to seem to not work when ELEMENT IoT API is not reachable (#482)

1.22.0

Improvements

  • Refactored CSV location import (#354)
  • Added ELEMENT IoT-platform location import (#354)
  • Added selected language to user/tenant show pages (#478)
  • Removed the ELEMENT IoT Id field when creating new devices (#479)
  • Added batch actions as well as live delete action to the location list (#454)

Under the hood

  • LIST INPUT now has a required field (#413)

1.21.0

Localization

  • The language of the platform can now be switched between English/German (#325)
  • Each tenant has a language that is used for the name of follow-up orders
  • Each user can have its own language
  • The order of the used language in the browser is as follows:
  • user language (if set)
  • browser locale (if user language is not set)
  • tenant language (if no browser locale matches allowed locales)
  • Gettext default (for E.Go this is German)

Improvements

  • Added sorting for devices and locations tables (#83)
  • Device (auto) import can now overwrite the name of existing devices (#466)
  • Added tabs to location schema to show associated ressources (#462)

Bugfixes

  • Fixed pressing enter on location search, and the search of locations in the order wizard (#468)
  • Fixed error not showing up for title field in task schema (#469)
  • Fixed form incorrect after validation errors when creating locations (#448)
  • Fixed location name not being validated for restricted types (#449)
  • Improved handling of invalid/expired ELEMENT IoT API keys (#463)

1.20.0

Improvements

  • Added tab for orders to device batch show (#450)
  • Added pagination to locations in order wizard summary page (#280)
  • Added tabs for associations on Location schema item show (#453)
  • Added a refresh button for profiles in process form for profile related rule actions (#421)
  • Improved error handling with deleted task schema items in order process form (#381)
  • Added rule action to add images to tags in ELEMENT IoT (#432)
  • Added rule action to remove location from a device in ELEMENT GO (#456)
  • Linked resources on location show template (#460)
  • Linked location schema in order show (#459)

Bugfixes

  • Fixed searchable dropdown for tag selects in rule action form (#419)
  • Fixed Add TaskSchemaItem button sometimes being enabled when editing active processes (#452)
  • Fixed icons wrapping into two lines when the title is too long (#444)

Under the hood

  • Presentation Model for Order Process form (#429)
  • Added some live books for better testing
  • Only use one LiveView for location list in order show (#283)

1.19.0

Improvements

  • Allow to use "Remove Device" tasks as source item for rule actions (#443)
  • Introduced metrics via Telementry (#442)
  • List associated orders and tasks on device detail page (#441)
  • Added option to either override or merge images in element profiles via corresponding rule actions (#431)
  • Extended tables with proper empty view / placeholder text (#281)

Bugfixes

  • Fixed Toasts that weren't working in LiveViews (#447)
  • Fixed export button for processes with action trigger "Order Completed" (#445)
  • Fixed that the rule action weren't shown on the process detail page (#423)
  • Fixed that tags wouldn't refresh in process form when triggered within rule action form (#420)

1.18.0

Improvements

  • Updated multiple JS/Elixir dependencies (#417)
  • Cleanup/remove legacy code (#409, #403)
  • Split devices table in order wizard/order show (#374)
  • Use order state when redirecting on order actions (#341)
  • Allow to soft-delete users (#317)
  • Show warning when no locations were selected in order wizard (#407)

Bugfixes

  • Fixed constraint error where associations between lorawan actions and other resources wouldn't cascade delete (#207)

1.17.0

Improvements

  • New toast system replacing the old one (#123)
  • Added new logo for ELEMENT GO (#406)
  • Editing rule_actions in active order processes is now possible (#410)
  • Associated rule_actions and task_schema_items are now highlighted in order_processes when hovered (#382)

Bugfixes

  • Fixed an issue where the configuration of rule actions wasn't updated when copying an order process (#408)
  • Fixed page select component in tables (#357)
  • Fixed issue after creating user or using password reset on superadmins (#360)
  • Fixed LocationSchemaItems being able to set their parent to one of its children (#387)
  • Fixed order processes not being filtered when adding lorawan actions to locations (#405)
  • Fixed an issue when duplicating order processes that the position of rule_actions is not copied (#411)
  • Fixed whitelist locations not being selectable when their parent(s) are not selectable (#379)
  • Fixed rule_actions for task type LIST_INPUT failing if not all fields are given (#412)

Under the hood

  • Added new authorization helper for LiveViews (#404)

1.16.1

Improvements

  • Readded manual export button (#407)

Bugfixes

  • Allow to select string on select_single in profile rule actions

1.16.0

Improvements

  • Merge profile data when pushing to ELEMENT (#371)
  • Improved device importer (#347)

Bugfixes

  • Fixed users being able to create users without role (#361)
  • Fixed Device Importer crashing without a tag selected (#362)

1.15.0

New features

Processes (#322)

Processes are a way to simplify the setup. They combine the previous rules and task schemas. In the order items step of the order wizard you also only have to select a process.

  • Associated rule_action and task_schema_items in a process are highlighted (#382)
  • Show state in process (#393)
  • Process linked in order (#394)
  • Have a fixed order of rule_actions in a process (#391)

Improvements

  • Batch operations (currently only delete) in some lists (#326)
  • Profiles cached in ApiCache (#244)
  • Support of preconfigured selection in task type list_input (#137)
  • Improved validation of rule_action validation (#91)
  • Remove autocomplete from ELEMENT tag dropdown [AutoCompleteSelect component] (#392)

Bugfixes

  • Correct usage of z-index on tooltips (#384)
  • Everything in a location schema items in active location schemas can now be edited again. Previously only the name could be edited, this was only intended for draft schemas. (#376)
  • Rules should not run anymore, if a task set is incomplete (#369)
  • Cannot set same location_schema_item as parent as the one edited (!368)
  • Fixed tooltips with incorrect z-index (#384)
  • Fixed logging in after resetting the password (#396)
  • Correctly validate location_schema_items in rule_actions (#388)
  • Fixed editing a profile related rule_action (#398)

1.14.6

Improvements

  • Use EctoTableDataSource for order list (#375, !361)
  • Add indices for type and name to the devices table (#373, !360)
  • Add indices for name to the orders table (#373, !360)

1.14.5

Bugfixes

  • Fix slow query for devices in an order (#372, !357)
  • Fix slow order progress calculation by using a cache (#313, !359)