Abhijeet
a48aa9c72b
feat: Remove action and actionCollection ids in exported application JSON ( #10430 )
...
* Export action and actionCollection without actual ids
* Added TC
* Comments
2022-01-19 11:46:32 +05:30
Abhijeet
3471de90cd
fix: Gracefully handle defaultResourceIds exception ( #10454 )
...
* Gracefully handle defaultResourceIds exception
* Added TCs
* Remove sentry logs
2022-01-19 10:45:36 +05:30
Abhijeet
1ed1bf0e5d
feat: Apply JSON schema migration while importing the application using JSON file ( #10339 )
...
* Json schema version check added before importing an application
* Added TC
* Fieldname refactor to make it more relevant
2022-01-18 07:11:23 +00:00
Shrikant Sharat Kandula
f2d26db290
Use CDN for plugin icons ( #10393 )
...
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-01-15 12:54:30 +05:30
dependabot[bot]
7d64d7fa53
chore: bump h2 from 2.0.202 to 2.0.206 in /app/server/appsmith-interfaces ( #10414 )
...
Bumps [h2](https://github.com/h2database/h2database ) from 2.0.202 to 2.0.206.
- [Release notes](https://github.com/h2database/h2database/releases )
- [Commits](https://github.com/h2database/h2database/compare/version-2.0.202...version-2.0.206 )
---
updated-dependencies:
- dependency-name: com.h2database:h2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 04:13:05 +05:30
dependabot[bot]
d73b075aa2
chore: bump follow-redirects from 1.14.3 to 1.14.7 in /app/server/scripts/node ( #10413 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.3 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.3...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 03:43:12 +05:30
Snyk bot
65b5b61840
chore: [Snyk] Security upgrade com.h2database:h2 from 1.4.200 to 2.0.202 ( #9500 )
2022-01-15 03:37:21 +05:30
Favour Ohanekwu
72f8b7e2e1
feat: Support OAuth for all plugin types ( #9657 )
...
* customize datasource authorization
* improve performance
* fix save datasource bug
* switch auth type from form config
* better naming of components
* fix minor bug
* minor bug fix
* minor bug fix
* syntax cleanup
* Add comments where necessary
* Added comments where necessary
* fix broken airtable page
* code refactor and annotation
2022-01-14 12:01:54 +05:30
Abhijeet
0b71b3840c
Fix error for import curl when app is connected to git ( #10355 )
2022-01-14 08:59:56 +05:30
Abhijeet
c1e2a1ed59
Revert "chore: Don't take client subscription into account for fork application ( #10220 )" ( #10375 )
...
This reverts commit 814a7d57f9 .
2022-01-13 19:00:04 +05:30
Shrikant Sharat Kandula
cf59d4d10e
Update log4j patch version ( #10394 )
...
From https://logging.apache.org/log4j/2.x/security.html ,
log4j version 2.17.1 is the current recommended version.
2022-01-13 18:34:00 +05:30
Nayan
02be902fdc
feat: add page slug in the get pages API ( #10345 )
...
We've added slug for pages. Each page has a slug which is generated from name automatically. In our get pages API /api/v1/pages/application/<app_id>, the slug names were not included in the Page DTO. This PR adds slug name in this API response.
2022-01-13 17:29:09 +06:00
Anagh Hegde
f660c0696d
fix: Fix issue with current branch not deleted exeception ( #10334 )
2022-01-13 14:07:01 +05:30
Sumit Kumar
18edb18b20
fix: implement getStructure method for S3 plugin ( #8919 )
...
* Add `getStructure` implementation for S3 to return a list of accessible buckets.
* Add command templates for S3.
- List files
- Read file
- Create file
- Delete file
* Remove getDatasourceMetadata implementation as getStructure method can be directly used now.
2022-01-13 11:33:50 +05:30
Nidhi
1d1dd72106
fix: Fixed encoding for all requests in Google Sheets ( #10313 )
...
* Fixed encoding for all requests in Google Sheets
* Additional commit for CI check
2022-01-13 05:23:11 +00:00
Anagh Hegde
7718e03b76
fix: Change SSH key generation protocol for git ( #10307 )
...
* move away from RSA-SHA1 to ECDSA-SHA2 protocol for key generation
* Add migration to regenerate SSH keys via new protocol
* use 256 bit signature for the keys
* remove unused imports
* Fix error message for key generation
2022-01-12 12:05:35 +05:30
Sumit Kumar
7306967d0b
fix: fix page load action execution order ( #10252 )
...
* This PR fixes the page load action execution order when the actions have been set to run on page load explicitly via the settings tab by the user and its data has not been referenced in any other widget or action. e.g.
- create action1 and action2.
- make action2 dependent on action1 by adding {{action1.data}} in action2's body.
- set both action1 and action2 to run on page load via settings tab. Do not reference action1 and action2 data in any other widget or action.
2022-01-11 16:13:54 +00:00
Shrikant Sharat Kandula
a0aa41145b
chore: Re-run the fakeapi DB migration ( #10310 )
2022-01-11 13:38:07 +00:00
Abhijeet
814a7d57f9
chore: Don't take client subscription into account for fork application ( #10220 )
2022-01-11 16:20:40 +05:30
Abhijeet
5f14dcc798
chore: Add migration to update indexes for DB collection to include branchName param for git enabled apps( #10295 )
...
* Add migration to insert index to include branch param for newAction, newPage, application and actionCollection
2022-01-11 16:10:07 +05:30
Rishabh Rathod
034aadf835
fix: Update crud template ( #10281 )
2022-01-11 04:11:31 +05:30
Sumit Kumar
f045af8bfc
feat: Mongo plugin: add limit field to aggregate command to allow users to define batchSize ( #10257 )
...
* This PR adds a limit field which sets the batchSize for aggregate command. This way the user can set the number of documents they want in their Mongo query result.
* limit is set to 10 initially. However, for pre-existing Mongo actions, migration has been added to set this field to 101 - which is the default value that has been used by Mongodb in the absence of any user set value. Ref: https://docs.mongodb.com/manual/tutorial/iterate-a-cursor/
2022-01-10 16:42:30 +00:00
Rishabh Rathod
b4a5540b60
chore: Revert "Updated Template ( #10146 )" ( #10248 )
...
This reverts commit 28d05e29fc .
2022-01-10 13:23:50 +05:30
Anagh Hegde
2469d21c51
fix: ssh to http url conversion ( #10173 )
...
* fix ssh to http url conversion
* fix sync branch issue
* changes per review
* changes per review
* fix error message
2022-01-10 11:00:36 +05:30
Rishabh Rathod
28d05e29fc
Updated Template ( #10146 )
...
Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>
2022-01-07 10:12:14 +00:00
Abhijeet
92a5cbf7f2
chore: Don't take client cancellation for git flows into account to keep the repo and DB in sane state even when client cancels subscription ( #10036 )
...
* Added Mono sink calls for git and import application APIs
* TC for import-export
* Update TCs for gitService
* Added git commit and create branch test
* Test added for midway cancellation flow
2022-01-06 20:04:35 +05:30
Anagh Hegde
ed490304d9
feat: Git import - generate and save SSH Keys ( #9129 )
...
* Added API to generate deploy keys and store them in a collection for import flow
* Add tests for the key generation flow
* Move the key generation to helper class
* changes per review
* changes per review
2022-01-06 15:16:33 +05:30
Nayan
758d6d6725
fix: Fixed error due to string to instant serialization ( #10074 )
...
Fixes the serialization exception when exported application has deleted JSObject.
Fixes #9807
2022-01-06 11:13:25 +06:00
Anagh Hegde
48af7ea0df
fix: Merge and pull branch analytics NPE ( #10117 )
...
* Fix merge and pull branch issue
* fix detach remote API
* changes per review
* changes per review
2022-01-04 13:25:58 +05:30
Anagh Hegde
4718f519a3
fix: sync branch issues ( #9918 )
...
* Error handling for git limit
* clear cahe of git limit on connect api
* update per review
* check the repo is public before checking for the limit
* changes per review
* check if the repo is public or private during connect flow
* fix issues with sync branches
* Add sucess error handler
* changes per review
* add missing return statement
* remove unused import statements
2022-01-03 11:42:58 +05:30
Nayan
50fd155d2f
fix: Unable to add comment to public apps ( #10103 )
...
Commenting on a public app fails if the user is not not part of the corresponding organization. This PR fixes that issue.
2022-01-03 11:59:35 +06:00
Leo Thomas
9cd89884bf
fix: 9648 The Update query fails to update for all matching Document in mongo ( #9975 )
...
* fix:9648 Mongo update All issue-In Progress
* fix: Mongo Multi update query fail fixes
* Added updated testcases that got affected by the code change
* Changes reverted as per review comments
2021-12-31 19:12:19 +05:30
Nayan
abd4de1cd9
fix: Application is not publishable when imported without theme ( #10009 )
...
When we import an application from a JSON file where themes are not present, publishing the application fails. This PR fixes this issue.
2021-12-30 12:32:54 +06:00
Abhijeet
9cba2986f3
fix: Fix npe while importing application when JSObject contains only variables and no action ( #10044 )
2021-12-29 15:48:04 +00:00
Abhijeet
d24703cdea
feat: Introduce version field for git JSON files structure ( #9800 )
...
* Introduce version field for applicationJson
* Update TC to check the version
2021-12-29 15:29:53 +05:30
Anagh Hegde
f921305e95
feat: Add analytics for BE git events ( #9899 )
...
* Add analytics for connect flow
* Add analytics for commit flow
* Add analytics events for git flows
* changes per review
* add reference to constructor
* Add error events to git analytics
* changes per review
* resolve conflicts
2021-12-29 07:23:03 +00:00
Abhijeet
3bf43dc73a
fix: Filter the action and collection with no pageIds to fix server error while importing the application ( #10024 )
...
* Filter the action and collection with no pageIds to fix npe
* Added TC
2021-12-29 04:59:47 +00:00
Abhijeet
4c5241bc93
fix: JS objects not getting copied over when app is duplicated while retaining the JS objects in original app ( #10011 )
...
* Create new action collection instead of updating the original collection
* Update TC
2021-12-28 12:00:41 +00:00
Snyk bot
703d47f7b1
chore: [Snyk] Security upgrade com.fasterxml.jackson.core:jackson-databind from 2.10.5.1 to 2.12.6 ( #10014 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-2326698
2021-12-28 12:09:34 +05:30
Snyk bot
7e6a48c7b8
chore: [Snyk] Security upgrade com.fasterxml.jackson.core:jackson-databind from 2.10.5.1 to 2.12.6 ( #10015 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-2326698
2021-12-28 12:08:53 +05:30
Abhijeet
b72ac43bd7
fix: Update defaultResourceIds with resource ids after the disconnect event ( #9990 )
...
* Update defaultResourceIds with resource ids after the disconnect event
* Update TC to check the applicationPage updates correctly
* Added TC
2021-12-28 10:57:50 +05:30
Nidhi
3426d70b28
chore: Fixed dot replacement policy for mongo ( #9961 )
2021-12-25 21:29:05 +05:30
Abhijeet
904b05abaa
chore: Update git error codes to log only useful errors in sentry ( #9994 )
2021-12-25 09:55:01 +00:00
Shrikant Sharat Kandula
3f727cdfbb
Remove echo MongoDB URI
...
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-24 22:01:39 +05:30
Shrikant Sharat Kandula
531280c42e
Fix MongoDB URI missing authSource
...
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2021-12-24 21:48:52 +05:30
Nayan
e3f8040265
fix: Set auth db name in MongoDB properties ( #9997 )
2021-12-24 20:45:18 +05:30
Anagh Hegde
74f0d7400f
add tests and fix tests failures ( #9981 )
2021-12-24 14:54:47 +00:00
Nidhi
e6f4513b48
fix: Appends authSource param to mongo URI if absent, also fixes inability to connect to mongo without user info ( #9995 )
2021-12-24 19:42:04 +05:30
Nayan
cd3a2ac1c4
Set a default color to application when application has no color set from FE ( #9919 )
2021-12-24 15:51:42 +06:00
balajisoundar
1fad719dbe
Add API for application themes ( #9449 )
2021-12-24 12:14:59 +05:30