Commit Graph

3117 Commits

Author SHA1 Message Date
Nikhil Nandagopal
b6071a054e Merge branch 'master' into release 2020-09-19 17:15:46 +05:30
Nikhil Nandagopal
04368d675e Patch for Rich text editor updates 2020-09-19 17:15:19 +05:30
Arpit Mohan
5cfb6b7528
Fixing the documentation for where the environment file is created (#583) 2020-09-19 13:49:51 +05:30
Arpit Mohan
790ad71a2c
Adding more details to Contributing.md for server compilation (#582) 2020-09-19 12:56:42 +05:30
Hetu Nandu
962dfcbd86
Router switching for editor to avoid extra renders (#571) 2020-09-18 18:17:32 +05:30
Satbir Singh
e7a1ba0741 Adding onClick property for image widget.
(cherry picked from commit d444b2e169)
2020-09-18 16:41:12 +05:30
satbir121
3d52c1cd24
Adding onClick property for image widget. (#575) 2020-09-18 15:58:00 +05:30
Abhinav Jha
9e5b99cde1
Prime cut feature code for keyboard shortcut tests (#568)
* Update cypress layoutDSL to include parentIds. Handle widget's parentId undefined scenario

* handle tabs parsing error when deleting tabs widget
2020-09-18 15:57:49 +05:30
Satbir Singh
d444b2e169 Adding onClick property for image widget. 2020-09-18 15:42:57 +05:30
Arpit Mohan
64549e4b06 Removing cacheResponse from the JSON response for actions (#564)
This is because this `cacheResponse` field is only used for auto-complete on the UI. The user can still run the action manually and get the auto-complete to work. The downside to sending the `cacheResponse` field in the JSON response is that for large responses, the client times out as our response times increase to 20 secs. Hence removing this for now.

In future, we'll extract the JSON schema structure from the response body and send that to the client for populating auto-complete.
2020-09-18 13:19:56 +05:30
Arpit Mohan
149df6925a
Removing the keep-alive ping check for CI builds (#565) 2020-09-18 13:13:40 +05:30
NandanAnantharamu
c51ec0e59b
locator updated (#570)
* locator updated

* updated action type

* Updated test
2020-09-18 11:47:51 +05:30
Abhinav Jha
0b87c7431b
Fix issue where tabs are lost when the user enters an invalid tabs value (#569) 2020-09-18 10:52:54 +05:30
Shrikant Sharat Kandula
19bd7d272a
Use a unique instance ID for pinging home (#566)
* Use a unique instance ID for pinging home

* Fix event name
2020-09-18 06:38:53 +05:30
NandanAnantharamu
437eb05f19
Updated locator for org setting on the home page (#567) 2020-09-17 22:31:01 +05:30
Nikhil Nandagopal
3363357b9d
Update CONTRIBUTING.md 2020-09-17 21:24:35 +05:30
Nikhil Nandagopal
9227377195
Update CONTRIBUTING.md 2020-09-17 21:20:34 +05:30
Arpit Mohan
e688f62378
Removing cacheResponse from the JSON response for actions (#564)
This is because this `cacheResponse` field is only used for auto-complete on the UI. The user can still run the action manually and get the auto-complete to work. The downside to sending the `cacheResponse` field in the JSON response is that for large responses, the client times out as our response times increase to 20 secs. Hence removing this for now.

In future, we'll extract the JSON schema structure from the response body and send that to the client for populating auto-complete.
2020-09-17 18:51:26 +05:30
Abhinav Jha
0eb6ebf95a
Increase clickable area of entities in explorer (#561) 2020-09-17 18:45:21 +05:30
Shrikant Sharat Kandula
65c247a10c
Add a scheduled task to ping home (#560)
* Add a scheduled task to ping home

* Removed commented logging code

* Add docstrings to ping scheduled task

* Move IP address API URI to a constant
2020-09-17 17:54:48 +05:30
Abhinav Jha
1d981463aa
Fix cut widget feature issue (#562) 2020-09-17 17:22:58 +05:30
Shrikant Sharat Kandula
75ba90928e
Add datasource structure caching and MySQL structure support (#553)
* Implement caching for datasource structure

* Avoid using final fields so spring-data can load objects

* Use type variable for getStructure method

* Initial version with base structure for MySQL plugin

* Add tests for MySQL plugin structure

* Add sorting for keys in Postgres structure as well

* Show "primary key" instead of just "primary"

* Refactor to reduce inline magic strings
2020-09-17 13:59:46 +05:30
satbir121
bef53b73aa
Making the ovrflow auto. (#559) 2020-09-17 13:27:19 +05:30
Nikhil Nandagopal
d028011d7c
Updated events to track user id as IP 2020-09-16 19:51:02 +05:30
Nikhil Nandagopal
3c22f8926f Merge branch 'master' into release 2020-09-16 18:41:04 +05:30
Nikhil Nandagopal
cac15f2cac
Update welcomeUserTemplate.html 2020-09-16 18:40:43 +05:30
Nikhil Nandagopal
afc2f8d1a5 cherry picked install script update from release 2020-09-16 18:26:21 +05:30
Nikhil Nandagopal
60043089ee
Feature/track install (#557)
* Bump http-proxy from 1.18.0 to 1.18.1 in /app/client (#538)

Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update install.sh

* Update install.sh

* Removed printing the ip

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-16 18:08:53 +05:30
satbir121
b9154f6ea9
Homepage redesign with themes (#482)
* Updating homepage body color

* WIP: Fixing scrolls and adding anchors

* Removing divider from bottom of the page.

* Adding hover background color to app card

* Changing edit and launch icons.

* Fixing app name paddding in card.

* Fixing workspaces overflow

* Adding right padding to applications view

* Adding share icon to share btn

* Fixing Application card styles.

* Fixing text decoration in button.

* Adding new workspace button

* Fixing new workspace and new app styles.

* Adding icon sizes.

* Fixing Org Name and Org settings menu.

* Application menu working

* Fixing overlay visibility on app card

* Fixing settings page content width.

* Fixing workspace icon

* Changing app card colors.

* Removing debugger

* Adding app icon.

* Fixing the spaces in application card

* Adding storybook-static folder to gitignore.

* Adding other storybook files.

* Adding menu items for app

* Removing cypress selector from text.

* Menu width issue fixed

* Default app icon color added

* Removing hardcoded colors

* Removing hardcoded colors.

* Light Mode on!

* Showing correct icon and color in menu

* Update color working properly.

* Updating appIcon

* Editable text working.

* Adding validator

* Adding edit permissions to menu

* Removing box shadow on app card.

* Fixing context menu fill color

* Fixing Menu hover issues.

* Fixing menu open close hover issues.

* Fixing settings pages

* Changed Workspace to org.

* Fix: State management in EditableText Component (#540)

* Error state height is fixed as per design

* savingState prop condition fixed

* Fixing createnew.

* Fixing saving state for application card.

* Fixed application card editable text error.

* Fixing issue caused during merge.

* Fixing tests in create org.

* Removing commented code.

* Removing unwanted vars.

* Fixing delete duplicate tests.

* Latest color palette.

* Fixing form and table widget.

* Removing switcher from header

* Removing unused files

* Fixing app card context dropdown

* Show overlay fix

* Adding localStorage support to theme.

* Making dark mode the default.

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 17:20:47 +05:30
Nikhil Nandagopal
3ec8b58cf8
Update install.sh 2020-09-16 16:00:27 +05:30
Abhinav Jha
436f190555
Feature: Widgets: Cut-Copy-Paste-Delete shortcuts, undo-delete facility (#500) 2020-09-16 15:58:01 +05:30
Nikhil Nandagopal
1b33da86c8 Merge branch 'release' 2020-09-16 15:34:29 +05:30
Nikhil Nandagopal
7ca32f0a01
Update install.sh 2020-09-16 15:27:44 +05:30
akash-codemonk
5891d40271
Fix ConfirmRunModal not showing up in view mode (#551) 2020-09-16 15:14:07 +05:30
Nikhil Nandagopal
7b42b60d47 Merge branch 'release' 2020-09-16 13:42:53 +05:30
Nikhil Nandagopal
ce628768bb
Fix/bindings (#554)
* changed chart data to behave as an array <str, str> and not use json stringify to update
added a generic logic to flag all objects with internal bindings as dynamic
moved unescape to only handle at the time of eval and removed new lines before eval

* added a migration for older charts that have their data as strings

* flagged column actions as an action trigger to avoid evaluating it

* minor fix

* fixed chart fields disappearing

* added migration on update

* added migration to constructor

* added a fallback for first time renders

* removed migration from did update

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-16 13:41:24 +05:30
Nikhil Nandagopal
4995706679
Fix chart data evaluation (#548)
* changed chart data to behave as an array <str, str> and not use json stringify to update
added a generic logic to flag all objects with internal bindings as dynamic
moved unescape to only handle at the time of eval and removed new lines before eval

* added a migration for older charts that have their data as strings

* flagged column actions as an action trigger to avoid evaluating it

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-15 22:24:15 +05:30
Trisha Anand
423b7eb176
Added confirmBeforeExecute field in action view dto which is returned only during view mode. (#547)
* Added `confirmBeforeExecute` field in action view dto which is returned only during view mode.

* Added test for fetch actions in view mode.
2020-09-15 15:22:35 +05:30
Hetu Nandu
908e62af21 Merge branch 'release' 2020-09-15 15:00:16 +05:30
devrk96
3f9d2e8d8d
Feature: Callout component (#535)
* callout component with story implemented

* text className import fixed

* callout color and background color fixed

* storywrapper import fixed

* fill property fixed

* background prop added
2020-09-15 12:40:53 +05:30
Hetu Nandu
f09b717b38
Retry dynamic import and lazy promises (#543) 2020-09-15 12:29:58 +05:30
Shrikant Sharat Kandula
e551043080
Fix plugin executions/test/structure breaks when auth is null (#544) 2020-09-15 12:09:49 +05:30
devrk96
2b808797f5
Cypress selector added in component system (#534)
* cypress-selector added in component system

* unused import removed
2020-09-14 22:28:54 +05:30
Shrikant Sharat Kandula
6c7e45d010
Add a connection type variable for Plugin implementations (#531)
* Add a connection type variable for Plugin implementations

This type variable is intended to represent the type of the
connection object, if any, that the plugin will use. This will
help make the implementations more robust by leveraging Java's
type checking instead of rudimentary type casts over the
connection objects.

* Fix missing typevar usage
2020-09-14 20:36:47 +05:30
Shrikant Sharat Kandula
3f5930e52e
Add datasource structure support for DB plugins (#523)
* Base interface for getting datasource structure for databases

* Add keys and constraints to structure for Postgres datasources

* Use connection from datasource context for computing structure

* Refactor context retrying into a separate method

* Add base datastructures for templates in entity explorer

* Fix spring circular dependency

* Add test for postgres datasource structure

* Generate column names and sample values for INSERT query

* Add LIMIT clause to generated SELECT query

* Fix tests for generated SELECT query

* Minor refactoring
2020-09-14 18:59:11 +05:30
dependabot[bot]
e0b3fc7944
Bump http-proxy from 1.18.0 to 1.18.1 in /app/client (#538)
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-12 11:56:13 +05:30
akash-codemonk
1701df82c3
Add remaining moment defs (#537) 2020-09-12 11:54:20 +05:30
Nikhil Nandagopal
c0fcdef4b6 Merge branch 'master' into release 2020-09-11 17:08:15 +05:30
vicky-primathon
2cb7c7be97
Reset selected rows when table data is modified (#536) 2020-09-11 17:07:33 +05:30
vicky-primathon
c0b803fa99
Fix-table tooltip flicker (#510) 2020-09-11 16:55:48 +05:30