Commit Graph

1107 Commits

Author SHA1 Message Date
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
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
b94d3e3be8 Merge branch 'fix/content-type-case-check' into 'release'
fix: content-type case check

- do a toLowerCase() before running a check for "content-type" in headers
- truncate api endpoint for provider templates

See merge request theappsmith/internal-tools-client!571
2020-05-13 18:20:53 +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
Arpit Mohan
b225ca52f8 Merge branch 'fix/dev-hot-reload' into 'release'
Fix WS/WSS connection failure during development.

- With nginx not forwarding web socket connections, local webpack hot reloading was failing. Added nginx configurations to fix this.

See merge request theappsmith/internal-tools-client!587
2020-05-13 16:13:13 +00:00
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
c432126db0 Merge branch 'feature/deploy-preview' into 'release'
Adding the nginx config for proxying deploy-previews on appsmith.com domain

This MR fixes changes the following: 
1. Cypress tests are now parallelized. Each run is recorded on `https://dashboard.cypress.io` and there are parallel threads spun up in the test phase via `.gitlab-ci.yml`. This cuts the test time down to 16 mins instead of 1 hour. On local systems, the parallelization is turned off.
2. Added nginx configuration for proxying API calls during deploy-previews. Will make reviewing features and code much easier. 
Now, there is no need of the `REACT_APP_BASE_URL` field in the `index.js` file. By default all deployments will initiate API calls via `https://<url>/api`. These calls will be proxied by Nginx in non-Netlify scenarios. For deploy previews, you can now visit: `https://<#MR>.appsmith.com` and it should load the code in that branch.
3. For Netlify deployments, made changes to the `netlify.toml` file to redirect the `/api` invocations to the appropriate endpoint. Also modified the build command in "Deploy Settings" in the Netlify console. Check that for details.
4. Now in order to run test cases locally, you will require Nginx & https to work. Check `start-https.sh` for details.
5. Added Docker tags to all master builds which allow us to revert back to previous images in production (if required)

See merge request theappsmith/internal-tools-client!521
2020-05-12 19:59:36 +00:00
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
8ca4683de7 Merge branch 'feature/dont-send-untitled-ds-name' into 'release'
Untitled datasources are named by the server

See merge request theappsmith/internal-tools-client!581
2020-05-12 15:14:29 +00:00
Hetu Nandu
d19f86ffee Untitled datasources are named by the server 2020-05-12 15:14:29 +00:00
Nandan H A
1c094be437 Merge branch 'feature/API_Pane_tests' into 'release'
Feature/api pane tests

The MR contains the following tests for API Pane.

1.Basic API test with header
2.Search test
3.Copy to Home
4.Move to home
5.Delete API
6.Check API name uniqness

See merge request theappsmith/internal-tools-client!566
2020-05-12 13:47:13 +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
Arpit Mohan
bc563e5f07 Merge branch 'test/deleteDatasource' into 'release'
Test/delete datasource

Delete datasource at the end of query flow

See merge request theappsmith/internal-tools-client!578
2020-05-12 08:10:38 +00:00
Akash N
c8ad80d414 Delete datasource after the query pane test is complete. 2020-05-12 08:10:38 +00:00
Nikhil Nandagopal
0a1b965d83 Merge branch 'feature/text-widget-align' into 'release'
Adding alignment property to TextWidget

See merge request theappsmith/internal-tools-client!577
2020-05-11 16:18:07 +00:00
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
Hetu Nandu
0bcb6c85f2 Merge branch 'test/queryActions' into 'release'
Tests for query actions

See merge request theappsmith/internal-tools-client!560
2020-05-11 09:03:46 +00:00
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
Nikhil Nandagopal
7dbe243d45 updated widget config 2020-05-09 12:25:20 +05:30
Abhinav Jha
882de368eb Merge branch 'feature/propertypane-toggle-ux' into 'release'
Stop showing property pane on click

- Property pane opens when you first drag and drop a new widget
- Property pane toggles via the top right "show props" toggle
- Property pane remembers its open/close state before and after a drag/resize. For example, if the property pane was open when the user started dragging the widget, the property pane will open again once the user stops dragging.

