Skip to content

Commit

Permalink
Publish LDAPCP Second Edition (#202)
Browse files Browse the repository at this point in the history
* update vs project

* Rewrite to ldapcpse (#199)

* start work

* early work

* initiate work

* work

* work

* work

* work

* work

* work

* work

* Update LDAPCPSE.cs

* Update LDAPCPSE.cs

* optimize LDAPCPSE.SearchOrValidate()

* work

* change how property Settings is passed and used

* start work on admin pages

* work

* Update GlobalSettings.ascx

* Update GlobalSettings.ascx

* working on page GlobalSettings

* working on page GlobalSettings

* working on page GlobalSettings

* working on page GlobalSettings

* working on page GlobalSettings

* Update ClaimTypeConfig.cs

* Set name to LDAPCP Second Edition

* working on page GlobalSettings

* Update GlobalSettings.ascx

* Fix #34

* Fix random COMException when using the default AD connection

* working on page GlobalSettings

* working on page GlobalSettings

* fix typo

* better manage the EntityDataKeys

* update building of ldap filter

* add page ClaimTypesConfig

* rename page to PermsMappings

* rename props and remove obselete props

* Update LDAPProviderConfiguration.cs

* work

* fix the DirectoryServicesCOMException in w3wp

* fix #43

* improve management of sid

* remove old tests

* rename project

* update projects

* working on tests

* work on special chars

* working on tests

* update tests

* update tests

* update tests

* Update WrongConfigTests.cs

* wokring on tests

* changes on OneTimeSetUp

* fix issue on parsing the claim value

* update tests

* fix issue where a member in Dictionary of DefaultSettingsPerUserClaimType could be modified

* update tests

* working on tests

* optimize CreatePickerEntityHelper()

* optimize CreatePickerEntityHelper()

* work

* rename members

* rename variables

* prefer currentContext.CurrentClaimTypeConfigList over this.Settings.RuntimeClaimTypesList

* rename variables

* Update LDAPCPSE.cs

* optimizations

* optimizations

* rename internal classes

* Update LDAPCPSE.cs

* fix logging

* fix logging

* set the group value with their sid if required during augmentation

* work on augmentation

* work on augmentation

* working on tests

* optimize validatiaon

* get ldap groups recurrsively during LDAP augmentation  and support SID

* set and dispose DirectoryEntry properly

* Update LdapEntityProvider.cs

* hide ILDAPCPSettings.RuntimeClaimTypesList

* rename RuntimeClaimTypeConfigList

* Update LDAPCPSE.cs

* improve permission preview

* rename GetIdentifierConfiguration() and add comments on methods declarations

* Update GlobalSettings.ascx

* add directives for tests which cannot be run outside of dev box atm

* update logging categories

* update pages

* Update verify-prs-and-commits.yml

* Update README.md

* make some adjustments

* Update publish-nightly-release.yml

* optimize init of DirectoryEntry and related properties

* Update AugmentationTests.cs

* do not query LDAP if input is empty

* optimize method FormatPermissionDisplayText()

* handle differently ldap attributes that do not support wildcard

* fix issues when updating settings

* Set the PickerEntity.EntityType correctly

* use helpers

* Update LDAPCPSE.cs

* rename class ClaimsProviderSettings

* move class Logger and its deps to their own namespace (#200)

* Update Yvand.LDAPCPSE.EventReceiver.cs

* update timeout

* catch potential InvalidOperationException in SetSearchAttributesForEntity()

* Update LDAPProviderConfiguration.cs

* Update GlobalSettings.ascx

* update GetDefaultSettings()

* Show the displayName of users in the people picker list by default

* update tests

* Add a helper to get the LDAP base path reliably

* update what tests can be run in release mode (In DTL env)

* Cache the LDAP path

* update info
  • Loading branch information
Yvand authored Feb 26, 2024
1 parent 8242cde commit 8515358
Show file tree
Hide file tree
Showing 78 changed files with 7,380 additions and 6,686 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish nightly release
on: workflow_dispatch
jobs:
call-workflow-publish-nightly-release:
uses: Yvand/AzureCP/.github/workflows/reusable-build-publish-release.yml@master
uses: Yvand/EntraCP/.github/workflows/reusable-build-publish-release.yml@master
with:
project-name: ${{ vars.PROJECT_NAME }}
version-major-minor: ${{ vars.VERSION_MAJOR_MINOR }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/verify-prs-and-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ on:

jobs:
call-build:
uses: Yvand/AzureCP/.github/workflows/reusable-build.yml@master
uses: Yvand/EntraCP/.github/workflows/reusable-build.yml@master
with:
project-name: ${{ vars.PROJECT_NAME }}
version-major-minor: ${{ vars.VERSION_MAJOR_MINOR }}
is-production-release: false
secrets:
base64-encoded-signingkey: ${{ secrets.BASE64_ENCODED_SIGNINGKEY }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log for LDAPCP

## LDAPCP Second Edition v17.0 - Unreleased

* Initial release of LDAPCP Second Edition, a complete rewrite of current project

## LDAPCP v16.0.20230824.1 enhancements & bug-fixes - Published in August 24, 2023

* IMPORTANT: due to the move to GitHub Actions and the configuration of the builtin Windows VM, LDAPCP now requires at least .NET 4.6.2
Expand Down
176 changes: 0 additions & 176 deletions LDAPCP.Tests/AugmentationTests.cs

This file was deleted.

46 changes: 0 additions & 46 deletions LDAPCP.Tests/BackupCurrentConfig.cs

This file was deleted.

120 changes: 0 additions & 120 deletions LDAPCP.Tests/CustomConfigTests.cs

This file was deleted.

Loading

0 comments on commit 8515358

Please sign in to comment.