1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opensondage_ynh.git synced 2024-09-03 19:46:28 +02:00

Merge pull request #102 from YunoHost-Apps/fix-cannot-send-email

[fix] PHPMailer SMTP Error: Could not connect to SMTP host
This commit is contained in:
eric_G 2024-04-25 16:33:25 +02:00 committed by GitHub
commit 0923d25cb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 238 additions and 38 deletions

7
ALL_README.md Normal file
View file

@ -0,0 +1,7 @@
# All available README files by language
- [Read the README in English](README.md)
- [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)

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator N.B.: This README was automatically generated by <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Install OpenSondage with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage) [![Install OpenSondage with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage)
*[Lire ce readme en français.](./README_fr.md)* *[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install OpenSondage quickly and simply on a YunoHost server. > *This package allows you to install OpenSondage quickly and simply on a YunoHost server.*
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
## Overview ## Overview
@ -21,7 +21,7 @@ OpenSondage is a quick and easy-to-use online service to collaboratively plan an
**Shipped version:** 1.1.19~ynh3 **Shipped version:** 1.1.19~ynh3
**Demo:** https://framadate.org/ **Demo:** <https://framadate.org/>
## Screenshots ## Screenshots
@ -29,19 +29,19 @@ OpenSondage is a quick and easy-to-use online service to collaboratively plan an
## Documentation and resources ## Documentation and resources
* Official app website: <https://framadate.org/> - Official app website: <https://framadate.org/>
* Official admin documentation: <https://framagit.org/framasoft/framadate/framadate/wikis/home> - Official admin documentation: <https://framagit.org/framasoft/framadate/framadate/wikis/home>
* Upstream app code repository: <https://framagit.org/framasoft/framadate/framadate> - Upstream app code repository: <https://framagit.org/framasoft/framadate/framadate>
* YunoHost Store: <https://apps.yunohost.org/app/opensondage> - YunoHost Store: <https://apps.yunohost.org/app/opensondage>
* Report a bug: <https://github.com/YunoHost-Apps/opensondage_ynh/issues> - Report a bug: <https://github.com/YunoHost-Apps/opensondage_ynh/issues>
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing). Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the `testing` branch, please proceed like that:
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
or or
sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug

50
README_eu.md Normal file
View file

@ -0,0 +1,50 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# OpenSondage YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/opensondage.svg)](https://dash.yunohost.org/appci/app/opensondage) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/opensondage.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/opensondage.maintain.svg)
[![Instalatu OpenSondage YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek OpenSondage YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
OpenSondage is a quick and easy-to-use online service to collaboratively plan and schedule the date and time for an appointment, meeting or other event. No registration is required.
**Paketatutako bertsioa:** 1.1.19~ynh3
**Demoa:** <https://framadate.org/>
## Pantaila-argazkiak
![OpenSondage(r)en pantaila-argazkia](./doc/screenshots/screenshots.jpg)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://framadate.org/>
- Administratzaileen dokumentazio ofiziala: <https://framagit.org/framasoft/framadate/framadate/wikis/home>
- Jatorrizko aplikazioaren kode-gordailua: <https://framagit.org/framasoft/framadate/framadate>
- YunoHost Denda: <https://apps.yunohost.org/app/opensondage>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/opensondage_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
edo
sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -1,6 +1,6 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator Nota bene: ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. Il NE doit PAS être modifié à la main.
--> -->
# OpenSondage pour YunoHost # OpenSondage pour YunoHost
@ -9,19 +9,19 @@ It shall NOT be edited by hand.
[![Installer OpenSondage avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage) [![Installer OpenSondage avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage)
*[Read this readme in english.](./README.md)* *[Lire le README dans d'autres langues.](./ALL_README.md)*
> *Ce package vous permet dinstaller OpenSondage rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller OpenSondage rapidement et simplement sur un serveur YunoHost.*
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.* > *Si vous navez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
## Vue densemble ## Vue densemble
OpenSondage est un service en ligne rapide et facile à utiliser pour planifier et programmer de manière collaborative la date et l'heure d'un rendez-vous, d'une réunion ou d'un autre événement. Aucune inscription n'est requise. OpenSondage est un service en ligne rapide et facile à utiliser pour planifier et programmer de manière collaborative la date et l'heure d'un rendez-vous, d'une réunion ou d'un autre événement. Aucune inscription n'est requise.
**Version incluse :** 1.1.19~ynh3 **Version incluse:** 1.1.19~ynh3
**Démo :** https://framadate.org/ **Démo:** <https://framadate.org/>
## Captures décran ## Captures décran
@ -29,22 +29,22 @@ OpenSondage est un service en ligne rapide et facile à utiliser pour planifier
## Documentations et ressources ## Documentations et ressources
* Site officiel de lapp : <https://framadate.org/> - Site officiel de lapp: <https://framadate.org/>
* Documentation officielle de ladmin : <https://framagit.org/framasoft/framadate/framadate/wikis/home> - Documentation officielle de ladmin: <https://framagit.org/framasoft/framadate/framadate/wikis/home>
* Dépôt de code officiel de lapp : <https://framagit.org/framasoft/framadate/framadate> - Dépôt de code officiel de lapp: <https://framagit.org/framasoft/framadate/framadate>
* YunoHost Store: <https://apps.yunohost.org/app/opensondage> - YunoHost Store: <https://apps.yunohost.org/app/opensondage>
* Signaler un bug : <https://github.com/YunoHost-Apps/opensondage_ynh/issues> - Signaler un bug: <https://github.com/YunoHost-Apps/opensondage_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing). Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche `testing`, procédez comme suit:
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
``` ```
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications:** <https://yunohost.org/packaging_apps>

50
README_gl.md Normal file
View file

@ -0,0 +1,50 @@
<!--
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON debe editarse manualmente.
-->
# OpenSondage para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/opensondage.svg)](https://dash.yunohost.org/appci/app/opensondage) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/opensondage.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/opensondage.maintain.svg)
[![Instalar OpenSondage con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage)
*[Le este README en outros idiomas.](./ALL_README.md)*
> *Este paquete permíteche instalar OpenSondage de xeito rápido e doado nun servidor YunoHost.*
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
## Vista xeral
OpenSondage is a quick and easy-to-use online service to collaboratively plan and schedule the date and time for an appointment, meeting or other event. No registration is required.
**Versión proporcionada:** 1.1.19~ynh3
**Demo:** <https://framadate.org/>
## Capturas de pantalla
![Captura de pantalla de OpenSondage](./doc/screenshots/screenshots.jpg)
## Documentación e recursos
- Web oficial da app: <https://framadate.org/>
- Documentación oficial para admin: <https://framagit.org/framasoft/framadate/framadate/wikis/home>
- Repositorio de orixe do código: <https://framagit.org/framasoft/framadate/framadate>
- Tenda YunoHost: <https://apps.yunohost.org/app/opensondage>
- Informar dun problema: <https://github.com/YunoHost-Apps/opensondage_ynh/issues>
## Info de desenvolvemento
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing).
Para probar a rama `testing`, procede deste xeito:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
ou
sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
```
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>

50
README_it.md Normal file
View file

@ -0,0 +1,50 @@
<!--
N.B.: Questo README è stato automaticamente generato da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON DEVE essere modificato manualmente.
-->
# OpenSondage per YunoHost
[![Livello di integrazione](https://dash.yunohost.org/integration/opensondage.svg)](https://dash.yunohost.org/appci/app/opensondage) ![Stato di funzionamento](https://ci-apps.yunohost.org/ci/badges/opensondage.status.svg) ![Stato di manutenzione](https://ci-apps.yunohost.org/ci/badges/opensondage.maintain.svg)
[![Installa OpenSondage con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage)
*[Leggi questo README in altre lingue.](./ALL_README.md)*
> *Questo pacchetto ti permette di installare OpenSondage su un server YunoHost in modo semplice e veloce.*
> *Se non hai YunoHost, consulta [la guida](https://yunohost.org/install) per imparare a installarlo.*
## Panoramica
OpenSondage is a quick and easy-to-use online service to collaboratively plan and schedule the date and time for an appointment, meeting or other event. No registration is required.
**Versione pubblicata:** 1.1.19~ynh3
**Prova:** <https://framadate.org/>
## Screenshot
![Screenshot di OpenSondage](./doc/screenshots/screenshots.jpg)
## Documentazione e risorse
- Sito web ufficiale dellapp: <https://framadate.org/>
- Documentazione ufficiale per gli amministratori: <https://framagit.org/framasoft/framadate/framadate/wikis/home>
- Repository upstream del codice dellapp: <https://framagit.org/framasoft/framadate/framadate>
- Store di YunoHost: <https://apps.yunohost.org/app/opensondage>
- Segnala un problema: <https://github.com/YunoHost-Apps/opensondage_ynh/issues>
## Informazioni per sviluppatori
Si prega di inviare la tua pull request alla [branch di `testing`](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing).
Per provare la branch di `testing`, si prega di procedere in questo modo:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
o
sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
```
**Maggiori informazioni riguardo il pacchetto di questapp:** <https://yunohost.org/packaging_apps>

50
README_zh_Hans.md Normal file
View file

@ -0,0 +1,50 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 的 OpenSondage
[![集成程度](https://dash.yunohost.org/integration/opensondage.svg)](https://dash.yunohost.org/appci/app/opensondage) ![工作状态](https://ci-apps.yunohost.org/ci/badges/opensondage.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/opensondage.maintain.svg)
[![使用 YunoHost 安装 OpenSondage](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=opensondage)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 OpenSondage。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
OpenSondage is a quick and easy-to-use online service to collaboratively plan and schedule the date and time for an appointment, meeting or other event. No registration is required.
**分发版本:** 1.1.19~ynh3
**演示:** <https://framadate.org/>
## 截图
![OpenSondage 的截图](./doc/screenshots/screenshots.jpg)
## 文档与资源
- 官方应用网站: <https://framadate.org/>
- 官方管理文档: <https://framagit.org/framasoft/framadate/framadate/wikis/home>
- 上游应用代码库: <https://framagit.org/framasoft/framadate/framadate>
- YunoHost 商店: <https://apps.yunohost.org/app/opensondage>
- 报告 bug <https://github.com/YunoHost-Apps/opensondage_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
sudo yunohost app upgrade opensondage -u https://github.com/YunoHost-Apps/opensondage_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -26,7 +26,7 @@ const APP_URL = '__DOMAIN__';
const NOMAPPLICATION = 'OpenSondage'; const NOMAPPLICATION = 'OpenSondage';
// Database administrator email // Database administrator email
const ADRESSEMAILADMIN = '__ADMIN__@__DOMAIN__'; const ADRESSEMAILADMIN = '__APP__@__DOMAIN__';
// Email for automatic responses (you should set it to "no-reply") // Email for automatic responses (you should set it to "no-reply")
const ADRESSEMAILREPONSEAUTO = '<no-reply@__DOMAIN__>'; const ADRESSEMAILREPONSEAUTO = '<no-reply@__DOMAIN__>';

View file

@ -13,9 +13,6 @@ source /usr/share/yunohost/helpers
# RETRIEVE ARGUMENTS FROM THE MANIFEST # RETRIEVE ARGUMENTS FROM THE MANIFEST
#================================================= #=================================================
email=$(ynh_user_get_info --username=$admin --key=mail)
timezone="$(cat /etc/timezone)"
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================

View file

@ -10,8 +10,6 @@
source ../settings/scripts/_common.sh source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
timezone="$(cat /etc/timezone)"
email=$(ynh_user_get_info --username=$admin --key=mail)
#================================================= #=================================================
# RESTORE THE APP MAIN DIR # RESTORE THE APP MAIN DIR

View file

@ -13,8 +13,6 @@ source /usr/share/yunohost/helpers
# LOAD SETTINGS # LOAD SETTINGS
#================================================= #=================================================
email=$(ynh_user_get_info --username=$admin --key=mail)
timezone="$(cat /etc/timezone)"
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE