Commit Graph

2539 Commits

Author SHA1 Message Date
Arpit Mohan
9c0b2a4e33 Merging community release 2020-07-28 19:27:12 +05:30
Shrikant Sharat Kandula
66bf23106d
Fix cloning fails in some cases for organizations (#159)
* Fix cloning fails in some cases for organizations

Cloning currently fails in cases like the following:
- Application with no pages
- Pages with no actions
- Pages with more than one action

* Remove debug naming of cloned datasources

* Add test for organization cloning

* Add more tests for organization cloning

* Fix potential race condition in adding pages to an application

* Move db update call to add page to application, into repository

* Use `getIdCriteria` to query for document's _id
2020-07-28 17:54:06 +05:30
Hetu Nandu
01a3d4682f
Fix action batching issue (#181) 2020-07-28 16:11:51 +05:30
akash-codemonk
502733315b
Fix key value array not being able to set initial value (#150)
* Fix key value array not being able to set initial value. Now we allow multiple values to initialise for array input
2020-07-28 10:45:26 +05:30
NandanAnantharamu
adee90aee9
assertion type changed (#174)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-27 16:44:06 +05:30
Shrikant Sharat Kandula
ee1d56f928 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-25 18:15:30 +05:30
Shrikant Sharat Kandula
74da0f117e
Reuse layout that's automatically created with page (#163)
* Reuse layout that's automatically created with page

* Use correct API for updating a layout

* Commenting out organization cloning test.

* Removed organization cloning test

* Adding a dummy commit to run the pipeline.

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-07-25 18:13:29 +05:30
Shrikant Sharat Kandula
145fa9e757 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-25 16:51:51 +05:30
Shrikant Sharat Kandula
10ad639b28
Bug/layouts not updated on action change (#161)
* Fix layouts not be updated when an action is updated

* Add test for updating onLoadActions when action updated

* Split layout and action test to separate class

* Remove duplicated test in ActionServiceTest
2020-07-25 16:45:42 +05:30
Shrikant Sharat Kandula
bc0b3e9902 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-25 15:45:06 +05:30
Shrikant Sharat Kandula
5ee1c24224
Fix layouts not be updated when an action is updated (#160)
* Fix layouts not be updated when an action is updated

* Add test for updating onLoadActions when action updated
2020-07-25 15:43:22 +05:30
vicky-primathon
8fb0dc02ad
Fix-Search component in Table widget updated with support for clearing search data (#96)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated.

* Table data download changes. Added downlaod icon and button to table widget.

* Table data download changes

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Download table data as CSV implemented

* table data download, unused code removed

* Code refactors and added dependency map with meta props and table data for computing columns

* Table UI breakages on scroll and empty cells fixed

* Handled empty rows in table widget

* Fixed last row cut issue

* Code review changes

* Code review changes

* Added table widget component heights as enum

* code review changes

* Search component in Table widget updated with support for clearing data, renamed properties

* Opening image in new tab on clicking in table widget

* Fixed table craching due to empty data filtering

* Empty extra space on loading removed in table widget

* Removed stopping of event propagation on table widget action button click

* Fixing for test cases

* Table header UI overflow fixed

* Clearing selected row on searching data in table widget

* fix for cypress test

* Table crash issue fix

* searchKeyword renamed to searchText. searchText added to entity definitions

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-24 19:28:28 +05:30
akash-codemonk
126e0a7d04
Update Create query style (#157) 2020-07-24 18:35:37 +05:30
Shrikant Sharat Kandula
8b8530b43a Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-24 18:33:14 +05:30
Shrikant Sharat Kandula
4a269efd4a
Reset default fields of User object before update (#158)
The policies of `User` objects is an empty set by default. So, when using a new `User` object to call `update`, it also updates existing policies to be an empty list.
2020-07-24 18:32:43 +05:30
Shrikant Sharat Kandula
c7429faed4 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-24 17:07:04 +05:30
Trisha Anand
9f8b5ca4d8
Adding execute action permissions policy to match read actions policy in existing actions. (#156)
* Fixing test cases failing due to non unique names.

* Adding execute action permissions policy to match read actions policy in existing actions.

* Only save the action if there are read actions permission present (and hence could have been updated)
2020-07-24 17:05:49 +05:30
vicky-primathon
a2673aaa87
Fix-Open image in new tab on clicking it in table widget. (#119)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated.

* Table data download changes. Added downlaod icon and button to table widget.

* Table data download changes

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Download table data as CSV implemented

* table data download, unused code removed

* Code refactors and added dependency map with meta props and table data for computing columns

* Table UI breakages on scroll and empty cells fixed

* Handled empty rows in table widget

* Fixed last row cut issue

* Code review changes

* Code review changes

* Added table widget component heights as enum

* code review changes

* Search component in Table widget updated with support for clearing data, renamed properties

* Opening image in new tab on clicking in table widget

* Fixed table craching due to empty data filtering

* Empty extra space on loading removed in table widget

* Removed stopping of event propagation on table widget action button click

* Table header UI overflow fixed

* Clearing selected row on searching data in table widget

* fix for cypress test

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-24 16:02:31 +05:30
Trisha Anand
3790256d3f Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-24 15:54:15 +05:30
Trisha Anand
61c62c9212
Datasource Test should test against the datasource object sent by the client (#155)
* Datasource test should always test the latest object given by the client (instead of fetching the same from the db). If it is a saved datasource, then we should decrypt and set the password in the datasource (unless the password is one of the changes that is being tested).

* Added function level comment to clarify that this function can no longer be used by just sending the datasource.id field set.
2020-07-24 15:53:40 +05:30
Shrikant Sharat Kandula
cd08a51eb4 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-24 14:57:36 +05:30
Shrikant Sharat Kandula
23dd84d9c8
Clear application pages list before cloning (#154) 2020-07-24 14:35:16 +05:30
Shrikant Sharat Kandula
4e1a2839d9 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-24 12:44:35 +05:30
Shrikant Sharat Kandula
dfcabab4cc
Handle stale database connection from datasources (#151)
* Handle stale database connection from datasources

* Fix potential secondary case of stale connection error

* Fix Postgres to MySQL

* Move validity check timeout to a constant field

* Add test for recovery when stale connection error is thrown
2020-07-24 12:18:25 +05:30
NandanAnantharamu
8e5fb14f70
updated test by removing blank header value (#153)
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
Co-authored-by: Hetu Nandu <hetu@appsmith.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-24 11:17:54 +05:30
NandanAnantharamu
b73d049019
Api test fixes (#146)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-24 10:01:39 +05:30
Shrikant Sharat Kandula
ca73c3e625
Copy plugin dependencies to their target/lib to fix driver not found errors (#152)
The plugin class loader from Pf4J looks for jars under target/lib
to use to load any classes that are missing target/classes. This
PR adds the `maven-dependency-plugin` to copy the jars to this
folder automatically so the classes are available during
development.
2020-07-24 09:49:17 +05:30
Arpit Mohan
9db1c5f644 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-23 20:33:07 +05:30
Arpit Mohan
36bf14f221
Adding dynamic redirect to form & OAuth2 login (#149)
The client can send the redirect URL in X-Redirect-Url header. The server will honour the value set and redirect the client browser to this particular url. By default the server will redirect to /applications if the custom header is missing. The redirect url can either be absolute or relative.

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2020-07-23 20:32:38 +05:30
Trisha Anand
3c30b38937
Bug fix : External datasources do not execute for public application (#143)
1. Bug fix for when actions for a public application use an external datasource (aka db queries). The db queries were not getting executed because the permission for execute datasource was not getting set for anonymousUser.

2. When using the Test endpoint for datasource, if the datasource is being read from the db and there are encrypted fields, first decrypt the field and then send to the plugin for testing the co
2020-07-23 20:31:36 +05:30
Trisha Anand
6f1be79893 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-23 17:59:53 +05:30
Tejaaswini Narendra
fa329c742f
fix: Table scroll issue, application share issue, eslint errors (#120)
* fix: Table scroll issue, application share issue, eslint errors

- Settings page: whole page should scroll not the table
- Application name to be displayed to user on share
- Fix eslint errors

* fix: Get Application details and pass it to as props.
2020-07-23 17:58:42 +05:30
Tejaaswini Narendra
ea7403ab06
fix: email validation (#118)
* fix: email validation

* feat: Test Email Validation
2020-07-23 17:58:26 +05:30
Tejaaswini Narendra
2ac009678e
fix: Add home button on appviewer screen (#117)
* fix: Add home button on appviewer screen

* fix: styling

* fix: take application details as props
2020-07-23 17:58:02 +05:30
Shrikant Sharat Kandula
a46d355422
Fix class name casing for MySqlPlugin (#148) 2020-07-23 17:33:34 +05:30
Hetu Nandu
d99d233539
Fix widget tests (#141)
* Add table row index and col index
* comment map tests
2020-07-23 11:03:12 +05:30
akash-codemonk
0b91612710
Add environment variable APPSMITH_CLOUD_HOSTING (#145) 2020-07-23 11:02:00 +05:30
Arpit Mohan
2ab74802b0 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-23 10:41:43 +05:30
Arpit Mohan
f9d4262d7e
Removing the default value for postgresql and mysql ports (#147) 2020-07-23 10:40:18 +05:30
Arpit Mohan
a6d2184833 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-22 16:11:25 +05:30
Shrikant Sharat Kandula
fd888e33c8
Add migration for updating plugin doc links to our own docs (#142) 2020-07-22 15:28:27 +05:30
akash-codemonk
2629885bb0
Fix table height bug (#139) 2020-07-22 14:01:18 +05:30
Arpit Mohan
690c327f2c
Adding default values for mysql datasource (#140)
Also correcting icon details to mysql plugin migration.
2020-07-22 14:00:15 +05:30
Arpit Mohan
52d5c4bdcd Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-22 13:12:14 +05:30
Hetu Nandu
fe43680abc
Action test fixes (#130)
* Fixes for tests
* remove marketplace tests
* fix some other tests
* Simplify update datasource
* Add cypress env variables
2020-07-21 19:31:51 +05:30
Arpit Mohan
05d9dac07f Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-21 17:44:45 +05:30
akash-codemonk
36258786c9
Show all db datasources in query pane (#134) 2020-07-21 17:42:35 +05:30
NandanAnantharamu
84c901181d
Updated locators and corrected typo. Also updated some routes (#133)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-21 17:35:06 +05:30
akash-codemonk
30b8d3581b
Query pane refactor and fixes (#87)
* Query pane refactor and fixes

* Check if body exists

* Get pluginId from the datasource

* Move plugin image logic to selector

* Show info in new line on the datasource form page

* Update link text to Docs

* Handle string as run api response body

* Remove harcoded height

* Remove all references to ImageAlt except in selector

* Updata info text
2020-07-21 16:06:53 +05:30
Arpit Mohan
926c6eb0fe Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-21 16:02:17 +05:30
nupur
d0e60a1890
Mysql plugin integration (#53)
This commit adds the Mysql plugin to the Appsmith server. We also add a migration to ensure that this plugin is installed by default for all existing organizations. The migration also adds the plugin details into the DB.

Also adding the test cases for mysql plugin.

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
Co-authored-by: Hetu Nandu <hetu@appsmith.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
Co-authored-by: Nupur Singhal <nupursinghal@Nupurs-MacBook-Air.local>
2020-07-21 16:01:42 +05:30
Shrikant Sharat Kandula
1fc582af08
When cloning examples organization, clone only public applications (#125)
* When cloning examples organization, clone only public applications

* Create template organization within the test

* Cleaned up test for cloning of examples organization

* Fix Mono chaning

Co-authored-by: Trisha Anand <trisha@appsmith.com>

* Create test apps and config simultaneously

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2020-07-21 13:39:07 +05:30
Hetu Nandu
af65e1ca9f
Add property checks in evaluated widget (#95) 2020-07-21 12:29:49 +05:30
Arpit Mohan
67d0b0393a
Updating the import statement in Cypress test (#129) 2020-07-21 12:29:24 +05:30
Trisha Anand
30bbbd6e4e Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-21 11:02:02 +05:30
Trisha Anand
d1dd74018f
Bug fix : Update of datasource object leads to authentication field getting encrypted again. (#124)
* Datasource authentication object fields should only be encrypted during create or if the update object contains authentication object. Added a test case to check that update to any other field doesnt update the encrypted fields.

* Incorporated review comment
2020-07-21 10:53:03 +05:30
NandanAnantharamu
1d726dac20
Create Org related usecases (#84)
* Create Org related usecases

* Review comments incorporated

* Updated with env variables for test users and routes

Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-20 15:08:35 +05:30
Shrikant Sharat Kandula
55a6cc6614
Clone examples organization for every new user (#78)
* Trying to clone the examples repo on new user signup

* Working implementation of cloning examples organization on user sign up

* Fix personal org not being created when template org is missing

* A working version of cloning of examples organization on first-login

* Add docs for methods in ExamplesOrganizationCloner

* Refactor computing user's first name into a method

* Add some menial tests for examples organization cloning

* Use explicit permissions when fetching applications and datasources

* Fix template organization config name hard-coding
2020-07-20 13:07:31 +05:30
Shrikant Sharat Kandula
f9e1d4f1ad
Chore/remove implicit permissions (#90)
* Refactor implicit permissions in service methods as function arguments

* Revert an unintended change that got committed

* Fix permission variable name

Co-authored-by: Trisha Anand <trisha@appsmith.com>

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2020-07-20 13:06:47 +05:30
vicky-primathon
4f47a8ad3f
Feature/table ui download data (#52)
* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated.

* Table data download changes. Added downlaod icon and button to table widget.

* Table data download changes

* Download table data as CSV implemented

* table data download, unused code removed

* Code review changes

* code review changes

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-20 11:34:05 +05:30
Hetu Nandu
b6c710cfa2
Add support for run time params in action execution (#98)
Adds a third parameter to the Action.run function that can be referenced inside an action config
Usage
`{{ Api1.run(...,...,{key: value}) }}` inside property pane
`{{this.params.key}}` inside action pane

* You can reference data tree properties in the params values:
`{{ Api1.run(..., ..., { key: "Input1.text.toUpperCase()" })`
* Bindings can have both params and data tree values referenced. 
* Param values can be javascript functions
`body: {{ this.params.list.map(i => Input1.text + i ) }}`
2020-07-17 18:25:34 +05:30
Nikhil Nandagopal
70c4dd5964
Fix/deploy script (#111)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-17 15:29:28 +05:30
vicky-primathon
290bb8d57c
Table UI breakages on scroll and empty cells fixed (#60)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Code refactors and added dependency map with meta props and table data for computing columns

* Table UI breakages on scroll and empty cells fixed

* Handled empty rows in table widget

* Fixed last row cut issue

* Code review changes

* Added table widget component heights as enum

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-16 16:09:07 +05:30
Shrikant Sharat Kandula
140bfed24f
Disable the direct create methods for pages and applications (#109)
* Disable the direct `create` methods for pages and applications
* Create differently named versions of create methods to avoid ambiguity
* Removed unused pageService in DatasourceServiceTest
* Rename createPlain method to createDefault to better convey intent
2020-07-16 15:13:03 +05:30
Arpit Mohan
13d3fe3076
Changing the CSS locator for the Share button (#110) 2020-07-16 12:25:54 +05:30
Arpit Mohan
1060423b99
Modifying deploy script to replace nginx configuration at runtime (#106)
* Getting the script to work on Mac OS X Bash Version 3

* Correcting the nginx template configuration and Dockerfile for the appsmith-editor. Now any replaced environment variables will be replaced when the Nginx Docker container restarts.
2020-07-16 11:47:45 +05:30
Arpit Mohan
a9ed054cbb
Adding Github Action workflow to the client code base (#66)
This PR adds the build, test & package workflow to the client code base as well.

In order for us to run the Cypress tests, we also spin up a local server in a Docker container and run all our tests against that server. This ensures that our tests are faster to run as well.

We also introduce the concept of stubbing network requests by stubbing the API that fetches the property pane configuration from the server.

Results for the Cypress tests can be viewed at: https://dashboard.cypress.io/projects/eyxvp8/runs/
2020-07-16 11:20:46 +05:30
NandanAnantharamu
daeb39a8ce
Apipane fix (#108)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-16 10:30:51 +05:30
Trisha Anand
7389dc07bf Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-15 21:37:09 +05:30
Trisha Anand
04db3d4242
Bug Fix : Execute Action is not open for execution in public application. (#105)
* Opening the execute path & fetching db without permissions during execute path.
2020-07-15 21:36:35 +05:30
Trisha Anand
8368c223c8 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-15 20:15:42 +05:30
Trisha Anand
936c013b3b
Bug fixes : 401 for public applications + Empty set of actions for get in case cookies is anonymous (#104)
* Bug fixes :
1. Get actions in view mode should be open for unauthorized requests. Fixed that.
2. set transient fields in action is called post fetching all the actions (after taking care of all the permissions). At this point, we shouldnt be using permissions to fetch datasource.
2020-07-15 20:15:10 +05:30
Trisha Anand
146a383121 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-15 18:45:35 +05:30
Trisha Anand
20ae5fa546
Adding timeout in ActionViewDTO for the client to use to programmatically timeout on the execution request (#103)
* Adding timeout in ActionViewDTO for the client to use to programmatically timeout on the execution request.
2020-07-15 18:44:55 +05:30
Hetu Nandu
70955de703
Create fetch actions workflow for view mode (#102)
* Create fetch actions workflow for view mode

* Remove config from autocomplete results
2020-07-15 18:31:35 +05:30
Trisha Anand
fffe8e6230 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-15 17:54:04 +05:30
Trisha Anand
6bfed87e40
Added pageId to action view dto (#101)
* Added pageId in the ActionViewDTO and NPE check for setting the json path keys.

* Checking for both json path keys being null and not empty before copying the json path keys into action view dto.
2020-07-15 17:53:38 +05:30
Arpit Mohan
3affa82bdb Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-15 16:43:17 +05:30
Trisha Anand
212e98c4ba
Fixing test cases failing due to non unique names. (#100) 2020-07-15 16:42:53 +05:30
Trisha Anand
4b3ace9d9e Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-15 16:29:50 +05:30
Arpit Mohan
6c16cba4b9
Adding null checks before encrypting or decrypting the password in AuthenticationDTO object (#99)
This ensures that we don't run in NPE
2020-07-15 16:29:05 +05:30
Arpit Mohan
b23c8feb9c Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-15 15:49:37 +05:30
Arpit Mohan
c15f83dbc3
Adding configuration variables for MAIL_FROM and REPLY_TO in EmailConfig (#97)
The MAIL_FROM & REPLY_TO addresses default to appsmith@localhost. This should be changed in the generated docker.env file during deployment to actual values.

Most email providers will not send emails unless they originate from a valid sender ID.
2020-07-15 15:47:33 +05:30
Trisha Anand
f2b10d5759 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-15 15:23:09 +05:30
Tejaaswini Narendra
2956f1b3d0
Feat: Share application publicly (#89)
* Feat:  Share application publically

* fix: eslint warnings and code refactor
2020-07-15 15:17:39 +05:30
akash-codemonk
b1e8e83e5d
Show error toast for delete datasource (#93) 2020-07-15 13:30:34 +05:30
Nikhil Nandagopal
de151e1b46
Fix/deploy script (#94)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-15 12:49:52 +05:30
dependabot[bot]
204e65924f
Bump websocket-extensions from 0.1.3 to 0.1.4 in /app/client (#70)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-15 11:36:02 +05:30
Hetu Nandu
a5fba4db26
Update alias and added some documentation (#6)
Update import alias in the index.tsx and added some documentation in the README
2020-07-15 11:35:02 +05:30
akash-codemonk
b45cc8f35e
Fix autocomplete for special cases (#31)
* Fix autocomplete for special cases

-  Send the currently focused dynamic binding to tern instead of the entire editor value

* Add tests for TernServer methods

- Make request callback a seperate so that it could be testable
- Add tests for getFocusedDynamicValue, buildRequest and requestCallback

* Keep input and expected values together
2020-07-14 16:00:33 +05:30
Arpit Mohan
4efabb540e Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-14 14:46:54 +05:30
Trisha Anand
fd0f23b9cc
Database credentials encryption in MongoDB (#80)
* Encrypting the password stored in AuthenticationDTO for every db.

* Adding comment to the properties file to denote that adding encryption salt and password are mandatory to the server coming up.

* Added the encryption salt and password to server.yml to allow the github actions to succeed.

* Adding database migration to encrypt the existing passwords for authentication object (used for storing db connection username/password)

Changes to the installation script install.sh:

1. Instead of overwriting the existing encryption password or salt, giving the user an option to conserve the previous encryption credentials to ensure that the developer users do not lose access to their database configurations (passwords).
2. Added another file for writing encryption credentials (encryption.env) to ensure that we dont delete the encryption password and salt by mistake.
2020-07-14 14:45:08 +05:30
Arpit Mohan
bebc0cf7aa Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-14 13:56:01 +05:30
vicky-primathon
7114936554
Fix/action btn loading in table widget (#28)
* Added Button component in Table widget for actions

* Action button state loading added for Table widget

* Action button font-weight made as normal

* Table button loading state fixed. Table code refactored, rendering from props instead of state in ReactTableComponent

* Table widget action button alignment fixed

* Handled actions column changes

* added proper keys to useMemo for react table widget

* Code refactors and added dependency map with meta props and table data for computing columns

* RenameColumnHeader function renamed to TableHeaderCell

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-14 13:25:46 +05:30
vicky-primathon
86b4ec562c
Table column show column fixed. Show icon changed. Columns list made … (#54)
* Table column show column fixed. Show icon changed. Columns list made static in visibility dropdown

* Code review comments handled

* Hiding visibililty options in published mode
2020-07-14 13:10:52 +05:30
Hetu Nandu
612f01b04a
Fix params not saving after url update (#85) 2020-07-14 12:23:33 +05:30
Arpit Mohan
fbf4e4f7d2 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-13 23:30:39 +05:30
Trisha Anand
56acb5c9fd
New endpoint added to get actions by applicationId in view mode. (#88)
* New endpoint added to get actions by applicationId in view mode. Only id, name and jsonPathKeys are returned in view mode.
2020-07-13 23:27:49 +05:30
Arpit Mohan
0f9f29a78c Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-13 19:46:31 +05:30
Tejaaswini Narendra
b035241013
fix: error page and get applications API (#77)
* fix: error page and get applications API

* fix: apptoaster check for show variable instead of error code.

* fix: Update naming and combine currentOrgId and OrgDetails.
2020-07-13 19:24:26 +05:30
vicky-primathon
0a1a3e5589
Lightning menu dropdown popper placement fixed in query editor (#59) 2020-07-13 18:36:44 +05:30
Hetu Nandu
3af5d006eb Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-11 13:16:23 +05:30
NandanAnantharamu
1b3e8c91a7
Fixing Cypress test cases (#32)
* Removed saveQuery method part for query

* login from env variables

Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-11 12:12:53 +05:30
Shrikant Sharat Kandula
4796b6edba
Add maven-license-plugin to the project (#73) 2020-07-10 15:58:04 +05:30
Hetu Nandu
3d9962adfa
Add @appsmith namespace (#74)
Adds an @appsmtih alias for managing imports with the EE repo
2020-07-10 14:54:06 +05:30
Arpit Mohan
cc86eec639 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-10 13:13:49 +05:30
Abhinav Jha
5ec134eae7
Use Google Maps API key from configs (#76) 2020-07-10 13:05:27 +05:30
Arpit Mohan
795882b59b Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-10 12:13:31 +05:30
Tejaaswini Narendra
a3ec3b3854
Adding CSS class names for testing (#75) 2020-07-10 12:12:51 +05:30
Arpit Mohan
4626db5793 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-09 22:43:26 +05:30
Trisha Anand
4a720b80e2
Removing the marketplace basic auth credentials which was hard coded into the code to environment variable. (#71) 2020-07-09 22:38:21 +05:30
Arpit Mohan
ccc2136edb Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-09 21:36:45 +05:30
Trisha Anand
8734067cad
Resolving the dependabot vulnerabilities. (#69) 2020-07-09 21:12:16 +05:30
Nikhil Nandagopal
3ef53b15f3
Feature/query help (#64)
* bumped up codemirror version

* minor fix

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-09 19:03:34 +05:30
Arpit Mohan
c31fb9acd4 Correcting the Github Action for the client Docker image build 2020-07-09 18:53:13 +05:30
Arpit Mohan
9c6b2967de Adding the step to add the release tag based on the branch in the client Docker image 2020-07-09 18:51:31 +05:30
Arpit Mohan
7dbda01ba4 Removing extra lines from client README 2020-07-09 18:40:35 +05:30
Arpit Mohan
ed00c59068 Adding instructions on how to test the code in app/server/README 2020-07-09 17:54:12 +05:30
Arpit Mohan
449b94d59a Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-09 17:50:43 +05:30
Arpit Mohan
8adb4f15e1 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-09 11:22:45 +05:30
trishaanand
9eedb15620
Updating anonymous user permissions for application and associated pages & actions when public access is modified (#57)
* On setting an application to public view, correct permissions are assigned to the application and its pages & actions.

* If anonymous user is allowed a certain permission, the all users (anonymous/logged in) should be allowed the certain permission.
2020-07-09 11:21:39 +05:30
Arpit Mohan
bb59a555b1 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-08 20:25:09 +05:30
Arpit Mohan
a51920f814 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-08 17:14:09 +05:30
trishaanand
53b61b4942
Skeleton code added for changing application view between public and private to help with client development. (#56) 2020-07-08 17:13:42 +05:30
Arpit Mohan
c67e390b0e Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-08 15:46:49 +05:30
Tejaaswini Narendra
7737b57667
Feat/page not found (#37)
* Feat: Implement page not found UI

* fix: check user login status and minor code refactoring

 - Check if user is logged in or not in page header.
 - Based on login status show relevant CTAs
 - Fix ESLint errors
 - Move RoleNameCell and DeleteActionCell as seperate components.

* fix: Add catch all for pagenotfound

* fix: Use constants and update css syntax.

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-08 15:44:03 +05:30
akash-codemonk
5f39dfd88b
Fix new query flag value (#55) 2020-07-08 15:04:50 +05:30
trishaanand
a5a3a5f4a2
Bug fix - In case of invited user signing up on Appsmith, the password is getting doubly hashed leading to sign in breaking for this user. (#51)
* Bug fix is working. Added a test case which is not working.

* Code cleanup. Test case fixed. Now, when we set the user to enabled, we also store the password that has been passed to the flatMap.

* Minor code cleanup.
2020-07-08 13:16:13 +05:30
Arpit Mohan
93c90d3a12 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-08 11:57:05 +05:30
trishaanand
765f1c7164
Get user profile should return anonymousUser instead of 401 unauthorized in case the API is called without logging in. (#50)
This will help us display the 404 page on the client reliably.
2020-07-08 11:54:00 +05:30
Arpit Mohan
930d802475 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-08 11:09:09 +05:30
Arpit Mohan
f10a00c87d
Adding the environment configurations for EE in netlify.toml (#2) 2020-07-07 16:27:43 +05:30
Arpit Mohan
3d9ea63769 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-07 15:53:55 +05:30
Abhinav Jha
94b28311c6
Use injected configuration from Nginx at runtime instead of build time (#30)
* Use envsubst and nginx templates to generate nginx configs which can substitute environment variables and inject into the index.html file

* Fix path in dockerfile. Add .gitignore and .env.example files. Fix nginx-linux template.

* Add all environment variables. Add prefix to all environment variables. Update scripts to attempt to substitute all environment variables with the prefix

* Setup dockerfile to execute a bash script. use env.example for fetching environment variables in development

* Toggle features based on injected configs. Fix nginx template substitution script.

* Update env.example file

* Remove debug code from start-nginx.sh

* Fix nginx config templates by adding quotes by default. Fix sed regex to include numerals. Toggle social login buttons on Login page based on the config.

* Update rapid api environment variable name. Toggle oauth buttons based on config in SignUp page. Update .env.example to be a union of server and client environment variables

* Adding a Map disabled message on Map widget

* Adding links to Privacy policy and TNC

* Use REACT_APP_ env variables with higher priority over injected config variables for toggling features

* Update netlify.toml by commenting out the build environment variables

* Remove env variables not required by the client

* Remove start-storybook entry from package.json

* Fix netlify.toml. Fallback algolia configs

* Add contexts to netlify.toml for successful deploys. Swith to using APPSMITH_MARKETPLACE_URL as the toggle for RapidAPI feature on the client. Remove comments in nginx config templates. Fix template used in dockerfile.

Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-07-07 15:52:17 +05:30
Arpit Mohan
5d014ea9af Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-07 14:20:07 +05:30
Hetu Nandu
d85376b90c
Remove current value popup from function call fields (#49) 2020-07-07 14:19:22 +05:30
Hetu Nandu
00f9451398
Remove current value from Embedded datasource path field (#48) 2020-07-07 13:44:46 +05:30
Hetu Nandu
0b86b503aa
Fix move/copy success/failure workflow (#47) 2020-07-07 13:37:37 +05:30
Arpit Mohan
15f6175c2c Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-07 11:19:30 +05:30
Shrikant Sharat Kandula
ff3c0c0451 Fix column ordering not being consistent in responses from PostgresPlugin 2020-07-07 10:56:56 +05:30
Shrikant Sharat Kandula
8c113834d6
Fix error when dealing with null value columns in Postgres plugin (#46) 2020-07-07 10:52:09 +05:30
trishaanand
c9703ea3b1
Special 404 handling and adding a few paths to the unauthenticated list to allow for public applications (#45)
* 404 error added for a few API calls which would be specially handled on the frontend to display an ACL 404 error.

* Putting everything except GET actions, GET pages, and GET applications behind authenticated. This ensures that in the future public applications (view only) would not lead to 401 but any other page would.

* Code formatted.
2020-07-06 20:21:07 +05:30
Satbir Singh
532f7687ef Adding privacy policy and terms and condition files 2020-07-06 19:48:13 +05:30
satbir121
d753374aa9
Using TinyMCE from cdn to remove the warning message. (#39)
* Removing tinymce api key message.

* Updating yarn lock.

* Fixing editor disabled.

* Default set on refresh.

Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 19:06:42 +05:30
Hetu Nandu
13e173fa77
Action save fixes (#33)
- Increased timeout for move action
- Table header typescript fix
- Fix data tree selectors for better performance
- Debounce update action saga by 500 ms
- Query delete fix
- Query save fix
2020-07-06 19:05:31 +05:30
Shrikant Sharat Kandula
afe0dfdc75
Dates from Postgres queries now show up as ISO date strings (#5)
* Dates from Postgres queries now show up as ISO date strings
* Use constant for date column name in PostgresPlugin
* Fix formats for more date-time types on Postgres
* Add support for time and timestamp data types in Postgres plugin
* Add support for timestamptz column data type in Postgres plugin
* Add support for interval data type in PostgresPlugin
2020-07-06 18:52:41 +05:30
Shrikant Sharat Kandula
f0658d69b2
Read RapidAPI variables directly form environment (#38) 2020-07-06 14:56:39 +05:30
Shrikant Sharat Kandula
56547ec02f
Move application configuration to be loaded from environment variables (#23)
* Move application configuration to be loaded from environment variables
* Remove unused sentry.properties
* Make missing value sentinel a constant and ignore all *.env files
* Removed now-used ACL properties
* Prefix RapidAPI environment variable with APPSMITH_
* Fix application properties not being loaded into static fields
* Remove application-test.properties file
* Add required env variables for test in GitHub
* Quote URLs for MongoDB and Redis in test config
* Change RAPIDAPI to RAPID_API in environment variable names
* Source .env file in the root of repo in start script
2020-07-06 14:35:56 +05:30
vicky-primathon
1e67ea21c0
Widget on error action binding (#22)
Changes to fix the the UI/functionality breaking in widget action selectors when the onError action is configured first for an api or a query type action. Remove validation widget action selectors.
2020-07-06 13:46:42 +05:30
trishaanand
4a05ba6ac5
An invited user on signup should be set to enabled and should not lead to duplicate key exception. (#36) 2020-07-06 12:46:46 +05:30
satbir121
bbbdbd50b5
Name of a newly created api and query is focused on mount. (#21)
* New api and query has name in edit mode

* Curl import new api.

* Changing createApi command for new ui.

* Edit Api name is not visible in UI.

* Removed edit api name click.

Co-authored-by: Satbir Singh <satbir@appsmith.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 11:08:39 +05:30
satbir121
86ea0e8cf2
Fixing api name reseting issue. (#34)
Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 09:49:49 +05:30
vicky-primathon
593f616c13
NumericInput component breaks table widget when no data is in table, since props.pageCount becomes 0. So to fix this changed it to 1 when it is 0. (#29) 2020-07-03 16:33:56 +05:30
Arpit Mohan
3035ec9bef
Adding the Github action workflow for the server code (#24)
* Adding the Github action workflow for the server code

* Modifying the redis endpoint in application-test.properties to point to localhost because the Docker service exposes ports to the host
2020-07-03 14:40:57 +05:30
Hetu Nandu
4a6717889c
Streamline action save with widgets (#10)
- Remove drafts from actions
- Direct update action from forms
- Debounced saving of actions
- Add org id in default datasource
- Merge query and api run saga
2020-07-03 14:28:58 +05:30
vicky-primathon
10b1e40acd
Feature/table ui update pagination (#15)
* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* added onSearch to getTriggerPropertyMap

* debouncing search fixed

* Changed pagination designs in accordance with new layout. This enable user to jump page as well.

* Using colors values from constants

* Table widget pagination, numeric input page number clamped between 1 and total pages

* Client side search key made as case insensitive and property of table search value names as searchKey

* Removed unused function form SearchComponent

* Colors used from constants

* Adding tool tip to truncated values in table widget. Added AutoToolTipComponent that adds tooltip when text is truncated. (#16)

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-03 14:02:21 +05:30
vicky-primathon
49ff42ea72
Feature/table ui update search (#13)
* Created header for common functionalities in Table Widget

* Client side searching added in Table Widget. Action created for server side searching also.

* added onSearch to getTriggerPropertyMap

* debouncing search fixed

* Client side search key made as case insensitive and property of table search value names as searchKey

* Removed unused function form SearchComponent

* Feature/table ui update column visibility (#14)

* Columns visibility feature initial commit

* Column visibility list added in Table Widget

* Colors used from constants

Co-authored-by: Arpit Mohan <me@arpitmohan.com>

Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-03 13:56:04 +05:30
Nikhil Nandagopal
601d765efe
Feature/assets removal (#27)
* removed youtube and postman old logo

* removed API key

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-03 13:17:04 +05:30
Nikhil Nandagopal
0c49f09b9c
bumped up codemirror version (#26)
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-03 13:01:04 +05:30
Nikhil Nandagopal
9cd4791323
removed youtube and postman old logo (#25)
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-03 12:42:28 +05:30
Arpit Mohan
fdeed757ff
Fixing the move action API by removing invocations to subscribe (#17)
* Fixing the move action API by removing invocations to subscribe

Calling subscribe() inside function calls is an anti-pattern and we shouldn't be doing it.
The reactiveContext is not called if the subscribe() function is called in the middle of execution flows. This breaks DB queries.

* Added test case for move action.

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2020-07-02 15:41:45 +05:30
vicky-primathon
5df9395003
Created header for common functionalities in Table Widget (#12)
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
2020-07-02 11:56:01 +05:30
Abhinav Jha
52cc3862a8
Remove storybooks from the client app (#9) 2020-07-02 11:21:32 +05:30
NandanAnantharamu
24af49ba18
Removed saveQuery method part for query in Cypress tests for delete API (#18)
Co-authored-by: Nandan Anantharamu <Nandan@thinkify.com>
2020-07-02 10:59:55 +05:30
Tejaaswini Narendra
6fff99530f
Fix: "Manage users" button should close modal on settings page (#6) 2020-07-02 08:40:24 +05:30
satbir121
15efdc4dbd
Added algolia search logo. (#20)
Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-07-02 07:22:47 +05:30
Shrikant Sharat Kandula
0dd1114917
Clean up MongoDB object types before sending data to client (#8) 2020-07-01 16:40:39 +05:30
Hetu Nandu
38aafb5027
Fix embedded datasource path (#2)
* Refactor CodeMirror component to be more configurable and testable (hints, markings)
* Update the existing datasource path component
* Better text highlighting for JSON fields
* Case insensitive hinting in autocomplete
2020-07-01 15:31:07 +05:30
akash-codemonk
224d0ee49c
Bug fixes (#3)
- Wrap evaluated value to oveflow vertically instead of horizontally
- Stop showing arrows for the port field in datasources
- Show create query option when there are no datasources
- Stop showing loader for query creation error
- Throw error where there is no body in query response
2020-07-01 12:51:02 +05:30
Shrikant Sharat Kandula
95b9860bf9
Give appropriate error when method is invalid in cURL command (#1) 2020-07-01 12:37:59 +05:30
Hetu Nandu
a558242b0e
Add .gitignore to root, update yarn.lock file (#4)
* add git ignore in root

* update yarn.lock
2020-07-01 12:34:45 +05:30
Arpit Mohan
00dfaf6e72 Merge remote-tracking branch 'client2/release' into release 2020-07-01 10:15:48 +05:30
Nandan H A
b8e367dacd Curl test fix 2020-07-01 03:45:13 +00:00
Hetu Nandu
46f0873efe update paths 2020-06-30 15:19:30 +05:30
Arpit Mohan
2854e252ff Merge remote-tracking branch 'client/release' into release 2020-06-30 10:09:32 +05:30
Arpit Mohan
37c225dedc Merge branch 'feature/locatorsUpdate' into 'release'
Updating the locators for the API pane to get more tests to pass

See merge request theappsmith/internal-tools-client!791
2020-06-30 04:19:16 +00:00
Nandan H A
4eb30fccf2 Updating the locators for the API pane to get more tests to pass 2020-06-30 04:19:16 +00:00
Arpit Mohan
5865b615bc Merge branch 'fix/autoCompleteActionConfig' into 'release'
Show the action's actionConfiguration for for 'config' in autocompletion

Show the action's actionConfiguration for 'config' in autocompletion

See merge request theappsmith/internal-tools-client!794
2020-06-30 04:18:25 +00:00
Nikhil Nandagopal
faddd04cb3 updated query templates
added error message for all APIs
2020-06-29 18:18:21 +05:30
Satbir Singh
f55357029c Removed syncfusion completely. 2020-06-29 09:10:19 +00:00
Satbir Singh
d640c03386 Query editor auto save. 2020-06-29 08:23:10 +00:00
Akash N
7d6dacb848 Show the action's actionConfiguration for for 'config' in autocompletion 2020-06-29 13:11:53 +05:30
Akash N
902096cede Use react-table instead of syncfusion/react-grids for query table 2020-06-29 06:13:29 +00:00
Trisha Anand
930e577f98 Bug Fix : When page name is updated, the policies should not get overwrritten. Changed the base service function to reset the empty policies to null in case the update is not used to update the policies. 2020-06-27 19:45:24 +00:00
Nandan H A
a1378c7527 Merge branch 'feature/locatorsUpdate' into 'release'
Feature/locators update

See merge request theappsmith/internal-tools-client!784
2020-06-26 13:56:18 +00:00
Nandan H A
de3773b7af Feature/locators update 2020-06-26 13:56:18 +00:00
Satbir Singh
91231166a0 Merge branch 'master' into 'release'
Backmerge api name hotfix in master to release.

See merge request theappsmith/internal-tools-client!790
2020-06-26 12:03:33 +00:00
Trisha Anand
76e3db497c Bug fix : Google SSO for sign up led to the organization id for personal organization not getting set up. 2020-06-26 11:59:33 +00:00
Arpit Mohan
bbf0aef450 Merge branch 'bug/embedded-datasource-without-organization-id' into 'release'
When organizationId is null in a datasource, fail with the right error message

The organization id is subsequently used to find a matching plugin (checking for installation essentially), but when organization id is missing, this query never returns. But the error message reads as if the plugin is not installed, whereas it should've been that organization id is missing.

See merge request theappsmith/internal-tools-server!406
2020-06-26 11:43:16 +00:00
Shrikant Kandula
d5921ea52d When organizationId is null in a datasource, fail with the right error message 2020-06-26 11:43:16 +00:00
Satbir Singh
84da0a63fb Fixing api name not getting saved. 2020-06-26 16:52:54 +05:30
Vicky Bansal
945326fe43 Merge branch 'fix/table-crash-issue' into 'release'
Action column index binded instead of taking it from state for column actions

See merge request theappsmith/internal-tools-client!766
2020-06-26 09:58:52 +00:00
Trisha Anand
f640f85042 Merge branch 'fix/org-react-table' into 'release'
fix: Update Syncfusion table to react table on Org Settings

See merge request theappsmith/internal-tools-client!786
2020-06-26 09:23:53 +00:00
Arpit Mohan
f62439445a Merge branch 'fix/table-widget-create-all-columns' into 'release'
Taking keys from all data points of table to generate columns instead of just first data point of table data.

See merge request theappsmith/internal-tools-client!779
2020-06-26 07:55:45 +00:00
Tejaaswini
beb3a2cbb9 fix: Update Syncfusion table to react table on Org Settings 2020-06-26 00:18:07 +05:30
Nikhil Nandagopal
3bb16489c4 Merge branch 'fix/lightning-menu-icon-hides-text' into 'release'
Fix/lightning menu icon hides text

See merge request theappsmith/internal-tools-client!778
2020-06-25 10:24:27 +00:00
Trisha Anand
779c79476d Merge branch 'bug/acl-update-role-race-condition' into 'release'
Race condition bug caught in remove user from organization flow where multiple applicaitons/pages/actions exist for an organization.

See merge request theappsmith/internal-tools-server!407
2020-06-25 10:15:07 +00:00
Trisha Anand
57f4f734dd Race condition bug caught in remove user from organization flow where multiple applicaitons/pages/actions exist for an organization. 2020-06-25 15:39:32 +05:30
Hetu Nandu
fb65b204a8 JSON stringify fixes 2020-06-25 10:04:57 +00:00
Shrikant Kandula
3217daab14 Fix Mustache rendering to work on object fields directly 2020-06-25 09:58:20 +00:00
Trisha Anand
6d103b4939 Untested changes for fixing the bug where duplicate policies are getting created for the same permission. 2020-06-25 08:09:59 +00:00
vicky_primathon.in
2758dd9689 Highlighting icon backround when field is in focused state but user hovers over icon space 2020-06-25 13:04:15 +05:30
vicky_primathon.in
9c33f83ae9 Taking keys from all data points of table to generate columns intead of just first data point of table data 2020-06-25 12:48:51 +05:30
Arpit Mohan
ac397ee779 Merge branch 'fix/scrollbars' into 'release'
Fix/scrollbars

Remove scrollbars for function docs, autocomplete, current value and evaluated value.

See merge request theappsmith/internal-tools-client!775
2020-06-25 07:17:58 +00:00
Akash N
6f5c8ecca5 Remove scrollbars for function docs, autocomplete, current value and evaluated value. 2020-06-25 07:17:58 +00:00
vicky_primathon.in
74ac989815 Fixing the text not visible issue when the lightning menu is enabled on a field and field is in focused state 2020-06-25 12:20:18 +05:30
Tejaaswini
7aa4bf4395 fix: User permission management related bugs
- Use manage:organizations permission to restrict users from managing apps
- Add loading indicators will changing role and deleting users
- Restrict user from deleting himself or changing his role.
2020-06-25 08:35:41 +05:30
Nandan H A
ad549f9638 Feature/locators update 2020-06-24 13:52:41 +00:00
Trisha Anand
a73d182d73 Merge branch 'bug/org-creation' into 'release'
Bug fix : Create Organization is failing because the user is read from the session and not from the repository. Now reading the user at appropriate places.

See merge request theappsmith/internal-tools-server!405
2020-06-24 12:14:25 +00:00
Trisha Anand
aebb50d216 Bug fix : Create Organization is failing because the user is read from the session and not from the repository. Now reading the user at appropriate places. 2020-06-24 17:30:24 +05:30
Arpit Mohan
b63ca6726d Merge branch 'feat/plugin-templates' into 'release'
Add server-side templates support for plugins

Two main themes in this MR:

1. Add support for saving query templates as resource files inside a plugin. This has been done for both Postgres and MongoDB plugins, based on current template contents.
2. Loading of form JSON is now reactive. The blocking call has been moved inside a `Mono.fromSupplier`.
3. The loading of from JSON as well as the templates is cached and are loaded on-demand. This means that the templates are loaded once for a plugin through the lifetime of the server process, and that they are loaded only at the first time they are needed.
4. If loading of these resources fails, we try again when they are needed the next time.

See merge request theappsmith/internal-tools-server!385
2020-06-24 11:08:25 +00:00
Shrikant Kandula
eee2cfcaff Add server-side templates support for plugins 2020-06-24 11:08:25 +00:00
Shrikant Kandula
40b5466bd8 Fill response body with value when running findAndModify Mongo query 2020-06-24 11:05:19 +00:00
Satbir Singh
0fbc02e092 Merge branch 'fix/aloglia' into 'release'
Gitbook-aloglia syncing lambda function now takes care of ordering.

See merge request theappsmith/internal-tools-client!656
2020-06-24 08:30:33 +00:00
Shrikant Kandula
d7655ebb3c Add image location and documentation link fields to plugins 2020-06-24 08:28:54 +00:00
Arpit Mohan
aa2d1b1944 Merge branch 'fix/queryNameUpdate' into 'release'
Fix query name not updating

- For queries take the payload as it is.

See merge request theappsmith/internal-tools-client!771
2020-06-24 08:24:03 +00:00
Arpit Mohan
51b3a765ac Merge branch 'fix/expandEvaluatedValue' into 'release'
Expand evaluated value on click

- Show evaluatedValue based on input focus and content's hover state.

See merge request theappsmith/internal-tools-client!765
2020-06-24 08:22:27 +00:00
Akash N
1403141cc7 Expand evaluated value on click
- Show evaluatedValue based on input focus and content's hover state.
2020-06-24 08:22:27 +00:00
Suhas Ranganath
65ed71885a Merge branch 'fix/deactivate-button' into 'release'
Fix: Deactivate invite button and hide delete

See merge request theappsmith/internal-tools-client!768
2020-06-24 07:51:58 +00:00
Satbir Singh
e4b9059d5d Reverting local api to point to release-api. 2020-06-24 12:04:14 +05:30
Shrikant Kandula
522e6221f7 Make NO_SSL the default for Mongo datasources 2020-06-24 11:02:34 +05:30
Arpit Mohan
0be492e8e9 Fixing OAuth2 SSO login for new ACL flow 2020-06-23 13:19:22 +00:00
Akash N
b153c86f9c Fix query name not updating
- For queries take the payload as it is.
2020-06-23 16:40:26 +05:30
Tejaaswini
cb6997bcf0 Fix: Deactivate invite button and hide delete
- Deactivate the invite user button when email or role is not selected
- Hide Delete button for Appviewer role
- Fix dropdown position
2020-06-23 11:59:22 +05:30
Satbir Singh
7fa91b88d5 Fixing request view file name 2020-06-23 09:42:52 +05:30
Satbir Singh
e4858b82f8 Chrome dev tools request body 2020-06-23 03:58:42 +00:00
Vicky Bansal
c4eeccbf81 Merge branch 'fix/action-selectors' into 'release'
Fix/action selectors

See merge request theappsmith/internal-tools-client!723
2020-06-22 13:55:19 +00:00
Vicky Bansal
8a9f00c5a4 Merge branch 'fix/image-validation-regex' into 'release'
image validation regex updated to support query values

See merge request theappsmith/internal-tools-client!751
2020-06-22 13:47:56 +00:00
Vicky Bansal
b7b2766bc2 Merge branch 'fix/table-video-field-support' into 'release'
Fix/table video field support

See merge request theappsmith/internal-tools-client!752
2020-06-22 13:46:19 +00:00
Vicky Bansal
12c6147d1c Fix/table video field support 2020-06-22 13:46:19 +00:00
vicky_primathon.in
31c52ca7b4 Handling unselected action values to show No Action 2020-06-22 18:40:36 +05:30
Tejaaswini Narendra
d1ae457f9f fix: invite user email validation 2020-06-22 11:12:54 +00:00
vicky_primathon.in
59a855bde9 Action column index binded instead of taking it from state for column actions 2020-06-22 13:55:03 +05:30
Hetu Nandu
e534cec07c Merge branch 'fix/createApiLoader' into 'release'
Fix/create api loader

- Show loader in api home screen when creating a new api action
- Show loader in query home screen when creating a new query action
- Show column lines for table in query pane

See merge request theappsmith/internal-tools-client!734
2020-06-20 05:29:30 +00:00
Akash N
598ef55aff Fixes
- Show loader in api home screen when creating a new api action
- Show column lines for table in query pane
2020-06-20 05:29:30 +00:00
Hetu Nandu
760713aa69 Merge branch 'fix/datasourceName' into 'release'
Duplicate datasource fixes

- Do not show datasoure field menu when url is blank
- Embedded datasource name shouldn't be blank
- Omit datasource name while creating a datasource

See merge request theappsmith/internal-tools-client!759
2020-06-20 05:28:10 +00:00
Akash N
a0ca632e72 Duplicate datasource fixes
- Do not show datasoure field menu when url is blank
- Embedded datasource name shouldn't be blank
- Omit datasource name while creating a datasource
2020-06-20 05:28:10 +00:00
Trisha Anand
cd30e36eaa Hacky solve for setting the action execution request in case of failures in URL/HTTP Method/etc. 2020-06-19 23:43:32 +05:30
Satbir Singh
6def10319e Adding type for request. 2020-06-19 23:03:02 +05:30
Satbir Singh
bf0c0d737f Changing response request structure. 2020-06-19 21:57:12 +05:30
Trisha Anand
0603da29ee User test - Add request URL and http method to the execution result 2020-06-19 16:24:58 +00:00
Nandan H A
5e8356c4d7 Feature/locators update 2020-06-19 14:32:56 +00:00
Hetu Nandu
64fc1dc3f3 Merge branch 'master' into 'release'
Backmerge Master to release

See merge request theappsmith/internal-tools-client!760
2020-06-19 13:09:03 +00:00
Hetu Nandu
2d956644df Hot fixes 2020-06-19 13:06:45 +00:00
vicky_primathon.in
c5af30370f lightning menu tooltip flash issue fixed 2020-06-19 16:27:54 +05:30
Nikhil Nandagopal
eaea735f9e Merge branch 'fix/date-picker-2' into release 2020-06-19 14:33:27 +05:30
Nikhil Nandagopal
fa71e7c4ef changed date picker to store formatted date 2020-06-19 13:21:07 +05:30
vicky_primathon.in
e950a3f935 wrapping action code issue fixed. tree component is changed. 2020-06-19 13:00:11 +05:30
Abhinav Jha
9681ae2c51 Merge branch 'fix/minor-bugs' into 'release'
fix: bug fixes

See merge request theappsmith/internal-tools-client!727
2020-06-19 07:26:29 +00:00
Shrikant Kandula
5ce19962a3 Merge branch 'chore/sending-email-should-be-nonblocking' into 'release'
Sending emails is now done in a non-blocking way

See merge request theappsmith/internal-tools-server!396
2020-06-19 07:14:43 +00:00
Tejaaswini
f3bc246ecb fix: revert changes 2020-06-19 11:25:20 +05:30
vicky_primathon.in
f1bc994888 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into fix/action-selectors 2020-06-18 23:22:20 +05:30
Satbir Singh
e2a30da1c3 Merge branch 'master' into 'release'
Backmerge master to release.

See merge request theappsmith/internal-tools-client!754
2020-06-18 16:24:21 +00:00
Hetu Nandu
8a80132820 Merge branch 'fix/date-picker-2' into 'master'
minor fix for date picker validator

See merge request theappsmith/internal-tools-client!748
2020-06-18 16:11:42 +00:00
Hetu Nandu
60b9bba24b Merge branch 'fix/hot-fixes-2' into 'master'
Action draft fixes

See merge request theappsmith/internal-tools-client!753
2020-06-18 14:16:49 +00:00
Hetu Nandu
ded1a130e3 Action draft fixes 2020-06-18 14:16:49 +00:00
Tejaaswini
c02acf21bc fix: Minor change 2020-06-18 18:01:56 +05:30
Tejaaswini
0ffff9db4f merge 'release' into 'fix/minor-bugs' 2020-06-18 17:46:46 +05:30
Shrikant Kandula
5f0a3034b8 Sending emails is now done in a non-blocking way 2020-06-18 17:29:36 +05:30
vicky_primathon.in
700b74136e image validation regex updated to support query values 2020-06-18 16:53:11 +05:30
Hetu Nandu
549b9ba0ad Fix dropdown default value issue 2020-06-18 16:30:05 +05:30
Shrikant Kandula
70c312ca40 Merge branch 'bug/disallow-delete-datasource-with-actions' into 'release'
Fail deleting datasource if there's actions against it

See merge request theappsmith/internal-tools-server!388
2020-06-18 10:41:49 +00:00
Shrikant Kandula
9f6a4f6ea5 Fail deleting datasource if there's actions against it 2020-06-18 10:41:48 +00:00
Shrikant Kandula
45961ddcde Merge branch 'bug/fail-on-invalid-page-id-when-creating-action' into 'release'
Fail with an error if can't find page when creating an action

See merge request theappsmith/internal-tools-server!394
2020-06-18 10:25:13 +00:00
Nikhil Nandagopal
ba8f9fa00e minor fix for date picker validator 2020-06-18 15:50:53 +05:30
Trisha Anand
63852041de Merge branch 'bug/delete-application-app-viewer' into 'release'
Bug Fix : Application and page can only be deleted if you have manage application/page permissions respectively.

See merge request theappsmith/internal-tools-server!395
2020-06-18 10:20:50 +00:00
Shrikant Kandula
f19764ab99 Merge branch 'bug/space-not-needed-in-header-in-curl' into 'release'
Fix parse error when there's a space in header in curl command

See merge request theappsmith/internal-tools-server!390
2020-06-18 10:11:39 +00:00
Trisha Anand
4337e88934 Application and page can only be deleted if you have manage application/page permissions respectively. 2020-06-18 15:35:30 +05:30
Shrikant Kandula
1d5fa960db Fail with an error if can't find page when creating an action 2020-06-18 15:05:55 +05:30
Abhinav Jha
82e3b4ffa7 Merge branch 'fix/modal-overlay' into 'release'
Fix modal overlay covering widget cards pane issue

See merge request theappsmith/internal-tools-client!743
2020-06-18 09:25:41 +00:00
Abhinav Jha
fb8fd1b2aa Merge branch 'fix/chart-widget-crash' into 'release'
Fix the chart widget crash issue

- Fix chart widget crash issue which was caused due to incorrect default values.

See merge request theappsmith/internal-tools-client!744
2020-06-18 09:25:05 +00:00
Abhinav Jha
e9377d8187 Add singleChartData to chartData migration 2020-06-18 14:31:12 +05:30
Satbir Singh
bb54ffcd0c Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into fix/backmerge 2020-06-18 14:07:23 +05:30
Trisha Anand
ec8c63bfee For invitation, throw a bad request error in case all the invite dto fields are not set. 2020-06-18 14:05:48 +05:30
Abhinav Jha
8add047d70 Cleanup 2020-06-18 13:18:19 +05:30
Satbir Singh
fd3f4c2028 Fixing performance issue in apiName 2020-06-18 07:46:53 +00:00
Abhinav Jha
1d2e165a71 Fix the chart widget crash issue 2020-06-18 13:16:04 +05:30
Abhinav Jha
f70d92b8d0 Merge branch 'fix/remove-console-warnings' into 'release'
Remove console warnings

- Remove console eslint warnings like react hook dependency warnings and unused vars warnings

See merge request theappsmith/internal-tools-client!738
2020-06-18 05:53:41 +00:00
Abhinav Jha
78ebdfc9d8 Fix modal overlay covering widget cards pane issue 2020-06-18 10:56:50 +05:30
Abhinav Jha
57e341b7e8 Fix modal overlay z-index issue 2020-06-17 16:35:05 +00:00
Satbir Singh
8bdc1e7563 Merge branch 'master' into 'release'
Hotfix api name edit backmerge.

See merge request theappsmith/internal-tools-client!737
2020-06-17 13:58:29 +00:00
Abhinav Jha
fdd826d929 Remove console warnings like react hook dependency warnings and unused vars 2020-06-17 19:23:01 +05:30
Satbir Singh
98f65405a7 Handling api name change error. 2020-06-17 13:16:14 +00:00
vicky_primathon.in
f479e1d1d1 wrapping action code reverted 2020-06-17 18:28:26 +05:30
Trisha Anand
e5282dac11 In case a page is opened in edit mode, it should open with permission of MANAGE_PAGE. In case the user is a viewer, the page must not open. 2020-06-17 17:34:26 +05:30
Nandan H A
7bba999c9f Fixing tests for ACL flow
The current push for fixing tests in the new ACL flow.

1. New way to handle create application.
2. API login
3. Removed redundant tests.
4. Fixed Issues wrt ACL changes
2020-06-17 10:47:01 +00:00
Arpit Mohan
fc8e43da1f Query pane fixes
- Show mongo execute response in seperate cards for each record
- Update postgres read template
- Show query execute error message in the UI.
2020-06-17 10:19:56 +00:00
vicky_primathon.in
51545bf774 changes for child fields 2020-06-17 15:10:29 +05:30
Trisha Anand
893698f09e Merge branch 'release' into feature/acl-spring-object
# Conflicts:
#	appsmith-server/src/main/java/com/appsmith/server/constants/FieldName.java
2020-06-17 15:10:23 +05:30
Trisha Anand
8fc99cf0bd In case a user is invited to an organization as developer, correct top permissions are being assigned via Appsmith role. 2020-06-17 09:33:00 +00:00
Abhinav Jha
d7cac27c8f Remove 100% width from button size 2020-06-17 13:14:25 +05:30
Shrikant Kandula
8e40240f25 Fix parse error when there's a space in header in curl command 2020-06-17 12:32:08 +05:30
Abhinav Jha
3eb7fbdf18 Merge branch 'fix/new-widget-borders' into 'release'
Prevent widget name un-highlight when clicking on property pane.

See merge request theappsmith/internal-tools-client!730
2020-06-17 06:39:22 +00:00
Abhinav Jha
044df2b08d Add max width to back to editor button on appviewer 2020-06-17 11:59:09 +05:30
Vicky Bansal
232f5a9206 Fix/empty cells for empty table 2020-06-17 06:00:43 +00:00
Tejaaswini
16606a45a2 fix: bug fixes
- refresh users list
- show orgdropdown and share based on permission
2020-06-17 09:47:25 +05:30
Satbir Singh
7e3df81302 Api name editable. 2020-06-16 10:23:19 +00:00
Abhinav Jha
0f7fd2287a Stop click propagation on property pane to prevent the widget from getting unselected 2020-06-16 15:42:17 +05:30
Vicky Bansal
5643a53c9f Fixing table bugs 2020-06-16 07:37:39 +00:00
Tejaaswini
c99640df91 Merge branch 'release' into feature/acl 2020-06-16 11:44:44 +05:30
Arpit Mohan
c6af229a97 Merge branch 'bug/default-page-action-refactor' into 'release'
Adding the widget names set to the default layout for a page

During action name refactor, we require the widget names to exist in the layout. Hence all default layouts must have the widgetName set.

See merge request theappsmith/internal-tools-server!387
2020-06-16 05:25:54 +00:00
vicky_primathon.in
02d841a1b1 changes for tree structure 2020-06-16 10:50:46 +05:30
Arpit Mohan
a4132d5845 Adding the widget names set to the default layout for a page 2020-06-16 10:50:07 +05:30
Shrikant Kandula
dd0ba857c2 Fix cURL import when using --url argument
Also fixes cases where there's a space between `-X` and `POST` and
similar cases.
2020-06-16 09:59:43 +05:30
Akash N
1d38c98a7f Fix tab key navigation for headers and query params
- Extend existing extraKeys to avoid overriding the `Tab` extraKey
2020-06-15 13:14:39 +00:00
Abhinav Jha
2609f26117 Merge branch 'fix/lightning-menu' into 'release'
Fix/lightning menu

- Add lightning menu to assist users in binding
- Change the action selection display for consistency.

See merge request theappsmith/internal-tools-client!706
2020-06-15 10:51:20 +00:00
Hetu Nandu
70d4818767 add missing semi-colons in styles 2020-06-15 14:21:00 +05:30
Satbir Singh
cb628d26b2 Merge branch 'fix/remove-ff' into 'release'
ApiPaneV2 DocsV2 QueryV2 DatasourceV2 feature flag removed

See merge request theappsmith/internal-tools-client!721
2020-06-15 08:03:07 +00:00
Satbir Singh
bb4004fce0 ApiPaneV2 DocsV2 QueryV2 DatasourceV2 flag removed 2020-06-15 12:21:46 +05:30
vicky_primathon.in
cddd6586f2 overflow fix reverted 2020-06-15 11:18:17 +05:30
Tejaaswini Narendra
09554f97e8 Back to editor in app view mode should not be visible to users with only read application permissions 2020-06-12 15:44:51 +00:00
Trisha Anand
9dfb72720e Fixed the broken test cases. 2020-06-12 19:35:01 +05:30
Trisha Anand
bb6dc61015 Build fix 2020-06-12 19:16:31 +05:30
Trisha Anand
73757c3425 Merge branch 'release' into feature/acl-spring-object
# Conflicts:
#	.gitignore
#	appsmith-plugins/mongoPlugin/plugin.properties
#	appsmith-plugins/postgresPlugin/plugin.properties
#	appsmith-plugins/rapidApiPlugin/plugin.properties
#	appsmith-plugins/restApiPlugin/plugin.properties
#	appsmith-plugins/restApiPlugin/src/main/java/com/external/plugins/RestApiPlugin.java
#	appsmith-server/src/main/java/com/appsmith/server/constants/FieldName.java
#	appsmith-server/src/main/java/com/appsmith/server/repositories/ActionRepository.java
#	appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java
#	appsmith-server/src/main/java/com/appsmith/server/services/DatasourceContextServiceImpl.java
#	appsmith-server/src/main/java/com/appsmith/server/services/DatasourceServiceImpl.java
#	appsmith-server/src/test/java/com/appsmith/server/services/ActionServiceTest.java
#	appsmith-server/src/test/java/com/appsmith/server/services/ApplicationServiceTest.java
#	appsmith-server/src/test/java/com/appsmith/server/services/LayoutServiceTest.java
#	appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
#	build.sh
2020-06-12 19:14:31 +05:30
Shrikant Kandula
18476432ac Don't invite users if they have any access in an org, not just admin. 2020-06-12 17:48:35 +05:30
Trisha Anand
6eea8ec43e Merge branch 'fix/acl-buglist' into 'feature/acl'
Modal collapse on role entry : Fix enter role from the dropdown closes the share pop up

See merge request theappsmith/internal-tools-client!712
2020-06-12 11:59:20 +00:00
Shrikant Kandula
b391f46e2c ACL Migration Script 2020-06-12 11:54:21 +00:00
Hetu Nandu
e6972ea772 add lodash docs 2020-06-12 16:26:46 +05:30
Tejaaswini
3b147cc445 Merge branch 'release' into feature/acl 2020-06-12 15:38:40 +05:30
vicky_primathon.in
3bf86936b1 merge conflicts resolved 2020-06-12 14:16:42 +05:30
Hetu Nandu
133f50807e Fix api pane performance 2020-06-12 08:35:52 +00:00
Trisha Anand
4eab663c8e Bug fix for forgot password error "user not found". During reset password, the user is not logged in and hence the permissions can not be applied during repository findByEmail 2020-06-12 13:57:57 +05:30
Satbir Singh
1b546cd308 Merge branch 'fix/save-edit' into 'release'
Save on edit debounce rate decreased and Run api is filled

See merge request theappsmith/internal-tools-client!715
2020-06-12 08:03:17 +00:00
Satbir Singh
75cef07aa9 Save on edit debounce rate decreased and Run api is filled 2020-06-12 08:03:17 +00:00
Trisha Anand
3dafccba2e In case of sending email for an existing user, fixed the URL. 2020-06-12 13:30:53 +05:30
Nikhil Nandagopal
5e292f0534 Merge branch 'fix/form' into 'release'
made form data visible at the top level

See merge request theappsmith/internal-tools-client!700
2020-06-12 05:28:37 +00:00
Akash N
e6ed4fd5bc Datasouces and query fixes
-  Show plugin icons in query sidebar and dropdown
- Collapse all sections except the first one in datasources form
- Collapse from second depth in query mongo response UI.
2020-06-12 05:09:49 +00:00
Satbir Singh
f606b0989e Merge branch 'fix/api-scroll' into 'release'
Fixing api Scroll.

See merge request theappsmith/internal-tools-client!689
2020-06-12 03:54:12 +00:00
Satbir Singh
1538a70d1f Fixing api Scroll. 2020-06-12 03:54:12 +00:00
Shrikant Kandula
ab83bc0223 Fix problem where not all apps were getting policies when invited. 2020-06-11 20:56:52 +05:30
vicky_primathon.in
db17836810 info icon placed after field. test case fixed for action selectors 2020-06-11 19:30:38 +05:30
Tejaaswini
08323d3281 fix: Modal collapse on role entry 2020-06-11 17:01:32 +05:30
Hetu Nandu
c2213bd696 Evaluated value bug fixes 2020-06-11 11:03:16 +00:00
vicky_primathon.in
d7b8c0da7d lightning menu disabled for disabled fields 2020-06-11 14:26:38 +05:30
Tejaaswini
53732cf7d9 fix: Disable application share button visibility 2020-06-11 13:03:54 +05:30
vicky_primathon.in
299d1d8158 code review changes 2020-06-11 12:54:19 +05:30
Trisha Anand
e7e008dcd2 Fixed the repository function which was failing for fetching actions during updateLayout. 2020-06-11 07:22:16 +00:00
Nikhil Nandagopal
e468fbbe62 Merge branch 'release' into fix/form 2020-06-11 12:23:34 +05:30
Arpit Mohan
b837016ae0 Merge branch 'feat/queryExecuteOnLoad' into 'release'
Add checkbox field for executeOnLoad in query form

See merge request theappsmith/internal-tools-client!705
2020-06-11 06:29:32 +00:00
Akash N
41e431ebb4 Add checkbox field for executeOnLoad in query form 2020-06-11 06:29:32 +00:00
vicky_primathon.in
da3ad7edc9 merge conflicts resolved 2020-06-11 10:52:00 +05:30
rashmipn
8c0d010216 fixed issue 2020-06-11 10:43:18 +05:30
Rashmi P
640bafdbd7 Merge branch 'update/Dsl' into 'release'
Update/dsl

See merge request theappsmith/internal-tools-client!678
2020-06-10 17:49:16 +00:00
Satbir Singh
13afc1a703 Merge branch 'feature/save-edit' into 'release'
Save api on edit.

See merge request theappsmith/internal-tools-client!702
2020-06-10 17:42:51 +00:00
Satbir Singh
13422048e4 Save api on edit. 2020-06-10 17:42:51 +00:00
Abhinav Jha
80f03d970b New Widget borders 2020-06-10 17:31:20 +00:00
Tejaaswini
54003a1d31 update: Invite user form design 2020-06-10 20:30:11 +05:30
vicky_primathon.in
a528ffc7d4 merge conflicts resolved 2020-06-10 19:16:45 +05:30
vicky_primathon.in
f70a3143c6 action selector breakages fixed 2020-06-10 19:11:26 +05:30
rashmipn
16b70bd52d resolved conflicts 2020-06-10 18:05:41 +05:30
Arpit Mohan
4322555d16 Merge branch 'fix/runQueryTwice' into 'release'
Use isExecutionSuccess flag to handle query execution errors

See merge request theappsmith/internal-tools-client!684
2020-06-10 12:25:54 +00:00
Akash N
69a65f7052 Use isExecutionSuccess flag to handle query execution errors 2020-06-10 12:25:52 +00:00
Arpit Mohan
9c6e46c649 Merge branch 'Add/Pagination-tests' into 'release'
Add pagination Cypress tests

This adds tests for server-side pagination in a table. 

Pagination via table pageNo and by responseUrl are covered in this scenario.

See merge request theappsmith/internal-tools-client!693
2020-06-10 12:25:16 +00:00
Rashmi P
66b26c42ee Add pagination Cypress tests 2020-06-10 12:25:16 +00:00
Nikhil Nandagopal
05bb520479 Merge branch 'release' into fix/form 2020-06-10 17:50:39 +05:30
Nikhil Nandagopal
125fb9c162 Merge branch 'fix/bugs' into 'release'
Fix/bugs

See merge request theappsmith/internal-tools-client!696
2020-06-10 12:19:55 +00:00
Hetu Nandu
cb2867069f Action creator evaluated value fixes 2020-06-10 12:16:50 +00:00
Nikhil Nandagopal
bc9ec2a2eb Merge branch 'release' into fix/bugs 2020-06-10 17:11:23 +05:30
Arpit Mohan
7af301566c Adding sorry-cypress integration to ensure Cypress parallelization without the Cypress dashboard 2020-06-10 11:14:58 +00:00
Arpit Mohan
01737b9599 Experimenting with maven-shade-plugin to create a fat-jar of the postgres dependency.
Will have to do this for all plugins. Currently, it's not registering the plugin with the SpringPluginManager
2020-06-10 11:11:23 +00:00
vicky_primathon.in
a5986ed8a8 merge conflicts resolved 2020-06-10 16:34:11 +05:30
Shrikant Kandula
1ce336257c Mark any 2xx status code in REST API plugin as successful execution. 2020-06-10 10:51:07 +00:00
Trisha Anand
7a658ce5ea App viewer user in an organization should have read:organizations permission. 2020-06-10 15:55:29 +05:30
Nikhil Nandagopal
ed37c27c67 added pagination info 2020-06-10 15:51:16 +05:30
vicky_primathon.in
e930a3963c Merge branch 'feature/widget-actions-menu' of gitlab.com:theappsmith/internal-tools-client into fix/lightning-menu 2020-06-10 15:41:12 +05:30
Trisha Anand
491afc3599 In case of global datasource, no need to check for organizationId during action create. 2020-06-10 09:08:01 +00:00
Nikhil Nandagopal
a26e8ea51c Merge branch 'release' into fix/bugs
# Conflicts:
#	cypress/integration/Smoke_TestSuite/FormWidgets/DatePicker_spec.js
2020-06-10 14:22:04 +05:30
Tejaaswini Narendra
4f34b2c502 fix: Send organizationId for embedded datasources
- show organization title in invite form
- show form when clicking on share in dropdown
- show org name in org settings page
- remove the deleted application from the UI when delete is successful
- fix role update in user list table
2020-06-10 08:29:21 +00:00
Hetu Nandu
e2eb590a86 Query pane evaluated value 2020-06-10 07:49:27 +00:00
Nikhil Nandagopal
32d934604f fixed tests 2020-06-10 12:04:46 +05:30
Trisha Anand
a89355a5ec Fixes bugs : 1. read:datasource permission should not be applied to application; 2. A user shouldn't be added to an organization if the user already exists in the organization. 2020-06-10 06:22:16 +00:00
Tejaaswini
4196f11af9 Merge branch 'release' into feature/acl 2020-06-10 11:50:54 +05:30
Arpit Mohan
3cf8ff008f Hacky fix for the postgres plugin to work. Including the dependency in the appsmith-server/pom.xml file instead of the plugin 2020-06-10 10:46:09 +05:30
Trisha Anand
ac06cc9668 1. user permissions during create/update of actions and datasources would now be set.
2. During update, policies are set to null in the update object to ensure that the policies are not overwritten to empty set.
2020-06-09 20:25:13 +05:30
Nikhil Nandagopal
2df86b79e9 fixed type def
resolved mr comments
2020-06-09 18:40:42 +05:30
Nikhil Nandagopal
7da961bcc9 fixed clearing date picker 2020-06-09 18:34:47 +05:30
Arpit Mohan
bbd33c2968 Removing the query field in ActionConfiguration and using String body as the field to store the query
This is to simplify the query pane on the frontend client. The client doesn't need to have separate interfaces for sql and non-sql plugins. All queries will be sent to the server in the form of a String that is parsed in different formats based on the plugin.

Also adding test cases for PostgresPlugin. Used TestContainers to simulate the postgres db in Docker inside the Java test itself. Very useful.
2020-06-09 12:12:27 +00:00
Tejaaswini Narendra
91efefee09 fix: Minor change
- remove return
2020-06-09 12:10:55 +00:00
Nikhil Nandagopal
9becaa9a9f made form data visible at the top level 2020-06-09 17:34:38 +05:30
Nikhil Nandagopal
97d78ba379 commented datepicker required field test 2020-06-09 16:34:04 +05:30
Hetu Nandu
6b54eb8f9e Update displayWidgetDsl.json 2020-06-09 09:44:57 +00:00
Nikhil Nandagopal
a567622e0d minor fix 2020-06-09 14:29:08 +05:30
Nikhil Nandagopal
8501ebe670 added date format to date picker 2020-06-09 14:14:13 +05:30
Nikhil Nandagopal
563c74f1a9 fixed tests failing 2020-06-09 11:55:11 +05:30
rashmipn
e2ce5f929c Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into update/Dsl 2020-06-09 11:49:10 +05:30
Rashmi P
d9639266f1 Removed Required toggle fun DatePicker_spec.js 2020-06-09 06:16:53 +00:00
Arpit Mohan
99e7519550 Handling form data via the field bodyFormData in ActionConfiguration
This is because the client sends us the data for form-data in the form of a list of Property fields with keys and values. This is consistent with how the client stores & renders headers & query parameters as well.
For MediaType application/x-www-form-urlencoded we will use the bodyFormData field.
2020-06-09 05:48:16 +00:00
Trisha Anand
061577d2c9 Bug : When the user tries to invite without selecting the role user, this leads to null pointer exception.
Fix : A user CAN NOT be invited to an organization without specifying the role.
2020-06-08 14:56:12 +00:00
Nikhil Nandagopal
79c62d4863 fixed data tree path 2020-06-08 17:56:07 +05:30
Trisha Anand
a888d54059 Changed the get all actions function to fix the bug where find by Example is not working. Instead the same has now been implemented using criteria. 2020-06-08 12:05:49 +00:00
Nikhil Nandagopal
8b0258b4b9 Merge branch 'release' into fix/bugs
# Conflicts:
#	src/pages/Editor/APIEditor/PostBodyData.tsx
2020-06-08 17:13:03 +05:30
Nikhil Nandagopal
b84384fa99 fixed filepicker not closing 2020-06-08 16:59:20 +05:30
Nikhil Nandagopal
dff9c60f9f fixed resize handles size
fixed body for url encoded form data
added defaults for dropdown and radio widget
added multipart type but hid it till we figure out logic
allowed number to be added to defaults of widgets
2020-06-08 16:39:13 +05:30
Satbir Singh
618d6180e6 Adding styled component names to dom for local env 2020-06-08 09:00:58 +00:00
Tejaaswini
5b9f4ad16f fix: Add orgId to datasource, 3P import and plugins API 2020-06-08 14:21:53 +05:30
Tejaaswini
bbdec60516 Merge branch 'release' into feature/acl 2020-06-08 13:36:15 +05:30
Trisha Anand
9ac7e817cc Merge branch 'feature/acl-remove-getCurrentOrganization' into 'feature/acl-spring-object'
Removed the usage of get current organization id. Added organization id to a few api calls.

See merge request theappsmith/internal-tools-server!367
2020-06-08 06:45:04 +00:00
Trisha Anand
a31796a216 Removed the usage of get current organization id. Requires addition of organization id to a few api calls. 2020-06-08 06:45:04 +00:00
Hetu Nandu
e401844014 Fix Chart series data 2020-06-05 16:20:23 +00:00
Trisha Anand
f02ae99af4 Merge branch 'fix/create-api' into 'feature/acl'
fix: Create API and Curl Import API

See merge request theappsmith/internal-tools-client!690
2020-06-05 13:52:08 +00:00
Tejaaswini
7c3d18b7f6 Merge branch 'feature/acl' into fix/invite-users 2020-06-05 18:58:21 +05:30
Tejaaswini
926a6caed4 fix: Create API and curl import flow 2020-06-05 18:52:30 +05:30
Trisha Anand
f9d63f9881 Adding a 3P Api to a page now also expects the client to send the organization id. 2020-06-05 16:14:15 +05:30
Trisha Anand
87aafd6cf4 Adding test case for testDatasource
Refactoring the testDatasource code by moving the business logic to the service layer.
2020-06-05 10:05:23 +00:00
Tejaaswini
81c1e0d5f4 feat: pass orgId to createDatasource APIs
- Set Current Organization Id based on the application that the user is accessing
- Send saved organization id in datasource creation APIs.
2020-06-05 14:13:01 +05:30
Tejaaswini
d33188adc1 Merge branch 'release' into feature/acl 2020-06-05 13:39:01 +05:30
rashmipn
e3729a4ea0 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into update/dsl 2020-06-05 09:18:59 +05:30
Hetu Nandu
d9540f8927 Evaluated value popup 2020-06-04 13:49:22 +00:00
Tejaaswini
7a02d62682 Merge branch 'feature/acl' into fix/invite-users 2020-06-04 19:00:47 +05:30
Tejaaswini
efad40becd fix: Update UI changes 2020-06-04 18:42:19 +05:30
Tejaaswini Narendra
81df7326c5 fix- Update minor UI changes 2020-06-04 12:15:09 +00:00
Arpit Mohan
1a68b7f561 Fixing the DSL Json for default layouts in new pages. 2020-06-04 16:13:47 +05:30
vicky_primathon.in
19b8c46cc1 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-06-04 16:03:40 +05:30
vicky_primathon.in
cf0fa0fd22 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into fix/icons-placement-issues 2020-06-04 16:03:05 +05:30
vicky_primathon.in
b72e8ecd0f lightning menu popover placement fixed 2020-06-04 15:25:44 +05:30
Tejaaswini
6c8eaf2aad fix: Minor UI changes 2020-06-04 14:47:08 +05:30
vicky_primathon.in
0062b3182f padding added in dynamic auto complete to show lightningmenu icon reverted 2020-06-04 14:22:48 +05:30
Trisha Anand
9e1742c289 Add OrgId to the output of the api used to return all the page ids and names given an application (id or name) 2020-06-04 08:08:15 +00:00
Aditya Acharya
303363cb60 Merge branch 'Binding/ChartText' into 'release'
Binding/chart text

See merge request theappsmith/internal-tools-client!673
2020-06-04 07:50:39 +00:00
Aditya Acharya
3f10d16bfb Binding/chart text 2020-06-04 07:50:39 +00:00
Arpit Mohan
1ac69bab50 Modifying the default page name to Page1
Also creating a default empty layout when a new page is created. This ensures that the client can show the default message on new page creations.
2020-06-04 13:05:34 +05:30
Satbir Singh
11b2995387 Enabling Optimizely through ad blockers. 2020-06-04 07:13:36 +00:00
rashmipn
eea9e837fb Updated the dsl's 2020-06-04 12:32:07 +05:30
Tejaaswini
4e9685b8d5 fix-Update minor UI changes 2020-06-04 12:28:30 +05:30
rashmipn
3541d16f95 Updated the dsl 2020-06-04 12:06:21 +05:30
Hetu Nandu
44e657fe12 refactored function name
reverted binding logic
2020-06-03 17:27:24 +00:00
Tejaaswini Narendra
52e70e479f fix:Minor UI changes
- add ellipsis for the application title
- align org name, list of applications
- increase font size of org name
- increase size of create application icon
- add name for create application card
- remove create application button
2020-06-03 13:54:42 +00:00
vicky_primathon.in
199e70955e Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-06-03 18:01:21 +05:30
vicky_primathon.in
3e5d7eeb34 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into fix/icons-placement-issues 2020-06-03 18:00:28 +05:30
vicky_primathon.in
b38b5b3a30 lightning menu border changes 2020-06-03 17:51:18 +05:30
Satbir Singh
3b729bc470 Merge branch 'fix/react-table-widget' into 'release'
Fix/react table widget

See merge request theappsmith/internal-tools-client!599
2020-06-03 10:50:10 +00:00
Vicky Bansal
c2efa63eba Fix/react table widget 2020-06-03 10:50:10 +00:00
vicky_primathon.in
86a8c49e73 isHover state removed from dynamic auto complete 2020-06-03 15:23:32 +05:30
vicky_primathon.in
d537fbcebd Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into fix/icons-placement-issues 2020-06-03 15:22:01 +05:30
vicky_primathon.in
b7ee43da39 merge conflicts resolved 2020-06-03 15:21:07 +05:30
vicky_primathon.in
210a4f3e71 merge conflicts resolved 2020-06-03 15:19:18 +05:30
vicky_primathon.in
2f6211e01b syntax highlight for code in action selectors 2020-06-03 15:09:17 +05:30
vicky_primathon.in
5259756bf6 Merge branch 'feature/syntax-highlighting' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-06-03 12:48:40 +05:30
vicky_primathon.in
f55b76b582 Merge branch 'master' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-06-03 12:45:28 +05:30
vicky_primathon.in
b28d1e6f5f lightning menu changes merged 2020-06-03 12:44:17 +05:30
vicky_primathon.in
535706aa9b lightning menu changes merged 2020-06-03 12:41:42 +05:30
vicky_primathon.in
2a477468ed changes to fix hover issue 2020-06-03 12:40:16 +05:30
Akash N
62f003df6e Embedded Datasource
- Show path along with url in the api pane for embedded datasource
- Add store as datasource menu option for embedded datasource
- Allow users to type the  path for global datasources
- Show the base url as a tag along with the path for global datasource.
2020-06-03 05:40:48 +00:00
vicky_primathon.in
4ca1f5b02e delete icon placement fix, spacing in auto complete for lightning menu icon added 2020-06-03 10:14:11 +05:30
Aditya Acharya
2eb6d6cbe7 Merge branch 'LocatorFix' into 'release'
Locatorfix

See merge request theappsmith/internal-tools-client!672
2020-06-02 11:50:39 +00:00
vicky_primathon.in
5b43bd2d5f lightning menu user states added 2020-06-02 17:18:54 +05:30
Hetu Nandu
973af1c5e7 Single series chart data 2020-06-02 11:27:24 +00:00
acharyaaditya18
4455c98ff7 Locatorfix 2020-06-02 15:34:38 +05:30
vicky_primathon.in
e6c6556b50 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/lightning-menu 2020-06-02 14:31:44 +05:30
vicky_primathon.in
2bff98d10d lightning menu state latest changes 2020-06-02 14:31:03 +05:30
Tejaaswini Narendra
c3f1939d43 fix:Minor UI changes
- add ellipsis for the application title
- align org name, list of applications
- increase font size of org name
- increase size of create application icon
- add name for create application card
- remove create application button
2020-06-02 08:11:30 +00:00
Abhinav Jha
341133a95d Add syntax highlighting component 2020-06-02 13:24:31 +05:30
vicky_primathon.in
5fd3e59f7a hover and active state in lightning menu added 2020-06-02 12:43:13 +05:30
Rashmi P
76b0c65528 Merge branch 'Add/publish-map-tests' into 'release'
added map widget publish tests

See merge request theappsmith/internal-tools-client!665
2020-06-02 06:58:15 +00:00
Rashmi P
304cc969e9 added map widget publish tests 2020-06-02 06:58:15 +00:00
Tejaaswini
17940bcfef Merge branch 'release' into feature/acl 2020-06-02 11:29:58 +05:30
rashmipn
e7edbd744b Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into Add/publish-map-tests 2020-06-02 11:27:43 +05:30
acharyaaditya18
482f347010 Locator Updated 2020-06-02 10:21:29 +05:30
Trisha Anand
f8cf87e3c8 Invite existing user to an organization works. Updated the test case for adding user to an organization as well to use the new API. 2020-06-01 17:39:27 +00:00
rashmipn
2086baed79 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into Add/publish-map-tests 2020-06-01 17:30:39 +05:30
acharyaaditya18
7fe4eff407 Dropdown Fix 2020-06-01 16:29:30 +05:30
rashmipn
6c5692d35a added map widget publsh tests 2020-06-01 14:58:39 +05:30
Akash N
e808c21a88 Fix search 2020-06-01 10:42:10 +05:30
Satbir Singh
5a1f1b63b6 Merge branch 'feature/lightning-menu-feature-flag-config' into 'release'
Adding feature flag configuration for lightning menu. (UNUSED)

See merge request theappsmith/internal-tools-client!662
2020-05-30 02:41:11 +00:00
Satbir Singh
e5995b5869 Increased width of documentation. Open link shows on hover. Increased font size of search. Adding Check request body button. 2020-05-30 02:39:18 +00:00
Abhinav Jha
1f5284bb67 Adding feature flag configuration for lightning menu. (UNUSED) 2020-05-29 23:59:03 +05:30
Tejaaswini Narendra
d3718bc28e fix:Minor UI changes
- add ellipsis for the application title
- align org name, list of applications
- increase font size of org name
- increase size of create application icon
- add name for create application card
- remove create application button
2020-05-29 13:21:05 +00:00
Satbir Singh
a8ab4b5523 Compact documentation UI 2020-05-29 11:49:46 +00:00
vicky_primathon.in
0236dcd251 button text alignment fixed 2020-05-29 17:03:08 +05:30
vicky_primathon.in
c956105365 merge conflicts resolved 2020-05-29 16:59:27 +05:30
Aditya Acharya
a5454fc743 Merge branch 'Binding/PublishAdd' into 'release'
Publish Test Cases

See merge request theappsmith/internal-tools-client!655
2020-05-29 10:04:55 +00:00
Aditya Acharya
17bddbda75 Publish Test Cases 2020-05-29 10:04:55 +00:00
Rashmi P
9aa3b5f247 Add/publish bind tests 2020-05-29 10:02:03 +00:00
Tejaaswini
c2b7eb2f28 Merge branch 'release' into feature/acl 2020-05-29 13:45:02 +05:30
Satbir Singh
26717a14a6 Updated algolia for the order. 2020-05-29 12:42:35 +05:30
Hetu Nandu
2fb29290f1 Merge branch 'fix/chart-data-validation' into 'release'
Chart validations, Tabs add new tab issue fix

* Chart validation fixes
* Tab widget, adding new tab will display the same inside pane configurations

See merge request theappsmith/internal-tools-client!574
2020-05-29 06:07:56 +00:00
Vicky Bansal
747c3d5d8b Chart validations, Tabs add new tab issue fix 2020-05-29 06:07:56 +00:00
vicky_primathon.in
6d42c7fe32 all code review comments handled 2020-05-29 11:37:18 +05:30
Trisha Anand
f1e1e6959a Bug : New users aren't able to read their own user object and hence homepage doesnt load.
Fix : Added lateral permissions for user on create.
2020-05-29 05:28:30 +00:00
Satbir Singh
6a89f3acd0 Changed the popover for api creation. 2020-05-29 00:57:01 +05:30
Satbir Singh
e82696759d Changed label 2020-05-29 00:56:08 +05:30
Satbir Singh
0bf9d74a46 Changed Show Modal to Open Popup 2020-05-29 00:33:37 +05:30
Satbir Singh
5e526b9119 Changing Show Alert to Show message in tests 2020-05-29 00:29:09 +05:30
Satbir Singh
7d9b6784e5 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into fix/tweaks 2020-05-28 23:53:05 +05:30
Satbir Singh
b7b74ffd02 Feature/help 2020-05-28 18:10:26 +00:00
vicky_primathon.in
96776b746a code review changes 2020-05-28 18:40:25 +05:30
vicky_primathon.in
666ab68703 actions sub-branching in UI done. separating query and api as separate actions done. 2020-05-28 16:22:48 +05:30
Aditya Acharya
bc51f22b16 Publish/alltests 2020-05-28 10:35:54 +00:00
vicky_primathon.in
da4ed9d470 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-05-28 15:42:40 +05:30
vicky_primathon.in
63c19544e9 create new saga for createNewQueryAction 2020-05-28 15:42:02 +05:30
vicky_primathon.in
aa743dccb5 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-05-28 14:49:58 +05:30
vicky_primathon.in
611b317aed Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/lightning-menu 2020-05-28 14:49:13 +05:30
vicky_primathon.in
d218f50e6a code review changes 2020-05-28 14:48:08 +05:30
Nikhil Nandagopal
f11efcbf9a Merge branch 'fix/tweaks' of gitlab.com:theappsmith/internal-tools-client into fix/tweaks 2020-05-28 14:32:58 +05:30
Satbir Singh
830184dda0 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into fix/tweaks 2020-05-28 14:29:34 +05:30
Nikhil Nandagopal
03ff6a36f7 fixed test 2020-05-28 14:27:07 +05:30
Nikhil Nandagopal
b57701c81c removed uncommented code
fixed message
increased date range
2020-05-28 14:10:52 +05:30
Trisha Anand
d6670c70cc Bug Root Cause : New users have no applications inside the organizations(s). In this case, get all applications does not return back organizationApplications object.
Fix : In getAllApplications, instead of iterating over collections of applications which could be empty, we iterate over organizations where we are guaranteed to have atleast one organization.
2020-05-28 13:31:24 +05:30
Rashmi P
70a521a4d2 Merge branch 'Add/Publish-test-cases' into 'release'
Add/publish test cases

See merge request theappsmith/internal-tools-client!645
2020-05-28 06:37:47 +00:00
Rashmi P
57b65fc974 Add/publish test cases 2020-05-28 06:37:47 +00:00
Nikhil Nandagopal
c5e07ca45a Update EntityDefinitions.ts 2020-05-28 06:12:04 +00:00
vicky_primathon.in
263ac8aafb tree level UI updated 2020-05-28 10:02:50 +05:30
Abhinav Jha
d47e5b53d5 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/lightning-menu 2020-05-28 02:17:52 +05:30
vicky_primathon.in
24b60c7b71 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-05-27 20:43:06 +05:30
Trisha Anand
6475be63d1 Baseline code added for cascading the org level permissions to applications, pages and eventually actions. 2020-05-27 14:36:57 +00:00
Arpit Mohan
a99de4a116 Update .gitlab-ci.yml to build the code for feature/acl branch 2020-05-27 14:06:08 +00:00
Tejaaswini Narendra
913d5123b4 fix:Minor UI changes
- add ellipsis for the application title
- align org name, list of applications
- increase font size of org name
- increase size of create application icon
- add name for create application card
- remove create application button
2020-05-27 13:36:06 +00:00
Nandan H A
a102ca9d6f Removed redundant tests.
Added all verb tests to same spec file.
Added pagination test.
updated beforeEach in index file.
2020-05-27 11:21:11 +00:00
Arpit Mohan
d20e92a587 Modifying the Action object to include an array of Property for dynamicBindingPathList 2020-05-27 13:16:38 +05:30
Nikhil Nandagopal
5e136ddf7b removed common widgets 2020-05-27 11:13:14 +05:30
Aditya Acharya
1ef092b9d2 Publish/test cases 2020-05-26 12:22:29 +00:00
Arpit Mohan
9f82bde92c Adding statusCode from AppsmithPluginErrors when plugins error out
This ensures that we can always display a status code on the client.
2020-05-26 11:50:09 +00:00
Trisha Anand
59a83d414b Added description to roles for organization appsmith roles. 2020-05-26 10:49:42 +05:30
vicky_primathon.in
cfc457c0d7 create new api, query supported 2020-05-26 09:39:40 +05:30
Nikhil Nandagopal
50ec3073f8 increased date picker range
removed input icon
changed table action text
2020-05-25 17:50:55 +05:30
Nikhil Nandagopal
3211b8c915 minor text changes 2020-05-25 15:02:01 +05:30
Tejaaswini
e471706593 Merge branch 'release' into feature/acl 2020-05-25 14:47:05 +05:30
vicky_primathon.in
5987071232 disable lightning menu flag removed 2020-05-25 14:22:38 +05:30
Hetu Nandu
f7f494d9b4 Merge branch 'fix/autocomplete' into 'release'
removed properties that won't be used for bindings

See merge request theappsmith/internal-tools-client!633
2020-05-25 07:37:07 +00:00
vicky_primathon.in
7685d729ee lightning menu changes 2020-05-25 12:59:00 +05:30
Abhinav Jha
fc8384ef6e organize lightning menu code 2020-05-24 15:29:22 +05:30
Abhinav Jha
569ce718e3 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/lightning-menu 2020-05-24 14:59:23 +05:30
Abhinav Jha
9906e53623 Fix widget drop crash issue 2020-05-24 14:56:09 +05:30
Abhinav Jha
7a3ae1f29b Remove create options from lightning menu. Change size of lightning icon 2020-05-24 14:55:32 +05:30
Arpit Mohan
a569156029 Merge branch 'hotfix/action-error' into 'release'
Creating the actionExecutionResult object for error scenarios as well.

See merge request theappsmith/internal-tools-server!354
2020-05-23 07:23:13 +00:00
Arpit Mohan
e6b7ffca9c Creating the actionExecutionResult object for error scenarios as well.
This ensures that we can populate the request fields for all action executions
2020-05-23 12:49:01 +05:30
Hetu Nandu
801369faf3 Fix api content type issue 2020-05-23 05:42:23 +00:00
vicky_primathon.in
2ba513e2bb updating action selectors value to code after action selection 2020-05-23 11:02:04 +05:30
Tejaaswini Narendra
23876a4230 remove user profile 2020-05-22 13:42:31 +00:00
Nikhil Nandagopal
efabcc690e set empty labels 2020-05-22 18:38:57 +05:30
Trisha Anand
f269588cda Removing build & test for ACL branches 2020-05-22 13:00:52 +00:00
Nikhil Nandagopal
6f749d3e06 removed properties that won't be used for bindings 2020-05-22 18:16:11 +05:30
Trisha Anand
ee517706dc Changes to try and avoid running the test cases for MR's raised on ACL branch. 2020-05-22 17:56:35 +05:30
Abhinav Jha
b2e8e2cd7c Add Suspense fallback 2020-05-22 16:57:09 +05:30
Abhinav Jha
11d46fc526 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/lightning-menu 2020-05-22 16:33:48 +05:30
Abhinav Jha
a39d35c27e Add lightning icon and tooltip 2020-05-22 16:33:35 +05:30
vicky_primathon.in
41fa7fd343 right panel width reverted to 75% 2020-05-22 16:22:20 +05:30
vicky_primathon.in
627eea093f merge conflicts resolved 2020-05-22 16:16:24 +05:30
vicky_primathon.in
d793d3a46e handled autocompletion after setting auto dynamic field's value 2020-05-22 16:13:32 +05:30
vicky_primathon.in
ab4692253b displaying only widget names and not widget props in lighning menu 2020-05-22 15:59:08 +05:30
Trisha Anand
0c9c95bc9a Fixed the findAll repository function which was leading to get all actions via application id to throw an internal server error. 2020-05-22 15:56:09 +05:30
Abhinav Jha
3ef6edf282 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/lightning-menu 2020-05-22 15:50:10 +05:30
Abhinav Jha
f12816e4c8 Remove lightning menu from url field 2020-05-22 15:46:53 +05:30
Arpit Mohan
454932268a Changing the backend API endpoint on this branch because this is endpoint is what local builds & test cases hit 2020-05-22 14:57:46 +05:30
vicky_primathon.in
dbfa9a2690 Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-05-22 13:33:37 +05:30
vicky_primathon.in
91ebce308a Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/lightning-menu 2020-05-22 13:31:50 +05:30
vicky_primathon.in
377075baa2 cursor positioning fixed 2020-05-22 12:59:15 +05:30
vicky_primathon.in
3e7e50df7f action sub leveling for alert and modal action 2020-05-22 12:37:20 +05:30
Abhinav Jha
c9a0615b4b Add meta props to widget property list. Fix api form submit on lightning toggle issue. 2020-05-22 12:28:47 +05:30
Arpit Mohan
bffee69497 Removing unused variables from the codebase 2020-05-22 06:29:26 +00:00
vicky_primathon.in
11c97404cb Merge branch 'feature/lightning-menu' of gitlab.com:theappsmith/internal-tools-client into feature/widget-actions-menu 2020-05-22 11:11:29 +05:30
vicky_primathon.in
cdadcd31fa merge conflicts resolved 2020-05-22 10:59:54 +05:30
vicky_primathon.in
bc448a5e21 widget actions ui modified 2020-05-22 10:45:41 +05:30
Rashmi P
0552f6dd8c Added test to create & delete a page 2020-05-22 04:36:04 +00:00
Arpit Mohan
97f2e65222 Merge branch 'feature/requestDetailsTabs' into 'release'
Add extra tabs in the API pane for requestHeaders and requestBody

See merge request theappsmith/internal-tools-client!601
2020-05-22 03:43:01 +00:00
Akash N
1850b8f6b3 Bug fixes
- Show request body instead of request headers
- Get httpMethod directly.
- Add padding at the right for tabs
2020-05-22 03:43:01 +00:00
Satbir Singh
834d9c8e7b Disabling mixpanel logs on automation by adding "Automation" environment 2020-05-22 03:06:39 +00:00
Trisha Anand
d98fce3d09 WIP: adding helper functions for adding/removing roles from an organization. Adding role updates the organization right now. Removing role -> added a helper.
TODO : finish the above code flows + cascade these to the children objects of the organization -> Applications/Pages/Actions.
2020-05-21 15:05:43 +00:00
vicky_primathon.in
9986a215c2 cursor positioned 2020-05-21 19:36:17 +05:30
Aditya Acharya
9f02eb42e4 Add/publish button 2020-05-21 09:45:48 +00:00
Satbir Singh
2aa6a91826 Same locators for widgets in publish and edit view 2020-05-21 11:45:12 +05:30
Satbir Singh
034d9616e1 Added locators for pagination and post body. 2020-05-21 10:22:24 +05:30
vicky_primathon.in
ee3d13e7bd hide lightnining menu option 2020-05-21 09:52:57 +05:30
Nandan H A
6a1e942680 Feature/api action tests
added below tests
* API verb tests added ( POST /PUT/PATCH)
* Query param tests (This is also includes invalid and valid)
* Edit APIs( update of api name and api datasource as well)
* mustache API test
* Market Place API test
* Curl POST test
2020-05-20 16:04:37 +00:00
vicky_primathon.in
69e2de1d38 lightning menu moved to dynamic auto complete 2020-05-20 21:14:52 +05:30
Tejaaswini Narendra
0c9ad77cc0 Query pane fixes
- Show mongo execute response in seperate cards for each record
- Update postgres read template
- Show query execute error message in the UI.
2020-05-20 14:09:51 +00:00
Satbir Singh
c663c67670 Merge branch 'fix/on-select' into 'release'
Fixed multiple onSuccess in action selector

See merge request theappsmith/internal-tools-client!613
2020-05-20 12:08:54 +00:00
Abhinav Jha
fc06804214 Merge branch 'fix/map-icons' into 'release'
pick my location icon changed with state

Pick my location in map widget is updated based on click state.

See merge request theappsmith/internal-tools-client!598
2020-05-20 11:57:02 +00:00
Vicky Bansal
849fdd61f4 pick my location icon changed with state 2020-05-20 11:57:02 +00:00
Hetu Nandu
010b48d7fa Tern autocomplete 2020-05-20 11:30:53 +00:00
Shrikant Kandula
7037d99cfa Use sequences for numbering new datasources. 2020-05-20 11:21:32 +00:00
Rashmi P
50515a8ef5 Merge branch 'add/Create-Delete-test' into 'release'
Added Create Delete App test

See merge request theappsmith/internal-tools-client!611
2020-05-20 11:04:40 +00:00
Rashmi P
345fcdea21 Added Create Delete App test 2020-05-20 11:04:39 +00:00
Aditya Acharya
4adad3aecc Fixing the issue where the code mirror textArea wasn't getting cleared.
Also adding more test cases to bind table selected row values to other UI widgets.
2020-05-20 10:07:53 +00:00
vicky_primathon.in
acd18bafd5 widget properties added for selection in lightning menu 2020-05-20 14:47:51 +05:30
vicky_primathon.in
c7d06d8218 options added to lighning menu 2020-05-20 10:26:46 +05:30
vicky_primathon.in
71674119e3 dropdown style fixes 2020-05-20 09:45:19 +05:30
vicky_primathon.in
c6a883d965 light and dark theme added in dropdown component 2020-05-19 22:54:38 +05:30
Trisha Anand
e95b680169 create application now expects organization id. Fixed the test cases which broke because of this basic change in the way applications are created. 2020-05-19 17:09:51 +00:00
Shrikant Kandula
b13a7a5df3 Fix incorrect call to updatedAt. 2020-05-19 19:25:32 +05:30
Shrikant Kandula
329587f5ff Fix NPE when using datasources without updatedAt. 2020-05-19 13:48:58 +00:00
vicky_primathon.in
77a94695f0 textarea ref as input 2020-05-19 16:57:42 +05:30
Satbir Singh
bdb8c6a9a5 Fixed multiple onSuccess in action selector 2020-05-19 15:39:15 +05:30
Satbir Singh
5d3c6a642c Fixing create new api from action selector. 2020-05-19 14:28:22 +05:30
Akash N
b00e1fd5e5 Datasource bug fixes
- Fix search in datasource sidebar
- Minimum of 1 row in KEY_VAL_ARRAY and KEY_VAL_INPUT fields
- Fix collapse icon
- Datasource form title improvements
2020-05-19 07:03:11 +00:00
vicky_primathon.in
eb0b4b918d passing ref to dynamic auto complete 2020-05-19 12:23:37 +05:30
Aditya Acharya
6c8ced943d Merge branch 'feature/Logout' into 'release'
Feature/logout

See merge request theappsmith/internal-tools-client!605
2020-05-19 06:13:15 +00:00
Aditya Acharya
16e4262123 Feature/logout 2020-05-19 06:13:15 +00:00
Arpit Mohan
7e173fc2a7 Merge branch 'feature/datasourcesDraft' into 'release'
Feature/datasources draft

Add drafts for the datasource pane.

See merge request theappsmith/internal-tools-client!600
2020-05-19 06:10:59 +00:00
Akash N
2630eaa4ca Feature/datasources draft 2020-05-19 06:10:59 +00:00
Arpit Mohan
ac7e6cc8ee Ensuring the Nginx configurations work for yarn tests and for local development as well
Had to remove the upstream configuration as that was causing Nginx not to be able to perform SSL handshake with Heroku environment.
2020-05-19 10:36:41 +05:30
Arpit Mohan
14c1778645 Merge branch 'bug/curl-auto-add-protocol' into 'release'
Automatically add protocol to URL provided to cURL command.

Notion ref: <https://www.notion.so/appsmith/CURL-import-for-incomplete-but-valid-URLs-like-www-google-com-leads-to-the-URL-not-getting-read-Th-9191456cb1b24cd68b92072c1a6f3ab6>.

See merge request theappsmith/internal-tools-server!343
2020-05-19 04:23:59 +00:00
Shrikant Kandula
db0532941d Automatically add protocol to URL provided to cURL command. 2020-05-19 04:23:58 +00:00
Arpit Mohan
63414f98d5 Adding custom headers to redirect rules in netlify.toml.
This is required for the backend servers to process the OAuth2 login properly
2020-05-19 09:44:19 +05:30
Arpit Mohan
bacf594620 Adding proxy x-forwarded-* headers to all the forwarded requests in Nginx
Also adding an upstream block to make it easier to switch from release -> local environments.
2020-05-19 09:40:01 +05:30
Arpit Mohan
85ea6563db Merge branch 'hotfix/server-use-forward-headers' into 'release'
Adding the ForwardedHeaderTransform bean to enable spring to parse...

Adding the ForwardedHeaderTransform bean to enable spring to parse X-Forwarded-* headers from Nginx proxy

See merge request theappsmith/internal-tools-server!344
2020-05-19 03:56:40 +00:00
Arpit Mohan
158f5c8203 Adding the ForwardedHeaderTransform bean to enable spring to parse X-Forwarded-* headers from Nginx proxy 2020-05-19 09:22:33 +05:30
Arpit Mohan
a49e8269aa Reversing the proxy changes to netlify.toml and nginx config files
This is not working in Heroku environment.

Note to self: Debug on local properly before pushing.
2020-05-18 19:22:16 +05:30
Shrikant Kandula
bffd68b1a9 Merge branch 'bug/postgres-empty-result' into 'release'
Don't fail after executing a non-SELECT query on Postgres.

See merge request theappsmith/internal-tools-server!341
2020-05-18 13:42:24 +00:00
Arpit Mohan
c3734235a5 Correcting the APP_HOST to hostname instead of URL 2020-05-18 17:55:24 +05:30
Arpit Mohan
48f1a66bcb Adding the Host header to the netlify.toml file for each environment.
This ensures that when we proxy the request to the backend API, the API is able to redirect properly for Google & Github OAuth2 providers.
2020-05-18 17:45:23 +05:30
Shrikant Kandula
c4d3d535a1 Rename isExecuteOnLoad to executeOnLoad.
The `is` prefix apparently makes Spring unhappy.
2020-05-18 12:13:54 +00:00
Nikhil Nandagopal
b32ef1b62f minor tweaks 2020-05-18 16:35:57 +05:30
Abhinav Jha
0fec4b765d Add onSelect prop to lightning menu 2020-05-18 14:07:58 +05:30
Hetu Nandu
e258e2cd00 add new pane feature flags in prod config 2020-05-18 13:47:19 +05:30
Abhinav Jha
f529de8d1e Add lightning menu items 2020-05-18 12:17:45 +05:30
rashminagarajp
02eb352258 fixed file name 2020-05-18 11:51:24 +05:30
rashminagarajp
f46e30a4e1 resolved json conflict 2020-05-18 11:26:27 +05:30
rashminagarajp
56414e3d2c resolved conflicts 2020-05-18 11:04:49 +05:30
rashminagarajp
261ac07367 fixed date picker issue 2020-05-18 09:58:41 +05:30
Arpit Mohan
a54a68832b Merge branch 'newTest/create' into 'release'
Adding UI binding test cases for widgets

See merge request theappsmith/internal-tools-client!592
2020-05-16 07:28:13 +00:00
Aditya Acharya
3286b7f808 Adding UI binding test cases for widgets 2020-05-16 07:28:13 +00:00
Arpit Mohan
be113dd069 Merge branch 'fix/queryPane' into 'release'
Fix/query pane

- Show mongo execute response in seperate cards for each record
- Update postgres read template
- Show query execute error message in the UI.

See merge request theappsmith/internal-tools-client!595
2020-05-16 07:22:25 +00:00
rashminagarajp
3a506e133c comments ressolved 2020-05-15 18:15:08 +05:30
Shrikant Kandula
c18c344f4b Don't fail after executing a non-SELECT query on Postgres. 2020-05-15 18:13:36 +05:30
rashminagarajp
31ca946199 ressolved comments 2020-05-15 17:50:09 +05:30
Shrikant Kandula
180002a984 Handle errors when destroying stale connections.
This happens when the stale connection is an invalid connection object,
like when if it's created with invalid credentials etc.
2020-05-15 03:26:35 +00:00
Rashmi P
0928af03b0 separated the tests in Bind_tableApi_spec.js 2020-05-14 16:06:47 +00:00
Rashmi P
f674c1db1b changed the table dsl tableWidgetDsl.json 2020-05-14 14:26:52 +00:00
vicky_primathon.in
8b90cbd577 app crashing on date clear issue fix 2020-05-14 19:30:22 +05:30
Akash N
5db021d8d3 Merge branch 'release' of https://gitlab.com/theappsmith/internal-tools-client into fix/queryPane 2020-05-14 18:11:35 +05:30
Akash N
6bd79982fb Query pane fixes
- Show mongo execute response in seperate cards for each record
- Update postgres read template
- Show query execute error message in the UI.
2020-05-14 18:03:44 +05:30
Rashmi P
c8ec8c9032 debug Bind_tableApi_spec.js 2020-05-14 12:20:12 +00:00
Trisha Anand
ad07c8bd6f Merge branch 'feat/acl-frontend' into 'feature/acl'
feat: Use mock response to display org and applications

See merge request theappsmith/internal-tools-client!594
2020-05-14 11:58:30 +00:00
Trisha Anand
a4da0142e3 Merge branch 'release' into feature/acl 2020-05-14 17:04:26 +05:30
Rashmi P
d5a24cd03c Replaced create api fun commands.js 2020-05-14 11:02:41 +00:00
Tejaaswini
9cd134d623 feat: Use mock response to display org and applications 2020-05-14 16:17:13 +05:30
Rashmi P
41752ed879 Fixed clean up in DatePicker_spec.js 2020-05-14 10:15:09 +00:00
Arpit Mohan
4fa254a449 Adding error log message whenever an action execution fails because of invalid datasource 2020-05-14 15:26:05 +05:30
rashminagarajp
8e3c16f3e5 Added Table with Api Bind test case 2020-05-14 14:46:39 +05:30
Arpit Mohan
d4a8352799 Merge branch 'fix/queryDropdown' into 'release'
Fix create datasource button in query dropdown

See merge request theappsmith/internal-tools-client!583
2020-05-14 07:27:00 +00:00
Akash N
1c34a5dfb4 Fix create datasource button in query dropdown 2020-05-14 07:27:00 +00:00
Arpit Mohan
8b0ec391eb Merge branch 'hotfix/deploy-preview-netlify' into 'release'
Adding the environment variables for the deploy-preview environments.

See merge request theappsmith/internal-tools-client!591
2020-05-14 07:12:08 +00:00
Arpit Mohan
24af3dbfc3 Adding the environment variables for the deploy-preview environments. 2020-05-14 12:13:32 +05:30
Hetu Nandu
859abb0443 Action execution success is determined by "data.isExecutionSuccess" field 2020-05-14 06:33:23 +00:00
Abhinav Jha
ea34a65049 Merge branch 'fix/close-propertypane-onblur' into 'release'
Property pane toggle scenario

- Close property pane when clicking outside the property pane. 
- Select widget when toggling open the property pane.

See merge request theappsmith/internal-tools-client!588
2020-05-14 06:13:44 +00:00
Abhinav Jha
b3214151e0 Merge branch 'feature/back-to-editor-button' into 'release'
Back to editor button

- Show grid when starting to drag a widget on an empty canvas.
- Show placeholder on an empty canvas
- Add "Back to editor" button on appviewer's header
- Show empty page placeholder in app viewer.

See merge request theappsmith/internal-tools-client!589
2020-05-14 06:06:20 +00:00
Abhinav Jha
e617957ce8 Back to editor button 2020-05-14 06:06:20 +00:00
rashminagarajp
052cf49d86 Changed the End points related to https://dev.appsmith.com 2020-05-14 10:40:36 +05:30
Arpit Mohan
a2086ff61b Fixing minor issue with gitlab-ci.yml file that wasn't packaging the Docker image because of runner tag 2020-05-14 08:54:45 +05:30
Arpit Mohan
a9580effa7 Using the last value of duplicate headers as that is the behaviour displayed by webclient and other clients as well. 2020-05-14 08:49:06 +05:30
Arpit Mohan
71d8812feb Fixing bug where duplicate headers were being set in the action execution result
Also removing empty headers from being sent to the action
2020-05-14 08:11:24 +05:30
Arpit Mohan
fb9e9fbf4c Request body and header in Action Execution Response 2020-05-14 02:08:46 +00:00
Sunil KS
9dda30f729 fix: content-type case check
- do a toLowerCase() before running a check for "content-type" in headers
- truncate api endpoint for provider templates
2020-05-13 18:20:53 +00:00
Trisha Anand
5829a92998 Merge branch 'release' into feature/acl-spring-object
# Conflicts:
#	appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java
2020-05-13 23:37:31 +05:30
Trisha Anand
9a8bf9dc89 In case the user is not signed in, return a 401 so that the user can be redirected to login by the frontend. 2020-05-13 18:00:03 +00:00
Abhinav Jha
591a5d3eff Close property pane when clicking outside the property pane. Select widget when toggling open the property pane. 2020-05-13 19:58:27 +05:30
Abhinav Jha
e326f0d870 Fix WS/WSS failure during development. 2020-05-13 19:38:39 +05:30
Arpit Mohan
9f2267ed68 Moving all redirect configuration to the netlify.toml file
This is to ensure that all Netlify redirects are in a single location and and removing _redirects file. This file was creating a problem between the proxy redirects and the catch-all redirect to index.html
2020-05-13 02:13:22 +05:30
Arpit Mohan
aefcf68c80 Adding the docker image for Cypress + Nginx container.
Also modifying the Gitlab CI to use local Nginx for proxying to API backend while running Cypress tests.
2020-05-12 19:59:36 +00:00
Hetu Nandu
d19f86ffee Untitled datasources are named by the server 2020-05-12 15:14:29 +00:00
Nandan H A
c9ae4297d6 MR contains basically tests related to API pane
1.Basic API with header
2.Copy to home
3.Move to home
4.Delete API
5.Check API name uniquness
6.Search API on side bar
2020-05-12 13:47:13 +00:00
Shrikant Kandula
9c48f42990 Rename ActionExecutionResult.shouldCacheResponse -> isExecutionSuccess. 2020-05-12 18:25:49 +05:30
Arpit Mohan
d2d0805146 Merge branch 'feat/use-unique-name-on-post-datasource' into 'release'
Automatically use a unique name for creating datasources without name.

In the request from frontend for datasource creation, if the data
doesn't have a `name` value, we now set it to an automatically numbered
value and save with that.

See merge request theappsmith/internal-tools-server!333
2020-05-12 12:23:23 +00:00
Rashmi P
a83b62ea22 Fixed time Issue on date picker 2020-05-12 10:46:00 +00:00
Shrikant Kandula
b65690ec74 Automatically use a unique name for creating datasources without name.
In the request from frontend for datasource creation, if the data
doesn't have a `name` value, we now set it to an automatically numbered
value and save with that.
2020-05-12 16:05:29 +05:30
Rashmi P
76d65761f2 Formatted the json 2020-05-12 09:55:59 +00:00
Nikhil Nandagopal
5dad85ff3e Update form.json 2020-05-12 09:48:56 +00:00
Akash N
c8ad80d414 Delete datasource after the query pane test is complete. 2020-05-12 08:10:38 +00:00
Trisha Anand
c19471ad96 Removing testing step from ci/cd pipeline for the branch feature/acl. 2020-05-12 13:32:28 +05:30
Trisha Anand
82710edbc9 Fixed the package step to run on feature/acl branch only for acl 2020-05-12 13:04:09 +05:30
Trisha Anand
aafee640bd Added CI instructions for special build and tagging of the ACL branch. 2020-05-12 13:01:29 +05:30
rashminagarajp
987d2342b0 replaced Delete Application through UI by API 2020-05-12 10:05:21 +05:30
Arpit Mohan
f4d79ae25b Merge branch 'bug/curl-error-reporting' into 'release'
Report error when cURL command is invalid.

See merge request theappsmith/internal-tools-server!327
2020-05-12 04:12:55 +00:00
Shrikant Kandula
7f4d32e7d4 Report error when cURL command is invalid. 2020-05-12 04:12:55 +00:00
Trisha Anand
963a3388c3 In CI, buidling and packaging ACL branch with a new tag for the deployment. 2020-05-11 21:15:19 +05:30
Satbir Singh
14f287cb5e Removed textAlignemnt from form widget. 2020-05-11 19:52:47 +05:30
Satbir Singh
5a06911b2f Adding aligment property to TextWidget 2020-05-11 19:49:58 +05:30
Nikhil Nandagopal
1fdc96ccc6 tweaked image 2020-05-11 16:59:17 +05:30
Nikhil Nandagopal
8c08ea9257 updated default image 2020-05-11 16:58:07 +05:30
Nikhil Nandagopal
cc1ce1bba7 removed label 2020-05-11 16:30:53 +05:30
Nikhil Nandagopal
eade785bed minor text fixes
removed labels
2020-05-11 16:30:31 +05:30
rashminagarajp
a1f6b62d26 seperated after block and update replaced session_id to SESSION 2020-05-11 16:08:49 +05:30
rashminagarajp
b1a5fe41aa formatted the example.json 2020-05-11 15:40:40 +05:30
Hetu Nandu
c2f730edb1 feat: dynamic post body in api form
- add info icon
- display helper text and placeholders dynamically
2020-05-11 09:03:46 +00:00
Shrikant Kandula
f3e448019d Auth mechanism is not added to URI in the MongoPlugin. Fixed now. 2020-05-11 12:16:09 +05:30
Rashmi P
c7cc13c50c Formatted the example.json 2020-05-11 05:15:26 +00:00
Nikhil Nandagopal
7dbe243d45 updated widget config 2020-05-09 12:25:20 +05:30
Trisha Anand
6cdab92bbe Merge branch 'feature/acl-action-inheritance' into 'feature/acl-spring-object'
Action Permission Inheritance during create.

See merge request theappsmith/internal-tools-server!329
2020-05-08 15:39:36 +00:00
Trisha Anand
b7435e546f Added action inheritance for permissions during create. No update permissions for action added. Fixed the existing test cases to run with the new code.
TODO : Add test cases for action permissions.
2020-05-08 15:39:36 +00:00
Trisha Anand
02de2ea1f6 Removing Arn because its not being used anymore. 2020-05-08 21:08:16 +05:30
Abhinav Jha
0bf035e927 Stop showing property pane on click 2020-05-08 15:31:36 +00:00
Trisha Anand
f7bb87824c Merge branch 'release' into feature/acl-spring-object
# Conflicts:
#	appsmith-server/src/main/java/com/appsmith/server/domains/User.java
2020-05-08 20:57:51 +05:30
Hetu Nandu
ff2f32290f Fix content type switching to raw when custom 2020-05-08 12:54:27 +00:00
Rashmi P
16c10daaa8 Merge branch 'release' into 'add/Smoke-test-cases'
# Conflicts:
#   cypress/support/commands.js
2020-05-08 11:12:49 +00:00
Trisha Anand
d7637355fe Create Page always sets the inherited policies from the application. Update Application policy remains to be done. Leaving it as a TODO for now. 2020-05-08 16:32:46 +05:30
Rashmi P
f4c17f7423 Update RichTextEditor_spec.js 2020-05-08 10:38:35 +00:00
Rashmi P
8d4a223dd5 Merge branch 'fix/Create_Application' into 'release'
Update commands.js

See merge request theappsmith/internal-tools-client!564
2020-05-08 10:00:18 +00:00
Rashmi P
1527067fac Update commands.js 2020-05-08 09:26:03 +00:00
rashminagarajp
895acb3681 added someke test cases 2020-05-08 14:31:11 +05:30
Rashmi P
1d8239439e Update Mapdsl.json 2020-05-08 06:38:43 +00:00
Shrikant Kandula
ffc4379a4d Migration to install existing default plugins to existing organizations. 2020-05-08 11:46:13 +05:30
Hetu Nandu
3c9a9afce2 Merge branch 'fix/temp-autocomplete-fix' into 'release'
Fix opening and closing of autocomplete

See merge request theappsmith/internal-tools-client!567
2020-05-08 06:05:03 +00:00
Hetu Nandu
4c5302158f Fix opening and closing of autocomplete 2020-05-08 06:05:03 +00:00
Hetu Nandu
20abff30d4 Merge branch 'test/datasources' into 'release'
Tests for datasource pane

See merge request theappsmith/internal-tools-client!559
2020-05-08 05:40:14 +00:00
Hetu Nandu
00bcaf2022 Tests for datasource pane 2020-05-08 05:40:14 +00:00
Vicky Bansal
651a346143 Fix/map hotfix 2020-05-08 04:02:28 +00:00
Shrikant Kandula
7673ee49eb Merge branch 'chore/remove-index-annotations' into 'release'
Remove index annotations as they don't accurately reflect actual indexes

See merge request theappsmith/internal-tools-server!322
2020-05-08 01:58:43 +00:00
Shrikant Kandula
b8de4ef659 Remove index annotations as they don't accurately reflect actual indexes 2020-05-08 01:58:43 +00:00
Shrikant Kandula
2e9a94341b Guard against NPE when action is null due to cURL command being invalid. 2020-05-08 01:22:02 +00:00