Skip to content

Commit

Permalink
Update fork (#1)
Browse files Browse the repository at this point in the history
* 216 navigation tabletview (#543)

* Profile menu with logout. Default Material-UI menu with keyboard navigation. Added minor styling.

* Added drawer component for tablet view

* Initial commit.

* Styled tablet menu button.

* Moved routing to config file.

* Added key to child in array.

* Fixed MuiThemeProvider in Service-Development.

* alphabetized imports, removed unused imports

* Added code to  show/hide menu on "meny" click in app bar

* Updated routes with english text for the menu selection, added code to mark the active menu in left drawer menu

* Font and color changes for the appbar and leftdrawer menu

* Added exact path to routes.

* Updated material-ui package versions to fix docker build errors

* Updated material-ui package version

* Updated theme file to fix merge errors

* Upgraded React version.

* Created interface for state, created interfaces for menu object

* Fixed some code in appBar.tsx.

* Fixed PR comments, added altinn standard colours in altinnstudiotheme,adjusted tablet menu styles

* Renamed index to key, changed object to styles

* Add textarea input for paragraph, cleanup (#559)

* Add textarea input for paragraph, cleanup

* remove unnecessary method

* added Dashboard  (#539)

* started with dashboard

* added styling

* added filter to dashboard

* added fetch langauge saga to dashboard

* added language saga

* added organizations

* added format date

* ran npm install

* added moment and new service btn

* added search

* cleanup

* Added you have no services text and fetch current user

* Cleanup and moved componentes to shared, also added theme

* made serviceCard

* fixed some issues

* trying to rename folder

* renamed

* removed org

* added org to card

* fix sonarqube

* fixed some issues

* removed roboto

* Learna add material-ui@3.6.1 to all applications. Defined react-redux-versions. Installed missing Immutability-helper and Axios.

* fixed styling and changed truncation module

* fix filter and searchfield

* made card clickable and tabable

* fixed some pr comments

* renaming

* added null check

* removed hardcoded string

* removed unnecessary code

* removed connection to store

* removed unused code

* fixed pr comment

* removed unused code

* changed to using react 16.6.3

* removed typeface roboto

* removed comma that makes the build break

* fixed version for material-ui

* fix language file

* fixed typography

* merge

* added altinn palette

* Added new test reporters for react apps, changed test discovery regexes (#561)

* Added jest-junit, changed test discovery regex

* added jest-junit to dashboard and service development, changed test discovery regex for those apps as well

* Gulp task 'default' bug (#565)

* Fixed multiple dashboard.

* Fixed default task crashing.

* #216 Testing Main Header in Service-Development (AppBarComponent) (#566)

* Added tests for AppBarComponent.

* Added @types/jest to shared.

* Cleaned up test for AppBarComponent. Fixed theming. Installed and updated dependencies.

* Added more variables to tests.

* First version of loopable configuration rendering test. (#589)

* Feature/issue 335 sync api (#581)

* Added source controll to repository controller

* Added status

* Added new API for status

* Added API for pull and push

* 216 test profilemenu (#592)

* Initial test of ProfileMenuComponent.

* Replaced renderer with shallow.

* Removed todo.

* Removed a duplicate test.

* Fixed tests and updated snapshots.

* jest tests of dashboard feature (#593)

* started with dashboard

* added styling

* added filter to dashboard

* added fetch langauge saga to dashboard

* added language saga

* added organizations

* added format date

* ran npm install

* added moment and new service btn

* added search

* cleanup

* Added you have no services text and fetch current user

* Cleanup and moved componentes to shared, also added theme

* made serviceCard

* fixed some issues

* trying to rename folder

* renamed

* removed org

* added org to card

* fix sonarqube

* fixed some issues

* removed roboto

* Learna add material-ui@3.6.1 to all applications. Defined react-redux-versions. Installed missing Immutability-helper and Axios.

* fixed styling and changed truncation module

* fix filter and searchfield

* made card clickable and tabable

* fixed some pr comments

* renaming

* added null check

* removed hardcoded string

* removed unnecessary code

* removed connection to store

* removed unused code

* fixed pr comment

* removed unused code

* changed to using react 16.6.3

* removed typeface roboto

* removed comma that makes the build break

* fixed version for material-ui

* fix language file

* fixed typography

* merge

* added altinn palette

* added snapshot tests

* added more tests

* added tests for shared components

* added snapshots

* fixed sonarqube stuff

* fix codesmell

* added menu to dashboard

* fixed color of navmenu

* fix pr

* codesmell

* Jest tests for left drawer menu (#567)

* Added test for left drawer menu and refactored left drawer menu code so that the negative tests pass

* Fix sonar cloud bug

* Added more positive tests

* Fixed PR comments

* removed comment

* Fixed PR comments

* Fixed PR comments

* Fix typescript exact version (#602)

* First version of loopable configuration rendering test.

* Exact version of Typescript in all package.json.

* Added tests for tablet menu (#603)

* Initial commit for tabletdrawer menu

* Removed screen resolution setttings and added test to verify the tablet menu component

* Added tests for tablet drawer menu

* Added import Jest to test to remove red underline.

* Fix sbl layout with small screen and/or large form (#607)

* Removed the navmenu drawer that is no longer used (#601)

* fix layout for paragraph component in sbl (#616)

* 216 header review fixes (#612)

* First version of loopable configuration rendering test.

* Exact version of Typescript in all package.json. Removed Typescript from Lerna root.

* Commit.

* Added showBreadcrumbOnTablet prop to AppBarComponent. Refactored tests.

* Modified TabletDrawerMenu to show logoutButton when in tabletmode, if prop is set.

* Fixed linting errors.

* Fixed linting errors.

* Make drag n drop great again (#609)

* implement autosave (#621)

* added jest-junit, added no-ci hoist script (#613)

* added jest-junit, added no-ci hoist script

* Fixed typescript version, added back jsdom dependency

* fix versioning in package-lock-files

* Added no-ci hoist script (#628)

* built a new loadbalancer - bumped versions in kubernetes deploy files (#625)

* Fixes for tablet drawer menu after design review comments (#622)

* Fixed issues raised after design review, fixed tests

* Fixed test for AppBar.

* fix for sonar cloud code smell

* Fixes for sidemenu based on design review comments (#619)

* Initial commit for style changes

* Added onMouse events to ListItem with setting iconColor to state and passing as prop.

* Fixed state for iconColor in LeftDrawerMenu.

* Fix for sonar cloud tslint errors

* PR comment, update the lock from master

* 216 subheader underline hover (#630)

* Modified subheader hover. Removed bold, added underline.

* Fixed test compared to other branch.

* Created a API for creating a APP token. (#599)

* Created a API for creating a APP token.
Possible a temporary solution.

* Stylecop fix

* Fixed structure

* Fixed minor style issues  (#631)

* Fixed minor style issues

* Added trailing comma to fix tslint error

* Basic snapshot test of App.tsx from Service-Development. (#634)

* Add auto-save when adding, updating and deleting rules (#636)

* Forgot to add auto-save when adding, updating and deleting rules

* add auto-save for conditional rendering rules aswell

* fix sonarcloud warning

* Commited changes in package.json and lock. (#635)

* add check if sagas have been initialized (#638)

* updated header-test (#639)

* Implemented fetchLanguage in Service-Development. Updated tests. (#717)

* Sync code to master (#637)

* addedversion control header

* added components for fetch and pull

* Test ja

* added text

* Added API for branches

* updates

* updated with more stuff

* refactor

* Added API for Commit and Push

* Fixed input values and response object for pull

* Added merge conflict status

* fix stuff

* made commit work

* fixed lint

* added theme

* rename and fix hover/focus

* Added API for log of commits. Uses APP key and GIT interface.

* rename component

* fixed moreThanAnHourSinceLastPush

* removed unused

* added versionControlHeader to all react pages

* added _isMounted constant

* fixed cs

* fix code smell

* fix code smell

* Added repostatus conflicted if merge conflict

* Added boolean for merge conflicts for easy json stuff

* Added axios and fixed text

* dashboard: better text when filtered (#741)

* Issue #351 & #355 (#735)

Fixed functionality and design for check boxes and radio buttons, both for Studio and SBL.

* Updated snapshots for the drawer menu tests (#746)

* gitea:Added endpoints for discarding local changes (#744)

* Added endpoints for discarding local changes and keeping the master version of specific or all files

* Updated summary for the soruce control methods

* Removed save button. (#739)

* Uncommented the Navbar. (#742)

* Fix for bug #724 (#743)

Fix for bug #724

* Removed posibility to create text from ui-editor. (#753)

* 62 bug import of xsd must handle encoding (#758)

* Changed to XmlReader instead of StreamReader which did not handle character encodings well

* Added some guards to avoid null-pointer exception. Instead throws ApplicationError

* Added latin1 (iso-8859-1) test file and ModelController test to upload the file

* Added missing nullcheck. (#761)

* added disabled to form submit intput. Removed disable on submit and secondaryFiles. User cannot upload emtpy fil, only when primary file is select user can select additional files. (#763)

* Sync to master (#733)

* addedversion control header

* added components for fetch and pull

* Test ja

* added text

* Added API for branches

* updates

* updated with more stuff

* refactor

* Added API for Commit and Push

* Fixed input values and response object for pull

* Added merge conflict status

* fix stuff

* made commit work

* fixed lint

* added theme

* rename and fix hover/focus

* Added API for log of commits. Uses APP key and GIT interface.

* rename component

* fixed moreThanAnHourSinceLastPush

* removed unused

* added versionControlHeader to all react pages

* added _isMounted constant

* fixed cs

* fix code smell

* fix code smell

* Added repostatus conflicted if merge conflict

* Added boolean for merge conflicts for easy json stuff

* Added axios and fixed text

* updated with mergeconflict text on shareChanges

* Updated with check status from uieditor

* added jest tests for share changes

* added jest tests

* VersionControlHeaderSnapshot test

* css fix

* removed appBar snapshot

* fixed typo and tests

* Bug issue 351 (#766)

* Added missing nullcheck.

* Missing nullcheck.

* 501 xsd to jsonschema and back (#745)

* initial test of JsonSchemaToXsd

* JsonSchema2XsdSchema - almost there

* Refactored

* simple type now handles

* Convert XSD to Json Schema

* Upgraded xsd parser and json metadata parser to handle recursive types.

* More tests, and added NJsonSchema and NJsonSchema.CodeGeneration.CSharp

* Upgraded json schema parser. Reads first object type and treats it as the root element

* Minor refactoring

* More refactoring

* Refactored anonymous type name

* StyleCop

* Fixed stylecop JsonSchemaToXsd

* StyleCop

* More stylecop stuff and added missing file

* Added reference to xml schema and json schema and display in json-metadata

* Model designer now shows cardinality and type in tree-view

* added cardinality and type visualisation in react app

* Added support for xsd:choice in XSD.  Added support for overriding restrictions from supertype. Added XSD files from Skatteataten to unit tests to ensure that we support them.

* Code no longer cuts element names after first dash '-', instead dash is ignored. Also better handling of conflicts. Code now actually stores the generated random in JSON file

* Renamed attribute from JsonSchemaReference to JsonSchemaPointer to better explain that it is a Pointer

* Renamed attribute XmlScheamReference to XmlSchemaXPath to better explain that it is an XPath

* XSD to Json Schema WIP

* Borking code because of StyleCop

* Commented out XsdToJson tests

* Prototype JsonSchemaInstance generator to handle automatic generation of old JSON Metadata file

* Increased magic number MaxOccurs 99999

* Fixed test error caused by Manatee StringFormat ctor concurrency problem

* Reactivated disabled tests

* Reformated and updated code based on review comments

* Added code to copy project file template into service repository on creating a new service, updated dockerfile to copy project file into service container (#767)

* Select, group and delete components (#751)

* theme override deleted, ..and a bug was found and fixed

* new redux instance for list of active components

* selecting elements functionality

* merge fixes

* grouping with border

* delete components from activelist

* grouping works almost. Not when moving elements around

* fixed a select error

* merge fix

* rm unnecessary files

* copy from master...

* review fixes

* interface deleted

* yargs-parser missing in lock file

* yargs-parser missing in lock file 2

* type error

* build fail fix

* sonar cube fix

* sonar cube fixes + interface added in arrayLogic

* sonar qube fixes

* users can use tabbing

* fix for #688

* review fixes

* store was commented out

* Added code to restrict developers from  empty commit (#777)

* Implementation - Address Component (#768)

* Added seperate scrollbar for components. (#781)

* #701 - Missing authentication on controllers (#775)

* Added authrorization.

* Unwanted char

* Auth at controller level not individual endpoints.

* Update README.md (#780)

npm run gulp builds the necessary react applications.

* Modified configuration for designer project to copy the templates with subdirectory (#785)

* title set to Altinn Studio (#787)

* add autosave again (#796)

* Feature/issue590 upgrade gitea (#789)

* Upgrade GITEA and changes how the APIS are used because of changes in GITEA.
Also added Creation of AppToken with HTML screen scraping.  (yeah)

* Updated unit tests

* Changed signature of service use in runtime

* Fixed configuration used

* Removed def info

* Refactored and added some logging

* Fixed count for paging

* Reverted to earlier versjon

* Fixed retriavel of url

* Fixed bug for rule and conditional rendering. (#807)

* Fixed bug in traversal of anonymous types (#790)

* Fixed bug in traversal of anonymous types

* Set XmlReader to ignore whitespaces which handles texts correctly

* Feature/issue590 debug (#803)

* Added debug info

* Added more debug

* Added internal host config

* updated cookie with correct value

* use new version of build gitea image

* Remnoved debug from service

* Added custom signup header templates for gitea user registration (#810)

* Added custom signup header templates for gitea user registration

* minor design fixes for signup template

* added minor fixes for signup template

* text resource fix

* PR fix for text resource

* Create new service (#794)

* Added modal

* AltinnButton added

* Updated with post create service and get organizations

* update

* Fix popper for validation

* Added regex check

* rename file

* added functionality to suggest reponame

* Service named saved to textfile

* Added spinner

* codesmell fix

* merge master

* trying to fix failing unit tests

* fix jest tests

* Pull request fixes

* reorganized folders

* Added displaystring to simpleContent orid and simplify orid-names (#813)

* Added displaystring to simpleContent orid and simplify orid-names

* fixed unittest

* 531 monaco editor (#815)

* Added basic code editor component

* Added logic editor view to ux-editor

* updated webpack config for monaco to manual

* Add file name header for logic editor

* got basic syntax highlighting working

* update build

* save local changes

* Add support for fetching file content from server

* Move LogicEditor to shared and rename

* Small fixes

* Add support for saving file content to server from editor

* cleanup

* Add new built files for service development to gitignore

* more cleanup

* updated package-lock files

* Remove console.logs

* Revert "Remove console.logs"

This reverts commit 4dbc60d4a43e0110388c7d24ad05de1b3e1b2d80.

* Fix incorrect commit

* Fix failing build

* stylecop fix

* Update for PR comments

* Revert package.json to master

* Added code to return a httpresponsemessage for discard changes (#801)

* Added templates for linking account and registering a github account on first time login (#830)

* Small fixes (#826)

* formElements elements tabable #804

* console errors for missing keys fixed

* metrics for kubernetes cluster (#834)

* React upgrade (#829)

* Added modal

* AltinnButton added

* Updated with post create service and get organizations

* update

* Fix popper for validation

* Added regex check

* rename file

* added functionality to suggest reponame

* Service named saved to textfile

* Added spinner

* codesmell fix

* merge master

* trying to fix failing unit tests

* fix jest tests

* Pull request fixes

* reorganized folders

* added scroll to modal

* upgraded react

* ran lerna hoist

* updated snapshot

* Added altinnSpinner

* fixed jest tests

* Removed possibility to add text from paragraph. (#837)

* gitea templates (#840)

* improved metrics (#841)

* code no longer generates DataBindingName for group elements. Also fixed jsonSchema pointer strings (#852)

* removed "skriv inn" from texts as this is no longer an option (#855)

* Added iterating over all pages to retrieve full sett of repostires (#862)

* updated templates and text resource to match new sketch (#853)

* use secrets for altinn-repositories (#863)

* Feature/issue590 deletation of app kehys (#851)

* Added deleation of old App Keys.

* Updated login

* Added URL

* Removed authoirze attribute to allow call between  runtime and desigenr

* Added authentication cookies between runtime and desigenr

* Fixed pull request comments.

* removed versionControlHeader from preview (#867)

* Service not cloned (#866)

* added route and text

* added store

* added check for if repo is cloned

* updated with breadcrumbs and last commit

* added jest test and spinner

* fix some styling issues

* changed null check

* uncommented test for now

* Updated so all files related to init service is pushed to gitea upon creating a service (#869)

* added route and text

* added store

* added check for if repo is cloned

* updated with breadcrumbs and last commit

* added jest test and spinner

* fix some styling issues

* changed null check

* uncommented test for now

* Changed the way a service is created

* fix build fail

* 530 service logic view (#825)

* added service logic menu

* rightMenu is implemented. Missing buttons

* posibility for tabbing added

* temp btn added

* removed unused mat ui component

* map state to prop removed

* Add support for editing dynamics from logic menu

* icon added, new fort awesome kit added, font awesome removed from view

* menu scrollable fix

* sonar qube fix

* Move dynamics connections from toolbar to logic menu

* Fix bug when uploading data model

* Disable snapshot test for service-development

* make test results more readable

* Update comment

* Corrected summary comments

* more comment fixes

* Better solution for importing module files in dev

* _state deleted, fx-button zindex fix

* component delete fix (#888)

* Can now add items from toolbarmenu using keyboard only. (#889)

* Missed the guitarist from guns and roses (#890)

Missed the guitarist from guns and roses

* Modified projectfiel to use nuget package for service library (#887)

* 531 monaco editor bugfix (#891)

* Fix dockerfiles to get all built service-development modules

* fix weird diff

* #563 Adress Component SBL POC (#827)

* Can now connect each field to individual data model fields.

* Changes based on code review.

* Language update, and fix for onblur on api-call.

* Datamodel field is now a nested structure.

* Share common const for default key.

* Text resources now nested. Some changes to reflect new datamodelbindings.

* Bugfix.

* Added a null-check to prevent old formlayouts from crashing.

* Null checks to avoid crash on old formlayouts.

* All working, except API and RULES.

* API-calls and rules now work.

* Cleanup.

* Removed console.logs

* Can now add text-resource binding for adress-field to validate POC.

* Cleanup.

* Undo gulpfile changes.

* All works fine.

* Removed console.log

* Removed console.logs and updated validation on submit form

* Validation on form submit

* Label-key fix for select

* Typo

* Updated fileupload test.

* Updated snapshot.

* Added jest tests for service not cloned and create new service (#894)

* added route and text

* added store

* added check for if repo is cloned

* updated with breadcrumbs and last commit

* added jest test and spinner

* fix some styling issues

* changed null check

* uncommented test for now

* Changed the way a service is created

* fix build fail

* Added jest tests for clone service

* fixed breaking jest tests

* updated to use utc format on moment

* updated with createNewService tests

* fix build

* added _isMounted to get

* removed snapshot

* Modified gitea configuration to show registration button. added favicon.ico in startpage and index page to fix favicon error (#897)

* Update altinncore-deployment.yaml (#901)

* Dummy design system landing page (#907)

* Added a dummy landing page for design system.

* Import fix.

* New selectors for designer page and testcafe tests for Issue #216 (#902)

* Added npm start script to package.json

* ACTUALLY added npm start script to package.json

* Added xunit output file

* test script in package.json

* New nagivation tests

* New tests, switched to headless mode, xUnit reporter file

* changed test script to dev env

* spelling error in reporter

* Switched to junit reporter, changed testdata to automation user and email, updated tests with new testdata

* updated with correct hover state on filter (#903)

* minor style fix for header (#908)

* Added missing cookie domain for runtime kubernetes (#919)

* Added missing cookie domain for runtime kubernetes

* Critical fix

* Bump those numbers (#922)

* 127 calculations (#884)

* added service logic menu

* rightMenu is implemented. Missing buttons

* posibility for tabbing added

* temp btn added

* removed unused mat ui component

* map state to prop removed

* Add support for editing dynamics from logic menu

* icon added, new fort awesome kit added, font awesome removed from view

* menu scrollable fix

* sonar qube fix

* Move dynamics connections from toolbar to logic menu

* Fix bug when uploading data model

* Disable snapshot test for service-development

* make test results more readable

* Update comment

* Corrected summary comments

* calculation added

* more comment fixes

* zIndex fix, sonar qube fix

* merge conflict comments deleted

* merge conflict comments deleted. sonar qube fix

* Closing brace should be followed by blank line fix

* key error fix, + review fixes

* new function for getCalculationFiles

* this.props.closeFileEditor added back in

* added calculation folder to path (#925)

* added calculation folder to path

* not a constant

* Fixed component not mounted bug on api-call (#929)

* Update altinncore-deployment.yaml (#933)

Updated with correct name for designer internal host

* Minor styling fixes for logic editor (#932)

* 336 handle merge conflict with monaco (#895)

* Added basic code editor component

* Added logic editor view to ux-editor

* updated webpack config for monaco to manual

* Initial commit.

* Made styling and grid for HandleMergeConflict. Small fixes in overflow and scrolling.

* Add file name header for logic editor

* got basic syntax highlighting working

* Initial commit.

* update build

* Changes.

* save local changes

* Add support for fetching file content from server

* Move LogicEditor to shared and rename

* Added discard button and popover. Added AltinnPopover shared component.

* Small fixes

* First commit with Validate changes.

* Removed unused module.

* Add support for saving file content to server from editor

* cleanup

* Add new built files for service development to gitignore

* more cleanup

* updated package-lock files

* Remove console.logs

* Revert "Remove console.logs"

This reverts commit 4dbc60d4a43e0110388c7d24ad05de1b3e1b2d80.

* Fix incorrect commit

* Fix failing build

* stylecop fix

* Update for PR comments

* Revert package.json to master

* Some small changes.

* Added loading of one file in fileeditor.

* Overall new design and Lagre Fil button.

* Added api for staging changes to a specific file

* Fix for stylecop exception

* Routing works. Redirect in VersionControlHeader. API returns result. Design changes. More.

* HandleMergeConflictValidateChanges modifications.

* All done except - Avslutt uten å løse konflikt - functions.

* Fixed mode prop number to string, merge error.

* Updated Snapshots.

* Fix for stylecop

* Small fixes. Added text to language api.

* Fixed stylecop issue

* First tests. Do not pass.

* Tests...

* Added api to abort merge operation

* Added abortMerge.

* fixed abortmerge to remove the conflict tags. Fixed url problem in handlemergeconfit page

* Fix for stylecop issue

* Removed console.log in handleMergeConflictReducer.

* Fixed test in progress.

* Removed unused IDs.

* Docummentation summary -PR fix

* Fixed commented code. Console.error. Moved some packages to devDeps. Executed lerna bootstrap hoist.

* removed httpresponse return type from service

* Update altinncore-deployment.yaml (#939)

updated with internal urls intead of external

* Uppgrade SeresXsdParser to handle XSD better (#935)

Multiple work on SeresXsdParser with accompanying xsd2json and json2xsd conversion
* Attribute enum and top-level annotations
* Cleaned up name handling
* Support <choice><sequence>.., and added datatype xs:long
* Made XSD conversion tests more generic
* More datatypes
* Don't fail when trying to parse minLength/maxLength
* xs:attribute on xs:simpleContent should create a special Value attribute for xs:extension base type
* Fixed minInclusive and maxInclusive. No type given is xs:anyType => JsonSchemaType.String, and minor tweaks to special value property.
* Support namespaces
* Support attribute refs
* Support xsd:any
* When appending type for referenced object, look at referencing object for cardinality.
* added existing texts so that we can run SeresXsdParser with mocked repository. Fixed a few missing cardinalities. Renamed InstanceModelGenerator
* orid may be required, value is required
* added restrictions
* Attribute parsing should work prettty decent now
* Added support for xs:list
* Added support for minExclusive/maxExclusive, added @type for xmlAny and fixed typo
* Prevent multiple Minimum and/or Maximum entries
* Expand AttributeGroup
* Added limited support for xs:list, xs:any, fixed name simplification collisions, added support for data types Base64Binary and AnyURI
* Improved attribute ref and added support for simpleContent restriction
* Support for simpleContent restriction with base type and attributes
* Handle missing objects (from imported xsds?)
* Added logging, cleaned up some debug code and fixed last known XSD parse bug
* All known XSDs can be converted now!
* Use the TestLogger
* Changed element naming from cutting name after - , to only remove -
* Added tests to for jsonSchema to xml schema conversion

* Add workflow file (#931)

* Added workflow to createService++

* fix for add/update workflow file

* fixed workflow model

* fix build error

* fix before pr

* Update AltinnFilterChip.tsx (#938)

Added box-shadow

* Sync service to master upgraded (#916)

* updated with correct hover state on filter

* updated with fixes for sync bar

* updated text

* Small translation fixes.

* Small textual fixes.

* Make tests great again (#955)

* 736 datamodel intellisense (#960)

* created working poc for data model intellisense

* Improve intellisense behaviour

* update naming

* Clarkt/708 fix dnd (#900)

* possible halfway fix, with console logs

* updated dropItem function

* components working, now to fix containers

* update redux-store with internal state

* fixed wierd bug

* commit with no console logs, components working, containers not working

* updated package lock files

* fixed errors with variable declared but not used

* updated package-lock

* fixed failing test, expected string[] but got string

* updated package-lock.json files

* Added information card component to display work in progress page on all under construction pages (#964)

* Added informationcard template component

* added text resources for english

* Made the language as optional parameter

* Modified code to pass language object to the subapp. added css for different breakpoints

* Added props in router for the information card

* Added tests for AltinnInformationCard component

* Update en.ini

Small changes.

* Update nb.ini

Minor textual changes.

* 918 jest test handlemergeconflict (#966)

* Added tests for AbortMerge and DiscardMerge buttons.

* Minor modification of mock code.

* Added tests. Fixed bug when repoStatus.contentStatus was null.

* Removed slash in Appbar when activeSubHeaderSelection is null.

* Helm charts for altinn.studio (#968)

* Added reading of workflow file in runtime (#971)

* Added workflow to createService++

* fix for add/update workflow file

* fixed workflow model

* fix build error

* fix before pr

* Added functionality for moving service instance forward in workflow

* Fix for vertical alignment (#980)

* Fix for vertical alignment

* Updated snapshot for AltinnInformationCard

* i would like good charts, please (#994)

* hardcode true for gitea install lock (#1001)

* fix deployment templates (#1004)

* 918 handlemergeconflict outstanding tasks (#992)

* Added tests for AbortMerge and DiscardMerge buttons.

* Minor modification of mock code.

* Added tests. Fixed bug when repoStatus.contentStatus was null.

* Removed slash in Appbar when activeSubHeaderSelection is null.

* Added white background and shadow on entire fileEditor grid container, if shadow prop is true.

* Hiding VersionControlHeader when hasMergeConflict is true.

* Removed menu prop on mergeconflict in routes, hiding leftDrawerMenu.

* Updating fileEditor height on resize.

* Merge conflict OK green messageBox centered. SubTitle text on two rows minimum.

* Added stagefile flag to stage changes and modified code for the same

* Minor text fix.

* Added spinner when during file load in monacoEditor.

* Fixed bug when text breaks over two lines in <span>.

* Fix for stylecop issues

* Update HandleMergeConflictContainer.tsx

Fixed consecutive lines.

* 501 xsd to jsonschema (#1019)

New XSD-parser and Json Schema-parser, so we can go full circle XSD->Json Schema->XSD->Json Schema

* #892 fix (#1028)

* 918 handlemergeconflict api and stagefix (#1021)

* Added tests for AbortMerge and DiscardMerge buttons.

* Minor modification of mock code.

* Added tests. Fixed bug when repoStatus.contentStatus was null.

* Removed slash in Appbar when activeSubHeaderSelection is null.

* Added white background and shadow on entire fileEditor grid container, if shadow prop is true.

* Hiding VersionControlHeader when hasMergeConflict is true.

* Removed menu prop on mergeconflict in routes, hiding leftDrawerMenu.

* Updating fileEditor height on resize.

* Merge conflict OK green messageBox centered. SubTitle text on two rows minimum.

* Added stagefile flag to stage changes and modified code for the same

* Minor text fix.

* Added spinner when during file load in monacoEditor.

* Fixed bug when text breaks over two lines in <span>.

* First test.

* Update HandleMergeConflictContainer.tsx

Removed consecutive lines

* Fixed some white space. Removed unused queryParameter in saveServiceFile.

* Modified saveservice and getservice to avoid passing '..'

* Fixed API usage and render logic.

* Fixed coding style.

* Removed unused styling.

* Logic editor fix (#1030)

* fix logic editor layout

* remove unnecessary calc in css

* Fix Cannot access closed stream error (#1036)

* Update README.md (#1063)

* add selectors for charts (#1061)

* fix for #804 deselecting elements (#1055)

* fix for #804 deselecting elements

* Object.keys instead of Object.entries

* id not needed

* tsconfig.json change not needed

* 627 validationmessages (#1046)

* Added basic error report

* Fix layout for error report header

* remove console.log

* use correct icon and colour

* Updated mock state and snapshot for unit test

* Sanitize top-level element type names (#1066)

* 945 rulehandler (#1070)

* fix for #804 deselecting elements

* Object.keys instead of Object.entries

* id not needed

* tsconfig.json change not needed

* add dynamics into path to find RuleHandler.js

* build fix

* no hard coded values

* Added github url for altinn studio for work in progress pages (#1079)

* Stylecop rule setting changes (#1075)

* stylecop rule setting change for documentation rules

* stylecop rule setting changes for layout and maintainability rules

* sylecop rule setting changes for spacing rules, readability rules

* 749 serverside validation (#1077)

* Make language api available for Runtime

* Update repsonse format for validation errors/warnings for repsonse to client

* 804 jump around (#1076)

* border frames the elements without chaning their size

* css fixes

* fixing bug + clean up

* jumping on select fix

* css fix

* fix after design review

* disable containers and allow text-marking when editing components (#1084)

* bugfix for datamodel intellisense for seres xsd (#1089)

* Fixed delete URL. Added Break to foreach. (#1081)

* Update validation file location in service repo (#1091)

* Quick fix for demo of validation errors (#1093)

* Refinement and label

* Update bug_report.md

* Added label and assignee

* Create analysis.md

* Update analysis.md

* Added serilog logging to designer and runtime projects (#1094)

* Changed so ServiceName is used in FormFIller (#1111)

* Added Languages folder to Runtime build (#1124)

* Minor update

* Better badges

* About page (#1097)

* initial commit

* more admin stuff

* added methods for get and set description in servicemetadata file

* added option of editing description

* fix scroll

* Clean up

* forgotten fix

* clean up

* some fixes

* Fixed focus on btn and fixed unit tests

* added moment

* fixed pr comments

* added tests

* fixed snapshot

* fixed broken test

* #342 navigate to receipt page (#1098)

* Started work on reciept page.

* Started work on reciept page in react app.

* Moved reciept and submit steps to be part of the SPA.

* Now updates workflow step when api-call is done.

* Moved check before redirect check.

* Fixes for stylecop.

* Fixes for stylecop - the refixening

* Updated fix for import.

* Works on build locally. Lets see..

* Fixed casing issue. Thanks Jesper.

* Removed unused controller method.

* Updated disbaled checks for save and submit.

* Fixed after code review.

* Updates after code review.

* Fixes after code review.

* Now uses getLanguageForKey for text.

* Now fetches language using getLanguageFromKey

* Updated test.

* Reversed scroll change.

* Clarkt/1006 scrolling (#1128)

* updated package-lock.files

* before master merged

* updated package versions, removed deprecated packages

* scrolling, height and position fixed for rightdrawer

* updated snapshot because of failing test

* updated code where developers do not follow the maximum code line length rule

* updated package-lock.json files throughout the application

* 750 single field validation (#1114)

* Added support for single field validation server side

* Added support for setting a field to trigger validation front-end

* Fix naming

* remove unnecessary default value

* fix duplicate check

* Added gui option for triggering single field validation

* move ValidationTriggerField to header

* merge with master - missing file

* Remove validation trigger switch after design discussion

* Fix failing build

* added md for known Issues (#1120)

* Feature/1117 create runtime react app (#1146)

* Renamed ux-editor to runtime

* Git magic to keep file history on copied files

* Git magic to keep file history on copied files

* Updated runtime webpack name, and what app is loaded in runtime.

* Added build script to package.json

* Updated gitignore with new app.

* Updated package name for runtime

* Updated gulpfile.

* Copied gulpfile from Designer to runtime.

* Updated docker, gulp, and package files. Updated readme.

* Removed runtime tasks from Designer gulpfile.

* Fixed typo.

* Added runtime app as dependency

* Typo - removed dep

* Trigger pipelines.

* Updates after code review.

* Update runtime src (#1151)

* Updated src in runtime

* Git magic to persist file history

* Magic to persist file history

* Rename runtime react app (#1154)

* Renamed to react-app.js to avoid breaking old services.

* Typo.

* About page (#1147)

* initial commit

* more admin stuff

* added methods for get and set description in servicemetadata file

* added option of editing description

* fix scroll

* Clean up

* forgotten fix

* clean up

* some fixes

* Fixed focus on btn and fixed unit tests

* added moment

* fixed pr comments

* added tests

* fixed snapshot

* fixed broken test

* Added serviceId, and save to config file

* removed some margin added post

* fix after remove margin

* fixed jest tests

* Updated texts

* pr fixes

* ran hoist

* Added github pull request extension to projecy (#1165)

* bug fix 899 and 1122 (#1155)

* bug fix 899 and 1122

* fix tests

* added test for create new repo

* fixed test description text

* The parametername owner in the operations GetServiceName and SetServiceName is incorrect (#1175)

* 1033 replace seresxsdparser (#1160)

* Removed use of SeresXsdParser (except for in a few unit tests)
* Use XmlReader for xsd document (it handles encoding automatically).
* Enable new XSD parser:  XsdToJsonSchema and JsonInstanceModelGenerator

* 1005 3rd party components fix (#1143)

* updated package-lock.files

* 3rd party fix for designer

* stuff

* before master merged

* updated package versions, removed deprecated packages

* scrolling, height and position fixed for rightdrawer

* updated snapshot because of failing test

* updated code where developers do not follow the maximum code line length rule

* 3rd in designer fixed

* thirdparty in runtime

* if needed in for in-loop fix

* deleted console.log

* merge with master + moved from designer to runtime

* ..props added

* removing thirdparty (for designer) from runtime

* sonarcube fix

* render error fix

* build fix

* ignoring eval

* deleted some more

* sonarclound fix

* Added gulp-develop-dashboard (#1169)

* Will now remove eventListeners on unMount. (#1198)

* feature/1082-text-area (#1170)

* Added text area for ux-editor and runtime.

* Removed onDataChange to avoid rerender on each keystroke.

* OnDataChange now updates local state. This is persisted onBlur.

* Added some tests and updated snapshot.

* Fix for sonarcloud.

* Updated color of editModal labels.

* Updates after design review.

* Updated snapshot.

* Created a shared check box component.

* Moved readOnly to optional prop on all components.

* fix deploy (#1203)

* Feature/734 soft validations (#1185)

* Added validation message component

* Update form components to use new message component

* updated validation message format

* Added generic validation message rendering to address component

* updated api response format for validation result to client

* small fixes

* Mapping from api format to redux format for validations. Removed eval from validations

* updated tests, added unit test for validation mapping logic

* Add id to message component

* cleanup

* does this fix sonarqube analysis?

* change validation test to ts file

* test changing encoding of file

* revert encoding

* might help to fix the correct file...

* fix sonarqube issues

* removed console.log statement

* fix code smell, trigger new build

* added es7 to build libs for runtime

* Bugfix. (#1207)

* update message type for warning messages (#1213)

* Feature/1197 fix build pipeline (#1211)

* Fix deploy to support updated build

* fix environment variable

* added deploy token to cookie

* fix unit test

* Added new solution for altinn platform and project for data storage (#1214)

* Added new solution for altinn platform and project for data storage

* Added Altinnplatform project to docker ignore

* feature/975-escape-editor (#1180)

* escape editor on esc

* align

* queryselector not needed and it's slower than getElementById

* sonarcloud fixes

* build fix

* typo fix

* build fix, typo..

* react fixes

* mergeconflict adjustments for escaping on esc

* tabbing and esc is now possible

* ts fix + code smell fix

* alphabetically ordered props

* feature/1023-remove-old-navigation-header (#1217)

* Fix deploy to support updated build

* fix environment variable

* added deploy token to cookie

* fix unit test

* Removed old navigation header

* fix jest tests

* fix sonarqube build

* trying to fix build

* Feature/1197 fix build pipeline (#1225)

* Fix deploy to support updated build

* fix environment variable

* added deploy token to cookie

* fix unit test

* Removed old navigation header

* fix jest tests

* fix sonarqube build

* trying to fix build

* added link to dashboard in img

* fix jest tests

* fix so that dashboard atlest loads if api fails (#1245)

* Added code to set organisation and service parameters to test a service (#1248)

* Removed existing runtime db project (#1222)

* 311 db integration tests (#1224)

* Enable run locally agains cosmos and blob storage

* Added integration tests to db code

* Integration tests use same configuration settings as platform storage

* Changed namespace

* Renamed dataservice to platform storage

* downgraded dotnetcore to 2.1.0

* Corrected some typos (#1268)

* Bug/1096 - fix dashboard not loading (#1260)

* fix so that dashboard atlest loads if api fails

* Added logging to app ley creation

* Feature/1199-fix deploy pipeline (#1256)

* added flag for should deploy pipelien

* fix build

* Connected runtime to correct claim (#1269)

* Feature/374 datepicker (#1208)

* added datepicker as component

* removed unnecessary package-lock file

* added datepicker component to runtime

* datepicker for runtime added. settings for it in .cshtml file.

* removed obsolete plus

* removed classname used for debug purpose

* removed console.log statement

* renamed state and props for datepicker

* changes do we use description instead of title for rendering description

* removed console.log and simplified switch statement

* added filter for filtering out codelist repos (#1275)

* added filter for filtering out codelist repos

* Update servicesOverview.tsx

fix pr

* bug/Runtime-caches-build-of-service-implementation-files (#1271)

* fix to only cache when reloading page.

* Feature/290 binary attachment studio view (#1255)

* Added fileUpload designer view. Created some shared components.

* Updated value and onChange functions.

* Updated snapshot.

* Removed unused method.

* Sorted our languge ini files in alphabetical order.

* Fixes after code review.

* added log on delete app key (#1290)

* Bug/1096 add more logging (#1297)

* added log on delete app key

* Added code so add key waits for deletion of key

* Feature/291 binary attachment (#1294)

* quick test with react-dropzone

* added server side handling of file upload

* cleanup

* Revert FileUploadComponent back to original

* Fix api for file upload

* add newline to end of file

* revert unneccesary changes

* add missing newline at end

* remove var declarations

* fix stylecop errors

* Update README.md

* Updated label

* removed stopPropagation (#1314)

* Feature/1177 fetch runtime js from runtime pod (#1287)

* added runtime app to runtime image build

* rename react-app and removed from create service

* Fix gulp with renaming

* git ignore

* remove wwwroot content

* added endpoint for fetching runtime files

* added endpoint for fetching runtime resources

* clean up

* fix stylecop

* trying to fix build

* new trying to fix build

* Fix groupings in gitignore

* added exclusion of webpack files

* Create question.md

* Update analysis.md

* Update bug_report.md

* Update question.md

* Update feature_request.md

* Update user-story.md

* fixed url in runtime to return to service page (#1317)

* Feature/1125 update altinn apps helm charts traefik (#1352)

* Modified and moved Helm charts for Altinn Apps.

* Fixed more delpoyment config.

* Removed repository placeholder in values.yml and made required. Modified som text.

* Feature/1177 rename react app (#1356)

* rename to ui-editor and removed from wwwroot

* ran npm install

* removed unused stuff

* Fix test that trows error

* Feature/1193 update platform storage rest api (#1357)

* Updated data model according to altinn.docs

* Updated instance model and controller

* Added metadata classes to be used by dataController

* changed from array to dictionary on data in instance

* compoiler error fixed

* Updated instance tests, controller and model

* Updated platform storage test

* compiler error fix

* Upload data initially works

* Added support for multipart mime message.

* Upload data is async streams, download not quite working yet

* Uppgraded rest api. now works get file

* sjekker inn siste kode.

* Ensure that partitionKey is a string, otherwise readOne will fail

* Deleted attachementcontroller. It is replaced with dataController

* removed "only in norwegian"

* Feature/632 improve design on components (#1358)

* Feature/632 improve design on components (#1397)

* added icons for components and updated texts

* removed right aligned text label for added component

* updated references to a lot of icons.

* updated icons to point to correct icon set

* updated color for icon that is dragged into formEditor

* updated tests and snapshots

* removed unnecesssary id

* changed comma to semicolon

* fixed tslint:disable rule not working

* updated path to lint-json, and fixed linting error

* cleaned up a lot of linting errors

* removed unnecessary code that was commented out

* added interface for componentIcons

* shrank icons in right toolbar slightly

* 311 service implementation (#1374)

* added service implementation for instance

* Updated instance implementation with return type and added instance model

* Modified controller, model to used guid as datatype for instance id. Modified parameter names

* Updated instanceid with guid in authorization, removed org and service GetNewInstanceId

* Added new implementation for saving instance odcument in disk, Modified the format of form data storage in disk

* stylecop fix

* Not required

* Changed var to instance object

* Added htmlwebpack plugin package, modified the path for update curren… (#1403)

* Added htmlwebpack plugin package, modified the path for update current state

* Reverted the package json changes

* Trying to fix dashboard by changing from void to task in method (#1408)

* Please work

* fix

* Feature/1126 storage in the cloud (#1404)

* Added debug controller

* trying to fix db sln

* removed unnecessary settings

* trying to fix loading of key vault values

* fix base path

* readded app settings

* fix appsettingsfile

* deleted debug controller

* removed stuff

* Removed unecessary getDerivedStateFromProps. (#1411)

* Update user-story.md (#1401)

* "Test i testmiljø" page (#1419)

* Initial commit.

* Added button to open manual testing.

* Removed consecutive linefeeds.

* Service Implementation - Updated (#1423)

* Added service implementation to save form data in blob

* Updated instancesilocaldev to use IInstance itnerface, updated startup with dependency injection for apps modus, removed the servicemode property from request context

* Added api url for development environment

* Updated hardcoded url with configuration

* Modified runtime mode to "AltinnStudio" (#1454)

* Feature/291 binary attachement sbl (#1407)

* quick test with react-dropzone

* Added fileUpload designer view. Created some shared components.

* Updated value and onChange functions.

* Updated snapshot.

* Removed unused method.

* Custom styling for list and component.

* Styling improvements and added language support.

* Removed duplicate language keys

* Language cleanup.

* Created attachmentUpload saga

* Added fileuploader component and basic attachment APIs

* Fixed duble slash on CSS call.

* Updated attachment apis to reflect new instanceId guid format

* StyleCop review fix.

* Brutal stylecop.

* Code review fixes.

* Code review v2

* Language update.

* Fixed after code review.

* StyleCop fix.

* Renamed deleteAttachment to deleteAttachmentSaga

* Moved saga logic to util and added test.

* Added register component (#1443)

* Added register component and updated storage to dotnet core 2.2

* Trying to trigger build

* trying to fix dockerfile

* added docker file and updated docker compose

* Bug/1096 stupid dashboard (#1460)

* Please work

* fix

* updated with more logging

* added logging to gitea api

* fixed stupid logging

* removed some logging

* bug/binary-attachment-url (#1461)

* quick test with react-dropzone

* Added fileUpload designer view. Created some shared components.

* Updated value and onChange functions.

* Updated snapshot.

* Removed unused method.

* Custom styling for list and component.

* Styling improvements and added language support.

* Removed duplicate language keys

* Language cleanup.

* Created attachmentUpload saga

* Added fileuploader component and basic attachment APIs

* Fixed duble slash on CSS call.

* Updated attachment apis to reflect new instanceId guid format

* StyleCop review fix.

* Brutal stylecop.

* Code review fixes.

* Code review v2

* Language update.

* Fixed after code review.

* StyleCop fix.

* Renamed deleteAttachment to deleteAttachmentSaga

* Moved saga logic to util and added test.

* Added altinn studio endpoint as a general setting.

* Fixed after code review.

* Feature/632 improve design on components (#1420)

* added icons for components and updated texts

* removed right aligned text label for added component

* updated references to a lot of icons.

* updated icons to point to correct icon set

* updated color for icon that is dragged into formEditor

* updated tests and snapshots

* removed unnecesssary id

* changed comma to semicolon

* fixed tslint:disable rule not working

* updated path to lint-json, and fixed linting error

* cleaned up a lot of linting errors

* removed unnecessary code that was commented out

* added interface for componentIcons

* shrank icons in right toolbar slightly

* replaced svg with fort awesome icon

* used title attr for component to get icon, which changed when you changed the title...

* updated toolbar styling for hover and pointer

* updated how we get value from datepicker field, and how we push changes to store

* removed unnecessary semicolon

* correced incorrect camelcasing on

* Feature/1193 query time test (#1449)

* Added test class to measure cosmos db queries

* added more applicaiton owners

* added more application ids

* Finalized test queries

* Added application insights

* Fixed merge errors and added pickup of application insights instrumentationkey

* added delete operations for instances and deletes. As well as tests and cleanup of repository.

* Fixed compilation errors

* updated program to call correct directory. increased version of application insights to 2.2.0

* Feature/1278 create register component (#1466)

* Added register component and updated storage to dotnet core 2.2

* Trying to trigger build

* trying to fix dockerfile

* added docker file and updated docker compose

* Added models

* Updated register with wrapper and models

* Using serviceLibrary models instead

* fix build failed

* updated service library with missing model values

* fixed endpoints

* added readme file for Register component

* updated project files with ini-parser-netstandard (#1475)

* Moved register out from platform and renamed platform (#1478)

* Feature/1103-disabled-lock-view (#1415)

* React updated to support hooks
* #1103 "disabled/locked" view
* solves #1247 .

* bug/1351-unable-to-fetch-language

* Updated loggin messages, fixed bug in reading of config file (#1505)

* Feature/632 improve design on components (#1497)

* added icons for components and updated texts

* removed right aligned text label for added component

* updated references to a lot of icons.

* updated icons to point to correct icon set

* updated color for icon that is dragged into formEditor

* updated tests and snapshots

* removed unnecesssary id

* changed comma to semicolon

* fixed tslint:disable rule not working

* updated path to lint-json, and fixed linting error

* cleaned up a lot of linting errors

* removed unnecessary code that was commented out

* added interface for componentIcons

* shrank icons in right toolbar slightly

* replaced svg with fort awesome icon

* used title attr for component to get icon, which changed when you changed the title...

* updated toolbar styling for hover and pointer

* updated how we get value from datepicker field, and how we push changes to store

* removed unnecessary semicolon

* correced incorrect camelcasing on

* removed unused collapse for All components, changed icon for collapsible in toolbar, and changed color

* removed unused import

* Added mock files to register component (#1487)

* Moved register out from platform and renamed platform

* updated nuget package

* Added mock to register component

* fix endpoint

* fix read me

* making in acctually work

* changed to not found

* changed to a bool

* trigger build

* trying not to trigger build

* bug/file-upload-component (#1529)

* Minor fixes after test feedback.

* Fix for test.

* Feature/1508 create profile component (#1526)

* Added profile sln

* added more stuff to profile

* added missing setting in docker file

* Fix broken build

* fix users controller

* fixing profile component

* added mock to profile comp

* trying to debug

* log all the way

* log log log

* parse to bool

* trying again

* trying to fix value read from kubernetes

* here we go again

* clean up

* pr fixes

* updated with instuctions for profile

* added testdata info

* Update service library with user type enum and updated nuget package (#1547)

* updated service library

* updated service library

* fix build

* fixed testdata (#1553)

* Update appsettings.json (#1558)

* feature/1396-modify-deploy-controller (#1552)

* Removed old deploy razor view + changed client routing.

* Added deployment models, changed some logic.

* Minor cleanup.

* Minor minor cleanup.

* Code review.

* Fixed after code review.

* StyleCop you slut

* STYLE ME UP INSIDE

* Simplified status check.

* Minor fix.

* Null check for deploy response. (#1573)

* Removed old deploy razor view + changed client routing.

* Added deployment models, changed some logic.

* Minor cleanup.

* Minor minor cleanup.

* Code review.

* Fixed after code review.

* StyleCop you slut

* STYLE ME UP INSIDE

* Simplified status check.

* Minor fix.

* Added a simple null check.

* Fixed C# warnings and added some structure to ServiceLibrary (#1575)

* No more warnings

* fix enums

* fix models.workflow

* fixed a lot of things

* fixed more stuff

* fixed all models

* fixed services

* fixed some references

* Update ZipArchiveExtensions.cs

removed an extra the

* Fix so newest nuget package is used when creating service (#1576)

* No more warnings

* fix enums

* fix models.workflow

* fixed a lot of things

* fixed more stuff

* fixed all models

* fixed services

* fixed some references

* Update ZipArchiveExtensions.cs

removed an extra the

* trying to fix service templates

* Updated data api to not  handle formId other than in creation (#1571)

* Updated data api to not  handle formId only in creation

* created new project for interface classes

* fixed bug in storageclient

* refactored and renamed storage interface

* updated api to start with api/storage/v1

* Renamed TEst to Storage.IntegrationTest

* Returnes more appropriate status codes on failure. (#1583)

* Feature/1276 create authentication component (#1584)

* Added authentication component to Platform

* Added comments to startup to comply with stylecop

* Updated ReadMe with information on authentication component

* feature/1399-cluster-information-application (#1524)

* Created application skeleton.

* Simple pod controller with DI for our kubernetes api wrapper.

* Dockerized application.

* Renamed to deploymentsController

* Added dummy endpoint

* Helm charts.

* Added debug info.

* Added cors + helm template setup with values

* Removed unused controller.

* StyleCop compliant.

* Keeping role, rolebiding and SA as own files as of now.

* Fixes after code review.

* Trying to add stylecop.

* Stylecop now working.

* Added solution files.

* Updated xml file path.

* feature/1398-csharp-compile-api (#1587)

* Added compile controller.

* Added auth, changed to POST

* Created a shared compile helper class for reuse.

* Some cleanup for stylecop.

* Only models.

* Only Models.

* Doc.

* Feature/1276 create authentication component (#1590)

* Added reference to Altinn3 rulest and documentation file i project.

* removed auto generated code

* Added a debug controller and updated readme

* Updated comment

* Feature/1166 create authorization component (#1591)

* Initial commit

* Implemented the authorization component with a debug controller

* Simplified configureservices
  • Loading branch information
Mats Gimming Myhre authored Apr 25, 2019
1 parent 530f1d2 commit 2ab9ac9
Show file tree
Hide file tree
Showing 1,011 changed files with 154,042 additions and 37,439 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ docker-compose.*.yml
**/obj
src/react-apps/ux-editor/node_modules
src/react-apps/ux-editor/compiled
src/Altinn.Platform
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/analysis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: Analysis
about: Create an analysis for a specific area in Altinn Studio
labels: analysis
---

## Description
> Description of the the problem or area that is to be analysed.
> Links to relevant resources, documentation or other issues. Screenshots if relevant.
Lorem ipsum

## In scope
> What's in scope of this analysis?
Lorem ipsum

## Out of scope
> What's **out** of scope for this analysis?
Lorem ipsum

## Constraints
> Constraints or requirements (technical or functional) that affects this analysis.
Lorem ipsum

## Analysis

Lorem ipsum

## Conclusion
> Short summary of the proposed solution.
## Tasks
- [ ] Is this issue labeled with a correct area label?
- [ ] QA has been done
35 changes: 12 additions & 23 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,24 @@
---
name: Bug report
about: Create a bug report to help us improve Altinn Studio

labels: bug
---

**Describe the bug**
A clear and concise description of what the bug is.
## Describe the bug
Lorem ipsum

**To Reproduce**
## To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.
3. See error

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
## Expected behavior
Lorem ipsum

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
## Screenshots
> If applicable, add screenshots or animated gif to help explain your problem.
**Additional context**
Add any other context about the problem here.
## Additional info
> Add any other relevant context info about the problem here.
> For example OS (Windows, MacOS, iOS), browser (Chrome, Firefox, Safari), device (iPhone, laptop), screen-size, etc.
23 changes: 14 additions & 9 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
---
name: Feature request
about: Suggest an idea you have for Altinn Studio

labels: feature-request
assignees: lvbachmann
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Is your feature request related to a problem? Please describe
> A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Lorem ipsum

## Describe the solution you'd like
> A clear and concise description of what you want to happen.
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Lorem ipsum

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
## Describe alternatives you've considered
> A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
## Additional context
> Add any other context or screenshots about the feature request here.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Question
about: Ask a question related to Altinn Studio
labels: question
---

## Your question
...

## Additional context
Add any other context, screenshots or code that might help us understanding and answering the question.
30 changes: 13 additions & 17 deletions .github/ISSUE_TEMPLATE/user-story.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
---
name: User story
about: Functional user story for Altinn Studio

about: Create a user story for Altinn Studio
labels: user-story
---

**Functional architect/designer:** @-mention
**Technical architect:** @-mention

**Description**
Document the need briefly/for functional stories "As a user X I need Y so that Z"

**Sketch (if relevant)**
(Screenshot and link to Figma, make sure your sketch is public!)
## Description
Document the need briefly for the story "As a user X I need Y so that Z"

**Navigation from/to (if relevant)**
This functionality is reached from...
## Screenshots
> Screenshots or links to Figma (make sure your sketch is public)
**Technical considerations**
## Considerations
Input (beyond tasks) on how the user story should be solved can be put here.

**Acceptance criterea**
- What is allowed/not allowed
## Acceptance criteria
- What is allowed/not allowed (negative tesing)
- Validations
- Error messages and warnings
- ...

**Tasks**
- [ ] Example task
## Tasks
- [ ] Verify that this issue is labeled and written correctly (remove unused stuff, add missing stuff, verify tasks). DoP.
- [ ] Documentation (if relevant)
- [ ] Test / QA (if relevant)
16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ cross/rootfs/
*.VisualState.xml
TestResult.xml

#JUNIT
junit.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
Expand Down Expand Up @@ -308,15 +311,26 @@ src/react-apps/applications/ux-editor/dist
src/react-apps/applications/service-development/node_modules
src/react-apps/applications/service-development/compiled
src/react-apps/applications/service-development/dist
src/react-apps/applications/service-development/js
src/react-apps/applications/dashboard/node_modules
src/react-apps/applications/dashboard/compiled
src/react-apps/applications/dashboard/dist
src/react-apps/applications/runtime/node_modules
src/react-apps/applications/runtime/compiled
src/react-apps/applications/runtime/dist

######### Built react apps for runtime ###########
src/AltinnCore/Runtime/wwwroot/runtime/css/react
src/AltinnCore/Runtime/wwwroot/runtime/js/react

######### Built react apps ###########
######### Built react apps for designer ###########
src/AltinnCore/Designer/wwwroot/designer/css/react
src/AltinnCore/Designer/wwwroot/designer/js/react
src/AltinnCore/Designer/wwwroot/designer/js/lib
src/AltinnCore/Designer/wwwroot/designer/css/lib
src/AltinnCore/Designer/wwwroot/designer/css/font-awesome
src/AltinnCore/Designer/wwwroot/designer/css/fonts
src/AltinnCore/Designer/wwwroot/designer/css/bootstrap*.css

# Jest test coverage
coverage
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"DavidAnson.vscode-markdownlint",
"msjsdiag.debugger-for-chrome",
"EditorConfig.EditorConfig",
"eg2.tslint"
"eg2.tslint",
"github.vscode-pull-request-github"
]
}
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@
"**/publish/**": true,
"**/Debug": true
},
"typescript.surveys.enabled": false
"typescript.surveys.enabled": false,
"cSpell.words": [
"api",
"i",
"kubernetes",
"wrapper"
]
}
88 changes: 44 additions & 44 deletions Altinn3.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA0001" Action="Error" />
<Rule Id="SA0002" Action="None" />
<Rule Id="SA1000" Action="Error" />
<Rule Id="SA1001" Action="Error" />
<Rule Id="SA1002" Action="Error" />
<Rule Id="SA1003" Action="Error" />
<Rule Id="SA1004" Action="Error" />
<Rule Id="SA1005" Action="Error" />
<Rule Id="SA1006" Action="Error" />
<Rule Id="SA1007" Action="Error" />
<Rule Id="SA1008" Action="Error" />
<Rule Id="SA1009" Action="Error" />
<Rule Id="SA1010" Action="Error" />
<Rule Id="SA1011" Action="Error" />
<Rule Id="SA1012" Action="Error" />
<Rule Id="SA1013" Action="Error" />
<Rule Id="SA1014" Action="Error" />
<Rule Id="SA1015" Action="Error" />
<Rule Id="SA1016" Action="Error" />
<Rule Id="SA1017" Action="Error" />
<Rule Id="SA1018" Action="Error" />
<Rule Id="SA1019" Action="Error" />
<Rule Id="SA1020" Action="Error" />
<Rule Id="SA1021" Action="Error" />
<Rule Id="SA1022" Action="Error" />
<Rule Id="SA1023" Action="Error" />
<Rule Id="SA1000" Action="Warning" />
<Rule Id="SA1001" Action="Warning" />
<Rule Id="SA1002" Action="Warning" />
<Rule Id="SA1003" Action="Warning" />
<Rule Id="SA1004" Action="Warning" />
<Rule Id="SA1005" Action="Warning" />
<Rule Id="SA1006" Action="Warning" />
<Rule Id="SA1007" Action="Warning" />
<Rule Id="SA1008" Action="Warning" />
<Rule Id="SA1009" Action="Warning" />
<Rule Id="SA1010" Action="Warning" />
<Rule Id="SA1011" Action="Warning" />
<Rule Id="SA1012" Action="Warning" />
<Rule Id="SA1013" Action="Warning" />
<Rule Id="SA1014" Action="Warning" />
<Rule Id="SA1015" Action="Warning" />
<Rule Id="SA1016" Action="Warning" />
<Rule Id="SA1017" Action="Warning" />
<Rule Id="SA1018" Action="Warning" />
<Rule Id="SA1019" Action="Warning" />
<Rule Id="SA1020" Action="Warning" />
<Rule Id="SA1021" Action="Warning" />
<Rule Id="SA1022" Action="Warning" />
<Rule Id="SA1023" Action="Warning" />
<Rule Id="SA1024" Action="None" />
<Rule Id="SA1025" Action="Error" />
<Rule Id="SA1026" Action="Error" />
<Rule Id="SA1027" Action="Error" />
<Rule Id="SA1025" Action="Warning" />
<Rule Id="SA1026" Action="Warning" />
<Rule Id="SA1027" Action="Warning" />
<Rule Id="SA1028" Action="None" />
<Rule Id="SA1100" Action="Error" />
<Rule Id="SA1101" Action="None" />
Expand Down Expand Up @@ -67,7 +67,7 @@
<Rule Id="SA1134" Action="Error" />
<Rule Id="SA1135" Action="Error" />
<Rule Id="SA1136" Action="Error" />
<Rule Id="SA1137" Action="Error" />
<Rule Id="SA1137" Action="Warning" />
<Rule Id="SA1139" Action="None" />
<Rule Id="SA1200" Action="None" />
<Rule Id="SA1201" Action="None" />
Expand Down Expand Up @@ -100,7 +100,7 @@
<Rule Id="SA1312" Action="Error" />
<Rule Id="SA1313" Action="None" />
<Rule Id="SA1314" Action="Error" />
<Rule Id="SA1400" Action="Error" />
<Rule Id="SA1400" Action="Warning" />
<Rule Id="SA1401" Action="Error" />
<Rule Id="SA1402" Action="None" />
<Rule Id="SA1403" Action="Error" />
Expand All @@ -111,7 +111,7 @@
<Rule Id="SA1408" Action="Error" />
<Rule Id="SA1410" Action="None" />
<Rule Id="SA1411" Action="None" />
<Rule Id="SA1413" Action="Error" />
<Rule Id="SA1413" Action="None" />
<Rule Id="SA1500" Action="Error" />
<Rule Id="SA1501" Action="Error" />
<Rule Id="SA1502" Action="Error" />
Expand All @@ -120,11 +120,11 @@
<Rule Id="SA1505" Action="Error" />
<Rule Id="SA1506" Action="Error" />
<Rule Id="SA1507" Action="Error" />
<Rule Id="SA1508" Action="Error" />
<Rule Id="SA1509" Action="Error" />
<Rule Id="SA1508" Action="Warning" />
<Rule Id="SA1509" Action="Warning" />
<Rule Id="SA1510" Action="Error" />
<Rule Id="SA1511" Action="Error" />
<Rule Id="SA1512" Action="Error" />
<Rule Id="SA1512" Action="Warning" />
<Rule Id="SA1513" Action="Error" />
<Rule Id="SA1514" Action="Error" />
<Rule Id="SA1515" Action="Error" />
Expand All @@ -135,29 +135,29 @@
<Rule Id="SA1520" Action="Error" />
<Rule Id="SA1600" Action="Error" />
<Rule Id="SA1601" Action="Error" />
<Rule Id="SA1602" Action="Error" />
<Rule Id="SA1602" Action="None" />
<Rule Id="SA1604" Action="Error" />
<Rule Id="SA1605" Action="Error" />
<Rule Id="SA1606" Action="Error" />
<Rule Id="SA1607" Action="Error" />
<Rule Id="SA1608" Action="Error" />
<Rule Id="SA1610" Action="Error" />
<Rule Id="SA1611" Action="Error" />
<Rule Id="SA1611" Action="None" />
<Rule Id="SA1612" Action="Error" />
<Rule Id="SA1613" Action="Error" />
<Rule Id="SA1614" Action="Error" />
<Rule Id="SA1615" Action="Error" />
<Rule Id="SA1616" Action="Error" />
<Rule Id="SA1615" Action="None" />
<Rule Id="SA1616" Action="None" />
<Rule Id="SA1617" Action="Error" />
<Rule Id="SA1618" Action="Error" />
<Rule Id="SA1619" Action="Error" />
<Rule Id="SA1620" Action="Error" />
<Rule Id="SA1618" Action="None" />
<Rule Id="SA1619" Action="None" />
<Rule Id="SA1620" Action="None" />
<Rule Id="SA1621" Action="Error" />
<Rule Id="SA1622" Action="Error" />
<Rule Id="SA1622" Action="None" />
<Rule Id="SA1623" Action="None" />
<Rule Id="SA1624" Action="Error" />
<Rule Id="SA1625" Action="Error" />
<Rule Id="SA1626" Action="Error" />
<Rule Id="SA1626" Action="Warning" />
<Rule Id="SA1627" Action="Error" />
<Rule Id="SA1629" Action="None" />
<Rule Id="SA1633" Action="None" />
Expand All @@ -168,8 +168,8 @@
<Rule Id="SA1638" Action="None" />
<Rule Id="SA1640" Action="None" />
<Rule Id="SA1641" Action="None" />
<Rule Id="SA1642" Action="Error" />
<Rule Id="SA1643" Action="Error" />
<Rule Id="SA1642" Action="None" />
<Rule Id="SA1643" Action="None" />
<Rule Id="SA1648" Action="Error" />
<Rule Id="SA1649" Action="Error" />
<Rule Id="SA1651" Action="Error" />
Expand Down
Loading

0 comments on commit 2ab9ac9

Please sign in to comment.