Skip to content

Conversation

@csuermann
Copy link
Contributor

@csuermann csuermann commented Apr 21, 2023

This PR adds a license:info command that prints out information about the instance's license certificate (see below)

2023-04-21T07:43:14.854Z | info     | Printing license information:
## CONSUMER CONFIG ##
tenantId: 1001
productIdentifier: n8n-0.225.0
deviceFingerprint: 1c80059f3d82d22a985f35324da517592ba3e58152d5d36a0fe577593fd069f0
--
## LICENSE CERT ##
version: 2
tenantId: 1 
consumerId: e49c5cc0-a804-4e7d-9e9b-35df541ca172
deviceFingerprint: 6d80059f3d82d22a985f36384da517592ba3e48252d5d36a0fe577595fd069f0 
createdAt: Thu Apr 20 2023 23:40:55 GMT+0200 (Central European Summer Time)
issuedAt: Thu Apr 20 2023 23:40:55 GMT+0200 (Central European Summer Time)
expiresAt: Sun Apr 30 2023 23:40:55 GMT+0200 (Central European Summer Time)
terminatesAt: Mon Apr 13 2048 23:40:55 GMT+0200 (Central European Summer Time)
isEphemeral: false
isValid: true
isRenewalDue: false
entitlements: 1
--
## ENTITLEMENT 1 ##
id: 2ac7cc57-3c53-4dca-b593-bc56c68c5efb
productId: 239e5ce0-c380-4f0c-8dbc-35280d6d8a64
validFrom: Thu Apr 20 2023 23:40:55 GMT+0200 (Central European Summer Time)
validTo: Thu Apr 20 2023 23:42:55 GMT+0200 (Central European Summer Time)
features: {"planName":"Enterprise","feat:ldap":true,"quota:users":-1,"feat:sharing":true,"feat:logStreaming":true,"quota:activeWorkflows":-1}
featureOverrides: {"quota:activeWorkflows":50}

@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.

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

@codecov
Copy link

codecov bot commented Apr 21, 2023

Codecov Report

Patch coverage: 12.12% and no project coverage change.

Comparison is base (589f19e) 18.72% compared to head (aa1ffe1) 18.72%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6047   +/-   ##
=======================================
  Coverage   18.72%   18.72%           
=======================================
  Files        2582     2583    +1     
  Lines      116475   116537   +62     
  Branches    18175    18182    +7     
=======================================
+ Hits        21810    21822   +12     
- Misses      94027    94077   +50     
  Partials      638      638           
Impacted Files Coverage Δ
packages/cli/src/License.ts 57.95% <0.00%> (-4.25%) ⬇️
packages/cli/src/commands/license/info.ts 0.00% <0.00%> (ø)
packages/cli/src/config/schema.ts 37.50% <ø> (ø)
packages/cli/src/license/license.controller.ts 81.48% <100.00%> (+0.34%) ⬆️

... and 18 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 core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Apr 21, 2023
@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link
Contributor

@netroy netroy left a comment

Choose a reason for hiding this comment

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

besides the one comment, LGTM

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@csuermann csuermann requested a review from netroy April 21, 2023 11:08
Copy link
Member

@Joffcom Joffcom left a comment

Choose a reason for hiding this comment

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

👍🏻

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@csuermann csuermann merged commit ab12d3e into master Apr 21, 2023
@csuermann csuermann deleted the license-info-cmd branch April 21, 2023 15:10
@csuermann csuermann removed the request for review from netroy April 21, 2023 15:10
MiloradFilipovic added a commit that referenced this pull request Apr 21, 2023
* master:
  feat(core): Add migration to add property userActivated to user settings (no-changelog) (#5940)
  feat(core): Add license:info command (#6047)
  feat: Replace this.$refs.refName as Vue with InstanceType<T> (no-changelog) (#6050)
  refactor(editor): Turn titleChange mixin to composable (#6059)
  test: Add stickies tests (#5413)
  refactor: Patch to adjust `consistent-type-imports` (no-changelog) (#6057)

# Conflicts:
#	packages/editor-ui/src/components/ExecutionsView/ExecutionPreview.vue
#	packages/editor-ui/src/mixins/workflowRun.ts
MiloradFilipovic added a commit that referenced this pull request Apr 24, 2023
* master: (47 commits)
  feat: Replace Vue.extend with defineComponent in editor-ui (no-changelog) (#6033)
  feat(core): Add migration to add property userActivated to user settings (no-changelog) (#5940)
  feat(core): Add license:info command (#6047)
  feat: Replace this.$refs.refName as Vue with InstanceType<T> (no-changelog) (#6050)
  refactor(editor): Turn titleChange mixin to composable (#6059)
  test: Add stickies tests (#5413)
  refactor: Patch to adjust `consistent-type-imports` (no-changelog) (#6057)
  fix(editor): Resolve expressions for grandparent nodes (#5859)
  ci(editor): Do not run parallel jobs for a single spec (no-changelog) (#6052)
  refactor(editor): Consolidate IN8nUISettings interface (#6055)
  refactor(core): Forbid raw enums (no-changelog)
  refactor(core): Sort variables files under variables folder (#6051)
  fix(core): Add breaking change record for domain and url matching (no-changelog) (#6048)
  feat(editor): Version control paywall (WIP) (#6030)
  feat(editor): Add disable template experiment (#5963)
  feat(core): Upgrade google-timezones-json to use the correct timezone for Sao Paulo (#6042)
  fix(Code Node): Update vm2 to address CVE-2023-30547 (#6039)
  docs: Add proprietary license text (no-changelog) (#6038)
  test(n8n Node): Unit tests (no-changelog)
  refactor: Accumulate `loadOptions` from all node versions to validate (no-changelog) (#6014)
  ...

# Conflicts:
#	packages/cli/src/Server.ts
sunilrr pushed a commit to fl-g6/qp-n8n that referenced this pull request Apr 24, 2023
* feat(core): Add license:info command

* revert changes to start.ts

* revert changes to start.ts

* fix typo
@janober
Copy link
Member

janober commented May 2, 2023

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants