Commit Graph

2766 Commits

Author SHA1 Message Date
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
Abhinav Jha
5e37a919ef
Property pane render when navigating to a widget on a different page (#255)
* Fix: When navigating to a widget, the widget reference isn't found, resulting in the property pane rendering without reference. Resolution: Show property pane only if reference is available
2020-08-10 14:59:06 +05:30
Shrikant Sharat Kandula
b511c3ada9
Change return type of plugin execution to be more specific (#247) 2020-08-10 14:41:32 +05:30
NandanAnantharamu
05f190c102
Feature/entity browse (#220)
# New Feature: Entity Explorer
- Entities are actions (apis and queries), datasources, pages, and widgets
- With this new feature, all entities in the application will be available
  to view in the new entity explorer sidebar
- All existing application features from the api sidebar, query sidebar, datasource sidebar and pages sidebar
  now are avialable on the entity explorer sidebar
- Users are now able to quickly switch to any entity in the application from the entity explorer sidebar.
- Users can also search all entities in the application from the new sidebar. Use cmd + f or ctrl + f to focus on the search input
- Users can rename entities from the new sidebar
- Users can also perform contextual actions on these entities like set a page as home page, copy/move actions, delete entity, etc from the context menu available alongside the entities in the sidebar
- Users can view the properties of the entities in the sidebar, as well as copy bindings to use in the application.
2020-08-10 14:22:45 +05:30
Nikhil Nandagopal
2bfd176a32
Update README.md 2020-08-10 13:58:56 +05:30
Nikhil Nandagopal
51a267c8f2
Fix/release (#254)
* Added Redux action to clear widget meta properties when page is fetched

* reset widget meta for view mode too

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-10 12:22:47 +05:30
vicky-primathon
859bd0962c
Fix-Show page controls in table widget when server side pagination is enabled and table is resized (#223)
Pagination control UX modified for server side pagination.
2020-08-10 12:17:47 +05:30
vicky-primathon
c68114331c
Feature/table ui sort columns (#238)
* Added sorting functionality in table widget

* Removing sorting for Images and Video column types

* Code review changes incorporated
2020-08-10 12:15:31 +05:30
dependabot[bot]
32eabfcd3d
Bump prismjs from 1.20.0 to 1.21.0 in /app/client (#244)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-10 12:01:51 +05:30
satbir121
4a0d2ebe03
Fixing primary secondary color for button. (#253) 2020-08-10 11:56:41 +05:30
Nikhil Nandagopal
363081d7b6
Update README.md 2020-08-10 10:51:36 +05:30
satbir121
3a4d900235
Button Component (#190)
* 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

* function naming corrected

* Changing empty string to null

* Adding enum for DropdownDisplayType.

* Change Spinner path

* Fixing spinner issues.

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-08-10 10:24:33 +05:30
Nikhil Nandagopal
568e6d7f8a
Added Redux action to clear widget meta properties when page is fetched (#243)
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-08 00:10:34 +05:30
Hetu Nandu
0e7c0c3ce4
Widget fixes (#242)
* fix table styles

* rich text editor fix

* Fix action panes showing as blank

* correct fix this time

* cleanup

* default search in table

* Fix for text widget heading style

* Fix for table widget filtered table search

* Another approach to see if app has been created

* Fixes in styles of table and text
2020-08-07 23:39:54 +05:30
Hetu Nandu
42ab557aca
Add url and user inside data tree (#240)
* Add url and user inside data tree

* Cleanup

* change key to URL

* add email and username instead of name
2020-08-07 19:54:26 +05:30
akash-codemonk
e265a1cfa3
Add missing isDisabled prop to filepicker, radio and dropdown components (#231) 2020-08-07 18:47:15 +05:30
Nikhil Nandagopal
db46d1aede Merge branch 'fix/release' into release 2020-08-07 17:34:27 +05:30
Nikhil Nandagopal
a6721a1fec Fixed tab default value 2020-08-07 15:31:49 +05:30
Hetu Nandu
c937a149ee
Replace APPSMITH_MARKETPLACE_URL flag with APPSMITH_MARKETPLACE_ENABLED (#197) 2020-08-07 13:05:38 +05:30
Nikhil Nandagopal
9b867e4fe0 added on Tab selected for tab widget 2020-08-07 12:53:15 +05:30
Hetu Nandu
dc3fc8a7ee
Fix for Text spec failing (#239) 2020-08-07 12:40:54 +05:30
Hetu Nandu
955e9a2f2b
App Edit top bar (#232) 2020-08-07 12:26:47 +05:30
satbir121
bca3787f78
Reducing analytics userData size. (#235) 2020-08-07 12:25:09 +05:30
Nikhil Nandagopal
cd4fc4e20e
Merge branch 'master' into release 2020-08-07 12:03:33 +05:30
Abhinav Jha
311cd775b6
Fix: Location search control now uses the google maps api key from configs (#236) 2020-08-07 11:52:36 +05:30