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
3a9f344a51
Removing plugins from appsmith-interfaces module
2019-10-17 09:25:58 +05:30
Arpit Mohan
d295875ee3
Removing the git-commit plugin because it doesn't run properly on heroku
2019-10-17 09:18:17 +05:30
Arpit Mohan
135b61a4bc
Adding mongo seed data that will be recreated whenever docker-compose causes the containers to restart
...
Note that we have to delete the Mongo volume for the inidtb script to take effect. Else, it will not execute. To be used only for testing right now. Will figure out a more robust solution later.
Also using Google's JIB Maven plugin to reduce our Docker image footprint. Will make container upload and download much faster
2019-10-16 11:27:02 +00:00
Arpit Mohan
f51de50725
Adding more acl rules for properties and action controllers
2019-10-14 12:29:20 +00:00
Arpit Mohan
cf5b2c325b
Adding a folder for public resources in order to serve OPA bundle
...
Open Policy Agent requires a bundle in the form of tar.gz in order to bootstrap itself with base policy and data. The server will serve this policy under the public domain. In the future, we will enable a Basic Authentication scheme in order to lock down this pocliy.
2019-10-14 09:24:09 +00:00
Trisha Anand
e1d59ca3a6
Multi data source support for plugins using Resource Context
2019-10-11 10:32:18 +00:00
Arpit Mohan
632aff4faa
Adding basic ACL functionality with Open Policy Agent.
...
Currently, ACLFilter communicates with the OPA daemon to determine if the request should be validated or not based on the resource and permissions in user and group
2019-10-11 10:31:28 +00:00
Trisha Anand
7315802508
Fixing redis connection changes
2019-10-10 11:53:03 +00:00
Trisha Anand
d1bcc282f8
Adding the redis listener via spring-data-redis-reactive.
...
The listeners need to be configured in the RedisConfig class via Beans. These beans can then invoke complex business logic based on requirements.
2019-10-07 09:02:02 +00:00
Arpit Mohan
ad22e1a406
Adding the redis listener via spring-data-redis-reactive.
...
The listeners need to be configured in the RedisConfig class via Beans. These beans can then invoke complex business logic based on requirements.
2019-10-07 08:18:54 +00:00
Trisha Anand
59752254b4
On install, the plugins are loaded and started again. This ensures that we don't have to restart the server every time a new plugin is installed. Earlier the plugins were loaded and started only during the boot
2019-10-04 04:27:11 +00:00
Trisha Anand
8658df95a9
All action executions now return object of type ActionExecutionResult. RestApiPlugin returns the same object which contains statusCode, headers and body.
2019-09-30 18:17:35 +00:00
Arpit Mohan
71ac6f4488
Updating to the latest spring boot version
2019-09-30 11:32:16 +05:30
Trisha Anand
51d5c93119
Fixing minor bugs in the Segment analytics flow
2019-09-25 17:06:28 +00:00
Trisha Anand
566a245451
Segment & Rollbar Integration
2019-09-25 16:20:51 +00:00
Trisha Anand
bec8b2e0a1
Adding the docker-compose up command to the build
...
This should ideally run the mongo-seed container to restore the DB before each run
2019-09-24 12:14:41 +00:00
Trisha Anand
de55ec8f8e
Property Pane for Widget
2019-09-24 11:40:53 +00:00
Arpit Mohan
280f8d4dcb
Fixing the Cors configuration to ensure that pre-flight requests return the Access-Control-Allow-Origin header
2019-09-18 09:45:00 +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
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
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
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
4498a301a6
Docker
2019-09-17 09:35:13 +00:00
Trisha Anand
14ec5260d9
Incorporated review comments from Nikhil on action
2019-09-17 07:23:30 +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
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
467b3e6db5
Fixes nested data object in Layout. Renamed data to 'dsl'
2019-09-11 11:51:25 +00:00
Trisha Anand
07614d8980
CRUD for pages and layouts.
2019-09-11 10:44:31 +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
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
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
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