Commit graph

113 commits

Author SHA1 Message Date
b54b8577cb Update Vagrant setup to Debian Buster and Python 3 2020-03-03 16:15:18 +01:00
4ef03f141c Update issue and tag URLs for releases Sphinx plugin 2020-03-03 15:29:19 +01:00
f9ade2ea20 Release 0.6.0
- Python 3 support
 - Redis result backend
 - Automatic retry for unavailable LDAP server
 - Pipenv dependency management
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAl5eZPkACgkQDXkdyNc3
 wdnpwQgAqEtqKhV2X8AmRjAUqBMO6cdMjl678cBX5d+uV8ok1SdMLZ28zFjgbCRw
 at+Du3VCVM3CoM11pgetyVO/N9pXRbhME9ogmKQY1vmHupXUvj54sUg7ia11B9OA
 cgsgTH8bKqys/ZJyV7TiKj+WinwvdUpmFdemkkcSl8Wk/MnuSI0CQt+TX79SlSET
 J1VzAedIVEP078TsSrXRBuY/AWn6UQ0ouWcjx3sP9ssLzFQ7ql3dysB1kXfrpOF9
 tldx93t7JNZVhdGK+BEy/T5CxX5LbpJCyQ5J7rt8Cd0/RK2nRPuqswuNmQfeu6mB
 t5K6rOlcWpht/waPRCAc2EJHvHMxEQ==
 =RxNE
 -----END PGP SIGNATURE-----

Merge tag '0.6.0'

Release 0.6.0

- Python 3 support
- Redis result backend
- Automatic retry for unavailable LDAP server
- Pipenv dependency management

* tag '0.6.0':
  Release preparation for 0.6.0
2020-03-03 15:09:03 +01:00
99e22ab9dd Merge branch 'release/0.6.0' into production
* release/0.6.0: (29 commits)
  Release preparation for 0.6.0
  Fix missing bind=True
  Implement automatic retry for LDAP errors
  Unify docker setup with gvaweb and gva
  Add Dockerfile and entrypoint script
  Reorganize package structure
  Fix compatibility with Django 2.2 and other dependencies
  Use Pipenv for dependency management
  Change gvacommon dependency URL
  Update vagrant setup to stretch64 with LXC
  Protect /etc/salt/grains
  Ignore PyCharm files
  Improve Vagrant setup
  Refactoring of ldaptasks
  Mark LDAP field names as byte strings
  Change salt minion id in Vagrantfile
  Add tests for delete tasks
  Add tests for ldaptasks functions
  Update Django and gvacommon dependencies
  Add unit tests
2020-03-03 15:08:00 +01:00
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
8875765018 Fix missing bind=True 2020-03-03 14:54:16 +01:00
99c80f5759 Implement automatic retry for LDAP errors 2020-03-03 14:50:03 +01:00
bdcd16b7e7 Unify docker setup with gvaweb and gva 2020-03-03 13:12:41 +01:00
628d6ee550 Add Dockerfile and entrypoint script 2020-03-03 12:22:45 +01:00
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
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
c4485945fc Use Pipenv for dependency management 2020-03-02 15:39:29 +01:00
ea07d53307 Change gvacommon dependency URL 2019-06-26 22:54:35 +02:00
1091084438 Update vagrant setup to stretch64 with LXC 2018-08-10 11:56:29 +02:00
cab9e9701b Protect /etc/salt/grains
Make sure that the permissions of /etc/salt/grains only allow access for the
root user.
2016-09-25 17:27:42 +02:00
2d347e6e96 Ignore PyCharm files 2016-09-25 01:10:45 +02:00
937d0aff97 Improve Vagrant setup
Use debian/contrib-jessie64 base box, install python-cryptography before
saltstack bootstrap.
2016-09-25 01:10:17 +02:00
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
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
1a24cf9c50 Change salt minion id in Vagrantfile 2016-02-06 13:37:53 +01:00
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
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
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
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
32366e93dd Add setup.cfg for QA tools, fix flake8 warnings 2016-01-31 23:30:17 +01:00
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
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
e9ee69f6e5 Add code quality requirements 2016-01-31 21:34:47 +01:00
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
02768a4b95 Use separate AMQP vhost for tests 2016-01-31 21:34:20 +01:00
62d8ed64e2 Move salt states and pillar data to separate repository
This commit removes the salt states and pillar data and adds the
ldapserver role to the gvaldap host.
2016-01-31 21:32:15 +01:00
6a8997e950 Add initial Vagrant/Saltstack setup
This commit adds an initial Vagrant and Saltstack setup that reuses the
same configuration as that of the gva repository. The LDAP server itself
is not configured yet.
2016-01-29 23:26:57 +01:00
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
809168d80f Merge tag '0.5.2'
release 0.5.2

- fix minor issues in log messages

* tag '0.5.2':
  update docs version, add release to changelog
2015-01-29 21:52:16 +01:00
1079b0b1d2 Merge branch 'release/0.5.2' into production
* release/0.5.2:
  update docs version, add release to changelog
  add changelog entry
  change order of LDAP commands and logging to fix log messages
