django-fobi

Form generator/builder application for Django done right: customisable, modular, user- and developer- friendly.

Downloads
6.4K
Stars
484
Committers
23

Bot releases are visible (Hide)

django-fobi - 0.19.9-2023-07-11 Latest Release

Published by barseghyanartur over 1 year ago

  • Added email_repeat plugin.
django-fobi - 0.19.8-2023-01-30

Published by barseghyanartur over 1 year ago

  • Method fobi.contrib.plugins.form_handlers.db_store.base.DBStoreHandlerPlugin.run now returns created fobi.contrib.plugins.form_handlers.db_store.models.SavedFormDataEntry.
django-fobi - 0.19.7-2022-12-21

Published by barseghyanartur almost 2 years ago

  • Fix incorrect URLs for files in emails.
  • Drop Python 3.6 support.
django-fobi - 0.19.6-2022-11-26

Published by barseghyanartur almost 2 years ago

  • Tested against Python 3.10 and 3.11. Note that ATM, Python 3.11 tests do pass on SQLite only due to Python 3.11 issue with postgres bindings.
  • Tested against Django 4.1.
  • Drop Python 3.5 support.
django-fobi - 0.19.5-2022-11-20

Published by barseghyanartur almost 2 years ago

  • Enable accidentally forgotten login-required permission on the Dashboard view.
django-fobi - 0.19.2-2022-07-14

Published by barseghyanartur over 2 years ago

  • Make it easier to get initial data for the ViewFormEntry view.
  • Apply black and isort on entire code base.
django-fobi - 0.19.1-2022-07-12

Published by barseghyanartur over 2 years ago

  • Added class-based view for Dashboard.
django-fobi - 0.19-2022-07-11

Published by barseghyanartur over 2 years ago

  • Introduce class based views. Function based views are still supported
    and will be supported until at least 0.23.

    Migration to class based views is simple. Only your project's urls.py
    would change:


      urlpatterns = [
          # ...
          url(r'^fobi/', include('fobi.urls.class_based.view')),
          url(r'^fobi/', include('fobi.urls.class_based.edit')),
          # ...
      ]

To use function based views, simply replace the previous line with:


      urlpatterns = [
          # ...
          url(r'^fobi/', include('fobi.urls.view')),
          url(r'^fobi/', include('fobi.urls.edit')),
          # ...
      ]
  • Class-based permissions (work only in combination with class-based views).

    Example:


      from fobi.permissions.definitions import edit_form_entry_permissions
      from fobi.permissions.generic import BasePermission
      from fobi.permissions.helpers import (
          any_permission_required_func, login_required,
      )

      class EditFormEntryPermission(BasePermission):
      """Permission to edit form entries."""

      def has_permission(self, request, view) -> bool:
          return login_required(request) and any_permission_required_func(
              edit_form_entry_permissions
          )(request.user)

      def has_object_permission(self, request, view, obj) -> bool:
          return login_required(request) and any_permission_required_func(
              edit_form_entry_permissions
          )(request.user) and obj.user == request.user
django-fobi - 0.18-2022-06-23

Published by barseghyanartur over 2 years ago

  • Tested against Python 3.9, Django 3.2 and 4.0.
Release dedicated to my dear son, Tigran, who turned 10 recently.
django-fobi - 0.17.1-2021-01-25

Published by barseghyanartur over 3 years ago

Release dedicated to defenders of Armenia and Artsakh (Nagorno Karabakh) 
and all the victims of Turkish and Azerbaijani aggression.
  • Replace outdated simplejson with json.
django-fobi - 0.17-2020-12-28

Published by barseghyanartur almost 4 years ago

Release dedicated to defenders of Armenia and Artsakh (Nagorno Karabakh)
and all the victims of Turkish and Azerbaijani aggression.
  • Deprecate support for the following Django versions: 1.11, 2.0 and 2.1.
django-fobi - 0.16.2-2020-04-03

Published by barseghyanartur over 4 years ago

  • Conditional use of deprecated admin_static templatetag module.
django-fobi - 0.16.1-2020-03-18

Published by barseghyanartur over 4 years ago

  • Fix the datetime is not JSON serializable error.
django-fobi - 0.16-2020-01-11

Published by barseghyanartur almost 5 years ago

.. note::

This release drops support for Python 2.7 and 3.4 and sets the minimum
requirement version for Django to 1.11. If you don't meet these
requirements - do not upgrade.
  • Add support for Django 3.0.
  • Drop support Django 1.8, 1.9, 1.10. Minimal supported Django version is 1.11.
  • Tested against Python 3.8.
  • Drop Python 2.7 support.
  • Drop Python 3.4 support.
  • Tested with Django REST Framework 3.11.x. All older versions of
    Django REST Framework should still work, although they are no longer tested.
  • Tested with FeinCMS 1.17.x. No code changes at all. All older versions of
    FeinCMS should still work, although they are no longer tested.
django-fobi - 0.15-2019-06-20

Published by barseghyanartur over 5 years ago

.. note::

Although this release does not contain major backwards incompatible
changes, some things you have had working in past might break.
  • The following settings
    FOBI_FAIL_ON_ERRORS_IN_FORM_ELEMENT_PLUGINS,
    FOBI_FAIL_ON_ERRORS_IN_FORM_HANDLER_PLUGINS,
    FOBI_FAIL_ON_MISSING_INTEGRATION_FORM_ELEMENT_PLUGINS and
    FOBI_FAIL_ON_MISSING_INTEGRATION_FORM_HANDLER_PLUGINS used to be set to
    False by default (silencing exceptions). It's no longer so. Exceptions
    will cause errors from now on (you might get error 500). If you want old
    behaviour, set them to False.
django-fobi - 0.14-2019-05-24

Published by barseghyanartur over 5 years ago

  • Tested again Django 2.2 and Python 3.7.
  • Use ChromeDriver (for browser tests).
  • Wiping out (as stated many versions ago) support for Django < 1.8.
  • Reactivate travis (although not all tests yet pass, while they do pass
    locally; to be solved in future).
django-fobi - 0.13.10-2019-02-28

Published by barseghyanartur over 5 years ago

  • Add mail_sender DRF integration plugin.
django-fobi - 0.13.9-2019-02-28

Published by barseghyanartur over 5 years ago

Release supported by Goldmund, Wyldebeast & Wunderliebe

  • Add mail_sender form handler plugin.
  • Upgrade test suite.
django-fobi - 0.13.8-2019-01-07

Published by barseghyanartur almost 6 years ago

  • Make it easier to redirect to a new URL (on success) in integration apps.
django-fobi - 0.13.7-2018-10-01

Published by barseghyanartur about 6 years ago

  • Make fobi wagtail integration work with wagtail 2.