Commit Graph

2890 Commits

Author SHA1 Message Date
satbir121
fa7dc0b247
Text and TextInput component ads (#249)
* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* feedback changes added in button and icon component

* type any removed in button component

* Text component created with typography and story

* Fixing spinner issues

* Textinput component ads (#252)

* text input component with story is implemented

* Update README.md

* Fixing spinner issues

* Fixing hexToRGBA import

* story error fixed and text component commented for now

* props condition fixed and added error input story

* unused import removed

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>

* story spacing added and component name fixed

* feedback changes implemented

* forward ref added

* feedback changes implemented

* text and textinput stories updated

* pr comments resolved

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>
2020-08-14 10:28:03 +05:30
areyabhishek
70a1f5610a
Update README.md 2020-08-14 00:50:00 +05:30
vicky-primathon
02a2d8e0a3
Fix-table widget compact mode row height (#285)
* Table column header made sticky. Scrollbar background changed to be in consistent with the background for table body scroll and table header scroll

* Row height changed for short compact mode

* New "Tall" row size
2020-08-13 22:11:08 +05:30
satbir121
dab6d1ea3b
Adding base64 library to realm executor (#304)
* Adding base64 library to realm executor

* Changing base64 interface to btoa and atob

* Making base64 a dependancy
2020-08-13 22:07:15 +05:30
Trisha Anand
52e7ed4f02
Bug Fix : When role changes from developer to admin, the user was not being given make application public permission for the application (#302)
* During add role to an organziation, the application was only inheriting from subset of the organization permissions. Generalized this code to ensure that this doesnt happen again in the future when more permissions are introduced. Refactored some code as well.
2020-08-13 18:53:00 +05:30
Hetu Nandu
1b09c02f2e
Fork app for example apps (#292) 2020-08-13 15:03:44 +05:30
Arpit Mohan
a9e16ee6c0
Adding dummy check in server build to satisfy required status checks (#296)
This is a hack to get around the fact that Github Actions doesn't support conditional status checks for monorepo PRs. Hence, we create similar jobs in the both server & client builds. In the server build, those jobs are dummy jobs that do nothing but satisfy the all-encompassing green tick so that PRs can be merged without using Admin privileges.
2020-08-13 14:50:34 +05:30
satbir121
0fa2088571
Revert "Tabs component ads (#248)" (#297)
This reverts commit 1e4c9b01dc.
2020-08-13 13:44:59 +05:30
Abhinav Jha
2cb5e4442b
Tab Widget Fixes (#293)
* Issue: Tabs widget's child canvas widget's minHeight is not updating

* Fix: Warning removed for unused onTabChange event handler by removing event handler from props passed to ScrollableCanvasWrapper

* Removed tab container not working as droppable component if added again with same name fixed

* Selecting first tab as default tab when no tab is selected in tabs widget. Used getNextEntityName funciton to generate new tab name
2020-08-13 13:38:16 +05:30
vicky-primathon
e1676beba2
Table filters to be accessible in publish mode (#273)
Filters are only available on the client. This results in filters being available in published mode.
2020-08-13 13:26:10 +05:30
vicky-primathon
b62f5cf3c4
Table widget filter column clickable area encompasses the whole area within its borders (#278) 2020-08-13 13:24:46 +05:30
vicky-primathon
1def463767
Table filters popup width increased, so that condition is not trimmed (#281) 2020-08-13 13:23:50 +05:30
vicky-primathon
9a9a04626e
Sticky Table Header
Table column header made sticky. 
Scrollbar background changed to be in consistent with the background for table body scroll and table header scroll
2020-08-13 12:23:21 +05:30
vicky-primathon
ef570567f6
Table column sorting on single click (#282) 2020-08-13 12:15:28 +05:30
satbir121
1e4c9b01dc
Tabs component ads (#248)
* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* tabs component implemented and theme type added

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* tab props fixed

* feedback changes added in button and icon component

* type any removed in button component

* Fixing spinner issues

* Removing unwanted files.

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-08-13 10:47:58 +05:30
Abhinav Jha
1ced3aa67a
Add sentry release and environment configurations (#277)
* Add sentry release and environment configurations

* Fixing nginx config issue

Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-08-13 10:16:06 +05:30
Hetu Nandu
fbbe32c8f7
Fix Modal widget overlay to cover top bar (#266) 2020-08-12 20:18:49 +05:30
Arpit Mohan
10f462b229
Adding a test for the valid scenario when returning the plugin form details (#295)
We use @SpyBean annotation to partially mock the PluginService class.
2020-08-12 20:09:56 +05:30
akash-codemonk
aab61cf5fd
Set current value instead of default value when there is an error (#214)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-08-12 18:28:05 +05:30
akash-codemonk
4abc0b2637
Remove dark mode for query editor (#294) 2020-08-12 18:24:16 +05:30
Abhinav Jha
38afc64a5d
Update: When clicking on a page in the entity explorer, the canvas of the page opens (#288) 2020-08-12 18:00:07 +05:30
Tejaaswini Narendra
68e048761a
fix: restructure code and show content based on permission (#261)
* fix: restructure code and show content based on permission
- Restructure Invite user forms into separate App and Org forms
- Show Modal content based on permissions.

* update: Permission handling.

* fix: Modify permission handling

* fix: check manage permission for manage users btn and show copy to clipboard always.

* Dummy commit to run the tests

* Fix: Test cases

* Another dummy commit to run the tests

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2020-08-12 17:11:56 +05:30
Shrikant Sharat Kandula
368ed79f4b
Removed OPA config (#291)
* Removed OPA config along with the bundle and rules files
2020-08-12 16:52:42 +05:30
Shrikant Sharat Kandula
30c595678d
Set transient fields when loading application by id (#287) 2020-08-12 15:35:50 +05:30
Trisha Anand
c3c8e532c6
Updated the invite and make public app migration script more performant so that it takes lesser time on big db (#289)
* Updated the migration script to make more db queries instead of searching in the local app memory

* Permission correction.
2020-08-12 15:35:04 +05:30
Abhinav Jha
fecc6d3bbf
Add develop deploy context in netlify.toml (#284) 2020-08-12 14:18:07 +05:30
satbir121
b3b06d4bdf
Moved FETCH_USER_DETAILS_ERROR to ReduxActionError (#283) 2020-08-12 13:31:25 +05:30
Trisha Anand
7ee21456d5
Share Changes : Adding users to organization permission updates (#262)
* Introduced new permissions for making app public and inviting users.

* WIP : Returning a subset of roles depending on the current user's role

* Added code and tests for generating hierarchical children given a role name

* Get all invite roles now returns roles depending on the current users permissions (aka - admin can invite users for all roles, developers can invite users for roles develoeprs and below)

* When invite api is called, check if the user has correct permissions ( invite permission) and check if the role for which the users are bieng invited is allowed (aka the current user has the permission to invite for the said role)

* Introduced a new permission at application level which is inherited from manage:organizations. This new permission gives the administrator of the organization to make any application public .

* Incorporated review comments.

* Minor code changes.

* Added migration script to add the new policies introduced as part of this new share modal changes.

* Null pointer exception handled due to improper data in the database.

* Integration testing bug fixes.
2020-08-12 13:23:44 +05:30
Tejaaswini Narendra
c77452775b
update: Invite user dropdown UI (#267) 2020-08-12 12:47:15 +05:30
akash-codemonk
7565ca69d2
Use local stored config for property pane (#212) 2020-08-12 12:29:27 +05:30
akash-codemonk
a0351bfe81
Get query ui from form config (#205)
* Get query ui from form config

* Update editor config selector

* Show error message when config is undefined

* Move FormLabel to components

* Show dark theme in query editor

* Allow query name to be focused
2020-08-12 11:57:35 +05:30
vicky-primathon
c0527a4816
Reset page number when searching in table widget (#274) 2020-08-12 10:52:19 +05:30
Abhinav Jha
c4de6a20a5
Fix: Entity property overflows (#275)
Fixes issue where entity property binding text overflows to the next line.
2020-08-11 18:19:17 +05:30
Nandan H A
da02f5eed5
curl command updated for POST operation (#279)
Co-authored-by: Nandan <nandan@thinkify.io>
2020-08-11 18:16:36 +05:30
vicky-primathon
6abd79537e
Fix: Cursor going to start when editing content in rich text editor widget (#265) 2020-08-11 18:01:50 +05:30
vicky-primathon
94b829513e
Wrapped table cell value in double quotes to avoid column escape when downloading as CSV (#264) 2020-08-11 17:23:39 +05:30
Trisha Anand
a6496bd5af
Correcting the Docker image for Appsmith server for Github actions test (#260)
* Correcting the Docker image for Appsmith server for Github actions test

* Also fixing the bug where the datasource config is not returned properly for restapi-plugin

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-08-11 16:53:47 +05:30
vicky-primathon
bd4c34f56e
Sorted widget names in lightning menu (#263) 2020-08-11 16:31:34 +05:30
Abhinav Jha
e38bd9f37b
Fix: Missing widgets when searching in entity explorer (#270) 2020-08-11 16:28:39 +05:30
Shrikant Sharat Kandula
115bff546c
Replace class-level generics with method-level in PolicyUtils (#257) 2020-08-11 14:07:52 +05:30
Shrikant Sharat Kandula
3e1522628f
Fix numbers being converted to floats in JSON Post body (#241) 2020-08-11 14:07:34 +05:30
Shrikant Sharat Kandula
0c344115c3
Add transient field on applications to indicate whether it's an example application (#256)
* Add transient field on application to indicate whether it's an example

* Add test for marking of example applications

* Remove unused constant
2020-08-11 14:00:41 +05:30
Shrikant Sharat Kandula
dc10f09906
Fix organization cloning gets stale action IDs inside onLoad actions (#245)
* Fix organization cloning gets stale action ids for onload

* Fix test for onload action's organization after cloning
2020-08-11 13:58:50 +05:30
Trisha Anand
43d633f007
Setting role name while adding a user to an organizaiton. (#258) 2020-08-11 09:45:23 +05:30
Trisha Anand
9d78b020bc
Fix: Multi User Invite (#208)
- Use updated API structure
- Use single API to invite multiple users instead of looping.

Co-authored-by: Tejaaswini <tejaaswini.narendra@codemonk.in>
2020-08-11 09:24:36 +05:30
Trisha Anand
d2442eb815
DO NOT MERGE: Bulk invite user to organization (#182)
* WIP: Not working bulk invite.

* WIP : Non compilable.

* Current test cases running.
TODO : Code Cleanup and write new test cases for bulk invite.

* Code cleanup

* Added a test case for bulk invite of users to an organization.

* Incorporated review comment.

* Merged the latest release and incorporated review comments.

* Corrected the error thrown when usernames is empty or null for invite user API.
2020-08-11 09:24:21 +05:30
Shrikant Sharat Kandula
10faf95e87
Signup form now does a standard HTTP form submit (#234)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-08-10 17:49:46 +05:30
vicky-primathon
76bc382a2d
Table Widget UI Filters (#61)
New Table Widget Feature
- Filter columns
- Misc table widget bug fixes
2020-08-10 16:46:13 +05:30
vicky-primathon
6a53e1e0ed
Added compact modes to table widget UI (#222)
New Feature: Table Widget compact rows
Users can now use different sizes for rows in the table widget
2020-08-10 15:31:36 +05:30
Shrikant Sharat Kandula
25b752843f
Auto-login on signup (#201)
* Auto-login on signup works!

* Support form-encoded data body for signup requests

* Remove debug log entry when getting session

* Refactoring and add some docs to UserSignup solution

* Move user object construction to UserSignup solution

* Redirect with error message on signup errors
2020-08-10 14:59:56 +05:30