Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(emprinten): Finnish bank barcode and other stuff #511

Merged
merged 8 commits into from
Jun 19, 2024

Commits on Jun 18, 2024

  1. fix(emprinten): Fix lookup table name in templates

    Split the file extension away. Without that, the name in template would
    be something like `table_csv`.
    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    3b93571 View commit details
    Browse the repository at this point in the history
  2. feat(emprinten): Allow some more functions in templates

    - Allow use of template-defined macros.
    - Allow use of predefined set of Python builtin functions.
    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    2411668 View commit details
    Browse the repository at this point in the history
  3. fix(emprinten): Fix date and datetime formatting

    - Fix return type of `date`. Confusingly, date and timedelta filters are
    parsing functions and datetime filter is a formatting function.
    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    5558321 View commit details
    Browse the repository at this point in the history
  4. feat(emprinten): Add support for Finnish bank barcodes

    Only v4 supported for now. See "Pankkiviivakoodi-opas" document from
    Finanssiala for reference.
    The SvgCode128 that uses reportlab as the backend can be used to render
    other Code-128 barcodes too, but might need some customization.
    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    16ed21d View commit details
    Browse the repository at this point in the history
  5. chore(emprinten): Fix style

    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    7378197 View commit details
    Browse the repository at this point in the history
  6. fix(emprinten): Fix typing

    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    d6dfe93 View commit details
    Browse the repository at this point in the history
  7. feat(emprinten): Add view-on-site link to Project admin

    Only for Projects that are accessible via generator UI.
    The link is displayed even if the user is not allowed in that view.
    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    53b066f View commit details
    Browse the repository at this point in the history
  8. fix(hooks): Fix ruff version used in commit hooks

    The project uses 0.4.9, per requirements.txt. Use that version in hook
    too to avoid getting result in CI than what is produced in local.
    
    - Move deprecated top-level linter settings to .lint subsection.
    - Rename PGH002 to G010 as that preferred.
    jlaunonen committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    43b013f View commit details
    Browse the repository at this point in the history