Commit Graph

741 Commits

Author SHA1 Message Date
Automated Github Action
6595378c65 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-14 16:06:51 +00:00
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
Automated Github Action
2936ba8d99 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-14 14:06:51 +00:00
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
Nikhil Nandagopal
fabf454473 Merge branch 'master' of github.com:appsmithorg/appsmith into release 2020-09-11 17:18:11 +05:30
Trisha Anand
069dd53e32
Changing spelling of colour to match the front-end used spelling. (#532) 2020-09-11 12:31:07 +05:30
Arpit Mohan
2a3ccd7e25
Removing SSH Tunnel from Mongo & Postgres plugins (#529)
We don't yet support this feature hence removing it from the UI. Will add it back again once the backend supports SSH tunnelling.
2020-09-10 18:29:49 +05:30
Nikhil Nandagopal
3b4db07697
Update welcomeUserTemplate.html 2020-09-10 16:20:00 +05:30
Nikhil Nandagopal
5fbe993541
Update welcomeUserTemplate.html 2020-09-10 16:01:35 +05:30
Nikhil Nandagopal
b7d1c55be9
Update welcomeUserTemplate.html 2020-09-10 15:54:12 +05:30
Nikhil Nandagopal
dbd76d0b2a
Update welcomeUserTemplate.html 2020-09-10 15:53:12 +05:30
Automated Github Action
2a448923bb Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-10 10:06:24 +00:00
Nikhil Nandagopal
9063488acf
Update welcomeUserTemplate.html 2020-09-10 14:50:44 +05:30
Trisha Anand
eccad93efd Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-10 14:31:04 +05:30
Trisha Anand
9dcb7d5522
When on page load setting is changed, update layout must be called to update the onPageLoadActions field in the layout. (#467) 2020-09-10 14:30:30 +05:30
Automated Github Action
683e0a5a65 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-10 07:06:09 +00:00
Shrikant Sharat Kandula
42545d1e88
Add migration to fix incorrect action IDs for onLoad (#519)
* Add migration to fix incorrect action IDs for onLoad

* Remove redundant comments

* Fix migration to work with published onLoad actions as well

* Only update the action ID when correcting onLoad action IDs

* Fix migration name for correcting action IDs

Co-authored-by: Trisha Anand <trisha@appsmith.com>

* Fix migration id for correcting action IDs

* Reformat code

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2020-09-10 11:37:32 +05:30
Automated Github Action
39e5916b6b Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-09 07:38:47 +00:00
Nikhil Nandagopal
96093426bf Merge branch 'release' 2020-09-07 23:13:05 +05:30
dependabot[bot]
41a51c2885
Bump bl from 2.2.0 to 2.2.1 in /app/server/scripts/node (#496)
Bumps [bl](https://github.com/rvagg/bl) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v2.2.0...v2.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 12:52:35 +05:30
Automated Github Action
4f269ae693 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-07 07:06:24 +00:00
Shrikant Sharat Kandula
f5f66229ec
Get list of application IDs to be cloned as examples from template config (#442)
* Get list of application IDs to be cloned as examples

* Fix tests so that apps to be cloned are explicit

* Add migration to set applicationIds for example cloning

* Fix example org cloning tests
2020-09-07 11:40:28 +05:30
Automated Github Action
00ce029158 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-07 06:07:01 +00:00
Trisha Anand
a8a7955f41
Added new fields colour and icon in application required for homepage redesign project (#499) 2020-09-07 11:13:58 +05:30
Trisha Anand
437d04f045
Added a field to denote confirmBeforeExecute field whose functionality would be handled by the client. (#487) 2020-09-07 11:12:08 +05:30
Automated Github Action
e9041d66de Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-04 06:06:49 +00:00
Shrikant Sharat Kandula
3353962719
Fix MongoDB plugin update commands produce an empty response (#469) 2020-09-04 10:56:09 +05:30
Automated Github Action
0f978b487d Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-02 12:08:11 +00:00
Shrikant Sharat Kandula
59349fd03e
Fix column alias names in MySQL actions (#466)
* Fix aliases not showing up for MySQL actions

* Fix date column display for MySQL actions

* Fix datetime columns for MySQL actions

* Add support for timestamp and year data types for MySQL actions

* Fix column label for MySQL plugin

* Add tests for MySQL temporal data types

* Add tests for alias columns in MySQL and Postgres
2020-09-02 17:19:41 +05:30
Trisha Anand
3648a2b804
Returning an error in case the user tries to get all users. (#472) 2020-09-02 17:18:22 +05:30
Shrikant Sharat Kandula
54c75b26dd
Add a node.js script to dump examples organization (#448)
* Add a node.js script to dump examples organization

This dump file is used to setup initial examples organization
in a self-hosted setup.

* Remove unused variable

* Add npm run shortcut for dump script
2020-09-02 17:15:55 +05:30
Automated Github Action
74dc599214 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-02 06:07:02 +00:00
Shrikant Sharat Kandula
91ad617904
Add validation for host values in DB datasources (#444)
* Add validation for host values in DB datasources

* Mild refactoring, for a dummy commit

* Add test for host name validation in datasources
2020-09-02 11:28:41 +05:30
Shrikant Sharat Kandula
223a735b87
Add API for uploading logo images for organizations (#376)
* Start with new controller for assets

* Progress on uploading logo image

* Saving and loading organization logo assets now works

* Remove existing logo asset before saving a new one

* Fix 500 when uploading logo for the first time

* Fix URL in response for uploading logo image

* Add test for uploading logo for ogranization

* Mild refactoring in tests
2020-09-02 11:28:15 +05:30
Automated Github Action
3a3b1275a4 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-31 06:09:58 +00:00
akash-codemonk
8f0015eaf3
Show validation errors if any for keyvalue fields (#445)
* Update host field with validation properties
2020-08-31 10:45:04 +05:30
Trisha Anand
46de20dfb3 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-27 20:09:08 +05:30
Trisha Anand
dfabda6009
GET API actions recognized as page load actions should also be update… (#450)
* GET API actions recognized as page load actions should also be updated as executeOnLoad actions.

* Update action during updateLayout only if executeOnLoad is not set or is false.
2020-08-27 20:05:07 +05:30
Trisha Anand
fe769b2373 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-27 16:23:52 +05:30
Trisha Anand
a806935f82
Use a new API to set (unset) execute on load for an action. (#443) (#446) 2020-08-27 16:22:50 +05:30
Automated Github Action
be690bae35 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-27 08:06:24 +00:00
Shrikant Sharat Kandula
9534eeef0a
Add logs to alert when cloned action id is unavailable (#441) 2020-08-27 12:46:04 +05:30
Automated Github Action
8bb3b4ce72 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-25 09:05:54 +00:00
Trisha Anand
11eac73013
Clone application within the same organization (#414)
* WIP : First draft of clone applications

* Cloning of application now works correctly.

* Fixed the failing test case for page cloning.

* Added test case to assert the clone of application successfully.

* Minor function renaming to avoid confusion.

* Minor code refactoring to remove duplicate code.
2020-08-25 14:08:52 +05:30
Automated Github Action
beabf4731c Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-25 06:06:22 +00:00
Trisha Anand
8c20aeb95b
Example app being cloned must be set to private instead of public because public permissions are not given during cloning. (#418) 2020-08-25 11:12:55 +05:30
Automated Github Action
986cb846d8 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-25 03:05:57 +00:00
Trisha Anand
c253b7430b
1. Fixed the bug where policies are being set to empty during organization update (#415)
1. Fixed the bug where policies are being set to empty during organization update.
2. Added email field in organization.

* Updated the test case for update organization to assert the organization policies being present post the update.
2020-08-25 08:13:37 +05:30
Trisha Anand
ce41fec346
Bug fix : Example applications should have make public permissions for the administrator. (#416) 2020-08-25 08:12:13 +05:30
Automated Github Action
2050d455f5 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-24 07:05:44 +00:00