Arpit Mohan
64440cf3e7
Merge branch 'feature/response-meta' into 'master'
...
Modifying the ResponseDTO to contain the ResponseMeta object. Also moving...
See merge request theappsmith/internal-tools-server!22
2019-09-18 08:52:14 +00:00
Arpit Mohan
ac44e2c970
Modifying the ResponseDTO to contain the ResponseMeta object. Also moving ErrorDTO inside ResponseMeta object.
...
This also fixes the logic for multiple ResponseDTOs that were being sent when the service level response was a Flux. Now we only return a single array inside a Mono ResponseDTO object.
2019-09-18 08:52:14 +00:00
Trisha Anand
29bdefdec2
Merge branch 'feature/ci-cd' into 'master'
...
CI/CD with Heroku and docker via gitlab
See merge request theappsmith/internal-tools-server!23
2019-09-18 08:24:03 +00:00
Trisha Anand
3d82809d2a
CI/CD with Heroku and docker via gitlab
2019-09-18 08:24:03 +00:00
Arpit Mohan
6f4bfdd728
Ensuring that the plugins directory is in the same path as the jar
2019-09-17 18:02:58 +05:30
Arpit Mohan
352398da68
Adding a very initial version of the RestApiPlugin
...
Requires a bunch of testing for corner cases and error scenarios.
See merge request theappsmith/internal-tools-server!21
2019-09-17 12:24:45 +00:00
Arpit Mohan
b618bfc5d8
Adding a very initial version of the RestApiPlugin
...
Requires a bunch of testing for corner cases and error scenarios.
2019-09-17 12:24:45 +00:00
Arpit Mohan
5d20f170ee
Merge branch 'feature/execute-action' into 'master'
...
Execute Action API
See merge request theappsmith/internal-tools-server!20
2019-09-17 12:18:23 +00:00
Arpit Mohan
0edc0f6363
Adding the executeAction API in the ActionController.
...
Also changed the interface for the PluginExecutor to include the resourceConfig and ActionConfig as well.
2019-09-17 12:18:23 +00:00
Trisha Anand
16dca65a64
Merge branch 'feature/docker-ci-cd' into 'master'
...
Docker
See merge request theappsmith/internal-tools-server!19
2019-09-17 09:35:13 +00:00
Trisha Anand
4498a301a6
Docker
2019-09-17 09:35:13 +00:00
Trisha Anand
b4643dd6fd
Merge branch 'action-changes-review' into 'master'
...
Incorporated review comments from Nikhil on action
See merge request theappsmith/internal-tools-server!18
2019-09-17 07:23:30 +00:00
Trisha Anand
14ec5260d9
Incorporated review comments from Nikhil on action
2019-09-17 07:23:30 +00:00
Trisha Anand
7c1561a969
Merge branch 'bug/#53' into 'master'
...
Add Page Actions to Page object.
Closes #53
See merge request theappsmith/internal-tools-server!16
2019-09-17 06:25:07 +00:00
Trisha Anand
5468436d9f
Add Page Actions to Page object.
2019-09-17 06:25:07 +00:00
Arpit Mohan
f5ea85f636
Running only part of build.sh in the buildpack-run.sh. This is because all the buildpacks in Heroku are run sequentially
2019-09-16 17:19:55 +05:30
Arpit Mohan
cdba3a5b68
Adding Procfile for custom run command in Heroku
2019-09-16 17:12:26 +05:30
Arpit Mohan
bb84e74c23
Re-arranging the files to fix bad merge that threw compile errors
2019-09-16 17:04:07 +05:30
Arpit Mohan
661111daaa
Setting java version to 11 in system.properties.
...
This is required by Java Heroku buildpack
2019-09-16 16:54:28 +05:30
Arpit Mohan
dc7ede7c4f
Merge branch 'feature/pf4j' into 'master'
...
See merge request theappsmith/internal-tools-server!17
2019-09-16 11:21:57 +00:00
Arpit Mohan
b3c987a9f9
Convert the project into a multi-module structure
...
We are moving to a multi-module structure so that different parts of the codebase can be exposed to the public while others can remain private. Using pf4j for plugin framework.
Also adding a build script `build.sh` which compiles the code and creates the `dist` folder for distribution purposes. Now we can build the code via
```
$ ./build.sh -DskipTests
```
2019-09-16 11:21:57 +00:00
Trisha Anand
57f98d7581
Merge branch 'bug/nestedDataLayout' into 'master'
...
Fixes nested data object in Layout. Renamed data to 'dsl'
Closes #43
See merge request theappsmith/internal-tools-server!15
2019-09-11 11:51:25 +00:00
Trisha Anand
467b3e6db5
Fixes nested data object in Layout. Renamed data to 'dsl'
2019-09-11 11:51:25 +00:00
Trisha Anand
e6ef59295a
Merge branch 'feature/page-crud' into 'master'
...
CRUD for pages and layouts.
Closes #33
See merge request theappsmith/internal-tools-server!14
2019-09-11 10:44:31 +00:00
Trisha Anand
07614d8980
CRUD for pages and layouts.
2019-09-11 10:44:31 +00:00
Trisha Anand
59f85cef96
Merge branch 'app-crud' into 'master'
...
Application CRUD
See merge request theappsmith/internal-tools-server!13
2019-09-09 06:54:36 +00:00
Trisha Anand
7e0cb75ed2
Added domains for application and pages. Edited the layout domain to make it an embedded object inside a page instead of existing in the database on its own.
2019-09-09 06:54:36 +00:00
Arpit Mohan
a03c0a8bde
Merge branch 'feature/oauth2-custom-domain' into 'master'
...
A hacky approach to limiting the Google OAuth2 to a set of custom domains.
Closes #18
See merge request theappsmith/internal-tools-server!12
2019-09-09 05:16:42 +00:00
Arpit Mohan
9c47e1cb2f
A hacky approach to limiting the Google OAuth2 to a set of custom domains.
...
This is not the prettiest way to do it. Ideally, we should send a query parameter to Google with key "hd=example.com" in order to get Google to list accounts with only those domains. For now, we send an error when the domains don't match in a custom `ClientUserRepository` function.
2019-09-09 05:16:42 +00:00
Trisha Anand
b5e05e72c6
Merge branch 'signup' into 'master'
...
Signup flow
See merge request theappsmith/internal-tools-server!11
2019-09-06 10:49:48 +00:00
Trisha Anand
bea5f53f46
Signup flow
2019-09-06 10:49:48 +00:00
Arpit Mohan
f71bd9a4e0
Migrating from Tenant nomenclature to Organization.
...
This makes it consistent with the terminology that we want in the product. The hierarchy will be organization -> team -> user.
2019-09-04 15:08:40 +05:30
Arpit Mohan
b7c480801f
Merge branch 'feature/test' into 'master'
...
Adding JUnit test framework
Closes #44
See merge request theappsmith/internal-tools-server!10
2019-09-04 09:24:38 +00:00
Arpit Mohan
bf908025e2
Adding some basic unit tests for the TenantService class. We should add more tests for other CRUD flows as well.
2019-09-04 09:24:38 +00:00
Trisha Anand
6c90ce2561
Merge branch 'mongo-changes' into 'master'
...
#42
See merge request theappsmith/internal-tools-server!9
2019-09-03 11:36:49 +00:00
Trisha Anand
4258f85a81
Removed DBRef from action. Added DBRef of plugin because while execution, this will be used. So instead of fetching plugin on every execution, plugin is fetched once during create action and stored as part of action (DBRef). Because of DBRef, eager loading would happen which would lead to plugin being present on get without loading plugin again.
2019-09-03 11:36:49 +00:00
Trisha Anand
7bc8948116
Correcting tenant id on staging
2019-08-29 15:39:42 +05:30
Arpit Mohan
2acb44382c
Merge branch 'feature/http-error-handling' into 'master'
...
Standardizing Http error handling
Fixes #9
Sending standardized HTTP error codes to the client application. This structure ensures that we can define the http error code, app error code and (in future) localized string when we want to.
Now when we want to send any error message to the client, we should add it to the enum `AppsmithError` and throw an `AppsmithException` by passing this enum value to the constructor. In the future, we can also localize these error messages by defining the template message in a `messages_en.properties` file.
See merge request theappsmith/internal-tools-server!8
2019-08-28 09:35:06 +00:00
Arpit Mohan
bdc53195f0
Sending standardized HTTP error codes to the client application. This structure ensures that we can define the http error code, app error code and (in future) localized string when we want to.
...
Now when we want to send any error message to the client, we should add it to the enum `AppsmithError` and throw an `AppsmithException` by passing this enum value to the constructor. In the future, we can also localize these error messages by defining the template message in a `messages_en.properties` file.
2019-08-28 09:35:06 +00:00
Trisha Anand
9ce979dd21
Merge branch 'plugin-dev' into 'master'
...
Action CRUD implemented
See merge request theappsmith/internal-tools-server!7
2019-08-27 11:31:44 +00:00
Trisha Anand
bbbdfbada3
Action CRUD implemented
2019-08-27 11:31:44 +00:00
Arpit Mohan
06945ff10f
Renaming Mobtools to Appsmith everywhere for consistency
2019-08-27 15:14:50 +05:30
Arpit Mohan
2758e26769
Merge branch 'plugin-dev' into 'master'
...
Resource CRUD
See merge request theappsmith/internal-tools-server!5
2019-08-27 09:37:38 +00:00
Trisha Anand
43780a6550
Action configuration now contains all the configurations. The global and mustache configurations now exist under the same object. Data template object has been removed. This is inline with the design discussion.
2019-08-27 09:37:38 +00:00
Arpit Mohan
3df8d70652
Merge branch 'feature/mdc-logging' into 'master'
...
MDC Logging across the codebase
Closes #10
See merge request theappsmith/internal-tools-server!6
2019-08-27 06:25:29 +00:00
Arpit Mohan
5a1f9ab132
Adding MDC logging via RequestIdFilter and MDCFilter
...
This ensures that we can send header values and those will be printed in the logs. In the class MDCFilter, we are adding the logContext to the reactive logger along with the normal MDC logger as well.
2019-08-27 06:25:29 +00:00
Trisha Anand
e8b7b234b3
Merge branch 'trisha-dev' into 'master'
...
Plugin Design (Create, install & uninstall)
See merge request theappsmith/internal-tools-server!4
2019-08-22 12:03:42 +00:00
Trisha Anand
0449633997
Removed wild card imports. Now wild card imports would only happen if the import class count exceeds 20.
2019-08-22 12:03:42 +00:00
Trisha Anand
659f3eab54
Merge branch 'trisha-dev' into 'master'
...
Oauth2 implementation - #17
See merge request theappsmith/internal-tools-server!3
2019-08-12 04:44:29 +00:00
Trisha Anand
e852ec6c15
The create tenant flow is completely reactive. This was done because the earstwhile implementation was erroneous leading to unpredictable crashes.
2019-08-12 04:44:28 +00:00