From c329babd1c33df1fe6f390ec906a97e3fdc38224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Sat, 6 Apr 2024 14:06:14 +0200 Subject: [PATCH 1/5] cors is managed by nginx only --- conf/.env | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/.env b/conf/.env index a02d9d5..17e7c11 100644 --- a/conf/.env +++ b/conf/.env @@ -1,4 +1,5 @@ quarkus_http_host=127.0.0.1 +quarkus_http_cors=false quarkus_mongodb_projects_connection_string=mongodb://__DB_USER__:__DB_PWD__@localhost:27017/?authSource=dontCode__TENANT__Projects projects_database_name=dontCode__TENANT__Projects quarkus_mongodb_data_connection_string=mongodb://__DB_USER__:__DB_PWD__@localhost:27017/?authSource=dontCode__TENANT__Data From 59d962436d8a53f6b3c9991b4297e1231eceb412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Sun, 7 Apr 2024 11:45:23 +0200 Subject: [PATCH 2/5] Cleaned up mongo install for bookworm --- manifest.toml | 2 +- scripts/ynh_mongo_db__2 | 20 ++++++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/manifest.toml b/manifest.toml index 270a846..504c6ea 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Dont-code Services" description.en = "Install services and databases needed to support Dont-code platform" description.fr = "Installe les services et base de données nécessaires pour utiliser la plateforme Dont-code" -version = "0.3.1~ynh2" +version = "0.3.1~ynh3" maintainers = ["Dont-code Team"] diff --git a/scripts/ynh_mongo_db__2 b/scripts/ynh_mongo_db__2 index 6a69f62..3005e88 100644 --- a/scripts/ynh_mongo_db__2 +++ b/scripts/ynh_mongo_db__2 @@ -1,7 +1,7 @@ #!/bin/bash -readonly YNH_DEFAULT_MONGO_VERSION=4.4 -# Declare the actual MongoDB version to use: 4.4 ; 5.0 ; 6.0 +readonly YNH_DEFAULT_MONGO_VERSION=6.0 +# Declare the actual MongoDB version to use: 4.4 ; 5.0 ; 6.0 ; 7.0 # A packager willing to use another version of MongoDB can override the variable into its _common.sh. YNH_MONGO_VERSION=${YNH_MONGO_VERSION:-$YNH_DEFAULT_MONGO_VERSION} @@ -316,17 +316,13 @@ ynh_install_mongo() { local mongo_debian_release=$(ynh_get_debian_release) if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then - #Sadly mongo 4.4 is the only version not requiring avx instruction set, so we will install it - ynh_print_warn --message="Installing Mongo 4.4 as $mongo_version is not compatible with your cpu (see https://docs.mongodb.com/manual/administration/production-notes/#x86_64)." - mongo_version="4.4" - fi - if [[ "$mongo_version" == "4.4" && "$mongo_debian_release" != "buster" ]]; then - ynh_print_warn --message="Switched to buster install as Mongo 4.4 is not compatible with $mongo_debian_release." - mongo_debian_release=buster - fi + #Sadly mongo 4.4 is the only version not requiring avx instruction set, so we will install it + ynh_print_warn --message="Installing Mongo 4.4 as $mongo_version is not compatible with your cpu (see https://docs.mongodb.com/manual/administration/production-notes/#x86_64)." + mongo_version="4.4" + fi - ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="mongodb-org mongodb-org-server mongodb-org-tools mongodb-mongosh" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc" - mongodb_servicename=mongod + ynh_install_extra_app_dependencies --repo="deb http://repo.mongodb.org/apt/debian $mongo_debian_release/mongodb-org/$mongo_version main" --package="mongodb-org" --key="https://www.mongodb.org/static/pgp/server-$mongo_version.asc" + mongodb_servicename=mongod # Make sure MongoDB is started and enabled systemctl enable $mongodb_servicename --quiet From 65f34964c29bc278558ba3e28846e09737e7fa25 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 7 Apr 2024 09:45:31 +0000 Subject: [PATCH 3/5] Auto-update READMEs --- README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7eb2559..5aeebd6 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Shipped version:** 0.3.1~ynh2 +**Shipped version:** 0.3.1~ynh3 **Demo:** diff --git a/README_eu.md b/README_eu.md index 430ea44..ec19cbe 100644 --- a/README_eu.md +++ b/README_eu.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Paketatutako bertsioa:** 0.3.1~ynh2 +**Paketatutako bertsioa:** 0.3.1~ynh3 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 6d9e3c9..f032fd2 100644 --- a/README_fr.md +++ b/README_fr.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Version incluse :** 0.3.1~ynh2 +**Version incluse :** 0.3.1~ynh3 **Démo :** diff --git a/README_gl.md b/README_gl.md index 75d5626..c2c5537 100644 --- a/README_gl.md +++ b/README_gl.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Versión proporcionada:** 0.3.1~ynh2 +**Versión proporcionada:** 0.3.1~ynh3 **Demo:** From 4d781d243aaa6a94114f7a3061c0c2fbf4537daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rard=20Collin?= Date: Thu, 11 Apr 2024 11:58:23 +0200 Subject: [PATCH 4/5] Support for IDE API --- conf/repository-next.json | 1 + conf/repository-stable.json | 1 + manifest.toml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/repository-next.json b/conf/repository-next.json index f63627d..03f1744 100644 --- a/conf/repository-next.json +++ b/conf/repository-next.json @@ -2,6 +2,7 @@ "$schema": "https://dont-code.net/schemas/v1/repository-schema.json", "name": "Next Repository __TENANT__", "description": "Repository provided by Dont-code offering next versions of all plugins", + "ideWebSocketUrl": "ws://__DOMAIN____PATH__/ide", "webSocketUrl": "ws://__DOMAIN____PATH__/preview", "storeApiUrl": "https://__DOMAIN____PATH__/data", "projectApiUrl": "https://__DOMAIN____PATH__/project", diff --git a/conf/repository-stable.json b/conf/repository-stable.json index a2d0c2a..587d604 100644 --- a/conf/repository-stable.json +++ b/conf/repository-stable.json @@ -2,6 +2,7 @@ "$schema": "https://dont-code.net/schemas/v1/repository-schema.json", "name": "Stable Repository __TENANT__", "description": "Repository provided by Dont-code using stable versions of plugins", + "ideWebSocketUrl": "ws://__DOMAIN____PATH__/ide", "webSocketUrl": "ws://__DOMAIN____PATH__/preview", "storeApiUrl": "https://__DOMAIN____PATH__/data", "projectApiUrl": "https://__DOMAIN____PATH__/project", diff --git a/manifest.toml b/manifest.toml index 504c6ea..5cf9942 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Dont-code Services" description.en = "Install services and databases needed to support Dont-code platform" description.fr = "Installe les services et base de données nécessaires pour utiliser la plateforme Dont-code" -version = "0.3.1~ynh3" +version = "0.3.1~ynh4" maintainers = ["Dont-code Team"] From aa1d2e780620edc230b30b591a429c299e9ce11e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 11 Apr 2024 09:58:29 +0000 Subject: [PATCH 5/5] Auto-update READMEs --- ALL_README.md | 1 + README.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 70 insertions(+), 4 deletions(-) create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md index 77b7509..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -4,3 +4,4 @@ - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index 5aeebd6..b6a2471 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Shipped version:** 0.3.1~ynh3 +**Shipped version:** 0.3.1~ynh4 **Demo:** diff --git a/README_eu.md b/README_eu.md index ec19cbe..c123483 100644 --- a/README_eu.md +++ b/README_eu.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Paketatutako bertsioa:** 0.3.1~ynh3 +**Paketatutako bertsioa:** 0.3.1~ynh4 **Demoa:** diff --git a/README_fr.md b/README_fr.md index f032fd2..8561652 100644 --- a/README_fr.md +++ b/README_fr.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Version incluse :** 0.3.1~ynh3 +**Version incluse :** 0.3.1~ynh4 **Démo :** diff --git a/README_gl.md b/README_gl.md index c2c5537..aca4f64 100644 --- a/README_gl.md +++ b/README_gl.md @@ -32,7 +32,7 @@ This Yunohost app installs the server part (services + mongo database) needed to - As well any documents or images uploaded by users will be backed up -**Versión proporcionada:** 0.3.1~ynh3 +**Versión proporcionada:** 0.3.1~ynh4 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..c5bea16 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,65 @@ + + +# YunoHost 的 Dont-code Services + +[![集成程度](https://dash.yunohost.org/integration/dont-code.svg)](https://dash.yunohost.org/appci/app/dont-code) ![工作状态](https://ci-apps.yunohost.org/ci/badges/dont-code.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/dont-code.maintain.svg) + +[![使用 YunoHost 安装 Dont-code Services](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=dont-code) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Dont-code Services。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Dont-code is a low-code / no-code platform letting user create their own applications based on complete feature sets developed by IT. +You can find more information here: https://dont-code.net + +This Yunohost app installs the server part (services + mongo database) needed to run the dont-code applications. + +### Features + +- Thanks to the Powerful [Builders](https://dont-code.net/ide-ui) and [Previewers](https://dont-code.net/ide-ui), a user can directly design its application and immediately see the result +- One only needs to describe its application by filling sentences prepared by the platform. +- By default it provides support for images, currency, text, numbers, countries, links. +- Multiple plugins allow you to list, edit, make reports, call services, save to database, save in browser, and so on... +- Plugins can be developed by any IT team +- Projects and all user's data are backuped up as part of the Yunohost backup process +- As well any documents or images uploaded by users will be backed up + + +**分发版本:** 0.3.1~ynh4 + +**演示:** + +## 截图 + +![Dont-code Services 的截图](./doc/screenshots/previewer.gif) +![Dont-code Services 的截图](./doc/screenshots/ide.gif) + +## 文档与资源 + +- 官方应用网站: +- 官方用户文档: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/dont-code_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/dont-code_ynh/tree/testing --debug +或 +sudo yunohost app upgrade dont-code -u https://github.com/YunoHost-Apps/dont-code_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:**