Commit Graph

20132 Commits

Author SHA1 Message Date
Abhinav Jha
618ede4ffb Merge branch 'feature/property-pane-position' into 'release'
Property pane positioning

See merge request theappsmith/internal-tools-client!60
2019-10-21 11:40:24 +00:00
Abhinav Jha
b950ede2b1 Use re-select and re-re-select. Fetch property pane configs from appsmith API. Refactor code to use reselect and re-reselect 2019-10-21 11:40:24 +00:00
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
Hetu Nandu
7f84c9c37c Merge branch 'feature/add-menu-bar' into 'release'
Add Navbar and API Pane (#79)

See merge request theappsmith/internal-tools-client!63
2019-10-18 08:16:27 +00:00
Hetu Nandu
7d56e10f8f Add Navbar and API Pane (#79) 2019-10-18 08:16:26 +00:00
Arpit Mohan
0473e3d48e Removing Heroku API key from gitlab-ci file 2019-10-17 12:44:37 +05:30
Abhinav Jha
c49aecc8a8 Merge branch 'feature/index-page' into 'release'
Modifying the default homepage and removing React favicon

See merge request theappsmith/internal-tools-client!65
2019-10-17 07:11:57 +00:00
Arpit Mohan
db749a2b3f Modifying the default homepage and removing React favicon 2019-10-17 12:32:56 +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
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
15bee1679d Merge branch 'feature/docker-compose-install' into 'master'
Create docker-compose file for custom installation

Adding the maven docker container build command via Maven. This ensures that we don't need to local Docker daemon to build the container. Also, the container layers are smaller because of the usage of `jib` a maven-plugin by Google. Read more at: https://phauer.com/2019/no-fat-jar-in-docker-image/

Also adding seed data for MongoDB that allows us to ship with existing data in the database when users install our app.

See merge request theappsmith/internal-tools-server!41
2019-10-16 11:27:03 +00:00
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
90e6b7a939 Merge branch 'hotfix/acl-bundle' into 'master'
Adding more acl rules for properties and action controllers

See merge request theappsmith/internal-tools-server!40
2019-10-14 12:29:20 +00:00
Arpit Mohan
f51de50725 Adding more acl rules for properties and action controllers 2019-10-14 12:29:20 +00:00
Abhinav Jha
df37272949 Merge branch 'release' into 'master'
Release

Closes #74, #67, #70, #69, #62, #66, #60, #59, #58, #53, and #57

See merge request theappsmith/internal-tools-client!61
2019-10-14 11:37:00 +00:00
Abhinav Jha
c476867255 Merge branch 'feature/canvas-fixes' into 'release'
Feature/canvas fixes

See merge request theappsmith/internal-tools-client!55
2019-10-14 11:15:13 +00:00
Nikhil Nandagopal
1cfdd27ca6 Merge branch 'feature/canvas-fixes-2' into 'release'
Canvas Fixes 2

See merge request theappsmith/internal-tools-client!58
2019-10-14 11:14:37 +00:00
Nikhil Nandagopal
d0b456c629 Update index.html 2019-10-14 11:14:28 +00:00
Abhinav Jha
ebac91d6e0 Change HTML title for the ui 2019-10-14 16:43:30 +05:30
Arpit Mohan
7f6b249bfd Merge branch 'feature/acl-bundle' into 'master'
Serving static bundle for ACL in Open Policy Agent

Open Policy Agent requires the server to serve a static bundle (tar.gz) file that contains the list of policies and data (if any) on which the authorization will be conducted on. This has been implemented using RouterFunctions (for lack of a better implementation) and at the moment, the bundle is served without any authentication. 

TODO: In the future, add authentication just for this endpoint so that only the OPA server can access this bundle.

Also optimizing the AclFilter to make a single MongoDB query instead of multiple for each group that the user is a part of.

See merge request theappsmith/internal-tools-server!39
2019-10-14 09:24:10 +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
0d4d9dd7c2 Merge branch 'feature/postgres' into 'master'
Multi data source support for plugins using Resource Context

See merge request theappsmith/internal-tools-server!38
2019-10-11 10:32:18 +00:00
Trisha Anand
e1d59ca3a6 Multi data source support for plugins using Resource Context 2019-10-11 10:32:18 +00:00
Arpit Mohan
9d01cecbd5 Merge branch 'feature/acl-opa' into 'master'
ACL Framework for limiting access to various controllers

We use open policy agent (OPA) in order to control ACL. The policy file is present in `src/main/resources/acl.policy` file.

The `ACLFilter` will apply the ACL policy for all endpoints. In the future, we'll add a regex to the URL matcher to ensure that public URLs do not have ACL filters applying to them. The actual API call to OPA side-car is made through `ACLService`

For permissions, the hierarchy of data is org -> groups -> permissions. Users will be part of groups and also have individual permissions (if required). While evaluating their ACL, we will consider a union of the resolved permissions from groups and user-specific permissions. All control will then be applied on those permissions only. 

Also adding a `signupController` & `SignupService` that creates the org, default groups for the org and assigns the admin user to the org. This will ensure that on user signup, the user becomes the admin of their created or. This flow will undergo more changes as we develop the signup flow with the client.

See merge request theappsmith/internal-tools-server!36
2019-10-11 10:31:28 +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
d6651a69ac Merge branch 'bug/redisDown' into 'master'
Fixing redis connection changes

See merge request theappsmith/internal-tools-server!37
2019-10-10 11:53:03 +00:00
Trisha Anand
7315802508 Fixing redis connection changes 2019-10-10 11:53:03 +00:00
Abhinav Jha
68cce779e1 Revert to HTML5Backend. 2019-10-09 14:38:55 +05:30
Abhinav Jha
f879e30591 Grab cursor when dragging. 2019-10-09 11:58:47 +05:30
Abhinav Jha
023cf4e638 Show grid when resizing 2019-10-08 18:01:58 +05:30
Abhinav Jha
f04f275d75 Show pointers for every direction of resize 2019-10-08 16:47:28 +05:30
Abhinav Jha
d6a5b62861 Allow deselection of all widgets. Allow resize from over the resize marker dot. 2019-10-08 15:46:07 +05:30
Abhinav Jha
5c492970ed Make focused widget more apparent. Fix Stacking contexts. 2019-10-08 14:39:30 +05:30
Abhinav Jha
4b1173c66b Fix merge conflicts with release 2019-10-08 11:54:50 +05:30
Abhinav Jha
74ee90d816 Fix editor stacking context 2019-10-08 11:49:10 +05:30
Abhinav Jha
4e4b46577a Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!54
2019-10-07 13:35:00 +00:00
Abhinav Jha
8e8fc719f7 Merge branch 'feature/error-toast-notification' into 'release'
Show Toast message for any caught errors (#64)

See merge request theappsmith/internal-tools-client!52
2019-10-07 13:30:07 +00:00
Hetu Nandu
0179a6f3af Few more changes 2019-10-07 18:49:29 +05:30
Hetu Nandu
db97974ed0 review changes 2019-10-07 18:41:18 +05:30
Hetu Nandu
866181b340 remove error creator 2019-10-07 18:02:32 +05:30
Hetu Nandu
122a4c543b Toast messages for caught errors 2019-10-07 17:59:38 +05:30
Trisha Anand
39f0cb7e83 Merge branch 'feature/redit-install-plugin' into 'master'
redis install plugin for multi Appsmith-server with single mongo db deployments

See merge request theappsmith/internal-tools-server!35
2019-10-07 09:02:03 +00:00