Commit Graph

5314 Commits

Author SHA1 Message Date
Hetu Nandu
e58bc582c7 Merge branch 'feature/page-load-actions' into 'release'
Execute page load actions when loading page

Closes #336 and #282

See merge request theappsmith/internal-tools-client!185
2019-12-11 15:24:27 +00:00
Hetu Nandu
dd03093834 Execute page load actions when loading page 2019-12-11 15:24:27 +00:00
Hetu Nandu
49643ae16c Merge branch 'fix/api-pane-ui-state-per-api' into 'release'
Separate loading states per action

Fixes: #320, #273
* Fixes issue where loading state of one action is shared with others
* Adds a loading overlay when saving an action

See merge request theappsmith/internal-tools-client!188
2019-12-11 15:14:38 +00:00
Hetu Nandu
37a96358f4 Separate loading states per action 2019-12-11 15:14:38 +00:00
Arpit Mohan
ec478e5c2a Reverting previous commit with @EnableMongoAuditing because that is causing APIs to return empty data in the API 2019-12-11 17:15:16 +05:30
Satbir Singh
9111e33d52 Merge branch 'fix/api-pane-styles' into 'release'
Fix minor Api pane style issues

Fixes: #199, #158, #328

See merge request theappsmith/internal-tools-client!189
2019-12-11 11:31:08 +00:00
Arpit Mohan
3db6a94e2e Merge branch 'feature/mongo-created-timestamp' into 'release'
Moving the annotation @EnableMongoAuditing to the CommonConfig class because it wasn't being acknowledged by Spring

This now ensures that Spring JPA inserts the createdAt and updatedAt timestamps to the MongoDB along with the document itself.

See merge request theappsmith/internal-tools-server!109
2019-12-11 10:54:54 +00:00
Arpit Mohan
6f39d39523 Moving the annotation @EnableMongoAuditing to the CommonConfig class because it wasn't being acknowledged by Spring
This now ensures that Spring JPA inserts the createdAt and updatedAt timestamps to the MongoDB along with the document itself.
2019-12-11 16:21:14 +05:30
Hetu Nandu
d1ee106faa style fixes 2019-12-11 16:05:07 +05:30
Arpit Mohan
3c80cd4363 Merge branch 'bug/delete-pageid-action-on-dsl-update' into 'release'
Removes pageId from actions no longer in DSL in action collection

Removes pageId from actions no longer in DSL and adds pageIds for actions in DSL in actions collection.

All of these operations are now happening in bulk to improve performance

See merge request theappsmith/internal-tools-server!107
2019-12-11 10:29:12 +00:00
Trisha Anand
2a47a442be Removes pageId from actions no longer in DSL and adds pageIds for actions in DSL in actions collection 2019-12-11 10:29:12 +00:00
Arpit Mohan
cf2ebe53b3 Merge branch 'feature/new-user-group-assignemtn' into 'release'
Assigning groups & permissions to new user signups

When a new user signs up, a new personal organization is created for that user. Default permission groups are created for this  personal organization based on the database that contains this information in the `groups` collection with organization name `default-org`. These default groups should NEVER be deleted from the DB. 

The user is then assigned to these default groups which allows him/her to administer their personal organization as org admins 
would.

Also, the `User` domain object now returns the email ID as the username of the user.

See merge request theappsmith/internal-tools-server!108
2019-12-11 10:20:29 +00:00
Arpit Mohan
614b1b3f0d Creating default groups for the user's personal organization when the new user signs up
The default groups for an organization are created by copying over data from the groups collection with the organizationId 'default-org'. This ensures that we can update the permissions in the DB and add new permissions without any code changes. The new user is then assigned to these groups so that they have all the permissions required to administer the organization.

Also adding a display name for the groups so that the UI can show a different name than the one used internally within the DB to represent the group.
2019-12-11 10:20:28 +00:00
Hetu Nandu
bc018eaece Merge branch 'feature/widget-validation-error-message' into 'release'
Validation Error Message display

