Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/multi data model with validation #730

Open
wants to merge 69 commits into
base: main
Choose a base branch
from

Commits on Jul 9, 2024

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

Commits on Jul 16, 2024

  1. Implements AllowUserCreate and AllowUserDelete methodology. Fixes…

    … various tests and minor issues
    danielskovli committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    7798803 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad56781 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

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

Commits on Jul 24, 2024

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

Commits on Jul 31, 2024

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

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    8d9d77d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a688536 View commit details
    Browse the repository at this point in the history
  3. Fix tests and cleanup

    ivarne committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    f7b91e0 View commit details
    Browse the repository at this point in the history
  4. Fix sonar cloud issues

    ivarne committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    e6cda48 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

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

Commits on Aug 21, 2024

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

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    79a918b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9007d42 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

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

Commits on Aug 28, 2024

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

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    ac353e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af1200b View commit details
    Browse the repository at this point in the history
  3. Reorders DataController->MaxCount logic, adds missing ClassRef check …

    …before CreateAppModelData call
    danielskovli committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    07c1af7 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. More changes to make tests work after merge

    Make expression engine async
    ivarne committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    300faac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4734382 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

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

Commits on Sep 4, 2024

  1. Almost make the tests pass

    ivarne committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e36b6cb View commit details
    Browse the repository at this point in the history
  2. Fix last remaining known bugs

    ivarne committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    df3fa25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    552b846 View commit details
    Browse the repository at this point in the history
  4. fix async warning

    ivarne committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    eaf0af8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    278e170 View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/feature/subform' into feat/multi…

    …-data-model-with-validation
    ivarne committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    ae2f6d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    269e0a3 View commit details
    Browse the repository at this point in the history
  8. fix another warning

    ivarne committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    c92d62b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    46dafb4 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    7ea4e54 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fae563f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dea4fe9 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Update storage.interfaces

    ivarne committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    85fc76c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d3fb4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a3a35a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d30664 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Configuration menu
    Copy the full SHA
    ef8dcab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    110b8e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Revert changes to use scoped services

    Opened #751 to consider making bigger changes for v9
    ivarne committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    dfb250a View commit details
    Browse the repository at this point in the history
  2. Remove unused usings

    ivarne committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    f71dad1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c6f4d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Remove file added by error

    ivarne committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    225f934 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7f3413 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82f859c View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    cc68b17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    259212c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1b9085 View commit details
    Browse the repository at this point in the history
  4. Make sonar cloud complaints editor warnings instead of suggestions

    * Unused usings
    * Mark members static
    
    Much easier to see theese issues before sonar cloud runs
    ivarne committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    1081d5f View commit details
    Browse the repository at this point in the history
  5. Activate CA1816: Call GC.SuppressFinalize correctly

    Make it easier to get 0 sonar cloud warnings by making its issues warnings
    ivarne committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    18d4169 View commit details
    Browse the repository at this point in the history
  6. Fix more sonar cloud issues

    ivarne committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    93caa71 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    54c5ffb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    450f53d View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

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

Commits on Sep 20, 2024

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

Commits on Sep 23, 2024

  1. Add concept of nonIncrementalValidators

    Some validators can neither run on every request for efficeincy,
    nor has a sensible way to implement HasRelevantChanges.
    
    Theese validators need to only run on process/next,
    or when explicitly requested in a call to /validate
    
    Also added NoIncrementalUpdates (with [JsonIgnore(WhenWritingDefault)]) to
    ValidationIssueWithSource, so that FE can distinguish
    what issues won't be fixed with incremental updates.
    
    /validate now supports a boolean to run either only incremental, only non
    incremnetal or all validators (default)
    ivarne committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    71b129f View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    f3ebc39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdc4cb4 View commit details
    Browse the repository at this point in the history
  3. Code review fixes

    ivarne committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    2e4cb52 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Various cleanup tasks

    * Use IInstanceDataMutator for actions
    * Return List instead of dictionary for models and validation issues in MultipleDataPatch for improved swagger doc
    * New IDataWriteProcessor interface with IInstanceDataMutator and change list to mimik IValidator
    * IValidator gets ShouldRunForTask(string taskId) so that
        * Required validators only runs for tasks with layout.
        * Expression validators only runs for tasks with datatypes that has expressions validation files
    * Revert DataElementIdentifier to a simple wrapper for Guid (that caches the string version)
    ivarne committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    c77239f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29f2bb8 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #809 from Altinn/feat/ivarne/multiDataProcessing

    Add IInstanceDataModifier and use it for a new dataProcessing interface and extend the UserActionContext to support modifying data elements.
    ivarne authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    1f75bb8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc73fd4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2ae6862 View commit details
    Browse the repository at this point in the history
  6. Rename id=>dataElementId in api

    also a few final touches and possible test fixes
    ivarne committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    7ddd6d0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9e493c5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a6ca853 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    165af46 View commit details
    Browse the repository at this point in the history