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

chore(release): Test v7.22.3 #9550

Merged
merged 81 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
a0af0c1
chore(env vars): Stripe vars moved to the Integrations section (#9427)
rafaelromcar-parabol Feb 15, 2024
c0a2fdf
chore: fix misleading `isLead` field name on `Team` (#9413)
Dschoordsch Feb 16, 2024
f042628
feat: remove team template limit (#9424)
nickoferrall Feb 19, 2024
02dc6fa
feat: Add Google calendar meeting series for recurrence (#9380)
Dschoordsch Feb 20, 2024
b0b76f9
fix: Increase the number of projects fetched per request from Atlassi…
Dschoordsch Feb 20, 2024
c2a31e6
chore(deps): bump ip from 1.1.8 to 1.1.9 (#9442)
dependabot[bot] Feb 21, 2024
e4a831a
chore(release): release v7.17.0 (#9428)
parabol-release-bot[bot] Feb 22, 2024
61ba015
feat(standalone-deployment): Standalone host deployment improved and …
rafaelromcar-parabol Feb 22, 2024
92ab5be
feat: support env-defined saml issuer for PPMIs (#9455)
mattkrick Feb 26, 2024
c77925b
chore: Associate logs with traces (#9444)
Dschoordsch Feb 27, 2024
bd519c9
chore(release): release v7.18.0 (#9450)
parabol-release-bot[bot] Feb 27, 2024
6d46e1b
chore: no force-push to prod (#9401)
mattkrick Feb 27, 2024
b60ff4e
chore(release): release v7.18.1 (#9459)
parabol-release-bot[bot] Feb 27, 2024
55faa17
feat: embedder service (#9417)
jordanh Feb 27, 2024
1008578
merge production to avoid force push (#9461)
mattkrick Feb 27, 2024
20ca927
chore(release): release v7.19.0 (#9460)
parabol-release-bot[bot] Feb 27, 2024
7bd8803
fix: checkout prod before merging it (#9463)
mattkrick Feb 27, 2024
12ba80e
chore(release): release v7.19.1 (#9464)
parabol-release-bot[bot] Feb 28, 2024
9e90b9d
fix: mrege origin/production strategy (#9465)
mattkrick Feb 28, 2024
e67ca91
chore(release): release v7.19.2 (#9466)
parabol-release-bot[bot] Feb 28, 2024
581f0cf
fix: force push 5 (#9467)
mattkrick Feb 28, 2024
b52faf2
chore(release): release v7.19.3 (#9468)
parabol-release-bot[bot] Feb 28, 2024
5b9526c
fix: limit invites from spammers (#9416)
nickoferrall Feb 28, 2024
9cec00a
fix: Fetch Jira projects in parallel (#9456)
Dschoordsch Feb 28, 2024
00092ec
fix: replace lone surrogates in draft-js content (#9415)
mattkrick Feb 28, 2024
92f0be9
chore(deps): bump es5-ext from 0.10.62 to 0.10.64 (#9457)
dependabot[bot] Feb 28, 2024
1e0075e
fix: packages/server/package.json to reduce vulnerabilities (#9434)
adaniels-parabol Feb 28, 2024
fd833f5
fix: packages/server/package.json to reduce vulnerabilities (#9392)
adaniels-parabol Feb 28, 2024
fd75d3f
fix: packages/server/package.json to reduce vulnerabilities (#9298)
adaniels-parabol Feb 28, 2024
9441b27
chore(deps): bump follow-redirects from 1.14.8 to 1.15.4 (#9312)
dependabot[bot] Feb 28, 2024
7bfec91
chore: add upload to GCS step in ironbank (#9471)
dbumblis-parabol Feb 28, 2024
c1da6ba
chore(release): release v7.19.4 (#9470)
parabol-release-bot[bot] Feb 29, 2024
419d104
fix: Fix seasonal templates for leap years (#9476)
Dschoordsch Feb 29, 2024
ba67da8
chore(release): release v7.19.5 (#9477)
parabol-release-bot[bot] Feb 29, 2024
052acd1
fix: After parameter for meetingCount was ignored (#9479)
Dschoordsch Feb 29, 2024
5e356c2
chore(docker-build): simplify the docker build process and reduce doc…
rafaelromcar-parabol Feb 29, 2024
aa88da0
chore(release): release v7.19.6 (#9480)
parabol-release-bot[bot] Feb 29, 2024
2ff4a6e
fix(docker-build): home folder is /home/node now (#9482)
rafaelromcar-parabol Feb 29, 2024
9c44e23
chore(release): release v7.19.7 (#9483)
parabol-release-bot[bot] Feb 29, 2024
807e347
feat: OpenAIGeneration model for embedder (#9474)
jordanh Feb 29, 2024
4e2e2ca
fix: support single-tenant saml record (#9486)
mattkrick Mar 1, 2024
ba7d724
chore(release): release v7.20.0 (#9485)
parabol-release-bot[bot] Mar 1, 2024
a95fb88
chore: Update reviewers (#9504)
Dschoordsch Mar 4, 2024
58c5817
chore: bump ts node (#9498)
jordanh Mar 5, 2024
06c1f7e
chore: put server assets on CDN (#9278)
mattkrick Mar 5, 2024
1751731
fix: upgrade oy-vey from 0.11.2 to 0.12.1 (#9497)
mattkrick Mar 5, 2024
9fff933
fix: upgrade sharp from 0.32.6 to 0.33.2 (#9493)
mattkrick Mar 5, 2024
fe1ad43
fix: upgrade graphql-jit from 0.7.4 to 0.8.4 (#9495)
mattkrick Mar 6, 2024
5dfe26b
chore: remove pg-typed part 1 (#9508)
mattkrick Mar 6, 2024
6762ebc
feat: make all templates free (#9503)
nickoferrall Mar 6, 2024
4ce391e
feat: saml login no email, auth design fixups (#9507)
mattkrick Mar 6, 2024
fa9f8b1
chore(release): release v7.21.0 (#9505)
parabol-release-bot[bot] Mar 6, 2024
e7539d1
chore(gh-actions): reporting status to Slack if test or build GH Acti…
rafaelromcar-parabol Mar 6, 2024
2338414
feat: Add team sections to the Custom category in activity library (#…
Dschoordsch Mar 7, 2024
af47966
fix: recreate lockfile (#9516)
mattkrick Mar 7, 2024
f351cf9
feat: managing teams (#9285)
BartoszJarocki Mar 8, 2024
88bf97f
chore(ci): add capability to manually generate Docker Images (#9524)
rafaelromcar-parabol Mar 11, 2024
9350b93
fix: Make hasGCalError optional (#9526)
Dschoordsch Mar 12, 2024
37bd20c
chore: Remove Add Activity button from discussions (#9528)
Dschoordsch Mar 12, 2024
10c6f69
fix: Korean greeting corrected (#9525)
jordanh Mar 12, 2024
fc4429c
feat: Recurring GCal event dialog (#9506)
Dschoordsch Mar 13, 2024
1ed2796
feat: Release MS Teams integration (#9527)
Dschoordsch Mar 13, 2024
470e017
chore(release): release v7.22.0 (#9513)
parabol-release-bot[bot] Mar 13, 2024
c417b45
lint exceptions
Dschoordsch Mar 14, 2024
efc0dc9
chore: migrate FailedAuthRequest to pg (#9500)
jordanh Mar 14, 2024
5c39fde
chore: migrate ScheduledJob from rethinkdb to pg (#9490)
jordanh Mar 14, 2024
1009ede
fix: node-loader that ignores public path (#9537)
mattkrick Mar 14, 2024
09302e6
chore(release): release v7.22.1 (#9535)
parabol-release-bot[bot] Mar 14, 2024
bd907a9
chore: add GH Action, on Snyk PRs commit yarn.lock (#9534)
jordanh Mar 15, 2024
2c98ca1
fix(snyk-ci): removed toLowerCase function as it does not exit
rafaelromcar-parabol Mar 18, 2024
0217e11
fix: use base ref for migrition order check (#9542)
Dschoordsch Mar 18, 2024
081f7a0
fix: Only read the first ip of the x-forwarded-for header (#9545)
Dschoordsch Mar 18, 2024
66b0960
chore(release): release v7.22.2 (#9539)
parabol-release-bot[bot] Mar 18, 2024
fe128f0
chore: Remove random team names (#9543)
Dschoordsch Mar 19, 2024
6fca12c
chore(repo-structure): Docker images and stacks organized and clarifi…
rafaelromcar-parabol Mar 19, 2024
f16c21f
fix(build-ci): docker-build-push action fixed
rafaelromcar-parabol Mar 19, 2024
41f5654
fix(parabol-ubi): references to local files corrected
rafaelromcar-parabol Mar 19, 2024
00a1ca2
fix: Activity library illustrations in Firefox (#9549)
Dschoordsch Mar 19, 2024
24df17b
fix: Configure trusted proxies (#9548)
Dschoordsch Mar 19, 2024
b4ac874
chore(release): release v7.22.3 (#9547)
parabol-release-bot[bot] Mar 19, 2024
79e71a3
Merge remote-tracking branch 'origin/production' into release/v7.22.3
invalid-email-address Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ PROTO='http'
SERVER_SECRET='key_SERVER_SECRET'
# Cluster node number 0 - 1023. Must be unique per process.
SERVER_ID='1'
# Used to read the client IP from the X-Forwarded-For header, if not set, it will use the first IP in the list.
# If configured, it must match the number of proxies in the stack, otherwise it might rate limit all traffic coming from the proxy.
# TRUSTED_PROXY_COUNT='1'
# Websocket port for the websocket server, only used in development (yarn dev)
SOCKET_PORT='3001'

Expand Down Expand Up @@ -74,9 +77,9 @@ POSTGRES_USE_PGVECTOR=true
# POSTGRES_SSL_DIR='/var/lib/postgresql'
REDIS_PASSWORD=''
REDIS_URL='redis://localhost:6379'
# REDIS_TLS_CERT_FILE=./certs/redis.crt
# REDIS_TLS_KEY_FILE=./certs/redis.key
# REDIS_TLS_CA_FILE=./certs/redisCA.crt
# REDIS_TLS_CERT_FILE=./docker/stacks/development/redis/certs/redis.crt
# REDIS_TLS_KEY_FILE=./docker/stacks/development/redis/certs/redis.key
# REDIS_TLS_CA_FILE=./docker/stacks/development/redis/certs/redisCA.crt
# REDIS_TLS_REJECT_UNAUTHORIZED='false'
RETHINKDB_URL='rethinkdb://localhost:28015/actionDevelopment'
RETHINKDB_SSL='false'
Expand Down Expand Up @@ -119,9 +122,9 @@ RETHINKDB_SSL='false'
# RECALL_AI_KEY=''
# SLACK_CLIENT_ID='key_SLACK_CLIENT_ID'
# SLACK_CLIENT_SECRET='key_SLACK_CLIENT_SECRET'
# STRIPE_SECRET_KEY='sk_test_4eC39HqLyjWDarjtT1zdp7dc'
# STRIPE_PUBLISHABLE_KEY='pk_test_TYooMQauvdEDq54NiTphI7jx'
# STRIPE_WEBHOOK_SECRET='sk_test_4eC39HqLyjWDarjtT1zdp7dc'
# STRIPE_SECRET_KEY=''
# STRIPE_PUBLISHABLE_KEY=''
# STRIPE_WEBHOOK_SECRET=''

# MAIL
# MAIL GLOBALS. PROVIDER: mailgun | google | debug | smtp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Runners

To run `docker-build.yml`, GitHub requires using a larger runner.
To run `build.yml`, GitHub requires using a larger runner.
This is because we're webpackifying all the code in node_modules into a single `.js.`.
Doing all that transpiling can take a LOT of memory. 8GB+.
At this time, large GitHub-hosted runners are in beta.
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
env:
PARABOL_DOCKERFILE: ./docker/parabol-ubi/docker-build/dockerfiles/basic.dockerfile
PARABOL_BUILD_ENV_PATH: docker/parabol-ubi/docker-build/environments/pipeline
PARABOL_DOCKERFILE: ./docker/images/parabol-ubi/dockerfiles/basic.dockerfile
PARABOL_BUILD_ENV_PATH: docker/images/parabol-ubi/environments/pipeline
jobs:
build:
runs-on: ubuntu-8cores
Expand All @@ -22,8 +22,7 @@ jobs:
id-token: "write"
services:
postgres:
# Image is pinned to v15, OK since it's just for testing
image: ankane/pgvector
image: pgvector/pgvector:pg15
# This env variables must be the same in the file PARABOL_BUILD_ENV_PATH
env:
POSTGRES_PASSWORD: "temppassword"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PARABOL_BUILD_ENV_PATH: docker/parabol-ubi/docker-build/environments/pipeline
PARABOL_BUILD_ENV_PATH: docker/images/parabol-ubi/environments/pipeline
jobs:
test:
runs-on: ubuntu-8cores
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "7.22.2"
".": "7.22.3"
}
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ This project adheres to [Semantic Versioning](http://semver.org/).

This CHANGELOG follows conventions [outlined here](http://keepachangelog.com/).

## [7.22.3](https://github.com/ParabolInc/parabol/compare/v7.22.2...v7.22.3) (2024-03-19)


### Fixed

* Activity library illustrations in Firefox ([#9549](https://github.com/ParabolInc/parabol/issues/9549)) ([00a1ca2](https://github.com/ParabolInc/parabol/commit/00a1ca2977cd1117b030aa538f526a24ca395ac9))
* **build-ci:** docker-build-push action fixed ([f16c21f](https://github.com/ParabolInc/parabol/commit/f16c21ffcfd99f98b49846951e561c4afeebbdf2))
* Configure trusted proxies ([#9548](https://github.com/ParabolInc/parabol/issues/9548)) ([24df17b](https://github.com/ParabolInc/parabol/commit/24df17bf3f0979ab65f785e95711ba53158ecb42))
* **parabol-ubi:** references to local files corrected ([41f5654](https://github.com/ParabolInc/parabol/commit/41f5654bc3046f770893c6840d4843ff58bce087))


### Changed

* Remove random team names ([#9543](https://github.com/ParabolInc/parabol/issues/9543)) ([fe128f0](https://github.com/ParabolInc/parabol/commit/fe128f017f01148ebd132fd532a771c6ab80ef16))
* **repo-structure:** Docker images and stacks organized and clarified ([#9530](https://github.com/ParabolInc/parabol/issues/9530)) ([6fca12c](https://github.com/ParabolInc/parabol/commit/6fca12c814f471ef33954381ee562cbbb4b93d67))

## [7.22.2](https://github.com/ParabolInc/parabol/compare/v7.22.1...v7.22.2) (2024-03-18)


Expand Down
53 changes: 0 additions & 53 deletions docker-compose.yml

This file was deleted.

41 changes: 0 additions & 41 deletions docker/Dockerfile.prod

This file was deleted.

19 changes: 0 additions & 19 deletions docker/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions docker/docker-compose.selfHosted.yml

This file was deleted.

4 changes: 0 additions & 4 deletions docker/entrypoint.prod.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Recommended:
| `postgresql_tag` | PostgreSQL version from the [Docker image](https://hub.docker.com/_/postgres) | `Any tag` | `15.4` |
| `rethinkdb_tag` | RethinkDB version from the [Docker image](https://hub.docker.com/_/rethinkdb) | `Any tag` | `2.4.2` |
| `redis_tag` | Redis version from the [Docker image](https://hub.docker.com/_/redis) | `Any tag` | `7.0-alpine` |
| `_BUILD_ENV_PATH` | File `.env` used by the application during the build process | `Relative path from the root level of the repository` | `docker/parabol-ubi/docker-build/environments/basic-env` |
| `_BUILD_ENV_PATH` | File `.env` used by the application during the build process | `Relative path from the root level of the repository` | `docker/parabol-ubi/environments/basic-env` |
| `_NODE_VERSION` | Node version, used by Docker to use the Docker image node:\_NODE_VERSION as base image to build | `Same as in root package.json` | |
| `_DOCKERFILE` | Dockerfile used to build the image | `Relative path from the root level of the repository` | `./docker/parabol-ubi/docker-build/dockerfiles/basic.dockerfile` |
| `_DOCKERFILE` | Dockerfile used to build the image | `Relative path from the root level of the repository` | `./docker/parabol-ubi/dockerfiles/basic.dockerfile` |
| `_DOCKER_REPOSITORY` | The destination repository | `String` | `parabol` |
| `_DOCKER_TAG` | Tag for the produced image | `String` | |

Expand All @@ -33,9 +33,9 @@ Example of variables:
export postgresql_tag=15.4; \
export rethinkdb_tag=2.4.2; \
export redis_tag=7.0-alpine; \
export _BUILD_ENV_PATH=docker/parabol-ubi/docker-build/environments/basic-env; \
export _BUILD_ENV_PATH=docker/parabol-ubi/environments/basic-env; \
export _NODE_VERSION=$(jq -r -j '.engines.node|ltrimstr("^")' package.json); \
export _DOCKERFILE=./docker/parabol-ubi/docker-build/dockerfiles/basic.dockerfile; \
export _DOCKERFILE=./docker/parabol-ubi/dockerfiles/basic.dockerfile; \
export _DOCKER_REPOSITORY=parabol; \
export _DOCKER_TAG=test-image
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ENV HOME=/home/node \
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PORT=3000

COPY --chown=node --chmod=755 docker/parabol-ubi/docker-build/entrypoints/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
COPY --chown=node docker/parabol-ubi/docker-build/tools/ip-to-server_id ${HOME}/tools/ip-to-server_id
COPY --chown=node --chmod=755 docker/images/parabol-ubi/entrypoints/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
COPY --chown=node docker/images/parabol-ubi/tools/ip-to-server_id ${HOME}/tools/ip-to-server_id

# Required for pushToCDN to work with FILE_STORE_PROVIDER set to 'local'
RUN mkdir -p ${HOME}/parabol/self-hosted && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NODE_ENV='production'
NODE_EXTRA_CA_CERTS=''
PROTO='https'
PORT='3000'
# Database configurations must be the same used in the docker-build.yml Github workflow
# Database configurations must be the same used in the build.yml Github workflow
POSTGRES_PASSWORD='temppassword'
POSTGRES_USER='tempuser'
POSTGRES_DB='tempdb'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PGADMIN_DEFAULT_EMAIL=''
PGADMIN_DEFAULT_PASSWORD=''
PGSSLMODE=''
PORT='3000'
# Database configurations must be the same used in the docker-build.yml Github workflow
# Database configurations must be the same used in the build.yml Github workflow
POSTGRES_PASSWORD='temppassword'
POSTGRES_USER='tempuser'
POSTGRES_DB='tempdb'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
FROM postgres:15.4
ARG PGVECTOR_VERSION=v0.6.1
ARG PSQL_MAJOR_VERSION=15

ADD extensions /extensions

RUN apt-get update && apt-get install -y \
build-essential \
locales \
postgresql-server-dev-15 \
postgresql-server-dev-${PSQL_MAJOR_VERSION} \
git

RUN cd /extensions/postgres-json-schema && make install && make installcheck
RUN git clone --branch v0.5.0 \
# PGVector
RUN git clone --branch ${PGVECTOR_VERSION} \
https://github.com/pgvector/pgvector.git /extensions/pgvector && \
cd extensions/pgvector && make clean && make && make install

Expand Down
1 change: 1 addition & 0 deletions docker/images/postgres/extensions/install.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE EXTENSION IF NOT EXISTS "vector";
43 changes: 43 additions & 0 deletions docker/stacks/development/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Development stack

> ⚠️ **Parabol does not provide any support on this stack**. Use it under your own resposibility.

## General notes

- **This stack is not meant for production use.** It is our development stack and can change at any moment, have errors and incorporate and remove components we are testing without any notice.
- This stack is designed to be managed using `yarn db:start` and `yarn db:stop` to start the databases. The application can use it, starting with either `yarn dev` or building the application and using `yarn start`.

## Components

- **Datadog agent:** additional configuration can be added in the folder `datadog/dd-conf.d`.
- **RethinkDB:** ports 28015 and 8080 (console) exposed to communicate with the cluster. Data mounted in a volume rethinkdb-data.
- **Postgres:** container built from a Dockerfile in [docker/images/postgres](docker/images/postgres), that incorporates some extra extensions used by the application. Exposed through port 5432 and with the data mounted in a volume postgres-data.
- **PGAdmin:** available on 5050 with credentials on the `.env` file. Connect using the values of `PGADMIN_DEFAULT_EMAIL` and `PGADMIN_DEFAULT_PASSWORD` from the `.env`. Data mounted on a volume pgadmin-data.
- **Redis:** available on 6379 with the data mounted on a volume redis-data.
- **Redis Commander:** available on 8081.
- **Text Embedding Inference:** toolkit to deploy and serve open source text embeddings and sequence classification models. Exposed on 3040. More information in [their Github](https://github.com/huggingface/text-embeddings-inference).

### Configue PGAdmin

- pgadmin is at [http://localhost:5050](http://localhost:5050)
- Connect using the values of `PGADMIN_DEFAULT_EMAIL` and `PGADMIN_DEFAULT_PASSWORD` from your `.env`
- Click **Add New Server** and fill out the forms with your `.env` values

- General.name = POSTGRES_DB
- Connection.host = 'postgres' (hardcoded from docker-compose dev.yml, not from .env!)
- Connection.username = POSTGRES_USER
- Connection.password = POSTGRES_PASSWORD
- Connection.maintenanceDatabase = POSTGRES_DB
- Connection.port = POSTGRES_PORT

### Postgres

#### Too many connections

Sometimes pg pool will hit its connection limit. This should never happen in prod, but happens on occassion in dev.
You'll know it's happening because PG will say there are too many connections.
To fix, you can run the following SQL to remove all the connections except the one that is running the script

```sql
select pg_terminate_backend(pid) from pg_stat_activity where datname='parabol-saas' AND pid <> pg_backend_pid();
```
File renamed without changes.
Loading
Loading