Commit Graph

1647 Commits

Author SHA1 Message Date
Automated Github Action
4fe0fdc952 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-11-02 06:10:12 +00:00
Nikhil Nandagopal
2ec5b6297b
Fix/action splitting (#1497)
* fixed argument splitting logic to rely onregex instead of simple string split

* abstracted splitting function
2020-11-02 10:54:15 +05:30
Arpit Mohan
e3d5832a78 Merge branch 'master' into release 2020-10-31 17:43:06 +05:30
Arpit Mohan
90e9c131b1 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-10-31 17:26:29 +05:30
devrk96
7d6a70d3ce
Feature: New create app flow (#1375)
* EditableTextWrapper component implemented

* create new app flow implemented

* test cases for new create new app flow fixed

* role update element fixed

* before-all hooks fixed

* createOrg test cases fixed

* loading state test added

* editableText input unique identifier added in test-cases

* updateApplication API alias name corrected

* removed the second className prop on same component

* PR feedback implemented
2020-10-31 12:10:51 +05:30
Nikhil Nandagopal
3829ccbbd0 Merge branch 'master' of github.com:appsmithorg/appsmith
# Conflicts:
#	.github/workflows/client.yml
2020-10-30 20:13:49 +05:30
Automated Github Action
8d469ad24f Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-30 13:04:52 +00:00
Nikhil Nandagopal
5c26ef5d07
Fixed Bindings Working inside action selectors (#1484)
* added functions to convert string to JS and JS to string while manipulating property pane values
refactored getters and setters to reuse functions instead of creating multiple functions

* minor fixes

* optimized the js conversion function and fixed an edge case

* minor fix for type setters

* abstracted enum getter

* dummy commit
2020-10-30 18:05:21 +05:30
vicky-primathon
6a0e573c50 Query table scroll issue fixed (#1464)
* Query table scroll issue fixed

* Table widget horizontal scroll fix
2020-10-30 16:47:19 +05:30
Automated Github Action
dbdd5a9742 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-30 11:08:58 +00:00
vicky-primathon
0508bbd115 Query table scroll issue fixed (#1464)
* Query table scroll issue fixed

* Table widget horizontal scroll fix
2020-10-30 16:20:35 +05:30
vicky-primathon
b74bec311e
Query table scroll issue fixed (#1464)
* Query table scroll issue fixed

* Table widget horizontal scroll fix
2020-10-30 16:18:57 +05:30
Automated Github Action
d3ccf634f8 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-30 07:12:14 +00:00
akash-codemonk
d652c1485d
Update the action config with the datasource info (#1451) 2020-10-30 11:54:15 +05:30
Automated Github Action
2016c19b2f Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-29 19:04:39 +00:00
vicky-primathon
75c84cbba7
Map resetting when clicking on a marker fix (#1299) 2020-10-29 23:46:27 +05:30
Automated Github Action
7eb11f0007 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-29 14:09:24 +00:00
akash-codemonk
9553fe9b19
Merge datasources and actions in explorer (#1285) 2020-10-29 19:23:10 +05:30
Nuwan Sameera Alawatta
e782ca17e8
fix lightning bolt menu onhover bug (#1454)
* fix lightning bolt create new api onhover bug

* fix lightning bolt menu onhover bug
2020-10-29 19:00:04 +05:30
Automated Github Action
7e58c95ece Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-29 12:11:37 +00:00
devrk96
f6bb16a4e6
Fix: Invalid email error in invite modal (#1368)
* Invalid email error showing on entering incorrect email before submission

* error state name corrected

* colon removed from error message
2020-10-29 16:47:52 +05:30
satbir121
540f2637b5
Adding zoom on image widget. (#1356)
* Adding zoom on image widget.

* Changing zoom level to step.

* Fixed typescript issue.

* Added zoom-in/out on Click.

* Removing bad code.
2020-10-29 16:44:39 +05:30
Automated Github Action
6e1e226a62 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-28 16:12:54 +00:00
vicky-primathon
dbf98fde5f
Fix/table widget filter conditions (#1297)
* Table widget isEqualTo and notEqualTo conditions fixed
2020-10-28 21:10:33 +05:30
Automated Github Action
4bb2d491ee Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-28 15:09:29 +00:00
vicky-primathon
4cd2579dfa
Added horizontal scrolling in table widget (#1436)
* Added horizontal scrolling in table widget

* Handled table grow shrink with display table css property
2020-10-28 19:49:15 +05:30
Automated Github Action
3bc4ca12b3 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-28 12:11:09 +00:00
devrk96
5ebea89d98
Test cases: Application update (#1339)
* application name and icon update test cases implemented

* application icon update test case implemented
2020-10-28 17:36:30 +05:30
devrk96
bc70460093
role change update fixed (#1192) 2020-10-28 17:21:14 +05:30
Automated Github Action
4a754f526b Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-28 11:07:52 +00:00
Hetu Nandu
44725c983e
Use global history on 500 page (#1446) 2020-10-28 16:29:34 +05:30
Automated Github Action
ab0f016f03 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-28 08:11:24 +00:00
Jeff Rescignano
c967c03494
Add "back to home" CTA on 500 page (#1319)
Fixes: #1303 
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-10-28 13:38:52 +05:30
Arpit Mohan
ee683157a5 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-10-28 11:10:06 +05:30
devrk96
15ab7809f8
Org name, email and website update test cases implemented (#1433) 2020-10-28 11:09:28 +05:30
Arpit Mohan
d457614b4e Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-10-27 12:29:01 +05:30
akash-codemonk
a8b40dcd53
Do not show template view if there no templates. (#1330) 2020-10-27 12:03:45 +05:30
Nikhil Nandagopal
2557c1748c Merge branch 'master' of github.com:appsmithorg/appsmith 2020-10-27 11:39:36 +05:30
Nikhil Nandagopal
427aa7e74c disable sentry perf (#1399) 2020-10-27 11:39:05 +05:30
Automated Github Action
07fdd867a6 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-27 05:09:54 +00:00
akash-codemonk
0f34c7f38f
Secure connection UI (#1358) 2020-10-27 10:32:32 +05:30
Trisha Anand
eda489fd7f Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-26 18:07:37 +05:30
Trisha Anand
fc9ea45e3b
[API breaking change : Automated Tests Will Fail] Page And Action Refactor (#549)
* Introduced new page which stores the published and unpublished pages as separate.

* Mid level commit to save the state.

* Parity of new page repository with old page repository (custom functions)

* WIP : Delete a page. This requires changes across application structure as well.

* Added publishedPages construct inside application to store the pages in the deployed view as well as isDefault so that the same changes (delete or isDefault) in unpublished view doesn't alter these fields for the published application

* Parity reached with PageService.

* Minor ActionService refactor to remove unnecessary code.
ApplicationPageService, LayoutActionService, LayoutService use the new page service to fetch the pages
Minor corrections in fetching the page from new page service in tests

* New save function which sets the PageDTO for unpublished page and then saves the new page into repository.

* Migration of page service functions to new page service functions across other services/tests/controller

* Finished migrating all the page service functions to the new page service functions

* Application Service Tests have been fixed.

* All the existing test cases are working now.

* Publish application implemented to store published pages as well. Added a basic test case to check that published pages is being set and that page's publishedPageDTO is being set accordingly.

* Minor TODOs added to add test cases for published application.

* A few tests to ascertain that published application page fields (deleted, isDefault) does not get changed when these statuses are changed for a page in edit mode.

* Added a new controller end point to fetch application in view mode.

* Added new endpoint for fetching an application in view mode on the client.

* Bug fix where get application in view mode API was not getting called.

* Fixed the get page names by application & archive pages which have been deleted in edit mode during publishing of application.

* During delete page, if a page was never published and it was deleted during edit, delete the entire page instead of just deleting the unpublished PageDTO

* Minor formatting.

* Non working client side code to fetch page list using view mode.

* revert unnecassary changes and streamlined view and edit actions

* Fix missed import

* Fixed a bug where if a page is not published, it should not be returned in view mode in list of page names api.

* Fixed update for a page which was not working in integration test.

* ActionDTO added.

* Solidified the new action structure.

* Migration added for NewAction index creation and NewAction per Action insertion in the database.

* Basic file structure added the new repository, custom repository, service, etc.

* Delete OldPage.java

* Repo functions added - TODO : Haven;t handled the published/edited views

* Helper functions added to convert Action to NewAction and vice-versa. Removed unused currentUserMono usage.

* Create & update action functionality added.

* Execute Action refactored. Removed dry run specific code.

* Repository migrated to handle new data structure. Execute action refactored to no longer support dry runs of actions.

* TODO added for special handling of change view of application to handle edge cases of pages/actions which either exist in published mode but don't exist in unpublished mode or vice versa.

* Migrated finding on load actions from spring repository to custom repository.

* In view mode, now actions are being fetched by application id directly instead of first fetching application and then using the page ids, fetching the actions. This reduces the db calls from 2 to 1 per fetch actions in view mode api call.

* Delete action and get all actions (used in edit mode on the client side) implemented.

* Updated CollectionService and ActionCollectionService to use the new action service instead of the old one.

* LayoutActionService refactored to now use the new service functions.

* ActionController now no longer used ActionService. The remaining service functions have been migrated to the new action service.

* Refactor across ACL code for addition/removal of policies during addition/removal of users to organization, making app public, refactor for services like policy utils, item service, etc.

* Removed the last of action repository and action service and replaced with new action repo and new action service.

* Compile and run time issues fixed. The server is coming up without any spring dependency errors.

* WIP in fixing fetching actions by page id.

* Finally!!! Fixed the fetch actions (both published and unpublished actions) by page id repository function.

* Fixed create action bug where null datasource in published actiondto (inside newly created action) leads to error.

* Fixed the execute action issues :
1. Removed the dry runs from the tests
2. Fixed the null pointer error in variable substituted action and datasource configurations.

* 1. Fixed the custom action repository field names.
2. Fixed the data structures used in ExamplesOrganizationClonerTests

* Fixed countByDatasourceId repository function which was querying the actions incorrectly.

* Fixed the clone example organization error where the id of the action was not getting updated in the page correctly. Yay!

* Fixed post merge compilation failure.

* Fixed more compilation time failures in ActionServiceTest

* Fixed failing test case for fetching actions in view mode.

* Minor changes to resolve merge changes and incorporate in the new refactored code.

* 1. Fixed compile time errors on Client code.
2. Fixed fetching of actions in view mode by application id. The repository function did not need name parameter. Removed the same.

* [Integration Testing Error Fix] : Added a new test case for refactor action name.

* Instead of fetching actions in the page, mistakenly used the base service which was fetching all the actions in the repository, barring none which led to the name refactor being blocked even though no action in the current page exists with the new proposed name,

* Added delete functionality to action service.

* Minor code cleanup

* Adding viewMode to action execution

* Replacing action with actionId.

* 1. Bug fix for deletion of unpublished action. In case of never published action, the entire action should be deleted. In case an action was published, only the unpublished action should be deleted.
2. In case of DB actions (external datasources), only the bare minimum fields should be stored inside the action (datasource id and datasource plugin id). The other fields should not be duplicated across code.

* Fixed yarn build compilation issues.

* Update app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ActionController.java

Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>

* Changed the API path for GET applications in view mode. Some minor code formatting.

* Incorporated review comments.

* Some more unnecessary code removed.

* Instead of returning Page, now the interface object between client and server for Pages is PageDTO

* Migrated Page and Action to PageDTO and ActionDTO
Fixed the compilation issues.
TODO : Fix the test compilation issues.

* Fixed compilation time issues with all the tests by migrating Page and Action to PageDTO and ActionDTO respectively

* Action Controller and Page Controller no longer extend Base Controller. All the required functions have now been implemented and no base line API end points are being re-used from the base.

* Test case fixes.

* Bug Fix : Updating an action was not updating execute on load. Fixed the data flow leading to the error.

* Deprecating Page and Action domain objects. This is to ensure no new code is written with these till we remove this old code.

* Cloned example applications are now published before returning. This is to ensure that the applications are in ready to view mode when the new user signs up.

* Added a function comment to expand on the usage of new param introduced.

* When cloning a page, new actions were not being stored. Added that. Also updated the clonePage test to assert that the actions are also cloned when the pages are cloned.

* Updated a Api call

* removed extra slash

Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
Co-authored-by: Satbir Singh <satbir121@gmail.com>
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
Co-authored-by: nandan.anantharamu <nandan@thinkify.io>
2020-10-26 18:04:23 +05:30
Automated Github Action
a2b08c34fc Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-26 12:10:37 +00:00
Nikhil Nandagopal
e963b3a2f5
disable sentry perf (#1399) 2020-10-26 16:46:24 +05:30
Automated Github Action
b574e62f69 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-26 10:09:13 +00:00
vicky-primathon
aa9bc58a90
Fix/map crash (#1301)
* Adding default map center to fix map crash issue

* API key removed
2020-10-26 15:31:01 +05:30
Automated Github Action
8a7915f655 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-10-26 07:09:51 +00:00
Thakur Karthik
57031fed10
Fix theme breaking with a slash in url (#1391)
Fixes #1386
2020-10-26 12:30:01 +05:30
Arpit Mohan
2382af48e1 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-10-25 12:37:47 +05:30