Resolve "Mass import of users" #61

Merged
debdolph merged 18 commits from 7-mass-import-of-users into master 2020-03-31 10:27:30 +02:00
debdolph commented 2020-03-29 12:18:52 +02:00 (Migrated from edugit.org)

Closes #7

Closes #7
debdolph commented 2020-03-29 12:18:53 +02:00 (Migrated from edugit.org)

changed milestone to %"2.0a2"

changed milestone to %"2.0a2"
debdolph commented 2020-03-29 13:16:58 +02:00 (Migrated from edugit.org)

added 1 commit

  • 4a6d4ac8 - Add management command

Compare with previous version

added 1 commit <ul><li>4a6d4ac8 - Add management command</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1565&start_sha=e2fc70d0bf20d4141e79328b4064306a7dcbfe7e)
debdolph commented 2020-03-29 13:17:58 +02:00 (Migrated from edugit.org)

added 1 commit

  • 8e3442d3 - Add management command

Compare with previous version

added 1 commit <ul><li>8e3442d3 - Add management command</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1566&start_sha=4a6d4ac8f74223bcfc19332e033d4c23794cce52)
debdolph commented 2020-03-29 13:19:42 +02:00 (Migrated from edugit.org)

added 1 commit

  • af05958a - Add management command

Compare with previous version

added 1 commit <ul><li>af05958a - Add management command</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1567&start_sha=8e3442d3fd7a6bf176be9ff19ec5eb7169c1a29d)
debdolph commented 2020-03-29 13:22:07 +02:00 (Migrated from edugit.org)

added 1 commit

  • b180cbf3 - Add management command

Compare with previous version

added 1 commit <ul><li>b180cbf3 - Add management command</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1568&start_sha=af05958acfee72094245e324817b3ec64c3217bd)
debdolph commented 2020-03-29 16:44:18 +02:00 (Migrated from edugit.org)

added 5 commits

  • 42232a5c - Implement LDAP mass import with Celery job and management command
  • dc1fa5b5 - Let management command always run synchronously
  • cadfa971 - Skip group if one of the name fields is missing
  • fd09ae9a - Make mass LDAP import atomic
  • d6d70217 - Deduplicate LDAP import on mass import

Compare with previous version

added 5 commits <ul><li>42232a5c - Implement LDAP mass import with Celery job and management command</li><li>dc1fa5b5 - Let management command always run synchronously</li><li>cadfa971 - Skip group if one of the name fields is missing</li><li>fd09ae9a - Make mass LDAP import atomic</li><li>d6d70217 - Deduplicate LDAP import on mass import</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1571&start_sha=b180cbf38dbc6be0855125f20d24607a7b0da5b9)
debdolph commented 2020-03-30 00:45:22 +02:00 (Migrated from edugit.org)

added 5 commits

  • 9dedeb72 - Refactor LDAP import to separate user and group import
  • 4ff2d713 - Use tqdm for progress on interactive LDAP import
  • a01b2380 - Use cached attrs for user loading
  • 04415944 - Reintroduce creating persons
  • 650e7bb4 - Refactor exception handling out of library code and use LDAP DN as import ref

Compare with previous version

added 5 commits <ul><li>9dedeb72 - Refactor LDAP import to separate user and group import</li><li>4ff2d713 - Use tqdm for progress on interactive LDAP import</li><li>a01b2380 - Use cached attrs for user loading</li><li>04415944 - Reintroduce creating persons</li><li>650e7bb4 - Refactor exception handling out of library code and use LDAP DN as import ref</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1578&start_sha=d6d7021789a69aa55c1d5d52e8d1c22b5bc467aa)
debdolph commented 2020-03-30 23:14:18 +02:00 (Migrated from edugit.org)

added 1 commit

  • b5ec7b95 - Sync owners of group

Compare with previous version

added 1 commit <ul><li>b5ec7b95 - Sync owners of group</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1589&start_sha=650e7bb4b4d5f27b417c424ecd639abb16bcd56f)
debdolph commented 2020-03-30 23:59:00 +02:00 (Migrated from edugit.org)

added 10 commits

  • 76ece5b9 - Force DNs to lower case for import refs
  • a0cf39dd - Match username to find linked person instead of user object
  • 559c0a5f - Merge branch '7-mass-import-of-users' of...
  • 818ce5ab - Safe-guard against groups without members or owners and lower-case owner DNs
  • f96db817 - Fix typos
  • d997890f - Default group field type to DN
  • 2d354cce - Fix copy/paste mistakes
  • e02bcf00 - Save newly created users before handing into ldap_sync_from_user
  • d8d1757b - Set tqdm options
  • 640f46ff - Add ntoe about finalising transaction

Compare with previous version

