Skip to content

Commit

Permalink
Updating to latest release (#5498)
Browse files Browse the repository at this point in the history
* fix: reduced portal zindex

* fix: move dropdown options to portal

* fix: overlay covering widget explorer

* Fix: modal and Dropdown

* fix: remove unnecessary className

* fix: remove console statement

* FEATURE-2111 : Show/Hide Table Controls

-- Add the header options section for the visibility setting
-- Render conditionally the header part based on the setting

* FEATURE-2111 : Show/Hide Table Controls

-- Remove JS convertible
-- Set isBindProperty and isTriggerProperty to false

* FEATURE-2111 : Show/Hide Table Controls

-- PositionedContainer : Add padding-bottom: 42px in case of Table widget

* FEATURE-2111 : Show/Hide Table Controls

-- Remove extra space when the header options is all hidden

* Revert "FEATURE-2111 : Show/Hide Table Controls"

This reverts commit 1d3c2da.

* FEATURE-2111 : Show/Hide table controls

-- Apply some cleanup

* FEATURE-2111 : Show/Hide Table Controls

-- Adjust pageSize
-- Change column header height
-- Restore the logic for renderEmptyRow

* fix: PR comments

* fix: failing modal test

* fix: add Layers to the dropdown

* fix: Add zIndex Layers of Dropdown and Modal

* - Change useEffect hook to use deep cehck for modifiers instead of refernece equality
- Moemoize getThemeDetails

* FIX #4731: update condition for selectedRowIndices when table widget drag and drop

* FEATURE-2111 : Show/Hide Table Controls

-- Use isHeaderVisible variable for conditional rendering

* FIX #4875 : update modal onclick reference for same modal while pasting modal and added test case

* Add API for setting page order in an application

* fix: options display in deploy view

* - Close the property pane at the start of the test as it's not closed in the earlier test case.

* FEATURE-1726 : iframe widget

-- Scaffold the widget
-- Bind properties

* Add API for setting page order in an application

* FEATURE-2111 : Show/Hide Table Controls

-- Add a migration for the header options visibilities

* FEATURE-1726 : Iframe Widget

-- Bind onURLChanged event listener

* Add page re-order API

* Add page re-order API

* FEATURE-1726 : Iframe Widget

-- Bind onMessageReceived
-- Refactor event bindings

* Moved constructor to the top.

* FEATURE-1726 : Iframe widget

-- Remove spread operator on IframeComponent
-- Use a theme color by default for border color
-- Fix the crash issue when the widget is removed

* FEATURE-1726 : Iframe Widget

-- Remove the spread operator in IframeWidget
-- Connect the widget help with the correct documentation path
-- Expose source and title for autocomplete
-- Remove the redundant wrapping with meta from the widget

* 1. Added logic to handle pageDown scenario
2. Added comments

* Add test for page reorder and add order to the response

* Check if user exists before loading the form (#5108)

* Updated fork/duplicate test (#4923)

* Updated test to handle version

* updated test

* added a small wait

* Assertion updated

* formatted code

* fork test updated

* dsl file added

* Updated test

* Try waiting in the addDsl step

* Other fixes

Co-authored-by: hetunandu <[email protected]>

* Use assertThat type of assertions and move the order initialization logic to migration

* updated test flow (#5118)

* Fix: Use connection pool for Redis (#5093)

* Replace single connection instance with a connection pool. This will ensure that simultaneous actions don't fail / break the connection.

* Fix/api editor enhancement (#5095)

* Keep datasource tab open when there are datasources configured in API editor

* Save headers when users save an action as datasource

* Fix incorrect action type reference (#5121)

* Update config.json

* Button UI Test Cases.

Automated following UI test cases
for button regarding the property pane:
Button Style Validation
Button Copy and paste
Button Delete
Create api, and then call it upon clicking the button widget.
Create query, and then call it upon clicking the button widget.
All above using JS

* JS Scenario

* Allow only organization admins to export application (#5085)

* Added permission export:applications for admin role

* Only admins are allowed to export applications

Co-authored-by: Pranav Kanade <[email protected]>

* Add an option to set tags on transactions #5147

* 1. Add migration logic
2. Add order while creating pages

* - Set the default perfTags value to []

* - Fix typo in type definitions

* 1. Fix failing unit tests for the page reorder

* Modifying PR template to revert to older version (#5154)

* [Feature] Smart Substitution for JSON fields in Mongo Form (#5136)

* Reduced verbosity of the command names for Insert, Find and Delete

* WIP : Smart substitution untested changes for mongo form

* Tested code for smart substitution working for mongo form fields

* Added test case for assert for smart substitution

* Fix merge conficts

* Cypress.json update

* Deleted Hard Waits. 

Deleted Hard Waits.

* Change the test scenario

* fix for #5073

* Added Documentation for Windows WSL2 Client Setup

* Fix: updating basic dsl for fork and duplicate feature cypress specs (#5152)

* dip

* dip

* Resolved Conflict in QueryEditor.json file

Resolved Conflict in QueryEditor.json file

* Changing instruction for better setup

* Ignore the order of the page while checking the published and edited pages test

* Feature/signup success url (#5124)

* Reset the user in store on 401s (#5153)

* Fature/add pagination in notifications (#5096)

* -added pagination to notifications API

* -add unit tests for notification pagination

* -added unread count in get notifications API

* -moved notification creations to notification service from comment service

* -add repository method to mark a notification as read

* -added repository to update isRead by for username

* -add API to mark notification as read

* -addd application id and application name in notification

* -save application id and name in notification when creating notification for comment and comment threads

* -added page id, from user information in notifications

* -fixed failing unit test due to dependency error

* -removed unused imports

* -extended base controller in notification controller

* - introduced pagination based on before created data instead of offset based pagination

* -moved application id, name and page id inside comment from notification

* -moved author information from notification to comment thread

* -return data from notification service instead of the response object in the mark read or unread API

* - Remove the is_array check

* Profile image updates (#4783)

* Fix: parse json/jsonb data type values as json for postgres plugin (#5135)

* parse json/jsonb data type values as json
* add support for json (non binary, earlier support for jsonb was added)

* Highlight the second item in in the omnibar search results (#4611)

* Comments feature fixes (view mode) (#5081)

* Snowflake integration (#5176)

* POC for snowflake integration with Appsmith

This is just a rough version to see if the functionality works. Needs to be cleaned up & enhanced for production usage.

* Plugin with connection, monos, ds testing, validation, templates, structure and forms

* Better comments

* Default schema to public

* Changed logging destination, populated request in result and used thread group for datasource creation

Co-authored-by: Arpit Mohan <[email protected]>

* Add widget ID, widget type to property pane open perforamnce tracker.

* removed unwanted wait (#5206)

* Feature: Widget Grouping Phase II (#4825)

* dip

* dip

* Cleaning up grid density positioning.

* dip

* dip

* dip

* dip

* code clean up

* dip

* dip(restructuring widget selection)

* Deselect parents and children of a widget when user multi selects.

* dip

* dip

* dip

* dip

* dip

* fixing a bad merge

* fixing tests

* adding jest tests.

* common util

* dip

* dip

* fixes

* restrict in deploy mode.

* fixing dynamic layout.

* fixing tests.

* on paste fix.

* fixing specs.

* addressing code review comments

* dip

* dip

* dip

* fixing specs.

* fix: app/server/appsmith-interfaces/pom.xml & app/server/appsmith-server/pom.xml to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1052449
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1052450
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1054588
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056414
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056416
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056417
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056418
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056419
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056420
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056421
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056424
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056425
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056426
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-1056427
- https://snyk.io/vuln/SNYK-JAVA-COMMONSBEANUTILS-460111
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1020439
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1070799
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1082238
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1083991
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-1089809
- https://snyk.io/vuln/SNYK-JAVA-IOPROJECTREACTORNETTY-559154
- https://snyk.io/vuln/SNYK-JAVA-IOPROJECTREACTORNETTY-559155
- https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-1009832
- https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORK-1296829
- https://snyk.io/vuln/SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-1290497
- https://snyk.io/vuln/SNYK-JAVA-ORGYAML-537645

* Fix: Show error callout in api pane when there is an error (#4827)

* Fixed  and updated Button Specs.

Fixed "Button-Call-Query Validation" test case in Button Spec and updated Copy, delete widget test cases.

* Add commands in Command.js 

Add commands in Command.js 
copyWidget, deleteWidget

* Fix app publish event sent at wrong times

* Fix redirect URL on 401s (#5230)

* Support for orphan API without any datasource added for import-export functionality (#5232)

* Remove * import statements

* Update README.md

* Typo

* Another typo 🤦🏻‍♂️

* [Snyk] Security upgrade net.minidev:json-smart from 2.3 to 2.4.7 (#5225)

* fix: app/server/appsmith-interfaces/pom.xml to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-NETMINIDEV-1078499
- https://snyk.io/vuln/SNYK-JAVA-NETMINIDEV-1298655

* Updating the json-smart dependency to the latest one

Co-authored-by: Arpit Mohan <[email protected]>

* Merge the two update commands into a single update command in Mongo Form (#5171)

* Update commands have been merged into a single update command for both single and multi updates

* Added migrations to migrate any update one mongo form command to new update command

* Incorporated review comments

* Schema info in templates query (#5244)

* Commenting out migration for quick fix to bring up release (#5248)

* List Widget Phase 2 (#4189)

* update  meta properties + default properties map

* update widget registery

* update get meta property

* update metahoc + widgetfactory + data tree evaluator

* try sending function as string to worker

* revert data tree evaluator update

* pass default props map from dataTreeWidget file

* wip

* save child meta properties

* remove console.log

* save meta and default map in list

* update listwidget

* remove console.log + unused variables

* revert getMetaPropertiesMap function

* fix data tree test

* fix list widget test

* fix entity definition test

* fix overriting of item in updatedItems

* remove todo comments

* fix meta prop issue

* revert making meta properties from undefiend to "" & fix filepicker bug

* fix test case

* change items to listData and updatedItems to items

* remove console.log

* fix test

* extract derived properties to dervied.js

* disabled top, left, right resize handler list widget container

* add test for dervied js

* add test for selectedItem

* fix background color bug on hover

* remove console.log

* fix chart widget inside list widget

* fix checkbox issue + points raised by yogesh

* revert the createImmerReducer usage

* fix parse derived properties

* remove internal props object that fails the test

* fix import typo

* allow bottom resize handler

* fix template height check

* fix template height check

* update template size check

* fix the is visible invalid prop issue

* fix migration of list widget phase 2

* fix migration

* remove unused import

* fix migration

* fix migration

* remove console.log

* hide delete option for container in entity explorer

* fix testcases

* remove unused import

* fix switch widget meta prop

Co-authored-by: root <[email protected]>
Co-authored-by: Pawan Kumar <[email protected]>

* Fix publish application event not being sent

* Change the logic to have check for the order of all the pages

* Fix Table Widget Filter issue (#3975)

* Fix issue where non-string empty values are not correctly filtered

* Add unit test for fix

* Updated Widgets_form_input_table_default_validation.js 

Updated Widgets_form_input_table_default_validation.js

* update gifs on readme

* Change the test method name to more meaningful,.equals for boolean comparision, fix indentation

* Migration for createdAt and updatedAt field for userCollection if not present (#5249)

* [ImgBot] Optimize images (#5260)

*Total -- 1,360.99kb -> 1,333.59kb (2.01%)

/static/animations/running-api.gif -- 1,353.80kb -> 1,326.48kb (2.02%)
/app/client/src/assets/images/InspectElement.svg -- 4.50kb -> 4.43kb (1.46%)
/app/client/src/assets/icons/comments/down-arrow.svg -- 0.32kb -> 0.32kb (1.21%)
/app/client/src/assets/icons/ads/bell.svg -- 0.38kb -> 0.37kb (0.78%)
/app/client/src/assets/icons/ads/upload_success.svg -- 0.48kb -> 0.48kb (0.61%)
/app/client/src/assets/icons/ads/download.svg -- 0.60kb -> 0.60kb (0.49%)
/app/client/src/assets/icons/comments/eye.svg -- 0.91kb -> 0.91kb (0.32%)

Signed-off-by: ImgBotApp <[email protected]>

Co-authored-by: ImgBotApp <[email protected]>

* Run tests for all approved PRs (#5275)

* Fix: Log dependent property values in debugger when a property is updated (#4865)

* [ImgBot] Optimize images (#5277)

*Total -- 3,594.44kb -> 3,429.78kb (4.58%)

/static/animations/widgets.gif -- 1,349.47kb -> 1,261.08kb (6.55%)
/static/animations/javascript.gif -- 2,244.10kb -> 2,167.84kb (3.4%)
/app/client/src/assets/icons/comments/filter.svg -- 0.86kb -> 0.86kb (0.34%)

Signed-off-by: ImgBotApp <[email protected]>

Co-authored-by: ImgBotApp <[email protected]>

* FEATURE-1726 : Iframe Widget

-- Set default source url to wikipedia.org
-- Fix typo on the tooltip of onURLChanged, url to URL
-- Fix the issue which is related to reduced iframe in its deploy mode
-- Fix the issue which is related to the inclusion of nearby widgets in deploy mode
-- Add Expected Data Type fields with regard to borderOpacity and borderWidth

* Generate linting errors via JSHint (#5034)

* Mongo For Update Migrations (#5291)

* Commenting out migration for quick fix to bring up release

* Added null checks for the incomplete configured update single and update many queries

* Bug Fix: Fix dynamic binding substitution failure with Firestore `where` condition input boxes. (#5280)

Modify dynamic binding substitution method to handle list and map types containing generic type values.

* Removed intermediate navigation to datasource list page. (#5304)

* Fix to enable scroll in sql query results. (#5091)

* Dynamically adjust table virtualizer's height according to resizer

* Remove unused configurations in Netlify

* Use loadash get function to add fall back  value to datasource url (#5285)

* Bump ws from 6.2.1 to 6.2.2 in /app/client (#4941)

Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Added Cypress tests for tab widget (#4345)

* Added tests for tab widget

* Added another test

* Commone method updated

* commented test

* Set the order to published pages

* Remove the unnecessary comments

* Fix cyclical dependency issue when Api returns an error (#5333)

Co-authored-by: Trisha Anand <[email protected]>

* Error message when updating duplicate application name modified to give more contextual information (#5341)

* Feature/implement comment thread subscriber (#5261)

* -send email to users who are subscribed to a thread only

* -fixed null pointer exception while set subscriber in create thread

* -updated as per PR comments and review

* Enable total number of rows and page size for server side pagination in table widget (#4863)

* Add defaultPageSize and totalRecordsCount properties in table widget

* Changing next button disable

* Added checks for properties change

* Handle defaultPageSize change

* Updated util.test to handle new table properties

* Configure for cypress test for page size and total records count properties

* Added cypress test for default page size and total records count validation

* Fix test cases

* Handle empty space for page size is less than availabe space in table widget

* Minor fixes for errors (#5361)

* Fixed empty area issue when columns are hidden in published mode (#5162)

* Create appsmith_templates.md (#4412)

* Create appsmith_templates.md

* Update appsmith_templates.md

* Update office_hours.md

* Update README.md

* Update README.md

* Update appsmith_templates.md

* Notification updates (#5239)

* Show the associated page name subtly in the omnibar (#5120)

* bug/duplicate application name error will be handled (#5316)

* will show last saved app name if save app name action results in error

* handled duplicate appname update for editing cards

* fixed the app icon update bug

* updated list widget dsl

* Update comments onboarding carousel images (#5373)

* Set mode for comments (#5372)

* Fix bug where some fields are missing for notifications from the API (#5336)

* -set createdAt and type fields in notification
-add threadId in response for comment

* -fixed bug with unread notification count

* Minor collab fixes (#5271)

* Fix: Fixes a bug in onboarding flow step 1 (#5363)

* API for generating a page with UI based on the structure of a given database table (#5269)

* Keymapping, Clone actions from template application, Used exported application JSON file as template app

* Delete references of widgets from action config if extra widgets not required

* Separate API added when pageId is not present with the client

* Added TCs

* Update in regex, enable reqArgsConstructor, separate DTO for CRUD page

* Make the whole window scrollable instead of the main container (#5369)

* Adding detailed steps on adding a new plugin (#5388)

* Update links on README (#5378)

* Correcting typo in plugin contribution guide

* Chart UI test cases (#5370)

* Chart UI Test Cases

Added UI Test cases for Chart Widget.
- All Chart Types
- JS Scenarios
- onClick Scenarios
- Copy
- Delete

* Fixed Chart displaying issue.

Fixed Chart displaying issue.

* Feature: add api key based and bearer token based authentication options to REST API datasource (#5367)

* add api key based and bearer token based authentication options to REST API datasource
* this change is ported to release from Feature: datasource changes for api key auth, bearer token auth, combine config. #4683

* removed quotes from sql templates because of prepared statements being on (#5404)

removed comments from sql templates confusing users with errors because of linting

* chore: Adds Community Call for Jun 24

* Security upgrade node-sass from 4.14.1 to 6.0.1

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-TRIMNEWLINES-1298042

* Changes to show multiple messages for a log in the debugger (#5144)

* [Feature] Widget Grouping Phase - 3 (Cut Copy Paste) (#5083)

* Cut copy paste first cut

* removed different parent groups logic

* mouseup on the outer canvas removes selections.

* bug fix

* remove unwanted dead code.

* Adding tests

* build fix

* min height fixes

* fixing specs.

* fixing specs.

* Onboarding typeform related fixes (#5416)

* Added pod label automation for the new iFrame widget (#5440)

* Test updated as it was flaky (#5441)

* Fix the comment missing issue when new users added to organization (#5314)

* -Add the newly added user to existing comment threads

* -update PR as per review comment

* -updated the PR as per review

* Manual test Ideas for GoogleSheets and Mongo DB Form Input (#4857)

* FIX #4627: updated css to change button widget height when deployed (#5439)

This fixes the difference in the height of a button widget between edit mode and deploy mode.

* Removed Reload action (#5450)

* removed Reload action

* count assertion removed

* Update/bump node version in the doc (#5455)

* [Mongo Plugin] Raw is now a command option instead of Form vs Raw (#5446)

* Raw is now a command option instead of Form vs Raw

* Added database migration for migration raw input type to be of raw command type

* Fixed test case failure

* Minor cleanup

* Updated Template

* Updated Template

* Updated Template

* Update README.md

Updated a few words about access control and sign in.

* added gifs for sharing apps (#5433)

* [ImgBot] Optimize images (#5467)

*Total -- 1,409.96kb -> 1,370.42kb (2.8%)

/static/animations/invite.gif -- 778.42kb -> 751.72kb (3.43%)
/static/animations/login-google.gif -- 625.10kb -> 612.35kb (2.04%)
/app/client/src/assets/icons/comments/chat.svg -- 0.44kb -> 0.43kb (1.79%)
/app/client/src/assets/icons/comments/comment-mode-unread-indicator.svg -- 0.58kb -> 0.57kb (1.69%)
/app/client/src/assets/icons/comments/notifications-empty-state.svg -- 4.78kb -> 4.71kb (1.39%)
/app/client/src/assets/icons/widget/embed.svg -- 0.64kb -> 0.64kb (0.46%)

Signed-off-by: ImgBotApp <[email protected]>

Co-authored-by: ImgBotApp <[email protected]>

* Update form label changes (#5468)

* Revert "Enable total number of rows and page size for server side pagination in table widget (#4863)" (#5469)

This reverts commit related to #2230 & #1578. We will revisit this problem again and implement the solution based on the discussion in the thread.

* Bump prismjs from 1.23.0 to 1.24.0 in /app/client (#5458)

Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Updated Template

* Added delay after typing in Cypress test (#4168)

* added delay after typing

* updated method

* updated type in test

* updated common method

* Added wait between CreationOfUniqueAPIcheck()

Added delay between CreationOfUniqueAPIcheck() to prevent the stale exception.

* Updated API name

* Upated spec to handle retry

Co-authored-by: arslanhaiderbuttar <[email protected]>
Co-authored-by: Arpit Mohan <[email protected]>

* Updated Template

* fix: comma-separated splitting of image url in table col of type image (#4427)

* fix for comma separated splitting of image url in table col of type image

* feat: add object fit control (#4986)

* Added attribute to image widget to change cover properties

* Fix invalid quotes breaking evaluation (#5413)

* Feature/editor simplify - API to work with mock data sets (#5421)

* Added an API to get list of mock datsets
Removed the flow of

* Removed the auto populate of mock datasets flow when the user sign up first time

* Fixed indentation issues

* Instead of sending empty datasource, change template value to empty

* Add only the configs to response instead of entire mongo doc

* Add API to create mock data set

Co-authored-by: Tolulope Adetula <[email protected]>
Co-authored-by: Paul Li <[email protected]>
Co-authored-by: Satish Gandham <[email protected]>
Co-authored-by: Yash <[email protected]>
Co-authored-by: somangshu <[email protected]>
Co-authored-by: Shrikant Sharat Kandula <[email protected]>
Co-authored-by: Anagh Hegde <[email protected]>
Co-authored-by: Satish Gandham <[email protected]>
Co-authored-by: Rishabh Saxena <[email protected]>
Co-authored-by: NandanAnantharamu <[email protected]>
Co-authored-by: hetunandu <[email protected]>
Co-authored-by: Sumit Kumar <[email protected]>
Co-authored-by: arunvjn <[email protected]>
Co-authored-by: Hetu Nandu <[email protected]>
Co-authored-by: Nikhil Nandagopal <[email protected]>
Co-authored-by: arslanhaiderbuttar <[email protected]>
Co-authored-by: Abhijeet <[email protected]>
Co-authored-by: Pranav Kanade <[email protected]>
Co-authored-by: Trisha Anand <[email protected]>
Co-authored-by: arslanhaiderbuttar <[email protected]>
Co-authored-by: Yash <[email protected]>
Co-authored-by: rahulramesha <[email protected]>
Co-authored-by: Ashok Kumar M <[email protected]>
Co-authored-by: Nayan <[email protected]>
Co-authored-by: rahulramesha <[email protected]>
Co-authored-by: akash-codemonk <[email protected]>
Co-authored-by: Nidhi <[email protected]>
Co-authored-by: Arpit Mohan <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: abhishek nayak <[email protected]>
Co-authored-by: Arpit Mohan <[email protected]>
Co-authored-by: Pawan Kumar <[email protected]>
Co-authored-by: root <[email protected]>
Co-authored-by: Pawan Kumar <[email protected]>
Co-authored-by: Abhinav Jha <[email protected]>
Co-authored-by: vihar <[email protected]>
Co-authored-by: imgbot[bot] <31301654+imgbot[bot]@users.noreply.github.com>
Co-authored-by: ImgBotApp <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vicky Bansal <[email protected]>
Co-authored-by: akshayrangasaid <[email protected]>
Co-authored-by: Confidence Okoghenun <[email protected]>
Co-authored-by: YogeshJayaseelan <[email protected]>
Co-authored-by: Ajinkya Kulkarni <[email protected]>
Co-authored-by: Bhavin K <[email protected]>
  • Loading branch information
Show file tree
Hide file tree
Showing 411 changed files with 13,830 additions and 2,998 deletions.
14 changes: 14 additions & 0 deletions .github/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@
"color": "50ba23",
"description": ""
},
"Import-Export-App": {
"name": "Import-Export-App",
"color": "50ba23"
},
"JS": {
"name": "JS",
"color": "ffc1c2",
Expand Down Expand Up @@ -619,6 +623,11 @@
"type": "hasLabel",
"value": true
},
{
"label": "iFrame",
"type": "hasLabel",
"value": true
},
{
"label": "Widgets",
"type": "hasLabel",
Expand Down Expand Up @@ -669,6 +678,11 @@
"label": "Debugger",
"value": true
},
{
"type": "hasLabel",
"label": "Import-Export-App",
"value": true
},
{
"type": "hasLabel",
"label": "Omnibar",
Expand Down
8 changes: 0 additions & 8 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
---
name: "Pull Request"
about: Create a pull request to submit new contributions to appsmith
title: "[FIX/FEATURE]"
labels:
assignees:
---

> Pull Request Template
>
> Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/client-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ jobs:
build:
# If the build has been triggered manually via workflow_dispatch or via a push to protected branches
# then we don't check for the PR approved state
# Only PR approvals of internally created PRs should trigger this workflow
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'push' ||
(github.event_name == 'pull_request_review' &&
github.event.review.state == 'approved' &&
github.event.pull_request.head.repo.full_name == github.repository)
github.event.review.state == 'approved')
runs-on: ubuntu-latest
defaults:
run:
Expand Down
50 changes: 28 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<a href="https://app.appsmith.com/signup/?utm_source=github&utm_medium=social&utm_content=website&utm_campaign=null&utm_term=website"> <img src="https://user-images.githubusercontent.com/30255708/120593421-1b107c80-c45d-11eb-86c9-06bdd66a143a.png" width="410px" alt="Appsmith - The Frontend Tool for Backend Devs"><img src="static/images/git-banner-right.png" width="410px" alt="Appsmith - The Frontend Tool for Backend Devs"></a>
<a href="https://app.appsmith.com/signup/?utm_source=github&utm_medium=social&utm_content=website&utm_campaign=null&utm_term=website"><img src="static/images/git-banner.png" width="100%" alt="Appsmith - The Frontend Tool for Any Backend"></a>

<p>
<b><a href="https://app.appsmith.com/signup/?utm_source=github&utm_medium=social&utm_content=website&utm_campaign=null&utm_term=website">Start Building</a></b>
<h3 align="center">
<b><a href="https://app.appsmith.com/signup/?utm_source=github&utm_medium=social&utm_content=website&utm_campaign=null&utm_term=website">Get Started</a></b>
<a href="https://docs.appsmith.com/?utm_source=github&utm_medium=social&utm_content=appsmith_docs&utm_campaign=null&utm_term=appsmith_docs">Documentation</a>
<a href="https://docs.appsmith.com/?utm_source=github&utm_medium=social&utm_content=appsmith_docs&utm_campaign=null&utm_term=appsmith_docs">Docs</a>
<a href="https://community.appsmith.com/">Community</a>
Expand All @@ -14,14 +14,18 @@
<a href="https://www.youtube.com/appsmith">Youtube</a>
<a href="https://discord.gg/rBTTVJp">Discord</a>
<br>
Turn any datasource into an internal app in minutes. Appsmith lets you drag-and-drop components to build dashboards, write logic with JavaScript objects and connect to any API, database or GraphQL source.
<br>
<p>We're launching the <a href = "https://www.notion.so/Betasmith-Join-the-Appsmith-Beta-Community-5c288dfd57bd4c4781c3bf02ddf9aa8a">Appsmith Community</a>! Be a part of the community that will help shape the future of Appsmith!
<br>
<br><p><img src="static/images/integrations.png" width="320px"></p>
<br>
<a href="./appsmith_templates.md">Templates</a>
</h3>

<p align="center">
Turn any datasource into an internal app in minutes. Appsmith lets you drag-and-drop components to build dashboards, write logic with JavaScript objects and connect to any API, database or GraphQL source.
<br />
<br>
<img src="static/images/integrations.png" width="320px">

</p>
<br>

## Quick Start

Expand All @@ -38,30 +42,32 @@ The fastest way to start with Appsmith is the cloud-hosted version. When you're
## Features

<p>
<img src="static/images/animations/drag-drop.gif" width="32%">
<img src="static/images/animations/running-api.gif" width="32%">
<img src="static/images/animations/writing-js.gif" width="32%">
<img src="static/animations/widgets.gif" width="100%">
</p>

#### ↗️ Drag & Drop UI

Use [ready components](https://docs.appsmith.com/widget-reference/button) to build workflows in record time. Drag common elements like tables, charts, forms and more right into your app.

_Includes text, forms, inputs, buttons, tables, images, charts, checkboxes, switches, radio buttons, datepickers, dropdowns, filepickers, containers, maps, modals, rich text editors, tabs & video._ <br>

#### ⏱ Quick Integrations
<p>
<img src="static/animations/running-api.gif" width="100%">
</p>

Appsmith automagically works using any DB, Rest API or GraphQL as a datasource, with support for OAuth 2.0 and CURL. Here's a list of all our [pre-built integrations](https://docs.appsmith.com/core-concepts/connecting-to-data-sources/connecting-to-databases).

_Currently works with PostgreSQL, MongoDB, MySQL, Firestore, S3, Redshift, Elastic Search, DynamoDB, Redis, and MSFT SQL Server._ <br>

#### 🤖 Code Logic with JavaScript
<p>
<img src="static/animations/javascript.gif" width="100%">
</p>

We'll run JS anywhere! Code interactions between elements, update datasources or manipulate SQL queries—[we'll parse JS anywhere](https://docs.appsmith.com/core-concepts/writing-code).<br><br>
We'll run JS anywhere! Code interactions between elements, update datasources or manipulate SQL queries—[we'll parse JS anywhere](https://docs.appsmith.com/core-concepts/writing-code).<br>

#### ☝️ One-click Deploy & Access Control
<p>
<img src="static/animations/invite.gif" width="100%">
</p>

[Push a button](https://docs.appsmith.com/core-concepts/access-control) to deploy & share apps with your team, or privately invite your team using OAuth 2.0. Each member can be assigned a role with access to certain parts of the app.<br><br>
[Push a button](https://docs.appsmith.com/core-concepts/access-control) to deploy & share apps with your team, or privately invite your team using OAuth 2.0. Each member can be assigned a role with access to certain parts of the app.<br>

#### 🔑 Solid 256-bit Encryption

Expand All @@ -75,7 +81,7 @@ Issues are inevitable. When you have one, our entire team is around to help—
- 📄 Find a solution in our [Documentation](https://docs.appsmith.com)
- ⚠️ Open an issue right here on [GitHub](https://github.com/appsmithorg/appsmith/issues/new/choose)
- 👾 Ask for help on our [Forum](https://community.appsmith.com)
<br><br>
- Join our Beta users program and give us feedback <a href = "https://www.notion.so/Betasmith-Join-the-Appsmith-Beta-Community-5c288dfd57bd4c4781c3bf02ddf9aa8a">Betasmith Community</a>. Be a part of the community that will help shape the future of Appsmith.

## Demos

Expand Down
3 changes: 2 additions & 1 deletion app/client/cypress.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"requestTimeout": 21000,
"pageLoadTimeout": 20000,
"video": true,
"videoUploadOnPasses": false,
"reporter": "mochawesome",
"reporterOptions": {
"reportDir": "results",
Expand All @@ -18,4 +19,4 @@
"runMode": 2,
"openMode": 0
}
}
}
1 change: 1 addition & 0 deletions app/client/cypress/fixtures/basicDsl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":966,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":320,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":23,"minHeight":1292,"parentColumnSpace":1,"dynamicBindingPathList":[],"leftColumn":0,"children":[{"isVisible":true,"inputType":"TEXT","label":"","widgetName":"Input1","version":1,"resetOnSubmit":true,"isRequired":false,"isDisabled":false,"type":"INPUT_WIDGET","isLoading":false,"parentColumnSpace":14.84375,"parentRowSpace":10,"leftColumn":23,"rightColumn":43,"topRow":8,"bottomRow":12,"parentId":"0","widgetId":"ihviqc47ev"}],"dynamicTriggerPathList":[]}}
98 changes: 54 additions & 44 deletions app/client/cypress/fixtures/example.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,50 +201,60 @@
"orderAmount": 9.99
}
],
"ChartCustomConfig": {"type": "area2d",
"dataSource": {
"chart": {
"caption": "Countries With Most Oil Reserves [2017-18]",
"subCaption": "In MMbbl = One Million barrels",
"xAxisName": "Country",
"yAxisName": "Reserves (MMbbl)",
"numberSuffix": "K"
},
"data": [
{
"label": "Venezuela",
"value": "290"
},
{
"label": "Saudi",
"value": "260"
},
{
"label": "Canada",
"value": "180"
},
{
"label": "Iran",
"value": "140"
},
{
"label": "Russia",
"value": "115"
},
{
"label": "UAE",
"value": "100"
},
{
"label": "US",
"value": "30"
},
{
"label": "China",
"value": "30"
}
]
}},
"ChartCustomConfig": {
"type":"column2d",
"dataSource":{
"chart":{
"caption":"Monthly revenue for last year",
"subCaption":"Harry's SuperMart",
"xAxisName":"Month",
"yAxisName":"Revenues (In USD)",
"numberPrefix":"$",
"theme":"fusion"
},
"data":[
{
"label":"Jan",
"value":"420000"
},
{
"label":"Feb",
"value":"810000"
},
{
"label":"Mar",
"value":"720000"
},
{
"label":"Apr",
"value":"550000"
},
{
"label":"May",
"value":"910000"
},
{
"label":"Jun",
"value":"256000"
},
{
"label":"Jul",
"value":"512000"
}
],
"trendlines":[
{
"line":[
{
"startvalue":"700000",
"valueOnRight":"1",
"displayvalue":"Monthly Target"
}
]
}
]
}
},
"TableInputWithNull": [
{
"id": 2381224,
Expand Down
4 changes: 3 additions & 1 deletion app/client/cypress/fixtures/formInputTableDsl.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@
"topRow": 3,
"bottomRow": 4,
"parentId": "4lvpg75cy5",
"widgetId": "vwe9oyg9x1"
"widgetId": "vwe9oyg9x1",
"defaultText": "{{Input1.text}}",
"dynamicBindingPathList": [{"key": "defaultText"}]
}
],
"blueprint": {
Expand Down
24 changes: 12 additions & 12 deletions app/client/cypress/fixtures/listdsl.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 9,
"version": 23,
"minHeight": 1292,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
Expand All @@ -25,7 +25,7 @@
"backgroundColor": "",
"gridType": "vertical",
"gridGap": 0,
"items": "[\n {\n \"id\": 1,\n \"email\": \"[email protected]\",\n \"first_name\": \"Michael\",\n \"last_name\": \"Lawson\",\n \"avatar\": \"https://reqres.in/img/faces/7-image.jpg\"\n },\n {\n \"id\": 2,\n \"email\": \"[email protected]\",\n \"first_name\": \"Lindsay\",\n \"last_name\": \"Ferguson\",\n \"avatar\": \"https://reqres.in/img/faces/8-image.jpg\"\n },\n {\n \"id\": 3,\n \"email\": \"[email protected]\",\n \"first_name\": \"Brock\",\n \"last_name\": \"Lesnar\",\n \"avatar\": \"https://reqres.in/img/faces/8-image.jpg\"\n }\n]",
"listData": "[\n {\n \"id\": 1,\n \"email\": \"[email protected]\",\n \"first_name\": \"Michael\",\n \"last_name\": \"Lawson\",\n \"avatar\": \"https://reqres.in/img/faces/7-image.jpg\"\n },\n {\n \"id\": 2,\n \"email\": \"[email protected]\",\n \"first_name\": \"Lindsay\",\n \"last_name\": \"Ferguson\",\n \"avatar\": \"https://reqres.in/img/faces/8-image.jpg\"\n },\n {\n \"id\": 3,\n \"email\": \"[email protected]\",\n \"first_name\": \"Brock\",\n \"last_name\": \"Lesnar\",\n \"avatar\": \"https://reqres.in/img/faces/8-image.jpg\"\n }\n]",
"widgetName": "List1",
"children": [
{
Expand Down Expand Up @@ -60,9 +60,9 @@
"parentColumnSpace": 32,
"parentRowSpace": 40,
"leftColumn": 2,
"rightColumn": 6,
"rightColumn": 24,
"topRow": 0,
"bottomRow": 1,
"bottomRow": 16,
"parentId": "dinv2tsatk",
"widgetId": "k6ct7dxg4w"
},
Expand All @@ -73,15 +73,15 @@
"widgetName":"Button1",
"isDisabled":false,
"isDefaultClickDisabled":true,
"version":1,
"version":26,
"type":"BUTTON_WIDGET",
"isLoading":false,
"parentColumnSpace":29.25,
"parentRowSpace":40,
"leftColumn":6,
"rightColumn":8,
"leftColumn":24,
"rightColumn": 32,
"topRow":1,
"bottomRow":2,
"bottomRow":8,
"parentId":"dinv2tsatk",
"widgetId":"fuw9p7cuek"
}
Expand All @@ -105,9 +105,9 @@
"type": "CONTAINER_WIDGET",
"isLoading": false,
"leftColumn": 0,
"rightColumn": 16,
"rightColumn": 64,
"topRow": 0,
"bottomRow": 4,
"bottomRow": 16,
"parentId": "0pvmmqr77m",
"widgetId": "4ruj7xl5ri"
}
Expand All @@ -130,9 +130,9 @@
"parentColumnSpace": 74,
"parentRowSpace": 40,
"leftColumn": 0,
"rightColumn": 8,
"rightColumn": 32,
"topRow": 0,
"bottomRow": 10,
"bottomRow": 40,
"parentId": "0",
"widgetId": "5bwz8xcvhj",
"dynamicBindingPathList": [],
Expand Down
Loading

0 comments on commit c8d89e2

Please sign in to comment.