udata 10.1.3.dev34347__py2.py3-none-any.whl → 10.1.4.dev34377__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of udata might be problematic. Click here for more details.
- udata/__init__.py +1 -1
- udata/core/organization/api_fields.py +3 -1
- udata/core/user/api_fields.py +5 -0
- {udata-10.1.3.dev34347.dist-info → udata-10.1.4.dev34377.dist-info}/METADATA +6 -1
- {udata-10.1.3.dev34347.dist-info → udata-10.1.4.dev34377.dist-info}/RECORD +9 -9
- {udata-10.1.3.dev34347.dist-info → udata-10.1.4.dev34377.dist-info}/LICENSE +0 -0
- {udata-10.1.3.dev34347.dist-info → udata-10.1.4.dev34377.dist-info}/WHEEL +0 -0
- {udata-10.1.3.dev34347.dist-info → udata-10.1.4.dev34377.dist-info}/entry_points.txt +0 -0
- {udata-10.1.3.dev34347.dist-info → udata-10.1.4.dev34377.dist-info}/top_level.txt +0 -0
udata/__init__.py
CHANGED
|
@@ -82,7 +82,9 @@ member_user_with_email_fields = api.inherit(
|
|
|
82
82
|
readonly=True,
|
|
83
83
|
),
|
|
84
84
|
"last_login_at": fields.Raw(
|
|
85
|
-
attribute=lambda o: o.
|
|
85
|
+
attribute=lambda o: o.current_login_at
|
|
86
|
+
if check_can_access_user_private_info()
|
|
87
|
+
else None,
|
|
86
88
|
description="The user last connection date (only present on show organization endpoint if the current user is member of the organization: admin or editor)",
|
|
87
89
|
readonly=True,
|
|
88
90
|
),
|
udata/core/user/api_fields.py
CHANGED
|
@@ -61,6 +61,11 @@ user_fields = api.model(
|
|
|
61
61
|
"since": fields.ISODateTime(
|
|
62
62
|
attribute="created_at", description="The registeration date", required=True
|
|
63
63
|
),
|
|
64
|
+
"last_login_at": fields.Raw(
|
|
65
|
+
attribute=lambda o: o.current_login_at if current_user_is_admin_or_self() else None,
|
|
66
|
+
description="The user last connection date (only present for global admins and on /me)",
|
|
67
|
+
readonly=True,
|
|
68
|
+
),
|
|
64
69
|
"page": fields.UrlFor(
|
|
65
70
|
"users.show",
|
|
66
71
|
lambda u: {"user": u},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: udata
|
|
3
|
-
Version: 10.1.
|
|
3
|
+
Version: 10.1.4.dev34377
|
|
4
4
|
Summary: Open data portal
|
|
5
5
|
Home-page: https://github.com/opendatateam/udata
|
|
6
6
|
Author: Opendata Team
|
|
@@ -140,6 +140,10 @@ It is collectively taken care of by members of the
|
|
|
140
140
|
|
|
141
141
|
## Current (in progress)
|
|
142
142
|
|
|
143
|
+
- Nothing yet
|
|
144
|
+
|
|
145
|
+
## 10.1.3 (2025-03-14)
|
|
146
|
+
|
|
143
147
|
- Add inactive users notification and deletion jobs [#3274](https://github.com/opendatateam/udata/pull/3274)
|
|
144
148
|
- these jobs can be scheduled daily for example
|
|
145
149
|
- `YEARS_OF_INACTIVITY_BEFORE_DELETION` setting must be configured at least to activate it
|
|
@@ -148,6 +152,7 @@ It is collectively taken care of by members of the
|
|
|
148
152
|
- Fix creating/updating ID for resources [#3239](https://github.com/opendatateam/udata/pull/3239)
|
|
149
153
|
- Cannot respond to a transfer after first response [#3255](https://github.com/opendatateam/udata/pull/3255)
|
|
150
154
|
- Cannot update resource filetype after creation [#3254](https://github.com/opendatateam/udata/pull/3254)
|
|
155
|
+
- Add `last_login_at` in user endpoints for super-admins [#3284](https://github.com/opendatateam/udata/pull/3284)
|
|
151
156
|
- Add autoarchive to dataservices [#3283](https://github.com/opendatateam/udata/pull/3283)
|
|
152
157
|
|
|
153
158
|
## 10.1.2 (2025-03-10)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
tasks/__init__.py,sha256=nubUI6ljumym4uv6NvAJEkWHtsdurFpEGSq-AxDWYDM,8153
|
|
2
2
|
tasks/helpers.py,sha256=70fS9tI_m0DTWmKx9Zl5-LG-nxdz_ZaPyvvsFkN2r48,1091
|
|
3
|
-
udata/__init__.py,sha256=
|
|
3
|
+
udata/__init__.py,sha256=ZkbEuEyhp3i8hQXOTMPQlAxgpKkasKYm0SZh0y9kEyY,102
|
|
4
4
|
udata/api_fields.py,sha256=pgx0Ipa9R2sWZwTIBxMVvURwq9aEWAJR-dXdpb0qqHQ,30779
|
|
5
5
|
udata/app.py,sha256=xjk2D3EgboYBpTwBwdIxd2klt2yMoWMyCrkry5fz0LA,7292
|
|
6
6
|
udata/assets.py,sha256=H5Hrc2vnKM0IFLyWfLXmJ2Kj35w1i8W1D8Cgy8_cUj4,657
|
|
@@ -143,7 +143,7 @@ udata/core/metrics/tasks.py,sha256=_3L2g3blndBID66s_CauXEW2bDYathjd4HAAhYNVaOs,8
|
|
|
143
143
|
udata/core/organization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
144
144
|
udata/core/organization/activities.py,sha256=NY9pDzOVcdo2HZ-ax77lioiDGUZ8jpUguSLt_824saQ,1133
|
|
145
145
|
udata/core/organization/api.py,sha256=ECHxNjsx6p1znSPrpdY_GEI0Oj4GvOZWKjT6NPwsnQs,18744
|
|
146
|
-
udata/core/organization/api_fields.py,sha256=
|
|
146
|
+
udata/core/organization/api_fields.py,sha256=d_lgqjC0T-sPOqibxTLkW-to2t6fJX29NEQiKrdZHz4,7997
|
|
147
147
|
udata/core/organization/apiv2.py,sha256=1HQRQNu8r5dKPOGdkQyYfn7romhOoZydd4ZVUA0tQIk,3169
|
|
148
148
|
udata/core/organization/commands.py,sha256=DsRAtFDZvTciYNsUWumQWdn0jnNmKW-PwfIHUUZoBb8,1591
|
|
149
149
|
udata/core/organization/constants.py,sha256=fncNtA-vFrRM22K1Wo6iYu9DQZjzknYxH6TIYfxM9kA,563
|
|
@@ -237,7 +237,7 @@ udata/core/topic/permissions.py,sha256=RtFPPlxuU_Bv7ip6LDO4AoPrKFnIOEs9cCMXaSSmE
|
|
|
237
237
|
udata/core/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
238
238
|
udata/core/user/activities.py,sha256=x-mSiwx7TzM2ci6KMkMiNx0sFs8J3LTJNbigtE8cA0s,2807
|
|
239
239
|
udata/core/user/api.py,sha256=zqGTUgiMyv1sNs2HTvIJIcoqKfjcWqplH9iCTEI3Nic,13436
|
|
240
|
-
udata/core/user/api_fields.py,sha256=
|
|
240
|
+
udata/core/user/api_fields.py,sha256=MLuvzY-w6zJpWdNoKfaKRsIahLA56fB9M8pq2YCZIns,5764
|
|
241
241
|
udata/core/user/apiv2.py,sha256=4eNsvJjb4ChJQFrXtVbkOtAvXEcQcQpZf8vkEbriXRA,1125
|
|
242
242
|
udata/core/user/commands.py,sha256=d33hjgUi8WLA8YFvoq__FJJ_E-fk8f4tWo1iuT8jJvM,3156
|
|
243
243
|
udata/core/user/constants.py,sha256=aTluhTR2RGZ_cdG7-mkEoT5Ndbg8BNUwwzCOld0aLMY,77
|
|
@@ -719,9 +719,9 @@ udata/translations/pt/LC_MESSAGES/udata.mo,sha256=QQ66ZrgCYUIGeWFuAJApsxg3HZA_mE
|
|
|
719
719
|
udata/translations/pt/LC_MESSAGES/udata.po,sha256=77zeFKPGBQ6Rm9EPlOvdEM4xvNfW73nnkMvL6IJhx3M,46287
|
|
720
720
|
udata/translations/sr/LC_MESSAGES/udata.mo,sha256=2oLruBkM95m7L9ynig7a74UO-FV9wpZLji9HJ70G2MU,29169
|
|
721
721
|
udata/translations/sr/LC_MESSAGES/udata.po,sha256=xH_QQlYBJMfB2Y0KPuGpca3jtxhB6xJ3WkDIQ8utbUc,53262
|
|
722
|
-
udata-10.1.
|
|
723
|
-
udata-10.1.
|
|
724
|
-
udata-10.1.
|
|
725
|
-
udata-10.1.
|
|
726
|
-
udata-10.1.
|
|
727
|
-
udata-10.1.
|
|
722
|
+
udata-10.1.4.dev34377.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
|
|
723
|
+
udata-10.1.4.dev34377.dist-info/METADATA,sha256=U4QfvTiortw7zxLpeMWLKKX0HDW1xUof6mLFfbMvID0,142341
|
|
724
|
+
udata-10.1.4.dev34377.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
725
|
+
udata-10.1.4.dev34377.dist-info/entry_points.txt,sha256=3SKiqVy4HUqxf6iWspgMqH8d88Htk6KoLbG1BU-UddQ,451
|
|
726
|
+
udata-10.1.4.dev34377.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
|
|
727
|
+
udata-10.1.4.dev34377.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|