Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CSOIreland/Server-API-Library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: net6-support
Choose a base ref
...
head repository: CSOIreland/Server-API-Library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 19 commits
  • 0 files changed
  • 2 contributors

Commits on Apr 29, 2024

  1. .net 8 initial commits

    - [ENHANCEMENT] removed references to classes that are not required for the API. They are now moved to different projects
    - [BUG FIX] parse error function in restful had a default of " " instead of ""
    - [BUG FIX] changed accessibility level of MemcachedClient to be internal
    - [ENHANCEMENT] added logging of networkusername when AD connectivity issue
    - [ENHANCEMENT] use method handle and static dictionary to speed up reflection lookup
    - [BUG FIX] handle custom sql datatypes on non query procedure
    - [BUG FIX] Dispose of database connection if it can't be opened
    - [ENHANCEMENT] memcache CAS locking for casrepositoryflush implemented
    - [ENHANCEMENT] updated libraries -- sqlclient, enyim and log4net
    - [ENHANCEMENT] move interfaces to interfaces directory
    - [ENHANCEMENT] remove CustomPropertyAttributes.cs as now in CSOSanitiser
    - [BUG FIX] removed  internal set bug --   public int API_ADO_BULKCOPY_TIMEOUT { get; internal set; }
    - [ENHANCEMENT] change activity declaration type in Middleware/API.Middleware.
    - [BUG FIX] parse error function in restful had a default of " " instead of ""
    - [BUG FIX] changed accessibility level of MemcachedClient to be internal
    - [ENHANCEMENT] added logging of networkusername when AD connectivity issue
    lanesCSO committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    392d840 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    67783a5 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. 7.0.4 release

    lanesCSO committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8602913 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. 7.0.5 release

    	- [BUG FIX] trace method and params not being recorded if cache trace disable
    lanesCSO committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a0304e5 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. 7.0.6 release

    [BUG FIX] trace method and params not being recorded if cache trace disable
    [ENHANCEMENT] changed when trace gets its correlationID
    [ENHANCEMENT] removed threadAbortException as performance thread abort is handled in its own try catch. removed from middleware,static, jsonrpc and RESTful
    [BUG FIX] added try catch around dictionary tryadd function use
    [ENHANCEMENT] improved logging for jsonrpc and restful requests
    [BUG FIX] returnResponseAsync now raises OperationCanceledException rather than TaskCanceledException
    [ENHANCEMENT] wrap performance thread creation in existing try catch block
    [BUG FIX] change from sending e.message to "Bad Request" in restful and static exception response
    [ENHANCEMENT] changing attribute dictionarys to be ConcurrentDictionary
    lanesCSO committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    49361d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. 7.0.8 release

    7.0.8 release => [ENHANCEMENT] added referrer and content length to api trace
     7.0.7 release => [ENHANCEMENT] check that restful, head and static statuscodes for return are valid
    lanesCSO committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    ce546e6 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. 7.0.10 release

          - [ENHANCEMENT] refactored configuration insert to deployupdate table
          - [ENHANCEMENT]  removed scoped ADO as never used
          - [ENHANCEMENT]refactored to use a using statement
            > using var performanceCollector = new PerformanceCollector();
            > using var cancelPerformance = new CancellationTokenSource();
            > using var apiCancellationToken = new CancellationTokenSource();
    lanesCSO committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    686dc44 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. 7.0.11 - restored microsoft.data.sqlclient to correct version

    restored microsoft.data.sqlclient to correct version
    lanesCSO committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    b80671e View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. 7.0.12 allow json config files to have strings or json objects

    - [ENHANCEMENT] allow json config files to have strings or json objects using CombineSectionValues function
    lanesCSO committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    64c59a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. upgraded microsoft.data.sqlclient to 5.2.2

          - [LIBRARY UPDATE] upgraded microsoft.data.sqlclient to 5.2.2
    lanesCSO committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    531fb18 View commit details
    Browse the repository at this point in the history
  2. Create codeql.yml

    lanesCSO authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    d96c39f View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Create devskim.yml

    lanesCSO authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    4b48731 View commit details
    Browse the repository at this point in the history
  2. Create osv-scanner.yml

    lanesCSO authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    cde49d3 View commit details
    Browse the repository at this point in the history
  3. delete codeql.yml

    lanesCSO committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    09dca4a View commit details
    Browse the repository at this point in the history
  4. Create codeql.yml

    lanesCSO authored Sep 3, 2024
    Configuration menu
    Copy the full SHA
    e834404 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. 7.0.14 release

         - [ENHANCEMENT] updated code to allow application pool to start if memcache is unavailable
         - [ENHANCEMENT] removed ApplicationLoaded flag from api as if there is no API config loaded on application startup then let an exception be thrown that is not caught
         - [ENHANCEMENT] updated ICacheConfig to allow API_MEMCACHED_ENABLED to be set in Code
         - [ENHANCEMENT] updated MemCacheD constructor to have the stats query within try catch Block
         - [ENHANCEMENT] updated ConsoleConfiguration.cs to remove ApplicationLoaded flag
         - [BUG FIX] updated ReadJSONSettings to return null if the version that is being looked for is not there
    lanesCSO committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    1649f27 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. 7.0.15 release

          - [ENHANCEMENT] added argon2 sha256 methods -- GetArgon2SHA256 and VerifyArgon2SHA256
          - [BUG FIX] moved where  trace.TrcRequestVerb = requestMethod; as if blockedurls used then verb wouldn't be set
          - [BUG FIX] updated GatherTraceInformation to  take in an IRequest interface and check the interface type to determine the parameters
          - [ENHANCEMENT]  upgraded EnyimMemcachedCore from 3.2.1 to 3.2.3
          - [ENHANCEMENT] upgraded Microsoft.Extensions.DependencyInjection from 8.0.0 to 8.0.1
          - [ENHANCEMENT] upgraded Microsoft.Extensions.Logging from 8.0.0 to 8.0.1
          - [ENHANCEMENT] upgraded System.Diagnostics.PerformanceCounter from 8.0.0 to 8.0.1
          - [ENHANCEMENT] upgraded System.DirectoryServices.AccountManagement from 8.0.0 to 8.0.1
    lanesCSO committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    96455e0 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. 7.0.16

    - [ENHANCEMENT] updated Microsoft.Extensions.DependencyInjection to 9.0.0
    - [ENHANCEMENT] updated System.Diagnostics.PerformanceCounter to 9.0.0
    - [ENHANCEMENT] updated System.DirectoryServices.AccountManagement to 9.0.0
    - [ENHANCEMENT] updated Microsoft.Extensions.Logging to 9.0.0
    - [ENHANCEMENT] change parse request from fatal logs to error logs
    - [ENHANCEMENT] change MemCacheD ValidateExpiry to log errors if changing cache expiry times rather than info
    - [ENHANCEMENT] created 3 new appsettings properties
      > int API_CACHE_LOCK_POLL_INTERVAL { get; }
      > string API_CACHE_LOCK_PREFIX { get; }
      > int API_CACHE_LOCK_MAX_TIME { get;}
    - [ENHANCEMENT] added GetSHA256 (copy of function in utility.cs) function to memcached class
    - [ENHANCEMENT] created custom configuration exception
    - [ENHANCEMENT] created private function metaCacheLock
    - [ENHANCEMENT] create new Get_BSO_WITHLOCK functionality for cache stampede protection
    - [ENHANCEMENT] create new Store_BSO_REMOVELOCK functionality for cache stampede protection
    - [ENHANCEMENT] added cache tracing for cache lock
    - [ENHANCEMENT] updated api cache trace table
    - [ENHANCEMENT] added 2 new values to MemCachedD_Value class
      > decimal cacheLockDuration
      > bool cacheLockUsed
    - [ENHANCEMENT]  validated config for memcache on application pool startup
    - [ENHANCEMENT] added new cache_lock_settings block to cachesettings block of appsettings.json with new keys
    "CacheSettings": {
      "API_MEMCACHED_SALSA": "apd_test1_3",
      "API_MEMCACHED_MAX_VALIDITY": "2592000",
      "API_MEMCACHED_MAX_SIZE": "128",
      "API_MEMCACHED_ENABLED": true,
      "API_CACHE_TRACE_ENABLED": true,
      "API_CACHE_LOCK_POLL_INTERVAL": "1",
      "API_CACHE_LOCK_PREFIX1": "LCK",
      "API_CACHE_LOCK_MAX_TIME": "10",
      "API_CACHE_LOCK_SETTINGS": {
      "API_CACHE_LOCK_ENABLED": false,
      "API_CACHE_LOCK_POLL_INTERVAL": "1",
      "API_CACHE_LOCK_PREFIX": "LCK",
      "API_CACHE_LOCK_MAX_TIME": "30"
      }
    },
    - [ENHANCEMENT] REMOVED  public static CacheSettings CacheSettings; from apiserviceshelper
    lanesCSO committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    f3f4bc9 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2026

  1. 8.0.0 entra SSO release

    - [ENHANCEMENT] added support for entra SSO login
    - [ENHANCEMENT] upgrade to .net8  log for JWKS success
    - [ENHANCEMENT] packages updated to latest vesion
    - [BUGFIX] moving response content length to correct if statement
    - [BUG FIX] JSONRPC AND RESTFUL threw exceptions if ParseError used in certain scenarios
    - [BUG FIX] removed unnecessary instantiation of EntraTokenAuthentication()
    - [ENHANCEMENT] log4net updated to 3.1.0
    - [ENHANCEMENT] cache external JWKS once recevied and fail back to cached copy if unable to get latest copy
    - [ENHANCEMENT] added first business phone record from graph api
    - [ENHANCEMENT] EnyimMemcachedCore updated to 3.4.0
    - [ENHANCEMENT] update Console/ConsoleConfiguration.cs -> AddApiLibrary to allow for optional packages to be added at runtime
    - [ENHANCEMENT] Added GetStatsDictionary to return a Dictionary of memcache stats
    - [BUG FIX] memcache works with a DNS name
    - [ENHANCEMENT] allow machine to machine authentication using entra SSO tokens
    - [ENHANCEMENT] Added filename to byte[] streamed output
    - [ENHANCEMENT] remove transaction on trace insert
    - [ENHANCEMENT] dont log for OperationCanceledException
    - [ENHANCEMENT] changing error logs to info logs for jsopnrpc exceptionns for malformed json
    - [ENHANCEMENT] added attribute used for identity within the API when an external ENTRAID token that is a service account
    - [BUG FIX] memcache fix for on startup when node is not available. Note: appsettings.json memcached times need to be low enough to allow app to startup in time
    - [ENHANCEMENT] a white list of endpoints that can be access is now recorded
    - [ENHANCEMENT] a list of assemblies for reflection can now be supplied otherwise all assemblies have to be iterated through
    - [ENHANCEMENT] removing head as an allowed endpoint from APISettings
    lanesCSO committed Jan 26, 2026
    Configuration menu
    Copy the full SHA
    9048175 View commit details
    Browse the repository at this point in the history
Loading