Commit Graph

16958 Commits

Author SHA1 Message Date
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
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
0d63de8404 Merge branch 'feature/redis-pubsub' into 'master'
Adding the redis listener via spring-data-redis-reactive.

See merge request theappsmith/internal-tools-server!34
2019-10-07 08:18:54 +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
Abhinav Jha
b98e53ceb5 Merge branch 'feature/update-git-ignore' into 'release'
Add .idea folder to .gitignore

See merge request theappsmith/internal-tools-client!51
2019-10-07 06:57:21 +00:00
Hetu Nandu
eac9e3a2a2 add .idea to gitignore 2019-10-07 12:21:02 +05:30
Abhinav Jha
81272a0839 Larger Resize Handles. Can resize from on top of the dot. 2019-10-07 11:51:25 +05:30
Abhinav Jha
0ba06d2747 Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!50
2019-10-04 12:44:10 +00:00
Nikhil Nandagopal
ebe2a03475 Merge branch 'feature/canvas-fixes-8' into 'release'
Allow dragging from anywhere on the widget if it is active

See merge request theappsmith/internal-tools-client!49
2019-10-04 12:18:04 +00:00
Abhinav Jha
19e3e77345 Allow dragging from anywhere on the widget if it is active 2019-10-04 15:52:47 +05:30
Abhinav Jha
56771a81e1 Merge branch 'release' into 'master'
Release

Closes #37 and #36

See merge request theappsmith/internal-tools-client!48
2019-10-04 09:53:03 +00:00
Nikhil Nandagopal
21a1827ed5 Merge branch 'feature/canvas-fixes-7' into 'release'
Cavas Fixes 7

See merge request theappsmith/internal-tools-client!46
2019-10-04 08:28:13 +00:00
Nikhil Nandagopal
f3f0885b8b Merge branch 'feature/canvas-fixes-6' into 'release'
Canvas Fixes 6

See merge request theappsmith/internal-tools-client!45
2019-10-04 08:07:23 +00:00
Nikhil Nandagopal
79efcf5901 Merge branch 'feature/canvas-fixes-5' into 'release'
Canvas Fixes 5

See merge request theappsmith/internal-tools-client!44
2019-10-04 07:58:47 +00:00
Trisha Anand
ccf2be5e6c Merge branch 'feature/install-plugin' into 'master'
Install Plugin

See merge request theappsmith/internal-tools-server!33
2019-10-04 04:27:11 +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
Abhinav Jha
72443b0b06 Use parentId to delete and move 2019-10-03 23:05:13 +05:30
Abhinav Jha
eb195aa321 Get new widget name based on widget configs 2019-10-03 22:36:44 +05:30
Abhinav Jha
58c0c647bf Move WidgetFunctions to Context Provider 2019-10-03 21:54:29 +05:30
Abhinav Jha
da634cacf3 Disable controls when resizing 2019-10-03 21:08:46 +05:30
Abhinav Jha
622e5dc0a9 Show grid only on hover. Remove min grid space between adjacent components. Fix all dropzones showing issue. Disable show control on hover. 2019-10-03 20:44:50 +05:30
Abhinav Jha
5bf84ee361 Move FocusContext to Canvas 2019-10-03 16:34:11 +05:30
Nikhil Nandagopal
9c872c7384 Merge branch 'feature/canvas-fixes-4' into 'release'
Canvas Fixes 4

See merge request theappsmith/internal-tools-client!41
2019-10-03 09:26:08 +00:00
Nikhil Nandagopal
87aeb56e60 Merge branch 'feature/canvas-fixes-3' into 'release'
Canvas Fixes 3

See merge request theappsmith/internal-tools-client!38
2019-10-03 09:17:36 +00:00
Nikhil Nandagopal
a308337172 Merge branch 'feature/canvas-fixes-1' into 'release'
Fixes: Saving notification, global error handling, show controls on hover, fixed row height

See merge request theappsmith/internal-tools-client!36
2019-10-03 06:50:30 +00:00