Metadata-Version: 2.1
Name: ll-la
Version: 0.14.0
Summary: Python API for LivingApps
Home-page: http://github.com/LivingLogic/LivingApps.Python.LivingAPI
Author: Walter Doerwald
Author-email: walter@livinglogic.de
License: MIT
Keywords: LivingApps
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
License-File: LICENSE.txt

``ll.la`` provides a Python API for the LivingApps system
(see http://www.living-apps.de/ or http://www.living-apps.com/ for more info).

``ll.la`` allows you to fetch the configured data sources from a template,
create new records, and update and delete existing records all from your Python
prompt (or script).

For more info about LivingApps and this Python SDK, see
https://my.living-apps.de/docs/PythonSDK.html (in german).


0.14.0 (2021-12-08)
-------------------

* Renamed ``AppLookupControl.lookupapp`` to ``lookup_app`` and
  ``AppLookupControl.lookupcontrols`` to ``lookup_controls``.

* Added the following attributes to ``AppLookupControl``:

  - ``local_master_control``,
  - ``local_detail_controls``,
  - ``remote_master_control``.

* Added the attribute ``favorite`` to ``App`` and expose it to UL4. Expose
  ``superid`` to UL4ON.

* Renamed ``App.language`` to ``App.lang``.

* Fixed ``DatetimeSecondControl._asjson()`` to treat ``datetime.datetime``
  values correctly.

* Updated ``DatetimeControl``, ``DatetimeMinuteControl`` and
  ``DatetimeSecondControl`` to support setting values to strings (when they
  have the correct format).

* Added an UL4 attribute ``format`` to ``DatetimeControl``,
  ``DatetimeMinuteControl`` and ``DatetimeSecondControl`` that gives the
  appropriate UL4 format string for formatting a value for this control
  (depending on ``globals.lang``).


* Added ``Globals.mode`` which is the template mode we're running in. Valid
  values are ``"form/new/init"``, ``"form/new/search"``, ``"form/new/failed"``,
  ``"form/new/presave"``, ``"form/new/postsave"``, ``"form/edit/init"``,
  ``"form/edit/search"``, ``"form/edit/failed"``, ``"form/edit/presave``,
  ``"form/edit/postsave"``, ``"view/list"``, ``"view/detail"``,
  ``"view/support"``, ``"email/text`` and ``email/html"``.

* Most LivingAPI objects are now persistent objects.

* Implement ``Globals.scaled_url()``.

* Added the classes ``ViewControl``, ``HTMLLayoutControl`` and
  ``ImageLayoutControl`` and attributes ``View.controls`` and ``App.active_view``.

* Setting ``App.active_view`` to a ``View`` objects makes ``Control``
  attributes honor the additional information defined in the ``View``.

* Added ``View`` attributes ``lang``, ``controls`` and ``layout_controls``.

* Added ``App`` attribute ``layout_controls``.

* Added various ``Control`` attributes that are used in ``View``s: ``top``,
  ``left``, ``width``, ``height``, ``default``, ``tabindex``, ``minlength``,
  ``maxlength``, ``required``, ``placeholder``, ``mode``, ``labelpos``,
  ``autoalign`` and ``labelwidth``.

* Added attribute ``format`` to ``DateControl``.

* Added attributes ``none_key`` and ``none_label`` to ``LookupControl``,
  ``MultipleLookupControl``, ``AppLookupControl`` and
  ``MultipleAppLookupControl``.

* Implemented field value validation and support for field default values.





