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

fix: LSDV-5071: Ensure secret key is securely set persisting a new one if required #4690

Merged
merged 4 commits into from
Aug 28, 2023

Conversation

bmartel
Copy link
Contributor

@bmartel bmartel commented Aug 25, 2023

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

(check all that apply)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend
  • CLI

@netlify
Copy link

netlify bot commented Aug 25, 2023

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 334c6b2
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/64e9262928b09700082477ab

@netlify
Copy link

netlify bot commented Aug 25, 2023

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 334c6b2
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/64e926294b35a30008aa3d4f

@bmartel bmartel requested a review from jombooth August 25, 2023 02:59
@github-actions github-actions bot added the fix label Aug 25, 2023
@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.02% 🎉

Comparison is base (0702b8b) 75.83% compared to head (334c6b2) 75.85%.
Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4690      +/-   ##
===========================================
+ Coverage    75.83%   75.85%   +0.02%     
===========================================
  Files          157      157              
  Lines        12522    12541      +19     
===========================================
+ Hits          9496     9513      +17     
- Misses        3026     3028       +2     

see 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@dredivaris dredivaris left a comment

Choose a reason for hiding this comment

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

LGTM

@bmartel bmartel merged commit 3d06c51 into develop Aug 28, 2023
39 checks passed
bmartel added a commit that referenced this pull request Aug 28, 2023
…e if required (#4690)

* feat: retrieve SECRET_KEY from env with fallback

* fix: LSDV-5071: Ensure secret key is securely set persisting a new one if required

* use the ls data dir env if specified with a fallback to the standard directory location

* add more context to warning message

---------

Co-authored-by: Robert Schuh <github@eneticum.de>
bmartel added a commit that referenced this pull request Aug 28, 2023
…e if required (#4690)

* feat: retrieve SECRET_KEY from env with fallback

* fix: LSDV-5071: Ensure secret key is securely set persisting a new one if required

* use the ls data dir env if specified with a fallback to the standard directory location

* add more context to warning message

---------

Co-authored-by: Robert Schuh <github@eneticum.de>
bmartel added a commit that referenced this pull request Aug 28, 2023
…the toggle, secure secret key (#4710)

* [submodules] Build static HumanSignal/label-studio-frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6005152608

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6005212377

* fix: LSDV-5071: Ensure secret key is securely set persisting a new one if required (#4690)

* feat: retrieve SECRET_KEY from env with fallback

* fix: LSDV-5071: Ensure secret key is securely set persisting a new one if required

* use the ls data dir env if specified with a fallback to the standard directory location

* add more context to warning message

---------

Co-authored-by: Robert Schuh <github@eneticum.de>

* [submodules] Build static HumanSignal/label-studio-frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6005457685

---------

Co-authored-by: Travis Clark <travisjosephclark@gmail.com>
Co-authored-by: robot-ci-heartex <robot-ci-heartex@users.noreply.github.com>
Co-authored-by: bmartel <brandonmartel@gmail.com>
Co-authored-by: Robert Schuh <github@eneticum.de>
shayantabatabaee pushed a commit to shayantabatabaee/label-studio that referenced this pull request Sep 19, 2023
…e if required (HumanSignal#4690)

* feat: retrieve SECRET_KEY from env with fallback

* fix: LSDV-5071: Ensure secret key is securely set persisting a new one if required

* use the ls data dir env if specified with a fallback to the standard directory location

* add more context to warning message

---------

Co-authored-by: Robert Schuh <github@eneticum.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants