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(editor): SSO setup #5736

Merged
merged 32 commits into from
Apr 4, 2023
Merged

feat(editor): SSO setup #5736

merged 32 commits into from
Apr 4, 2023

Conversation

cstuncsik
Copy link
Contributor

Github issue / Community forum post (link here to close automatically):

@github-actions
Copy link
Contributor

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Files matching **/*.vue:

  • Used composition API for all new components.
  • Added component or unit tests to cover functionality.

Files matching packages/editor-ui/**/*.vue:

  • Added E2E if adding new features.
  • Used design system tokens (colors, spacings...) where possible.

Make sure to check off this list before asking for review.

@codecov
Copy link

codecov bot commented Mar 20, 2023

Codecov Report

Patch coverage: 82.62% and project coverage change: +2.44 🎉

Comparison is base (d9f1e1e) 15.02% compared to head (e1a730a) 17.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5736      +/-   ##
==========================================
+ Coverage   15.02%   17.47%   +2.44%     
==========================================
  Files        2476     2495      +19     
  Lines      113464   114185     +721     
  Branches    17746    17836      +90     
==========================================
+ Hits        17050    19955    +2905     
+ Misses      95833    93639    -2194     
- Partials      581      591      +10     
Impacted Files Coverage Δ
packages/cli/src/Server.ts 0.00% <0.00%> (ø)
packages/cli/src/sso/saml/types/samlPreferences.ts 0.00% <0.00%> (ø)
packages/editor-ui/src/utils/typeHelpers.ts 0.00% <0.00%> (ø)
packages/cli/src/sso/saml/saml.service.ee.ts 29.87% <10.00%> (-0.34%) ⬇️
...ages/cli/src/sso/saml/routes/saml.controller.ee.ts 39.34% <36.36%> (+0.36%) ⬆️
packages/editor-ui/src/api/sso.ts 48.71% <47.05%> (+48.71%) ⬆️
packages/cli/src/sso/saml/serviceProvider.ee.ts 53.84% <50.00%> (-0.70%) ⬇️
packages/editor-ui/src/stores/sso.ts 73.97% <60.00%> (+73.97%) ⬆️
packages/cli/src/Ldap/helpers.ts 82.22% <76.92%> (-0.37%) ⬇️
packages/editor-ui/src/router.ts 88.32% <87.73%> (+88.32%) ⬆️
... and 5 more

... and 87 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Mar 20, 2023
cstuncsik and others added 25 commits March 22, 2023 14:17
…page

# Conflicts:
#	packages/cli/src/sso/saml/routes/saml.controller.ee.ts
…page

# Conflicts:
#	packages/cli/src/sso/saml/routes/saml.controller.ee.ts
…page

# Conflicts:
#	packages/editor-ui/src/Interface.ts
…page

# Conflicts:
#	packages/cli/src/sso/ssoHelpers.ts
@cstuncsik cstuncsik marked this pull request as ready for review April 4, 2023 12:28
@cstuncsik cstuncsik merged commit f4e5949 into master Apr 4, 2023
@cstuncsik cstuncsik deleted the pay-170-sso-set-up-page branch April 4, 2023 12:28
@janober
Copy link
Member

janober commented Apr 19, 2023

Got released with [email protected]

sunilrr pushed a commit to fl-g6/qp-n8n that referenced this pull request Apr 24, 2023
* feat(editor): SSO settings page

* feat(editor): SSO settings page

* feat(editor): SSO settings page

* feat(editor): SSO settings page

* feat(editor): SSO settings page

* feat(editor): SSO settings page

* Merge remote-tracking branch 'origin/master' into pay-170-sso-set-up-page

# Conflicts:
#	packages/cli/src/sso/saml/routes/saml.controller.ee.ts

* feat(editor): Prevent SSO settings page route

* feat(editor): some UI improvements

* fix(editor): SSO settings saml config optional chaining

* fix return values saml controller

* fix(editor): drop dompurify

* fix(editor): save xml as is

* return authenticationMethod with settings

* fix(editor): add missing prop to server

* chore(editor): code formatting

* fix ldap/saml enable toggle endpoint

* fix missing import

* prevent faulty ldap setting from breaking startup

* remove sso fake-door from users page

* fix(editor): update SSO settings route permissions + unit testing

* fix(editor): update vite config for test

* fix(editor): add paddings to SSO settings page buttons, add translation

* fix(editor): fix saml unit test

* fix(core): Improve saml test connection function (n8n-io#5899)

improve-saml-test-connection return

---------

Co-authored-by: Michael Auerswald <[email protected]>
Co-authored-by: Romain Minaud <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants