Commit Graph

5314 Commits

Author SHA1 Message Date
Trisha Anand
fe484946f7 Merge branch 'bug/update-layout' into 'release'
Fix for update layout failing for badly formed moustache keys

See merge request theappsmith/internal-tools-server!148
2020-01-08 11:09:38 +00:00
Trisha Anand
34b170bc5c Update layout was failing for when the mustache key was {{fetchUsers2[0].}}. When the word splitting happened, it got split into fetchUsers2, 0 and '.'. This means that when each word was finally split again, there was nothing before the '.' leading to null pointer exception. This has been fixed by adding a check for the same. 2020-01-08 16:34:28 +05:30
Hetu Nandu
b940fedaf1 Merge branch 'fix/unescape-string-before-eval' into 'release'
Unescape strings before eval

Fixes the issue where some escaped string is not being able to eval

See merge request theappsmith/internal-tools-client!227
2020-01-08 10:57:41 +00:00
Hetu Nandu
91ecf6ebac unescaping any strings 2020-01-08 16:20:49 +05:30
Hetu Nandu
bf317e652e Merge branch 'fix/url-params-sync' into 'release'
Fix url params sync issue

See merge request theappsmith/internal-tools-client!226
2020-01-08 09:19:00 +00:00
Hetu Nandu
b115a948af Fix url params sync issue 2020-01-08 09:19:00 +00:00
Arpit Mohan
3cdcd12444 Merge branch 'hotfix/pwd-reset-fix' into 'release'
Fixing the bug which prevented the reset password token from being saved in the DB

The issue was that the chain would receive a mono instead of an object. This would cause it to not persist the token in the DB. Moving to flatMap fixes this problem as we then deal with the actual object instead of the Mono.

Also fixing the url encoding in the email to ensure that the links generated are correct. By default mustache does HTML escaping and not URL encoding.

See merge request theappsmith/internal-tools-server!147
2020-01-08 09:04:59 +00:00
Arpit Mohan
2dced0818e Fixing the bug which prevented the reset password token from being saved in the DB
The issue was that the chain would receive a mono instead of an object. This would cause it to not persist the token in the DB. Moving to flatMap fixes this problem as we then deal with the actual object instead of the Mono.

Also fixing the url encoding in the email to ensure that the links generated are correct. By default mustache does HTML escaping and not URL encoding.
2020-01-08 14:30:45 +05:30
Abhinav Jha
3d5fa544fc When dragging/resizing a widget, the other widgets' boundaries show up. 2020-01-08 10:49:01 +05:30
Abhinav Jha
b180fd0594 Merge branch 'feature/dblclick-experiment' into 'release'
Double click property pane

- Show property pane on double click
- Toggle property pane control works properly
- Widget is selected on adding to canvas
- Property pane remembers visibility state before and after drag/resize
- New UI for widget name

See merge request theappsmith/internal-tools-client!224
2020-01-08 04:16:24 +00:00
Abhinav Jha
b10df26287 Resolve review comments 2020-01-08 09:41:23 +05:30
Trisha Anand
1a8956afe7 Merge branch 'hotfix/log-update-layout' into 'release'
Added logs which must be removed in 24 hours.

See merge request theappsmith/internal-tools-server!146
2020-01-07 15:23:37 +00:00
Trisha Anand
6f6dcbe4d4 Added logs which must be removed in 24 hours. 2020-01-07 20:50:10 +05:30
Abhinav Jha
00bbbd89cd Show props button is now toggle button. New widgets get selected on addition 2020-01-07 17:59:55 +05:30
Abhinav Jha
9d7eaaca80 Optimize popper creation and destructions. Preserve property pane visibility before and after actions. 2020-01-07 17:58:58 +05:30
Abhinav Jha
40d160fb78 Widget name colors and resize handle colors and edit control colors 2020-01-07 17:57:50 +05:30
Trisha Anand
dcab0bfac0 Merge branch 'feature/pageload-actions-js' into 'release'
Removed Graph. Extracting action names from JS function as well. Updating LayoutLoadActions to include that

