From 71f08d6cf053384c51dbda8304d551af28513a97 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 5 May 2024 17:21:19 +0200 Subject: [PATCH 1/6] Enhance env file --- conf/.env.example | 9 +++++++-- conf/systemd.service | 1 + scripts/_common.sh | 2 -- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/conf/.env.example b/conf/.env.example index b4d7b7e..b5c02db 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -1,7 +1,10 @@ # Create .env from this example file and replace values for the environment. # The application expects a separate .env.test for test environment configuration -TOOLJET_HOST=https://__DOMAIN____PATH__ +NODE_ENV=production + +TOOLJET_HOST=https://__DOMAIN__ +SUB_PATH=__PATH__/ LOCKBOX_MASTER_KEY=__LOCKBOX_MASTER_KEY__ SECRET_KEY_BASE=__SECRET_KEY_BASE__ PORT=__PORT__ @@ -20,7 +23,9 @@ CHECK_FOR_UPDATES=0 # EMAIL CONFIGURATION DEFAULT_FROM_EMAIL=__APP__@__DOMAIN__ -SMTP_DOMAIN=__MAIN_DOMAIN__ +SMTP_USERNAME=__APP__ +SMTP_PASSWORD=__MAIL_PWD__ +SMTP_DOMAIN=__DOMAIN__ SMTP_PORT=25 # DISABLE USER SIGNUPS (true or false). Default: true diff --git a/conf/systemd.service b/conf/systemd.service index 14d602e..63fd9c7 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,6 +8,7 @@ User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="__YNH_NODE_LOAD_PATH__" +EnvironmentFile=__INSTALL_DIR__/.env ExecStart=__YNH_NPM__ run start:prod StandardOutput=journal StandardError=inherit diff --git a/scripts/_common.sh b/scripts/_common.sh index 3ee64f3..f227381 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,8 +7,6 @@ NODEJS_VERSION="18.18.2" NPM_VERSION="9.8.1" -main_domain=$(cat /etc/yunohost/current_host) - #================================================= # PERSONAL HELPERS #================================================= From 2feeb57323a4ddeaeb580beda57f31a9f80325e3 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 5 May 2024 18:08:09 +0200 Subject: [PATCH 2/6] Remove full_domain key in manifest --- manifest.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index ea5ce7f..98c9036 100644 --- a/manifest.toml +++ b/manifest.toml @@ -28,7 +28,6 @@ ram.runtime = "300M" [install] [install.domain] type = "domain" - full_domain = true [install.init_main_permission] type = "group" From e217e37b29e43c3ce00c0edcb0d3b7fbeec16a2e Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 5 May 2024 18:13:10 +0200 Subject: [PATCH 3/6] Disable SSL for smtp --- conf/.env.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/.env.example b/conf/.env.example index b5c02db..68aa9dd 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -25,8 +25,9 @@ CHECK_FOR_UPDATES=0 DEFAULT_FROM_EMAIL=__APP__@__DOMAIN__ SMTP_USERNAME=__APP__ SMTP_PASSWORD=__MAIL_PWD__ -SMTP_DOMAIN=__DOMAIN__ +SMTP_DOMAIN=127.0.0.1 SMTP_PORT=25 +SMTP_SSL=false # DISABLE USER SIGNUPS (true or false). Default: true DISABLE_SIGNUPS= From 518e1b32099318e3e85f6cf97ba26d0b2a0de034 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 5 May 2024 18:26:35 +0200 Subject: [PATCH 4/6] :blue_book::worm: add g++ dependency --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 98c9036..27aab55 100644 --- a/manifest.toml +++ b/manifest.toml @@ -55,7 +55,7 @@ ram.runtime = "300M" main.default = 8095 [resources.apt] - packages = "postgresql, postgresql-contrib" + packages = "g++, postgresql, postgresql-contrib" [resources.database] type = "postgresql" From 091668e048e1ed9dce3dfe4e642d2cbd76406036 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 5 May 2024 18:45:46 +0200 Subject: [PATCH 5/6] Set SMTP domain not to localhost --- conf/.env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/.env.example b/conf/.env.example index 68aa9dd..04c22f9 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -25,7 +25,7 @@ CHECK_FOR_UPDATES=0 DEFAULT_FROM_EMAIL=__APP__@__DOMAIN__ SMTP_USERNAME=__APP__ SMTP_PASSWORD=__MAIL_PWD__ -SMTP_DOMAIN=127.0.0.1 +SMTP_DOMAIN=__DOMAIN__ SMTP_PORT=25 SMTP_SSL=false From ebab506c2df410688570d59afb0f461eb0eb87fd Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 4 Aug 2024 20:28:54 +0000 Subject: [PATCH 6/6] Auto-update READMEs --- ALL_README.md | 1 + README_id.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 README_id.md diff --git a/ALL_README.md b/ALL_README.md index 152f2e7..4ed64dd 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -5,4 +5,5 @@ - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) +- [Baca README dalam bahasa bahasa Indonesia](README_id.md) - [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README_id.md b/README_id.md new file mode 100644 index 0000000..0603fcc --- /dev/null +++ b/README_id.md @@ -0,0 +1,64 @@ + + +# ToolJet untuk YunoHost + +[![Tingkat integrasi](https://dash.yunohost.org/integration/tooljet.svg)](https://ci-apps.yunohost.org/ci/apps/tooljet/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/tooljet.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/tooljet.maintain.svg) + +[![Pasang ToolJet dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=tooljet) + +*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)* + +> *Paket ini memperbolehkan Anda untuk memasang ToolJet secara cepat dan mudah pada server YunoHost.* +> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.* + +## Ringkasan + +ToolJet is an open-source low-code framework to build and deploy internal tools quickly without much effort from the engineering teams. You can connect to your data sources, such as databases (like PostgreSQL, MongoDB, Elasticsearch, etc), API endpoints (ToolJet supports importing OpenAPI spec & OAuth2 authorization), and external services (like Stripe, Slack, Google Sheets, Airtable) and use our pre-built UI widgets to build internal tools. + +### Features + +- *Visual app builder:* 35+ built-in responsive widgets such as Tables, Charts, Lists, Forms, Progressbars, and more. +- *20+ data sources:* connect to databases, cloud storages and APIs. +- *Desktop & mobile*: ;layout widths can be customised to support different screens. +- *Collaborate:* add comments anywhere on the canvas and tag your team members. +- *Extend with plugins:*: use our [commandline tool](https://www.npmjs.com/package/tooljet) to easily boostrap new connectors. +- *Version control:* every application have different versions with proper release cycle. +- *Run JS code:* ability custom JavaScript snippets +- *Granular access control* on organization-level and app-level. +- *low-code:* write JS code almost anywhere in the builder. For example, the color property of text can be set to `status === 'success' ? 'green' : 'red'` +- *no-code query editors* for all supported data sources. +- *Join and transform data:* transform query results using just JavaScript code. +- *Secure:* All the credentials are securely encrypted using `aes-256-gcm`. +- *Doesn't store data:* ToolJet acts only as a proxy and doesn't store any data. + + +**Versi terkirim:** 2.63.0~ynh1 + +## Tangkapan Layar + +![Tangkapan Layar pada ToolJet](./doc/screenshots/example.png) + +## Dokumentasi dan sumber daya + +- Website aplikasi resmi: +- Dokumentasi pengguna resmi: +- Depot kode aplikasi hulu: +- Gudang YunoHost: +- Laporkan bug: + +## Info developer + +Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/tooljet_ynh/tree/testing). + +Untuk mencoba branch `testing`, silakan dilanjutkan seperti: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/tooljet_ynh/tree/testing --debug +atau +sudo yunohost app upgrade tooljet -u https://github.com/YunoHost-Apps/tooljet_ynh/tree/testing --debug +``` + +**Info lebih lanjut mengenai pemaketan aplikasi:**