Commit Graph

8 Commits

Author SHA1 Message Date
dependabot[bot]
d4c983e80c chore(deps): bump golang.org/x/crypto (#1911)
Bumps the go_modules group with 1 update in the /monitor/lib/feat_flag directory: [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `golang.org/x/crypto` from 0.22.0 to 0.31.0
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 12:55:23 +05:30
Henit Chobisa
fbaf5d34ec fix: private key parsing with PKCS1 (#1591) 2024-10-23 19:55:01 +05:30
Henit Chobisa
8786675b3c feat: added prices and plans endpoint inside monitor, and prime ecosystem (#1146)
* feat: added endpoint for retrieving plans

* feat: added routes for retrieving and generating payment link

* chore: self-hosted upgrade.

* chore: self-hosted one upgrade.

* chore: product and payment link generation

* chore: count workspace members

* chore: activation modal.

* chore: self managed instance workspace upgrade modal.

* chore: billable members.

* chore: remove changelogs redirection from workspace pages header.

* chore: update seat count logic

* fix: exit process if monitor fails to decrypt feature flags

* chore: added docker compose rule to restart the monitor container for only 5 attempts

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-09-17 13:03:54 +05:30
Henit Chobisa
033f391d4e fix: private key parsing for monitor (#934)
* fix: throw error if private key is not parsable

* fix: printing private key

* fix: added print of private key in handler

* feat: optimized build for monitor

* feat: removed debug statements

* feat: added volume for compose
2024-08-26 14:33:17 +05:30
Henit Chobisa
24540ae34e fix: parsing of private key with base64 (#932) 2024-08-26 13:13:09 +05:30
Nikhil
ebe6183f1a fix: monitor feature flagging (#926) 2024-08-23 20:56:17 +05:30
Henit Chobisa
7fa7dc223b fix: GitHub ci build for monitor (#919)
* fix: errors in github ci

* fix: added base 64 private key
2024-08-23 16:43:53 +05:30
Nikhil
4b31dd0c01 dev: new license activation workflow for one and pro users (#739)
* feat: added feature flag package for decrypting and refreshing the feature flags value

* feat: added feature flagging route for route handlers

* feat: added feature flag worker for managing and distributing feature flags

* feat: implemented feature flag api implementation inside ff handler

* feat: added exponential retry interval inside feature flagging

* fix: route pattern of feature flag endpoint from monitor

* feat: created endpoint to activate workspace from monitor

* feat: made changes to accomodate db and activate endpoint

* dev: update multi tenant environment settings

* dev: workspace license activation flow

* dev: update license activate endpoint

* dev: update workspace license activate endpoint

* feat: added feature flag user sync logic

* feat: added constants and sync logic with private key inside

* feat: added port as env variable

* feat: added modification for removing license key in healthcheck

* feat: example env pushed

* fix: update monitor endpoints and license activation function

* dev: initiate free workspace only for self hosted instances

* dev: self hosting license endpoint updates

* dev: remove monitor db

* dev: update handlers

* dev: self hosted license subscription web

* dev: removed computed in self hosted subscription

* fix: prime server url and delete old license while creating new license in sqlite

* chore: subscription activation alert after successfull activation.

* dev: update feature flag endpoints

* fix: handled several cases of feature flags

* fix: linting errors

* dev: update monitor to handle workspace activation

* dev: update decryption algorithm

* feat: separated activation payload with the sync payload

* dev: update feature flags endpoint

* dev: change type for workspace sync

* feat: added isActive flag for user activation

* feat: removed creation of free users in monitor

* feat: added method for workspace product

* dev: add user email in types

* feat: added method for workspace product

* fix: uer license feature flag fetch

* fix: handler fixed for feature key

* chore: self managed license activation

* chore: update validation license flow.

* chore: license activation success.

* dev: resync workspace license on activation

* chore: plane one success modal.

* feat: added constructs to inject private key build time

* feat: updated the docker file with private key build argument

* feat: added consumption od DEFAULT_PRIVATE_KEY when building monitor

* dev: update private key

---------

Co-authored-by: Henit Chobisa <chobisa.henit@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-08-22 17:39:19 +05:30