Akshay
e4bcf80af2
Application logger using pino ( #600 )
...
* setup application logger with pino
* remove console.log
2021-08-25 22:13:18 +05:30
navaneeth
607f474e67
Merge branch 'hotfix/fix-pg-queries' into develop
2021-08-25 21:12:17 +05:30
navaneeth
98da31df3f
Fix for bulk pg queries
2021-08-25 21:10:44 +05:30
Navaneeth Pk
eec59e597c
Feature: Multiple handlers for events ( #571 )
...
* Multiple handlers for each events
* Fixes
* Migration
* ormconfig to use entities in migrations
* use connection object to build queries
* fixes for bulk update
* Fix for table action button
* use query runner to wrap migration in same transaction
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2021-08-24 12:21:09 +05:30
navaneeth
a343719e13
Bump ToolJet version
2021-08-24 11:29:06 +05:30
Akshay
960bacd0c6
fixes pagination on home page ( #589 )
2021-08-24 11:14:16 +05:30
Akshay
45841259b3
handle multiple columns on bulk query ( #562 )
2021-08-20 19:56:43 +05:30
Akshay
5909aaacff
Feature: bulk update capability for mysql plugin ( #561 )
2021-08-20 19:26:47 +05:30
Sherfin Shamsudeen
1f0ff9ecf8
Add functionality to decide whether front-end should be served from server ( #547 )
...
* Add functionality to decide whether front-end should be served from server
This commit makes the server allow flag `--serve-frontend`, providing
which, will make the server serve the front-end at route '/'. Otherwise
it won't serve the front-end.
* Use env variable to enable serving client from a server end-point
* Add documentation for SERVE_CLIENT env var
2021-08-20 09:25:34 +05:30
Sherfin Shamsudeen
a53cac24b2
Feature: QR scanner widget ( #519 )
...
* Add QR code scanner widget
This commit adds QR code scanner widget which
* Displays a viewfinder that can be activated or deactivated
* Exposes a variable named lastDetectedValue which holds the
data contained in the last QR code it was able to scan
* Defines an event onDetect which is fired whenever a QR code
is successfully scanned
* Add documentation for QR scanner widget
* Supply missing newline
* Supply missing newline for qrscanner.svg
* Supply missing newlines and semicolons
* Update error modal content
* Remove `active` property from QrScanner
* Add blob: to content security policy
* Disable content security policy
* Add content security policy that allows self, unsafe-eval and blob
2021-08-18 22:15:43 +05:30
Sherfin Shamsudeen
a9d7b6ed7b
Make postgres connection SSL encrypted ( #539 )
2021-08-18 13:15:19 +05:30
Vimox Shah
0284fbd45c
Enable pgcrypto extension ( #516 )
...
* [ADD] enable pgcrypto extension
* [ADD] pg_crypto migration
* [REM] additional line breaks
* [REM] additional line breaks
Co-authored-by: vimox-shah-genea <vshah@getgenea.com>
2021-08-17 11:32:53 +05:30
Akshay
3ce36bd728
show readable error info for db create/drop instead of error stack trace ( #517 )
2021-08-13 20:55:43 +05:30
Akshay
c92437b820
Fixes docker dev setup ( #507 )
...
* update docker-compose and docs for docker dev setup
* specify test environment explicitly on npm scripts
* fix migrations to be picked up from either root or dist folder
* fix default slug update
2021-08-13 10:13:22 +05:30
Arpit Nath
7d37cf25f4
Feature: update record operation Airtable ( #468 )
...
* update record(s) operation : airtable
* fix: update record operation - Airtable
* nolints
* indentation fix
* duplicate props removed
2021-08-12 21:06:31 +05:30
Sherfin Shamsudeen
f4cb29ff69
Feature: Profile page for users ( #501 )
...
* Add endpoint to update user first and last name, password
* Add settings page that allows editing user details
* Respond with first and last name when user is updated
* Add 'Settings' item in the drop-down down for user
* Add newline for index.js of settings page
* Supply missing newlines
* Ask for current password inorder to change password
* Add end-point to change password
This commit also adds a Guard to ensure that the user reenters
existing valid password.
* Add e2e test for change_password endpoint
* Copy change for the toast presenting misentered current password while changing password
* Change password when enter key is pressed from 'new password' box
* Add newline and the end of password-revalidate.guard.ts
2021-08-12 21:03:52 +05:30
Sai Deepesh
595bd9b0b7
Fix for welcome email indentation ( #505 )
2021-08-12 21:02:14 +05:30
navaneeth
1f93db7d4a
Bump ToolJet version
2021-08-11 19:31:17 +05:30
Akshay
283e8560ec
enable csp directives to allow script load when nest serves frontend ( #495 )
2021-08-11 19:26:20 +05:30
Sherfin Shamsudeen
5e266f9606
Delete 'AppUser's before App is deleted ( #490 )
...
* Delete 'AppUser's before App is deleted
This commit ensures that all the corresponding entries of AppUser
are deleted before an App is deleted. This is done so to prevent
pre-existing foreign keys from halting the deletion.
* Delete all One-To-Many associated entities when app is deleted
This commit makes the App service's delete action delete all the
related entities of types: FolderApps, DataSources, DataQueries,
AppUsers and AppVersions, before deleting the app itself.
* Set currentVersionId to null before deleting app
2021-08-11 15:36:28 +05:30
navaneeth
414bd03f1e
Fix for firestore query collection operation
2021-08-11 07:43:52 +05:30
Sherfin Shamsudeen
54a40176ea
Feature: Ability to delete apps ( #486 )
...
* Add end-point that deletes an application
Deleting an application will also delete its corresponding
data sources, data queries and app versions.
* Add unit test for app deletion end-point
* Additional e2e test for delete app end-point
This test ensures that non-admin user cannot delete apps.
2021-08-10 19:36:37 +05:30
navaneeth
05073f45b8
Fix for 401 issue of public apps
2021-08-10 17:27:17 +05:30
navaneeth
7ab53cd456
Fix for versions not getting saved
2021-08-10 17:26:16 +05:30
navaneeth
9d09be4eae
Fix for api query crashes
2021-08-10 15:48:37 +05:30
navaneeth
ae60c5897b
Serialize app entities
2021-08-10 14:34:27 +05:30
navaneeth
2f39470ab0
Fix for queries not being serialized properly
2021-08-10 14:18:20 +05:30
navaneeth
ac77059ae8
Use semver to match installed and latest versions
2021-08-10 12:11:51 +05:30
Sherfin Shamsudeen
df225eeb4b
Send first name, last name and email as part of response to login ( #481 )
2021-08-09 17:40:44 +05:30
Sherfin Shamsudeen
f88411f01b
Feature: copy invitation link ( #465 )
...
* Send invitation tokens with the response to GET:organizations/users
* Add column in users table displaying 'copy invitation' button
This commit also makes the app generate corresponding invitation
URL and copies it to the clipboard.
* Add 'Copy invitation' button next to user's 'invited' status
This commit adds an icon button next to the 'invited' label
of users who are invited. Clicking on the button will copy the
corresponding invitation URL to clipboard, and will also
display a notification that says 'Invitation URL copied to clipboard'
* Remoce unnecessary import of Button
* Remove unnecessary empty line
* Remove unnecessary skeletal line
* Supply a newline at the end of theme.scss
* Show 'Copy invitation' button only for admins
* Send invitation token to front-end only if an admin is logged in
* Show 'copy invitation' button only if invitation token is available
2021-08-09 16:01:08 +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
Arpit Nath
1eb2e787a4
Feature: Delete record operation for Airtable ( #459 )
2021-08-05 16:48:09 +05:30
Akshay
6c9e2b61b5
refactor google sheets operations for cell range and header check ( #452 )
2021-08-04 16:25:29 +05:30
Akshay
1987cd657b
add missing seed npm script ( #451 )
2021-08-04 14:47:34 +05:30
Akshay
8ded79318a
Add support for appending and deleting row on google sheets ( #447 )
...
* add ability to append data to google sheets
* add ability to delete data from google sheets
2021-08-03 19:02:11 +05:30
navaneeth
6b4db15e5b
Connection caching for mssql
2021-08-03 10:37:35 +05:30
navaneeth
aaeee9d2e0
Merge branch 'feature/nest-server' of github.com:ToolJet/ToolJet into feature/nest-server
2021-08-03 10:37:24 +05:30
navaneeth
1db065a50c
Connection caching for pg, mysql & mssql
2021-08-03 10:36:56 +05:30
Akshay Sasidharan
70acaeed07
skip seeding if default user is already present
2021-08-03 10:30:22 +05:30
Akshay Sasidharan
2779ea24e8
setup database seed
2021-08-03 09:41:39 +05:30
Akshay
07f0cfab84
Run migrations on heroku deployments ( #431 )
2021-08-02 13:51:48 +05:30
navaneeth
08eab4be65
Set up helmet
2021-08-01 15:01:29 +05:30
navaneeth
3eeed8d86a
Fix for broken email invite link
2021-07-31 18:05:17 +05:30
navaneeth
b1fc2f6df0
Capture emails sent from dev env
2021-07-31 18:03:50 +05:30
navaneeth
7843a3c303
Health check endpoint
2021-07-31 14:15:03 +05:30
navaneeth
62d8b3e646
Dockerfile for production server
2021-07-31 10:10:19 +05:30
Akshay Sasidharan
bee3a0f224
validate and pick db config from env if .env is not found
2021-07-30 20:57:57 +05:30
navaneeth
4d9596d751
switch between connection url and connection params
2021-07-30 09:44:20 +05:30
navaneeth
8b778cc1aa
Heroku stuffs
2021-07-30 09:21:18 +05:30
navaneeth
86060557c0
Fix for app versions being saved with incorrect app id
2021-07-27 23:50:54 +05:30
navaneeth
6d643616a9
Change location of main module for prod builds
2021-07-27 23:07:15 +05:30
navaneeth
0226c398f0
Trap emails if development environment
2021-07-27 21:23:02 +05:30
navaneeth
ac1865280e
Feature: Check for updates
2021-07-26 22:44:14 +05:30
navaneeth
8ed041e991
Feature: Reset password
2021-07-26 21:32:47 +05:30
navaneeth
ce1555ee7f
Feature: Invitation email for new organization users
2021-07-26 20:10:32 +05:30
navaneeth
42acf760e5
Feature: Nodemailer integration, welcome emails
2021-07-26 20:00:12 +05:30
navaneeth
8afdb4917a
Feature: Switch folders on dashboard
2021-07-26 18:15:10 +05:30
navaneeth
41dfad3651
Policies and tests for OAuth endpoint
2021-07-25 23:16:44 +05:30
navaneeth
116fc1f9f3
Feature: OAuth support for REST API sources
2021-07-25 22:50:19 +05:30
navaneeth
d7daad026e
Tests for graphql query service
2021-07-25 18:51:57 +05:30
navaneeth
c84f1756f4
Backend for GraphQL queries
2021-07-25 18:04:36 +05:30
navaneeth
067d924e6b
Queries for REST API using saved data sources
2021-07-25 15:51:24 +05:30
navaneeth
14b2114424
Fix bug that prevented datasources from being updated
2021-07-25 14:25:31 +05:30
navaneeth
e7967cbdf3
Stripe backend integration
2021-07-25 13:08:59 +05:30
navaneeth
50ef839c8b
Auto-load plugins from plugins directory
2021-07-25 11:39:34 +05:30
navaneeth
a73b039114
Policies and tests for datasource endpoints
2021-07-25 00:14:44 +05:30
navaneeth
35388d8930
Policies and tests for query endpoints
2021-07-24 23:39:25 +05:30
navaneeth
ec2662c124
Airtable integration
2021-07-24 18:35:08 +05:30
navaneeth
dd19f31b37
Google sheets integration
2021-07-24 17:36:56 +05:30
navaneeth
9a1712fb7f
Slack OAuth integration
2021-07-24 14:47:38 +05:30
navaneeth
fae1fa7272
Policies and tests for running queries
2021-07-24 11:43:21 +05:30
navaneeth
3c24d8a6c5
Endpoints for app viewer
2021-07-24 09:43:45 +05:30
navaneeth
aa4a92075b
Fix for incorrect config of test env
2021-07-23 22:35:36 +05:30
navaneeth
59e0cd62c2
Endpoint for saving app versions
2021-07-23 22:27:59 +05:30
navaneeth
d5dda41c79
Endpoint to create app versions
2021-07-23 21:29:01 +05:30
navaneeth
70546845be
Endpoint for fetching app versions
2021-07-23 20:21:24 +05:30
navaneeth
b302029bba
Dockerize nest server
2021-07-23 19:46:01 +05:30
navaneeth
12c098e29f
Fix for unwanted null values being saved to db
2021-07-23 12:28:51 +05:30
navaneeth
a003d24e97
Endpoint to create app users
2021-07-23 12:13:50 +05:30
navaneeth
41cca1e60c
App users endpoint & e2e tests
2021-07-23 11:02:49 +05:30
navaneeth
540523c5ad
Porting rails migrations to typeORM
2021-07-22 23:42:06 +05:30
navaneeth
63a3cf28c1
Tests for archiving users & changing roles
2021-07-22 20:08:34 +05:30
navaneeth
ad3e627b9c
Endpoint for updating app params
2021-07-22 19:54:18 +05:30
navaneeth
cb56082f75
Test helpers for creating Nest instance & apps
2021-07-22 19:52:14 +05:30
navaneeth
c37289f1cd
Policies and tests for org user invitation
2021-07-22 15:11:50 +05:30
navaneeth
ed1c026440
Test helper for creating orgs and users
2021-07-22 15:10:16 +05:30
navaneeth
6634bcfc3b
Policies and tests for organization user actions
2021-07-22 12:55:29 +05:30
navaneeth
3aac8f03fb
Helper for clearing DB before each test
2021-07-22 12:36:12 +05:30
navaneeth
7745e4e460
Set up CASL abilities
2021-07-21 22:27:04 +05:30
Navaneeth Pk
b5527305cb
Merge pull request #411 from ToolJet/env-based-config-setup
...
Environment based configuration setup
2021-07-21 20:57:49 +05:30
Akshay Sasidharan
4c868259d0
setup connection options using ormconfig.ts
2021-07-21 18:49:32 +05:30
Akshay Sasidharan
61a9eb6b1b
reuse env files from root directory instead
2021-07-21 18:49:32 +05:30
Akshay Sasidharan
53fdb3b0d6
add ability for db create, migrate, drop and reset
2021-07-21 18:49:32 +05:30
Akshay Sasidharan
c0ef4a738a
make configService to load values based on app env
2021-07-21 18:49:32 +05:30
Akshay Sasidharan
e888c94839
add package nesjs/config
2021-07-20 18:19:28 +05:30
navaneeth
b218dce44b
E2e tests for archiving org users & changing roles
2021-07-20 16:55:51 +05:30
navaneeth
70ab290ffe
Helper for e2e tests to generate auth header
2021-07-20 15:53:47 +05:30
navaneeth
e9b868cdc1
Tests for organization users page
2021-07-20 14:40:11 +05:30
navaneeth
f6745a178b
Setup aliases for modules
2021-07-19 17:00:40 +05:30
navaneeth
20274d24c1
Endpoint for updatign user roles
2021-07-19 15:11:33 +05:30
navaneeth
70ad958d98
Endpoint for creating new organization users
2021-07-19 15:06:34 +05:30
navaneeth
1d9d1a833c
Endpoint to archive org users
2021-07-19 14:27:57 +05:30
navaneeth
8ac4508ed8
Endpoint to fetch organization users
2021-07-19 13:30:42 +05:30
navaneeth
3e420a3ba9
Use futoin-hkdf package to support nodejs v14
2021-07-19 12:41:50 +05:30
Akshay
f54b83bd00
Revise node and npm version ( #408 )
2021-07-19 12:38:44 +05:30
navaneeth
81cc0dad9c
Merge branch 'feature/nest-server' of github.com:ToolJet/ToolJet into feature/nest-server
2021-07-19 12:38:05 +05:30
navaneeth
95ebbcb8f5
Endpoint to set password from invitation token
2021-07-19 12:21:21 +05:30
navaneeth
65ce0b0555
Endpoint: user signup
2021-07-19 11:12:16 +05:30
Akshay
0ce0f5b276
specify node and npm version for server ( #405 )
2021-07-19 08:48:59 +05:30
Akshay
d7de3fbf23
Add package for elastic search ( #404 )
2021-07-18 21:31:06 +05:30
navaneeth
8ee2d0ce2a
Redis auth
2021-07-18 20:20:39 +05:30
navaneeth
85cd96dfbc
Redis datasource
2021-07-18 19:56:05 +05:30
navaneeth
58f8f1a0d6
Connection tests for ES, mongo & dynamodb
2021-07-18 13:13:19 +05:30
navaneeth
fb5f51e000
Connection test for firestore
2021-07-18 12:50:46 +05:30
navaneeth
3b7db1501d
Connection test for postgres
2021-07-18 12:45:19 +05:30
navaneeth
e4921a965a
Connection test for mysql
2021-07-18 12:41:44 +05:30
navaneeth
85f97e5e63
Testing datasource connections
2021-07-18 12:28:05 +05:30
navaneeth
13e99fe24c
Setup dotnev for node server
2021-07-17 23:28:55 +05:30
navaneeth
1ae00756a8
Endpoint to fetch oauth auth url
2021-07-17 23:24:14 +05:30
navaneeth
18346654c9
REST api as datasource
2021-07-17 19:54:48 +05:30
navaneeth
cc25042420
Login should expire only after 30 days
2021-07-17 19:48:08 +05:30
navaneeth
49398d0cf2
Target ES2019
2021-07-17 19:47:28 +05:30
navaneeth
8af54b1a15
Implement getConnection for query services
2021-07-17 13:29:28 +05:30
navaneeth
1d4ced43a3
Error handling for queries
2021-07-17 13:08:02 +05:30
navaneeth
89f59919fa
MS SQL server as datasource
2021-07-17 12:41:03 +05:30
navaneeth
13c49135be
Error handling for queries
2021-07-17 10:11:02 +05:30
navaneeth
52253f26ad
Feature: update data source connection options
2021-07-16 20:33:20 +05:30
navaneeth
2fb63ed7e4
DynamoDB as datasource
2021-07-16 18:36:19 +05:30
navaneeth
fe9f2624b6
should not camelize query results
2021-07-16 18:07:30 +05:30
navaneeth
2dfb3f78c8
Feature: update datasources
2021-07-16 17:40:10 +05:30
navaneeth
a255f6e5c2
MongoDB as datasource
2021-07-16 17:04:06 +05:30
navaneeth
c5868b9e99
Datasource: Elasticsearch
2021-07-15 20:29:11 +05:30
navaneeth
42be2f69cd
Mysql query service without pooling
2021-07-15 14:56:12 +05:30
navaneeth
bb67ed569a
PostgreSQL integration without connection pooling
2021-07-14 23:23:00 +05:30
navaneeth
b2adb9144e
Running queries + firestore query service 🚀
2021-07-14 19:44:35 +05:30
navaneeth
33445b5547
Endpoints: create & update queries
2021-07-12 19:42:34 +05:30
navaneeth
f0ead25571
Endpoint: create datasource with encrypted credentials
2021-07-12 16:06:53 +05:30
navaneeth
8e7095f9fe
Encryption service
2021-07-12 16:06:12 +05:30
navaneeth
49a7a7451b
endpoint for app data sources
2021-07-11 14:09:25 +05:30
navaneeth
facf757371
Endpoint to fetch data queries for a specific app
2021-07-11 14:02:06 +05:30
navaneeth
aa74cd9b65
Data queries entity
2021-07-11 13:52:05 +05:30
navaneeth
df6f704072
Add app versions to apps
2021-07-11 12:49:31 +05:30
navaneeth
c20c5dd1d9
Fix for current_page metadata of apps endpoint
2021-07-11 11:23:05 +05:30
navaneeth
e537b6073f
Move app module to modules folder
2021-07-11 11:11:45 +05:30
navaneeth
e6361ce49e
Organise modules, controllers & services
2021-07-11 11:09:55 +05:30
navaneeth
0aec2f705d
Endpoint: add apps to folder
2021-07-11 10:43:51 +05:30
navaneeth
57b97e6d15
Organise entities under entities directory
2021-07-11 09:06:38 +05:30
navaneeth
44e40c1366
Endpoint: folder creation
2021-07-10 20:32:10 +05:30
navaneeth
34a7d31818
Endpoint: list all folders
2021-07-10 20:26:24 +05:30
navaneeth
3a4164bf69
set app id as the default slug
2021-07-10 20:06:32 +05:30
navaneeth
5b9916f84f
App creation endpoint
2021-07-10 19:37:47 +05:30
navaneeth
ef58c918aa
Apps endpoint with pagination
2021-07-10 19:24:32 +05:30
navaneeth
c008dfc30e
Hashing passwords using beforeInsert & beforeUpdate
2021-07-10 12:31:13 +05:30
navaneeth
5d1ee49940
Chore: autoload typeorm entities
2021-07-10 12:22:41 +05:30
navaneeth
0041201f8a
Improvements for migrations
2021-07-09 16:22:03 +05:30
navaneeth
1a6e53fcf1
Migration for users table
2021-07-09 14:35:56 +05:30
navaneeth
0e8c027131
E2E tests for login endpoint
2021-07-08 22:13:23 +05:30
navaneeth
8121fa5faa
Set up typeORM & JWT authentication
2021-07-08 13:09:07 +05:30
navaneeth
b68c56a16e
Initial commit for nestjs
2021-07-08 11:10:27 +05:30