Commit graph

473 commits

Author SHA1 Message Date
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
Valentin Samir
87672dda05 Allow patch release of Django 3.0 in requirements.txt 2020-07-05 14:52:55 +02:00
Théophile Bastian
b7c7c0f0ba Service URL: keep blank GET arguments
When a service URL contains GET arguments with no associated value, eg
  http://example.com/?foo=a&bar
only the arguments with value are kept, yielding
  http://example.com/?foo=a&ticket=<TICKET>
losing `bar` in the process
2020-07-05 14:52:01 +02:00
Yohann D'ANELLO
9cd44aa8aa Code quality 2020-07-05 14:52:01 +02:00
Yohann D'ANELLO
4129687e41 Support Django 2.2 and 3.0 2020-07-05 14:52:01 +02:00
Ken Whitesell
5f30d614e5 General editing of README.rst 2020-07-05 14:52:01 +02:00
Théophile Bastian
f4b4428b94 Fix CRYPT-DES hash method for LDAP
The LDAP-formatted passwords using
[Crypt encoding](https://en.wikipedia.org/wiki/Crypt_(C))
can be hashed in many ways, inlcuding the old and deprecated DES and
BSDi methods.

The usual formatting for Crypt method consists in
  $method$salt$pass_hash
but those two deprecated methods are not encoded this way, and
`get_salt` would fail on those, yielding Error 500.
2020-07-05 14:52:01 +02:00
erdnaxe
aa88bf7a67 Bootstrap 4 templates (#47) 2020-07-05 14:52:01 +02:00
Valentin Samir
781e516769 Update .travis.yml to use python3 for flake8, check_rst and coverage 2020-07-05 14:52:01 +02:00
Valentin Samir
4aba254975 Update tox.ini to use python3 for flake8, check_rst and coverage 2020-07-05 14:52:01 +02:00
William Blough
6ee703847f [docs] Replace calls to add_description_unit
As of Sphinx 2.4, the deprecated add_description_unit function has been
removed. As a result, the docs no longer build when using Sphinx 2.4.
Replacing add_description_unit with add_object_type corrects this.
2020-07-05 14:44:05 +02:00
Valentin Samir
d106181b94
Merge pull request #44 from nitmir/dev
Update to version 1.0.0

v1.1.0 - 2019-03-02
===================

Added
-----

* Support for Django 2.1

Fixes
-----

* Checkbox position on the login page
* Set ldap3 client_strategy from sync to sync-restartable
* Deprecation warning for {% load staticfiles %} and django.contrib.staticfiles
2019-03-02 11:45:41 +01:00
Valentin Samir
bd9aedd1b4 Update to version 1.1.0 2019-03-02 11:37:11 +01:00
Valentin Samir
378f70fac9 Fix deprecation warning for {% load staticfiles %} and django.contrib.staticfiles 2019-03-02 11:31:18 +01:00
Valentin Samir
4025fcbf11 Add support for Django 2.1 2019-03-02 11:23:30 +01:00
Valentin Samir
9ee95f0bec Fix checkbox position on the login page 2019-03-02 11:23:16 +01:00
Valentin Samir
1bdfd2d0db Edit changelog for pull request bf44b4f305 2019-03-02 11:22:43 +01:00
Valentin Samir
bf44b4f305
Merge pull request #43 from AIJIJI/master
set ldap3 client_strategy from sync to sync-restartable. fix #42
2019-01-26 13:59:36 +01:00
钟雪松
f4ece7f1f2 set ldap3 client_strategy from sync to sync-restartable; in order to avoid error 32 broken pipe caused by time out 2019-01-25 15:28:07 +08:00
Valentin Samir
7e0bf93505
Merge pull request #41 from nitmir/dev
Update version to 1.0.0
2019-01-12 12:09:11 +01:00
Valentin Samir
edf4871b4a
Update to version 1.0.0 2019-01-12 12:01:48 +01:00
Valentin Samir
a6cf8aaa20
Fix invalid escape sequence \. in regular expression \\. 2019-01-12 12:01:12 +01:00
Valentin Samir
248658b52d Fix squashed migrations, the app name should be 'cas_server' and not b'cas_server' 2018-05-21 13:25:36 +02:00
Valentin Samir
5bd06d47c5 Keep query string then redirecting from / to /login 2018-05-21 13:10:33 +02:00
Valentin Samir
797b6c6e61 Updates dependancies to Django>=1.11 2018-04-30 22:31:10 +02:00
Valentin Samir
dc5f59ea46 Update PyPi url from https://pypi.python.org to https://pypi.org 2018-04-30 18:31:54 +02:00
Valentin Samir
ca41c067b9 Wrap some long lines 2018-04-29 20:13:51 +02:00
Valentin Samir
290701e07f Changes for Django 2.0 support 2018-04-29 20:10:19 +02:00
Valentin Samir
fcafc77b98 Update .travis.yml and setup.py to drop Django <1.11 and python 3.4 support 2018-04-29 19:21:54 +02:00
Valentin Samir
b207cee8ee Update changelog 2018-04-29 19:16:24 +02:00