See merge request theappsmith/internal-tools-client!565
2020-05-08 15:31:36 +00:00
Abhinav Jha
0bf035e927 Stop showing property pane on click 2020-05-08 15:31:36 +00:00
Hetu Nandu
2893e09b64 Merge branch 'fix/custom-content-type-api' into 'release'
Fix content type switching to raw when custom

See merge request theappsmith/internal-tools-client!568
2020-05-08 12:54:27 +00:00
Hetu Nandu
ff2f32290f Fix content type switching to raw when custom 2020-05-08 12:54:27 +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
Rashmi P
1d8239439e Update Mapdsl.json 2020-05-08 06:38:43 +00:00
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
Abhinav Jha
9dea72c72b Merge branch 'fix/map-hotfix' into 'release'
Fix/map hotfix

See merge request theappsmith/internal-tools-client!563
2020-05-08 04:02:28 +00:00
Vicky Bansal
651a346143 Fix/map hotfix 2020-05-08 04:02:28 +00:00
Rashmi P
f284def4be Update commands.js 2020-05-07 15:09:17 +00:00
Hetu Nandu
081aa1bf8d Merge branch 'fix/runQuery' into 'release'
Create query action with an actionConfiguration object

See merge request theappsmith/internal-tools-client!561
2020-05-07 13:29:02 +00:00
Akash N
82c17a3bb8 Create query action with an actionConfiguration object 2020-05-07 18:01:29 +05:30
Hetu Nandu
2e7c569997 Revert "fix autocomplete visibility"
This reverts commit 0a33ed35a2827c490258a1bdd5e8fcdc0c03a83a.
2020-05-07 16:37:36 +05:30
Hetu Nandu
a191ec92f5 Merge branch 'fix/api-form-fixes' into 'release'
Api form fixes

See merge request theappsmith/internal-tools-client!557
2020-05-07 11:00:26 +00:00
Hetu Nandu
c38f839331 feat: add test case for executing blank api
- add test case for executing blank api by selecting the available datasource
2020-05-07 11:00:26 +00:00
Abhinav Jha
b0bad09d6e Merge branch 'fix/map-issues' into 'release'
Fix/map issues

Issues Fixed:
*  Pick my location 
*  Change lng to long across map widget
*  Selecting time was causing flicker inside pane configurations of date picker widget
*  Show chart title, and breakages in chart widget fixed
*  Marker in map can be dragged once it is selected
*  Only onCreateMarker action is called once a location is selected on map
*  Reordering tabs UI made smoother

See merge request theappsmith/internal-tools-client!526
2020-05-07 10:51:37 +00:00
Vicky Bansal
fc5f417923 Fix/map issues 2020-05-07 10:51:37 +00:00
Hetu Nandu
17f82fde72 Merge branch 'feature/rawDisplayFormat' into 'release'
Raw display format

See merge request theappsmith/internal-tools-client!558
2020-05-07 10:42:17 +00:00
Hetu Nandu
d33b7e955c Revert back the draft condition
- Initialise headers and query parameters while creating an api
- Do not push fields further on
2020-05-07 10:42:17 +00:00
Hetu Nandu
a3ddf1250a Merge branch 'fix/autocomplete-visibility' into 'release'
Fix autocomplete visibility

See merge request theappsmith/internal-tools-client!556
2020-05-07 08:53:51 +00:00
Hetu Nandu
fb588af78f Merge branch 'fix/createQueryError' into 'release'
Navigate to datasource pane when there are no valid datasources

See merge request theappsmith/internal-tools-client!555
2020-05-07 08:28:57 +00:00
Hetu Nandu
48a399eb72 fix autocomplete visibility 2020-05-07 13:48:54 +05:30
Hetu Nandu
dd65494ff4 Merge branch 'feat/api-pane-testing' into 'release'
Basic automated test cases for the API pane

See merge request theappsmith/internal-tools-client!549
2020-05-07 08:07:50 +00:00
Arpit Mohan
49e9cd7c33 feat: add test case for executing blank api
- add test case for executing blank api by selecting the available datasource
2020-05-07 08:07:50 +00:00
Hetu Nandu
42f99e766b Merge branch 'fix/api-timeouts' into 'release'
Api timeout changes

See merge request theappsmith/internal-tools-client!554
2020-05-07 08:07:29 +00:00