Commit graph

374 commits

Author SHA1 Message Date
Akshay Sasidharan
0959ab335d bump up version 2022-05-04 19:33:46 +05:30
Tanmoy Bhowmik
ad223e701f
Fix invalid error message for user group (#2964)
* fix(groupPermission): add check for uniqueness before creating the group

* fix(groupPermission): add test for the uniqueness of group permission group name
2022-05-04 16:28:02 +05:30
Muhsin Shah C P
722a701b22
[Feature] option to delete a data source 🚀 (#2790)
* Implemented frontend
- icon and confirmation modal
- delete fn in services

* Implemented backend Endpoint
- Changed confirmation modal msg

* Added unit test for delete operation

* Changed the modal msg again

* Fixed delete btn alignment issue

* Resolved a bug

* changed popover width

* Now delete endpoint will only return the status

* Added a new spec to test delete a data-source from a specific version

* Added deleteDataSource ability

* Removed commented code

* Added BadRequestException in else case

* Resolved an error

* Changed confirmation modal
2022-05-02 18:42:14 +05:30
Akshay Sasidharan
8b1f8ab6d2 bump to v1.11.0 2022-04-28 17:12:13 +05:30
Akshay
971db32540
add backend validation to prevent editing released version (#2926) 2022-04-28 17:00:58 +05:30
Akshay
7e98d606ce
Fix: Thread/Comment edit and delete (#2880)
* fix thread edit and delete

* fix comment edit and delete

* fix thread id type on entity
2022-04-22 13:27:05 +05:30
Muhsin Shah C P
380ea73b30
[Feature] Added a feature to show maintenance state of an app (#2820)
* Implmented toggle and confirmation modal
- Also maintenance state will store in db as a global setting

* Added is_maintenance_on column to apps table

* Now maintenance state will store in app entity

* Lauch btn will be disabled for on-maintenance apps

* Users can't see preview using shared links when app is on maintenance

* Changed toggle name

* Changed maintenance dialog message
- Changed button text
- Fixed some alignment
2022-04-21 22:08:54 +05:30
Akshay
431dc961cd
Feature: Add data transfer object layer to validate and sanitize user inputs (#2694)
* add sanitize-html to be used with dto

* add dto for controllers

* add vaalidation to check token not empty

* update test config

* add validation pipe on test setup

* fix spec

* fix params casing

* update dto for empt checks

* update reset password dto

* only check for options to be defined

* update specs

* update dto and spec

* Remove invalid decorator

* update package-lock

* update thread dto

* update user dto

* fix email

* make comment req params attributes as optional

* fix specs
2022-04-20 14:46:57 +05:30
Gandharv
40420ee591
feat: Add realtime collaboration (#2517)
* feat: add realtime collaboration

* reduce delay in debounce

* feat: add realtime cursors

* feat: add realtime avatars

* add current user to the online users list

* add border color to the avatar

* feat: allow multi user to edit multi-versions simultaneously

* add getOne fn for fetching single api + avatar component

* fix: set appDef from api call

* replace webrtc with ws

* move yjs to separate port (temp)

* run on same port

* fix: update ymap when styles have changed

* - Add static list of colors
- Show the username on hover

* fix: cursors not showing up

* fix: review comments

* remove unused vars

* add new cursor style

* - Run yjs connection on a different path
- Add zindex to cursor such that query editor has precedence

* fix: event emitter bug + position bug

* use shorthand

* cursor style changes

* fix cursor positions

* inc zindex

* change max avatars to 3
2022-04-19 16:07:39 +05:30
Navaneeth Pk
391c2e0481 Lock sentry version 2022-04-12 15:05:22 +05:30
Sherfin Shamsudeen
a7223d9bf3 Bump hotfix version 2022-04-12 13:08:35 +05:30
Sherfin Shamsudeen
e9b8e29790
Fix vulnerability with token validation (#2793)
* Fix token validation

* Fix

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-04-12 13:06:18 +05:30
Sherfin Shamsudeen
3baa3ea9ae Bump version to 1.10 2022-04-11 17:33:31 +05:30
Sherfin Shamsudeen
a9b6d00306 Merge branch 'main' into develop 2022-04-08 16:08:53 +05:30
Sherfin Shamsudeen
4d760d3c9f Bump hotfix version 2022-04-08 16:08:09 +05:30
Akshay
3c8b25dafc
make pino pretty as prod dependency (#2770) 2022-04-08 14:44:36 +05:30
Navaneeth Pk
7cbe7925d5 Fixes sheets 2022-04-05 10:56:06 +05:30
Sherfin Shamsudeen
ab3fce7ae5 Merge branch 'main' into develop 2022-04-04 22:30:01 +05:30
Maurits Lourens
35663b1502
Update passport and run npm audit fix (#2493) 2022-04-03 16:30:59 +05:30
Akshay
dab65ddf88
Chore: Trim version load (#2688)
* trim tooljet version being loaded

* remove console.log
2022-04-03 12:52:32 +05:30
Hannah Walsh
256e691e5f
Add check for null or empty string group name on creation (#2711) 2022-04-02 18:51:42 +05:30
Sherfin Shamsudeen
c6176ee9a1 Merge branch 'develop' into release/1.9.0 2022-03-30 21:02:16 +05:30
Akshay
9b82ed6e4c
fix table events not being associated on version create (#2687) 2022-03-30 20:32:12 +05:30
Arpit
67df2dff63
[Bigfix] Fixes edited version's component definition's schema gets altered (#2641)
* fixes Edited version's component definition's schema gets altered

* Fixes typos
2022-03-28 21:52:34 +05:30
Muhsin Shah C P
05edf4bcf0
Feature: Added refresh token functionality to Rest API OAuth flow (#2536)
* Working on refresh token fn
- Added refresh token to options

* Added and tested google oauth refresh token flow

* Working on outlook refresh token code

* Tested refresh token fn with google oauth and outlook

* Resolving a bug

* Added prompt=consent to auth url

* Appended custom params to authUrl

* Resolved a test error
2022-03-25 12:48:29 +05:30
Muhsin Shah C P
81bed483f9
Feature: Added a field for custom query params (REST API OAuth setup) (#2605)
* Added custom query params to rest api oauth flow
- Also resolved a bug

* Refactoring code
2022-03-24 21:21:34 +05:30
Akshay Sasidharan
02af271d67 bump version 2022-03-24 17:34:32 +05:30
Akshay Sasidharan
a73c71c0b0 Merge branch 'develop' 2022-03-24 17:33:24 +05:30
Akshay
153ce5b60b
Chore: Revise metadata fetch setup for telemetry (#2610)
* revise metadata service for telemetry

* send finish installation metric only on prod

* fix endpoint

* keep fetching metadata with an interval

* fix version check error

* remove ip address on telemetry
2022-03-23 19:53:40 +05:30
Akshay Sasidharan
4a6fd3f80a bump to v1.7.0 2022-03-23 12:29:32 +05:30
Brent Schroeter
e30116e3d8
Check OAuth domain only if restrictions specified. (#2577) 2022-03-21 10:16:58 +05:30
Sherfin Shamsudeen
fd23643d6e Bump version 2022-03-17 22:27:17 +05:30
Sherfin Shamsudeen
f8335a1bf5 Merge branch 'main' into develop 2022-03-16 18:15:03 +05:30
Sherfin Shamsudeen
427f6800f4 Bump hotfix version 2022-03-16 18:13:20 +05:30
Muhsin Shah C P
2d367ffeab
Resolved azure outlook oauth issue (#2499) 2022-03-15 17:07:21 +05:30
Sherfin Shamsudeen
5ec645a845
Split app export query to simpler faster ones (#2485) 2022-03-15 15:13:55 +05:30
Akshay
841710aa9b
Fix: Version creation on empty/invalid version from id (#2510)
* fix version creation on empty/invalid version from id

* fix spec

* hotfix: Edited changes not shown when switching versions (#2386)

* fix edited changes not shown when switching versions

* fix version create from not picking editing version

* fix version switch not updated on editing version save
2022-03-15 15:12:43 +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
Sherfin Shamsudeen
eec83b4f13 Bump minor version 2022-03-11 12:05:17 +05:30
Sherfin Shamsudeen
cba9837d06 Merge branch 'main' into develop 2022-03-11 12:02:37 +05:30
Sherfin Shamsudeen
04ba701ac8 Bump patch version 2022-03-11 12:01:08 +05:30
Akshay
8bfd814b3a
Feature: Version deletion (#2492)
* add ability to delete versions

* add specs for version delete

* add check for preventing released version deletion
2022-03-11 01:44:37 +05:30
Kiran Ashok
2c5c66bfb1
Integration couchDB (#2337)
* feature :: couch db

* updates

* types update

* updated types

* couch db integration updates for crud opertations

* updates

* updated icon

* inlcluding port

* port addition

* crud updates

* updates including proper variables

* optimizing

* updates

* completed basic crud with couchdb

* updates

* view get option

* removing hints

* adding skip

* updates for adding params and mangoquery

* changing auth order

* adding condition check to conditionally add  and remove  params

* adding checks

* sepreated protocol and host

* updates

* included connection testing

* updated with pr suggestions

* couch db documentation

* updates

* fixed bugs , completed docs

* typo

* marking optional params

* optimizing

* image updated

* changed img for find

* updating list record query to include doc data

* updating couchdb docs :: include_docs key addition
2022-03-10 18:24:11 +05:30
Akshay
c6747ffb4a
make use of entityManager within migration backfill (#2475) 2022-03-10 12:21:34 +05:30
Sherfin Shamsudeen
0b60bb3b58 Bump patch version 2022-03-09 17:19:35 +05:30
Sherfin Shamsudeen
4db86f03cb
Hotfix/fix for missing query reassociations (#2471)
* Reassociate run query events and queries in backfill for new versioning system

* Promote the order of execution for AddApplicationIconColumn

* Do not create application_icon column if it already exists

* Consider table toggle actions while migrating
2022-03-09 16:56:03 +05:30
Maurits Lourens
9c6098688b
Remove the password from the apps request (#2461) 2022-03-09 08:35:33 +05:30
Sherfin Shamsudeen
f83b123ec1 Bump version to 1.4.0 2022-03-08 14:59:52 +05:30
Naveen Pandurangi
1cfffb902c
FIX #2375 - Incorrect error message when user email already exists (#2418)
* FIX #2375

Incorrect error message when user email already exists

* Remove console log

* Add existing user check before creating new user
2022-03-04 07:58:02 +05:30
Akshay
e81c7cdf93
fixes failing spec (#2425) 2022-03-03 22:05:19 +05:30