1. 04 Apr, 2019 2 commits
  2. 21 Mar, 2019 1 commit
  3. 20 Mar, 2019 1 commit
  4. 19 Mar, 2019 1 commit
  5. 07 Mar, 2019 1 commit
  6. 27 Feb, 2019 3 commits
  7. 28 Jan, 2019 1 commit
    • ∞'s avatar
      Improve case detection · 5b0d6a9c
      authored
      This improves compatibility with more standard has_perm calls.
      5b0d6a9c
  8. 27 Jan, 2019 1 commit
  9. 29 Nov, 2018 1 commit
  10. 28 Nov, 2018 3 commits
  11. 27 Nov, 2018 1 commit
  12. 25 Nov, 2018 1 commit
  13. 22 Nov, 2018 1 commit
    • ∞'s avatar
      self.filterset was amnesic, remove broken defaults feature · 989e24f8
      authored
      To have best support of default filters, you will need to exploit
      crudlfap hacks. This for example will make the link have default values
      in the URL. This makes the said values "clearable", to noop the filter.
      989e24f8
  14. 19 Nov, 2018 4 commits
  15. 14 Nov, 2018 2 commits
  16. 12 Nov, 2018 4 commits
    • ∞'s avatar
      bump · fc3dcee8
      authored
      fc3dcee8
    • ∞'s avatar
      Install setupmeta and upgrade auto release pipeline · 90f69544
      authored
      90f69544
    • ∞'s avatar
      Migrate examples and test to new model · ae285f78
      authored
      ae285f78
    • ∞'s avatar
      New security model · ef1b6a19
      authored
      - remove view allowance from router, in favor of auth backend
      - provide an auth backend that check two attributes in view class:
        - authenticate, it's True by default and requires authentication
        - allowed_groups, it's not allowed to any group by default, list of
          group names or 'any'
      - still support django default permission backend by default, but
        this time with the possibility to grant permissions in the database
        through the list of URLs.
      
      Obviously still pretty clumsy but a interresting step forward from the
      previous version anyway. Setting groups in view classes is pretty cool,
      also
      ef1b6a19
  17. 06 Nov, 2018 1 commit
  18. 30 Oct, 2018 11 commits
    • ∞'s avatar
      Fix install · 515d5e69
      authored
      515d5e69
    • ∞'s avatar
      Docs rendering fix ! · 3bdecb3a
      authored
      3bdecb3a
    • ∞'s avatar
      Even more shame · fd403178
      authored
      fd403178
    • ∞'s avatar
      Add Factory documentation ! · 6f50115e
      authored
      6f50115e
    • ∞'s avatar
      Tell RTFD to use pip ! · 48c20ce4
      authored
      48c20ce4
    • ∞'s avatar
      Make rtfd install extra requirements ! · ad4b1eb1
      authored
      ad4b1eb1
    • ∞'s avatar
      RTFD compile with 3.6 · 78a546c2
      authored
      78a546c2
    • ∞'s avatar
      Release 0.7.0 · c8377a50
      authored
      c8377a50
    • ∞'s avatar
      Allow all extensions for jinja2, yay ! · 523f47a7
      authored
      523f47a7
    • ∞'s avatar
      Security refactor with BC breaks · 70cd989d
      authored
      NEW FEATURES
      
      - Non-db model support has been greatly improved, using the lookupy module that
        implements a QuerySet interface for python objects, we just added support for
        models that have managed=False,
      - You can now browse your list of registered `Routers` and `Routes` in
        CRUDLFA+, these are auto-generated during runtime into
        `crudlfap.models.Controller` and `crudlfap.models.URL`,
      - By doing so, you can authorize groups that should have the view permission in
        each view's detail page, refer to the new documentation about security model
        for details,
      - As such, the poor urls debug view is gone in favor of the above,
      - Django permission API is now the default way of dealing with permission,
      - BC Breaks listed below
      
      BACKWARD COMPATIBILITY BREAKS
      
      So, basically this will make your 0.5 CRUDLFA+ project start correctly on 0.6::
      
          find src/ -type f | xargs sed -i 's/from crudlfap import crudlfap/from crudlfap import shortcuts as crudlfap/'
      
      BUT all your views will be invisible to non-superusers. Follow these steps to
      upgrade:
      
      - `from crudlfap import crudlfap` should now be `from crudlfap import shortcuts
        as crudlfap`,
      - `allowed` is gone, in favor of `has_perm()`, that checks django permission by
        default, that means views are not open to staff users by default but to
        superusers
      - as such, to open a view to all, replace `allowed=True` with
        `authenticate=False`,
      - `Router.get_objects_for_user(user, perms)` is gone in favor of
        `Router.get_queryset(view)`, which returns all models by default.
      - `Router.get_fields_for_user(user, perms, obj=None)` becomes
        `Router.get_fields(view)`,
      - `Route.short_permission_code` becomes `Route.permission_shortcode`,
      - `Route.full_permission_code` becomes `Route.permission_fullcode`,
      70cd989d
    • ∞'s avatar
      Title color · 1ac23acf
      authored
      1ac23acf