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
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
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
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
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
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
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