Commit graph

4570 commits

Author SHA1 Message Date
Muhsin Shah C P
e7bb22e649
[enhancement] Sanitising app name while creating or editing an app (#6423)
* working on app name unique migrationworking on app name unique migration

* Added checks and conditions

* change: remove staring and ending spaces

* fix: error management

* fix: regex

* working on app name generation

* app name:fixing bugs

* app name: fixing and refactoring code

* app name: fixed test cases

* updated app name constraints and default name

* fix: apps.e2e tests case

* fix: added app name to the prompt

* added app input tooltip

* removed unwanted code

* added tooltip close code

* fixed auto generated name issue

* merging develop

* code refactoring

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-06-06 14:12:36 +05:30
Mahmoud Mohamed Tayel
c700e4f22c
Fix broken contributors grid in the README #6644 (#6648)
modified:   README.md
2023-06-06 11:30:46 +05:30
Kavin Venkatachalam
50323bf35c
Query Manager Refactor (#6279)
* global store init

* Moved query data to new component

* Removed unwanted code

* Removed data queries prop drilling

* Moved query state out of editor

* Added unsafe to componentWillReceiveProps

* Selected first query when the version is changed

* Fixed bug on renaming query

* Fixed issue on dark theme

* Fixed running query on page load in viewer

* Query manager refactor init

* Added global data source in store

* Disabled devtools on production

* Fixed bug on selecting query after deletion

* Reset store when editor is loaded

* Moved query manager to functional component

* Fixed conflict issues

* Fixed infinite loop on tooljetDB

* Set the store name and updated devtools logic

* Fixed issue on displaying draft query from data sources

* Updated comments on the store

* Fixed bug on changing data source and creating query from data source

* Fixed bug on showing unsaved changes popup

* Fixed issue on showing confirmation modal everytime without any changes

* Fixed issues on query renaming

* Fixed issue on creating restAPI query

* Fixed issue on running runJS, runPY

* Fixed toast bug on running query after renaming it

* Fallback - toast bug on running query after renaming it

* Fixed issue on running query after app switch

* Fixed bug on running query with save button click

* Fixed bugs on displaying query notifications

* Hidden the copilot tooltip on the toggles
2023-06-06 10:24:54 +05:30
Adish M
acde0ac939
Fix: Render cypress workflow deployment (#6643) 2023-06-05 19:18:20 +05:30
Muhsin Shah C P
6266a6f30b
Replaced default workspace name Untitled workspace everywhere with My workspace (#6645)
* added missed default name part

* code refactoring
2023-06-05 17:51:02 +05:30
Muhsin Shah C P
dc810061a4
Fixed auto generated workspace name issue (#6642)
* fixed auto generated name issue

* fixed lint error

* fixed test case
2023-06-05 17:30:17 +05:30
Shubhendra Singh Chauhan
d72d8b99c6
Templates revamp (#6629)
* template: updated customer dashboard

* template: updated job application tracker

* template: updated kpi dashboard

* template: store catalogue update
2023-06-05 15:40:47 +05:30
SatVeer Singh
d22ef683e3
fix: Global datasource searchbar and page rename input-box text visibility in dark mode (#6586)
* fix: Global datasource searchbar and page rename input box text visiblity in darkmode

* fix: dark mode added in no datasource found input
2023-06-05 11:23:15 +05:30
Sukriti
0a619ece46
fixed typo in inspector (#6558) 2023-06-02 15:38:15 +05:30
SatVeer Singh
a3fe2fbee3
fix: Dashboard - show cursor pointer while hover on 'see all templates' link (#6578)
* fix: Dashboard - see all templates link cursor pointer

* fix: change span to button and removed background, border
2023-06-02 15:10:34 +05:30
Shubhendra Singh Chauhan
5e6217cd94
[doc] added docs for next version(v2.7) on base directory (#6609)
* doc: duplicate page #6287

* docs: updated canvas scroll #6235

* docs: release confirmation #6422

* docs: table download csa #6132

* doc: dropdown enhancement #6392

* doc: table add new row toggle #6374

* docs: table column show/hide fx #6325

* doc: table row selection revamp #6436
2023-06-02 11:41:09 +05:30
Adish M
10ddee5ff0
adding workflow code for tooljet-server-ce and develop image (#6624)
* adding workflow code for server-ce image

* adding separate workflow for develop and latest docker image build

* added slack notification only on failure

* made changes in heading

* changed heading

* naming correction

* added latest build workflow and server build to trigger manually

* added the develop tag server-ce

* filename change

* added latest tag

* made change to build after pr is merged
2023-06-01 21:03:58 +05:30
Adish M
0d1f9ce3f2
New render url changes for cypress (#6625) 2023-06-01 19:56:07 +05:30
Muhsin Shah C P
9257f6feea
Workspace name sanitisation (#6299)
* added unique organization name constraint

* sanitization task: workspace-name

* refactoring the code

* resolved PR changes

* fixed migration & added some checks

* change: trimming workspace name

* handle error messages

* added missing css

* working on the error messages

* change: first workspace's name of the new user

* change: removed underscore from the list

* Tested and fixed first workspace name changes

* Fixing error handler issues

* working on session storage implementation

* revert: session storage

* change: close modal if the edited name is same as prev name

* fixing bugs

* workspace name: refactoring the code

* workspace name: refactoring again

* workspace name: fixing and refactoring code

* fixed e2e test cases

* added catchDbException to catch db lever errors

* added: PR changes

* workspance name: css fix

* updated workspace name constraints and default name

* fix: test cases

* fix: app.e2e tests case

* fix: wrong error message

* fix: last state issue

* reverted some changes

* added workspace name tooltip

* added more tooltip for workspace name

---------

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2023-06-01 19:21:38 +05:30
Adish M
360bd34651
Fix: Render billing issue in PR apps (#6623)
* Fix: Render billing issue in PR apps

* changed the plan from pro to starter

* adding a render deployment workflow with pro plan for cypress

* added suspend label workflow for pro render workflow

* add the label -review-cypress-app

* Update render-preview-deploy-pro.yml

* Update render-suspend-labeler-pro.yml

* Update render-preview-deploy-pro.yml

* Update render-preview-deploy.yml
2023-06-01 19:00:53 +05:30
Muhsin Shah C P
4c8cb01541
fix: app updated time (#6470) 2023-06-01 16:33:00 +05:30
Midhun Kumar E
8b922d0392
Added app builder specific test run (#6592)
* Add config files

* Modify workflow

* Add changes on workflow

* uncomment the steps

* Remove capturing dowloads

* Update the timeout and interval for URL check

* Fix typo in timeout
2023-05-31 17:18:46 +05:30
Adish M
e47665edcc
fix: Run-ci workflow (#6616) 2023-05-31 15:54:50 +05:30
Muhsin Shah C P
7f60b25138
fix: couldn't see request body (#6472) 2023-05-31 15:29:16 +05:30
Arpit
f7d1c3aab2
improvement - Confirm dialog box after pressing the release app button (#6422)
* prompt message stating "Are you sure you want to release this version of the app?"

* updated the UI for confirm box
2023-05-31 15:28:35 +05:30
Adish M
1bc825927e
Correction slack notification variable in packer build (#6615) 2023-05-31 14:23:09 +05:30
Adish M
b1b30a5adf
Automating tooljet-ce and try-tooljet docker image build using actions (#6539)
* Automating try-tooljet docker image build using actions

* Modified the code make the check if the image is present

* correction in build command

* correction in image repo name

* added tooljet-ce image build code

* added the code which helps to manually trigger flows incase there is break during release

* added if condition to differentiate the jobs

* masked all hardcode passwords

* removed slack notification code

* adding slack notification

* clarity with slack notification message

* changed the file name

* changes name of webhook secrets variable
2023-05-31 14:17:53 +05:30
Adish M
627e775871
Adding slack notification to packer workflow (#6605) 2023-05-31 14:13:55 +05:30
Adish M
9d152b1f21
Fix: psql command in destory review app workflow (#6606)
* Fix: psql command in destory review app workflow

* change in psql command
2023-05-31 14:11:49 +05:30
Midhun G S
77124ff221
wrapping check update API call inside try catch (#6612) 2023-05-31 11:44:09 +05:30
Kumar Kalyan
f11bfcdc0f
Set max size of contributors grid to 360 on README (#6582)
* Update getting-started.md version-2.0.0

modified contributors image graph max value to 360

* Update getting-started.md version-2.1.0

modified contributors image graph max value to 360

* Update getting-started.md version-2.2.0

modified contributors image graph max value to 360

* Update getting-started.md version-2.3.0

modified contributors image graph max value to 360

* Update getting-started.md version-2.4.0

modified contributors image graph max value to 360

* Update getting-started.md version-2.5.0

modified contributors image graph max value to 360

* Update getting-started.md version-2.6.0

modified contributors image graph max value to 360

* Update getting-started.md

modified contributors image graph max value to 360

* Update README.md

modified contributors image graph max value to 360
2023-05-31 11:19:54 +05:30
Akshay
f625110848
update snowflake-sdk (#6584) 2023-05-30 23:53:59 +05:30
Arpit
f98603f1f8
Disable/removing AWS S3 plugin from marketplace (#6414) 2023-05-30 20:09:28 +05:30
Arpit
38b92e27f5
Adds guards to plugins API endpoints based on env (#6579)
* Add guards to plugins API endpoints based on environment variable

* clean up
2023-05-30 20:08:40 +05:30
Adish M
def4178829
Fix: cypress worflow working dir (#6597) 2023-05-30 14:38:38 +05:30
Adish M
88b16f8aad
fix: cypress workflow (#6596)
* fix: cypress workflow

* adding working directory
2023-05-30 13:52:33 +05:30
Midhun Kumar E
a202d62768
Added automation for runPy (#6590)
* Initial Utils and spec

* Add automation for set and unset variable

* Add validations for globals, and rename

* Modify config file

* Add all the fixes

* Revert config

* Add automation for runPy
2023-05-30 13:06:52 +05:30
Midhun Kumar E
d5c68e2fb0
Add data-cy and runJS for runPy (#6591) 2023-05-30 13:06:29 +05:30
Midhun Kumar E
763b1eaa27
Added automation for runjs (#6536)
* Initial Utils and spec

* Add automation for set and unset variable

* Add validations for globals, and rename

* Modify config file

* Add all the fixes

* Revert config
2023-05-30 10:32:10 +05:30
Johnson Cherian
47c2cd7070
fix: display home page if user navigates to hidden page in preview mode (#6253)
* fix: display home page if user navigates to hidden page in preview mode

* fix: Updated page load logic to redirect users to the home page when hidden page url is hit.

* fix: redirect to home page if user hits wrong url in th viewer

* style: eslint fixes

* fix: removed extra character in launch app url
2023-05-30 09:23:21 +05:30
Manish Kushare
254079e530
Added feature to download table data using component specific actions (#6132)
* added feature to download table data using csa

* avoided popover getting closed after selcting downlaod format from select component

generalise the classname in codeHinter

removed important key in css

* bug fixed : column was not populating upon change in data when downloading table data with csa

* avoiding programatically choosing download type in table download csa

* made the requested changes

* made utility function for onChange and value of control specific actions to avoid duplications
2023-05-30 09:21:57 +05:30
Manish Kushare
e8c7244e50
fixed vertical alignment issue for cell in table whose column type are action button, multiselect,datepicker (#6356) 2023-05-30 09:18:14 +05:30
Kavin Venkatachalam
75f0838381
Fixes the background colour popover broken UI (#6101)
* Fixed background colour issue on globalsettings ui

* Reverted a change

* fix : bg color global settings popover not  closing on outside click (#6298)

---------

Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
2023-05-29 16:02:57 +05:30
Arpit
1b625957f0
upgrade pyodide to 0.23.2 (#6347) 2023-05-29 12:28:49 +05:30
Ejaz Ahmad
8093fe06a4
[docs]: link The Ada initiative on slack code of conduct (#6433) 2023-05-29 09:57:02 +05:30
Sherfin Shamsudeen
b9fea38b51
Merge pull request #6571 from ToolJet/merge-back/2.6.2
Merge back/2.6.2
2023-05-26 18:16:12 +05:30
Sherfin Shamsudeen
000cba38ae Merge branch 'main' into merge-back/2.6.2 2023-05-26 18:05:14 +05:30
Kavin Venkatachalam
8bbae02bf8
Fixed rename issue on draft query (#6568) 2023-05-26 18:00:43 +05:30
Kavin Venkatachalam
b9210509ec
Fixed issue on app crash while deleting query created from gds (#6563) 2023-05-26 16:00:22 +05:30
Sherfin Shamsudeen
ec3fa5cde2
Merge pull request #6561 from ToolJet/bump-version/2.6.2
Bump version to 2.6.2
2023-05-26 14:12:10 +05:30
Sherfin Shamsudeen
42e8fa8178
Merge pull request #6562 from ToolJet/bump-version/2.6.2
Bump version to 2.6.2
2023-05-26 14:12:06 +05:30
Sherfin Shamsudeen
41eadfa882 Bump version to 2.6.2 2023-05-26 14:09:11 +05:30
Sherfin Shamsudeen
d24744e0cf
Merge pull request #6552 from ToolJet/merge-back/2.6.1
Merge back/2.6.1
2023-05-26 14:01:48 +05:30
Sherfin Shamsudeen
48344b88e9 Merge branch 'main' into merge-back/2.6.1 2023-05-26 13:51:25 +05:30
Arpit
7f281980a3
Hotfix - support resolving codeblocks workspace (#6551)
* fixes: resolve both {{object}} and %%object%% within a single string

* resolved multiple server/client/app variables together

* clean up

* clean up
2023-05-26 13:50:39 +05:30