Commit graph libervia-backend/libervia/backend/tools/common
Author SHA1 Message Date
Goffi
5d8334061b tools (common/data_objects): handle messages without body 2023-08-08 23:49:36 +02:00
Goffi
173519a630 tools (common/template): add filter to get media types:
Add 2 filters to get main type and subtype of media type. Jinja2 and Nunjucks don't handle
slices in the same way (Python way for Jinja2, JS way for Nunjucks), making it difficult
to retrieve main type of a media from media type. Thoses filters work in both cases.
2023-06-22 15:49:06 +02:00
Goffi
fd53fb537e tools (common/data_objects): add attachments in Message 2023-06-22 15:47:17 +02:00
Goffi
fbf72390da tools (common/template): allow use of extra attributes in icon function 2023-06-08 21:28:26 +02:00
Goffi
735822ab74 tools (common/date_utils): update date parsing regex:
the regex `<timestamp> + 30 minutes` was not parsed correctly, this update should fix it.
2023-06-08 21:27:12 +02:00
Goffi
85c1457054 tools (common/data_objects): fix import of Markup following change after Jinja2 version bump 2023-06-08 21:26:09 +02:00
Goffi
620f89f589 tools/common (template): add id argument to _icon_use 2023-06-07 22:26:54 +02:00
Goffi
7c6a675435 installation: moved from setup.py to pyproject.toml:
- updated installation to use the now standard `pyproject.toml` instead of legacy
`setup.py`. `setup.py` and other legacy files have been deleted.
- removed outdated README4PACKAGERS
- removed pylintrc which has not been correctly reviewed. Linter conf should go to
  `pyproject.toml` now.
- [hatch](https://hatch.pypa.io) is now used as main building tool. However, thanks to the
use of standards, other tools can be used too.
- update .hgignore
- several dependencies version bump, with code update to adapt to changes.
2023-06-06 16:45:16 +02:00
Goffi
fd16770c19 refactoring: rename libervia.frontends.jp to libervia.cli 2023-06-02 14:54:26 +02:00
Goffi
4ab9bd7bc8 refactoring: rename sat_frontends to libervia.frontends 2023-06-02 14:12:38 +02:00
Goffi
d2685ba11b refactoring: renamed sat package to libervia.backend 2023-06-02 11:49:51 +02:00