udata 7.0.4.dev27598__py2.py3-none-any.whl → 7.0.4.dev27605__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.

@@ -88,3 +88,15 @@ def password(email):
88
88
  password = click.prompt('Enter new password', hide_input=True)
89
89
  user.password = hash_password(password)
90
90
  user.save()
91
+
92
+ @grp.command()
93
+ @click.argument('email')
94
+ def rotate_password(email):
95
+ '''
96
+ Ask user for password rotation on next login and reset any current session
97
+ '''
98
+ user = datastore.find_user(email=email)
99
+ user.password_rotation_demanded = datetime.utcnow()
100
+ user.save()
101
+ # Reset ongoing sessions by uniquifier
102
+ datastore.set_uniquifier(user)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: udata
3
- Version: 7.0.4.dev27598
3
+ Version: 7.0.4.dev27605
4
4
  Summary: Open data portal
5
5
  Home-page: https://github.com/opendatateam/udata
6
6
  Author: Opendata Team
@@ -136,6 +136,7 @@ It is collectively taken care of by members of the
136
136
 
137
137
  ## Current (in progress)
138
138
 
139
+ - Add rotate password command [#2966](https://github.com/opendatateam/udata/pull/2966)
139
140
  - Custom extras metadata [#2921](https://github.com/opendatateam/udata/pull/2921):
140
141
  - Organization can nom define a custom metadata of a choosen type
141
142
  - Dataset belonging to the organization can assign a value to the defined metadata
@@ -212,7 +212,7 @@ udata/core/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
212
212
  udata/core/user/activities.py,sha256=AMRbYgum8uJXAS3L-ddQN-xKtKRvsmesDZ0ItBY_jS0,2799
213
213
  udata/core/user/api.py,sha256=QQmTsUfm_RB698xkRPSSZduGPtvMM1WKGzupdUICFw4,12738
214
214
  udata/core/user/api_fields.py,sha256=1wIRNnux_MsaJnIAAJW79fIhoOZLc2YDRqfd_SDB-Ls,5081
215
- udata/core/user/commands.py,sha256=0adNRKU_Gz2328eCZtqYCP4pzPqPTUit8rM8B-DEZOU,2798
215
+ udata/core/user/commands.py,sha256=DlNBFaojhhPHH4kZazp0NMwYWnzPZXBba_vqH-cfR1U,3156
216
216
  udata/core/user/factories.py,sha256=JiY-AghapelwhAVAExiUEHS1odyIu4PppWuhtZnkjBY,790
217
217
  udata/core/user/forms.py,sha256=3VmR3GE9gJQltMTWErh5YfAdw1NmEtSBnnR1oLi0K1Q,989
218
218
  udata/core/user/metrics.py,sha256=sHw76gkprLp0oKWJf1uQqShBbgC43lZm7A5OSCuueAw,895
@@ -648,9 +648,9 @@ udata/translations/pt/LC_MESSAGES/udata.mo,sha256=sbRJJcf9afMBJx3L8qGez5XoILhNMI
648
648
  udata/translations/pt/LC_MESSAGES/udata.po,sha256=sv-oskJPJ6SStK6TWA-Wa28ssmrJweWLw4M__Sln-_Q,41902
649
649
  udata/translations/sr/LC_MESSAGES/udata.mo,sha256=YsXkmamsMG_H0I4tfmP_9JfXxyplpJHxFwIZr6jW9eU,29088
650
650
  udata/translations/sr/LC_MESSAGES/udata.po,sha256=QsVYsk6FRVtKmfxKv427qPmYcw2mx_wuE79aaWNeaYA,48743
651
- udata-7.0.4.dev27598.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
652
- udata-7.0.4.dev27598.dist-info/METADATA,sha256=EKcXgInHh9WFYf6OMSyg7on0uHh2tqlHstlgV4PYx2g,116941
653
- udata-7.0.4.dev27598.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
654
- udata-7.0.4.dev27598.dist-info/entry_points.txt,sha256=ZqIUHhOth0MMQvMIeuhODbUCDwjR-Hvo7PaKrMwTKuQ,384
655
- udata-7.0.4.dev27598.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
656
- udata-7.0.4.dev27598.dist-info/RECORD,,
651
+ udata-7.0.4.dev27605.dist-info/LICENSE,sha256=V8j_M8nAz8PvAOZQocyRDX7keai8UJ9skgmnwqETmdY,34520
652
+ udata-7.0.4.dev27605.dist-info/METADATA,sha256=F1ik4wuZgTonD72X3IgJsae6TQ8Hlu2GclIqeoRe54U,117028
653
+ udata-7.0.4.dev27605.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
654
+ udata-7.0.4.dev27605.dist-info/entry_points.txt,sha256=ZqIUHhOth0MMQvMIeuhODbUCDwjR-Hvo7PaKrMwTKuQ,384
655
+ udata-7.0.4.dev27605.dist-info/top_level.txt,sha256=39OCg-VWFWOq4gCKnjKNu-s3OwFlZIu_dVH8Gl6ndHw,12
656
+ udata-7.0.4.dev27605.dist-info/RECORD,,