Commit Graph

36 Commits

Author SHA1 Message Date
Valentin Deniaud 7eee08d081 csv_import: do not send creation email when simulating (#53453) 2021-04-27 14:44:11 +02:00
Valentin Deniaud 30ee547427 manager: display progress while importing users (#50163) 2021-04-21 12:28:21 +02:00
Valentin Deniaud 4751846fed misc: remove six module usage (#52503) 2021-03-30 15:06:49 +02:00
Valentin Deniaud 6c4aad3ab5 misc: remove some python2 compatibility code (#52457) 2021-03-30 14:00:27 +02:00
Valentin Deniaud 86d946adcd misc: apply isort (#52457) 2021-03-30 13:59:53 +02:00
Valentin Deniaud 4bb33d3d3c misc: apply black (#52457) 2021-03-30 11:32:55 +02:00
Valentin Deniaud 0f4439afe1 csv_import: allow settings password hash (#50156) 2021-03-15 09:54:32 +01:00
Benjamin Dauvergne 8a543226bf custom_user: remove User's deleted field (#51452) 2021-03-01 18:17:22 +01:00
Valentin Deniaud 926aad5f72 manager: show missing role recap in csv import (#50166) 2021-03-01 09:48:15 +01:00
Valentin Deniaud e895bb0142 csv_import: add auto key column detection (#50157) 2021-03-01 09:46:58 +01:00
Valentin Deniaud 229582db81 csv_import: ignore empty role values (#50158) 2021-03-01 09:44:49 +01:00
Benjamin Dauvergne 9fe6ce378f misc: use set_random_password() in csv_import (#47943) 2020-12-02 19:16:44 +01:00
Paul Marillonnet 8c3902b2c2 misc: do not modify email when marking users as deleted (#48264) 2020-12-02 09:56:08 +01:00
Benjamin Dauvergne 89323afd6c misc: restore sniffing of csv dialect (#44016)
This reverts commit 586f322eba, "python3:
explicit delimiter and quotechar in csv import (#28276)".
2020-07-25 19:37:26 +02:00
Benjamin Dauvergne dc255bb4a8 csv_import: ignore empty values when checking uniqueness (#44805) 2020-07-16 15:21:34 +02:00
Benjamin Dauvergne 8029d7473b csv_import: ignore uncommitted users when checking uniqueness (#44805) 2020-07-16 15:21:34 +02:00
Benjamin Dauvergne eb3caba25a manager: show user import errors inline (#44803) 2020-07-16 15:21:17 +02:00
Benjamin Dauvergne 1be25fc287 csv_import: fix python-attr deprecation warning (#41238)
DeprecationWarning: The usage of `cmp` is deprecated and will be
  removed on or after 2021-06-01.  Please use `eq` and `order` instead.
2020-04-27 16:12:58 +02:00
Benjamin Dauvergne b5e2134c14 misc: prevent leak of file descriptor in CsvImporter.run() (#41238) 2020-04-27 16:12:55 +02:00
Paul Marillonnet 7be097f200 dj2.2: kwarg fix on field initialization (#41238) 2020-04-27 14:34:24 +02:00
Valentin Deniaud e07cd15813 csv_import: allow setting user password and sending mail (#35774) 2020-03-30 11:46:20 +02:00
Paul Marillonnet 75154f2722 python3: fix inner iterator classes of csv_import (#28276) 2020-03-03 22:34:17 +01:00
Paul Marillonnet 586f322eba python3: explicit delimiter and quotechar in csv import (#28276) 2020-03-03 22:34:17 +01:00
Paul Marillonnet c297edbc6e python3: encoding variations in csv importer (#28276) 2020-03-03 22:34:17 +01:00
Benjamin Dauvergne 84b8f31ae1 csv_import: use flag default value (#37900)
Attribute instance can be unpickled and miss attributes added after the
creation of the pickle.
2019-11-25 10:00:04 +01:00
Valentin Deniaud 2936f25623 csv_import: display error message on bad encoding (#37374) 2019-11-21 10:20:21 +01:00
Valentin Deniaud f12353d81c csv_import: allow adding roles (#35773) 2019-10-21 17:35:15 +02:00
Valentin Deniaud 64157da70c csv_import: make sure has_errors is toggled (#35773) 2019-10-21 15:51:38 +02:00
Valentin Deniaud e472246f3c csv_import: display all row errors (#36832) 2019-10-16 17:44:31 +02:00
Nicolas Roche 6a3a1c3ebe csv_import: import cleaned fields (#35800) 2019-09-12 18:45:18 +02:00
Benjamin Dauvergne 6fa10186d2 manager: csv import, translation row action (#34748) 2019-07-16 11:13:37 +02:00
Benjamin Dauvergne fd2639ca18 csv_import: report line of the first value seen on duplicate (#34270) 2019-06-26 11:15:57 +02:00
Benjamin Dauvergne c8e0052ed3 csv_import: do not create userexternalid on update (#34258) 2019-06-24 11:57:25 +02:00
Benjamin Dauvergne 1ecaa8ccaf csv_import: set ou of created users (#34253) 2019-06-24 10:42:16 +02:00
Benjamin Dauvergne e8171a0dbf modify strings to ease translation 2019-06-22 20:31:45 +02:00
Benjamin Dauvergne fe0895da8b add csv import framework (#32833) 2019-06-21 18:44:13 +02:00