Commit graph

502 commits

Author SHA1 Message Date
Valentin Samir
0025a3772b
Merge pull request #83 from nitmir/dev
Update to version 2.0.0

v2.0.0 - 2022-10-17
===================

Added
-----
* Support for Django 4.0 and 4.1
* Add locale for zh_Hans
* Add a unit test with a non ascii char in service url
* Add settings to allow deletings Django cookies upon logout

Changed
-------
* Update CI: require pytest >= 7 and remove pytest-pythonpath dependancy

Fixes
-----
* Fix unicode sandwich issue in cas_server.utils.update_url
* Fix DeprecationWarning about default_app_config in Django 3.2
* Fix DeprecationWarning about USE_L10N in Django 4.0

Removed
-------
* Drop support for python 2.7 (now deprecated for more than 2 years,
  expect it to break now or in a near future)
* Drop support for python 3.5 (but it should keep working for a while.
  pytest >= 7 do not support python 3.5 and Debian Stretch support ended)
2022-10-17 20:07:46 +02:00
Valentin Samir
06f525bcfe Update to version 2.0.0
v2.0.0 - 2022-10-17
===================

Added
-----
* Support for Django 4.0 and 4.1
* Add locale for zh_Hans
* Add a unit test with a non ascii char in service url
* Add settings to allow deletings Django cookies upon logout

Changed
-------
* Update CI: require pytest >= 7 and remove pytest-pythonpath dependancy

Fixes
-----
* Fix unicode sandwich issue in cas_server.utils.update_url
* Fix DeprecationWarning about default_app_config in Django 3.2
* Fix DeprecationWarning about USE_L10N in Django 4.0

Removed
-------
* Drop support for python 2.7 (now deprecated for more than 2 years,
  expect it to break now or in a near future)
* Drop support for python 3.5 (but it should keep working for a while.
  pytest >= 7 do not support python 3.5 and Debian Stretch support ended)
2022-10-17 19:52:40 +02:00
Valentin Samir
2b767f3db5 setup.py imports cas_server/__init__.py. Django might not be installed 2022-10-17 19:46:54 +02:00
Valentin Samir
0f2281f2ea Update CHANGELOG.rst and README.rst 2022-10-17 19:39:41 +02:00
Valentin Samir
319c63a7f2 Add settings to allow deletings Django cookies upon logout. Fix #80 2022-10-17 19:29:05 +02:00
Valentin Samir
a4e50ac7d5 Fix DeprecationWarning about USE_L10N in Django 4.0 2022-10-17 19:27:51 +02:00
Valentin Samir
2c1236106d Fix DeprecationWarning about default_app_config in Django 3.2 2022-10-17 19:27:26 +02:00
Valentin Samir
1209c2cc68 Restaure django 1.11 support as Ubuntu bionic is still maintained 2022-10-17 18:38:47 +02:00
Valentin Samir
305b2e7532 Update pytest to remove dependancy to pytest-pythonpath 2022-10-17 18:15:55 +02:00
Valentin Samir
605cc6c248 Upgrade travis dist from xenial to focal in order to support python 3.10 2022-10-17 18:07:30 +02:00
Valentin Samir
9466796002 Update travis-ci: add new Django version and remove dropped versions 2022-10-16 21:07:48 +02:00
Valentin Samir
a82d348b20 Fix unicode sandwich issue in cas_server.utils.update_url. Fix #82 2022-10-16 20:55:21 +02:00
Valentin Samir
6212ba5f2a Add support for Django 4.0 and 4.2. Fix #81 2022-10-16 20:52:28 +02:00
Valentin Samir
e3e7c0852a Drop support for Django 1.11 and for python 2.7 2022-10-16 20:45:35 +02:00
Valentin Samir
3ee7e0ae98 Add a unit test with a non ascii char in service url as reported in #82 2022-10-16 19:42:31 +02:00
Valentin Samir
00ea051dcd
Merge pull request #77 from daimon99/master
Add locale of zh_Hans.
2022-10-16 18:35:13 +02:00
daimon
0ef811fdc7 Add locale of zh_Hans. 2021-08-01 23:04:41 +08:00
Valentin Samir
9cf10efc7d
Merge pull request #76 from nitmir/dev
Update to version 1.3.1

v1.3.1 - 2021-07-03
===================

Fixes
-----

* Documentation generation to works with latest Django and sphinx version
* Update classifier and dependencies versions in setup.py
2021-07-03 12:39:47 +02:00
Valentin Samir
c08617c47e Update to version 1.3.1 2021-07-03 12:22:31 +02:00
Valentin Samir
d2b3e00abb [setup.py] update classifier and requirements versions 2021-06-20 00:39:01 +02:00
Valentin Samir
892ff68c69 Fix some docstring reStructuredText syntax 2021-06-20 00:21:35 +02:00
Valentin Samir
75e00f02e7 [docs] Update djangodocs extension and conf.py to build against current Django and sphinx verions 2021-06-19 23:59:26 +02:00
Valentin Samir
d010e757a1
Merge pull request #74 from nitmir/dev
Update to version 1.3.0

v1.3.0 - 2021-06-19
===================

Added
-----

* Support for Dango 3.1 and 3.2
* Implement CAS_LDAP_ATTRS_VIEW set to 0: then using ldap bind mode, user
  attributes can be retreive either using CAS_LDAP_USER or using the
  binded user credentials.
* Added ppc64le architecture support on travis-ci (django-cas-server is
  included in the ppc64le versions of RHEL and Ubuntu)
* Python 3.9 support

Fixes
-----

