Jan Dittberner
2297c82cf2
Release preparation for 0.6.0
...
- Bump copyright years
- Bump version number
- Update changelog
- Update documentation
2020-03-03 15:07:39 +01:00
Jan Dittberner
8875765018
Fix missing bind=True
2020-03-03 14:54:16 +01:00
Jan Dittberner
99c80f5759
Implement automatic retry for LDAP errors
2020-03-03 14:50:03 +01:00
Jan Dittberner
34f788e099
Reorganize package structure
...
This commit reorganizes the package structure. The gvaldap.settings
modules have been merged. The gvaldap.ldaptasks module has been move up
one level to have task names without the gvaldap prefix.
isort control instructions have been added to setup.cfg.
2020-03-03 12:20:13 +01:00
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
2ff7dd8902
Refactoring of ldaptasks
...
All LDAP tasks return a dictionary now to allow chaining with other
tasks, the new task delete_ldap_user_chained has been added to allow
user deletion after other Celery tasks.
2016-02-07 22:41:36 +01:00
Jan Dittberner
54875619aa
Mark LDAP field names as byte strings
...
The django-ldapdb code cannot handle unicode field names with real LDAP
directories. This commit marks the field names of LDAP entities as byte
strings.
2016-02-07 22:40:19 +01:00
Jan Dittberner
94aacf1398
Add tests for delete tasks
...
This commit raises coverage for ldaptasks.tasks to 100% by adding tests
for delete_ldap_group, delete_ldap_group_if_empty and delete_ldap_user
tasks.
2016-02-02 18:31:37 +00:00
Jan Dittberner
67ccdbb7c8
Add tests for ldaptasks functions
...
This commit adds tests for ldaptasks.set_ldap_user_password,
ldaptasks.add_ldap_user_to_group and
ldaptasks.remove_ldap_user_from_group.
2016-02-01 23:15:57 +00: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
4b060c51f4
Add unit tests
...
This commit adds test coverage for gvaldap and ldapentities and starts
to provide coverage for ldaptasks using mockldap.
2016-02-01 00:55:59 +00: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
02768a4b95
Use separate AMQP vhost for tests
2016-01-31 21:34:20 +01:00
Jan Dittberner
af8b9e974c
Start next development iteration
...
This commit moves the version number to gvaldap's __init__.py, bumps the
copyright year and starts a new development iteration. The docs/conf.py
is synchronized with the gva project's version of that file.
2016-01-29 16:57:48 +01:00
Jan Dittberner
b0097ea0a5
change order of LDAP commands and logging to fix log messages
2015-01-29 21:35:33 +01:00
Jan Dittberner
2bca6f687f
reverted Reject handling in ldaptasks
2015-01-29 18:41:44 +01:00
Jan Dittberner
b422c554ea
improved task logging
2015-01-29 18:32:13 +01:00
Jan Dittberner
023a9eb448
add new task set_ldap_user_password
2015-01-19 22:38:58 +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
589373a693
Merge commit '546441d49920caf43eb7d33976c2d71ae85f16d5'
...
* commit '546441d49920caf43eb7d33976c2d71ae85f16d5':
unify routers, add support for mysql and pgsql tasks
2015-01-01 22:36:22 +01:00
Jan Dittberner
93a27a83aa
implement new task osusers.tasks.delete_ldap_group
2014-12-29 15:04:00 +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
70045771c9
Add 'gvaldap/gvacommon/' from commit 'e29646a94714d516d52272fc83d9a15bbc21e488'
...
git-subtree-dir: gvaldap/gvacommon
git-subtree-mainline: 327e2ab94e
git-subtree-split: e29646a947
2014-12-27 14:03:13 +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
287756f160
make ldap group members field editable
2014-12-25 22:31:05 +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
1034fbbb52
improve production settings
2014-05-31 18:00:11 +02:00
Jan Dittberner
4f4247ea9d
add documentation for gvaldap project code
2014-05-31 16:12:36 +02:00
Jan Dittberner
d86ba33f21
add module level documentation, remove emtpy tests
...
- add docstring for module osusers
- remove empty osusers.tests
2014-05-31 15:23:59 +02:00
Jan Dittberner
91791320ca
document the celery tasks in osusers.tasks
2014-05-31 15:18:39 +02:00
Jan Dittberner
1466d3c93a
add docstrings for ldapentities app
2014-05-31 14:29:21 +02:00
Jan Dittberner
4b9d8d02ba
use primitive values for task parameters
...
- remove all code from osusers.models
- add description field to ldapentities.models.LdapGroup
- change tasks defined in osusers.tasks to use primitive values as
parameters to avoid serialization and model synchronization
2014-05-30 18:42:04 +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
72f5d78c10
implement LDAP password hashing
...
- add passlib to requirements/base.txt
- implement ldapentities.models.LdapUser.set_password
2014-05-30 01:13:41 +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