Commit Graph

379 Commits

Author SHA1 Message Date
Valentin Deniaud df20bfc36c misc: add django-upgrade files/notes (#69798)
gitea/django-mellon/pipeline/head Build started... Details
2022-10-03 14:27:01 +02:00
Valentin Deniaud 865b285828 misc: apply django-upgrade (#69798) 2022-10-03 14:27:01 +02:00
Valentin Deniaud 9f406a321b misc: fix incorrect pre-commit info in readme 2022-09-29 18:28:50 +02:00
Valentin Deniaud e7a1aa5646 translation update 2022-09-29 14:57:26 +02:00
Valentin Deniaud 591344d21f templates: add blocktrans trimmed where useful (#69422) 2022-09-29 14:56:48 +02:00
Valentin Deniaud bd45e64b48 misc: add djhtml files/notes (#69422) 2022-09-29 12:21:08 +02:00
Valentin Deniaud d20066dc44 misc: apply djhtml (#69422) 2022-09-29 12:20:38 +02:00
Valentin Deniaud a7a3582c97 views: show debug login view on lasso exception (#68962) 2022-09-14 13:53:49 +02:00
Agate 98783c8574 django4: access request headers through request.headers instead of request.META (#68571) 2022-08-31 09:13:37 +02:00
Agate 7050da2320 django4: replaced urls.url with url.path equivalent (#68571) 2022-08-31 09:13:14 +02:00
Agate 1740cd7483 django4: replaced deprecated request.is_ajax() call (#68571) 2022-08-31 09:12:39 +02:00
Frédéric Péters 366758a54d misc: log when login is refused because of authn_classref mismatch (#68236) 2022-08-18 15:09:20 +02:00
Benjamin Dauvergne 437d1a3063 middleware: clear PASSIVE_TRIED_COOKIE when logged in (#67084) 2022-07-06 16:11:39 +02:00
Paul Marillonnet 1fa1541c02 views: use MELLON_OPENED_SESSION to anchor local session to the global session (#66747)
If the MELLON_OPENED_SESSION cookie change or disappear during an opened
session, the user is automatically logged out. If it changes after a
previous passive login try, passive login is allowed again.
2022-06-29 11:14:05 +02:00
Paul Marillonnet 025cda4293 tox: test with (bullseye-backports') django3.2 (#64309) 2022-04-20 15:01:59 +02:00
Paul Marillonnet 088dc5eeef setup: allow for (bullseye-backports') django3.2 version (#64309) 2022-04-20 15:01:59 +02:00
Paul Marillonnet e27bafd8cb handle long attribute truncate variations between django2 & 3 (#64309) 2022-04-20 15:01:59 +02:00
Paul Marillonnet dedd924f99 use force_str only when necessary (#64309) 2022-04-20 09:54:54 +02:00
Paul Marillonnet b4704b16c9 use django3.2-compatible re_path urls util (#64309) 2022-04-20 09:54:05 +02:00
Paul Marillonnet 509beeb6c4 discard deprecated ugettext* i18n utils (#64309) 2022-04-20 09:52:47 +02:00
Benjamin Dauvergne 7c9ca09de7 misc: remove six module usage (#63688) 2022-04-08 10:14:54 +02:00
Thomas NOËL 29c3d7aeb0 trivial: bump black version to 22.3.0 2022-03-31 12:17:43 +02:00
Frédéric Péters 8f49eb59b5 translation update 2022-03-25 09:02:58 +01:00
Frédéric Péters ff98a87158 translations: close quotes around username (#63178) 2022-03-25 09:02:43 +01:00
Frédéric Péters 6b3537d083 trivial: bump black version to 22.1.0 (#62312) 2022-03-01 19:30:33 +01:00
Frédéric Péters 12b92b1a9f debian: update django dependency to 2.2 2022-02-18 10:08:04 +01:00
Benjamin Dauvergne fc4f78c039 translation update 2022-02-04 13:25:52 +01:00
Benjamin Dauvergne 104d57f753 views: do not logout in sp_response_logout (#61431)
It's already done in the initialization view, if a new session
has been open since we must keep it open.
2022-02-04 13:02:12 +01:00
Benjamin Dauvergne 947c355baf views: keep next_url trough sp logout (#61431)
* first, create relaystate before build logout.msgUrl
* second, retrieve it in sp_logout_response
2022-02-04 13:00:55 +01:00
Frédéric Péters a2019a930c properly close meta refresh tag (#61020) 2022-01-24 16:57:02 +01:00
Emmanuel Cazenave 8ec0ea8ff6 jenkins: show execution context in coverage reports (#60446) 2022-01-11 16:03:08 +01:00
Frédéric Péters 8ed4373cca build: update setup.py to require at least django 2.2 2021-12-19 16:38:42 +01:00
Frédéric Péters 70586ce95d jenkins: build packages for buster & bullseye 2021-12-12 11:23:53 +01:00
Benjamin Dauvergne be1e50e826 views: log SAML response and assertion in debug view (#58915) 2021-11-23 19:21:23 +01:00
Valentin Deniaud 50cb52b160 views: render debug login template at the last moment (#58906) 2021-11-23 14:41:34 +01:00
Frédéric Péters b80bc26d73 build: bump black version 2021-11-22 22:07:54 +01:00
Frédéric Péters d5579dc095 debian: switch to debhelper-compat 12 (#57538) 2021-10-10 12:11:46 +02:00
Frédéric Péters 090a133d85 translation update 2021-10-05 22:11:08 +02:00
Benjamin Dauvergne 4941fd7281 show an error page when create_server fails (#57176) 2021-09-23 10:39:04 +02:00
Thomas NOËL 3f32879520 translation update 2021-09-17 13:10:54 +02:00
Benjamin Dauvergne 73bfa476ef drop and rename issuer field (#56819) 2021-09-15 16:55:59 +02:00
Benjamin Dauvergne a851b5b2ca migrate issuer data (#56819) 2021-09-15 16:55:59 +02:00
Benjamin Dauvergne ba312afc3e add Issuer model (#56819) 2021-09-14 22:57:42 +02:00
Benjamin Dauvergne 2d1510aae1 adapters: truncate username to the field's max_length (#56482) 2021-08-30 15:29:37 +02:00
Frédéric Péters f6576ff4d7 debian: add back debhelper to build-depends (erroneously removed) (#56134) 2021-08-15 17:24:49 +02:00
Frédéric Péters 3186839774 debian: stop building a python2 package (#56134) 2021-08-13 08:13:25 +02:00
Benjamin Dauvergne fbc3588f1b add MELLON_ASSERTION_CONSUMER_BINDINGS (#52063)
The default value is ['post', 'artifact'].
2021-08-05 15:57:39 +02:00
Benjamin Dauvergne 734a7bb51b Jenkinsfile: run pylint (#51640) 2021-08-05 12:15:20 +02:00
Benjamin Dauvergne 10016d04ca hide "apply isort and pyupgrade" commit (#55990) 2021-08-05 11:13:51 +02:00
Benjamin Dauvergne 4729ef9a3b apply isort and pyupgrade (#55990) 2021-08-05 11:13:19 +02:00