Commit Graph

104 Commits

Author SHA1 Message Date
Akshat Jain
a855eaa53c add live service monitor env for prime cli (#1047) 2024-09-05 17:53:37 +05:30
Akshat Jain
72b0cbdf49 fixed env changes for rabbitmq (#1037) 2024-09-04 16:11:58 +05:30
Akshat Jain
9805cd3fbe Fix live server (#1036)
* added rabbitmq envs in cli-install

* fix: change dist path for live server

* Update docker-compose.yml

---------

Co-authored-by: Manish Gupta <59428681+mguptahub@users.noreply.github.com>
2024-09-04 15:03:40 +05:30
sriram veeraghanta
23714726bf fix: adding new services to plane ee selfhost setup 2024-09-03 18:56:08 +05:30
sriram veeraghanta
ffbabdad45 fix: merge conflicts resovled 2024-09-02 18:06:10 +05:30
Aaryan Khandelwal
6c3a8a9647 [WEB-1116] feat: pages realtime collaboration (#5493)
* [WEB-1116] feat: pages realtime sync (#5057)

* init: live server for editor realtime sync

* chore: authentication added

* chore: updated logic to convert html to binary for old pages

* chore: added description json on page update

* chore: made all functions generic

* chore: save description in json and html formats

* refactor: document editor components

* chore: uncomment ui package components

* fix: without props extensions refactor

* fix: merge conflicts resolved from preview

* chore: init docker compose

* chore: pages custom error codes

* chore: add health check endpoint to the live server

* chore: update without props extensions type

* chore: better error handling

* chore: update react-hook-form versions

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>

* fix: docker related fixes

* fix: module type fixes

* fix: nginx update

* fix: adding live server workflow

* fix: workflow fixes

* fix: docker compose fixes

* fix: workflow fixes

* fix: path config

* fix: docker compose warnings

* fix: nginx port forwarding

* fix: update docker compose with new env

* fix: env var fixes

* fix: error handling

* fix: docker compose env var

* fix: compose fixes

* chore: update server start message

* chore: handle errors

* fix: build errors

* chore: update port

* chore: update server port

* chore: show error on authentication fail

* chore: show error on authentication fail

* feat: add redis extension

* chore: updated restore version logic

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2024-09-02 17:54:12 +05:30
Akshat Jain
2c950713a7 Add RabbitMQ Service to Docker Compose Configuration (#5439)
* fix: celery broker setup

* fix: docker compose update

* fixed rabbitmq vhost issue

* fix: env fixes

* fix-envs-issue in selfhost docker compose

* volume name fix

* added depends on for rabbitmq service

* Add: AMQP_URL for remote rabbitmq urls

* added amqp url im docker compose

* changed default user to guest

* fix: changes the Rabbit mq password var name

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
2024-09-02 17:40:17 +05:30
Henit Chobisa
bebf00e601 feat: Added refresh worker job inside monitor for refreshing licenses (#937)
* dev: add instance validation endpoints

* feat: added startup refresh handler for getting new licenses

* feat: updated title

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-26 18:01:27 +05:30
Henit Chobisa
24540ae34e fix: parsing of private key with base64 (#932) 2024-08-26 13:13:09 +05:30
Henit Chobisa
3e9d9ef43c fixed monitor for CGO startup failure (#923)
* chore: current plan api and server base urls

* fix: monitor startup failure

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2024-08-23 18:57:19 +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
sriram veeraghanta
0f1dbc2abd Merge pull request #868 from makeplane/sync/ce-ee
sync: community changes
2024-08-19 16:30:44 +05:30
Akshat Jain
bf08d21da6 Version update for postgres and python (#5378)
* version updates for pyrhon and postgres

* updated version for python and postgres

* Update docker-compose.yml
2024-08-19 16:27:36 +05:30
sriram veeraghanta
b4ac5d8e12 Merge pull request #789 from makeplane/sync/ce-ee
sync: community changes
2024-08-08 20:19:08 +05:30
Manish Gupta
b05d72e29a fixed setup.sh for macos support (#5336)
* fixed setup.sh for macos support

* updated as per coderabbit suggestions
2024-08-08 20:13:01 +05:30
Satish Gandham
1752dee58b Merge pull request #708 from makeplane/sync/ce-ee
sync: community changes
2024-07-26 13:43:02 +05:30
Manish Gupta
d0e68cdcfb chore: self host custom build (#5228)
* removed code build process from install script

* fixes in install.sh

* fixed docker-compose.yaml

* wip

* sync env files during upgrade

* updated variables.env

* updated readme

* Update deploy/selfhost/install.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* implemented codacy suggestions

* implemented codacy suggestions

* Update deploy/selfhost/install.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update deploy/selfhost/install.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update deploy/selfhost/install.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* update codacy suggestions

* coderabbit suggestion

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-25 20:35:51 +05:30
sriram veeraghanta
2df1b747a6 Merge branch 'preview' of github.com:makeplane/plane-ee into sync/ce-ee 2024-07-23 20:56:17 +05:30
Manish Gupta
78481d45d4 chore: selfhost backup restore (#5188)
* chore: Data restore script added

* readme updated

* coderabbit suggestion implemented

* updated messages and readme

* updated readme

* updated readme

* self host readme fix
2024-07-23 19:37:31 +05:30
Nikhil
ca01730b40 fix: saml and oidc errors (#542) 2024-07-02 16:34:50 +05:30
Manish Gupta
e953e06571 fix: added TRUSTED_PROXIES in caddy configuration (#472) 2024-06-24 19:43:25 +05:30
Henit Chobisa
a93467b95b feat: Added Prime Monitor Go Service for monitoring, health check and feature flagging (#411)
* feat: added build meta data to monitor

* feat: added versioning to prime-monitor

* feat: added logger package for prime-monitor

* feat: implemented logging in cmd

* feat: implemented moduled monorepo architecture

* feat: added cron package for healthcheck

* feat: added constants and modules for healthcheck

* feat: added environment service getter method

* feat: added environment service parser for parsing the recieved keys

* feat: added environment service provider method

* feat: added retry based executer for the test methods

* feat: added http health check method and placeholders for redis & pg

* feat: added tests for healthcheck methods

* feat: added PerformHealthCheck Controller Method for execution of healthcheck controller

* feat: added healthcheck test file for testing the healthcheck

* feat: added healthcheck to work file

* feat: added readme for healthcheck package

* feat: created healthcheck register for prime scheduler

* feat: added cron command for running cron subpart of monitor

* feat: added prime schedule handler for cron

* feat: added start command for starting up prime scheduler

* feat: added build utility files for monitor

* fix: goreleaser builds

* feat: removed Redis method from healthcheck methods

* feat: added docker file for building prime-monitor

* feat: added flag for adding healthcheck duration for cron start

* chore: removed redis as a healthcheck method

* chore: modified actions to build monitor on branch build and docker images

* feat: added monitor service in docker compose caddy

* feat: added description for HealthCheckJob

* fix: status code issue for reachable and non reachable

* feat: added api package for connecting with prime api

* feat: modified cmd package to report healthcheck status to prime

* feat: added api types inside prime-monitor

* feat: added message field for meta while status reporting

* fix: modified constants for environment variables

* feat: added monitor readme

* fix: build-branch monitor content shift to build-branch-ee

* chore: added build args on release

* feat: remove version meta data from cli

* fix: docker file changed to fix the build to default

* fix: removed build flags from github branch build

* fix: moved cron start to root level start cmd

* fix: passed the recieved machine signature to api headers

* feat: optimised docker build for monitor
2024-06-20 12:14:46 +05:30
sriram veeraghanta
6e8084faf1 fix: merge conflicts resolved 2024-06-17 15:52:02 +05:30
Manish Gupta
bd0799f5e7 replaced redis docker images with valkey/valkey (#4836) 2024-06-17 14:39:43 +05:30
Manish Gupta
cc013852b5 fix: change redis docker images to valkey (#416) 2024-06-17 13:53:05 +05:30
sriram veeraghanta
250bc3983d fix: docker compose migrator restart no with quotes 2024-05-27 17:00:40 +05:30
sriram veeraghanta
dc5457183c fix: merge conflicts resolved 2024-05-27 16:55:22 +05:30
sriram veeraghanta
8730049c00 fix: updated deploy docker compose file with restart no with quotes 2024-05-27 16:51:05 +05:30
sriram veeraghanta
56e070a935 chore: typo fixes 2024-05-22 15:04:19 +05:30
sriram veeraghanta
bc1fbdd484 fix: docker entry point 2024-05-22 12:58:26 +05:30
sriram veeraghanta
9149a03866 Merge branch 'develop' of github.com:makeplane/plane-ee into sync/ce-ee 2024-05-22 12:49:59 +05:30
sriram veeraghanta
a644d38218 chore: docker entry file name changes 2024-05-22 12:46:41 +05:30
sriram veeraghanta
5d924a29d6 fix: merge conflicts resolved 2024-05-22 12:31:36 +05:30
sriram veeraghanta
1c377163d2 fix: converting takeoff scripts to docker entry points 2024-05-22 12:25:27 +05:30
sriram veeraghanta
a5796df2e5 Merge pull request #276 from makeplane/sync/ce-ee
sync: merge conflicts need to be resolved
2024-05-20 12:33:14 +05:30
Nikhil
e951cc3cf4 dev: add pg port to configuration (#4517) 2024-05-20 12:29:03 +05:30
sriram veeraghanta
189bf3c596 Merge pull request #265 from makeplane/sync/ce-ee
sync: merge conflicts need to be resolved
2024-05-17 15:33:13 +05:30
Manish Gupta
f7ccf01426 fix: selfhost back to tar.gz (#4500)
* fix: selfhost back to tar.gz

* fix
2024-05-17 15:24:21 +05:30
Manish Gupta
be9de121b2 fix: caddy listeners 2024-05-17 11:23:15 +05:30
Manish Gupta
1e5ac0a00e fix: caddy changes (#262)
* fix: caddy changes for user defined port number

* fix
2024-05-17 10:52:05 +05:30
sriram veeraghanta
efe4be3261 fix: merge conflicts resolved 2024-05-14 13:53:37 +05:30
Manish Gupta
a69305be83 fix: docker-compose changes for self hosting (#244) 2024-05-14 13:50:50 +05:30
Manish Gupta
2593dc8afc added optional env FORCE_CPU and updated README (#4446) 2024-05-14 13:45:04 +05:30
sriram veeraghanta
16f6f1e7ef fix: merge conflicts resolved 2024-05-10 17:37:48 +05:30
Manish Gupta
74eb50aa1a selfhosting fixes for custom branch and platform (#4431) 2024-05-10 16:08:04 +05:30
sriram veeraghanta
8548fe2568 Merge pull request #232 from makeplane/sync/ce-ee
sync: merge conflicts need to be resolved
2024-05-10 02:48:24 +05:30
sriram veeraghanta
547a76ae55 fix: admin and space redirections (#4419)
* dev: add admin and space base url

* fix: formatting

* dev: add app,space and admin base url to the api env

* fix: updated app base urls redirection

* dev: add change password endpoint

* dev: add none as default for base url

* dev: space password management endpoints

* fix: docker env update

* fix: docker and env settings

* fix: docker changes

* fix: next config update

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: guru_sainath <gurusainath007@gmail.com>
2024-05-10 02:32:42 +05:30
sriram veeraghanta
87d59c1e4c fix: removing mongo from docker compose selfhost 2024-05-09 16:58:22 +05:30
Manish Gupta
335bf88af1 cli-install fixes for god-mode (#224) 2024-05-09 16:45:52 +05:30
sriram veeraghanta
9e75ef17dc fix: merge conflicts 2024-05-09 01:36:41 +05:30