Commit Graph

18234 Commits

Author SHA1 Message Date
Trisha Anand
89d77ed0e0 Merge branch 'feature/unique-page-name' into 'release'
Adding unique constraints in the mongo db collections using composite keys.

See merge request theappsmith/internal-tools-server!79
2019-11-19 09:02:14 +00:00
Trisha Anand
9a4fea1c56 Updates for getting the test cases for Organization service to run. Since unique name is a new constraint added, the old test cases didnt account for the same. 2019-11-19 09:02:14 +00:00
Trisha Anand
3ce4326b1c Merge branch 'feature/action-valid-flag' into 'release'
Allow creation of invalid actions and datasources

Closes #82

See merge request theappsmith/internal-tools-server!75
2019-11-18 12:20:10 +00:00
Trisha Anand
44e17eef7b Added fields : flag isValid & string array of invalids to track if an action/datasource is invalid and what are the invalidities. This allows for the creation of actions and datasources even if they are invalid. Each update to the object leads to new computation of the validity.
When executing the isValid flag is tested and if false, the execution is stopped.
2019-11-18 12:20:10 +00:00
Arpit Mohan
c5445533f3 Merge branch 'master' into 'release'
Merging master into release to sync up the branches

See merge request theappsmith/internal-tools-server!78
2019-11-18 08:46:59 +00:00
Nikhil Nandagopal
2701d3fa39 Merge branch 'feature/demo' into 'release'
minor fixes

See merge request theappsmith/internal-tools-client!149
2019-11-14 17:06:32 +00:00
Nikhil Nandagopal
e08ea36181 minor fixes 2019-11-14 17:06:32 +00:00
Hetu Nandu
ce707f929b Merge branch 'fix/validation-fix' into 'release'
Validation hot fix

See merge request theappsmith/internal-tools-client!148
2019-11-14 14:26:23 +00:00
Hetu Nandu
b5f8cff7df Validation hot fix 2019-11-14 14:26:23 +00:00
Hetu Nandu
5dd039ad28 Merge branch 'fix/header-params' into 'release'
Header Params has initial two fields

See merge request theappsmith/internal-tools-client!147
2019-11-14 13:35:39 +00:00
Hetu Nandu
b7871d3433 Header Params has initial two fields 2019-11-14 13:35:39 +00:00
Hetu Nandu
eff9ad84be Merge branch 'fix/action-create-default-values' into 'release'
Fixes before demo

See merge request theappsmith/internal-tools-client!146
2019-11-14 13:13:35 +00:00
Hetu Nandu
3193543c1c Fixes before demo 2019-11-14 13:13:35 +00:00
Arpit Mohan
5f43918cee Merge branch 'feature/release-gitlab-ci' into 'release'
Creating docker images from the release and master branches

We now create docker images from the release and master branches and publish this to Docker hub. This is done to ensure that we can setup separate environments for production and staging. Required for stability and testing. This has been done by creating a Docker image by invoking the Dockerfile via the .gitlab-ci.yml file. The master branch will push to the release tag while the release branch will push to the release tag.

See merge request theappsmith/internal-tools-server!77
2019-11-14 12:50:37 +00:00
Arpit Mohan
8fbf61502f Creating dockerfile that creates the server image.
Also modifying .gitlab-ci file to push docker image to the registry
2019-11-14 12:50:37 +00:00
Hetu Nandu
b9e3390416 Merge branch 'fix/dynamic-view-bindings' into 'release'
Fix table widget render issue

See merge request theappsmith/internal-tools-client!145
2019-11-14 12:16:12 +00:00
Hetu Nandu
9ebcc370b7 Fix table widget render issue 2019-11-14 12:16:11 +00:00
Nikhil Nandagopal
47407cfe8a Merge branch 'feature/appviewer-update-fixes' into 'release'
Fix: Dynamic binding update on updateWidgetProperty

Closes #275

See merge request theappsmith/internal-tools-client!141
2019-11-14 11:17:36 +00:00
Abhinav Jha
eb07e7ad9f Fix: Dynamic binding update on updateWidgetProperty 2019-11-14 11:17:36 +00:00
Hetu Nandu
c0f2c3e6ee Merge branch 'fix/selected-row' into 'release'
Selected row data is now updated on tableData change

