Commit Graph

5314 Commits

Author SHA1 Message Date
Hetu Nandu
8654a87eea Merge branch 'fix/disparity-in-styles' into 'release'
Fix disparity in the styles of local and release builds.

See merge request theappsmith/internal-tools-client!347
2020-03-05 09:33:39 +00:00
Satbir Singh
5e912d23cc Merge branch 'fix/build' into 'release'
No sentry source maps uploaded on local build.

See merge request theappsmith/internal-tools-client!348
2020-03-05 09:17:11 +00:00
Satbir Singh
b9dfd0e71e No sentry source maps uploaded on local build. 2020-03-05 09:17:10 +00:00
Abhinav Jha
8b6eabd771 Fix disparity in the styles of local and release builds. 2020-03-05 14:11:32 +05:30
Arpit Mohan
c5e8f3bef4 Removing unnecessary and extra code in AclFilter, MongoAspect and CustomWebExpressionHandler 2020-03-04 19:12:34 +05:30
Arpit Mohan
243376642b Deleting the unnecessary annotations and aspects 2020-03-04 19:02:24 +05:30
Arpit Mohan
f47e7eb882 Adding ACL policy filters to CustomApplicationRepository functions 2020-03-04 18:57:46 +05:30
Arpit Mohan
0914acdca6 Adding default principal for anonymous Users in SecurityConfig
Also, hard-coding the document fields in BaseRepositoryImpl criteria queries.
2020-03-04 18:57:46 +05:30
Arpit Mohan
7019bae082 Adding policy to the document object instead of the user
The login has broken and all users are being treated as un-authenticated users
2020-03-04 18:57:46 +05:30
Arpit Mohan
a1ee6d9508 Adding querydsl properties instead of hardcoded names 2020-03-04 18:57:46 +05:30
Arpit Mohan
3a1673dfca Adding QueryDsl to the appsmith-server and appsmith-interfaces modules
This will generate the annotated classes so that we can refer to the fields easily and scalably.
2020-03-04 18:57:46 +05:30
Arpit Mohan
125982dabf Adding the ARN object and parsing it for user login and while checking permissions in PreAuthorize & custom repo implementations 2020-03-04 18:57:46 +05:30
Arpit Mohan
e078382b94 Adding the user policy object that has permissions for ARN objects.
Now we need to parse the ARN and match it to the policy in the PreAuthorize & Custom repository functions.
2020-03-04 18:57:46 +05:30
Arpit Mohan
bd5424095a Adding default implementations for a few functions which filter by ACL clause.
This is present in the BaseRepositoryImpl. In this manner, we can add default conditions to all the basic JPA queries. Now we only need to figure out how to intercept the custom queries to add user details into.
2020-03-04 18:57:46 +05:30
Arpit Mohan
5b09427b6c Removing the aspect and trying to implement the application repository directly 2020-03-04 18:57:46 +05:30
Arpit Mohan
29ae5fd360 Adding default implementation for applicationrepository to test 2020-03-04 18:57:46 +05:30
Arpit Mohan
63f4056a8a Another WIP commit.
At the moment, we cannot fetch the user from securityContext in the SoftDeleteMongo Query Lookup
2020-03-04 18:57:46 +05:30
Arpit Mohan
d5ed147111 Getting the AclAspect to work for both Mono & Flux methods.
This is done by checking the return type of the function via the joinPoint method signature
2020-03-04 18:57:46 +05:30
Arpit Mohan
bd1c390402 Allowing user to define multiple AclPermissions for a given permission
Also adding proper Acl permissions on ApplicationService and PageService functions
2020-03-04 18:57:46 +05:30
Arpit Mohan
9f3197792a WIP Commit to save the dev state 2020-03-04 18:57:46 +05:30
Arpit Mohan
81d39042a6 Merge branch 'feature/mdc-session-logging' into 'release'
Adding sessionId to the MDC logging to make debugging simpler

See merge request theappsmith/internal-tools-server!211
2020-03-04 12:49:50 +00:00
Arpit Mohan
f53a444635 Adding sessionId to the MDC logging to make debugging simpler 2020-03-04 18:16:12 +05:30
Abhinav Jha
6edd3edf66 Merge branch 'fix/remove-page.min-js' into 'release'
Remove the troublemaking page.min.js

See merge request theappsmith/internal-tools-client!343
2020-03-04 10:43:19 +00:00
Abhinav Jha
e995b90151 Remove the troublemaking page.min.js 2020-03-04 16:07:00 +05:30
Trisha Anand
dfdd44674b Merge branch 'feature/filter-providers-category' into 'release'
Filter providers by category

