Skip to content

Commit 8d7f179

Browse files
authored
Update OAF version (#280)
1 parent d883724 commit 8d7f179

File tree

6 files changed

+33
-3
lines changed

6 files changed

+33
-3
lines changed

CHANGELOG.rst

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
Change history
33
==============
44

5+
2.x.x
6+
=====
7+
*TBD*
8+
9+
**New features**
10+
11+
* Updated OAF version to 0.9.0. This upgrade allows admin users managing their sessions through the admin.
12+
13+
**Bugfixes/QoL**:
14+
15+
* [#258] Use correct API root in redoc OAS
16+
517
2.3.0
618
=====
719
*October 4, 2024*

docs/installation/config.rst

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Optional
8080
* ``LOG_LEVEL``: control the verbosity of logging output. Available values are ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` and ``DEBUG``. Defaults to: ``WARNING``.
8181
* ``LOG_QUERIES``: enable (query) logging at the database backend level. Note that you must also set ``DEBUG=1``, which should be done very sparingly!. Defaults to: ``False``.
8282
* ``LOG_REQUESTS``: enable logging of the outgoing requests. Defaults to: ``False``.
83+
* ``SESSION_COOKIE_AGE``: For how long, in seconds, the session cookie will be valid. Defaults to: ``1209600``.
8384
* ``SESSION_COOKIE_SAMESITE``: The value of the SameSite flag on the session cookie. This flag prevents the cookie from being sent in cross-site requests thus preventing CSRF attacks and making some methods of stealing session cookie impossible.Currently interferes with OIDC. Keep the value set at Lax if used. Defaults to: ``Lax``.
8485
* ``CSRF_COOKIE_SAMESITE``: The value of the SameSite flag on the CSRF cookie. This flag prevents the cookie from being sent in cross-site requests. Defaults to: ``Strict``.
8586
* ``ENVIRONMENT``: An identifier for the environment, displayed in the admin depending on the settings module used and included in the error monitoring (see ``SENTRY_DSN``). The default is set according to ``DJANGO_SETTINGS_MODULE``.

requirements/base.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ django==4.2.15
8989
# django-relativedelta
9090
# django-rest-framework-condition
9191
# django-sendfile2
92+
# django-sessionprofile
9293
# django-setup-configuration
9394
# django-simple-certmanager
9495
# django-solo
@@ -145,6 +146,8 @@ django-rest-framework-condition==0.1.1
145146
# via commonground-api-common
146147
django-sendfile2==0.7.1
147148
# via django-privates
149+
django-sessionprofile==3.0.0
150+
# via open-api-framework
148151
django-setup-configuration==0.3.0
149152
# via open-api-framework
150153
django-simple-certmanager==2.3.0
@@ -234,7 +237,7 @@ mozilla-django-oidc-db==0.19.0
234237
# via open-api-framework
235238
notifications-api-common==0.2.2
236239
# via commonground-api-common
237-
open-api-framework==0.8.1
240+
open-api-framework==0.9.0
238241
# via -r requirements/base.in
239242
orderedmultidict==1.0.1
240243
# via furl

requirements/ci.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ django==4.2.15
146146
# django-relativedelta
147147
# django-rest-framework-condition
148148
# django-sendfile2
149+
# django-sessionprofile
149150
# django-setup-configuration
150151
# django-simple-certmanager
151152
# django-solo
@@ -236,6 +237,10 @@ django-sendfile2==0.7.1
236237
# via
237238
# -r requirements/base.txt
238239
# django-privates
240+
django-sessionprofile==3.0.0
241+
# via
242+
# -r requirements/base.txt
243+
# open-api-framework
239244
django-setup-configuration==0.3.0
240245
# via
241246
# -r requirements/base.txt
@@ -428,7 +433,7 @@ notifications-api-common==0.2.2
428433
# via
429434
# -r requirements/base.txt
430435
# commonground-api-common
431-
open-api-framework==0.8.1
436+
open-api-framework==0.9.0
432437
# via -r requirements/base.txt
433438
orderedmultidict==1.0.1
434439
# via

requirements/dev.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ django==4.2.15
147147
# django-relativedelta
148148
# django-rest-framework-condition
149149
# django-sendfile2
150+
# django-sessionprofile
150151
# django-setup-configuration
151152
# django-simple-certmanager
152153
# django-solo
@@ -241,6 +242,10 @@ django-sendfile2==0.7.1
241242
# via
242243
# -r requirements/base.txt
243244
# django-privates
245+
django-sessionprofile==3.0.0
246+
# via
247+
# -r requirements/base.txt
248+
# open-api-framework
244249
django-setup-configuration==0.3.0
245250
# via
246251
# -r requirements/base.txt
@@ -435,7 +440,7 @@ notifications-api-common==0.2.2
435440
# via
436441
# -r requirements/base.txt
437442
# commonground-api-common
438-
open-api-framework==0.8.1
443+
open-api-framework==0.9.0
439444
# via -r requirements/base.txt
440445
orderedmultidict==1.0.1
441446
# via

src/openklant/fixtures/default_admin_index.json

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@
8888
"accounts",
8989
"user"
9090
],
91+
[
92+
"sessionprofile",
93+
"sessionprofile"
94+
],
9195
[
9296
"auth",
9397
"group"

0 commit comments

Comments
 (0)