Commit Graph

5314 Commits

Author SHA1 Message Date
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
Trisha Anand
f1b783f6c1 Merge branch 'feature/mongo-audit' into 'release'
Adding Mongo Audit

See merge request theappsmith/internal-tools-server!183
2020-01-30 06:15:21 +00:00
Arpit Mohan
d313f37f5c Adding mongo auditing to add createdAt and updatedAt timestamps to the documents in the DB.
At the moment, reactive Spring does not support AuditorAware implementation which also inserts the username of the user making the changes. Reference: https://jira.spring.io/browse/DATACMNS-1231.
2020-01-30 06:15:20 +00:00
Trisha Anand
a83bf9844c Merge branch 'hotfix/undo-logs-debug' into 'release'
Undo the logs added for pagination

See merge request theappsmith/internal-tools-server!181
2020-01-29 10:51:20 +00:00
Trisha Anand
655e26a986 Removing logs added to debug release for pagination. 2020-01-29 16:17:42 +05:30
Trisha Anand
3ed45f8308 Merge branch 'bug/duplicate-key-error-status-code' into 'release'
logs to help debug pagination issue

See merge request theappsmith/internal-tools-server!179
2020-01-29 10:22:22 +00:00
Trisha Anand
d3769bad62 In case of duplicate key, send the application error code instead of http error code so that frontend can handle the duplicate key error gracefully 2020-01-29 10:22:21 +00:00
Arpit Mohan
f10405cca9 Merge branch 'hotfix/delete-app-acl' into 'release'
Adding permission to delete the application by a user

See merge request theappsmith/internal-tools-server!178
2020-01-29 09:26:15 +00:00
Arpit Mohan
8e8152ea63 Adding permission to delete the application by a user 2020-01-29 14:52:45 +05:30
Trisha Anand
86df807ed5 Merge branch 'bug/duplicate-key-error-status-code' into 'release'
In case of duplicate key, send the application error code instead of http error code

See merge request theappsmith/internal-tools-server!177
2020-01-29 08:50:51 +00:00
Trisha Anand
c6da910c2b In case of duplicate key, send the application error code instead of http error code so that frontend can handle the duplicate key error gracefully 2020-01-29 08:50:50 +00:00
Trisha Anand
094de512f8 Merge branch 'hotfix/isPaginatedNullPointer' into 'release'
Null pointer exception being observed for actions which are not being paginated when executed.

See merge request theappsmith/internal-tools-server!176
2020-01-29 05:38:45 +00:00
Trisha Anand
a9dd24152c Fixed the null pointer exception which is happening because of isPaginated field not being available for non paginated APIs 2020-01-29 11:04:48 +05:30
Trisha Anand
254f009242 Merge branch 'feature/action-pagination' into 'release'
Handle server side pagination in action

See merge request theappsmith/internal-tools-server!174
2020-01-28 14:41:00 +00:00
Trisha Anand
17f4a6f2e8 Handle server side pagination in action 2020-01-28 14:40:59 +00:00
Nikhil Nandagopal
151ac1d55c Merge branch 'fix/minor-ui-fixes' into 'release'
Minor UI Fixes

See merge request theappsmith/internal-tools-client!269
2020-01-28 12:53:58 +00:00
Abhinav Jha
120ef8b8a8 Invite users role dropdown size. Drag friction. icon button background 2020-01-28 18:18:00 +05:30
Nikhil Nandagopal
75edd7c85d Merge branch 'fix/ui-fixes-2' into 'release'
Misc UI Fixes

See merge request theappsmith/internal-tools-client!268
2020-01-28 11:53:16 +00:00
Abhinav Jha
474f98f4fc Misc UI Fixes 2020-01-28 17:16:04 +05:30
Arpit Mohan
7764038ce9 Moving the form login & logout endpoints to /api/v1/login and /api/v1/logout
This is to ensure that when we deploy in production, we can add redirect rules on Nginx. Now /api and /oauth2 urls will proxy to the API server while all other URLs will proxy to the frontend server.
2020-01-28 17:12:46 +05:30
Nikhil Nandagopal
bab19f497f Merge branch 'fix/dropzone-disappearance' into 'release'
Fix Dropzone

