| 1 |
Change Log |
| 2 |
########## |
| 3 |
|
| 4 |
All notable changes to this project will be documented in this file. |
| 5 |
|
| 6 |
.. contents:: Table of Contents |
| 7 |
:depth: 2 |
| 8 |
|
| 9 |
v3.1.0 - 2025-05-18 |
| 10 |
=================== |
| 11 |
|
| 12 |
Fix |
| 13 |
--- |
| 14 |
|
| 15 |
* Django version requirement in setup.py |
| 16 |
* Add python 3.12 and 3.13 classifier to setup.py |
| 17 |
|
| 18 |
Changed |
| 19 |
------- |
| 20 |
|
| 21 |
* Update URL in doc and default settings (css and js CDN urls) |
| 22 |
|
| 23 |
|
| 24 |
v3.0.0 - 2025-04-21 |
| 25 |
=================== |
| 26 |
|
| 27 |
Added |
| 28 |
----- |
| 29 |
|
| 30 |
* Support for Django 5.2 |
| 31 |
* Support for Kerberos/GSSAPI authentication |
| 32 |
|
| 33 |
Changed |
| 34 |
------- |
| 35 |
|
| 36 |
* Allow more complex LDAP user queries |
| 37 |
* Prefer local inventory for intersphinx |
| 38 |
* Replace mock test module with the one from unittest |
| 39 |
|
| 40 |
Removed |
| 41 |
------- |
| 42 |
|
| 43 |
* Drop support for Django 4.0 and 4.1 as it reached end of life. |
| 44 |
* Removed six transitional dependency. This break for sure |
| 45 |
python 2.7 if it was still working |
| 46 |
* Remove pytest-runner as it's deprecated |
| 47 |
|
| 48 |
Deprecated |
| 49 |
---------- |
| 50 |
|
| 51 |
* Using %s in your CAS_LDAP_USER_QUERY is deprecated. |
| 52 |
Please upgrade your config to use %(username)s instead |
| 53 |
|
| 54 |
Fix |
| 55 |
--- |
| 56 |
|
| 57 |
* datetime.datetime.utcnow() is deprecated and scheduled for removal. |
| 58 |
Use timezone-aware objects to represent datetimes in UTC: |
| 59 |
datetime.datetime.now(datetime.timezone.UTC). |
| 60 |
* Skip tests using crypt module if module is not available |
| 61 |
|
| 62 |
|
| 63 |
v2.1.0 - 2024-08-18 |
| 64 |
=================== |
| 65 |
|
| 66 |
Added |
| 67 |
----- |
| 68 |
|
| 69 |
* Support for Django 4.2 |
| 70 |
* Allow forms to be overridden from settings |
| 71 |
|
| 72 |
Deprecated |
| 73 |
---------- |
| 74 |
|
| 75 |
* Make the crypt module optional and deprecate it's usage. |
| 76 |
The python stdlid crypt module is deprecated since version 3.11 and |
| 77 |
will be removed in version 3.13. Check for the availability of the |
| 78 |
crypt module. |
| 79 |
All password checks using the crypt module will stop to work on |
| 80 |
python 3.13. |
| 81 |
|
| 82 |
|
| 83 |
v2.0.0 - 2022-10-17 |
| 84 |
=================== |
| 85 |
|
| 86 |
Added |
| 87 |
----- |
| 88 |
* Support for Django 4.0 and 4.1 |
| 89 |
* Add locale for zh_Hans |
| 90 |
* Add a unit test with a non ascii char in service url |
| 91 |
* Add settings to allow deletings Django cookies upon logout |
| 92 |
|
| 93 |
Changed |
| 94 |
------- |
| 95 |
* Update CI: require pytest >= 7 and remove pytest-pythonpath dependancy |
| 96 |
|
| 97 |
Fixes |
| 98 |
----- |
| 99 |
* Fix unicode sandwich issue in cas_server.utils.update_url |
| 100 |
* Fix DeprecationWarning about default_app_config in Django 3.2 |
| 101 |
* Fix DeprecationWarning about USE_L10N in Django 4.0 |
| 102 |
|
| 103 |
Removed |
| 104 |
------- |
| 105 |
* Drop support for python 2.7 (now deprecated for more than 2 years, |
| 106 |
expect it to break now or in a near future) |
| 107 |
* Drop support for python 3.5 (but it should keep working for a while. |
| 108 |
pytest >= 7 do not support python 3.5 and Debian Stretch support ended) |
| 109 |
|
| 110 |
|
| 111 |
v1.3.1 - 2021-07-03 |
| 112 |
=================== |
| 113 |
|
| 114 |
Fixes |
| 115 |
----- |
| 116 |
|
| 117 |
* Documentation generation to works with latest Django and sphinx version |
| 118 |
* Update classifier and dependencies versions in setup.py |
| 119 |
|
| 120 |
v1.3.0 - 2021-06-19 |
| 121 |
=================== |
| 122 |
|
| 123 |
Added |
| 124 |
----- |
| 125 |
|
| 126 |
* Support for Dango 3.1 and 3.2 |
| 127 |
* Implement CAS_LDAP_ATTRS_VIEW set to 0: then using ldap bind mode, user |
| 128 |
attributes can be retreive either using CAS_LDAP_USER or using the |
| 129 |
binded user credentials. |
| 130 |
* Added ppc64le architecture support on travis-ci (django-cas-server is |
| 131 |
included in the ppc64le versions of RHEL and Ubuntu) |
| 132 |
* Python 3.9 support |
| 133 |
|
| 134 |
Fixes |
| 135 |
----- |
| 136 |
|
| 137 |
* Allow to use user attributes if auth by ldap bind |
| 138 |
* Fix spelling mistakes in french translation |
| 139 |
* Fix bug model datefield Form (Federated User Admin) |
| 140 |
* django.conf.urls is deprecated and will be removed in Django 4.0. |
| 141 |
Use django.urls.re_path instead |
| 142 |
|
| 143 |
Removed |
| 144 |
------- |
| 145 |
|
| 146 |
* Drop support for Django 3.0 as it reached end of life. |
| 147 |
|
| 148 |
v1.2.0 - 2020-07-05 |
| 149 |
=================== |
| 150 |
|
| 151 |
Added |
| 152 |
----- |
| 153 |
|
| 154 |
* Bootstrap 4 templates |
| 155 |
* Support for Django 2.2 and 3.0 |
| 156 |
|
| 157 |
Fixes |
| 158 |
----- |
| 159 |
|
| 160 |
* Replace calls to add_description_unit. As of Sphinx 2.4, the deprecated |
| 161 |
add_description_unit function has been removed. |
| 162 |
* Fix CRYPT-DES hash method for LDAP |
| 163 |
* Fix various spelling miskate in README.rst |
| 164 |
* Service URL: keep blank GET arguments |
| 165 |
|
| 166 |
Changed |
| 167 |
------- |
| 168 |
|
| 169 |
* Use python3 for flake8, check_rst and coverage |
| 170 |
* Update README.rst quickstart for using python3 by default |
| 171 |
|
| 172 |
Removed |
| 173 |
------- |
| 174 |
|
| 175 |
* Drop support for Django 2.0 and 2.1 as it reached end of life. |
| 176 |
We still keep Django 1.11 as it is the last supported release |
| 177 |
by python2 AND the currently packaged version of Django in |
| 178 |
Debian Buster (current stable). |
| 179 |
|
| 180 |
v1.1.0 - 2019-03-02 |
| 181 |
=================== |
| 182 |
|
| 183 |
Added |
| 184 |
----- |
| 185 |
|
| 186 |
* Support for Django 2.1 |
| 187 |
|
| 188 |
Fixes |
| 189 |
----- |
| 190 |
|
| 191 |
* Checkbox position on the login page |
| 192 |
* Set ldap3 client_strategy from sync to sync-restartable |
| 193 |
* Deprecation warning for {% load staticfiles %} and django.contrib.staticfiles |
| 194 |
|
| 195 |
v1.0.0 - 2019-01-12 |
| 196 |
=================== |
| 197 |
|
| 198 |
Added |
| 199 |
----- |
| 200 |
|
| 201 |
* Support for python 3.6 and Django 1.11 |
| 202 |
* Support for Django 2.0 |
| 203 |
* Keep query string then redirecting from / to /login |
| 204 |
|
| 205 |
Fixes |
| 206 |
----- |
| 207 |
|
| 208 |
* Add missing attributes authenticationDate, longTermAuthenticationRequestTokenUsed and |
| 209 |
isFromNewLogin from service validation response |
| 210 |
* Catch error from calling django.contrib.staticfiles.templatetags.staticfiles.static |
| 211 |
in non-debug mode before collectstatic in cas_server.default_settings.py |
| 212 |
* Invalid escape sequence in regular expression |
| 213 |
|
| 214 |
Deprecated |
| 215 |
---------- |
| 216 |
|
| 217 |
* Support for Django <1.11 is dropped, it should still works for this version. |
| 218 |
Next versions will most probably be not compatible with Django <1.11 |
| 219 |
* Support for python 3.4 is dropped, it should still works for this version. |
| 220 |
Next versions may or may not works with python 3.4. |
| 221 |
|
| 222 |
Other |
| 223 |
----- |
| 224 |
|
| 225 |
* Migrations have been squashed for Django 2.0 support. Be sur to apply all migration before |
| 226 |
updating to this version |
| 227 |
* Update PyPi url from https://pypi.python.org to https://pypi.org |
| 228 |
|
| 229 |
v0.9.0 - 2017-11-17 |
| 230 |
=================== |
| 231 |
|
| 232 |
Added |
| 233 |
----- |
| 234 |
* Dutch translation |
| 235 |
* Protuguese translation (brazilian variant) |
| 236 |
* Support for ldap3 version 2 or more (changes in the API) |
| 237 |
All exception are now in ldap3.core.exceptions, methodes for fetching attritutes and |
| 238 |
dn are renamed. |
| 239 |
* Possibility to disable service message boxes on the login pages |
| 240 |
|
| 241 |
Fixed |
| 242 |
----- |
| 243 |
* Then using the LDAP auth backend with ``bind`` method for password check, do not try to bind |
| 244 |
if the user dn was not found. This was causing the exception |
| 245 |
``'NoneType' object has no attribute 'getitem'`` describe in #21 |
| 246 |
* Increase the max size of usernames (30 chars to 250) |
| 247 |
* Fix XSS js injection |
| 248 |
|
| 249 |
|
| 250 |
v0.8.0 - 2017-03-08 |
| 251 |
=================== |
| 252 |
|
| 253 |
Added |
| 254 |
----- |
| 255 |
* Add a test for login with missing parameter (username or password or both) |
| 256 |
* Add ldap auth using bind method (use the user credentials to bind the the ldap server and let the |
| 257 |
server check the credentials) |
| 258 |
* Add CAS_TGT_VALIDITY parameter: Max time after with the user MUST reauthenticate. |
| 259 |
|
| 260 |
Fixed |
| 261 |
----- |
| 262 |
* Allow both unicode and bytes dotted string in utils.import_attr |
| 263 |
* Fix some spelling and grammar on log messages. (thanks to Allie Micka) |
| 264 |
* Fix froms css class error on success/error due to a scpaless block |
| 265 |
* Disable pip cache then installing with make install |
| 266 |
|
| 267 |
Changed |
| 268 |
------- |
| 269 |
* Update french translation |
| 270 |
|
| 271 |
|
| 272 |
v0.7.4 - 2016-09-07 |
| 273 |
=================== |
| 274 |
|
| 275 |
Fixed |
| 276 |
----- |
| 277 |
* Add templatetags to Pypi package |
| 278 |
|
| 279 |
|
| 280 |
v0.7.3 - 2016-09-07 |
| 281 |
=================== |
| 282 |
|
| 283 |
Added |
| 284 |
----- |
| 285 |
* Add autofocus to the username input on the login page |
| 286 |
|
| 287 |
Fixed |
| 288 |
----- |
| 289 |
* Really pick the last version on Pypi for new version checking. |
| 290 |
We were only sorting version string lexicographically and it would have break when |
| 291 |
we reach version 0.10.N or 0.N.10 |
| 292 |
* Only check for valid username/password if username and password POST fields are posted. |
| 293 |
This fix a bug where posting without it raise a exception are None where passed for |
| 294 |
username/password verification. |
| 295 |
|
| 296 |
|
| 297 |
v0.7.2 - 2016-08-31 |
| 298 |
=================== |
| 299 |
|
| 300 |
Added |
| 301 |
----- |
| 302 |
* Add Django 1.10 support |
| 303 |
* Add support of gitlab continuous integration |
| 304 |
|
| 305 |
Fixed |
| 306 |
----- |
| 307 |
* Fix BootsrapForm: placeholder on Input and Textarea only, use class form-control on |
| 308 |
Input, Select and Textarea. |
| 309 |
* Fix lang attribute in django 1.7. On html pages, the lang attribute of the <html> was not |
| 310 |
present in django 1.7. We use now a methode to display it that is also available in django 1.7 |
| 311 |
|
| 312 |
|
| 313 |
v0.7.1 - 2016-08-24 |
| 314 |
=================== |
| 315 |
|
| 316 |
Added |
| 317 |
----- |
| 318 |
* Add a forgotten migration (only change help_text and validators) |
| 319 |
|
| 320 |
|
| 321 |
v0.7.0 - 2016-08-24 |
| 322 |
=================== |
| 323 |
|
| 324 |
Added |
| 325 |
----- |
| 326 |
* Add a CHANGELOG.rst file. |
| 327 |
* Add a validator to models CharField that should be regular expressions checking that user input |
| 328 |
are valids regular expressions. |
| 329 |
* Add a CAS_INFO_MESSAGES and CAS_INFO_MESSAGES_ORDER settings allowing to display messages in |
| 330 |
info-boxes on the html pages of the default templates. |
| 331 |
|
| 332 |
Changed |
| 333 |
------- |
| 334 |
* Allow the user defined CAS_COMPONENT_URLS to omit not changed values. |
| 335 |
* replace code-block without language indication by literal blocks. |
| 336 |
* Update french translation |
| 337 |
|
| 338 |
Fixed |
| 339 |
----- |
| 340 |
* Some README.rst typos. |
| 341 |
* some english typos |
| 342 |
|
| 343 |
|
| 344 |
v0.6.4 - 2016-08-14 |
| 345 |
=================== |
| 346 |
|
| 347 |
commit: 282e3a831b3c0b0818881c2f16d056850d572b89 |
| 348 |
|
| 349 |
Added |
| 350 |
----- |
| 351 |
* Add a forgotten migration (only change help_text) |
| 352 |
|
| 353 |
|
| 354 |
v0.6.3 - 2016-08-14 |
| 355 |
=================== |
| 356 |
|
| 357 |
commit: 07a537b403c5c5e39a4ddd084f90e3a4de88a54e |
| 358 |
|
| 359 |
Added |
| 360 |
----- |
| 361 |
* Add powered by footer |
| 362 |
* Add a github version badge |
| 363 |
* documents templatetags |
| 364 |
|
| 365 |
Changed |
| 366 |
------- |
| 367 |
* Usage of the documented API for models _meta in auth.DjangoAuthUser |
| 368 |
* set warn cookie using javascript if possible |
| 369 |
* Unfold many to many attributes in auth.DjangoAuthUser attributes |
| 370 |
|
| 371 |
Fixed |
| 372 |
----- |
| 373 |
* typos in README.rst |
| 374 |
* w3c validation |
| 375 |
|
| 376 |
Cleaned |
| 377 |
------- |
| 378 |
* Code factorisation (models.py, views.py) |
| 379 |
|
| 380 |
|
| 381 |
v0.6.2 - 2016-08-02 |
| 382 |
=================== |
| 383 |
|
| 384 |
commit: 773707e6c3c3fa20f697c946e31cafc591e8fee8 |
| 385 |
|
| 386 |
Added |
| 387 |
----- |
| 388 |
* Support authentication renewal in federate mode |
| 389 |
* Add new version email and info box then new version is available |
| 390 |
* Add SqlAuthUser and LdapAuthUser auth classes. |
| 391 |
Deprecate the usage of MysqlAuthUser in favor of SqlAuthUser. |
| 392 |
* Add pytest-warning to tests |
| 393 |
* Add a checkbox to forget the identity provider if we checked "remember the identity provider" |
| 394 |
* Add dependancies correspondance between python pypi, debian and centos packages in README |
| 395 |
|
| 396 |
Changed |
| 397 |
------- |
| 398 |
* Move coverage computation last in travis |
| 399 |
* Enable logging to stderr then running tests |
| 400 |
* Remember "warn me beforeā¦" using a cookie |
| 401 |
* Put favicon (shortcut icon) URL in settings |
| 402 |
|
| 403 |
Deprecated |
| 404 |
---------- |
| 405 |
* The auth class MysqlAuthUser is deprecated in favor of the SqlAuthUser class. |
| 406 |
|
| 407 |
Fixed |
| 408 |
----- |
| 409 |
* Use custom templatetags instead settings custom attributes to Boundfields |
| 410 |
(As it do not work with django 1.7) |
| 411 |
* Display an error message on bad response from identity provider in federate mode |
| 412 |
instead of crashing. (e.g. Bad XML document) |
| 413 |
* Catch base64 decode error on b64decode to raise our custom exception BadHash |
| 414 |
* Add secret as sensitive variables/post parameter for /auth |
| 415 |
* Only set "remember my provider" in federated mode upon successful authentication |
| 416 |
* Since we drop django-boostrap3 dependancies, Django default minimal version is 1.7.1 |
| 417 |
* [cas.py] Append renew=true when validating tickets |
| 418 |
|
| 419 |
Cleaned |
| 420 |
------- |
| 421 |
* code factorization (cas.py, forms.py) |
| 422 |
|
| 423 |
|
| 424 |
v0.6.1 - 2016-07-27 |
| 425 |
=================== |
| 426 |
|
| 427 |
commit: b168e0a6423c53de31aae6c444fa1d1c5083afa6 |
| 428 |
|
| 429 |
Added |
| 430 |
----- |
| 431 |
* Add sphinx docs + autodoc |
| 432 |
* Add the possibility to run tests with "setup.py test" |
| 433 |
* Include docs, Makefile, coverage config and tests config to source package |
| 434 |
* Add serviceValidate ProxyTicket tests |
| 435 |
* Add python 3.5 tox/travis tests |
| 436 |
|
| 437 |
Changed |
| 438 |
------- |
| 439 |
* Use https://badges.genua.fr for badges |
| 440 |
|
| 441 |
Fixed |
| 442 |
----- |
| 443 |
* Keep LoginTicket list upon fail authentication |
| 444 |
(It prevent the next login attemps to fail because of bad LT) |
| 445 |
|
| 446 |
Cleaned |
| 447 |
------- |
| 448 |
* Compact federated mode migration |
| 449 |
* Reformat default_settings.py for documentation using sphinx autodoc |
| 450 |
* Factorize some code (from views.py to Ticket models class methods) |
| 451 |
* Update urlpattern for django 1.10 |
| 452 |
* Drop dependancies django-picklefield and django-bootstrap3 |
| 453 |
|
| 454 |
|
| 455 |
v0.6.0 - 2016-07-06 |
| 456 |
=================== |
| 457 |
|
| 458 |
commit: 4ad4d13baa4236c5cd72cc5216d7ff08dd361476 |
| 459 |
|
| 460 |
Added |
| 461 |
----- |
| 462 |
* Add a section describing service patterns options to README.rst |
| 463 |
* Add a federation mode: |
| 464 |
When the settings CAS_FEDERATE is True, django-cas-server will offer to the user to choose its |
| 465 |
CAS backend to authenticate. Hence the login page do not display anymore a username/password form |
| 466 |
but a select form with configured CASs backend. |
| 467 |
This allow to give access to CAS supported applications to users from multiple organization |
| 468 |
seamlessly. |
| 469 |
|
| 470 |
It was originally developped to mach the need of https://ares.fr (Federated CAS at |
| 471 |
https://cas.ares.fr, example of an application using it as https://chat.myares.fr) |
| 472 |
|
| 473 |
Fixed |
| 474 |
----- |
| 475 |
* Then a ticket was marked as obtained with the user entering its credentials (aka not by SSO), and |
| 476 |
the service did not require it, ticket validation was failing. Now, if the service do not require |
| 477 |
authentication to be renewed, both ticket with renewed authentication and non renewed |
| 478 |
authentication validate successfully. |
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
v0.5.0 - 2016-07-01 |
| 483 |
=================== |
| 484 |
|
| 485 |
commit: e3ab64271b718a17e4cbbbabda0a2453107a83df |
| 486 |
|
| 487 |
Added |
| 488 |
----- |
| 489 |
* Add more password scheme support to the mysql authentication backend: ldap user |
| 490 |
attribute scheme encoding and simple password hash in hexa for md5, sha1, sha224, |
| 491 |
sha256, sha384, sha512. |
| 492 |
* Add a main heading to template "Central Authentication Service" with a logo controled |
| 493 |
by CAS_LOGO_URL |
| 494 |
* Add logos to the project (svg, png) |
| 495 |
* Add coverage computation |
| 496 |
* link project to codacy |
| 497 |
* Update doc: add debian requirement, correct typos, correct links |
| 498 |
|
| 499 |
Changed |
| 500 |
------- |
| 501 |
* Use settings to set tests username password and attributes |
| 502 |
* Tweak the css and html for small screens |
| 503 |
* Update travis cache for faster build |
| 504 |
* clean Makefile, use pip to install, add target for tests |
| 505 |
|
| 506 |
Fixed |
| 507 |
----- |
| 508 |
* Fix "warn me": we generate the ticket after the user agree to be connected to the service. |
| 509 |
we were generating first and the connect button was a link to the service url with the ?ticket= |
| 510 |
this could lead to situation where the ticket validity expire if the user is slow to click the |
| 511 |
connect button. |
| 512 |
* Fix authentication renewal: the renew parameter were not transmited when POST the login request |
| 513 |
and self.renew (aks for auth renewal) was use instead of self.renewed (auth was renewd) |
| 514 |
when generating a ticket. |
| 515 |
* Fix attribute value replacement when generating a ticket: we were using the 'name' attribute |
| 516 |
instead of the 'attribut' attribut on ReplaceAttributValue |
| 517 |
* Fix attribute value replacement when generating a ticket then the value is a list: iterate over |
| 518 |
each element of the list. |
| 519 |
* Fix a NameError in utils.import_attr |
| 520 |
* Fix serviceValidate and samlValidate when user_field is an attribute that is a list: we use |
| 521 |
the first element of the list as username. we were serializing the list before that. |
| 522 |
* Correct typos |
| 523 |
|
| 524 |
|
| 525 |
Cleaned |
| 526 |
------- |
| 527 |
* Clean some useless conditional branches found with coverage |
| 528 |
* Clean cas.js: use compact object declararion |
| 529 |
* Use six for python{2|3} compatibility |
| 530 |
* Move all unit tests to cas_server.tests and use django primitive. We also have a 100% tests |
| 531 |
coverage now. Using the django classes for tests, we do not need to use our own dirty mock. |
| 532 |
* Move mysql backend password check to a function in utils |
| 533 |
|
| 534 |
|
| 535 |
v0.4.4 - 2016-04-30 |
| 536 |
=================== |
| 537 |
|
| 538 |
commit: 77d1607b0beefe8b171adcd8e2dcd974e3cdc72a |
| 539 |
|
| 540 |
Added |
| 541 |
----- |
| 542 |
* Add sensitive_post_parameters and sensitive_variables for passwords, so passwords are anonymised |
| 543 |
before django send an error report. |
| 544 |
|
| 545 |
Fixed |
| 546 |
----- |
| 547 |
* Before commit 77fc5b5 the User model had a foreign key to the Session model. After the commit, |
| 548 |
Only the session_key is store, allowing to use different backend than the Session SQL backend. |
| 549 |
So the first migration (which is 21 migrations combined) was creating the User model with the |
| 550 |
foreign key, then delete it and add the field session_key. Somehow, MySQL did not like it. |
| 551 |
Now the first migration directly create the User model with the session_key and without the |
| 552 |
foreign key to the Session SQL backend. |
| 553 |
* Evaluate attributes variables in the template samlValidate.xml. the {{ }} was missing causing |
| 554 |
the variable name to be displyed instead of the variable content. |
| 555 |
* Return username in CAS 1.0 on the second ligne of the CAS response as specified. |
| 556 |
|
| 557 |
|
| 558 |
Changed |
| 559 |
------- |
| 560 |
* Update tests |
| 561 |
|
| 562 |
|
| 563 |
v0.4.3 - 2016-03-18 |
| 564 |
=================== |
| 565 |
|
| 566 |
commit: f6d436acb49f8d32b5457c316c18c4892accfd3b |
| 567 |
|
| 568 |
Fixed |
| 569 |
----- |
| 570 |
* Currently, one of our dependancy, django-boostrap3, do not support django 1.7 in its last version. |
| 571 |
So there is some detection of the current django installed version in setup.py to pin |
| 572 |
django-boostrap3 to a version supported by django 1.7 if django 1.7 is installed, or to require |
| 573 |
at least django 1.8. |
| 574 |
The detection did not handle the case where django was not installed. |
| 575 |
* [PEP8] Put line breaks after binary operator and not before. |
| 576 |
|
| 577 |
|
| 578 |
v0.4.2 - 2016-03-18 |
| 579 |
=================== |
| 580 |
|
| 581 |
commit: d1cd17d6103281b03a8c57013671057eab80d21c |
| 582 |
|
| 583 |
Added |
| 584 |
----- |
| 585 |
* On logout, display the number of sessions we are logged out from. |
| 586 |
|
| 587 |
Fixed |
| 588 |
----- |
| 589 |
* One of our dependancy, django-boostrap3, do not support django 1.7 in its last version. |
| 590 |
Some django version detection is added to setup.py to handle that. |
| 591 |
* Some typos |
| 592 |
* Make errors returned by utils.import_attr clearer (as they are likely to be displayed to the |
| 593 |
django admin) |
| 594 |
|
| 595 |
|
| 596 |
v0.4.1 - 2015-12-23 |
| 597 |
=================== |
| 598 |
|
| 599 |
commit: 5e63f39f9b7c678a300ad2f8132166be34d1d35b |
| 600 |
|
| 601 |
Added |
| 602 |
----- |
| 603 |
* Add a run_test_server target to make file. Running make run_test_server will build a virtualenv, |
| 604 |
create a django projet with django-cas-server and lauch ./management.py runserver. It is quite |
| 605 |
handy to test developement version. |
| 606 |
* Add verbose name for cas_server app and models |
| 607 |
* Add Makefile clean targets for tox tests and test virtualenv. |
| 608 |
* Add link on license badge to the GPLv3 |
| 609 |
|
| 610 |
Changed |
| 611 |
------- |
| 612 |
* Make Makefile clean targets modular |
| 613 |
* Use img.shields.io for PyPi badges |
| 614 |
* Get django-cas-server version in Makefile directly from setup.py (so now, the version is only |
| 615 |
written in one place) |
| 616 |
|
| 617 |
Fixed |
| 618 |
----- |
| 619 |
* Fix MysqlAuthUser when number of results != 1: In that case, call super anyway this the provided |
| 620 |
username. |
| 621 |
|
| 622 |
|
| 623 |
v0.4.0 - 2015-12-15 |
| 624 |
=================== |
| 625 |
|
| 626 |
commit: 7b4fac575449e50c2caff07f5798dba7f4e4857c |
| 627 |
|
| 628 |
Added |
| 629 |
----- |
| 630 |
* Add a help_text to pattern of ServicePattern |
| 631 |
* Add a timeout to SLO requests |
| 632 |
* Add logging capabilities (see README.rst for instruction) |
| 633 |
* Add management commands that should be called on a regular basis to README.rst |
| 634 |
|
| 635 |
|
| 636 |
v0.3.5 - 2015-12-12 |
| 637 |
=================== |
| 638 |
|
| 639 |
commit: 51fa0861f550723171e52d58025fa789dccb8cde |
| 640 |
|
| 641 |
Added |
| 642 |
----- |
| 643 |
* Add badges to README.rst |
| 644 |
* Document settings parameter in README.rst |
| 645 |
* Add a "Features" section in README.rst |
| 646 |
|
| 647 |
Changed |
| 648 |
------- |
| 649 |
* Add a AuthUser auth class and use it as auth classes base class instead of DummyAuthUser |
| 650 |
|
| 651 |
Fixed |
| 652 |
----- |
| 653 |
* Fix minor errors and typos in README.rst |
| 654 |
|
| 655 |
|
| 656 |
|
| 657 |
v0.3.4 - 2015-12-12 |
| 658 |
=================== |
| 659 |
|
| 660 |
commit: 9fbfe19c550b147e8d0377108cdac8231cf0fb27 |
| 661 |
|
| 662 |
Added |
| 663 |
----- |
| 664 |
* Add static files, templates and locales to the PyPi release by adding them to MANIFEST.in |
| 665 |
* Add a Makefile with the build/install/clean/dist targets |
| 666 |
|
| 667 |
|
| 668 |
v0.3.3 - 2015-12-12 |
| 669 |
=================== |
| 670 |
|
| 671 |
commit: 16b700d0127abe33a1eabf5d5fe890aeb5167e5a |
| 672 |
|
| 673 |
Added |
| 674 |
----- |
| 675 |
* Add management commands and migrations to the package by adding there packages to setup.py |
| 676 |
packages list. |
| 677 |
|
| 678 |
|
| 679 |
v0.3.2 - 2015-12-12 [YANKED] |
| 680 |
============================ |
| 681 |
|
| 682 |
commit: eef9490885bf665a53349573ddb9cbe844319b3e |
| 683 |
|
| 684 |
Added |
| 685 |
----- |
| 686 |
* Add migrations to setup.py package_data |
| 687 |
|
| 688 |
|
| 689 |
v0.3.1 - 2015-12-12 |
| 690 |
=================== |
| 691 |
|
| 692 |
commit: d0f6ed9ea3a4b3e2bf715fd218c460892c32e39f |
| 693 |
|
| 694 |
Added |
| 695 |
----- |
| 696 |
* Add a forgotten migration (remove auto_now_add=True from the User model) |
| 697 |
|
| 698 |
|
| 699 |
v0.3.0 - 2015-12-12 |
| 700 |
=================== |
| 701 |
|
| 702 |
commit: b69769d71a99806a69e300eca0d7c6744a2b327e |
| 703 |
|
| 704 |
Added |
| 705 |
----- |
| 706 |
* Django 1.9 compatibility (add tox and travis tests and fix some decrecated) |
| 707 |
|
| 708 |
|
| 709 |
v0.2.1 - 2015-12-12 |
| 710 |
=================== |
| 711 |
|
| 712 |
commit: 90e077dedb991d651822e9bb283470de8bddd7dd |
| 713 |
|
| 714 |
First github and PyPi release |
| 715 |
|
| 716 |
Fixed |
| 717 |
----- |
| 718 |
* Prune .tox in MANIFEST.in |
| 719 |
* add dist/ to .gitignore |
| 720 |
* typo in setup.cfg |
| 721 |
|
| 722 |
|
| 723 |
v0.2.0 - 2015-12-12 [YANKED] |
| 724 |
============================ |
| 725 |
|
| 726 |
commit: a071ad46d7cd76fc97eb86f2f538d330457c6767 |
| 727 |
|
| 728 |
|
| 729 |
v0.1.0 - 2015-05-22 [YANKED] |
| 730 |
============================ |
| 731 |
|
| 732 |
commit: 6981433bdf8a406992ba0c5e844a47d06ccc08fb |