Commit Graph

7098 Commits

Author SHA1 Message Date
Nidhi
e87973454d
Switched image to latest release image to avoid breaks while developing (#7289) 2021-09-10 08:05:10 +05:30
Nidhi
7ac1017b80
fix: Js editor view mode collections accessible to anonymous users (#7321)
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
2021-09-09 23:26:02 +05:30
dependabot[bot]
02784d9b4e
chore(deps-dev): bump axios in /app/server/scripts/node (#7318)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 22:14:58 +05:30
dependabot[bot]
238698e2e9
chore: bump tar from 6.1.6 to 6.1.11 in /app/client (#7070)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.6 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.6...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 16:39:55 +00:00
Trisha Anand
a272a0ec7a
feat: Add consumption of UQI UI templates (#7082)
* Same templates for mongo fetch

* WIP

* Working version

* Minor refactoring and addition of comments for understanding the code flow

* Minor fileName change

* Extra check added to only try to read options for command
2021-09-09 16:39:42 +00:00
Rishabh Saxena
e7cec074aa
refactor: reset comments fetched flag at the init sagas (#7265) 2021-09-09 16:01:26 +00:00
Abhinav Jha
b49f5097c6
refactor: Widget Development API (#6405) 2021-09-09 20:40:22 +05:30
Bhavin K
cc28b82ec6
fix: add migration for removed table default selected row (#7276)
fix: revert migration and add reverse migration for table widget's last migration.
2021-09-09 19:13:36 +05:30
Pranav Kanade
94e7594820
fix: sniping checkbox will set the string not boolean (#7311)
This prevents a crash from happening when an object is bound to the checkbox.
2021-09-09 18:49:39 +05:30
Shrikant Sharat Kandula
9b98621010
Restore a few missing fields on appsmith.user object (#7295)
With latest update, the following fields are unavailable on the `appsmith.user` object:

- `accountNonExpired`
- `accountNonLocked`
- `credentialsNonExpired`
- `isAnonymous`
- `isEnabled`

These fields are necessary for building applications and many apps were relying on these, despite them not being listed in the documentation at <https://docs.appsmith.com/framework-reference/appsmith#user>.
2021-09-09 15:34:02 +05:30
somangshu
f18d58bb12 Revert "fix: property pane (#7157)"
This reverts commit 72f667bec4.
2021-09-09 13:48:16 +05:30
akash-codemonk
3ded440ca8
fix: convert message to string if it is not to avoid crash (#7272) 2021-09-09 11:05:25 +05:30
yatinappsmith
6f4d91865b
commenting dropdown_spec (#7271) 2021-09-09 10:31:16 +05:30
Apeksha Bhosale
09eea59330
feat: JS Editor (#6003)
* Changes to add js plugin

* routes+reducer+create template

* added debugger to js editor page

* entity explorer changes

* create js function

* added copy, move and delete action

* added js plugin

* added existing js functions to data tree

* removed actionconfig for js collection

* new js function added to data tree and entity as well

* parsing flow added

* changes to data tree

* parse and update js functions

* small changes for def creator for js action

* create delete modified

* small changes for update

* update flow change

* entity properties added

* removed linting errors

* small changes in entity explorer

* changes for update

* move, copy implementation

* conflict resolved

* changes for dependecy map creation

* Only make the variables the binding paths

* Basic eval sync working

* Minor fixes

* removed unwanted code

* entity props and autocomplete

* saving in progress show

* redirection fix after delete js action

* removed unnecessary line

* Fixing merge conflict

* added sample body

* removed dummy data and added plugin Type

* few PR comments fixed

* automplete fix

* few more PR comments fix

* PR commnets fix

* move and copy api change

* js colleciton name refactor & 'move to page' changes & search

* view changes

* autocomplete added for js collections

* removing till async is implemented

* small changes

* separate js pane response view

* Executing functions

* js collection to js objects

* entity explorer issue and resolve action on page switch

* removed unused line

* small color fix

* js file icon added

* added js action to property pane

* Property pane changes for actions

* property pane changes for js functions

* showing syntax error for now

* actions sorted in response tab

* added js objects to slash and recent entitties

* enabling this to be used inside of function

* eval fix

* feature flag changes for entity explorer and property pane

* debugger changes

* copy bug fix

* small changes for eval

* debugger bug fix

* chnaged any to specific types

* error in console fix

* icons update

* fixed test case

* test case fix

* non empty check for functions

* evaluate test case fix

* added new icons

* text change

* updated time for debounce for trial

* after release mereg

* changed icon

* after merge

* PR comments simple

* fixed PR comments - redux form, settings remove

* js object interface changes

* name refactor

* export default change

* delete resolve actions chnage

* after merge

* adding execute fn as 3rd option and removed create new js function

* issue 7054 fixed - app crash

* execute function on response tab changes

* refactor function name part 1

* refactor of js function name

* try catch added refactor

* test fix

* not used line removed

* test cases locator fixed

Co-authored-by: Nidhi <nidhi.nair93@gmail.com>
Co-authored-by: hetunandu <hetu@appsmith.com>
2021-09-08 23:02:22 +05:30
Nayan
6247b6a3a5
feat: Generate and store ssh key to git meta data of application (#7184)
- Added new API that generates a new ssh key pair and stores that inside the git meta data of an application. The key is generated in open ssh format. The private key is stored as encrypted in DB.
2021-09-08 20:54:20 +06:00
Nikhil Nandagopal
72f667bec4
fix: property pane (#7157)
* updated widget properties

* updated placeholders

* updated default for date

* lint fix

* Fixed more styles and reverted changes to input widget

* adjusted default sizes of different widgets

* resized image in list widget

* reduced chart default data

* fixed tests

* PR comment fixes

* fixed tests failing

* fix: Fixed failing jest tests because of an error in chart widget propertyConfig object

Co-authored-by: somangshu <somangshu.goswami1508@gmail.com>
2021-09-08 20:03:06 +05:30
Nidhi
a7239cfa5b
feat: Changes to add js plugin (#4861)
Adds server side changes for supporting JS editor
2021-09-08 19:17:30 +05:30
Ayush Pahwa
dd7ad6a3ed
feat: Updating query fom render according to new json structure (#7188)
* Updated renderEachConfig function, changed keys for eval storing

* Removed unused imports
2021-09-08 11:35:06 +00:00
Paul Li
4c6fb4fcb6
feat: New widget - Audio Recorder widget (#6702)
User can record audio / play it as feedback and then use the data in any API with the help of this new widget
2021-09-08 16:30:36 +05:30
akash-codemonk
30899cbb4a
fix: Undoing delete widget does not restore the errors in the debugger (#7232) 2021-09-08 16:13:44 +05:30
rashmi rai
542a204a32
wrapped header text in AutotooltipComponent (#7186)
Co-authored-by: rashmi rai <rashmirai@appsmith.com>
2021-09-08 15:08:22 +05:30
Vicky Bansal
b7385ebd91
fix: Filter columns which has a column accessor (#7101)
* Filter columns which has does not have a column accessor property
2021-09-08 14:41:48 +05:30
Yash Vibhandik
387ba66f00
FIX #4952 : checked array before spread (#7027) 2021-09-08 14:30:07 +05:30
arunvjn
e9f079ea03
fix: snippets meta and short title (#7216) 2021-09-08 12:20:21 +05:30
ashit-rath
39aa4e6d8d
feat: Consistent styling for widgets disabled state (#6983)
* checkbox and button default styling

* rate widget disabled styling

* added cursor: not-allowed to disable css
2021-09-08 11:45:11 +05:30
Nayan
61eaaf1aab
fix: stop creating private thread if someone tagged a user in their first comment (#7205) 2021-09-08 10:50:11 +06:00
ashit-rath
863d992d77
fix: Tabs widget - full height when showTabs is false (#6949)
* Fix - Tabs widget - full height when showTabs is false

* added conditional height for ChildrenWrapper based on tab visibility state
2021-09-08 10:13:11 +05:30
Rishabh Saxena
b61be1eb66
fix: persist draft comments on clicking outside (#7156) 2021-09-07 20:53:40 +05:30
arslanhaiderbuttar
603e282529
test: Select UI test cases (#6328)
* Select/MultiSelect widget UI test cases

* Select/MultiSelect Test Cases

Dropdown-AlertModal
Dropdown-FromModal
Dropdown-Call-Api
Dropdown-Call-Query
Toggle JS - Dropdown-Call-Query
Toggle JS - Dropdown-CallAnApi Validation
Verify Search box for selecting drop-down options
Verify Dropdown default value
Dropdown Icon Visibility
Explore Widget related documents
Dropdown Close
On Option Change Action
Copy paste dropdown
Dropdown-Delete
Toggle JS - Dropdown-Unckeck Visible field
Toggle JS - Dropdown-ckeck Visible field

* Added new file button file and fixed the bugs in chart and button

Added new file button file and fixed the bugs in chart and button

* Fixed JS toggle for Button widget

* Added go to edit page from published page

* Removed the multiselect test cases from dropdown

* Select ui test cases fixes

* Select UI test fixes
2021-09-07 13:41:36 +00:00
Rishabh Saxena
5f6a948acd
fix: try making create new thread transition better (#7200) 2021-09-07 19:05:01 +05:30
Abhijeet
19e21e10c0
fix: Fetch all the schemas present in the postgres DB (#7204)
* Remove schema check from tables query for postgres DB in fetch structure
2021-09-07 18:50:46 +05:30
Rishabh Rathod
fafe03a2e7
chore: jest state update on unmount error (#7141)
Add clearTimeout to avoid setState on unMount
2021-09-07 18:43:56 +05:30
Rishabh Rathod
027ed55611
fix: omit props passing to DOM element (#7181) 2021-09-07 18:42:04 +05:30
Rishabh Rathod
a2a5439741
fix: text overflow gen CRUD form (#7180)
Fix #7151 : Text overflows the row when the table's column name is more than 25 characters.
2021-09-07 18:41:27 +05:30
Rishabh Saxena
ea1d49775c
fix: handle resolved/deleted comment threads after they're fetched (#7185) 2021-09-07 18:25:38 +05:30
arslanhaiderbuttar
c5503ee9e8
List widget UI test cases (#5535)
* List Widget UI Test Cases

List Widget UI Test Cases:

Change the List Widget Name
Add or Modify items
Change the Background Color
Change the Item Background Color
Enable Disable Visible
Enable Disable Visible - JS
Adding Query/API
Copy Widget
Delete Widget
Change the list and item background color using JS Button

* Update List_spec.js
2021-09-07 12:48:38 +00:00
Rishabh Saxena
89b10b5520
fix: close notifications list on clicking a list item (#7178) 2021-09-07 18:15:17 +05:30
Rishabh Saxena
928242d79b
fix: center alignment for profile placeholder (#7197) 2021-09-07 18:15:04 +05:30
Nayan
a17be566a9
feat: Removed unnecessary fields from exported application (#7198)
Removed unnecessary fields from exported application
2021-09-07 18:33:45 +06:00
akash-codemonk
f4adea8371
feat: Show contextual search menu for debugger errors (#7078) 2021-09-07 14:45:11 +05:30
Nidhi
8b8e57f010
Use BigDecimal to maintain precision (#7189) 2021-09-07 09:14:13 +00:00
Ashok Kumar M
370a4800c2
fix: resize breaks DnD (#7174)
This is an important fix for a blocker in release. Force merging
2021-09-07 13:13:25 +05:30
arunvjn
4fcfe07c67
fix: snippets UI (#7173)
Changes to snippets tab color and removed play icon on snippet.
2021-09-07 05:21:07 +00:00
Pranav Kanade
eee2e97728
fix: safeguarding selected widgets saga (#7133) 2021-09-07 10:15:13 +05:30
Sumit Kumar
77a33f770d
fix: fix Arangodb plugin response on update commands (#7182)
* ArangoDB has two types of command - one that fetches a response and the other that updates a document. Currently, ArangoDB plugin treats all cmds like the one that returns a response, hence when update cmds are run then an empty response is returned to the client since there is nothing to fetch. This PR adds a check to fetch the response based on the type of cmd. Hence, for an update cmd the number of writes succeeded or failed would be returned as a response.
2021-09-07 09:38:23 +05:30
Nikhil Nandagopal
1d2bcb277b Updated Template 2021-09-06 23:30:19 +05:30
Arpit Mohan
07caedb7e5
ci: Using appsmith's fork of labeler for minor enhancement & easier config (#7177)
Now we can add multiple title regexes for a PR and the labeler will automatically tag the PR with the appropriate labels. This will be useful when generated the release notes in a categorized fashion.
2021-09-06 22:48:35 +05:30
Nikhil Nandagopal
e7b95d2fd9
fix: Updated Template (#7169)
* Updated Template

* Updated Template

* Updated Template
2021-09-06 22:28:48 +05:30
arunvjn
a056bca136
Added null check in tern autocomplete (#7160) 2021-09-06 21:28:36 +05:30
Tolulope Adetula
ffe7b1f9e8
fix: add expected structure example to api pane based on the new validation structure (#6886) 2021-09-06 20:27:15 +05:30