added 10 commits <ul><li>76ece5b9 - Force DNs to lower case for import refs</li><li>a0cf39dd - Match username to find linked person instead of user object</li><li>559c0a5f - Merge branch &#39;7-mass-import-of-users&#39; of...</li><li>818ce5ab - Safe-guard against groups without members or owners and lower-case owner DNs</li><li>f96db817 - Fix typos</li><li>d997890f - Default group field type to DN</li><li>2d354cce - Fix copy/paste mistakes</li><li>e02bcf00 - Save newly created users before handing into ldap_sync_from_user</li><li>d8d1757b - Set tqdm options</li><li>640f46ff - Add ntoe about finalising transaction</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1590&start_sha=b5ec7b952030852fae8fd88be1f59d199c7a09f6)
nik commented 2020-03-31 00:02:57 +02:00 (Migrated from edugit.org)

added 1 commit

  • 72cdffff - Add ntoe about finalising transaction

Compare with previous version

added 1 commit <ul><li>72cdffff - Add ntoe about finalising transaction</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1591&start_sha=640f46ffe4185ecf9ddab31682ea845de1ce624f)
nik commented 2020-03-31 00:03:12 +02:00 (Migrated from edugit.org)

assigned to @hansegucker

assigned to @hansegucker
nik commented 2020-03-31 00:03:19 +02:00 (Migrated from edugit.org)

unmarked as a Work In Progress

unmarked as a **Work In Progress**
nik commented 2020-03-31 01:38:20 +02:00 (Migrated from edugit.org)

added 1 commit

  • eb7c0bae - Fix some mistakes from refactoring

Compare with previous version

added 1 commit <ul><li>eb7c0bae - Fix some mistakes from refactoring</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1592&start_sha=72cdffff0712a8d770eff37de95c5c2e4900387a)
nik commented 2020-03-31 01:41:21 +02:00 (Migrated from edugit.org)

mentioned in merge request !62

mentioned in merge request !62
nik commented 2020-03-31 01:46:43 +02:00 (Migrated from edugit.org)

added 1 commit

  • 33c26869 - Use isinstance instead of type

Compare with previous version

added 1 commit <ul><li>33c26869 - Use isinstance instead of type</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1594&start_sha=eb7c0baef600db409f32548c9055ff2cce706379)
nik commented 2020-03-31 02:08:53 +02:00 (Migrated from edugit.org)

added 1 commit

  • 59acaefd - Fix typo

Compare with previous version

added 1 commit <ul><li>59acaefd - Fix typo</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1596&start_sha=33c26869cebaa1054d11fdd1bca81cd307dbea48)
nik commented 2020-03-31 02:53:50 +02:00 (Migrated from edugit.org)

added 13 commits

  • a10e1319 - Refactor LDAP import to separate user and group import
  • 24a64251 - Use tqdm for progress on interactive LDAP import
  • 2dee6c93 - Use cached attrs for user loading
  • 9b105155 - Reintroduce creating persons
  • 5570f172 - Refactor exception handling out of library code and use LDAP DN as import ref
  • c1b82bc6 - Force DNs to lower case for import refs
  • f8dcc986 - Match username to find linked person instead of user object
  • 0393afcd - Sync owners of group
  • 08c241bb - Safe-guard against groups without members or owners and lower-case owner DNs
  • 75fa1068 - Save newly created users before handing into ldap_sync_from_user
  • 3d8aee2c - Set tqdm options
  • 495182c6 - Add note about finalising transaction
  • d0c1a4e0 - Use isinstance instead of type

Compare with previous version

added 13 commits <ul><li>a10e1319 - Refactor LDAP import to separate user and group import</li><li>24a64251 - Use tqdm for progress on interactive LDAP import</li><li>2dee6c93 - Use cached attrs for user loading</li><li>9b105155 - Reintroduce creating persons</li><li>5570f172 - Refactor exception handling out of library code and use LDAP DN as import ref</li><li>c1b82bc6 - Force DNs to lower case for import refs</li><li>f8dcc986 - Match username to find linked person instead of user object</li><li>0393afcd - Sync owners of group</li><li>08c241bb - Safe-guard against groups without members or owners and lower-case owner DNs</li><li>75fa1068 - Save newly created users before handing into ldap_sync_from_user</li><li>3d8aee2c - Set tqdm options</li><li>495182c6 - Add note about finalising transaction</li><li>d0c1a4e0 - Use isinstance instead of type</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-LDAP/-/merge_requests/4/diffs?diff_id=1599&start_sha=59acaefd6e3e782a9127e378297fa1ec52d51f18)
hansegucker commented 2020-03-31 10:27:30 +02:00 (Migrated from edugit.org)

mentioned in commit faf2fff8bb

mentioned in commit faf2fff8bbb85146e91ffa74a361c1094ecdc1a9
hansegucker commented 2020-03-31 10:27:31 +02:00 (Migrated from edugit.org)

merged

merged
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-App-LDAP!61
No description provided.