See merge request theappsmith/internal-tools-server!210
2020-03-04 09:58:16 +00:00
Trisha Anand
0cba85c95b Filter providers by category added. 2020-03-04 15:24:14 +05:30
Abhinav Jha
8068528870 Merge branch 'fix/P0-issues-2' into 'release'
Fix - P0 issues

- Property pane does not toggle for the containers when dragging/resizing a widget within the container
- Property pane stays in the same state(open/closed) before and after drag/resize
- Changing the UI reducers does not re-evaluate the datatree
- Focus event does not trigger when moving the mouse out of the boundaries of a widget.
- When the user clicks outside the canvas, the widget focus and selection is reset.

See merge request theappsmith/internal-tools-client!340
2020-03-04 08:10:40 +00:00
Abhinav Jha
37c96ab839 Fix - P0 issues 2020-03-04 08:10:40 +00:00
Trisha Anand
c27cd0e0c5 Merge branch 'feature/template-to-action' into 'release'
Marketplace GET Controller & Add an action/template to current page

See merge request theappsmith/internal-tools-server!209
2020-03-04 07:50:54 +00:00
Trisha Anand
f97053a314 Marketplace GET Controller & Add an action/template to current page 2020-03-04 07:50:54 +00:00
Satbir Singh
6a319523d9 Merge branch 'fix/build' into 'release'
Removing sourcemaps after upload.

See merge request theappsmith/internal-tools-client!341
2020-03-04 07:13:38 +00:00
Satbir Singh
49d3ec055a Removing sourcemaps after upload. 2020-03-04 07:13:38 +00:00
Satbir Singh
79c31ac6ca Merge branch 'feature/events' into 'release'
Feature/events

See merge request theappsmith/internal-tools-client!337
2020-03-03 07:02:54 +00:00
Satbir Singh
d6d6d4b40d Feature/events 2020-03-03 07:02:53 +00:00
Hetu Nandu
a5568087ad Merge branch 'fix/code-editor' into 'release'
Critical fixes

See merge request theappsmith/internal-tools-client!338
2020-03-03 06:51:59 +00:00
Hetu Nandu
ce0f3b933a Critical fixes 2020-03-03 06:51:59 +00:00
Trisha Anand
65ceb24fcf Merge branch 'hotfix/curl-parser-test' into 'release'
Fixing the curl parser test. Required setting a MockBean for pluginExecutor...

See merge request theappsmith/internal-tools-server!208
2020-03-02 09:07:33 +00:00
Trisha Anand
6b5faa6218 Added more detail to the invalid action error to pin point which action is invalid at least in the logs. 2020-03-02 14:34:48 +05:30
Arpit Mohan
d239f25697 Fixing the curl parser test. Required setting a MockBean for pluginExecutor bean and adding RestTemplateExecutor to the SeedMongoData file.
Also moving the plugin search in CurlImporterService to packageName instead of just name.
2020-02-29 10:05:10 +05:30
Satbir Singh
d19ae18e89 Merge branch 'feature/sentry' into 'release'
Sentry sourcemaps

See merge request theappsmith/internal-tools-client!330
2020-02-27 11:25:55 +00:00
Satbir Singh
a188d6080a Sentry sourcemaps 2020-02-27 11:25:55 +00:00
Abhinav Jha
33b48d502e Merge branch 'fix/storybook2' into 'release'
Storybook

Add stories for Form Message and Button Components

See merge request theappsmith/internal-tools-client!331
2020-02-27 08:37:30 +00:00
Abhinav Jha
66f582d519 Storybook 2020-02-27 08:37:30 +00:00
Abhinav Jha
bfa282298a Merge branch 'fix/propertypane-errorhandler' into 'release'
Fix Property pane errors

Fix propertypane invalid control error

See merge request theappsmith/internal-tools-client!332
2020-02-27 07:38:33 +00:00
Abhinav Jha
68858104c1 Fix propertypane invalid control error 2020-02-27 12:44:32 +05:30
Abhinav Jha
7d90b3097c Merge branch 'fix/auth-forms-styles' into 'release'
Fix user auth forms styles.

- New Text input field with design adherent errors.
- New Form message for the whole app

See merge request theappsmith/internal-tools-client!325
2020-02-27 04:04:59 +00:00
Abhinav Jha
4d68e9a167 Remove unused variables. Remove missed console.log statement. 2020-02-27 09:29:28 +05:30
Abhinav Jha
f28c2512e1 Merge branch 'testing/test-classes-flow-2' into 'release'
Add classes to property controls

See merge request theappsmith/internal-tools-client!326
2020-02-27 03:56:30 +00:00
Abhinav Jha
7e48cfa70a Add classes to property controls 2020-02-27 03:56:30 +00:00
Abhinav Jha
44848d33cf Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into fix/auth-forms-styles 2020-02-27 09:25:04 +05:30