2015-01-29 21:51:50 +01:00
261ffe5bb0 update docs version, add release to changelog 2015-01-29 21:51:25 +01:00
fad70cf74a add changelog entry 2015-01-29 21:50:23 +01:00
b0097ea0a5 change order of LDAP commands and logging to fix log messages 2015-01-29 21:35:33 +01:00
ceb1016e8f release 0.5.1
- hotfix for invalid Reject handling
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUynGoAAoJEA15HcjXN8HZ6EYIALNiQdZvjjuIMviwF4amfmb8
 K5HCOOWoxc5dr8eKWhrzL4xUg/N6MT1VcRp/zJyiwGxM3Pe0dbx/lBMkIVxtjqpG
 sQDx+QITV/eP+rGIO+/mimvfeIsghkIOPGVy+UHdsBS7H4p8d8EiSNMs9WjNzx8M
 tt5nGOONlWn5wfwha0EaaIFR51cBfmH8l/MjK+6EjyWlPmemQSMB2AmEHlGgxQPt
 Wm8Pd5vQp61WOBxGeQtSvLGeDSjBgdBB81Z7Zh9RgeJb4Yb35mmAFdF/5c3r3aEI
 MqRtXIj/uYGiOepwKKcGYShibkg4FRquGeEsame/lVNXgtqfW0PRrGclFW4XBFA=
 =31/7
 -----END PGP SIGNATURE-----

Merge tag '0.5.1'

release 0.5.1

- hotfix for invalid Reject handling

* tag '0.5.1':
  update docs version, add release to changelog
2015-01-29 18:45:17 +01:00
94cf918bac Merge branch 'release/0.5.1' into production
* release/0.5.1:
  update docs version, add release to changelog
  reverted Reject handling in ldaptasks
2015-01-29 18:44:49 +01:00
7e31e8d671 update docs version, add release to changelog 2015-01-29 18:44:42 +01:00
2bca6f687f reverted Reject handling in ldaptasks 2015-01-29 18:41:44 +01:00
5d22e63686 release 0.5.0
- better logging, updated dependencies
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUym/JAAoJEA15HcjXN8HZ9GsIANmCtRQlkuk2GB0kUnM18qu0
 /8pB9X7McSwD8JKbEi8yEu/WY4Dc17s6WELTMkt5RjNGjDDZI0vDSW3QycmnqvP1
 T/zWXT4N3PJVtIV9U2InVzoBhMBONz4E6QXvjagzTwaPtfa8F4aqBiV6yE9bAURL
 Is27Zjjy/7DArHZ8jDAG8/JIPY3ZzxBgrief46p/PhLjq7/xEdQURCHZph+UVDVA
 6hJoQ77X8KFPfCr1EEn+Tu1+1GMPu4JXh+XZOLzjab8HkORtE4/Tjbtw53hAqQV9
 +0Z6pWYPi7C7fAIaB9+E8jCiR8oMgp46Y0RefKl8kwvGlGKYM9xkAnKvbja1oO8=
 =7lQU
 -----END PGP SIGNATURE-----

Merge tag '0.5.0'

release 0.5.0

- better logging, updated dependencies

* tag '0.5.0':
  update version, add release to changelog
2015-01-29 18:37:19 +01:00
26b890b859 Merge branch 'release/0.5.0' into production
* release/0.5.0:
  update version, add release to changelog
  improved task logging
  update dependencies
2015-01-29 18:36:27 +01:00
b7ecbfc0dc update version, add release to changelog 2015-01-29 18:35:40 +01:00
b422c554ea improved task logging 2015-01-29 18:32:13 +01:00
e4a04130e7 update dependencies
- update to Django 1.7.4
- update to bpython 0.13.2
- add explicit dependencies for Pygments and requests
- remove unused pyyaml dependency
2015-01-29 17:16:14 +01:00
7f562cffcc release 0.4.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUw7Q+AAoJEA15HcjXN8HZ+5cH/3C+DLp6eI7zvHCCHPAIY05f
 /wUnsvvvY5Is70nfce74zb/8Dt3ptyFdN1YPMCm4cRDFKXb/E+vuVi51d5LaqR6N
 i2vdDHdYThBkO5LkJQU/hW6JPYGVQ6zDF/n4RcYZ+6yQ5SSCp2VOB662RingrL0D
 rTPxA+XqtSjh43f5/zSWbc+zDlPkpay2TXnWhlrRTi+TlO/CEAdk6goJ0KbEfRQ0
 YDejM0oUg7BZ3/GYBClMOOkD6lPl7U9jN5KNbIzIbMX9x3g2p9JwYp+IFQRgL2qx
 KJl3KJDyqjpPXVYqS4lrHd4STqND8hEZtcTtOufXM9VS19HSFRoxtvCLWH14ajA=
 =B4tW
 -----END PGP SIGNATURE-----

Merge tag '0.4.0'

release 0.4.0

* tag '0.4.0':
  set version number, mark release in changelog
2015-01-24 16:03:32 +01:00
57161ab89e Merge branch 'release/0.4.0' into production
* release/0.4.0:
  set version number, mark release in changelog
  add new task set_ldap_user_password
2015-01-24 16:03:14 +01:00
48558baafc set version number, mark release in changelog 2015-01-24 16:02:25 +01:00