Commit Graph

842 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Nikhil Nandagopal
b32ef1b62f minor tweaks 2020-05-18 16:35:57 +05:30
Hetu Nandu
e258e2cd00 add new pane feature flags in prod config 2020-05-18 13:47:19 +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
rashminagarajp
31ca946199 ressolved comments 2020-05-15 17:50:09 +05:30
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
Rashmi P
d5a24cd03c Replaced create api fun commands.js 2020-05-14 11:02:41 +00:00
Rashmi P
41752ed879 Fixed clean up in DatePicker_spec.js 2020-05-14 10:15:09 +00:00
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
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
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
Rashmi P
a83b62ea22 Fixed time Issue on date picker 2020-05-12 10:46:00 +00:00
Rashmi P
76d65761f2 Formatted the json 2020-05-12 09:55:59 +00:00
Akash N
c8ad80d414 Delete datasource after the query pane test is complete. 2020-05-12 08:10:38 +00:00
rashminagarajp
987d2342b0 replaced Delete Application through UI by API 2020-05-12 10:05:21 +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
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
Abhinav Jha
0bf035e927 Stop showing property pane on click 2020-05-08 15:31:36 +00:00
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
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
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
Rashmi P
f284def4be Update commands.js 2020-05-07 15:09:17 +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
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