Commit Graph

299 Commits

Author SHA1 Message Date
Shrikant Sharat Kandula
3144c0a452
chore: Add role details in replica set error message (#18472) 2022-11-27 13:46:05 +05:30
dependabot[bot]
cf6f052565
chore: bump minimatch from 3.0.4 to 3.1.2 in /deploy/docker/utils (#18344)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-26 12:23:33 +05:30
Goutham Pratapa
30023b7a9c
Add certmanager and classname fields in ingress (#18266) 2022-11-23 17:36:03 +05:30
Sumesh Pradhan
59fc70b36b
feat: appsmith ctl jest with workflow (#17713) 2022-11-01 12:57:41 +05:30
Goutham Pratapa
5c5fbaa9f0
Fix redis sub chart name in helm chart (#17866)
Currently, the helm chart has a minor bug where the chart name is
hard-coded. This fix addresses the issue
2022-10-28 10:25:17 +05:30
Shrikant Sharat Kandula
71293dec82
Fix sandbox iframe default setting (#17618) 2022-10-17 16:12:56 +05:30
Goutham Pratapa
97a3f2a30c
fix: Add mongo/redis to helm chart dependencies (#16096) 2022-10-14 16:15:49 +05:30
Shrikant Sharat Kandula
b6657771a1
Fix assets not loading in supervisor UI (#17543)
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-10-14 13:23:09 +05:30
Shrikant Sharat Kandula
d6b4cb5f19
Fix X-Forwarded-Host with multiple rev-proxies (#16951) 2022-10-14 06:30:27 +05:30
Abhinav Jha
e6b89d03aa
Sandboxed iFrames with srcDoc (#11426)
Change iFrame widgets to use sandbox mode if srcDoc is provided
Allowed options:
`allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-scripts allow-top-navigation-by-user-activation`

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-10-04 15:20:45 +05:30
Shrikant Sharat Kandula
856661486c
Delete unsupported k8s deployment option (#17113) 2022-09-29 17:20:43 +05:30
Sumesh Pradhan
c843f829fd
Set HOSTNAME env for heroku deployment (#17095) 2022-09-29 17:19:24 +05:30
Shrikant Sharat Kandula
24655f6ceb
For paths with an extension, give 404 if missing (#17035) 2022-09-26 09:41:38 +05:30
Shrikant Sharat Kandula
6fc2b1680e
Fix key file permissions error on Windows (#16862) 2022-09-19 13:49:27 +05:30
Goutham Pratapa
b1553e946a
fix: docker entrypoint script to check mongo replicaset (#16751)
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-09-14 20:30:18 +05:30
Sumesh Pradhan
8f01b84fee
Packer script to build AWS and DigitalOcean images (#16617) 2022-09-14 11:03:02 +05:30
Sumesh Pradhan
5a6ab1d094
Fix entrypoint.sh external mongo replica set check (#16151) 2022-09-13 14:14:01 +05:30
Shrikant Sharat Kandula
8a0838505a
All outgoing requests should go through the configured proxy (#14427)
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2022-09-01 11:16:45 +05:30
Sumesh Pradhan
9cf132f23e
Disable nginx server tokens, set gzip_type to * (#15767) 2022-08-05 16:40:38 +05:30
Shrikant Sharat Kandula
25ab8f5983
Add startupProbe to Appsmith pods (#15702)
This is so that the `livenessProbe` doesn't aggressively
restart the pod before the Appsmith container is live.
2022-08-04 15:58:18 +05:30
Amit Kumar
6715d3a681
Pod labels can be configured from Helm values (#15352) 2022-08-04 15:21:23 +05:30
Shrikant Sharat Kandula
868b385e7b
Change to allow all domains to embed Appsmith apps (#15619)
The control to configure what domains are allowed to embed Appsmith apps is still available, but the default of not allowing anything except for 'self' is changed to allow everything.

While this is convenient, we encourage our users to configure their frame ancestors to limit what domains can embed their Appsmith apps.

Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-08-02 15:41:52 +05:30
Sumesh Pradhan
edbfef7d51
Auto-backup and cleanup with appsmithctl (#15203)
- Auto-cleanup of backup files using env variable APPSMITH_BACKUP_ARCHIVE_LIMIT (default value is 4) after every backup.
- Updated docker file to include watchtower hook scripts.
- Error mail interval to 6hrs.
2022-07-28 17:45:28 +05:30
Shrikant Sharat Kandula
dd46348981
Fix isset command not found (#14997) 2022-07-25 07:42:48 +05:30
Arpit Mohan
4674be719f
Fixing bug where the Mongo DB URL wasn't being picked up by the billing script (#15378) 2022-07-22 18:11:02 +05:30
Shrikant Sharat Kandula
874b9945f8
Control where embedding of Appsmith is allowed (#15348)
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-07-21 13:03:35 +05:30
Goutham Pratapa
b4eddfe61e
feat: add hostname to log file (#15005) 2022-07-21 12:20:15 +05:30
Shrikant Sharat Kandula
647b2cd430
If MongoDB key doesn't exist, create it (#15207)
This can happen during a migration from very old slim-container instance to a fat container setup. Besides, for whatever reason, if the key file is missing, then the instance fails to come up. This fix will ensure that we can recover from that state automatically.
2022-07-20 20:42:23 +05:30
Ankita Kinger
3933f5f4d1
feat: migrate from org to workspace under phase 3 (#14158)
* migration from organization to workspace on code level

* updated a few more files

* fixed runtime errors

* update org settings URL

* Renamed organizationId in domain objects

* changed field named from organization to workspace

* Reverted AppsmithRole changes

* fixed migrations

* recreating indexes

* migration update

* seed data runs before migration, undo changes

* mock commit

* seedmongo to populate upgraded data, datasource upgrade

* fixed two test cases

* updated migrations

* updated prop name

* Upgraded AclPermission

* comment

* migrated AppsmithRole

* more changes

* final set of changes

* variable name changes

* update cypress variable name

* Update app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/ApplicationControllerCE.java

* Update app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/Datasource.java

Co-authored-by: Trisha Anand <trisha@appsmith.com>

* reverting encryption handler change

* refactor code to migrate from org to workspace

* migrated a few missed out org to workspace

* updated a few more

* migrated a few missed out org to workspace

* migration changes

* Removed Permission import

* reverted code change

* few more changes

* fixed failing cypress test

* fixed failing cypress test

Co-authored-by: Sidhant Goel <sidhant@appsmith.com>
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: Sidhant Goel <sidhant@hexcod.in>
2022-07-20 17:24:16 +05:30
Arpit Mohan
1af9e2042f
chore: Adding the appsmithctl command to estimate the bill for an existing Appsmith user (#15311)
## Description

This PR adds to the `estimate_billing` option to the `appsmithctl` command. This will help existing users estimate their bill when they consider upgrading to the paid edition.

Usage: 
```
appsmithctl estimate_billing 

Options:
  --sessionPrice    The price per active session. Defaults to 0.3 
  --priceCap        The price cap for a user in a given month. Defaults to 15
```

A user can also run the command for various scenarios to determine the optimum capacity tier.

## Type of change

- New feature (non-breaking change which adds functionality)
- This change requires a documentation update

## How Has This Been Tested?

Manually

## Checklist:

- [ ] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
2022-07-20 10:33:47 +05:30
Sumesh Pradhan
85151b845e
appsmithctl backup error logging and mailer (#14797) 2022-07-07 11:19:25 +05:30
Ankita Kinger
9b7944e7ee
feat: migrate organisation to workspace (#13863)
* migration from organization to workspace on code level

* updated a few more files

* fixed runtime errors

* update org settings URL

* Renamed organizationId in domain objects

* changed field named from organization to workspace

* Reverted AppsmithRole changes

* fixed migrations

* recreating indexes

* migration update

* seed data runs before migration, undo changes

* mock commit

* seedmongo to populate upgraded data, datasource upgrade

* fixed two test cases

* updated migrations

* updated prop name

* Upgraded AclPermission

* comment

* migrated AppsmithRole

* more changes

* final set of changes

* variable name changes

* update cypress variable name

* Update app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/ApplicationControllerCE.java

* Update app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/Datasource.java

Co-authored-by: Trisha Anand <trisha@appsmith.com>

* reverting encryption handler change

* migrated a few missed out org to workspace

* migrated a few missed out org to workspace

* migration changes

* Removed Permission import

* fixed AppsmithRole

* mongodb version update

* fixed compile error

* fixed compile issue

* fixed some tests

* simplified embedded mongodb config

* updated a cypress test

Co-authored-by: Sidhant Goel <sidhant@appsmith.com>
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: Sidhant Goel <sidhant@hexcod.in>
2022-06-15 21:07:41 +05:30
Shrikant Sharat Kandula
265cca4003
Proxy arguments so that they are not set when empty (#14508) 2022-06-15 14:01:46 +05:30
Sumesh Pradhan
364c5d6701
Restore encryption sale var typo fix (#14499) 2022-06-15 10:12:54 +05:30
Sumesh Pradhan
b9c5d91968
Backup & Restore commands for appsmithctl (#14270) 2022-06-09 09:14:18 +05:30
Shrikant Sharat Kandula
73e43fadbd
Support for custom CA certificates (#14207)
Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2022-06-01 11:14:27 +05:30
Sumesh Pradhan
31c98a8fda
Added healthcheck for editor with https (#13947)
Added a fix for the docker health check on editor with ssl enabled for appsmith-ce fat container and the slim client appsmith-editor
2022-05-27 17:05:21 +05:30
Shrikant Sharat Kandula
f344688b2f
Fix log file location for MongoDB (#13744) 2022-05-11 19:13:30 +02:00
Sumesh Pradhan
5e92d48037
Add healthcheck to docker (#13154) 2022-05-06 11:45:56 +05:30
Sumesh Pradhan
41b9df2657
Support getting values from secrets in helm chart configuration (#12633) 2022-05-04 16:21:15 +05:30
Sumesh Pradhan
511278f067
Disable auto updates helm and docker-compose doc (#13443) 2022-04-29 17:16:37 +05:30
Sumesh Pradhan
3b28ce00a2
Adding ingress.class parameter to nginx setting in helm chart docs (#12398) 2022-04-27 11:33:58 +05:30
Sumesh Pradhan
9f2c5dc5f7
Renamed temporary encryption variables in docker entry-point script (#12187) 2022-04-15 17:44:08 +05:30
Sumesh Pradhan
f973c2d86d
fix: removed redundant func call init_ssl_cert (#12854) 2022-04-13 07:56:17 +02:00
Trisha Anand
c37fdb9f1c
fix: Only setting maximum heap size for heroku deployed instances (#12725)
Co-authored-by: Arpit Mohan <mohanarpit@users.noreply.github.com>
2022-04-08 18:48:23 +05:30
Shrikant Sharat Kandula
c6deec2f81
fix: Fix server not starting when custom domain not set 2022-04-08 15:19:11 +05:30
Arpit Mohan
7807d5f5c6 chore: Fixing nginx deployment for non-Heroku deployment 2022-04-07 21:00:17 +02:00
geekup-legodevops
2843da9bfd
Refactor initialize env files flow in entrypoint of container (#12585)
Co-authored-by: phat.ct <phat.ct@geekup.vn>
2022-04-05 20:22:52 +05:30
geekup-legodevops
c210857791
Redis running on 64k pagesize (#12264) 2022-04-01 12:28:03 +05:30
Shrikant Sharat Kandula
9cfb7b38ee
Fix basic auth password index 2022-03-25 12:15:05 +05:30