See merge request theappsmith/internal-tools-server!145
2020-01-07 11:34:44 +00:00
Trisha Anand
4a7b1632ad Removed the creation of dependency graph during update layout. Instead simple mustache finding are done now to get pageload actions. 2020-01-07 11:34:44 +00:00
Arpit Mohan
6e5a73ba1b Merge branch 'hotfix/redis-session-timeout' into 'release'
Increasing the redis inactive session timeout to 30 days

Now when a user doesn't log into the Appsmith system for 30 days, they will get logged out.

See merge request theappsmith/internal-tools-server!144
2020-01-07 07:39:15 +00:00
Arpit Mohan
36f6b35c09 Increasing the redis inactive session timeout to 30 days
Now when a user doesn't log into the Appsmith system for 30 days, they will get logged out.
2020-01-07 13:05:44 +05:30
Abhinav Jha
5dbc375f89 Merge branch 'feature/fix-71' into 'release'
Change the way Widgets are focused

See merge request theappsmith/internal-tools-client!206
2020-01-06 12:34:57 +00:00
Arpit Mohan
25560730ae Merge branch 'hotfix/group-user-specific' into 'release'
Filtering out the groups based on the user's current organization ID

Also refactoring the code to use the MultiValueMap for filter params which is a generic implementation and can support filtering on multiple fields of the domain object groups. This can be replicated to other domain objects as well.

See merge request theappsmith/internal-tools-server!143
2020-01-06 12:23:44 +00:00
Arpit Mohan
296ea7beee Filtering out the groups based on the user's current organization ID
Also refactoring the code to use the MultiValueMap for filter params which is a generic implementation and can support filtering on multiple fields of the domain object groups. This can be replicated to other domain objects as well.
2020-01-06 17:40:44 +05:30
Abhinav Jha
c6906e1781 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/fix-71 2020-01-06 16:33:42 +05:30
Abhinav Jha
3483975e0b Selected and Focused states of widgets 2020-01-06 16:32:22 +05:30
Abhinav Jha
8f3b959bcf Merge branch 'feature/new-user-api-changes' into 'release'
New User (Invite) API based modifications

New User API based modifications
================================
- Invited users can 
  - click on the link in their emails to set password
  - will see errors on invalid password
  - will see a link to login on successful set of password

- Users can
  - Use Tab, Enter, Space and comma to tokenize emails in the tag list input field


Other Fixes
===========
- Email carries over from login page to forgot password page
- Login is disabled until a valid email and password is provided
- Signup is disabled until a valid email and password is provided

See merge request theappsmith/internal-tools-client!219
2020-01-06 09:07:31 +00:00
Abhinav Jha
8c66983b9b New User (Invite) API based modifications 2020-01-06 09:07:30 +00:00
Hetu Nandu
e38ac037e0 Merge branch 'fix/codemirror/responsive-height' into 'release'
Fix non responsive height for dynamic code editor

See merge request theappsmith/internal-tools-client!218
2020-01-06 06:39:22 +00:00
Hetu Nandu
efa0018d46 only set height when height is supplied 2020-01-06 12:02:10 +05:30
Satbir Singh
4a5b0947b7 Merge branch 'feature/multi-row' into 'release'
Fixing selected row issue and adding multirow select

See merge request theappsmith/internal-tools-client!216
2020-01-06 06:28:52 +00:00
Satbir Singh
d007ede9de Fixing selected row issue and adding multirow select 2020-01-06 06:28:52 +00:00
Arpit Mohan
d8e9be9465 Merge branch 'feature/create-user-workspace-name' into 'release'
Ensuring that a user's personal workspace name is their first name by default.

This is because the full name makes the entire workspace name very long. If we just use the first name, it'll be a shorter string and easier to read by the end user as well.

See merge request theappsmith/internal-tools-server!142
2020-01-03 14:50:35 +00:00
Arpit Mohan
68092c19cc Ensuring that a user's personal workspace name is their first name by default.
This is because the full name makes the entire workspace name very long. If we just use the first name, it'll be a shorter string and easier to read by the end user as well.
2020-01-03 20:15:23 +05:30
Arpit Mohan
db8c88efbc Merge branch 'bug/body-replace-json' into 'release'
Action Execution should handle rest api body for mustache replacement scenario

