Commit Graph

18234 Commits

Author SHA1 Message Date
Arpit Mohan
f374638d98 Adding exception stack trace to the login failure scenarios for debugging. 2020-01-10 18:11:29 +05:30
Arpit Mohan
60b7c69346 Adding a check for referrer header incase we don't find the origin header in authenticationFailureHandler
This is required for OAuth2 failure handling. When the client makes an OAuth2 request, we don't receive an origin header. If the OAuth2 login fails for some reason, our failure handler will not redirect correctly unless we also check for the referer header.
2020-01-10 18:06:15 +05:30
Abhinav Jha
85a12c1b21 Merge branch 'feature/ab-test-branches' into 'release'
A/B test branches

See merge request theappsmith/internal-tools-client!235
2020-01-10 12:27:40 +00:00
Abhinav Jha
70d0c9d048 A/B test branches 2020-01-10 17:52:45 +05:30
Abhinav Jha
aae19a487c Merge branch 'fix/patch-fix-widget-drag' into 'release'
Fix widget drag issue

See merge request theappsmith/internal-tools-client!234
2020-01-10 12:19:35 +00:00
Abhinav Jha
92b9ca664f Fix widget drag issue 2020-01-10 17:45:54 +05:30
Arpit Mohan
70e9adbef6 Correcting the redirect uri property name in the config file for custom OAuth2 redirection
This is required because when we host inside a docker container, the default host and port picked up by the code is the docker container's name & port. This will not work when Google (for example) needs to redirect back to our server after authentication is complete. Hence, we need to customize the default redirect uri for all OAuth2 endpoints.
2020-01-10 17:06:05 +05:30
Arpit Mohan
8b9d865c5a Revert "Adding logs to debug docker OAuth2 login issue"
This reverts commit e3773bdf9f1c0ee543b98a2f9ac01b07efaf1858.
2020-01-10 16:44:02 +05:30
Arpit Mohan
73a6ca13f0 Adding logs to debug docker OAuth2 login issue 2020-01-10 16:18:36 +05:30
Arpit Mohan
f679e457f5 Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!231
2020-01-10 09:54:47 +00:00
Arpit Mohan
8c2b23f8d6 Merge branch 'hotfix/reset-password-user-not-exist' into 'release'
Handling the case where the user tries to reset the password for a user that doesn't yet exist in the system. We now return a 404 error for this scenario.

See merge request theappsmith/internal-tools-server!151
2020-01-10 09:28:10 +00:00
Arpit Mohan
6f76ba99d6 Handling the case where the user tries to reset the password for a user that doesn't yet exist in the system. 2020-01-10 14:54:10 +05:30
Satbir Singh
b3ab234e8f Merge branch 'feature/resize-reorder' into 'release'
Column resize reorder and hiding columns

Any widget is able to disable drag by calling a function.

See merge request theappsmith/internal-tools-client!230
2020-01-09 11:39:26 +00:00
Satbir Singh
f9b7777828 Column resize reorder and hiding columns 2020-01-09 11:39:26 +00:00
Hetu Nandu
11da2d430a fixed 2020-01-08 19:41:02 +05:30
Abhinav Jha
22b3a50e6c Merge branch 'fix/widget-boundaries' into 'release'
Widget boundaries

See merge request theappsmith/internal-tools-client!225
2020-01-08 13:46:16 +00:00
Hetu Nandu
aabc01d5e4 Merge branch 'fix/text-widget-auto-html' into 'release'
Automatically render html, links, and email links in text widget

See merge request theappsmith/internal-tools-client!228
2020-01-08 13:08:30 +00:00
Satbir Singh
f34c3b20c7 Merge branch 'feature/table-func-comp' into 'release'
Changed TableComponent from class to function

See merge request theappsmith/internal-tools-client!223
2020-01-08 12:53:26 +00:00
Satbir Singh
7379e4ac5d Changed TableComponent from class to function 2020-01-08 12:53:26 +00:00
Hetu Nandu
a0052922dd safe html and link support 2020-01-08 18:00:16 +05:30
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