Commit graph

32 commits

Author SHA1 Message Date
Muhsin Shah C P
53d119680f
[chore] Node-module vulnerabilities (#8226)
* started working on node upgrade to 18.18.2

* testing ci

* updated ci node version

* updated action code

* deleted all package-lock.json files

* deleted and ovverrided some packages

* deleted and fixed server & frontend vulnerabilities

* updated firestore version

* fix: ws type issue

* fix: upgraded lerna version

* regenerated package-lock.json files again

* regenerated marketplace lock file

* updated node version in other ci and docker files

* update: lock file plugin side

* updated the npm version in docker & ci files

* removed unused imports from events file

* removed dependency-review action

* updated some packages

* tried to go with current node-module of jest. had to upgrade

* fix: deprecated function usage - ts-jest

* fix: server directory lint issues

* fixed login page issue after router-dom upgrade

* updated import/no-unresolved rule to ignore import errors of  react-loading-skeleton, react-spring packages

* fix: cypress node version & package-lock issue

* regenerated cli package-lock.json

* fix: new webpack version might cause runtime issues (had issues with enterprise). lets use old version only

* fix: form-data docker issue

* removed comment
2023-12-21 11:55:35 +05:30
Akshay Sasidharan
0a70d77796 Merge branch 'main' into merge-main 2023-07-24 12:38:05 +05:30
Adish M
84650aadd0
oracle zip file fix in dockerfile (#7087) 2023-07-21 17:26:13 +05:30
Adish M
858181a72f
Syncing EE dockerifle changes (#6948) 2023-07-11 11:40:20 +05:30
Adish M
d84891b01e
adding dockerfile changes (#6898) 2023-07-03 18:23:49 +05:30
Akshay
1602317ad5
Add support for oracle 9i db (#6637)
* update oracledb package for node 18

* add oracle instant client 11 and 21 binaries for linux

* Revert "add oracle instant client 11 and 21 binaries for linux"

This reverts commit 9ba7d18685.

* add ability to specify instant client version

* update dockerfiles to include oracle 11 instant client

* update ami build for oracle instant client 11

* add data migration for oracle ds default client version 21

* remove console.log in code

* fix server dev dockerfile

* define LD_LIBRARY_PATH

* fix LD_LIBRARY_PATH assignment
2023-06-21 11:39:30 +05:30
Adish M
29dc483b7f
changes in dockerfile for non-sudo user (#5637)
* changes in dockerfile for non-sudo user

* made the same to server.dockerfile

* added fix for try-tooljet

* corrections

* corrections

* final

* removing try-tooljet

* Update try-tooljet.Dockerfile

* changes made with non-sudo
2023-03-03 11:55:19 +05:30
Adish M
cf3bfe94f3
Changes for docker-node upgrade (#5576)
* Changes for docker-node upgrade

* removed the extra node

* removed extra spaces and npm

* changes in server dockerfile

* change npm version to 8.11.0
2023-02-16 21:35:16 +05:30
Kavin Venkatachalam
1efcec9e09
[Feature]: Update Node from 14 to 18 (#5393)
* Updated package.json to support node 18

* Updated package-lock.json with force install

* Updated frontend package.json

* Updated server package.json

* update frontend package-lock.json

* update render dockerfile

* update dockerfiles for node 18

* update node version in actions

* fix setup script for AMI

* install using nvm

* debug

* source bashrc

* change ami os version

* change base ami

* make use of ubuntu focal lts version

* update script

* change branch name

* revert branch name

* update workflow

* node upgrade [plugins] modules updated (#5482)

* modules updated

* adds saphana and oracle package

* adds saphana and oracle package

* eslint rules for -unresolved and resolved properties

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2023-02-06 17:38:44 +05:30
Adish M
44da3d7c2b
Update dockerfile for vulnerability fixes (#5396)
* new code for osv

* made changes in server.dockerfile

* removed seeding from docker guide in docs

* corrections in .env.example

* corrections

* removed extra nodejs and npm
2023-01-25 15:10:53 +05:30
Midhun G S
61158d8122
Merge main to develop (#4049)
* Fix: User group permissions error on Openshift platform (#4041)

* update dockerfile for file permissions on root group

* add permissions from the user group on dockerfile

* bump to v1.24.4

* bump to v1.25.0

* [feature] Added pagination and filtering features to users page (#3921)

* added pagination and filtering in backend

* added pagination
    - created a seperate component for users table
    - added pagination

* Added filter UI

* temporary css fix for pagination footer

* fixed pagination width issue

* now result will also clear when user clicks on clear icon

* Added seperate api for comment mentions

* Now we can search mentions by email, first and last names

* Fixed a bug
- email didn't send for comment mentions

* refactoring the code

* resolved PR changes

* Added isAdmin guard

* adding some checks

* fixed lint errors

* added wild card search

* Added no result found text

* fixed failing test case

* Working on PR changes

* Now users table avatars will load image too

* replaced skeleton classes with skeleton library component

* Completed PR changes

* added orderby

* Fixed some issues

* fixed failed test case

* have fixed some css issues

* replaced query with quersrting package

* fixed minor width issue

* Fixed some css issues

* fixed darkMode issue

* implemented on enter press search

* Refactored the code

* fixed white space issue

* refactored the code

* fixed overlapping issue

* refactored the code

* fixing some issues

* fixes

* removed guard

* code cleanup

* comments notification fix

* fixed conflict issues

* fixed css height issue

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>

* Remove signup guard from set-password-from-token API (#4050)

* Remove sign up guard set-password-from-token API

* test cases fix

* Bump to v1.25.1

* Feature: Add PG_DB_OWNER env var to disable db and extension creation (#4055)

* add PG_DB_OWNER env var to disable db and extension creation

* update docs

* bump to v1.25.2

Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
2022-09-16 21:08:45 +05:30
Akshay Sasidharan
df23272af2 hotfix: add server scripts to dockerfile 2022-08-18 12:59:49 +05:30
Akshay
f3f9baeab2
Fix: Only add distributable files for server on docker image (#3729)
* only add build server files on docker images

* copy .version file

* remove DO clean up script

* add dotenv and joi
2022-08-03 17:06:11 +05:30
Midhun G S
c7d164c1c8
Added configuration to select plugins (#3024)
* Added configs to select plugins

* moving the configs to

* removing private from common

* fix

* removed if-env

* Fix

* docker compose changes

* review comments

* remove plugin build file

* revert docker file changes

* netlify changes

* netlify configs

* build script changes

* build script changes

* dockerfile changes

* add prebuild script
2022-05-20 19:32:46 +05:30
Akshay
16c9e2355e
Chore: Update docker files to use buster to be used with oracledb (#2624)
* update docker files to use buster to be used with oracledb

* revert oracledb extractable dependency

* update dockerfile

* add libaio1 dependency

* make use of oracledb releases directly as dependency
2022-03-24 17:30:14 +05:30
Muhsin Shah C P
eaf93616ae
Feature/oracledb plugin (#2388)
* oracledb initial commit
- Added oracledb package

* Implemented connection and operations

* Working on oracle db integration

* Implemented query & bulk operations

* Fixed initial client reintialization problem

* Added custom client library path option

* Added oracle client library installation steps to dev docker file

* Testing changed docker setup on cloud

* Testing heroku app.json

* Removed unwanted scripts from dockerfiles

* Updated field label

* update oracledb client lib for ec2

* update package-lock

* refactoring code

* Updated docs

* Resolved some lint errors

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-03-15 08:00:02 +05:30
Navaneeth Pk
aac178eb55
Add command to copy package.json of root to server.Dockerfile (#2148) 2022-02-07 00:34:48 +05:30
Gandharv
2f3b441c0a
Move plugins to root (#1728)
* feat: move plugins to root

* modify tsconfig

* add .gitignore

* delete old plugins file

* add parcel

* docker compose volume mount

* add gcs

* add typescript to plugins folder

* gcs to ts

* add dynamodb

* add elastic search

* add firestore

* add gsheets

* add graphql

* add mongodb

* mssql

* add mysql

* add postgresql

* add redis

* add s3

* add slack

* add stripe

* remove plugin related packages from pkgjson

* add lib folder

* add gitignore

* remove typescript generated files

* remove generated file

* remove generated files

* add twilio

* add dist to docker compose cache binding

* add dist prefix

* cleanup - 1

* delete dist

* rename to index.ts + add jest config

* add it.todo in tests

* test fixes

* test file changes

* fix type checks

* add @tooljet/plugins to server package json

* esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0

* docker file npm package version fix

* add typesense

* cleaup - 2

* add sendgrid

* add lerna build and clean script for all packages + tsconfig

* cleanup -3

* add plugins build step

* add missing plugins build step in npm run build

* add mssql, mysql & postgres as singleton classes

* add db connection to cache only if datasourceId is available

* client: add data source schema/manifest files

* add query operations files

* logic for wrapping form with schema

* add script to create index file

* add @tooljet/plugins to frontend folder

* cleanup 1 -frontend

* cleanup - 2 // frontend // data queries

* add client and index to gitignore

* update gitignore

* fix lint & test

* update ci

* fix unit, e2e

* cleanup -3

* fix test

* fix tests

* fix indent

* try npm ci

* fix tests

* fix typo

* fix

* rename file for server entry

* heroku fix

* add main and types entry points in pkg json

* move common to root

* cleanup - 4: remove redundant $ sign prefix

* cleanup - 4: remove redundant $ sign prefix

* update options in-sync before DOM is painted

* change type cloud to cloud storage

* update readme

* update ci.yml

* update ci yml

* add pkg-lock.json

* rename index.ts to server.ts

* update lock files

* add server package.lock

* remove unused import

* revert commit: add minio

* add root dep

* import server.ts

* remove plugins build step

* add npm shrinkwrap

* update version - plugins

* add new version - 0.0.8

* upgrade version

* move to symlinked package

* add lock file

* feat: add icon inside package

* add plugin creation docs

* Remove seed

* move icons to plugins folder

* install pg dep

* add react to packages

* add seed cmd

* revert change

* add plugins build in lint, e2e, unit

* e2e, lint use npm ci

* update dockerfile for plugins

* try combining release with web

* limit memory on release

* try executing seed script post transpile

* try executing seed from server directory

* update seed execution

* add minio

* add correct type

* add minio to pkg json

* remove old file

* fix provider key

* add python installable + npm ^7.2.0 (#1752)

* add python installable + npm ^7.2.0

* add py to prod file

* pin npm version to 7.20.0

* pin npm version to 7.20.0

* split into multi stage build and remove python for buildx

* copy plugins from buider stage

* update dependencies

* add freetds dependency

* update server dockerfile

* update client dockerfile

* update dev dockerfile and compose file

* fix entrypoint

* fix server dev dockerfile

* update docker-compose

* remove npm install on root dir on docker build

* fix heroku script

* make lerna prod dependency to enable prod builds

* remove redundant env setup

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 12:38:17 +05:30
Akshay
5312573c85
increase node heap memory (#1432) 2021-11-20 06:55:54 +05:30
Akshay
cb2d8bd5ed
fix server entrypoint (#714) 2021-09-08 23:43:17 +05:30
Akshay
c128d94b1d
Dev and deploy setup revision (#604)
* revise dockerfiles

* make nginx to proxy requests when static files are absent
2021-08-26 20:34:30 +05:30
Akshay
11df74b3a4
Docker deploy setup for Nestjs (#474)
* make nginx config generic

* fixes env substituted

* remove npm script dependencies from dev

* match all nginx location to server

* revert git clone dev branch
2021-08-09 10:02:25 +05:30
navaneeth
558ac75a28 Dependencies for ts scripts 2021-08-06 17:06:37 +05:30
navaneeth
f5ceec8c54 [Docs] Deploying to k8s & Heroku 2021-08-01 14:58:48 +05:30
navaneeth
d3ecd25e9a Dockerize for production 2021-07-31 14:18:56 +05:30
navaneeth
62d8b3e646 Dockerfile for production server 2021-07-31 10:10:19 +05:30
Ashish
6346e78820
Chore: fix server dockerfile (#307)
* fix typo in entrypoint script invocation from the server dockerfile

* use sh in the entrypoint shebang instead of bash

* make entrypoint script executable
2021-06-24 16:40:26 +05:30
Ashish
939e26fc6a
Chore: reference the entrypoint file in the dockerfile (#292) 2021-06-22 22:48:55 +05:30
Akshay
134e2f51ca
Feature: SQL Server integration 🎉 (#244)
* MS SQL server integration

* enable mssql service to test, create and process connection

* return 400 when query fails

* [Docker] Install freetds on buster

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-06-14 07:33:13 +05:30
Navaneeth Pk
69ca4159e0
[Docker] Pending migrations should be executed before starting server (#213) 2021-06-09 18:10:46 +05:30
navaneeth
065d724732 Changed base docker image to buster, bumped ruby version 2021-05-25 13:53:11 +05:30
navaneeth
3c20814763 Setup docker-compose for local development 2021-04-29 15:29:25 +05:30