Commit Graph

18100 Commits

Author SHA1 Message Date
Abhinav Jha
04162f3126 Dropzone does not fly from far way when dragging for the first time. Friction is lower and tension is higher for more responsive spring animation. 2020-02-06 12:44:43 +05:30
Abhinav Jha
ca88aeb2f8 Merge branch 'fix/widget-intent-styles' into 'release'
Widget Styles
- Fix Dropdown widget styles.
- Change Input widget to TextArea widget when type === Text and number of rows is more than 1
- Fix radio group widget styles
- Fix checkbox widget styles

See merge request theappsmith/internal-tools-client!283
2020-02-06 07:01:25 +00:00
Abhinav Jha
f787e18bb5 Widget Styles 2020-02-06 07:01:25 +00:00
Abhinav Jha
2a03ab8a83 Merge branch 'fix/P0-login-disabled' into 'release'
Fix issue where login button is disabled despite having creds autofilled by chrome.

Fix issue where login button is disabled despite having creds autofilled by chrome.

See merge request theappsmith/internal-tools-client!284
2020-02-06 06:59:18 +00:00
Abhinav Jha
7a150c8c1b Fix issue where login button is disabled despite having creds autofilled by chrome. 2020-02-06 12:18:32 +05:30
Arpit Mohan
5031f40897 Merge branch 'feature/pagination-type' into 'release'
Renaming isPaginated to PaginationType to support different types of pagination on the frontend

If the API is paginated via the table's page number, then the next and prev URLs in the action don't play any role. Those fields are only required when the paginationType is of type URL. In all other scenarios, the action is executed normally.

See merge request theappsmith/internal-tools-server!192
2020-02-05 09:24:06 +00:00
Arpit Mohan
ffc7328e13 Renaming isPaginated to PaginationType to support different types of pagination on the frontend
If the API is paginated via the table's page number, then the next and prev URLs in the action don't play any role. Those fields are only required when the paginationType is of type URL. In all other scenarios, the action is executed normally.
2020-02-05 14:41:53 +05:30
Arpit Mohan
470974ee50 Merge branch 'hotfix/user-create-org' into 'release'
Refactoring the code to fix bug where a user creating an organization wasn't...

See merge request theappsmith/internal-tools-server!191
2020-02-05 07:54:30 +00:00
Arpit Mohan
3fc9c36919 Refactoring the code to fix bug where a user creating an organization wasn't getting assigned the default groups
Now, regardless of the route with which an organization is created (invitation, signup or self-create by user), the correct groups and permissions are assigned to the user.
2020-02-05 13:20:09 +05:30
Abhinav Jha
e2ceaed1db Merge branch 'fix/delete-app-order' into 'release'
Delete application after api response

- When user clicks on delete application -show toast
- When delete api response returns, remove toast as well as application card.

See merge request theappsmith/internal-tools-client!277
2020-02-05 07:00:54 +00:00
Arpit Mohan
ec07fb5162 Merge branch 'feature/archive-page' into 'release'
Adding functionality to archive page in an application

The code for archiving an application has been moved to ApplicationPageService so that both the PageService and ApplicationService can access it. This ensures that we follow the same code path when archiving an application and when archiving pages.

See merge request theappsmith/internal-tools-server!190
2020-02-05 03:12:55 +00:00
Arpit Mohan
440de34857 Refactoring the code to add page archival for a given application
The code for archiving an application has been moved to ApplicationPageService so that both the PageService and ApplicationService can access it.
2020-02-05 08:37:48 +05:30
Arpit Mohan
3838338099 Adding the permission to delete pages to acl.rego file 2020-02-05 08:34:32 +05:30
Arpit Mohan
231a6e1c6a Merge branch 'feature/mongo-soft-delete' into 'release'
Adding default implementation in BaseRepositoryImpl for default JPA queries defined by Spring Data.

See merge request theappsmith/internal-tools-server!189
2020-02-04 12:02:51 +00:00
Arpit Mohan
fbada3051d Adding default implementation in BaseRepositoryImpl for default JPA queries defined by Spring Data.
We override the SimpleReactiveMongoRepository with our custom implementation to add criteria for filtering soft deleted records.
Also, adding a new function to archive record instead of a hard delete.
2020-02-04 12:02:51 +00:00
Hetu Nandu
a425e086f5 Merge branch 'fix/codemirror-json-input' into 'release'
Auto close brackets in dynamic input

See merge request theappsmith/internal-tools-client!280
2020-02-04 10:48:47 +00:00
Hetu Nandu
9164524449 autoclose brackets and default input 2020-02-04 16:10:55 +05:30
Hetu Nandu
20929a05f8 Merge branch 'fix/codemirror-json-input' into 'release'
Set autocomplete input value after initializing the editor

See merge request theappsmith/internal-tools-client!279
2020-02-04 10:17:53 +00:00
Hetu Nandu
043c082f8b set value after initializing editor 2020-02-04 15:41:33 +05:30
Satbir Singh
3b87d207a2 Merge branch 'revert-47d6016f' into 'release'
Revert "Merge branch 'feature/server-side-pagination' into 'release'"

See merge request theappsmith/internal-tools-client!278
2020-02-04 09:49:20 +00:00
Satbir Singh
6987b392d7 Revert "Merge branch 'feature/server-side-pagination' into 'release'"
This reverts merge request !271
2020-02-04 09:41:12 +00:00
Satbir Singh
60726a69b5 Merge branch 'feature/server-side-pagination' into 'release'
Server side pagination

See merge request theappsmith/internal-tools-client!271
2020-02-04 08:59:47 +00:00
Satbir Singh
7edad01821 Server side pagination 2020-02-04 08:59:46 +00:00
Abhinav Jha
1dcdf8694f Delete application after api response 2020-02-03 17:49:10 +05:30
Hetu Nandu
718aad5490 Merge branch 'fix/misc-issues' into 'release'
P0 fixes