See merge request theappsmith/internal-tools-server!141
2020-01-03 14:43:30 +00:00
Arpit Mohan
4eecb3a7cc Merge branch 'hotfix/group-for-org' into 'release'
Filtering out the groups to only return those that belong to the user's current organization

See merge request theappsmith/internal-tools-server!140
2020-01-03 14:40:29 +00:00
Trisha Anand
934771761b Handling the json body scenario where html escaping lead to json body for rest api being incorrect. 2020-01-03 20:09:44 +05:30
Hetu Nandu
7820a4059c Merge branch 'fix/dry-runs' into 'release'
Various api pane and dynamic input improvements

*  Added an Allow HTML option for text widgets so that i can render HTML
*  Input now sets the initial height on mound
*  When input input is updated automatically, the cursor is set to the end of the input
*  Input only shows error tooltip when it is in focus. The red border is still present
*  Updated the stale property pane config in the codebase
*  Api name placeholder updated to "API name (camel case)"
*  Recursive binding search for dry runs
*  If dynamic result is an object for action calls, convert it to string
*  Fixed failing dry runs with dynamic bindings

See merge request theappsmith/internal-tools-client!217
2020-01-03 13:40:31 +00:00
Hetu Nandu
752944ee02 Various api pane and dynamic input improvements 2020-01-03 13:40:31 +00:00
Satbir Singh
d852206c71 Merge branch 'feature/page' into 'release'
Adding client side pagination to syncfusion table.

See merge request theappsmith/internal-tools-client!215
2020-01-03 10:50:29 +00:00
Satbir Singh
6a5ec64ffa Adding client side pagination to syncfusion table. 2020-01-03 10:50:29 +00:00
Arpit Mohan
e0a03c74e5 Filtering out the groups to only query those that belong to the user's current organization 2020-01-03 15:57:31 +05:30
Arpit Mohan
677b13cf89 Merge branch 'feature/default-group' into 'release'
Adding default parameter to the groups

This will be the default selected group that a new user will belong to when they are either invited or sign up on the Appsmith platform.

Refer: https://www.notion.so/appsmith/By-default-select-the-member-role-in-the-invite-user-flow-09e6509065b44b56be1a8bea21b9f1d7

See merge request theappsmith/internal-tools-server!139
2020-01-03 10:05:51 +00:00
Arpit Mohan
b8bc4514ba Adding default flag to the group domain object so that the client can select a default permission group for the user. 2020-01-03 10:05:51 +00:00
Arpit Mohan
045f1f31d7 Merge branch 'hotfix/reset-password-email' into 'release'
Modifying the forgotPassword flow to send the email to the user with a clickable URL.

Also adding the domain to which we need to link to in the resetPassword POST body. This will ensure that we send a valid URL to redirect the user back to the client app to ensure that they can set a new password.

See merge request theappsmith/internal-tools-server!138
2020-01-03 09:44:17 +00:00
Arpit Mohan
ca40bb842f Sending HTML template emails to users when they signup, invite another user or reset their password. 2020-01-03 09:44:17 +00:00
Abhinav Jha
8f3a46fa13 Merge branch 'feature/logout' into 'release'
Logout feature

Logout
======
- User can logout from the organization dropdown in the scaffolding pages
- User will redirect to the login page on a successful logout

See merge request theappsmith/internal-tools-client!213
2020-01-03 08:49:47 +00:00
Abhinav Jha
6c17a6e66d Logout feature 2020-01-03 08:49:47 +00:00
Hetu Nandu
bfcc535c11 Merge branch 'feature/api-cached-response-autocomplete' into 'release'
Feature/api cached response autocomplete

Uses the cached response in the action to show autocomplete hints

See merge request theappsmith/internal-tools-client!210
2020-01-02 13:46:37 +00:00
Hetu Nandu
0f908de645 Feature/api cached response autocomplete 2020-01-02 13:46:36 +00:00
Trisha Anand
4bfc7dc7fc Merge branch 'feature/curl' into 'release'
Import 3P API using CURL

See merge request theappsmith/internal-tools-server!129
2020-01-02 13:38:55 +00:00