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
Shrikant Kandula
9c48f42990
Rename ActionExecutionResult.shouldCacheResponse -> isExecutionSuccess.
2020-05-12 18:25:49 +05:30
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
Shrikant Kandula
7f4d32e7d4
Report error when cURL command is invalid.
2020-05-12 04:12:55 +00:00
Shrikant Kandula
ffc4379a4d
Migration to install existing default plugins to existing organizations.
2020-05-08 11:46:13 +05:30
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
Trisha Anand
485eb29e03
Added timeout in DslActionDTO which is used to represent actions inside a layout and in turn is used for page load action execution.
2020-05-07 15:06:16 +05:30
Shrikant Kandula
f7f03c5ad7
Add delete:datasources permission to all existing groups.
2020-05-05 13:52:03 +05:30
Shrikant Kandula
fc1b73773e
More readable plugin names.
2020-04-29 11:49:06 +00:00
Shrikant Kandula
7dfa1bd8ca
Add deletedAt field into the unique index of datasources and pages.
2020-04-29 16:16:09 +05:30
Trisha Anand
89f179397f
Create action with template id was leading to mock response. Removing this to allow for copy of actions which have been created using 3p API
2020-04-29 10:19:01 +00:00
Shrikant Kandula
079e185ed2
Add allowUserDatasources to plugins to hide from create datasource UI.
2020-04-28 12:44:56 +00:00
Trisha Anand
219a594a4c
URL decoding the name before searching for it.
2020-04-28 16:31:19 +05:30
Shrikant Kandula
b092692922
Merge branch 'bug/npe-if-opa-not-ready' into 'release'
...
Fix NPE when accessing services before OPA is ready.
See merge request theappsmith/internal-tools-server!300
2020-04-28 09:22:05 +00:00
Shrikant Kandula
6fd23f38b8
Merge branch 'bug/curl-parser' into 'release'
...
Fix cURL import bugs with new cURL command parser
See merge request theappsmith/internal-tools-server!306
2020-04-28 09:09:03 +00:00
Shrikant Kandula
1dbb98e1e8
Fix cURL import bugs with new cURL command parser
2020-04-28 09:09:03 +00:00
Shrikant Kandula
2adad6b3b5
Merge branch 'bug/spread-operator-in-mustache-templates' into 'release'
...
Fix page-load action not being picked up when using the spread operator.
See merge request theappsmith/internal-tools-server!299
2020-04-27 08:11:22 +00:00
Shrikant Kandula
ce930181cd
Fix page-load action not being picked up when using the spread operator.
2020-04-27 08:11:21 +00:00
Shrikant Kandula
d0e47ea2ea
Merge branch 'feat/delete-datasources-api' into 'release'
...
Add delete service operation for datasources.
See merge request theappsmith/internal-tools-server!305
2020-04-27 08:01:16 +00:00
Shrikant Kandula
090e00ee13
Add delete service operation for datasources.
2020-04-27 08:01:16 +00:00
Shrikant Kandula
16f2df38f1
Merge branch 'bug/npe-in-appsmith-exception' into 'release'
...
Fix potential NPE in AppsmithException. Also removed unused methods.
See merge request theappsmith/internal-tools-server!298
2020-04-27 07:51:18 +00:00
Shrikant Kandula
a96b1005ff
Fix potential NPE in AppsmithException. Also removed unused methods.
2020-04-27 07:51:18 +00:00
Trisha Anand
6ee1a58a9a
Added endpoint in marketplace to fetch provider by id if required
2020-04-23 19:02:14 +05:30
Shrikant Kandula
a8842e962b
Fix NPE when accessing services before OPA is ready.
2020-04-22 08:41:40 +05:30
Trisha Anand
3148dec921
Search endpoint is now implemented with mock response deleted. It currently does exact name searches in providers by hitting the marketplace service.
2020-04-21 12:42:11 +00:00
Shrikant Kandula
58c0f94508
Add form config JSONs for individual plugins and an API for GETting them.
2020-04-21 17:42:14 +05:30
Shrikant Kandula
02a384698b
Merge branch 'bug/missing-response-meta-in-test-api' into 'release'
...
Fix missing `responseMeta` in response for /datasources/test endpoint.
See merge request theappsmith/internal-tools-server!291
2020-04-20 12:40:42 +00:00
Shrikant Kandula
94b166b3cb
Fix missing responseMeta in response for /datasources/test endpoint.
2020-04-20 17:40:42 +05:30
Trisha Anand
1e000c295f
In case the children tag exists in the DSL but is empty, we shouldnt try to extract widget names in that scenario.
2020-04-20 13:58:25 +05:30
Shrikant Kandula
e0add48bd6
Fix mustache parsing fail when keys have double-quotes or backslashes.
2020-04-17 19:26:42 +05:30
Shrikant Kandula
65d4c0e3e5
Fix NPE when invalids in Datasource is not initialized yet.
2020-04-17 13:17:05 +05:30
Shrikant Kandula
08b7f51d5d
Datasource API cleanup and better error reporting
2020-04-17 07:27:56 +00:00
Trisha Anand
133eaa7475
Setting the organization id in case of missing plugin. This was being skipped over earlier.
2020-04-16 22:19:35 +05:30
Shrikant Kandula
6d5a1b9dd1
Fix mustache key parsing failing due to escaping in JSON serialization.
2020-04-15 10:24:12 +00:00
Shrikant Kandula
2dbf9d1c6b
Test API for data sources
2020-04-15 10:02:09 +00:00
Trisha Anand
684edfe406
Because of db migrations, the older provider ids saved in actions are no longer available. This leads to api pane not loading. Removing the error to return an empty provider so that the api pane can be loaded.
2020-04-14 14:18:04 +05:30
Trisha Anand
03b8de3300
If an action is being created from 3P template, since the marketplace service has been migrated, hit the marketplace server to fetch provider instead of local ProviderService.
2020-04-13 23:08:12 +05:30
Trisha Anand
b64ae7ee5c
First cut of code changes for update action where after the action is saved, the page layout is updated.
2020-04-13 08:57:57 +00:00
Trisha Anand
3692b4fa3e
Stupid coding error of using OR instead of AND.
...
Also Mono.zipping the update Action and update Layout instead of this.then because in some optimization done by Spring, one mono doesnt end up emitting.
2020-04-13 08:49:30 +00:00
Trisha Anand
a82070648a
Slug should be set by the application instead of insisting on the slug being present in the organization object. Added to the create valid organization test case to assert that the slug must exist.
2020-04-11 17:18:02 +05:30
Shrikant Kandula
abd9235360
Richer plugin validations
2020-04-10 09:59:50 +00:00
Shrikant Kandula
edf4043430
Merge branch 'bug/datasource-enum-mismatches' into 'release'
...
Fix Datasource data structure to be inline with UI
See merge request theappsmith/internal-tools-server!268
2020-04-08 12:32:57 +00:00
Shrikant Kandula
1b75be0fe3
Fix Datasource data structure to be inline with UI
2020-04-08 12:32:56 +00:00
Shrikant Kandula
06dd5fccae
Merge branch 'bug/duplicate-key-error-on-app-name' into 'release'
...
Fix: Duplicate key error when reusing the name of a deleted application
See merge request theappsmith/internal-tools-server!264
2020-04-08 12:09:41 +00:00
Shrikant Kandula
0ad15b4cb6
Fix: Duplicate key error when reusing the name of a deleted application
2020-04-08 12:09:41 +00:00
Shrikant Kandula
c8dee3f279
Add Spring application property to enable/disable Rollbar.
...
It is enabled by default.
2020-04-08 11:23:28 +00:00