Commit Graph

4497 Commits

Author SHA1 Message Date
Abhinav Jha
bddc79aee8 Fix selectedTab binding issue 2020-11-24 18:20:08 +05:30
devrk96
fee1a4518f
Feature: Toast component (#476) 2020-11-24 12:31:37 +05:30
Arpit Mohan
36af9d5c5e Correcting the placeholder in firestore form.json 2020-11-24 11:00:27 +05:30
Nikhil Nandagopal
6da629d441 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-11-23 18:48:00 +05:30
Nikhil Nandagopal
9cc5a20190 added source to user object 2020-11-23 18:47:12 +05:30
Shrikant Sharat Kandula
74cd362057
Firestore Integration (#1799)
* Adding the skeleton for Firestore integration

* Adding the datasource & query editor forms

Also adding the database changelog for the firestore plugin

Commenting out the firestore.close() connection because that causes issues with multiple Firestore tenants running in the same JVM.

* Adding the code for fetching the structure of collections from Firestore

* Use single document path field for Firestore

* Fix potential NPE when datasource destroy timeouts

* Work in progress on collection level ops for Firestore

* Get documents in a collection now works

* Add collection level querying support

* Mild refactoring

* Fix NPE when some fields are missing

* Hide clientJSON as a password field for Firestore

* Make collection level querying reactive

* Make reactive

* Validate before connecting

* Add tests for all supported methods in Firestore

* Fix forms for Firestore with hidden fields

* Hide limit and order by fields when not needed

* Restore log entry deleted by mistake

* Use S3 URL for Firestore/Firebase logo

* Add comments detailing why some code is commented

* Make parsing JSON reactive and fix subscribe calls

* Fix reactive scheduler

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-11-23 18:42:33 +05:30
Trisha Anand
c07264f1c1
Making Redis plugin blocking statements run on elastic thread pool (#1850) 2020-11-23 17:03:04 +05:30
Trisha Anand
772884e1a3
Making dynamo db's blocking commands run on elastic thread pool. (#1853) 2020-11-23 17:02:41 +05:30
Trisha Anand
d8cba1bf8c
Making MySql blocking commands run on elastic thread pool (#1862) 2020-11-23 17:02:18 +05:30
Trisha Anand
0bb99dd087
Elastic search plugin's blocking calls moved to elastic scheduler thread (#1855) 2020-11-23 17:01:34 +05:30
Pawan Kumar
ad52842e1c
Fix/entity name coincide issue 1396 (#1781)
* Fixing the telemetry on self-hosted instances (#1714)

* Fix issue where creating a new application twice does not work (#1713)

* add check if name is conflicting with internal fn

* use already existing selector

* add conflicting names checks on api/queries/widget names

* add test cases for invalid widget/api/query names

* refactor

* change array to map

* remove getDataTreeKeys selector

* refactor

Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-11-23 14:57:00 +05:30
Piyush Mishra
5efcb47486
Improve test automation docs (#1838)
* improve docs with link to client setup and change cypress.env.json instead of editing cypress.json file

* fix link to client setup

* improve ordering

* rearrange

* fix quotes

* remove unlinkable link

* fake push
2020-11-23 13:58:26 +05:30
akash-codemonk
294348e1f9
Query pane plugin form should be initializable (#1802) 2020-11-23 11:58:15 +05:30
Trisha Anand
242afd5753
Making MS-SQL plugin blocking statements run on elastic thread pool (#1827)
* MS-SQL Plugin now creates connection and executes statements over elastic thread pool.

* Added a test to ensure that throwables are clean.
2020-11-23 11:28:01 +05:30
Trisha Anand
dc7a375543
Making postgres plugin blocking statements run on elastic threadpool. (#1821)
* Making postgres plugin blocking statements run on elastic threadpool.

* Moved the blocking calls to check for the connection validity, etc. also inside the Mono.fromCallable
2020-11-23 11:27:52 +05:30
Trisha Anand
c2d1ac973c
Adding thread name to the context of logs to allow for the thread names to be printed for each log. (#1824) 2020-11-23 10:45:15 +05:30
Nikhil Nandagopal
6487508e0c
Merge pull request #1823 from appsmithorg/fix/rte-linebreaks
Fix RTE line break issue
2020-11-20 17:27:51 +05:30
Arpit Mohan
334b85d785 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-11-20 17:14:49 +05:30
Arpit Mohan
c5f3dd6265 Adding the Google maps API key as an env variable to client.yml
This will ensure that we can run the Cypress tests for the map widget.
2020-11-20 17:14:33 +05:30
Abhinav Jha
3064a1865a Fix RTE line break issue
Fix issue where empty defaultValue wasn't getting updated
2020-11-20 17:08:51 +05:30
Hetu Nandu
ff541c3efa
Patch object order issue (#1819) 2020-11-20 15:00:50 +05:30
Arpit Mohan
8929832fa2 Merge branch 'master' into release
# Conflicts:
#	app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog.java
#	app/server/appsmith-server/src/main/resources/application.properties
2020-11-20 14:43:38 +05:30
Hetu Nandu
9ef9d184ff
Pass execution params to action callback (#1814) 2020-11-20 13:57:46 +05:30
Trisha Anand
882df291d7
[Bug Fix] Indices not working for fetching actions during update layout (#1813)
Instead of using compound index, using single indices to ensure that both fetch actions by app id (during load of actions in edit/view mode) and fetch actions by page id (during update layout) are indexed queries.
2020-11-20 13:30:17 +05:30
vicky-primathon
3b85cc8222
Added defaultSelectedRow property in table widget so that users can configure default selected row(s) (#1684)
* Added defaultSelectedRow property in table widget so that users can configure default selected rows

* Cypress test cases added to test default row selection in table widget

* Fix defualtSelectedRow property's evaluation type

* Fix default select row type

* Set default selected row when resetting user selected rows

* Use defaultSelectedRow when no user selected row in table
2020-11-20 13:13:39 +05:30
devrk96
0da8c84ae1
Fix: App card boundaries UI (#1798)
* Hover ui fixed on all sides of app card
2020-11-20 12:45:48 +05:30
devrk96
879258b74f
Theme flag stored in localStorage cleared when logging out (#1796) 2020-11-20 12:45:04 +05:30
Trisha Anand
63fe27fae1
[Bug Fix] : Clone Application creates corrupted clone when interrupted. (#1800)
* Doing a deep copy during clone application instead of updating the original application which may have been causing a concurrency bug.

* Ensuring that once the clone application flow is triggered, the flow completes eventually even if the client cancels the request before completion.

* Cloned application would not be public.

* Added parametrized Application constructor

* Removed lombok all args constructor

* Optimized import

* Incorporated review comments :
1. Updated the constructor for creating the application
2. Added a test case to assert that if during cloning of an application the flow gets cancelled, the cloning would still complete and ensure that the application created is sane.
2020-11-20 10:55:59 +05:30
Sumit Kumar
b03e815952
Change Sentry log 'environment' tag value. (#1789)
* Change Sentry log 'environment' tag value.

1. Change Sentry log 'environment' tag value to 'Properties' from 'properties'.
2020-11-19 17:29:48 +05:30
akash-codemonk
26e793a86a
Show api datasource list on focus (#1668) 2020-11-19 17:11:06 +05:30
akash-codemonk
2ded99f9ac
Fix store as datasource (#1772) 2020-11-19 17:00:22 +05:30
Pawan Kumar
5f1b398d34
Fix/truncated page name in appviewer issue 1597 (#1770)
* Fixing the telemetry on self-hosted instances (#1714)

* Fix issue where creating a new application twice does not work (#1713)

* show popover on truncated page name in appviewer

* move testcases to Pages_spec.js

* fix ref issue + test cases

* fix test case

* update test case

* fix test case

* fix merge conflict typo

Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro.local>
2020-11-19 16:08:09 +05:30
akash-codemonk
acb3c42d66
Highlight matching brackets in editor (#1613) 2020-11-19 13:24:21 +05:30
akash-codemonk
6dc7e42ce9
Remove api datasource from add datasource page (#1639)
* Show only db datasources in the create datasource page

* Remove invalid test
2020-11-19 13:22:44 +05:30
akash-codemonk
32482d4826
Fix datasource name getting focused after save while creating new datasource (#1793) 2020-11-19 13:04:19 +05:30
akash-codemonk
732dc632cd
Show callout only for db datasources (#1792) 2020-11-19 10:49:36 +05:30
Arpit Mohan
7c3a8c0de9
Modifying the release endpoint in docs (#1791)
* Modifying the release endpoint in docs

* Adding reference to Test contribution guide in docs
2020-11-19 09:07:25 +05:30
akash-codemonk
c3c7b9b7d7
Add new property to conditionally hide form fields in datasource and editor (#1682)
* Create a form control component which handles the hidden logic

* Add tests
2020-11-19 09:02:58 +05:30
NandanAnantharamu
bd570460aa
Added to contribution docs with Test Automation steps (#1693)
Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
2020-11-19 08:55:57 +05:30
Arpit Mohan
9772d64c5b
Disable instance ping check when the disableTelemetry flag is set (#1776)
Also adding the APPSMITH_SEGMENT_CE_KEY as a build arg to the server Dockerfile. This will be used to set the environment variable in the Docker image itself.
2020-11-19 08:54:03 +05:30
Piyush Mishra
5b684b857e
Add placeholders on curl import and API create form (#1738)
* adds placeholder on curl import form

* add placeholder to api creation form as well
2020-11-19 05:48:54 +05:30
imgbot[bot]
3a758d6b00
[ImgBot] Optimize images (#1787)
*Total -- 307.26kb -> 177.23kb (42.32%)

/deploy/heroku/images/app-settings.png -- 215.56kb -> 118.43kb (45.06%)
/deploy/heroku/images/finish.png -- 33.21kb -> 19.53kb (41.19%)
/deploy/heroku/images/add-domain-form.png -- 29.12kb -> 18.04kb (38.06%)
/deploy/heroku/images/add-domain-button.png -- 29.37kb -> 21.23kb (27.71%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-18 19:50:24 +05:30
Nikhil Nandagopal
9a73f623ec
Merge pull request #1785 from appsmithorg/feature/embed-viewer
Hide AppViewer Header
2020-11-18 19:14:11 +05:30
Abhinav Jha
93ac625135 Hide appviewer header if queryparams has embed 2020-11-18 18:55:25 +05:30
geekup-legodevops
d5480c4f34
Heroku Button implementation (#1721)
This change adds Heroku to the list of installation targets for Appsmith
2020-11-18 18:53:59 +05:30
Vivek Pandey
de435ed009
Show number of records instead of pages in the table widget (#1734) 2020-11-18 18:20:04 +05:30
Hetu Nandu
2538444e20
Remove old derived value bindings from test DSLs (#1757) 2020-11-18 18:18:07 +05:30
Sumit Kumar
2c6d1bb361
Fix mongodb datasource test. (#1783)
1. Fix mongodb datasource cypress test failure.
2. Against certain mongodb instances, we expect to receive an exception of type "unauthorized" when testing datasource. Earlier, this case was caught and whitelisted until the recent change to replace mongodb infra with reactive mongodb infra.
2020-11-18 16:55:39 +05:30
Nidhi
941be8c58d
Fixed check for incorrect dynamic bindings (#1775)
* Fixed check for incorrect dynamic bindings
2020-11-18 14:25:55 +05:30
Trisha Anand
2489754abe Email sending is now non-blocking. The blocking code for email sending is triggered and then immediately returned. (#1762) 2020-11-18 13:35:07 +05:30