Commit graph

55 commits

Author SHA1 Message Date
Akshay
f4af291b6f
Chore: Application monitoring support with sentry (#702)
* setup sentry for server

* setup sentry for client

* update docs for sentry dns

* explicitly specify apm vendor

* add module for sentry

* revise directory struct and make sentry debuggable

* setup csp and trace headers for sentry

* whitelist csp for all sentry urls

* change senrty error sample rate to 50%

* make sentry send all errors from backend
2021-09-09 22:14:34 +05:30
Akshay
6bd08608ad
Feature: Client fetches public config from server (#713)
* add /api/config endpoint to serve public config

* client requests public config before app render

* update default public config for whitelist
2021-09-09 21:38:07 +05:30
Akshay
24685a127f
fixes server error when inviting new user (#679) 2021-09-03 09:52:07 +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
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
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
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
2779ea24e8 setup database seed 2021-08-03 09:41:39 +05:30
navaneeth
ac1865280e Feature: Check for updates 2021-07-26 22:44:14 +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
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
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
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
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
ad3e627b9c Endpoint for updating app params 2021-07-22 19:54:18 +05:30
navaneeth
c37289f1cd Policies and tests for org user invitation 2021-07-22 15:11:50 +05:30
navaneeth
6634bcfc3b Policies and tests for organization user actions 2021-07-22 12:55:29 +05:30
navaneeth
7745e4e460 Set up CASL abilities 2021-07-21 22:27:04 +05:30
Akshay Sasidharan
c0ef4a738a make configService to load values based on app env 2021-07-21 18:49:32 +05:30
navaneeth
f6745a178b Setup aliases for modules 2021-07-19 17:00:40 +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
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
navaneeth
85cd96dfbc Redis datasource 2021-07-18 19:56:05 +05:30
navaneeth
85f97e5e63 Testing datasource connections 2021-07-18 12:28:05 +05:30
navaneeth
1ae00756a8 Endpoint to fetch oauth auth url 2021-07-17 23:24:14 +05:30
navaneeth
cc25042420 Login should expire only after 30 days 2021-07-17 19:48:08 +05:30
navaneeth
8af54b1a15 Implement getConnection for query services 2021-07-17 13:29:28 +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
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
f0ead25571 Endpoint: create datasource with encrypted credentials 2021-07-12 16:06:53 +05:30
navaneeth
49a7a7451b endpoint for app data sources 2021-07-11 14:09:25 +05:30