* Allow to use user attributes if auth by ldap bind
* Fix spelling mistakes in french translation
* Fix bug model datefield Form (Federated User Admin)
* django.conf.urls is deprecated and will be removed in Django 4.0.
  Use django.urls.re_path instead

Removed
-------

* Drop support for Django 3.0 as it reached end of life.
2021-06-19 18:42:29 +02:00
Valentin Samir
8ca36f6b7a Update to version 1.3.0 2021-06-19 18:25:47 +02:00
Valentin Samir
fa7789d226 Add support for Django 3.2 2021-06-19 18:10:33 +02:00
Valentin Samir
5b8fc55f78 Remove python2 tests from travis
They are broken and python2 is not longer supported anyway
2021-06-19 17:53:08 +02:00
Valentin Samir
968f4a591f Rationalize testing and fix travis
Test for couple (python version, django version) found in Debian, Ubuntu
and RHEL and if not done, for every supported Django version with the last
version of python

Configure tox to use the locally available python3 then called without parameters
2021-06-19 17:21:48 +02:00
Valentin Samir
aeb794fe74 [urls] Fix typo and remove unused imports 2021-06-19 17:21:20 +02:00
Valentin Samir
198308031b [urls] Import re_path with a more pythonic fallback 2021-06-19 16:17:30 +02:00
Valentin Samir
956bec1178
Merge pull request #69 from ynerant/master
Add Django 3.1 and Python 3.9 support
2021-06-19 16:03:46 +02:00
Yohann D'ANELLO
ba9cfaf1dc
Update test environment, don't test anymore with Django 2.0 and Django 2.1
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-01-26 14:53:51 +01:00
Yohann D'ANELLO
2a07cca1f1
Support for Django 2.0 and 2.1 was dropped
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2020-12-22 23:42:58 +01:00
Yohann D'ANELLO
251cfb9b49
Construct a middleware without a get_response function is deprecated and will not work in a future release.
Signed-off-by: Yohann D'ANELLO <ynerant@¢rans.org>
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2020-12-22 23:07:33 +01:00
Yohann D'ANELLO
d62def6d6b
django.conf.urls is deprecated and will be removed in Django 4.0, use django.urls.re_path instead
Signed-off-by: Yohann D'ANELLO <ynerant@¢rans.org>
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2020-12-22 23:07:33 +01:00
Yohann D'ANELLO
10b389e7be
With Python 3.9, the crypt function raises an OSError
See https://bugs.python.org/issue39289

Signed-off-by: Yohann D'ANELLO <ynerant@¢rans.org>
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2020-12-22 23:07:33 +01:00
Yohann D'ANELLO
802fef95fa
Add Django 3.1 and Python 3.9 support
Signed-off-by: Yohann D'ANELLO <ynerant@¢rans.org>
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2020-12-22 23:07:32 +01:00
Valentin Samir
f2acf179ff
Merge pull request #66 from pahpa/hotfix
fix bug model datefield Form (Federated User Admin)
2020-12-06 15:43:40 +01:00
Valentin Samir
35d01797a5
Merge pull request #64 from agn-7/master
Update README.rst
2020-12-06 15:42:28 +01:00
Valentin Samir
00a9f42df9
Merge pull request #65 from kishorkunal-raj/master
Added ppc64le architecture support on travis-ci
2020-12-06 15:40:47 +01:00
Philippe Vivien
a7427ed795 fix bug model datefield Form (Federated User Admin) 2020-10-14 18:11:34 +02:00
kishorkunal-raj
40d55012b1 Added ppc64le architecture support on travis-ci 2020-09-24 11:12:41 +00:00
Benyamin Jafari
8cbd1fa789
Update README.rst
MIDDLEWARE_CLASSES is the old setting, MIDDLEWARE is the new setting
2020-09-19 14:35:06 +04:30
Valentin Samir
f0f4ec0bdc [auth] ldap backup, implement CAS_LDAP_ATTRS_VIEW set to 0 2020-09-03 15:41:31 +02:00
Valentin Samir
85426ded17 Fix spelling mistakes in french translation 2020-07-05 16:06:04 +02:00
Valentin Samir
498298c12d [auth] Allow to use user attributes if auth by ldap bind 2020-07-05 15:57:28 +02:00
Valentin Samir
f15d0fa448
Merge pull request #60 from nitmir/dev
Update to version 1.2.0

v1.2.0 - 2020-07-05
===================

Added
-----

* Bootstrap 4 templates
* Support for Django 2.2 and 3.0

Fixes
-----

* Replace calls to add_description_unit. As of Sphinx 2.4, the deprecated
  add_description_unit function has been removed.
* Fix CRYPT-DES hash method for LDAP
* Fix various spelling miskate in README.rst
* Service URL: keep blank GET arguments

Changed
-------

* Use python3 for flake8, check_rst and coverage
* Update README.rst quickstart for using python3 by default

Removed
-------

* Drop support for Django 2.0 and 2.1 as it reached end of life.
  We still keep Django 1.11 as it is the last supported release
  by python2 AND the currently packaged version of Django in
  Debian Buster (current stable).
2020-07-05 15:41:04 +02:00
Valentin Samir
c3e2fdecfe Update to version 1.2.0 2020-07-05 15:27:15 +02:00
Valentin Samir
85a022686b Update README for python3 by default 2020-07-05 15:17:56 +02:00
Valentin Samir
6a82f8654c Drop support for Django 2.0 and 2.1 (EOL) 2020-07-05 15:07:18 +02:00
Valentin Samir
78b18a5b64 Allow patch release of Django 3.0 in setup.py 2020-07-05 15:02:10 +02:00