Closes #277 

Selected row data is now updated on tableData change

See merge request theappsmith/internal-tools-client!143
2019-11-14 11:05:45 +00:00
Satbir Singh
55167f89d7 Selected row data is now updated on tableData change 2019-11-14 11:05:45 +00:00
Hetu Nandu
823544ee90 Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!144
2019-11-14 09:42:35 +00:00
Hetu Nandu
b68706ef53 Merge branch 'property-validations' into 'release'
Property validations

Added validation for static and dynamic property changes of the widgets. A small validation error will be shown when the input or evaluated input is not matching the required type of the property input

See merge request theappsmith/internal-tools-client!124
2019-11-14 09:28:51 +00:00
Hetu Nandu
750d69a6c6 Property validations 2019-11-14 09:28:51 +00:00
Hetu Nandu
fe91dd4441 Merge branch 'fix/api-pane-p1' into 'release'
Api Sidebar and Api dropdown fixes

Fixes:
* #244 Added a cursor at the end of the tag, improved tag styles
* #232 #228 #227 #199 Via various styling changes

See merge request theappsmith/internal-tools-client!142
2019-11-14 09:01:23 +00:00
Hetu Nandu
fadb2cae6b Api Sidebar and Api dropdown fixes 2019-11-14 09:01:23 +00:00
Trisha Anand
0184bc42b6 Merge branch 'feature/plugin-datasource-validation' into 'master'
Datasource validation as part of plugin functionality

See merge request theappsmith/internal-tools-server!70
2019-11-14 08:50:02 +00:00
Trisha Anand
31cf94f08e 1. Added datasource validator function in the plugin interface which simply returns true for all the current plugins.
2. Added static method getPluginExecutor as a util function which removes duplicate code from across different files.
2019-11-14 08:50:02 +00:00
Satbir Singh
3010ec3296 Merge branch 'fix/action-execution' into 'release'
Action can be unset. Actions are validated before executing.

Fixes #265 #264 

Previously, if you select an action in the property pane, there was not way to clear it. The actions can be removed now by clicking on a close button next to the dropdown.

Also, front-end code would try to execute an action even if there no actionId selected in the property pane. Now, there is a validation before action execution to check that.

See merge request theappsmith/internal-tools-client!140
2019-11-14 07:42:24 +00:00
Satbir Singh
ff80a4b267 Action can be unset. Actions are validated before executing. 2019-11-14 07:42:24 +00:00
Arpit Mohan
98662714dc Merge branch 'feature/view-published-page' into 'master'
Endpoint to view published page using just PageId

Fixes #83 

We now return all the published layouts for a given pageId in the view mode. In the future, we will whittle the layouts down based on query parameters and other factors to return a single layout in the published page. Today, since most pages only have a single layout, there is no performance impact.

See merge request theappsmith/internal-tools-server!76
2019-11-14 07:06:34 +00:00
Arpit Mohan
f62cd1f21a Endpoint to view published page using just PageId. The layoutId is no longer required. 2019-11-14 07:06:34 +00:00
Arpit Mohan
9267d00d22 Merge branch 'bug/action-with-name' into 'master'
Action only with name now supported

See merge request theappsmith/internal-tools-server!72
2019-11-13 12:26:12 +00:00
Trisha Anand
0d21680f08 Action only with name now supported 2019-11-13 12:26:12 +00:00
Arpit Mohan
4b1f673584 Merge branch 'feature/property-pane-get-api' into 'master'
Adding CRUD API for configurations. The name for the config will be unique across the dataset

Moving the propertyPane API to the config API because it's more generic. Now we will be able to fetch properties using the name of the config parameter. This will allow us to store all the configurations in a single location. This is a more extensible design.

TODO: We still have to make the datastructure of the Config domain more generic. At the moment, it's meant to help the client transition from the older `propertyPane` API to the new `config` API.