* Implements: #295 
  * Shows a validation error message on the property pane
* Fixes: #380   
  * Fixed invalid prop for input icons

See merge request theappsmith/internal-tools-client!186
2019-12-10 13:30:16 +00:00
Hetu Nandu
d5e08b5836 Validation Error Message display 2019-12-10 13:30:16 +00:00
Arpit Mohan
f0af6a06fe Merge branch 'feature/signup-create-organization' into 'release'
Create personal workspace/organization on user create

Create user now also leads to creation of personal organization for the user. It also gets assigned as the default (current) workspace (or currentOrganizationId)

See merge request theappsmith/internal-tools-server!105
2019-12-10 10:58:34 +00:00
Trisha Anand
7a3cfe2c52 Create user now also leads to creation of personal organization for the user. It also gets assigned as the default (current) workspace (or currentOrganizationId) 2019-12-10 10:58:34 +00:00
Trisha Anand
85303ab188 Merge branch 'release' into 'master'
Release to Master sink

See merge request theappsmith/internal-tools-server!106
2019-12-10 10:46:32 +00:00
Arpit Mohan
cebd1cfef3 Merge branch 'bug/published-actions' into 'release'
Published page has layout on load actions and layout load actions now.

LayoutOnLoadActions are now being copied to the published version. Now viewing the published page would give all three published datastructures : DSL, Layout Actions, and Layout Load Actions

See merge request theappsmith/internal-tools-server!104
2019-12-10 07:25:08 +00:00
Trisha Anand
66b28e8dec LayoutOnLoadActions are now being copied to the published version. Now viewing the published page would give all three published datastructures : DSL, Layout Actions, and Layout Load Actions 2019-12-10 07:25:08 +00:00
Abhinav Jha
71a2bbf344 Merge branch 'feature/sideNav-router-integration' into 'release'
Integrate SideNav with react router for faster switching of item

Closes #334

See merge request theappsmith/internal-tools-client!183
2019-12-09 11:31:09 +00:00
Abhinav Jha
34e20f3d1a Integrate SideNav with react router for faster switching of item 2019-12-09 11:31:09 +00:00
Arpit Mohan
fe82366ace Fixing compilation issue 2019-12-08 21:20:58 +05:30
Arpit Mohan
69f77c19da Merge branch 'feature/reset-password-email' into 'release'
Adding email sending capability when the user resets their password

At the moment, the email sending is sent in the same thread that slows down the API request. Future changes should include:
1. Publish the request to send an email to Redis and actually send the email on subscribe event.
2. Disable the email sending in local environments.

See merge request theappsmith/internal-tools-server!102
2019-12-08 15:46:17 +00:00
Arpit Mohan
fdba2f62ef Adding email sending capability when the user resets their password 2019-12-08 15:46:17 +00:00
Trisha Anand
73cf8955d1 Merge branch 'feature/dsl-parsing' into 'release'
Find the page load actions

See merge request theappsmith/internal-tools-server!98
2019-12-08 13:41:15 +00:00
Trisha Anand
046751b1ba Working version where the top feeding nodes have been discovered in the tree. These would be page load actions. 2019-12-08 13:41:15 +00:00
Hetu Nandu
9404215422 Merge branch 'feature/base-dyanmic-input' into 'release'
Data Tree Autocomplete

Implements: #293 , #131 , #128 

See merge request theappsmith/internal-tools-client!170
2019-12-06 13:16:08 +00:00
Hetu Nandu
f45d2b9135 Data Tree Autocomplete 2019-12-06 13:16:08 +00:00
Arpit Mohan
c937c234b9 Merge branch 'feature/user-password' into 'release'
Implementing Forgot Password flow + DB based password authentication