See merge request theappsmith/internal-tools-client!267
2020-01-28 11:22:54 +00:00
Abhinav Jha
c183b08561 Fix Dropzone 2020-01-28 11:22:54 +00:00
Nikhil Nandagopal
ea49d4cd8e Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!266
2020-01-28 10:26:54 +00:00
Nikhil Nandagopal
12403e6201 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into release 2020-01-28 13:59:49 +05:30
Nikhil Nandagopal
11a33f2119 Merge branch 'master' into release
# Conflicts:
#	src/api/Api.tsx
#	src/pages/common/CustomizedDropdown/OrgDropdownData.tsx
2020-01-28 13:58:11 +05:30
Nikhil Nandagopal
2597b630dd Merge branch 'fix/ui-styles' into 'release'
Ad-hoc changes for ui styles.

See merge request theappsmith/internal-tools-client!264
2020-01-28 08:21:22 +00:00
Abhinav Jha
f92c233323 Ad-hoc changes for ui styles. 2020-01-28 08:21:22 +00:00
Abhinav Jha
08a7905bc3 Merge branch 'fix/page-redirection' into 'release'
Page Redirection. Sidenav Styles.

- Fix page redirection, so that the application loads the default page on editor and viewer.
- Fix sidenav icons to use the letter icon as in designs.
- Fix editableText input component.

See merge request theappsmith/internal-tools-client!265
2020-01-28 06:35:47 +00:00
Abhinav Jha
5c0f221cc7 Fix Editable Text. Sidnav styles. editor/viewer redirection from application card. 2020-01-28 11:57:46 +05:30
Hetu Nandu
83768b005f Merge branch 'fix/api-path-slash' into 'release'
Various P0 fixes

- Show context menu sub menu on click
- Update autocomplete options on update of dynamic values
- Retry link to remove widget from an error state
- Error boundary for widgets in view mode
- Add default selected option for dropdown, default text for input
- Remove "-" from api name creations
- z-index fixes that was causing animation performance of the pane
- Remove bindings in action when moved or copied
- fix focus issue in dynamic autocomplete input
- Handle datasource creation fail error

See merge request theappsmith/internal-tools-client!262
2020-01-27 13:53:33 +00:00
Hetu Nandu
9b00a345ad Various P0 fixes 2020-01-27 13:53:33 +00:00
Abhinav Jha
a3d85b8b3a Merge branch 'fix/ui-styles-1' into 'release'
Property Pane UI Styles

- Fix Property Pane styles

See merge request theappsmith/internal-tools-client!263
2020-01-27 11:39:27 +00:00
Abhinav Jha
70090ab392 Property Pane UI Styles 2020-01-27 11:39:27 +00:00
Arpit Mohan
071171c26d Merge branch 'bug/move-action-invalid-missing' into 'release'
Bug : After moving action, the action's isValid field becomes null leading to null pointer error.

Because the action was being saved directly, the isValid and invalid fields which are computed every time an action is updated, was not getting computed. isValid and invalids being null led to null pointer error after the action was moved. Fixed that by calling update instead of saving the action directly.

See merge request theappsmith/internal-tools-server!175
2020-01-27 09:17:46 +00:00
Trisha Anand
687b664011 Because the action was being saved directly, the isValid and invalid fields which are computed every time an action is updated, was not getting computed. isValid and invalids being null led to null pointer error after the action was moved. Fixed that by calling update instead of saving the action directly. 2020-01-27 09:17:45 +00:00
Abhinav Jha
861ef5eec9 Merge branch 'fix/page-creation' into 'release'
Page Management

Manage Pages
============
- Users can select page from the editor's header
- Users can manage pages by clicking on the editor header's page selection dropdown
- Page management is now a sidebar
- Page management has a new entry in the navigation bar
- Pages are listed in the page management sidebar
- Users can add a page by clicking on the add page button in the page management sidebar
- Users will see a default page name available and selected, ready for modification when clicking on the add page button
- Users will be shown a loading indicator when a page is being created
- Users will automatically navigate to the newly created page
- Users will be able to update the name of pages by double clicking on the page entry in the page sidebar page list
- Users will see the "home" page marked with an appropriate icon
- Pages which are not the home page will be marked with a generic icon
- Selecting a page in the sidebar will open the particular page.
- Users can set a page as the homepage from the context menu in the page list item.


Other Changes
=============
- The organization dropdown has the following fixes
  - Clicking on any part of the dropdown option will trigger the action of the option
  - Clicking on inactive entries in the dropdown will not close the dropdown
  - The hard coded "2 projects" has been removed.
  - Users can delete an application by clicking on the delete option in the context menu of the application card

See merge request theappsmith/internal-tools-client!259
2020-01-27 08:24:58 +00:00
Abhinav Jha
156565c65e Page Management 2020-01-27 08:24:58 +00:00