* Add read-documentation link
* Change copywriting for datasources name
* Update new component for link
* Increase input width
Update redshift link
* Fix the datasource name issue
* Initialize ToolJet plugin with default files and installed dependencies
Created the folder structure and default files for the pinecone plugin
the server/src/assets/marketplace/plugins.json file also got updated automatically and added an entry for the Pinecone plugin.
Installed the specified versions of @grpc/grpc-js@^1.12.0 and @pinecone-database/pinecone@^3.0.3 packages into the project.
* Update Pinecone plugin manifest with API key authentication
Updated Pinecone plugin manifest to include API key authentication as an encrypted string.
Added API key field with description and help text for generating the key via the Pinecone Console.
Marked apiKey as a required field in the schema.
* Enhance Pinecone operations.json with vector management options
Amended operations.json to support various vector management operations for the Pinecone plugin.
Added new fields for index, operation, and specific properties for operations like get_index_stats, list_vector_ids, fetch_vectors, upsert_vectors, update_vector, and delete_vectors.
Introduced support for vector ID management, metadata, namespace, and filter options in JSON format.
Updated the schema type from api to database to better reflect the plugin's functionality.
* Add query operations and enhance types for Pinecone plugin
Created query_operations.ts to handle Pinecone operations: getIndexStats, listVectorIds, fetchVectors, upsertVectors, updateVector, and deleteVectors.
Added error handling, namespace support, and consolidated vector deletion logic.
Updated types.ts with detailed SourceOptions and QueryOptions, including fields like index, ids, vectors, and pagination.
Introduced types for Vector, SparseValues, and an enum for available operations, ensuring type safety.
Functions for getIndexStats and listVectorIds work correctly, but other operations are not functioning as expected.
* Implement Pinecone service with query operations and connection handling
Updated index.ts with PineconeService to handle operations: getIndexStats, listVectorIds, fetchVectors, upsertVectors, updateVector, and deleteVectors.
Added connection testing and API key handling functions.
Error handling for invalid operations included.
Only getIndexStats and listVectorIds are working correctly; other operations need debugging.
* Fix operations and add query vector operation
* Update placeholders for boolean fields
Set placeholders for delete_all, include_values, and include_metadata to indicate "true (false by default)" for clearer defaults.
---------
Co-authored-by: parthy007 <parthadhikari1812@gmail.com>
* Initialize ToolJet plugin with default files and installed dependencies
Created the folder structure and default files for the pinecone plugin
the server/src/assets/marketplace/plugins.json file also got updated automatically and added an entry for the Pinecone plugin.
Installed the specified versions of @grpc/grpc-js@^1.12.0 and @pinecone-database/pinecone@^3.0.3 packages into the project.
* Update Pinecone plugin manifest with API key authentication
Updated Pinecone plugin manifest to include API key authentication as an encrypted string.
Added API key field with description and help text for generating the key via the Pinecone Console.
Marked apiKey as a required field in the schema.
* Enhance Pinecone operations.json with vector management options
Amended operations.json to support various vector management operations for the Pinecone plugin.
Added new fields for index, operation, and specific properties for operations like get_index_stats, list_vector_ids, fetch_vectors, upsert_vectors, update_vector, and delete_vectors.
Introduced support for vector ID management, metadata, namespace, and filter options in JSON format.
Updated the schema type from api to database to better reflect the plugin's functionality.
* Add query operations and enhance types for Pinecone plugin
Created query_operations.ts to handle Pinecone operations: getIndexStats, listVectorIds, fetchVectors, upsertVectors, updateVector, and deleteVectors.
Added error handling, namespace support, and consolidated vector deletion logic.
Updated types.ts with detailed SourceOptions and QueryOptions, including fields like index, ids, vectors, and pagination.
Introduced types for Vector, SparseValues, and an enum for available operations, ensuring type safety.
Functions for getIndexStats and listVectorIds work correctly, but other operations are not functioning as expected.
* Implement Pinecone service with query operations and connection handling
Updated index.ts with PineconeService to handle operations: getIndexStats, listVectorIds, fetchVectors, upsertVectors, updateVector, and deleteVectors.
Added connection testing and API key handling functions.
Error handling for invalid operations included.
Only getIndexStats and listVectorIds are working correctly; other operations need debugging.
* Fix operations and add query vector operation
* Update placeholders for boolean fields
Set placeholders for delete_all, include_values, and include_metadata to indicate "true (false by default)" for clearer defaults.
---------
Co-authored-by: parthy007 <parthadhikari1812@gmail.com>
* Update size parameter placeholder for image generation
Updated the placeholder for the size parameter in the operations.json file to specify valid options based on the selected model (DALL-E 2 or DALL-E 3).
- Added size options for DALL-E 2: 256x256, 512x512, 1024x1024 (default: 1024x1024)
- Added size options for DALL-E 3: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)
* Implement model-specific size validation for image generation
Added logic to enforce model-specific size validation for DALL-E 2 and DALL-E 3 in the query_operations.ts file.
- DALL-E 3 accepts sizes: 1024x1024, 1792x1024, 1024x1792 (default: 1024x1024)
- DALL-E 2 accepts sizes: 256x256, 512x512, 1024x1024 (default: 1024x1024)
- Introduced a utility function to validate and apply the appropriate size based on the selected model.
* Add model selection and update schema for OpenAI API operations
This commit will add optional model selection to both completion and chat operations, update the QueryOptions type to include the model field, and modify the operations.json schema to support model selection in the UI for various OpenAI models, including GPT-4 Turbo and GPT-3.5 Turbo. The commit also adjusts the code structure to handle these changes effectively.
* Refactor OpenAI SDK integration and add image generation operation
Refactored OpenAI SDK integration to use correct imports for SDK version 4.56.0.
Replaced deprecated method listModels() with models.list() to retrieve model information.
Fixed redundant apiKey initialization in getConnection method.
Added support for the ImageGeneration operation in the run method to handle image generation using OpenAI's DALL-E.
Improved connection test logic to check for model availability instead of relying on the response status.
* Refactor image generation logic with improved error handling and response format
Updated the image generation logic to include a proper status, message, and description in the response format.
Added validation for the number of images and size using utility functions getNumberOfImages and getSizeEnum.
Commented out getNumberOfImages and num_images parameter in the image generation function as they are not currently in use but reserved for future implementation.
Removed redundant commented code for better readability and maintainability.
Ensured image URL is returned as part of the structured JSON response with a "success" or "failed" status.
Improved error handling by providing detailed error messages and descriptions when the query fails.
* Add UI components for model selection and image generation options
Added dropdown UI component for selecting OpenAI models, including DALL-E 3 and DALL-E 2 options.
Included a component for setting the image size (size) during image generation.
Provided descriptions and placeholders for the size input, with default values for image generation parameters.
Disabled model selection by default with dall-e-3 pre-selected for initial use.
A component for num_images can be set up if required, and the field will be added in future updates.
* Update QueryOptions type to include optional image generation parameters
Added optional num_images parameter to QueryOptions for specifying the number of images to be generated, although currently commented out for future use.
Included size parameter to QueryOptions to define the size of the generated image.
Ensured backward compatibility by making these parameters optional in the QueryOptions interface.
* Update OpenAI SDK and clean up dependencies
Updated the OpenAI SDK version from ^3.2.1 to ^4.56.0 in dependencies.
Fixed duplicate entries and cleaned up redundant dependency declarations.
Ensured consistency in devDependencies by removing duplicate typescript and @vercel/ncc entries.
* make all datasource options expicit
* Fix: Disable resource-name inputs for all action types and change placeholder for resource-body (#9946)
* Disable resource-name input and change placeholder text in resource-body
* Format the placeholder text
* Remove space from placeholder
---------
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
* Dynamic form configuration API logic pending
* OAuth 2.0
* Testing redirectURI
* salesforce-react-component
* Oauth flow
* OauthFlowSetup
* Merge develop
* Oauth flow changes
* Implement run function
* Fetch query details correctly
* Added instance URL to source options for run function
* Remove BulkLoad & ApexRESTQuery operation
* Increase resource-body height
* Render plugin icon in marketplace
* Make the URL dynamic in salesforce form
* Revert "Make the URL dynamic in salesforce form"
This reverts commit 62fa0fa2c1.
Remove extra imports
* Make the redirectUri dynamic
* Remove console.log
* Make use of classnames package for conditional styles
Remove console.log
* Add back remove elements
* Make instanceUrl snakecase
* Correct description for salesforce
* Revert changes to plugin icon in marketplace
---------
Co-authored-by: Syed Mohammad Akhtar Rizvi <85864291+ShazanRizvi@users.noreply.github.com>
* fix : Preview on parameters is not visible.
* fix : data source codehinter breaking
* fix : current value copy button.(copying different values)
* fix : select suggestions using mouse closes the preview box.
* fix : multiline preview
* fix: darkmode
* fixes:
- multi-line suggestions on different line numbers
- extended single line editor for json body
* cleanup
* handle multiple resolver references with hints
* fix : codehinter position
* fix : data source codehinters
* fix : woocommerce
* bugfix : bigquery
* fix : Selecting options from suggestion cleareing the values from input fielsds.
* fix : parmeter list not opening
* datasource going back to defaults bug
* fix : datasource resetting issue
---------
Co-authored-by: arpitnath <arpitnath42@gmail.com>
* Added Edit column functionality in ToolJet Database Table
* feat: null constraint support for create_table add_column edit_column
* fix: default data-type validation has been added
* completed column header revamp
* feat: added not null toggle in create new table drawer
* feat: on toggle not null constraint value will be persisted
* fix: loads label for not null toggle dynamically
* feat: add new column to tjdb null constraint support
* new datatype dropdown design implemented
* added new icon for delete column
* added delete icon for column
* added delete icon for column
* fix: when table name is empty create button will be disabled
* fix: datatype dropdown height fix
* fix: datatype drop down issue fix
* fix: datatype dropdown alignment fix
* fix: delete icon changed to new theme
* fix: delete icon changed to new one
* fix: create new column column name and datatype mandatory validation added
* fixed styling issues
* Added 2 space indentation for css
* inline css moved to css files as well as added 2 space indentation
* fix: createTable addColumn editColumn api payload structure change to incorporate constraint changes
* fix: error handling added for editColumn api
* added 2 space indentation
* fix: create table API payload structure changes
* added 2 space indentation and applied styles for dark mode as well
* disabled the existing column's dataType
* fix: create new column payload updated
* renamed columnIndex to columnSelection and fixed the plus column creator button position issue
* renamed columnIndex to columnSelection and added text visiblity for dropdown in dark and light mode
* moved the react-select's new styles to constants.js file as function
* react select's css moved to constants.js file
* fix: review comments has been fixed
* added edit column warning UI
* completed edit column new flow
* remove Please wait for ToolJet to update..this line from edit column warning message
* increased height for add column + button
* fix: create table will not accept empty values for mandatory fields like tablename column_name datatype
* fix: custom error message for tjdb add row operation
* stylefix: table footer page info section realignment changes
* fix: moved addNewColumn btn to dropdown on clicking table in sidebar
* feat: bulk update and add row option is moved to drop down
* add ability to collapse sidebar
* add tooltip
* fiexed the tooltip issue in collapsible sidebar
* fix background on blank slate
* fix: layout changes for tjdb table header section
* stylefix: tjdb table menu bar style fixes
* stylefix: header btn gap has been reduced
* fix: edit row data populated into the form
* adjusted height
* added small alignment changes
* pagination-rewamp
* adjusted footer style when we collapse the sidebar
* fixed the pagination issue when we add new row
* feat : sticky column header
* feat: expandable row with menu bar flaky issue
* fix: on row hover expand icon will now be visible
* stylefix: added bg color for row hover and cell hover
* stylefix: adjusted expand icon sise
* feature : cell navigation
* fix: flaky issue on tjdb menu bar while expanding row has been fixed
* added naviagation function for table cells
* fix: edit row drawer variable name fixes
* added cell edit option in table cell
* feat: tjdb cell edit dropdown menu completed
* fix merge
* updates node version
* fix: sticky column to left
* feature : cell navigation
* add support for null values on tjdb bulk upload
* stylefix: table background for dark mode fixed
* feature : cell edit implementation
* feat: progress bar for cell edit
* feature : cell edit implementation on boolean datatye
* bug fixes
* toggle implementation
* fix: removed duplicate not null constraint toggle in edit column form
* fix: when last filter is deleter in tjdb dashboard filter drop down will be closed
* feat : cell edit implementation completed
* removed console logs
* fix: edit column onclick not null toggle crash issue fixed
* solved bugs
* added border 2px for selected cells
* added cellvalue in cell input if it have not null constraint
* stylefix: css value for cell hover has been updated
* fix: table header sticky
* stylefix: row hover background color for dark mode
* fix: autocomplete is off for cell edit input field
* fix: null tag was shown when we focus on the input field as well
* fix: in cell edit menu either null or default can be choosen
* fix: cell edit menu null toggle value sync and edit menu not opening issue
* stylefix: row hover bg color was broken
* fix: cell navigation flaky issue
* stylefix: progress bar attached to the bottom of the cell
* fix: tooljetdb collapsible side bar style changes has been fixed
* fix: added infor for cell edit menu navigation
* fix: cell navigation and cell edit menu boolean view arrow navigation
* fix: flow issues in cell navigation has been fixed
* fix: backspace key will remove null values and open cell edit mode
* fix: updated icon for openai datasource
* fix: when we update or delete record pagesize has been modified but it should remain same
* feat: typing on selected field inserts value and enable edit menu and removes null value if exist
* stylefix: table checkbox styling updated
* stylefix: tooljetdb table checkbox indeterminate mode style fixes
* stylefix: row selection background color
* fix: table first column can be selected but not edited
* fix: tooljetDB delete row btn text should be in plural when multiple rows are selected
* fix: when column header menu is opened and closed cell click was not working it is fixed now
* fix null value on id column on row insert
* fix: cell text overlfow will truncate
* fix: in tooljetdb while creating new row filters and sorts which were selected will be made default
* fix: tooljetdb table cell tooltip design change
* fix: on column select and hover entire column was flaky issue fixed
* fix: on edit cell and delete row filter-sort-page-pagesize will be retained
* fix: text info for multiple records selected was wrong
* fix: In tooljetdb tooltip on cell hover wasnt shown for cells pertaining to selected column
* fix: tooljetdb on create row operation scroll will be moved to top
* stylefix: in dark mode on hovering selected row cell background color was wrong
---------
Co-authored-by: Abd-Rahman-1999 <s.rahmanabd1999@gmail.com>
Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
* 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
* feat: autosave data query functionality
* feat: show publish button only when the status in draft state
* Fixed issues on query renaming
* feat: removed discard popup for data query create/edit widget
* stye: reduced autosave api call timeout and added draft tag
* feat: added minor style changes
* feat: fixed issues with restapi plugin, removed unused api calls
* fix: fixed issue that breaks restapi creation
* fix: reload selected query details after update query
* perf: reduced debounce time for data query update apis
* feat: removed full reloading of query list on query renaming
* feat: duplicate data query feature added
* Fixed issue on creating restAPI query
* fix: fixed issue in transforming response from update queyr api
* fix: refresh selected query details when the selected query is updated
* fix: rename query on click enter
* fix: full refresh of query list on update
* fix: style changes
* fix: subscribing to state to autsave
* feat: updated the query manager styles to new design
* feat: revamped the querypane header buttons
* fix: fixed the padding for query panel maximize button
* feat: updated search box style
* refactor: moved function to render data source icon to its own component
* fix: fixed querymanager widget breaking issue
* merged with feat/query-manager-autosave
* refactor: removed unused consoles
* refactor: removed unused consoles
* refactor: removed unused consoles
* fix: removed commented code
* fix: removed unused code
* refactor: removed unused comments
* fix: show change datasource select only if valid ds available
* Update frontend/src/Editor/Inspector/EventManager.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryManager/Components/DataSourceLister.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryManager/Components/QueryManagerBody.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* feat: modify behaviour of search icon in query panel
* fix: fixed theme color mismatch in query manager
* refactor: remove dead code
* refactor: updated theme for data source listner
* fix: theming in filter and sort popup
* refactor: remove unused variables
* fix: removed draftQuery logic from query manager
* refactor: removed unused varibales
* Update frontend/src/Editor/QueryManager/QueryEditors/Restapi/TabParams.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* Update frontend/src/Editor/QueryPanel/QueryCard.jsx
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
* feat: diable preview for draft queries
* fix: added tooltip for query panel button
* fix: fixed issues in saving query manager events
* fix: moved query save subscriber to QuerPanel component
* feat: converted query run api to save and run
* fix: made varibale an optional param in updateDataQuery dto
* refactor: cleanup update dataquery status api response
* refactor: moved query status to constants file
* feat: prompt for queryname when creating new query
* fix: store new queryname in state on create query pageload
* fix: fixed alignment of Tooljet db component form
* fix: correct translation and format file
* refactor: removed consoles
* merge: merge appbuilder-1.2
* style: updated rename input/button UX
* style: revamped dataquery create widget styles
* style: revamped data source selector styles
* fix: removed code added for debugging
* style: updated data query filter design
* style: Add prop to control visibility of clear button in search box
* style: implement new style for query filter
* merge appbuilder-1.2 to feat/query-manager-sort-filter
* refactor: remove unintended file change
* fix: set default value for method in respapi
* style: updated copilot info popup style
* style: updated quer panel header icons
* style: updated button styles
* style: fixed query manager button styles
* style: smoothened query preview modal view
* fix: correct import for some funs
* fix: fixed minor UX bugs
* style: fixed styling of REST api GDS
* style: fixed styleing of sort and filter popup
* style: improved data queries sort filter UI/UX
* fix: remove click listner when overlay is closed
* fix: moved component declaration out of parent component
* fix: set selected datasource for default sources
* fix: filter DS based on saerch in create dropdown
* fix: restrict draft query running to preview mode
* fix: query renamed on input change in create screen
* fix: set name to state as soon as user renames query
* fix: make query notification message consistent
* style: correct s3 bucket plugin layout config
* fix: fixed issues with cloning of Static DS queries
* fix: made change so that newly created query is reflected immediatly
* style: updated spacing for query manager components
* fix: hide rename input when no query selected
* fix: check bothe selected query and DS before rendering query manager
* fix: set isSaving to true only for api calls in querymanager
* fix: added success message form in qm
* fix: filter out draft queries from viewer on running
* fix: fixed inconsistent gutter for runpy and runjs editors
* fix: reload dataqueris on LDS deletion
* fix: redesigned filter/sort popup
* fix: fixed issue that resets filter on search
* fix: fixed query manager breaking on plugin select
* fix: diable json preview for text output
* fix: reset to filter and sort main menu on close filter popup
* refactor: rename varibales
* stye: redesigned query create panel
* feat: revert data query status column from backend
* style: redesign query picker section
* refactor: removed dead code
* style: querypanel expand/collapse btn style
* style: add query select and query filter popup style redesign
* style: updated filter popup style
* feat: removed draft query checks everywhere
* style: empty dataqueries style changed
* style: updated query selector popup and rest options styles
* style: removed 100% height to query option remove btn
* feat: added the query runnable status check
* style: updated query manager footer style
* feat: changed DS filter from kind to DS ID
* style: minor ui tweaks in filter popup
* style: disable DS filter if no DQs created
* style: minor ui change
* fix: rerender filter popup post DS api call. fixed rest api copy feature
* fix: add local DS to filter popup
* refactor: removed dead code/comments
* add new row is crashing when no data is fed to table (#7102)
* fix: fixed condition that blocked GDS run on load
* fix: revert name back to og name if update fails in rename query
* feat: added tooltip for show query btn
* fix: added click interaction for pill btn as well
* fix: minor UI tweaks to make UX better
* style: fixed the styling of filter popup
* style: minor UI tweaks in query filter popup
* fix: fixed minor css issue in ds picker
* style: wrap overflowing text in queryname
* fix: update updated_at after query update api call success
* fix: update remove the caller query from event query dropdown
* style: minor ui spacing tweaks
* fix: fix issue that cuased app crash when tjdb opened
* fix: fixed update row styles
* fix: fixed info popup dark theme bg
* fix: fixed headers styling according to general QM styles
* style: fixed stripe QM UI
* fix: added tooltip for quernames
* feat: add tooltip for select ds options
* added consoles to debug debugger issue
* fix: fixed :active style of ds select dropdown in QM
* fix: fixed DS kind name in data source selector in QM
* fix: fixed border color mismatch for ds select dd
* fix: change tooltip msg for maximize/minize QM
* Fix automation for query manager revamp. (#7223)
* Add data-cy to support modified specs
* Fix event handler
* Fix RunPy and RunJS specs
* Fix event handler label
* Fix basic components spec
* Fix basic components failure
* Fix tabel spec failure.
* Fix runjs and runpy actions
* Fix table column options
* Add data-cy
* version: version updated to 2.13.0
* Version bump
---------
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Manish Kushare <37823141+manishkushare@users.noreply.github.com>
Co-authored-by: Midhun Kumar E <midhun752@gmail.com>
* harperdb plugin initial commit
* added required fields in manifest and provided default values in operation json
* removed not required query options from harperdb
* modified nosql code
* review changes inprogress
* added new fields in manifest file to customize port and protocol
* protocol drop down in harperdb is changed to ssl toggle
* search-by-condition query in NoSQL
* harperdb NoSQL version tested along with search with condition query
* updated operation.json file for required field changes
* harperdb plugin initial commit
* added required fields in manifest and provided default values in operation json
* removed not required query options from harperdb
* review changes inprogress
* added new fields in manifest file to customize port and protocol
* protocol drop down in harperdb is changed to ssl toggle
* in dev mode, start watching for changes in all packages
* plugin reload service
* typo
* fixes updates from fs
* checks if marketplace dev mode is on to decode the run code from plugin index file
* clean up
* removes console.log
* refactor: marketplace dashboard
* prep to merge
* dotenv
* fixes: install new upadates for one plugin at a time
* fixes app crash for new plugins(marketplace/datasource) with default schema
* avoid creating docs for marketplace to root docs
* Before starting watcher, build the marketplace once.
* fixes: installed plugin crashes if deleting the entire plugin from the dir, but the build still haves the plugin files