Cez Sta

Results 14 issues of Cez Sta

user approval #255, ported from https://github.com/GeoNode/geonode-user-accounts

New Feature

This is implementation for #252: New url invite_user is introduced. Invitation functionality can be enabled for all users or just for moderators with ACCOUNT_INVITE_USER_STAFF_ONLY (default to False) (used topic branch...

New Feature

This will set ``User.is_active`` to false by default. Admin will be able to enable user in admin. Additional integration (like sending notifications) can be done with signals. I've introduced ``ACCOUNT_APPROVAL_REQUIRED``...

Simple functionality requirement: existing user should be able to invite other people to register to the site. This is a backport from forked repo: https://github.com/GeoNode/geonode-user-accounts/commit/4e2778ddeba2842fd7f07e11ea41322503196d25

At the moment, GHC is managed with several endpoints: pavement.py, manage.py, model.py, app.py. This could be normalized, some commands could be moved either to pavement or to manage.py.

enhancement

WFS checks (getCapabilities) has 3 hardcoded versions to use (1.0.0, 1.1.0 and 2.0.2). This usually works, but some services may require very specific version to be passed. For example service...

Following lines https://github.com/ahknight/drf-httpsig/blob/master/drf_httpsig/authentication.py#L92-L95 will turn `CONTENT_TYPE` and `CONTENT_LENGTH` keys into `nt-type` and `nt-length` headers.

Current json serializer doesn't support few basic python types. Instead of half-baked serializer used now, maybe Django's encoder class should be used: https://github.com/django/django/blob/master/django/core/serializers/json.py#L84 This encoder supports additional types: - datetime,...

Redirect middleware is a very good idea, but it's usage is quite narrow. It would be good to use more generic approach, with richer exception hierarchy, which would allow to...