See merge request theappsmith/internal-tools-client!276
2020-02-03 11:49:20 +00:00
Hetu Nandu
ef245c1c8d P0 fixes 2020-02-03 11:49:20 +00:00
Abhinav Jha
e6a6442fa7 Merge branch 'feature/switch-org' into 'release'
Create and Switch Organizations

- Users should be able to switch to any organization in the organization dropdown
- Users should be able to create an organization from the organization dropdown

See merge request theappsmith/internal-tools-client!272
2020-02-03 10:37:03 +00:00
Abhinav Jha
ae13b079ec Create and Switch Organizations 2020-02-03 10:37:03 +00:00
Arpit Mohan
05cfa3f72f Merge branch 'bug/actions-by-orgId' into 'release'
/actions should return all the actions of the current organization only.

Added organizationId to Action. This gets set only during create operation. Whenever get is performed on actions, it is filtered using organizationId.

See merge request theappsmith/internal-tools-server!164
2020-02-01 05:09:28 +00:00
Trisha Anand
c6a18aed87 /actions should return all the actions of the current organization only. 2020-02-01 05:09:28 +00:00
Trisha Anand
e3c83d700b Merge branch 'bug/moveActionDraftSave' into 'release'
Action+Draft should be saved in move action instead of simply pulling moving the saved action to another page (discarding any edits)

See merge request theappsmith/internal-tools-server!188
2020-01-31 12:45:04 +00:00
Trisha Anand
5e640a3608 This ensures that the action (with any changes) is saved along with the new page id. 2020-01-31 18:10:46 +05:30
Trisha Anand
4c35c6bce5 Merge branch 'bug/updateLayoutFailing' into 'release'
UpdateLayout timing out : If the json path key contains the action itself, then it should be removed from the dependents of the action

See merge request theappsmith/internal-tools-server!187
2020-01-31 12:01:07 +00:00
Trisha Anand
7f52c34d55 If the json path key contains the action itself, then it should be removed from the dependents. This is because otherwise we would end up in an infinite loop trying to calculate the action dependents in a recursive fashion. 2020-01-31 17:26:52 +05:30
Hetu Nandu
e0aa13b35e Merge branch 'fix/widget-loading' into 'release'
Fix components for widget update

See merge request theappsmith/internal-tools-client!275
2020-01-31 11:13:16 +00:00
Hetu Nandu
6c86253945 Fix components for widget update 2020-01-31 11:13:16 +00:00
Abhinav Jha
ce8841b37e Merge branch 'fix/P1-issues' into 'release'
P1 issues

- Add invite users button to users page
- Stop breadcrumb from collapsing
- Org name is not editable
- debounce save pages

See merge request theappsmith/internal-tools-client!274
2020-01-31 10:46:43 +00:00
Abhinav Jha
235273d1e3 P1 issues 2020-01-31 10:46:43 +00:00
Arpit Mohan
06f72df03a Merge branch 'feature/mongo-soft-delete' into 'release'
Adding soft delete for application domain object and custom repository functions

This change adds custom implementations of the following for Mongo DB 
1. Factory Bean - The bean which instantiates the factory
2. Factory - The factory class that instantiates the custom query lookup strategy class
3. QueryLookupStrategy - The class that adds default filtering for delete=true records from the DB. 

At this moment, this change will only work for custom repository functions. Default repository functions exposed by JPA still don't acknowledge the custom query lookup strategy. Refer to: https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/#repositories.custom-implementations for details on how to do this.

See merge request theappsmith/internal-tools-server!186
2020-01-31 09:34:36 +00:00
Arpit Mohan
0e7bbe1479 WIP commit on soft deletes
ANother WIP
2020-01-31 09:34:36 +00:00
Hetu Nandu
7b5f94b181 Merge branch 'feature/refactor-widget-loading' into 'release'
Refactor Widget loading

See merge request theappsmith/internal-tools-client!270
2020-01-30 13:23:04 +00:00
Hetu Nandu
0dd25ba2ef Refactor Widget loading 2020-01-30 13:23:04 +00:00
Hetu Nandu
97dbc156f0 Merge branch 'feature/new-page-load-actiion-structure' into 'release'
Page Load actions with dependencies

See merge request theappsmith/internal-tools-client!273
2020-01-30 10:55:38 +00:00
Hetu Nandu
b6898d4ef7 Page Load actions with dependencies 2020-01-30 10:55:37 +00:00
Trisha Anand
c437d7fc3c Fixed the run time issues seen with page load action dependency changes 2020-01-30 16:00:50 +05:30
Trisha Anand
9f13e199b9 Merge branch 'feature/onLoadActionDependencies' into 'release'
Page load actions also now contain all the dependent GET actions

See merge request theappsmith/internal-tools-server!182
2020-01-30 09:48:48 +00:00
Trisha Anand
77cfc0d9bd All the page load actions and their dependent page load actions now are stored as part of on page load actions 2020-01-30 09:48:48 +00:00
Trisha Anand
2695caafd7 Merge branch 'bug/add-user-to-new-organization' into 'release'
When user creates an organization, the user automatically gets added to the said org.

See merge request theappsmith/internal-tools-server!184
2020-01-30 09:24:31 +00:00
Trisha Anand
4ba6344cfd When user creates an organization, the user automatically gets added to the said org. 2020-01-30 09:24:31 +00:00
Arpit Mohan
15cbd266b3 Ignoring the createdAt, updatedAt and version fields in BaseDomain object.
This is because the client sends us the complete document as is. This causes conflicts in MongoDB for versioning and java Instant deserialization.
2020-01-30 12:55:33 +05:30