From fe267ba93d1754822d5dca0ee9062789b8416def Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 6 May 2018 16:54:17 +0000 Subject: [PATCH 1/9] Update changelog for 2.7.12 release --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index bcf655f..d63f811 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ssowat (2.7.12) stable; urgency=low + + * Bumping version number for stable release + + -- Alexandre Aubin Sun, 06 May 2018 16:53:24 +0000 + ssowat (2.7.11) testing; urgency=low * [i18n] Improve translations for Arabic, Dutch, Spanish From a41b76c251f23ab498e38cd51a62ab58dc3ead8e Mon Sep 17 00:00:00 2001 From: nicofrand Date: Wed, 9 May 2018 18:34:00 +0200 Subject: [PATCH 2/9] Make tile dragging work on mobile devices --- portal/assets/js/ynhpanel.js | 42 ++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/portal/assets/js/ynhpanel.js b/portal/assets/js/ynhpanel.js index 4d9fd13..1adaa8e 100644 --- a/portal/assets/js/ynhpanel.js +++ b/portal/assets/js/ynhpanel.js @@ -122,33 +122,53 @@ var dragg = function(id) { this.x_pos = 0, this.y_pos = 0, // Stores x & y coordinates of the mouse pointer this.x_elem = 0, this.y_elem = 0; // Stores top, left values (edge) of the element - // Start dragging - window.addEvent(elem, 'mousedown', function(e){ + var _initDrag = function(e){ // Prevent firefox native D'n'D behavior window.eventPreventDefault(e); + if (e.type === "touchstart"){ + x_pos = e.touches[0].clientX; + y_pos = e.touches[0].clientY; + } + selected = elem; x_elem = x_pos - selected.offsetLeft; y_elem = y_pos - selected.offsetTop; - }); + }; - // Will be called when user dragging an element - window.addEvent(window, 'mousemove', function(e){ + var _shutDrag = function(e){ + selected = null; + }; + + var _onMove = function(e){ // Get position - x_pos = document.all ? window.event.clientX : e.pageX; - y_pos = document.all ? window.event.clientY : e.pageY; + x_pos = document.all ? window.event: e.pageX; + y_pos = document.all ? window.event : e.pageY; + + if (e.type === "touchmove"){ + x_pos = e.touches[0].clientX; + y_pos = e.touches[0].clientY; + } if (selected !== null) { dragged = true; selected.style.left = (x_pos - x_elem) + 'px'; selected.style.top = (y_pos - y_elem) + 'px'; } - }); + }; + + // Start dragging + window.addEvent(elem, 'mousedown', _initDrag); + window.addEvent(elem, 'touchstart', _initDrag); + + // Will be called when user dragging an element + window.addEvent(window, 'mousemove', _onMove); + window.addEvent(window, 'touchmove', _onMove); // Destroy the object when we are done - window.addEvent(window, 'mouseup', function(e){ - selected = null; - }); + window.addEvent(window, 'mouseup', _shutDrag); + window.addEvent(window, 'touchend', _shutDrag); + window.addEvent(window, 'touchcancel', _shutDrag); // Handle click event window.addEvent(elem, 'click', function(e){ From daa535a41b7089a0c254b98809fa573131c19933 Mon Sep 17 00:00:00 2001 From: Bram Date: Thu, 7 Jun 2018 13:21:20 +0200 Subject: [PATCH 3/9] [doc] we moved away from redmine --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f9bc49..d8ede1a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A simple LDAP SSO for nginx, written in Lua Issues ------ -- [Please report issues on YunoHost bugtracker](https://dev.yunohost.org/projects/yunohost/issues) (no registration needed). +- [Please report issues on YunoHost bugtracker](https://github.com/YunoHost/issues). Requirements ------------ From a5ba75a6c4fbf16ef4640e7a2267068f00c45c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=B2u=20utilizaire?= Date: Mon, 28 May 2018 11:56:41 +0000 Subject: [PATCH 4/9] Added translation using Weblate (Occitan) --- portal/locales/oc.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 portal/locales/oc.json diff --git a/portal/locales/oc.json b/portal/locales/oc.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/portal/locales/oc.json @@ -0,0 +1 @@ +{} From dee85631aba3788744441ab7047dcc9e9be877a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=B2u=20utilizaire?= Date: Mon, 28 May 2018 11:57:38 +0000 Subject: [PATCH 5/9] [i18n] Translated using Weblate (Occitan) Currently translated at 56.0% (23 of 41 strings) --- portal/locales/oc.json | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/portal/locales/oc.json b/portal/locales/oc.json index 0967ef4..32a7b19 100644 --- a/portal/locales/oc.json +++ b/portal/locales/oc.json @@ -1 +1,25 @@ -{} +{ + "portal": "Portal YunoHost", + "information": "Vòstras informacions", + "username": "Nom d’utilizaire", + "password": "Senhal", + "fullname": "Nom complèt", + "mail_addresses": "Adreça de corrièl", + "mail_forward": "Adreças de transferiment", + "new_mail": "novela_adreça@domeni.org", + "new_forward": "novel_transferiment@domenialonhat.org", + "add_mail": "Ajustar una adreça de corrièl", + "add_forward": "Ajustar una adreça de transferiment", + "ok": "OK", + "cancel": "Anullar", + "change_password": "Cambiar lo senhal", + "edit": "Editar", + "current_password": "Senhal actual", + "new_password": "Nòu senhal", + "confirm": "Confirmar", + "login": "Connexion", + "logout": "Desconnexion", + "password_changed": "Senhal modificat", + "password_changed_error": "Una error s'es producha en cambiar lo senhal", + "password_not_match": "Los senhals correspondon pas" +} From 8a98e3811029832928cbd33a485dc5e75928b033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=B2u=20utilizaire?= Date: Mon, 28 May 2018 12:01:18 +0000 Subject: [PATCH 6/9] [i18n] Translated using Weblate (Occitan) Currently translated at 100.0% (41 of 41 strings) --- portal/locales/oc.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/portal/locales/oc.json b/portal/locales/oc.json index 32a7b19..05b2cdd 100644 --- a/portal/locales/oc.json +++ b/portal/locales/oc.json @@ -21,5 +21,23 @@ "logout": "Desconnexion", "password_changed": "Senhal modificat", "password_changed_error": "Una error s'es producha en cambiar lo senhal", - "password_not_match": "Los senhals correspondon pas" + "password_not_match": "Los nòus senhals correspondon pas", + "wrong_current_password": "Lo senhal actual es incorrècte", + "invalid_mail": "Adreça de corrièl invalida", + "invalid_domain": "Nom de domeni invalid dins", + "invalid_mailforward": "Adreça de transferiment invalida", + "mail_already_used": "Adreça ja utilizada :", + "information_updated": "Informacions actualizadas", + "user_saving_fail": "Una error s'es producha en enregistrar los cambiaments", + "missing_required_fields": "Camps requesits mancants", + "wrong_username_password": "Nom d’utilizaire o senhal incorrècte", + "logged_out": "Desconnectat", + "please_login": "Mercé de vos identificar per accedir a la pagina", + "please_login_from_portal": "Mercés de vos identificar dins del portal", + "redirection_error_invalid_url": "Error de redireccion : url invalida", + "redirection_error_unmanaged_domain": "Error de redireccion : domeni pas gerit", + "footerlink_edit": "Editar lo perfil", + "footerlink_documentation": "Documentacion", + "footerlink_support": "Assisténcia", + "footerlink_administration": "Administracion" } From 22c1adc03cf82acbf9baf8b449c9b07598cca0cd Mon Sep 17 00:00:00 2001 From: Quenti Date: Wed, 30 May 2018 17:27:00 +0000 Subject: [PATCH 7/9] [i18n] Translated using Weblate (Occitan) Currently translated at 100.0% (41 of 41 strings) --- portal/locales/oc.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/portal/locales/oc.json b/portal/locales/oc.json index 05b2cdd..cfe78f7 100644 --- a/portal/locales/oc.json +++ b/portal/locales/oc.json @@ -20,22 +20,22 @@ "login": "Connexion", "logout": "Desconnexion", "password_changed": "Senhal modificat", - "password_changed_error": "Una error s'es producha en cambiar lo senhal", + "password_changed_error": "Una error s’es producha en cambiar lo senhal", "password_not_match": "Los nòus senhals correspondon pas", "wrong_current_password": "Lo senhal actual es incorrècte", "invalid_mail": "Adreça de corrièl invalida", "invalid_domain": "Nom de domeni invalid dins", "invalid_mailforward": "Adreça de transferiment invalida", - "mail_already_used": "Adreça ja utilizada :", + "mail_already_used": "Adreça ja utilizada :", "information_updated": "Informacions actualizadas", - "user_saving_fail": "Una error s'es producha en enregistrar los cambiaments", + "user_saving_fail": "Una error s’es producha en enregistrar los cambiaments", "missing_required_fields": "Camps requesits mancants", "wrong_username_password": "Nom d’utilizaire o senhal incorrècte", "logged_out": "Desconnectat", "please_login": "Mercé de vos identificar per accedir a la pagina", "please_login_from_portal": "Mercés de vos identificar dins del portal", - "redirection_error_invalid_url": "Error de redireccion : url invalida", - "redirection_error_unmanaged_domain": "Error de redireccion : domeni pas gerit", + "redirection_error_invalid_url": "Error de redireccion : url invalida", + "redirection_error_unmanaged_domain": "Error de redireccion : domeni pas gerit", "footerlink_edit": "Editar lo perfil", "footerlink_documentation": "Documentacion", "footerlink_support": "Assisténcia", From 13c1625fa59a45ad52afa80c6775102962e99e6a Mon Sep 17 00:00:00 2001 From: htmk Date: Wed, 30 May 2018 06:30:25 +0000 Subject: [PATCH 8/9] [i18n] Translated using Weblate (Portuguese) Currently translated at 100.0% (41 of 41 strings) --- portal/locales/pt.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/portal/locales/pt.json b/portal/locales/pt.json index 9871ab4..878b4db 100644 --- a/portal/locales/pt.json +++ b/portal/locales/pt.json @@ -11,7 +11,7 @@ "footerlink_edit": "Editar o meu perfil", "footerlink_support": "Suporte", "fullname": "Nome completo", - "information": "Informação pessoal", + "information": "Suas informações", "information_updated": "Informação atualizada", "invalid_domain": "Domínio inválido em", "invalid_mail": "Endereço de correio inválido", @@ -37,5 +37,7 @@ "user_saving_fail": "Um erro ocorreu ao guardar as modificações do utilizador", "username": "Nome de utilizador", "wrong_current_password": "Senha atual está errada", - "wrong_username_password": "Nome de utilizador e senha errados" + "wrong_username_password": "Nome de utilizador e senha errados", + "redirection_error_invalid_url": "Erro de redirecionamento: url inválida", + "redirection_error_unmanaged_domain": "Erro de redirecionamento: Dominio não gerenciado" } From d3b267107f7a98c8c9001d71aea8434c1a5ec130 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 17 Jun 2018 01:54:06 +0000 Subject: [PATCH 9/9] Update changelog for 2.7.14 release --- debian/changelog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index d63f811..3ae8673 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +ssowat (2.7.14) stable; urgency=low + + * Make tile dragging work on mobile devices + * Improve Occitan and Portuguese translations + * Releasing as stable + + -- Alexandre Aubin Sun, 17 Jun 2018 01:53:11 +0000 + ssowat (2.7.12) stable; urgency=low * Bumping version number for stable release