Commit Graph

4401 Commits

Author SHA1 Message Date
Apeksha Bhosale
179d5ae8a9
Improve JS error reporting in the debugger (#4854) 2021-06-04 12:39:36 +05:30
arunvjn
a7a7390d08
Fixed overlapping dropdown in MYSQL forms (#4914) 2021-06-04 11:09:31 +05:30
dependabot[bot]
98d5a0ff50
Bump httpclient from 4.5.10 to 4.5.13 in /app/server/appsmith-server (#4917)
Bumps httpclient from 4.5.10 to 4.5.13.

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpclient
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 10:19:06 +05:30
Nayan
5cf5160c99
bugfix: redirect user to homepage when user was inside an org and lef… (#4905)
* bugfix: redirect user to homepage when user was inside an org and left that organization

* -removed a console log
2021-06-04 00:36:34 +06:00
Sumit Kumar
8199db669a
- remove DB Auth type check. (#4896)
* remove DB Auth type check, since the type is not getting set and the check does not seem to be required in any way.
2021-06-03 23:31:37 +05:30
arunvjn
2757f0fe15
Fixed mouse click bug in datasource suggestions(#4668) 2021-06-03 22:02:59 +05:30
arunvjn
c8b93cf1ec
Fix to show datasource auth info clearly (#4900) 2021-06-03 18:07:18 +05:30
abhishek nayak
8a1ed9773b
Merge pull request #4383 from appsmithorg/snyk-upgrade-a64f1aa8c6960bf68ab55f4ece93ec96
[Snyk] Upgrade flow-bin from 0.91.0 to 0.148.0
2021-06-03 13:03:28 +05:30
Kaushik Varanasi
3a6da2d797
Feature/import applications (#4483)
* Added export option to app menu. TODO: call api to download app file

* Added checkbox component and removed unused code

* Added import app without filepicker. Opens modal

* added ability to fetch the exported app

* can download exported application as a json file

* Updated the file picker component to accept other file formats

* WIP import app

* Added functionality to import application json file

* minor fixes

* Made the file type prop mandatory for file picker

* added a test suite for export app

* Test added to check if on import application click, it open a modal

* added a dummy application file for cypress testing

* Added end to end integration test suite
to verify import app feature

* added test to verify the export api status and download file.

* added a linked btn to carry exporting.
- according to latest BE changes

* Removed old redux and saga mechanism for app export

* updated cypress test to validate new flow

* fixed minor linting errors

* updated test case title

* updated the test cases for import/export app feat

* review changes

* added prop to facilitate delayed upload

* added new application file to fixtures. Minor fix to take care of loading state.

* Removed export app modal. Added one click action, to download the file.

* Updated File picker to work with all other files acc to the design.

* Updated the import modal

* updated the import application test

* Added remove upload tooltip

* updated the icons for import/export actions

* removed unused logs

* added hard coded feature flag to hide/show import export feature

Co-authored-by: Pranav Kanade <pranav@appsmith.com>
2021-06-03 11:48:08 +05:30
Shrikant Sharat Kandula
80b6d6578c Fix migration NPE 2021-06-03 10:58:26 +05:30
arunvjn
4952207fc2
UI improvements to API Editor (#4845)
* Change CTA to apply datasource on datasource card click
* Fix for Request method button's alignment issue.
* Hide save/edit datasource button when url field is empty
* Added edit icons to navigate to datasource form
2021-06-03 10:29:41 +05:30
arunvjn
a31adce20d
Bug/api editor datasources (#4780)
* Fixed datasource urls' disappearance when the saved datasource has a trailing slash

* Refactored query params parser to a seperate function.
Added unit tests for the new function
2021-06-03 10:28:18 +05:30
Nidhi
226c0720bd
Default state for mongo actions that were already configured (#4873)
* Default state for mongo actions that were already configured

* Clean up
2021-06-03 09:20:47 +05:30
Abhijeet
8fea689b4d
Actions are updated to page level resource, application name included in json file name (#4879) 2021-06-03 08:59:27 +05:30
NandanAnantharamu
03b2e7b042
updated locator (#4871) 2021-06-02 21:23:30 +05:30
Hetu Nandu
8c84dcfdec
Fix multiline js issues (#4816) 2021-06-02 18:27:27 +05:30
Nayan
77940c0cfa
[Issue #3785][Bug] User names in organization management page are stale (#4702)
* [Issue #3785][Bug] User names in organization management page are stale

* -update name in userroles in background when there is a change in user
2021-06-02 15:56:52 +06:00
Nayan
78915301e3
[Issue #4572]-Allow users to leave an organization (#4634)
* [Issue #4572]-Added API to leave organisation by any user

[Issue #4572]-Add option for organization admins to leave an organization

* -add option to leave organization in frontend for non-admin users

* -updated the leave org endpoint path and HTTP method as per PR review

* Update app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserOrganizationServiceImpl.java

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>

* Update app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserOrganizationServiceImpl.java

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>

* -add cypress test and some minor changes as per PR comment

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-06-02 15:56:22 +06:00
NandanAnantharamu
86d3d1d2be
Added wait for route (#4817)
* Added wait for route

* updated test with datasource route

* udpated version and cleanup

* updated duplicate app
2021-06-02 13:34:02 +05:30
imgbot[bot]
a11e732b61
[ImgBot] Optimize images (#4707)
*Total -- 3,752.13kb -> 3,526.66kb (6.01%)

/static/images/users.png -- 15.03kb -> 6.11kb (59.37%)
/static/images/integrations.png -- 14.43kb -> 9.37kb (35.05%)
/static/images/build-tool.png -- 27.04kb -> 21.86kb (19.15%)
/app/client/src/assets/icons/ads/commentIcon.png -- 0.90kb -> 0.77kb (14.67%)
/static/images/git-banner.jpg -- 779.36kb -> 666.22kb (14.52%)
/static/images/git-banner-left.png -- 72.13kb -> 65.42kb (9.29%)
/app/client/src/assets/icons/comments/context-menu.svg -- 0.43kb -> 0.40kb (5.92%)
/app/client/src/assets/icons/comments/commentCursor.png -- 1.41kb -> 1.34kb (4.72%)
/app/client/src/assets/images/comments-onboarding/step-4.png -- 14.90kb -> 14.26kb (4.3%)
/static/images/animations/video-preview.gif -- 1,300.08kb -> 1,247.97kb (4.01%)
/static/images/animations/writing-js.gif -- 264.13kb -> 254.80kb (3.53%)
/static/images/git-banner-right.png -- 654.13kb -> 633.46kb (3.16%)
/static/images/animations/running-api.gif -- 38.67kb -> 37.59kb (2.8%)
/app/client/src/assets/icons/ads/open.svg -- 0.32kb -> 0.32kb (1.81%)
/app/client/src/assets/icons/ads/cross.svg -- 0.22kb -> 0.21kb (1.81%)
/app/client/src/assets/icons/control/back.svg -- 0.26kb -> 0.26kb (1.49%)
/app/client/src/assets/icons/ads/app-icons/draghandler.svg -- 0.53kb -> 0.52kb (1.48%)
/app/client/src/assets/icons/comments/comment-mode-unread-indicator.svg -- 0.40kb -> 0.39kb (1.46%)
/app/client/src/assets/icons/comments/send-button.svg -- 0.21kb -> 0.21kb (1.41%)
/app/client/src/assets/icons/comments/read-pin.svg -- 0.29kb -> 0.29kb (1.34%)
/app/client/src/assets/icons/comments/unread-pin.svg -- 0.29kb -> 0.29kb (1.34%)
/app/client/src/assets/icons/comments/check-oval.svg -- 0.30kb -> 0.30kb (1.28%)
/app/client/src/assets/icons/comments/emoji.svg -- 0.40kb -> 0.40kb (1.22%)
/app/client/src/assets/icons/comments/reaction-2.svg -- 1.19kb -> 1.17kb (1.15%)
/app/client/src/assets/icons/control/open-new-tab.svg -- 1.09kb -> 1.08kb (1.08%)
/app/client/src/assets/icons/comments/trash.svg -- 0.32kb -> 0.32kb (0.91%)
/app/client/src/assets/icons/comments/chat.svg -- 0.34kb -> 0.33kb (0.87%)
/app/client/src/assets/icons/comments/pin_3.svg -- 0.39kb -> 0.39kb (0.75%)
/app/client/src/assets/images/profile-placeholder.svg -- 0.54kb -> 0.54kb (0.72%)
/app/client/src/assets/icons/comments/reaction.svg -- 0.83kb -> 0.82kb (0.71%)
/app/client/src/assets/icons/comments/pen.svg -- 0.42kb -> 0.41kb (0.7%)
/app/client/src/assets/icons/comments/edit-mode.svg -- 0.42kb -> 0.42kb (0.7%)
/app/client/src/assets/icons/comments/link.svg -- 0.65kb -> 0.64kb (0.6%)
/app/client/src/assets/icons/comments/unpin.svg -- 0.51kb -> 0.51kb (0.57%)
/app/client/src/assets/icons/comments/toggle-comment-mode.svg -- 0.51kb -> 0.51kb (0.57%)
/app/client/src/assets/icons/ads/cancel.svg -- 0.52kb -> 0.51kb (0.57%)
/static/images/animations/selections.gif -- 119.85kb -> 119.23kb (0.52%)
/app/client/src/assets/icons/control/download-data-icon.svg -- 0.62kb -> 0.61kb (0.48%)
/app/client/src/assets/icons/comments/pin.svg -- 0.63kb -> 0.63kb (0.47%)
/app/client/src/assets/icons/comments/pin_2.svg -- 0.87kb -> 0.87kb (0.45%)
/static/images/animations/move-around.gif -- 229.66kb -> 228.69kb (0.43%)
/app/client/src/assets/icons/ads/bug.svg -- 0.70kb -> 0.70kb (0.42%)
/static/images/animations/drag-drop.gif -- 159.38kb -> 158.73kb (0.41%)
/app/client/src/assets/icons/ads/wand.svg -- 2.79kb -> 2.77kb (0.39%)
/app/client/src/assets/icons/ads/warning-triangle.svg -- 1.08kb -> 1.07kb (0.36%)
/app/client/src/assets/icons/control/filter-icon.svg -- 0.91kb -> 0.91kb (0.32%)
/app/client/src/assets/icons/ads/card-context-menu.svg -- 1.12kb -> 1.12kb (0.26%)
/app/client/src/assets/icons/widget/list.svg -- 1.65kb -> 1.65kb (0.24%)
/app/client/src/assets/images/comments-onboarding/step-3.png -- 39.31kb -> 39.29kb (0.05%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-06-02 07:51:52 +05:30
Nidhi
26ce58e9e3
Changes to client credentials form (#4836) 2021-06-01 17:41:48 +05:30
Abhijeet
51addbc963
Feature/import-export-application (#4553)
* Decryption for dbauth, basic and OAuth datasources added in exported file

* All authentications for datasources included while exporting as deserialization is done through json file otherwise cast is throwing error

* Content-Disposition header implemented 

* MongoEscapedWidget names segregated for published and unpublished layout, to prevent overwrite while exporting

* Published pages and actions explicitly handled in cases where unpublished resources are deleted
2021-06-01 17:38:26 +05:30
Somangshu Goswami
771cf4a34f
Merge pull request #4805 from appsmithorg/fix/table-pagesize-migrations
Fix for pageSize calculation in table widget
2021-06-01 16:44:23 +05:30
Nidhi
f9a4b0e0dc
Fixes failure due to extra spaces in authorization url in OAuth2 datasource (#4818)
* Trimmed authorization url

* Using validation instead

* Update app/server/appsmith-plugins/restApiPlugin/src/main/java/com/external/helpers/DatasourceValidator.java

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>

* Update app/server/appsmith-plugins/restApiPlugin/src/main/java/com/external/helpers/DatasourceValidator.java

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-06-01 13:45:04 +05:30
Hetu Nandu
ae28731947
Enable smart substitution for widgets (#4801) 2021-06-01 10:29:45 +05:30
arunvjn
9e8e432a1f
Feature/cmd enter to execute actions (#4774)
Added new global hotkey to trigger Run on cmd+enter

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Apple <nandan@thinkify.io>
2021-05-31 21:10:21 +05:30
Somangshu Goswami
5e72910be5
Merge pull request #4525 from appsmithorg/bug/model-reset-children-meta-onclose
updated closeModal saga to stop reseting children meta properties.
2021-05-31 20:09:17 +05:30
Somangshu Goswami
d770b360b0
Merge pull request #4350 from appsmithorg/fix/dropdown-default-value
fix: set default format in table date type cell
2021-05-31 20:08:49 +05:30
Somangshu Goswami
de4af915b3
Merge pull request #4766 from appsmithorg/bug/chart-onDataPointClick
added click event config for customChart
2021-05-31 20:08:28 +05:30
Somangshu Goswami
fd7db3356e
Merge pull request #4433 from appsmithorg/fix/-filePicker-widget-property-cleanup
fix: remove uploadedFileUrls property from FilePicker
2021-05-31 20:07:16 +05:30
Somangshu Goswami
ceabb7a50f
Merge pull request #4693 from appsmithorg/FIX/4603-truncate-long-column-names
FIX #4603 : updated css to truncate long column name
2021-05-31 20:06:55 +05:30
vicky.bansal@primathon.in
3182d2fe15 Fix unused variable issue 2021-05-31 17:27:00 +05:30
vicky.bansal@primathon.in
5ea2d961db Added migration to update parentRowSpace property of table widget 2021-05-31 17:09:06 +05:30
dependabot[bot]
d65dcdc72c
Bump lodash from 4.17.20 to 4.17.21 in /app/client (#4438)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 14:15:01 +05:30
dependabot[bot]
0386978159
Bump hosted-git-info from 2.8.8 to 2.8.9 in /app/client (#4439)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 13:55:48 +05:30
Sumit Kumar
e2f4fd5e94
Fix: Fix redis plugin socket error (#4791)
* fix socket error
* fix default port
* remove invalid check for missing port, since default port would be supplied if user leaves the port field empty.
2021-05-31 11:55:47 +05:30
dependabot[bot]
f75ec7874b
Bump dns-packet from 1.3.1 to 1.3.4 in /app/client (#4781)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-29 11:01:06 +05:30
Ashok Kumar M
2052a8e545
Fix: Positioning widgets without left right column towards the end of the page. (#4777) 2021-05-28 22:25:10 +05:30
arunvjn
a133a320cf
Added replacer in stringfy method to optionally use toString method for big ints. (#4745) 2021-05-28 21:30:21 +05:30
akash-codemonk
cbca6bedd4
Clear debugger errors on page switch (#4672) 2021-05-28 19:44:44 +05:30
arunvjn
f6a33fafbf
Text overflow bug in datasource tab in API Editor(#4776) 2021-05-28 17:46:09 +05:30
arslanhaiderbuttar
23faa19707
Removed the reload (#4767)
cy.reload was causing some issue in saving the default value for input2.
2021-05-28 16:30:25 +05:30
Tolulope Adetula
664ba6ab22
Update File-picker widget property 2021-05-28 01:45:37 -07:00
bhavin
cfded6d99e added click event config for customChart 2021-05-28 11:46:11 +05:30
Satish Gandham
b75dcc384d
Merge pull request #4563 from appsmithorg/perf/ui/optimize-binding-prompt/4555
[Perf] Remove code causing expensive style recalculation from binding prompt
2021-05-28 11:17:43 +05:30
Satish Gandham
83b44b30b6
Merge pull request #4680 from appsmithorg/ui/perf/optimize-expensive-style-calc-evalauatedValuePopup/4679
Memoize the evaluate popup placement value
2021-05-28 11:16:21 +05:30
Ashok Kumar M
575d7fe7f9
Fix: Adding missing widget properties when a new tab is created. (#4733)
* dip

* dip

* dip

* Revert "dip"

This reverts commit f0eeaa4a2dc9845509945c2af9376f1573baafdf.

* dip

* removing unwanted iteration.

* Adding and fixing specs.
2021-05-28 08:28:02 +05:30
Nidhi
5ddd58cdfd
Added optional audience and resource fields for oauth2 datasources (#4678)
* Added optional audience and resource fields for oauth2

* Review changes

* Don't show audience and resource fields by default
2021-05-27 21:53:59 +05:30
abhishek nayak
02e52d019f
Merge pull request #4414 from appsmithorg/areyabhishek-patch-4
[FIX] Update Dropdown Widget default value placeholder
2021-05-27 19:23:03 +05:30
Apeksha Bhosale
47969d708c
show pre-filled values for autocomplete (#4400)
* dot added after selection of an option

* added all options to autocomplete list

* small css change

* css changes

* small function change

* removed commented code

* data type match with autocomplete

* added headers and changes cursor activity for autocomplete

* removed wrong value

* removed type from server added to showhint

* modified and added test case

* small modification for test cypress case
2021-05-27 15:31:26 +05:30