* fix : fix fill rule clip rule etc to camelcase
* fix : svg width and height made to 100% instead of auto
* fix :: few more svg height and width change in editor
* remove logs
* 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>
* instance profile support for dynomodb
* updated setup machine script for ec2
* s3
* use EC2/ECS Instance Metadata Service
* using @aws-sdk/credential-providers
* s3 connection from ec2 instance sucess 🚀
* fixes: aws ses email service
* ses connection from ec2 instance sucess 🚀
* athena connection from ec2 instance sucess 🚀
* reverting athena changes
* select IAM auth option from the dropdown
* added docs
* Update setup_machine.sh
* clean up
* Adds support for pagination in listing objects from s3 buckets
* docs
* adds Next Continuation Token
* docs: Next Continuation Tokenzendesk
* docs: Next Continuation Token
* [docs] replaced gif with intro video for the widget (#2797)
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
* Style updates for widget styles section of the widget inspector (#2757)
* Ensure listItem is exposed for set/unset custom variables handler (#2813)
* [docs] RethinkDB docs updated (#2809)
* updating rethink docs
* docs updates rethinkdb
* updates header
* Centered App Version in Editor (#2644)
* Centered Text in App Version Manager dropdown
* Centered Text in App Version Manager dropdown
Fixes#2570
* resolved all comments
* reverted package-lock
* Updated widget names that were lowercase (#2817)
* [docs] updated baserow and couchDB reference (#2816)
* [docs] changed the s3 sidebar position from 20 to 1.1 (#2829)
* Cypress test for login functionality (#2801)
* Added cypress and other denpendencies
* Added data-cy attribute for elements
* Added cypress test for login functionality
* Reverted unwanted files
* Move documentation link in transformation popover to a new line (#2832)
* Moved read documentation to new line
* added period
* Fixed the tooljet cli link in readme (#2833)
* [Bugfix] On dispatching Undo ⌘Z or Redo ⌘+shift+Z actions to a component on the editor should also update the internal state or props for the children. (#2826)
* fixes currentState should receive updates on appDefinations gets a new update [undo]
* update the internal state or props for the children.
* Improving codehinter UX for better typing (#2796)
* checking keystroke for backspace and enter
* cleanup
* Set newGroupName to null on cancel (#2835)
* Fix: set newGroupName to null on cancel
* Fix: added comma
* Add missing sourceOptions to Snowflake to fix the warehouse/database/schema/role when connecting (#2718)
* Add missing sourceOptions to snowflake and use official snowflake-sdk
* Revert change to snowflake-sdk
* fix lint error
* [ Feature ] :: svg widget (#2806)
* svg icon
* svg component
* cleanup
* name updated
* name updated
* fixing overflow issue
* dafault image
* [docs] renamed filepicker.md to file-picker.md (#2848)
* Add count of elements to new datasource modal (#2846)
* [Feature] Implemented SSL certificate option in PostgreSQL data-source (#2636)
* working on ssl certificates
* Implemented ssl ca certificate feature
- Need to test other options too
* Changed fields order
* Changed cert fields to encrypted
* [Bug-fix] Date picker dropdown breaks table row (#2803)
* Solved a style issue
* Solved the date picker issue
* Solved table date picker ui issue
* [ Feature ]:: Datepicker exlcudedates addition (#2751)
* adding excluded dates property
* updates :: writing date parse function
* update parser
* logic update
* logic updated
* reimplemented logic for excluded dates
* typos updated
* pr changes
* pr changes
* cleanup
* docs updated
* default value changed
* cleanup
* [Bugfix]: Allow firing onSearch event of Table widget irrespective of server-side search is set to true or false. (#2660)
* resolves onsearch event for cliendside search
* removes un-used props
* Minor alignment for timeline title (#2849)
* [docs] renamed deployment directory to Setup (#2847)
* 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
* [Bugfix] stripe query selection dropdown menu should display the selected component value on saving the query (#2106)
* fixes should display selected component value on saving the query
* handles undefined props to select component
* fixes query failure and state update
* removes log
* fixes the crash
* removes test files
* fixes query options state: selected operation should display field on query save
* fixes query options
* fixes stripe query crash: on mount
* adds remove params function
* Update frontend/src/Editor/QueryManager/QueryEditors/Stripe.jsx
resolves
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
* resolves current value would lead to being a comma(,)
* resolves current value would lead to being a comma(,) to null
* resolves review changes
* clean up: refactored
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
* update label from URL to Base URL (#2859)
* [docs] changed sidebar position for setup (#2858)
* Fix inconsistent action button on share modal (#2854)
* 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
* Followup to #2826 (#2870)
* Fix user group not creating on press enter (#2869)
- add onSubmit handler to form
- made the name input a required field
- removed the newGroup state(it's not being used)
* Bugfix :: datepicker widget shows current date when default date is set as empty (#2875)
* fixing default date bug
* Set arbitrary default date for datepicker, and empty default exluded dates
* If set date is invalid, ensure exposed value is undefined on Datepicker
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* [ enhancement ] :: added on select event (#2707)
* added on select event
* docs updated
* bugfix :: disable cursor when pagination icons are disabled (#2867)
* [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
* Feature: added basic & bearer auth to Rest API (#2742)
* Added basic and bearer auth fields
* Implemented basic and bearer auth
* Changed token name
* Added encrpyted icon along side label
* resolved a basic-auth bug
* Refactored basic auth code
* Fix: Thread/Comment edit and delete (#2880)
* fix thread edit and delete
* fix comment edit and delete
* fix thread id type on entity
* Add support to specify encoding on s3 upload operation
Co-authored-by: shivangT <32157641+shivangT@users.noreply.github.com>
Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
Co-authored-by: Kiran Ashok <stepinfwd@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: KaviiSuri <surikavii@gmail.com>
Co-authored-by: Mathías Donoso <mathiasd88@gmail.com>
Co-authored-by: Shubhendra Singh Chauhan <withshubh@gmail.com>
Co-authored-by: Manjunath <kadrimanjunath56@gmail.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
Co-authored-by: Colton Almaraz <60356596+almaraz333@users.noreply.github.com>
Co-authored-by: Josh Taylor <joshuataylorx@gmail.com>
Co-authored-by: Dinath <88936472+DinahWorld@users.noreply.github.com>
Co-authored-by: Eyuel Berga Woldemichael <30384633+eyuelberga@users.noreply.github.com>
Co-authored-by: Muhsin Shah C P <muhsinshah21@gmail.com>
Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
Co-authored-by: Olaleye Blessing <Olayinkablexxy@gmail.com>
* merge develop
* Add eslint dependencies, configs and scripts to plugins project
* run lint with Github action
* ignore tests and dist folders
* fun eslint with --fix and manual fixes, renamed __tests_ to __tests__
* add plugins packages folder to lint-staged config
* fix lint issue