Commit Graph

51 Commits

Author SHA1 Message Date
Shrikant Sharat Kandula
8edb278b75 Fix variables in docker.env.sh 2021-08-11 19:15:43 +05:30
Shrikant Sharat Kandula
e9e2df2c28
Store MongoDB creds in separate file from install.sh (#6499)
* Store MongoDB creds in separate file from install.sh

* Move MongoDB credentials to docker.env
2021-08-10 15:07:52 +05:30
Shrikant Sharat Kandula
b7fb9bd58b
Enable auto-start after VM restart (#6428) 2021-08-09 15:17:12 +05:30
Arpit Mohan
9a4b9c27cd
Locking mongo Docker container to 4.4.6 (#5950)
Mongo v5 has some issues with seeding data. Refer:  https://stackoverflow.com/questions/68392064/error-when-running-mongo-image-docker-entrypoint-sh-line-381
Hence, locking the mongo version to a known working tag till we have more information on the problem.
2021-07-19 13:39:37 +05:30
Shrikant Sharat Kandula
b051b010fc
Fix missing quotes in generated nginx conf 2021-07-01 11:54:54 +05:30
Pranav Kanade
dd9f8b362d
[Feature #3379] Added recaptcha for signup (#4701)
* temp commit

* using onsubmit to continue using action on form

* added recaptcha site key to env example file

* moved the recaptcha lib loading logic to signup page

* removed unnecessary edit

* handle the case where the recaptcha token is not provided as env var

* added proper env var config for client

* recaptcha config for ansible

* recaptcha config for heroku

* recaptcha config for k8s

* updated app.json

* fixed the typos

* added more description for env vars

* removed api key

* minor typo fix
2021-06-08 11:10:11 +05:30
Nidhi
aeda36f0e0
Disable cs url as an environment config (#4465) 2021-05-13 14:29:43 +05:30
Nidhi
ea451ef061
Add default configs for prod and tests (#4464)
* Added default cs config for prod and tests

* Env variable for new installations

* K8s defaults
2021-05-13 13:30:23 +05:30
Nidhi
f99d3a6c54
Added Appsmith codec size to template (#3729) 2021-03-29 18:08:37 +05:30
Shri
cc39259053
Increase client body size limit to 100M from 10M (#3553) 2021-03-22 17:20:38 +05:30
Arpit Mohan
9d1d9ed335
Adding cleanup flag to remove old images when appsmith auto-updates (#3219) 2021-02-25 18:19:16 +05:30
Nikhil Nandagopal
486a9da8dd updated all doc links 2021-02-03 20:45:16 +05:30
Nikhil Nandagopal
e411df0a64
Added check so that existing installs don't get telemetry (#1698)
* Adding the segment key to the tagged release
* Also opting out of telemetry data in CI builds

Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-11-11 23:54:19 +05:30
Hetu Nandu
a51082fb54 Merge branch 'master' into release 2020-11-11 18:51:03 +05:30
Abhinav Jha
a4f652ce70
Add client-max-body-size directive to nginx https proxy (#1695) 2020-11-11 18:23:48 +05:30
Arpit Mohan
a944680d50 Adding the disable telemetry config in the env example 2020-11-05 22:01:58 +05:30
Arpit Mohan
12f3a4182c Fixing the tests and adding the segment key in the yarn build
This key will be burned into the Docker image itself.

Also adding the disable telemetry link to the nginx_app template during self-hosted deploys.
2020-11-05 20:32:25 +05:30
Arpit Mohan
ee683157a5 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-10-28 11:10:06 +05:30
Arpit Mohan
40ddc9b3ee
Giving complete URL for the containers because it's required for auto update container (#1434) 2020-10-28 11:04:03 +05:30
Automated Github Action
66333d06c6 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-03 13:05:58 +00:00
Shrikant Sharat Kandula
681a4bdcc9
Fix Let's Encrypt certificate generation for self-hosted (#491)
* Creating SSL certificates now works

* Work with single domain

* Move certificate generation into install script

* Download templates from master branch, not release
2020-09-03 18:04:58 +05:30
Automated Github Action
0f978b487d Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-09-02 12:08:11 +00:00
Shrikant Sharat Kandula
868757155a
Add watchtower for auto updates to Appsmith containers (#456)
* Trying to move horizontal rules into separate function

* Delete install_dir if exists already, after confirmation

* Add confirm function to take user conformations

* Resolve warnings on read command without -r option

* Use temporary directory for downloaded templates

* Fix inverted calls to confirm

* nginx template doesn't use global variables now

* docker compose template doesn't depend on global vars now

* Fix port checking for CentOS

* Fix encryption.env to not use global variables

* Fix mongo-init to not use global variables

* Fix docker.env file to not use any global variables

* Fix letsencrypt script to not use any global variables

* Set mongo_database in the docker-compose file

Spotted this after global variables were reduced. The `mongo_database`
was not being used anywhere.

* Move password generation into a function

* Attempt to add watchtower

* Fix port checking in install script for CentOS

* Don't offer to delete install dir if it already exists

* Remove vagrant source for templates (it's a dev-time thing only)
2020-09-02 16:42:33 +05:30
Hetu Nandu
094c50874e Merge branch 'release' of github.com:appsmithorg/appsmith into release
# Conflicts:
#	app/client/netlify.toml
2020-08-27 18:32:42 +05:30
Hetu Nandu
0b430d0324
Completely replace hotjar with smartlook (#447)
* Replace hotjar with smartlook

* Remove duplicate event declaration
2020-08-27 18:24:03 +05:30
Automated Github Action
9c4601ce58 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-20 06:06:22 +00:00
Hetu Nandu
f70c55c681
Show warning when mail client is not enabled on an instance (#333)
* Adds the `APPSMITH_MAIL_ENABLED` flag on client
* Shows warning if email service not configured for inviting users in an org
* Shows warning if email service not configured for password reset
2020-08-20 10:43:20 +05:30
Automated Github Action
cfc0e6487a Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-17 06:07:32 +00:00
Arpit Mohan
88c45118e7
Encoding the mongo credentials in install.sh script (#310)
This is to ensure that we handle special characters in the mongo url that's given to the Java server during configuration.
2020-08-17 11:10:01 +05:30
Automated Github Action
fa72df3c36 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-14 10:06:03 +00:00
Hetu Nandu
7f8befc365
Update support menu (#259)
Add a default help menu with
* Report a Github issues link
* Documentation link
* Github discussions link
* Intercom link support
* App version id support
2020-08-14 15:17:47 +05:30
Arpit Mohan
f220f926c5 Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-08-07 13:18:59 +05:30
Hetu Nandu
c937a149ee
Replace APPSMITH_MARKETPLACE_URL flag with APPSMITH_MARKETPLACE_ENABLED (#197) 2020-08-07 13:05:38 +05:30
Automated Github Action
27f332ee71 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-08-03 15:05:08 +00:00
Arpit Mohan
4a62da9b36
Modifying the docker-compose templates to only expose required ports (#207)
* Modifying the docker-compose templates to only expose required ports from Nginx

* Also, adding function to check if the required ports are open & available for use by Appsmith
2020-08-03 20:32:54 +05:30
Trisha Anand
b5ff5e00e1 Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-22 23:31:11 +05:30
Shrikant Sharat Kandula
32095c85ed
Use single sed command with multiple expressions (#127)
Processing the text in-memory, we won't have to deal with the platform dependency of the `-i` argument to `sed`.
2020-07-22 17:23:49 +05:30
Arpit Mohan
05d9dac07f Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-21 17:44:45 +05:30
Manish
391347224d
adding base-install.sh and boot.sh (#92)
Adding the following files in order to create the AWS AMI 
* boot.sh
* base-install.sh
* configure-ssl.sh file to run to modify app.conf file of nginx and to run init-letsencrypt.sh which generate SSL certificate.

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-07-21 16:54:08 +05:30
Trisha Anand
30bbbd6e4e Merge branch 'release' of https://github.com/appsmithorg/appsmith into release 2020-07-21 11:02:02 +05:30
Arpit Mohan
a4fd349c0b
Fixing the sed command for mac os x in Nginx configuration template. (#126) 2020-07-20 17:51:10 +05:30
Arpit Mohan
eabe496fbd
Adding the /login endpoint to nginx configuration template during deploy process (#122) 2020-07-17 18:31:14 +05:30
Nikhil Nandagopal
70c4dd5964
Fix/deploy script (#111)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

* updated template

* removed debug echo

* Updated Script

* Updated Text

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-17 15:29:28 +05:30
Arpit Mohan
dad70efcbd
Fixing the nginx configuration used as template during deployment (#115) 2020-07-17 01:05:42 +05:30
Arpit Mohan
1060423b99
Modifying deploy script to replace nginx configuration at runtime (#106)
* Getting the script to work on Mac OS X Bash Version 3

* Correcting the nginx template configuration and Dockerfile for the appsmith-editor. Now any replaced environment variables will be replaced when the Nginx Docker container restarts.
2020-07-16 11:47:45 +05:30
Arpit Mohan
b23c8feb9c Merge branch 'release' of github.com:appsmithorg/appsmith into release 2020-07-15 15:49:37 +05:30
Trisha Anand
499d189d6b
Adding EE related environment variables into the docker.env.sh file (#8)
* Adding back marketplace and other EE related environment variable in EE repo
2020-07-15 15:48:37 +05:30
Arpit Mohan
c15f83dbc3
Adding configuration variables for MAIL_FROM and REPLY_TO in EmailConfig (#97)
The MAIL_FROM & REPLY_TO addresses default to appsmith@localhost. This should be changed in the generated docker.env file during deployment to actual values.

Most email providers will not send emails unless they originate from a valid sender ID.
2020-07-15 15:47:33 +05:30
Nikhil Nandagopal
de151e1b46
Fix/deploy script (#94)
* Added information to setup domain

* Fixed incorrect var reference

* Updated documentation message

* Updated env template

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-07-15 12:49:52 +05:30
Trisha Anand
fd0f23b9cc
Database credentials encryption in MongoDB (#80)
* Encrypting the password stored in AuthenticationDTO for every db.

* Adding comment to the properties file to denote that adding encryption salt and password are mandatory to the server coming up.

* Added the encryption salt and password to server.yml to allow the github actions to succeed.

* Adding database migration to encrypt the existing passwords for authentication object (used for storing db connection username/password)

Changes to the installation script install.sh:

1. Instead of overwriting the existing encryption password or salt, giving the user an option to conserve the previous encryption credentials to ensure that the developer users do not lose access to their database configurations (passwords).
2. Added another file for writing encryption credentials (encryption.env) to ensure that we dont delete the encryption password and salt by mistake.
2020-07-14 14:45:08 +05:30