Commit Graph

22 Commits

Author SHA1 Message Date
Jan Dittberner 427fdd9c03 Fix compatibility with Django 2.2 and other dependencies
- drop mockldap in favour of volatildap
- fix URLs and settings
- fix tests
2020-03-02 15:40:08 +01:00
Jan Dittberner 23015af083 Update Django and gvacommon dependencies
This commit updates the Django dependency version to 1.9.2 and gvacommon
to 0.3.0 that provides gvacommon.settings_utils.get_env_variable. The
gnuviechadmin.settings.base module now uses this implementation instead
of an own copy and the corresponding test has been removed too.
2016-02-01 23:37:39 +01:00
Jan Dittberner 32366e93dd Add setup.cfg for QA tools, fix flake8 warnings 2016-01-31 23:30:17 +01:00
Jan Dittberner ed18c4a6f9 Modernize dependencies, sync with gva
This commit modernizes all requirements to the latest versions, adapts
the settings to Django 1.9 and synchronizes the settings layout with
gva.
2016-01-31 23:19:26 +01:00
Jan Dittberner 7c6ed136eb Switch result backend to redis
The AMQP result backend proved as impractical, this commit switches to
redis instead.
2016-01-31 21:36:40 +01:00
Jan Dittberner 5094990c9a Switch from deprecated amqp backend to rpc
The previously used amqp result backend has been marked as deprecated by
the celery developers. This commit switches to the rpc backend that
should be used instead.

This commit renames get_env_setting to get_env_variable to be consistent
with the gva settings modules.
2016-01-31 21:34:26 +01:00
Jan Dittberner e489ecb797 move osusers to ldaptasks 2015-01-19 21:27:19 +01:00
Jan Dittberner f5c2970a31 switch to gvacommon.celeryrouters.GvaRouter 2015-01-01 22:37:05 +01:00
Jan Dittberner cdbaa3ca36 define celery timezone, restrict celery content to json 2014-12-29 13:00:19 +01:00
Jan Dittberner 672a3bb622 use celery routers from gvacommon 2014-12-27 14:06:26 +01:00
Jan Dittberner 6c7f4d2288 allow pickle content 2014-12-26 13:16:54 +01:00
Jan Dittberner ac4693d0eb define celery routing 2014-12-26 13:13:57 +01:00
Jan Dittberner 787a943c69 define CELERY_TASK_SERIALIZER 2014-12-26 12:58:28 +01:00
Jan Dittberner 9572c2cec5 change default serializer to json 2014-12-26 12:40:49 +01:00
Jan Dittberner e2651eb9e9 sync with gvafile 2014-12-25 22:16:17 +01:00
Jan Dittberner 6db4fbd73e update to Django 1.7.1 2014-12-17 21:24:34 +01:00
Jan Dittberner 06df1c5f0b remove unnecessary dependency on South 2014-12-17 21:12:32 +01:00
Jan Dittberner 4f4247ea9d add documentation for gvaldap project code 2014-05-31 16:12:36 +02:00
Jan Dittberner 5174e144ba use YAML for celery serialization
- add CELERY_ACCEPT_CONTENT, CELERY_TASK_SERIALIZER and
  CELERY_RESULT_SERIALIZER in gvaldap.settings.base
- add pyaml to requirements/base.txt
2014-05-30 18:37:58 +02:00
Jan Dittberner 1575725bcb add celery tasks
- add celery application code in gvaldap.celery
- add osusers app to mimic the osusers code in the main gnuviechadmin code
- add celery configuration settings to gvaldap.settings.base
- add osusers.models.Group and osusers.models.User
- add osusers.tasks.create_ldap_group and osusers.tasks.create_ldap_user
- add billiard, kombu and pytz to requirements/base.txt
2014-05-30 12:12:21 +02:00
Jan Dittberner 3babbc5b3f implement LDAP group and user classes
- add app ldapentities
- add new settings GROUP_BASE_DN and USER_BASE_DN
- implement ldapentities.models.LdapUser and ldapentities.models.LdapGroup
- implement ldapentities.admin.LdapUserAdmin and
  ldapentities.models.LdapGroupAdmin
2014-05-30 01:07:25 +02:00
Jan Dittberner ccb7fc7b6b initial project based on twoscoops template
- used https://github.com/twoscoops/django-twoscoops-project
- removed templates and static files
- changed requirements, settings and docs
2014-05-29 23:57:19 +02:00