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

Sync backend expression functions with frontend #277

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

tjololo
Copy link
Member

@tjololo tjololo commented Jul 19, 2023

Description

Implement the backend equivalent of the new functions in frontend

Related Issue(s)

Fixes #276

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@tjololo tjololo added the feature Label Pull requests with new features. Used when generation releasenotes label Jul 19, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jul 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

84.7% 84.7% Coverage
0.0% 0.0% Duplication

Copy link
Member

@RonnyB71 RonnyB71 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕹️

@tjololo tjololo merged commit 26aa1da into main Aug 8, 2023
10 checks passed
@tjololo tjololo deleted the feature/276-new-expression-functions branch August 8, 2023 10:49
tjololo added a commit that referenced this pull request Aug 8, 2023
* Remove trailing slash from source filter in event subscription. (#242)

Co-authored-by: Ronny Birkeli <ronny.birkeli@digdir.no>

* Fix unauthorized submit resulting in 500 (#243)

* catch PlatformException and return 403

* remove code smell

* add test for 403 case

* add test that other PlatformHttpExceptions are rethrown

* return ok inside try block

* chore(deps): update nuget non-major dependencies (#251)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Support for extended file analysis (#229)

Co-authored-by: Ronny Birkeli <ronny.birkeli@digdir.no>

* chore(deps): update dependency coverlet.collector to v6 (#252)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Documentation of parameteres used when generating codelists (#259)

Co-authored-by: Ronny Birkeli <ronny.birkeli@digdir.no>

* chore(deps): update nuget non-major dependencies (#254)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency jwtcookieauthentication to v3 (#258)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update nuget non-major dependencies (#270)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ronny Birkeli <ronny.birkeli@gmail.com>

* Feat/add instance selection options to appmetadata (#271)

* Add instance selection option to appmetadata

* update test to use new OnEntry class

* Fix obsolete method in IAppResources

* newlines cleanup

---------

Co-authored-by: Vemund Gaukstad <tjololo@users.noreply.github.com>

* Add defaultRowsPerPage option to InstanceSelection (#272)

* add defaultRowsPerPage option to InstanceSelection

* remove pagination class

* chore(deps): update nuget non-major dependencies (#274)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Mark onEntry as nullable and add check for null (#279)

* Introduce new option for default selected pages per row (#280)

* Introduce new option for default selected pages per row

* fix codesmells

* chore(deps): update nuget non-major dependencies (#281)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fixed missing await statement (#282)

* Fixed missing await statement

* Changed from array to string

---------

Co-authored-by: Ronny Birkeli <ronny.birkeli@digdir.no>

* Fix bug in 7.13.0 where anonymous statlessapps does not allow anonymous users even if configured (#283)

* Sync backend expression functions with frontend (#277)

* Implement missing functions in backend

* add some testcases for functions that should be evaluated before implemented in the backend code

* Simplify some functions

* last sync changes from main

* update some testfiles

* fix some codesmells

---------

Co-authored-by: Ronny Birkeli <ronny.birkeli@gmail.com>
Co-authored-by: Ronny Birkeli <ronny.birkeli@digdir.no>
Co-authored-by: Magnus Revheim Martinsen <mrmartinsen.96@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Label Pull requests with new features. Used when generation releasenotes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement new expressions from frontend in backend
2 participants