Changes include:
1. Create/Update user APIs now use `passwordEncoder` to encode the user password before storing it in the database.
2. Forgot password flow has been added.
3. Added a `PasswordEncoderConfig` to configure the encoder from a single location
4. Moving from in-memory `MapUserDetails` to DB for checking the password for a user during login.
5. Using `WithUserDetails` in all the tests because we now use our custom `User` domain object instead of Spring's `User` object in our session. The earlier implementation in the test cases was using Spring's implementation.
6. Adding a bunch of javadoc comments to `UserServiceImpl`

See merge request theappsmith/internal-tools-server!101
2019-12-06 12:15:28 +00:00
Trisha Anand
23dbd4c78a Create/Update user used password encoder to encode the user password before storing it in the database 2019-12-06 12:15:28 +00:00
Abhinav Jha
873d6c6e30 Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!184
2019-12-06 12:06:07 +00:00
Arpit Mohan
e058ec1614 Merge branch 'feature/actions-by-page-application' into 'release'
Get actions by pageId & applicationId

Query params "pageId" and "applicationId" can be used on Get call to actions api to all the actions by page Ids and application ids.

See merge request theappsmith/internal-tools-server!99
2019-12-06 09:48:32 +00:00
Trisha Anand
3137b54f12 Adding query params to get actions API call 2019-12-06 09:48:31 +00:00
Trisha Anand
243d12ad64 Merge branch 'feature/js-actions' into 'release'
JS functions can now be stored to an action.

See merge request theappsmith/internal-tools-server!100
2019-12-05 09:19:45 +00:00
Trisha Anand
b16909de61 JS functions can now be stored to an action. 2019-12-05 09:19:45 +00:00
Arpit Mohan
85fa63d654 Merge branch 'feature/storybooks' into 'release'
Storybooks integration

- Add storybooks to appsmith UI application.
  - addon-docs - Picks up documentation from the component
  - addon-designs - Picks up figma URL to see widget and design side by side
  - addong-knobs - Allows to toggle props in storybook
- Add a sample story for TextInputWidget

See merge request theappsmith/internal-tools-client!172
2019-12-05 03:16:00 +00:00
Abhinav Jha
b24dcd8467 Storybooks integration 2019-12-05 03:16:00 +00:00
Satbir Singh
09b6fc2cbc Merge branch 'fix/realm-script-enable' into 'release'
Fix: Re-enable realm

See merge request theappsmith/internal-tools-client!182
2019-12-03 10:08:06 +00:00
Abhinav Jha
aa18f31e07 Re-enable realm 2019-12-03 15:33:05 +05:30
Abhinav Jha
26bebfc9ba Merge branch 'feature/code-splitting' into 'release'
Code Splitting

See merge request theappsmith/internal-tools-client!179
2019-12-03 09:21:06 +00:00
Abhinav Jha
0dbb546e8f Code Splitting 2019-12-03 09:21:06 +00:00
Satbir Singh
f0613e4d03 Merge branch 'fix/act-exe' into 'release'
Fixing action execution error caused from js exec.

See merge request theappsmith/internal-tools-client!181
2019-12-03 07:37:17 +00:00
Satbir
f9d1067181 Fixing action execution error caused from js exec. 2019-12-03 13:03:14 +05:30
Satbir Singh
23de859f1e Merge branch 'feature/all-widget-loading' into 'release'
All widgets loading.

See merge request theappsmith/internal-tools-client!178
2019-12-03 04:41:11 +00:00
Satbir Singh
33b2db0349 All widgets loading. 2019-12-03 04:41:10 +00:00
Satbir Singh
5200633d15 Merge branch 'feature/js-executor' into 'release'
Inline js execution

See merge request theappsmith/internal-tools-client!171
2019-12-03 04:37:05 +00:00
Satbir
a886c63c9c Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/js-executor 2019-12-03 09:58:49 +05:30
Satbir
a6e25ef3ba TableAction moved to ActionConstants. 2019-12-03 09:58:14 +05:30
Satbir
1f267954ef Tests for dynamic binding parse. 2019-12-02 15:21:18 +05:30