Lizard-map

Latest version: v5.5

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 36

3.27

-----------------

- Required lizard-ui 3.14 (new Openlayers).

- Removed touch.js, necessary with the new Openlayers version.

- Uncommented extent() in WorkspaceItemAdapter. It should be there
because it is one of the methods that can be overridden by
implementing adapters.

3.26

-----------------

- Changed collage detail template so that apps can configure it a bit more.
Collage items (that are put in groups on the collage page) have properties
that control the header shown over the group (data_description), which edit
dialog to show for a collage item edit button (collage_detail_edit_action),
whether to show the whole Edit block at all (collage_detail_show_edit_block),
and whether to show the statistics block (collage_detail_show_statistics_block).

These functions in turn call functions in their adapters, with an identifier
as argument (because one adapter can have items in different groups, with different
settings. This way it gets the identifier of the first item in each group)::

def collage_detail_data_description(self, identifier, *args, **kwargs):
default 'Grafiek'
def collage_detail_edit_action(self, identifier, *args, **kwargs):
default 'graph'
def collage_detail_show_edit_block(self, identifier, *args, **kwargs):
default True
def collage_detail_show_statistics_block(self, identifier, *args, **kwargs):
default True

``*args`` and ``**kwargs`` are meaningless but present in case the
functions' signatures change in the future. These functions can be
overridden in your adapter.

3.25

-----------------

- Improved docstrings at a few places (mainly location() in
WorkspaceItemAdapter)

- Added method 'adapter_layer_json' to WorkspaceItemAdapter, helpful
to generate this bit of json when it's needed.

- Added 'adapter': self to html_default's template context variables.
This gives templates access to adapter's methods and attributes,
like adapter.adapter_class and adapter.adapter_layer_json.

3.24

-----------------

- It's now possible to not use a popup_click_handler.

3.23

-----------------

- Added grouping_hint option to the result of adapter.search(), to make it
possible for a single workspace layer to open a popup with multiple tabs.

3.22

-----------------

- Translation fixes, added breadcrumb to the workspace storage
page. Last fixes before "Lizard 3.0" release?

Page 10 of 36

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.