Trisha Anand
55a29c448c
Datasource without any configuration is not valid. Deter the user from creating one in such a scenario
2019-11-13 06:08:36 +00:00
Trisha Anand
0a80fe8d7f
Merge branch 'bug/api-names-without-space' into 'master'
...
Api name validation : Don't allow whitespace
Closes #76
See merge request theappsmith/internal-tools-server!66
2019-11-13 05:51:01 +00:00
Trisha Anand
df904539ca
Datasource instead of DatasourceId is expected as part of Action. During create and update action, datasource can also be created, which is automatically saved as part of datasource collection
2019-11-13 05:51:01 +00:00
Trisha Anand
923159e2cd
Merge branch 'bug/api-sort-by-name' into 'master'
...
Get all actions returns them in sorted order
Closes #74
See merge request theappsmith/internal-tools-server!68
2019-11-12 09:59:31 +00:00
Trisha Anand
41be720335
Get all actions returns them in sorted order
2019-11-12 09:59:29 +00:00
Trisha Anand
f1878d63ab
Merge branch 'feature/redis-session' into 'master'
...
Redis used for session persistence
See merge request theappsmith/internal-tools-server!67
2019-11-12 09:58:14 +00:00
Trisha Anand
cb4493dc2d
Datasource instead of DatasourceId is expected as part of Action. During create and update action, datasource can also be created, which is automatically saved as part of datasource collection
2019-11-12 09:58:14 +00:00
Trisha Anand
54fb13d332
Merge branch 'feature/action-resource-included' into 'master'
...
Adding datasource as part of action for create/update action, execute action
Closes #60
See merge request theappsmith/internal-tools-server!65
2019-11-12 09:15:09 +00:00
Trisha Anand
e6d9f1df88
Datasource instead of DatasourceId is expected as part of Action. During create and update action, datasource can also be created, which is automatically saved as part of datasource collection
2019-11-12 09:15:09 +00:00
Arpit Mohan
aac31235f6
Merge branch 'master' of gitlab.com:theappsmith/internal-tools-server
...
# Conflicts:
# appsmith-plugins/restApiPlugin/src/main/java/com/external/plugins/RestApiPlugin.java
# appsmith-server/src/main/java/com/appsmith/server/services/ResourceContextServiceImpl.java
2019-11-07 14:28:09 +05:30
Trisha Anand
83b30a2d36
Merge branch 'bug/rest-api-query-params' into 'master'
...
Query param handling has been added to Rest API plugin using URIComponentsBuilder
See merge request theappsmith/internal-tools-server!63
2019-11-06 12:30:56 +00:00
Trisha Anand
63c0f07708
Query param handling has been added to Rest API plugin using URIComponentsBuilder
2019-11-06 12:30:56 +00:00
Arpit Mohan
bcda3f0feb
Renaming all the references of resource to datasource
...
This renaming is reflective of the entity and it's potential values in the future.
2019-11-06 16:25:08 +05:30
Arpit Mohan
c283b1eddb
Merge branch 'hotfix/null-request-body' into 'master'
...
Handling null values in the request body
See merge request theappsmith/internal-tools-server!62
2019-11-05 12:25:09 +00:00
Arpit Mohan
a61b9ab325
Handling null values in the request body
2019-11-05 12:25:08 +00:00
Trisha Anand
12b4450eda
Merge branch 'bug/get-pages-application' into 'master'
...
Bug/get pages application
See merge request theappsmith/internal-tools-server!61
2019-11-05 11:49:52 +00:00
Trisha Anand
3c1b08d911
Page Controller now can return list of pages by application id and list of page names & ids by application id
2019-11-05 11:49:52 +00:00
Arpit Mohan
f75b94ed43
Merge branch 'bug/get-pages-application' into 'master'
...
Get Pages by application ID & Get Page names by application ID
See merge request theappsmith/internal-tools-server!60
2019-11-05 11:36:10 +00:00
Trisha Anand
3f968afac6
Page Controller now can return list of pages by application id and list of page names & ids by application id
2019-11-05 11:36:10 +00:00
Arpit Mohan
f493d8c3ae
Merge branch 'feature/datasource-resource-naming' into 'master'
...
Adding ACL bundle for datasources API
See merge request theappsmith/internal-tools-server!59
2019-11-05 11:09:08 +00:00
Arpit Mohan
0c0956ca46
Adding ACL bundle for datasources API
2019-11-05 16:36:09 +05:30
Arpit Mohan
29c7b7cc01
Merge branch 'feature/mustache-key-extraction' into 'master'
...
Extract mustache keys from action object
When an action is created, we extract the mustache keys from various parts of the action and save it in the field `jsonPathKeys`. This same thing also happens in the update flow.
Since mustache library doesn't have an extraction function, we use a regex template to extract those keys.
We also modify the data type of the `body` parameter in the `ActionConfiguration` to String. This is because there are reserved characters that are not allowed as Mongo keys but are valid JSON keys. Converting to a string will remove all these problems.
Fixes #31
See merge request theappsmith/internal-tools-server!58
2019-11-05 10:40:09 +00:00
Arpit Mohan
3622d8b0d3
Converting actionConfiguration to a string to extract mustache keys
...
Also making jsonPathKeys a read-only field. Cannot be written via the API.
2019-11-05 10:40:09 +00:00
Trisha Anand
460c15eb68
Merge branch 'feature/apiCollection' into 'master'
...
feature/Collection
See merge request theappsmith/internal-tools-server!50
2019-11-05 09:39:54 +00:00
Trisha Anand
00fa2e80f7
Added ActionCollectionService which would act on composite functions. Need to handle all scenarios here.
2019-11-05 09:39:54 +00:00
Trisha Anand
cdf3c720de
Merge branch 'bug/72' into 'master'
...
Fix for dsl getting rewritten
See merge request theappsmith/internal-tools-server!56
2019-11-05 07:37:39 +00:00
Trisha Anand
bd846bfc8d
Fix for dsl getting rewritten
2019-11-05 07:37:39 +00:00
Trisha Anand
9fa01ab06a
Merge branch 'bug/73' into 'master'
...
Handles empty params in a request
See merge request theappsmith/internal-tools-server!55
2019-11-05 05:51:14 +00:00
Trisha Anand
68e30ff297
Handles empty params in a request
2019-11-05 05:51:14 +00:00
Trisha Anand
566a56778a
Merge branch 'bug/restApi' into 'master'
...
Bug/rest api
Closes #70
See merge request theappsmith/internal-tools-server!54
2019-11-04 11:20:18 +00:00
Trisha Anand
daeba007a1
Bug/rest api
2019-11-04 11:20:18 +00:00
Arpit Mohan
023ef93969
Fixing Heroku credentials again. Need to find permanent solution to this.
2019-11-01 08:52:20 +01:00
Arpit Mohan
00cd806259
Changing the Redis credentials because Heroku changed them again
2019-10-28 13:15:02 +01:00
Arpit Mohan
d17927e1f8
Reducing data response for application publish API
...
Instead of sending complete application information, we now only send the boolean true or false value to indicate to the client the success or failure of the publish action
2019-10-24 15:41:38 +05:30
Arpit Mohan
2bd8113229
Moving JsonPathKeys from Page document object to Action
...
This is to ensure that the Action object is independent by itself and the client can derive the mustache keys by looking at the action object directly.
2019-10-24 12:38:52 +05:30
Arpit Mohan
314cdd29d9
Handling error in RedisListenerConfig
...
When we shut down the server, the redis subscription is not closed cleanly leading to the server to hang. Adding an error handler solves for this issue.
2019-10-23 05:20:44 +00:00
Trisha Anand
d178b1c729
Publishing an application has been implemented by introducting publishedDsl field inside Layout. On Publish, for all pages in the application, for all layouts inside each page, the dsl json object is copied into the publishedDsl json object.
2019-10-23 04:41:51 +00:00
Trisha Anand
f8dddb212f
Action Service - Delete
2019-10-21 14:01:21 +00:00
Trisha Anand
8ac0203b83
Fixing stupid bug in the acl rego file
2019-10-21 18:39:41 +05:30
Arpit Mohan
6eb7311197
Adding the permissions for fetching and updating applications & groups.
...
Also adding permission for deleting actions
2019-10-21 12:57:36 +05:30
Arpit Mohan
fc1a275670
Merge branch 'master' into hotfix/java-oom-fix
2019-10-21 12:25:05 +05:30
Arpit Mohan
5c1ef9f98a
Adding the JVM parameter to ensure that java stays within the memory limits set by the container
2019-10-21 12:23:00 +05:30
Trisha Anand
74a8466528
Analytics Service now caters to all the events that need to be published. Every service should now call the analytics service's sendEvent function for tracking events.
2019-10-18 13:45:18 +00:00
Trisha Anand
84837fe57f
Mongo Plugin works here. Barring the scenarios where the query json contains special characters in keys ($, .) it works properly.
2019-10-18 08:27:19 +00:00
Arpit Mohan
0473e3d48e
Removing Heroku API key from gitlab-ci file
2019-10-17 12:44:37 +05:30
Arpit Mohan
04a8467095
Fixing the docker credentials in maven so that we don't require the docker daemon for CI/CD
2019-10-17 11:55:55 +05:30
Arpit Mohan
9550f6210d
Removing image name from the package step in gitlab-ci file
2019-10-17 11:39:37 +05:30
Arpit Mohan
75a5e48c4d
Adding docker hub access token to gitlab-ci for container upload
2019-10-17 09:47:23 +05:30
Arpit Mohan
a10a707ec0
Merge branch 'hotfix/heroku-build' into 'master'
...
Fixing Heroku build that's failing because of git-commit-id maven plugin
See merge request theappsmith/internal-tools-server!42
2019-10-17 04:07:07 +00:00
Arpit Mohan
3a9f344a51
Removing plugins from appsmith-interfaces module
2019-10-17 09:25:58 +05:30