See merge request theappsmith/internal-tools-server!71
2019-11-13 12:17:33 +00:00
Arpit Mohan
f4daa33493 Adding CRUD API for configurations. The name for the config will be unique across the dataset. 2019-11-13 12:17:32 +00:00
Hetu Nandu
bbd5bb02c3 Merge branch 'fix/ui-fixes' into 'release'
UI fixes

See merge request theappsmith/internal-tools-client!139
2019-11-13 11:34:11 +00:00
Hetu Nandu
884984bea0 UI fixes 2019-11-13 11:34:11 +00:00
Satbir Singh
9c362f4d1b Merge branch 'fix/radio' into 'release'
Adding delete radio option button and fixing ordering issues.

Fixes #209 

Added delete radio option button.
Ordering issues were happening when you try to add a new option or update an existing option. These issues have been fixed.

In the issue #209 , it was mentioned that value is not very clear. The value is not yet renamed in this PR.

See merge request theappsmith/internal-tools-client!137
2019-11-13 10:35:35 +00:00
Satbir Singh
5653b046df Adding delete radio option button and fixing ordering issues. 2019-11-13 10:35:35 +00:00
Arpit Mohan
72497e927c Merge branch 'feature/user-multi-orgs' into 'master'
User association with multiple organizations

Fixes #68 

A user can now be associated to multiple organizations. By default the first organization that the user joins is the default one. The user can then switch between these organizations and work on them independently. At a given time though, the user will be operating on a single organization in a login session.

See merge request theappsmith/internal-tools-server!57
2019-11-13 10:23:23 +00:00
Trisha Anand
f81e22b1a5 Adding the capability to associate a user with multiple organizations 2019-11-13 10:23:23 +00:00
Hetu Nandu
5886bccbdc Merge branch 'fix/api-pane-p0' into 'release'
Fix various api pane bugs

See merge request theappsmith/internal-tools-client!136
2019-11-13 07:34:59 +00:00
Hetu Nandu
8c8312928a Fix various api pane bugs 2019-11-13 07:34:59 +00:00
Abhinav Jha
63d86bf9fe Merge branch 'feature/appviewer-fixes' into 'release'
AppView display positioning

Fixes for the discrepancy between the builder view and AppViewer.
Fixes for no collision scenarios.

- Fixes #127 Widget sizes don't vary when selected and unselected
- Fixes #219 Widget sizes in builder and appviewer are now the same size
- Fixes #212 Widget names now appear for all widgets when selected
- Fixes #155 Widgets collisions now happen when they should
- Fixes #153 Widgets cannot be dropped on top of one another. Unless, the widget is dropped within a container widget
- Fixes #140 Drop Target grid dots, now, do not bleed off the Drop Target
- Fixes #211 Property Panes now have a close button as well as the widget type title
- Fixes #216 Input Widget now resizes appropriately when trying to resize.


See merge request theappsmith/internal-tools-client!122
2019-11-13 07:00:25 +00:00
Abhinav Jha
03e78f0751 WIP: Allow absolute paths for imports. Refactor ContainerComponent.tsx to PositionedContainer.tsx, CanvasWidgetContainer.tsx, ContainerComponent.tsx. Refactor all widgets and components to adhere to new props and apis. 2019-11-13 07:00:25 +00:00
Trisha Anand
ea5a892da3 Merge branch 'bug/empty-datasource' into 'master'
Datasource without any configuration is not valid. Deter the user from...

Closes #77

See merge request theappsmith/internal-tools-server!69
2019-11-13 06:08:36 +00:00
Trisha Anand
55a29c448c Datasource without any configuration is not valid. Deter the user from creating one in such a scenario 2019-11-13 06:08:36 +00:00
Trisha Anand
0a80fe8d7f Merge branch 'bug/api-names-without-space' into 'master'
Api name validation : Don't allow whitespace

Closes #76

See merge request theappsmith/internal-tools-server!66
2019-11-13 05:51:01 +00:00
Trisha Anand
df904539ca Datasource instead of DatasourceId is expected as part of Action. During create and update action, datasource can also be created, which is automatically saved as part of datasource collection 2019-11-13 05:51:01 +00:00