2022

This is the 2022 change log for Lino. General information about how to read and maintain this document in Documenting changes.

2022-10-23

The lino_xl.lib.reception plugin now injects another field lino_xl.lib.cal.Guest.waiting_number.

Release to pypi: xl, welfare

2022-10-18

lino.core.site.Site.project_dir is now a pathlib.Path object (no longer unipath.Path).

New attribute lino.core.site.Site.master_site replaces the "manual" inheriting of DATABASE and SECRET_KEY when running a Lino site with multiple front ends.

Release to pypi: lino, xl, ...

2022-10-16

Implement DISPLAY_MODE_LIST to call row_as_paragraph on every row and return html string.

2022-09-29

lino.modlib.publisher no longer uses templates. The publisher_page_template is replaced by get_publisher_chunks() and publisher_item_template by lino.core.fields.TableRow.as_paragraph().

The lino.core.model.Model.as_list_item() method has been renamed to lino.core.fields.TableRow.as_paragraph() and is now expected to return a HTML string, not an etree element, and this string must no longer include the enclosing <li> tag. Instead of writing a custom as_paragraph() method on the Model, you can now write a row_as_paragraph method on the actor. New shortcut method row_as_paragraph.

2022-09-27

Replace AbstractTable.display_mode_main and AbstractTable.display_mode_slave by AbstractTable.display_mode, which now takes a "tuple of tuples" as the value instead of "string", where the inner tuples must contain only two values where the first value shell be an integer that indecates the max width (in characters) of the table view and the second value contains the actual display mode.

2022-09-22

Release to PyPi: Lino, XL, welfare, welcht

2022-09-18

Lino now automatically generates a comment of style "Created a new ticket" when a Commentable database row has been created. New attribute Commentable.create_comment_template. This functionally replaces what has been done until now by :class:SpawnTicket

2022-09-13

Stop importing dd and rt in notify consumers.

Release to pypi: Lino 22.9.2

2022-09-06

Release to pypi: xl 22.9.0, noi 22.9.0

Rename checkdata.Problem to lino.modlib.checkdata.Message.

Release to pypi: lino 22.9.0 (e.g. to make presto test suite pass on GitLab)

2022-09-02

Remove the Link model in lino_xl.lib.tickets.

2022-08-30

Release to pypi: lino, xl, welfare, welcht, noi.

2022-08-22

Release to pypi: lino, xl, react, amici, noi.

2022-08-11

The notify.use_websockets has been removed and the dependent functionalities are moved to a new plugin lino.modlib.linod, which will be activated when site.use_linod is set to True.

2022-07-31

The pull.sh generated by getlino now updates all Python packages of the environment. See #4590.

Fixed: install caused a NameError: name 'sys' is not defined error.

2022-07-27

Fix a regression that caused ExtJS front end to break when help.make_help_pages was True.

Release to PyPI: lino

2022-07-25

The Lino version of collectstatic now runs Django's collectstatic before makehelp and buildcache.

Release to PyPI: lino, xl, welfare, react, noi

2022-07-19

Fixed #4581 (makehelp for welcht says "Tried to get static handle for debts.PrintEntriesByBudget")

2022-07-11

The lino_book.projects.cosi5 demo project is our first proof of concept for a point of sale. New plugin settings ledger.sales_method, ledger.has_payment_methods and invoicing.voucher_type. New function dd.get_plugin_setting().

The lino_xl.lib.ledger.PaymentMethod model now exists only when ledger.has_payment_methods is True.

Removed: The invoicing.delivery_notes_demo setting is replaced by ledger.sales_method. The lino.core.site.configure_plugin() function is removed as it was no longer used anywhere.

2022-06-29

The notify.use_websockets now works out of the box for React front end.

2022-06-06

Release to PyPI: lino, xl, cosi, react

2022-05-24

Reimplement the site features. They are now plain strings; description is expected be in the Sphinx docs.

Release to PyPI: lino 22.5.1, xl, noi, getlino

Adapt after sphinxconf was moved from atelier to rstgen.

Release to PyPI: lino 22.5.2

2022-05-19

Release to PyPI: welfare and welcht

2022-05-09

The lino_xl.lib.invoicing plugin now supports delivery notes as a new type of invoice generator. Partial invoicing is possible. New field ledger.Journal.make_ledger_movements.

2022-05-07

Release to pypi: lino, lino_xl, lino_react

2022-03-26

Renamed cal.EventRepeater to cal.EntryRepeater. Replaced cal.Event.repeater by cal.EntryRepeater.cal_entry.

2022-03-10

Replace AbstractTable.display_mode with display_mode_main and also add another attribute display_mode_slave to use when the Table is rendered as an element of another Table's layout.

Add new module lino.core.classproperty.

2022-01-22

Release to PYPI: lino, xl, react

2022-01-06

Release to PYPI: lino, xl, react, noi