Skip to main content

WSGI, Celery and CLI applications for Invenio flavours.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-app.svg https://github.com/inveniosoftware/invenio-app/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-app.svg https://img.shields.io/pypi/v/invenio-app.svg

WSGI, Celery and CLI applications for Invenio flavours.

Further documentation is available on https://invenio-app.readthedocs.io/

Changes

Version 1.3.3 (released 2021-12-06)

  • Pinned Limits library to align with Flask-Limiter.

Version 1.3.2 (released 2021-10-28)

  • Unpins Flask-Talisman to allow newer versions.

  • Removes Python 2 support.

Version 1.3.1 (released 2020-12-07)

  • Adds HEAD and OPTIONS HTTP verbs to the /ping endpoint as recommended in HAProxy documentation.

Version 1.3.0 (released 2020-05-13)

  • Adds new template theming via allowing Jinja to load templates from different theme folders via the new configuration variable APP_THEME.

  • Removes the ChoiceLoader used to load templates from the instance folder in favour of using Flask instead. Invenio-App sets the application’s root_path to the instance folder, which makes Flask create the same behavior previously achieved with the ChoiceLoader.

Version 1.2.6 (released 2020-05-06)

  • Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0.

Version 1.2.5 (released 2020-02-26)

Version 1.2.4 (released 2019-11-20)

  • Disable ratelimit for celery.

Version 1.2.3 (released 2019-10-10)

  • Make static_url_path configurable through environment variable.

Version 1.2.2 (released 2019-08-29)

  • Unpins Invenio packages versions.

Version 1.2.1 (released 2019-08-21)

  • Exempts the “/ping” view from rate limiting.

Version 1.2.0 (released 2019-07-29)

  • Fixes issue with instance_path and static_folder being globals. Depends on change in Invenio-Base v1.1.0

  • Improves rate limiting function to have limits per guest and per authenticated users.

Version 1.1.1 (released 2019-07-15)

  • Fixes a security issue where APP_ALLOWED_HOSTS was not always being checked, and thus could allow host header injection attacks.

    NOTE: you should never route requests to your application with a wrong host header. The APP_ALLOWED_HOSTS exists as an extra protective measure, because it is easy to misconfigure your web server.

    The root cause was that Werkzeug’s trusted host feature only works when request.host is being evaluated. This means that for instance when only url_for (part of the routing system) is used, then the host header check is not performed.

Version 1.1.0 (released 2018-12-14)

  • The Flask-DebugToolbar extension is now automatically registered if installed.

Version 1.0.5 (released 2018-12-05)

  • Add health check view

  • Fix response headers assertion in tests

Version 1.0.4 (released 2018-10-11)

  • Fix Content Security Policy headers when set empty in DEBUG mode.

Version 1.0.3 (released 2018-10-08)

  • Fix Content Security Policy headers when running in DEBUG mode.

Version 1.0.2 (released 2018-08-24)

  • Allows use of Flask-DebugToolbar when running in DEBUG mode.

Version 1.0.1 (released 2018-06-29)

  • Pin Flask-Talisman.

Version 1.0.0 (released 2018-03-23)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-app-1.3.3.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

invenio_app-1.3.3-py2.py3-none-any.whl (18.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-app-1.3.3.tar.gz.

File metadata

  • Download URL: invenio-app-1.3.3.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for invenio-app-1.3.3.tar.gz
Algorithm Hash digest
SHA256 3e811dcc5f873ae63e2ea6be7086d118d3732a83847c4783f63076678278d776
MD5 8b4027283bdaeecb44287deb3e67f6e1
BLAKE2b-256 efe6f7e3e2c79520a0046008aa0cb5381734f681d040793e5b8d1b995deaca5d

See more details on using hashes here.

File details

Details for the file invenio_app-1.3.3-py2.py3-none-any.whl.

File metadata

  • Download URL: invenio_app-1.3.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for invenio_app-1.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0bca343edf807896a47bd0f8e3bc61cd7f6b381f6cd720a2b6547e0d11c32853
MD5 623a44fc541a251d30f02763321cb730
BLAKE2b-256 25eebfe28143e98e24a27ca8d6c4a464591e8006766a60fe8468a9b2061468e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page