Compare commits

...

741 commits

Author SHA1 Message Date
Alexandre Aubin
4826e7aa09 Fix changelog upper/lowercase for 11.2.1.1 2024-05-20 00:43:30 +02:00
OniriCorpe
542a87f780 Update 11.2.1 2024-05-20 00:27:57 +02:00
OniriCorpe
9c8482f2f2 chores: add make_changelog script 2024-05-20 00:25:46 +02:00
OniriCorpe
9f0ca46717
Merge pull request #227 from yunohost-bot/weblate-yunohost-ssowat 2024-05-08 01:31:29 +02:00
OniriCorpe
25eb766389 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2024-05-08 01:11:39 +02:00
Gregor
0b333c5829 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2024-03-24 01:36:33 +01:00
OniriCorpe
e990ac5bc7
Merge pull request #226 from yunohost-bot/weblate-yunohost-ssowat 2024-03-23 20:17:55 +01:00
xaloc33
c8e17aad2e Translated using Weblate (Catalan)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ca/
2024-03-23 14:39:30 +01:00
Bram
1276a2160f Translated using Weblate (Swedish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sv/
2024-03-23 06:05:25 +01:00
Alexandre Aubin
bffb2ce730
Merge pull request #225 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2024-03-20 18:44:03 +01:00
OniriCorpe
1058bca3ed Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2024-03-09 05:14:54 +01:00
OniriCorpe
dad24738e2 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2024-03-07 20:45:24 +01:00
Alexandre Aubin
accdb66e43
Merge pull request #224 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2024-02-02 22:00:15 +01:00
Carlos Solís
ff3e9054be Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/es/
2024-02-01 03:01:54 +01:00
Weblate
96725a1742 Added translation using Weblate (Korean) 2024-01-25 13:39:28 +01:00
Christian Wehrli
72968e7486 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2023-12-10 20:19:33 +01:00
Alexandre Aubin
38a6f23f38
Merge pull request #219 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2023-08-31 17:29:31 +02:00
ButterflyOfFire
79d0e7b497 Translated using Weblate (Kabyle)
Currently translated at 31.9% (15 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/kab/
2023-08-31 00:25:46 +02:00
Alexandre Aubin
c68f90b83e Update changelog for 11.2 2023-07-17 16:34:57 +02:00
Alexandre Aubin
85591a5744
Merge pull request #214 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2023-07-17 15:48:29 +02:00
motcha
429db4e2d5 Translated using Weblate (Japanese)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ja/
2023-07-12 01:35:13 +02:00
Alexandre Aubin
40389a9aff
Merge pull request #213 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2023-07-11 16:34:00 +02:00
motcha
936ae051fc Translated using Weblate (Japanese)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ja/
2023-07-11 00:51:19 +02:00
Weblate
2e2c37700b Added translation using Weblate (Japanese) 2023-07-09 04:32:44 +02:00
Alexandre Aubin
8554e696f3
Merge pull request #211 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2023-05-08 15:47:31 +02:00
Neko Nekowazarashi
09914c6c4d Translated using Weblate (Indonesian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/id/
2023-05-05 09:22:03 +02:00
Neko Nekowazarashi
548bdbd684 Translated using Weblate (Indonesian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/id/
2023-04-25 12:11:40 +02:00
Christian Wehrli
86a4c8a3f3 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2023-03-11 06:14:44 +01:00
Neko Nekowazarashi
f0829a93ab Translated using Weblate (Indonesian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/id/
2023-02-27 19:15:01 +01:00
Neko Nekowazarashi
5828a627ec Translated using Weblate (Indonesian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/id/
2023-02-25 22:59:07 +01:00
Poesty Li
bedcc33fb8 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/zh_Hans/
2023-02-06 20:30:23 +01:00
Alexandre Aubin
fa8be3795e Update changelog for 11.1.4 2023-02-01 20:28:33 +01:00
Alexandre Aubin
dbfc8ce39d Update changelog for 11.1.3 2023-01-30 16:33:53 +01:00
Alexandre Aubin
ebe37f3e4a
Merge pull request #210 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2023-01-30 16:06:36 +01:00
Weblate
c2d020cbc0 Added translation using Weblate (Lithuanian) 2023-01-24 14:45:08 +01:00
Alexandre Aubin
beed8a5c7f debian: have a proper postinst script that reload (not restart, omg) nginx... 2023-01-24 14:44:50 +01:00
Alexandre Aubin
37bdfbae4d Update changelog for 11.1.2.5 2023-01-19 17:22:14 +01:00
Alexandre Aubin
a3a4543850
Merge pull request #204 from ewilly/dev
Fix auth_header parsing when password contains semicolon
2023-01-19 16:54:12 +01:00
ewilly
ba5ffba490 Fix auth_header
If a colon is in the password, user and password are not well detected.
For example if user="me" and password="pass:word" the function give
user="me:pass" password="word"
2023-01-12 22:23:41 +01:00
Alexandre Aubin
46b58d3695 Update changelog for 11.1.2.4 2023-01-10 00:03:57 +01:00
Alexandre Aubin
8faa8057f0 security: rework previous fixes to use the new use_remote_user_var_in_nginx_conf in ssowat conf introduced in yunohost 11.1.2 2023-01-10 00:03:25 +01:00
Alexandre Aubin
6cb7327688 Update changelog for 11.1.2.3 2023-01-09 20:51:39 +01:00
Alexandre Aubin
4e92965eda Stupid typo 2023-01-09 20:51:00 +01:00
Alexandre Aubin
d85dc4f999 Update changelog for 11.1.2.2 2023-01-09 19:47:32 +01:00
Alexandre Aubin
92f1e0505a Iterate on previous security fixes: ignore Auth header on PROPFIND routes, and don't drop Auth header which are not Basic auth 2023-01-09 19:46:51 +01:00
Alexandre Aubin
8621a1e1a3 Update changelog for 11.1.2.1 2023-01-09 18:33:46 +01:00
Alexandre Aubin
7a2d0ed27a security: Also check client-provided auth headers to prevent impersonation 2023-01-09 18:32:32 +01:00
Alexandre Aubin
e60e95f5b4
Merge pull request #209 from selfhoster1312/misleading-auth-headers
Authentication headers are ONLY set when user is logged
2023-01-09 18:15:57 +01:00
selfhoster1312
5e378e5c2b Authentication headers are ONLY set when user is logged in and has access to app
Prevents impersonating users on public applications where the auth headers were not cleared
2023-01-09 15:47:45 +01:00
Alexandre Aubin
2af882a69d Update changelog for 11.1.2 2023-01-06 00:41:09 +01:00
Alexandre Aubin
66062d75f3
Merge pull request #207 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2023-01-06 00:40:24 +01:00
xabirequejo
5d0d58fab2 Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2022-12-06 15:59:39 +01:00
Grzegorz Cichocki
08f89e9f1f Translated using Weblate (Polish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/pl/
2022-12-06 15:59:38 +01:00
Tymofii-Lytvynenko
336ce90510 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/uk/
2022-12-06 15:59:38 +01:00
quiwy
1f367e523f Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/es/
2022-12-06 15:59:38 +01:00
Christian Wehrli
20eebde86e Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2022-12-06 15:59:38 +01:00
xabirequejo
f0bcde67d6 Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2022-12-06 15:59:38 +01:00
Weblate
439ccf6547 Added translation using Weblate (Portuguese (Brazil)) 2022-12-06 15:59:38 +01:00
Weblate
b95a0e82de Added translation using Weblate (Hebrew) 2022-12-06 15:59:38 +01:00
Jose Riha
c4aa499a52 Translated using Weblate (Slovak)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sk/
2022-12-06 15:59:38 +01:00
Alexandre Aubin
71f68b0d4b
Fix password check, path to yunohost lib changed in 11.x 2022-12-06 15:59:32 +01:00
Alexandre Aubin
8c44475d39
Merge pull request #208 from cyrilRomain/bookworm
[fix] helpers.lua: openssl v3 support for hmac_sha512
2022-11-06 19:48:00 +01:00
Cyril Romain
7cd4965f6c [fix] helpers.lua: openssl v3 support for hmac_sha512
This change is backward compatible with older openssl versions
2022-11-06 19:38:12 +01:00
Alexandre Aubin
81160e5d95 Update changelog for 11.1 2022-10-25 23:23:59 +02:00
Alexandre Aubin
e2996f1451 User info self-edit would not update displayName (which is supposed to be the same as cn) resulting in inconsistencies 2022-10-09 17:27:04 +02:00
Alexandre Aubin
a3507203a9
Merge pull request #206 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2022-09-30 15:26:17 +02:00
Jose Riha
138466d059 Translated using Weblate (Slovak)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sk/
2022-09-18 20:47:48 +02:00
Sedat Albayrak
65a1b0a1b7 Translated using Weblate (Turkish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/tr/
2022-09-12 06:42:13 +02:00
xabirequejo
22296cf122 Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2022-09-01 16:56:33 +00:00
xabirequejo
69db86caa7 Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2022-09-01 13:56:04 +00:00
José M
a9e15256d3 Translated using Weblate (Galician)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/gl/
2022-08-07 21:33:03 +00:00
Alexandre Aubin
ce7127bcfa Update changelog for 11.0.9 2022-08-07 23:32:47 +02:00
Alexandre Aubin
394a56350b Update changelog for 11.0.8 2022-08-07 12:20:06 +02:00
Alexandre Aubin
f092162404
Merge pull request #205 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2022-08-03 22:19:47 +02:00
Radek Raczkowski
1fd701b8a4 Translated using Weblate (Polish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/pl/
2022-07-10 13:50:40 +00:00
Jose Riha
aa40c7cabf Translated using Weblate (Slovak)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sk/
2022-06-22 05:38:29 +00:00
Alice Kile
a2d04e11bb Translated using Weblate (Telugu)
Currently translated at 2.1% (1 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/te/
2022-06-07 09:31:34 +00:00
Weblate
758eebed29 Added translation using Weblate (Telugu) 2022-06-06 21:19:08 +00:00
Jose Riha
f681dc7d1f Translated using Weblate (Slovak)
Currently translated at 48.9% (23 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sk/
2022-05-25 08:39:41 +00:00
Weblate
e892357f70 Added translation using Weblate (Slovak) 2022-05-23 20:11:39 +00:00
tituspijean
b9557ae1db
Update changelog for 11.0.7 2022-05-17 23:59:38 +02:00
Alexandre Aubin
1d0216bd30
Merge pull request #203 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2022-04-27 21:55:18 +02:00
Jimmy Angel Pérez Díaz
15371c81b2 Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/es/
2022-04-05 15:35:03 +00:00
Kay0u
372b48e372
Update changelog for 11.0.6 2022-03-29 14:28:59 +02:00
Kayou
31f17e2242
Merge pull request #202 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2022-03-29 14:26:15 +02:00
3ole
7ed96de114 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2022-03-27 22:17:24 +00:00
Selyan Slimane Amiri
159568cb03 Translated using Weblate (Kabyle)
Currently translated at 34.0% (16 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/kab/
2022-03-24 14:38:03 +00:00
Weblate
57746e68cc Added translation using Weblate (Kabyle) 2022-03-14 07:43:20 +00:00
Alexandre Aubin
e824a4bcac
Merge pull request #201 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2022-03-08 13:20:46 +01:00
José M
db9171dc7e Translated using Weblate (Galician)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/gl/
2022-03-07 08:10:21 +00:00
Eylul Dogruel
dc8884be6b Translated using Weblate (Turkish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/tr/
2022-02-24 10:49:28 +00:00
José M
670a5d4285 Translated using Weblate (Galician)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/gl/
2022-02-18 16:01:17 +00:00
Tagada
ddbb5199aa Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2022-02-11 10:46:49 +00:00
Mico Hauataluoma
dbea4126d5 Translated using Weblate (Finnish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fi/
2022-02-06 08:36:17 +00:00
Weblate
808a511356 Added translation using Weblate (Danish) 2022-01-26 13:42:02 +00:00
Alexandre Aubin
6ad55374d5 Update changelog for 11.0.2 2022-01-19 21:26:44 +01:00
Alexandre Aubin
2229b71f09 Merge branch 'dev' into bullseye 2022-01-19 21:24:35 +01:00
Alexandre Aubin
1d1a3a4e49 Update changelog for 4.4.0 2022-01-19 21:22:08 +01:00
Alexandre Aubin
6a15594c24 Update changelog for 4.3.3.1 2022-01-19 21:21:07 +01:00
Alexandre Aubin
8e0485154b
Merge pull request #200 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2022-01-19 20:03:48 +01:00
Mico Hauataluoma
3695336802 Translated using Weblate (Finnish)
Currently translated at 8.5% (4 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fi/
2022-01-15 13:20:47 +00:00
Boudewijn
3586b23365 Translated using Weblate (Dutch)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/nl/
2022-01-09 13:59:40 +00:00
Boudewijn
fc976cab54 Translated using Weblate (Dutch)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/nl/
2022-01-09 10:59:34 +00:00
Kay0u
03a7e5b0ee
Merge remote-tracking branch 'origin/dev' into bullseye 2021-12-30 15:52:54 +01:00
Alexandre Aubin
beedb9b20f Update changelog for 4.3.3 2021-12-29 01:12:12 +01:00
Alexandre Aubin
914cb0bce6
Merge pull request #198 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-12-27 15:28:09 +01:00
Valentin von Guttenberg
7c6a95b249 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2021-11-29 18:44:42 +00:00
Boudewijn
008632e0fb Translated using Weblate (Dutch)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/nl/
2021-11-23 11:31:13 +00:00
Alexandre Aubin
737d686623 Update changelog for 4.3.2.2 2021-11-18 01:10:49 +01:00
Kay0u
981960fb50
Another fix for redirect function 2021-11-16 21:40:04 +01:00
Alexandre Aubin
08be399a49 Update changelog for 4.3.2.1 2021-11-15 19:55:20 +01:00
Alexandre Aubin
0ce337e17f
Merge pull request #197 from YunoHost/fix-not-only-alphanumeric-characters-domain-name
[fix] unauthorized redirect url check not matching non-alphanumeric chars in domain name
2021-11-15 19:25:32 +01:00
Alexandre Aubin
325964742d
Improve check for unauthorized redirect url
Co-authored-by: Kayou <pierre@kayou.io>
2021-11-15 19:02:13 +01:00
Alexandre Aubin
0141723db0 Merge branch 'dev' into bullseye 2021-11-15 03:14:11 +01:00
Kayou
0e6369bb38
fix not only alphanumeric characters domain name 2021-11-15 00:49:51 +01:00
Alexandre Aubin
6e4c1facaf Update changelog for 4.3.2 2021-11-05 02:39:57 +01:00
Alexandre Aubin
222ea76da0 Update changelog for 4.3.1.1 2021-11-03 18:46:40 +01:00
Alexandre Aubin
fc4fab8aa0
Merge pull request #196 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-11-03 18:29:18 +01:00
punkrockgirl
9864abf022 Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2021-10-31 14:11:18 +00:00
punkrockgirl
59203278f2 Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2021-10-30 01:40:57 +00:00
Page Asgardius
98213ebd13 Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/es/
2021-10-23 18:16:32 +00:00
punkrockgirl
a7c085f5db Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2021-10-21 10:29:03 +00:00
punkrockgirl
8e40a8df76 Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2021-10-20 23:40:20 +00:00
Semen Turchikhin
1c2974df19 Translated using Weblate (Russian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ru/
2021-10-18 10:39:38 +00:00
Semen Turchikhin
2c384db3ad Translated using Weblate (Russian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ru/
2021-10-14 13:12:27 +00:00
Jurij Podgoršek
dc3e54bf2f Translated using Weblate (Slovenian)
Currently translated at 2.1% (1 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sl/
2021-10-12 23:39:48 +00:00
Weblate
3055d90783 Added translation using Weblate (Slovenian) 2021-10-12 22:39:13 +00:00
Semen Turchikhin
08a4734a94 Translated using Weblate (Russian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ru/
2021-10-12 21:32:00 +00:00
Alexandre Aubin
7548bac055 Update changelog for 4.3.1 2021-09-29 22:39:53 +02:00
Alexandre Aubin
a133de4c5c
Merge pull request #195 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-09-29 22:17:35 +02:00
liimee
96c684725b Translated using Weblate (Indonesian)
Currently translated at 85.1% (40 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/id/
2021-09-20 11:17:11 +00:00
Alexandre Aubin
7a148eb4fc Update changelog for 4.3.0 2021-09-19 23:44:54 +02:00
Alexandre Aubin
c0b398dfd0
Merge pull request #194 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-09-19 21:16:28 +02:00
Éric Gaspar
f53a9959bd Translated using Weblate (Portuguese)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/pt/
2021-09-19 19:15:58 +00:00
Weblate
6c3b52be2a Added translation using Weblate (Macedonian) 2021-09-19 19:15:58 +00:00
liimee
429a87e565 Translated using Weblate (Indonesian)
Currently translated at 2.1% (1 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/id/
2021-09-19 19:15:58 +00:00
Weblate
c827c41c1c Added translation using Weblate (Indonesian) 2021-09-19 19:15:58 +00:00
Tymofii-Lytvynenko
017b01411d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/uk/
2021-09-19 19:15:58 +00:00
Parviz Homayun
551398907d Translated using Weblate (Persian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fa/
2021-09-19 19:15:58 +00:00
Éric Gaspar
6a2a9a709a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/uk/
2021-09-19 19:15:58 +00:00
ljf (zamentur)
35ee437272
[fix] Avoid redirection on unmanaged domains (#191)
* [fix] Avoid redirection on unmanaged domains

* [fix] redirect with uri

* Update helpers.lua

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-09-19 21:15:54 +02:00
Alexandre Aubin
ec5bca1367
Merge pull request #193 from cyrilRomain/dev
[Fix] ynh_portal.css: fix font urls
2021-09-08 01:47:00 +02:00
Alexandre Aubin
8354c57978
Merge pull request #139 from moutonjr/pv-new-theme-unsplash
Adding new theme Unsplash forek from "Clouds"
2021-09-05 15:16:30 +02:00
Kay0u
614f79f9e6
Merge branch 'dev' into bullseye 2021-09-01 17:16:47 +02:00
Alexandre Aubin
6e7abb0841
Merge pull request #192 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-09-01 11:26:08 +02:00
Cyril Romain
570f40fe7d [Fix] ynh_portal.css: fix font urls 2021-08-31 11:22:12 +00:00
Parviz Homayun
e85a0daf8a Translated using Weblate (Persian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fa/
2021-08-31 01:22:49 +00:00
Parviz Homayun
028a70fb63 Translated using Weblate (Persian)
Currently translated at 8.5% (4 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fa/
2021-08-30 19:21:22 +00:00
Weblate
c5e94bc448 Added translation using Weblate (Kurdish (Central)) 2021-08-30 14:14:40 +00:00
Parviz Homayun
ff471ca512 Translated using Weblate (Persian)
Currently translated at 2.1% (1 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fa/
2021-08-29 22:55:19 +00:00
Tymofii-Lytvynenko
063d6d5346 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/uk/
2021-08-29 02:57:09 +00:00
Weblate
374c5f8d54 Added translation using Weblate (Persian) 2021-08-28 21:47:02 +00:00
Tymofii-Lytvynenko
f057e0178f Translated using Weblate (Ukrainian)
Currently translated at 2.1% (1 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/uk/
2021-08-27 08:00:29 +00:00
Weblate
46aefdbbcd Merge branch 'dev' of https://github.com/YunoHost/SSOwat into dev 2021-08-26 20:22:02 +00:00
Alexandre Aubin
07378dfd46 Forgot to python -> python3 in password check 2021-08-15 21:41:50 +02:00
Weblate
00722e9a03 Merge remote-tracking branch 'origin/dev' into dev 2021-08-14 23:36:54 +00:00
Alexandre Aubin
b28788d708 Improve logging when failing to authenticate ssowat cookies 2021-08-14 21:26:19 +02:00
Weblate
6fe77fbf5c Merge branch 'dev' of https://github.com/YunoHost/SSOwat into dev 2021-08-11 15:16:47 +00:00
Alexandre Aubin
37b2db471b Update changelog for 4.2.4 2021-08-08 22:12:23 +02:00
Alexandre Aubin
0452fdeb68 Update changelog for 4.2.4 2021-08-08 22:03:07 +02:00
Alexandre Aubin
4eb92f9685
Merge pull request #190 from YunoHost/fix-randomfile
[fix] Not enough random file name
2021-08-08 19:59:19 +02:00
Alexandre Aubin
57a33cafef
Merge pull request #188 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-08-08 19:52:55 +02:00
Luca
bc1bf77d5d Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2021-08-08 17:52:28 +00:00
Weblate
a14cdc0ced Added translation using Weblate (Ukrainian) 2021-08-08 17:52:28 +00:00
Flavio Cristoforetti
d933788f33 Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/it/
2021-08-08 17:52:28 +00:00
Christian Wehrli
fabbc8d813 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2021-08-08 17:52:28 +00:00
Mico Hauataluoma
5f6877d84b Translated using Weblate (Finnish)
Currently translated at 2.1% (1 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fi/
2021-08-08 17:52:28 +00:00
amirale qt
4fd99467e8 Translated using Weblate (Esperanto)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eo/
2021-08-08 17:52:28 +00:00
Flavio Cristoforetti
4126e09385 Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/it/
2021-08-08 17:52:28 +00:00
José M
cc11adafa5 Translated using Weblate (Galician)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/gl/
2021-08-08 17:52:28 +00:00
Alexandre Aubin
bdbc99ca12
Merge pull request #187 from andretheolauret/enh-save_yunohost_overlay_positions
[Enh] Added overlay positions saving accross navigation
2021-08-08 19:52:25 +02:00
Alexandre Aubin
c8631c2fa8
Merge pull request #186 from andretheolauret/fix-1491-ios_overlay_appear_desappear
[Fix] Yunohost Overlay - Appear/Desappear bug
2021-08-08 19:49:16 +02:00
ljf
c34d9fd74d [fix] Not enough random file name 2021-07-29 16:34:56 +02:00
Alexandre Aubin
ecaecddac5
Merge pull request #189 from YunoHost/fix-theme
[fix] dash filename, mime types, ynh_userinfo.json
2021-07-03 23:28:50 +02:00
ljf
8d0998bc3a [enh] Add comment 2021-07-02 19:51:02 +02:00
ljf
f6ddb7af65 [fix] Nextcloud calls strangely logout the user in SSO 2021-07-02 19:49:17 +02:00
ljf
6de4b10e81 [fix] Security risk due to cache full of different uris 2021-07-02 17:40:17 +02:00
ljf
ca2a605dce [fix] Typo json 2021-06-29 18:57:06 +02:00
ljf
89d78ab312 [enh] Avoid to list hidden files 2021-06-29 18:50:05 +02:00
ljf
b3741580da [fix] dash filename, mime types, ynh_userinfo.json 2021-06-29 18:34:40 +02:00
Alexandre Aubin
92728ac6cb Update changelog for 4.2.3 2021-05-24 17:44:14 +02:00
Alexandre Aubin
dd778cbdbc
Merge pull request #185 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-05-24 17:02:00 +02:00
unknown
7718f424d2 [Enh] Added overlay positions saving accross navigation 2021-05-12 13:51:54 +04:00
unknown
38d87adbc0 Deleting somes unused parts from last commit 2021-05-12 02:54:32 +04:00
unknown
3cac2c4ee5 Fixing overlay causes scrolling freezes on iOS 2021-05-12 02:50:49 +04:00
unknown
bf74cc12a5 [Fix] Yunohost Overlay - Appear/Desappear bug 2021-05-11 23:23:50 +04:00
José M
6494a66701 Translated using Weblate (Galician)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/gl/
2021-05-11 06:58:56 +00:00
Weblate
690323e185 Added translation using Weblate (Galician) 2021-05-10 08:53:03 +00:00
Weblate
27e0d765ea Added translation using Weblate (Finnish) 2021-05-09 13:11:51 +00:00
Alexandre Aubin
d0c8604fad Update changelog for 4.2.2 2021-05-08 15:13:59 +02:00
Alexandre Aubin
de849184c0
Merge pull request #180 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2021-04-26 16:25:00 +02:00
Christian Wehrli
2f39de07c8 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2021-04-21 20:58:05 +00:00
panomaki
1b0ea601f1 Translated using Weblate (Dutch)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/nl/
2021-04-17 01:45:34 +00:00
Quentí
a07c5ea19b Translated using Weblate (Occitan)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/oc/
2021-04-17 01:45:34 +00:00
Tymur Valiiev
009afbcf17 Translated using Weblate (Russian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ru/
2021-04-17 01:45:34 +00:00
Mathieu Massaviol
040fc7e271 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2021-04-17 01:45:34 +00:00
Miloš Kroulík
3cc7549a99 Translated using Weblate (Czech)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/cs/
2021-04-17 01:45:34 +00:00
ppr
6d7449eb71 Translated using Weblate (French)
Currently translated at 97.8% (46 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2021-04-17 01:45:34 +00:00
Alexandre Aubin
55ea68ee07 Update changelog for 4.2.1 2021-04-17 03:45:16 +02:00
Alexandre Aubin
2e8c2f9c67
Merge pull request #183 from YunoHost/avoid-a-syscall-for-cookies
Avoid a syscall for cookies
2021-04-08 15:38:18 +02:00
Alexandre Aubin
cc4cabd205
Merge pull request #182 from YunoHost/remove-SSOwAuthRedirect
remove SSOwAuthRedirect
2021-04-08 15:32:44 +02:00
Kay0u
45e4f9de05
avoid a syscall for cookies 2021-04-08 11:11:46 +02:00
Kay0u
24e7755e8a
remove SSOwAuthRedirect 2021-04-08 10:58:36 +02:00
Alexandre Aubin
547e15157b Update changelog for 4.2 2021-03-25 01:17:09 +01:00
Alexandre Aubin
2fe893e350 Bullseye: idk what i'm doing but let's try to bump compat to 13 2021-02-05 02:11:30 +01:00
Alexandre Aubin
2709a64419 Update changelog for 11.0 2021-02-05 00:10:08 +01:00
Alexandre Aubin
136e4f2ba6 Bullseye: Misc updates in control file 2021-02-05 00:09:13 +01:00
Kay0u
81abda2f4e
4.1.3 2021-01-20 01:57:38 +01:00
Kayou
25866ed99b
Merge pull request #179 from YunoHost/match-beginning-of-url-permissions
match the beginning of url permissions
2021-01-20 01:38:57 +01:00
Kay0u
384889ae11
match the beginning of url permissions 2021-01-20 01:28:08 +01:00
Alexandre Aubin
63a9c9bada Update changelog for 4.1.2 2021-01-08 03:16:53 +01:00
Alexandre Aubin
7c572d559a
Merge pull request #178 from YunoHost/update-the-doc
Update the sso doc with the new permissions system
2021-01-06 18:20:39 +01:00
Kay0u
dfd1072b15
Update the sso doc with the new permissions system 2020-12-30 14:34:31 +01:00
Alexandre Aubin
95f35d55a5 Update changelog for 4.1.1.1 2020-12-27 14:06:45 +01:00
Alexandre Aubin
8a215984e4
Merge pull request #177 from YunoHost/fix-auth-header-regression
parse auth header at the end
2020-12-27 13:58:11 +01:00
Kay0u
6c4c1ca54d
Revert my stuff, just change the name of header to Proxy-Authorization + set is_logged_in to false by default 2020-12-24 17:49:24 +01:00
Kay0u
73c5524518
is_logged_in is false at the beginning of the refresh function 2020-12-24 10:20:29 +01:00
Kay0u
50db509330
revert: set "Authorization" headers not Proxy 2020-12-23 18:39:54 +01:00
Kay0u
0ff5cc6af7
Authorization -> Proxy-Authorization 2020-12-23 18:13:34 +01:00
Kay0u
a756462e6c
parse auth header at the end 2020-12-23 15:20:55 +01:00
Alexandre Aubin
75cecb9a7a Update changelog for 4.1.1 2020-12-19 01:56:23 +01:00
Alexandre Aubin
0704973f59
Merge pull request #176 from titoko/patch-2
feat(security): don't set header if auth_header false
2020-12-18 18:31:57 +01:00
Titoko
1747da0571 Update access.lua 2020-12-17 20:12:22 +01:00
Kay0u
fec1e4cd3b
update default config 2020-12-17 16:47:31 +01:00
Alexandre Aubin
072e24c622
Merge pull request #175 from titoko/patch-1
fix(Authorization): Skipped Autorization Header that are not Basic
2020-12-15 22:10:43 +01:00
titoko
2ca6847d4d
Update helpers.lua 2020-12-13 12:05:27 +01:00
titoko
a0129b437e
fix(Authorization): Skipped Autorization Header that are not Basic 2020-12-12 14:23:46 +01:00
Kay0u
708136da46
Update changelog for 4.1.0 2020-12-03 16:22:48 +01:00
Kayou
c10db038a5
Merge pull request #174 from yunohost-bot/weblate-yunohost-ssowat
Translations update from Weblate
2020-12-02 22:20:55 +01:00
Miloš Kroulík
fd8055a96a Translated using Weblate (Czech)
Currently translated at 21.2% (10 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/cs/
2020-11-20 00:36:19 +00:00
Miloš Kroulík
56669d37f9 Added translation using Weblate (Czech) 2020-11-18 19:54:51 +00:00
Alexandre Aubin
9141bf3f51 Merge tag 'debian/4.0.5' into dev 2020-10-31 14:21:02 +01:00
Alexandre Aubin
ec2d13439f Update changelog for 4.0.5 2020-10-31 13:58:37 +01:00
Alexandre Aubin
a7cdf10ec5 Restore ngx logging used by fail2ban to detect failed logging attempt 2020-10-31 13:56:13 +01:00
Alexandre Aubin
6a7a9d668e Restore ngx logging used by fail2ban to detect failed logging attempt 2020-10-31 13:53:19 +01:00
Alexandre Aubin
229939dfbc
Merge pull request #173 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2020-10-30 15:01:52 +01:00
Éric Gaspar
721777e299 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2020-10-30 13:52:53 +00:00
Alexandre Aubin
c72b51b717
Merge pull request #161 from YunoHost/permission_protection
[WIP] Rework permissions
2020-10-30 14:52:43 +01:00
Alexandre Aubin
c97372ee97
Merge pull request #172 from YunoHost/moar_refactoring
Moar refactoring (on top of permission rework)
2020-09-24 20:22:32 +02:00
Alexandre Aubin
ed6fa1aa49 Add a small helper to check if an element is in a table ... in turn fixing a bug related to calling has_access 2020-09-21 14:42:26 +02:00
Alexandre Aubin
06f1f30226
Update access.lua
Co-authored-by: Kayou <pierre@kayou.io>
2020-09-21 14:40:37 +02:00
Alexandre Aubin
41ed91bbcb Misc cosmetics / debug tweaks 2020-09-20 18:00:49 +02:00
Alexandre Aubin
dcbf66d4e4 Rework/simplify code that effectively apply the permission 2020-09-20 18:00:37 +02:00
Alexandre Aubin
a11d8f0d87 Move identification of relevant permission from helpers.lua to access.lua 2020-09-20 17:58:26 +02:00
Alexandre Aubin
abc38bbffe Move handling of login through HTTP headers to is_logged_in helper 2020-09-20 17:53:18 +02:00
Alexandre Aubin
b2b9b9c8e3 Refactor/move handling of portal assets 2020-09-20 17:47:24 +02:00
Alexandre Aubin
ebcd75c1f9 Update changelog for 4.0.4.1 2020-09-07 18:58:50 +02:00
Alexandre Aubin
15a2211026
Merge pull request #171 from YunoHost/fix-language
Update language on each request
2020-09-07 18:56:30 +02:00
Kay0u
63587ad67a
Update language on each request 2020-09-07 10:34:16 +02:00
Alexandre Aubin
5bb7de6954 Update changelog for 4.0.4 2020-09-04 14:44:27 +02:00
Alexandre Aubin
4ab4d684a6
Merge pull request #170 from YunoHost/Reload-only-if-file-changed
Reload the conf only if files has been modified
2020-09-03 16:17:11 +02:00
Kay0u
1ca22508fc
Reload the conf only if files has been modified 2020-09-02 13:03:00 +02:00
Kay0u
41ac2e5bf8
Merge remote-tracking branch 'origin/dev' into permission_protection 2020-09-01 20:56:20 +02:00
Alexandre Aubin
3f362be371 Update changelog for 4.0.3 2020-07-29 17:06:41 +02:00
Alexandre Aubin
9a140ae0ad Bump version to 4.0.2~beta 2020-07-27 20:23:38 +02:00
Alexandre Aubin
074eef4a52 Update changelog for 4.0.1~alpha 2020-07-27 20:23:38 +02:00
Alexandre Aubin
90fdbf1564 Update changelog for 3.8.0.3 2020-07-27 17:56:56 +02:00
Alexandre Aubin
1142c76a59
Merge pull request #163 from SilverViper/patch-1
[fix] Invalid even more cookies
2020-07-27 16:46:51 +02:00
Alexandre Aubin
6bcf840f4d
Merge pull request #160 from YunoHost/close-conf-files
closing the files when we're done reading them
2020-07-27 15:45:23 +02:00
Alexandre Aubin
971cd1802c
Update config.lua
Co-authored-by: Kayou <pierre@kayou.io>
2020-07-27 15:44:58 +02:00
Emmanuel Counasse
1dae6e8a1e allow the user's password manager to automatically enter the password/username/new-password 2020-07-24 16:08:29 +02:00
Alexandre Aubin
514c416c68 Update changelog for 3.8.0.2 2020-06-18 16:11:55 +02:00
Alexandre Aubin
4a17d3216a
Merge pull request #168 from YunoHost/fix-custom_overlay
find recursively relative to the theme directory
2020-06-18 15:23:21 +02:00
Kay0u
b5a1d8dfed
find recursively relative to the theme directory 2020-06-18 15:20:11 +02:00
Alexandre Aubin
3b056bed76
Merge pull request #167 from YunoHost/fix-custom_overlay
fix theme loading
2020-06-18 15:01:29 +02:00
Kay0u
20de3f5f37
fix theme loading 2020-06-18 14:49:26 +02:00
Kay0u
fb45cd0441
do not compare the same thing several times 2020-06-18 14:48:14 +02:00
Allan Nordhøy
70c81c6b89
README reworked (#165) 2020-06-16 17:48:56 +02:00
Alexandre Aubin
6a14e78617 Update author/maintainer information 2020-05-26 23:58:56 +02:00
Kay0u
397f7b3910
authUser is defined only if authHash is accepted 2020-05-21 22:57:57 +02:00
Kay0u
6a240e1dea
better log message 2020-05-21 22:57:05 +02:00
Kay0u
720e35df4e
do not reauth if we are already logged in 2020-05-21 22:56:52 +02:00
Kay0u
24b3f7dc3a
HTTP Auth before permissions managment 2020-05-21 21:53:04 +02:00
Kay0u
400f88e6ca
fix the redirect loop \o/ 2020-05-21 21:51:55 +02:00
Kayou
0f1eea3306
Merge branch 'stretch-unstable' into permission_protection 2020-05-21 21:17:36 +02:00
Kay0u
ddef4e519d Update changelog for 3.8.0.1 release 2020-05-20 19:06:40 +00:00
Alexandre Aubin
08a6825ea8
Merge pull request #164 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2020-05-19 23:50:30 +02:00
amirale qt
4aa22c5e1d Translated using Weblate (Nepali)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ne/
2020-05-19 21:48:43 +00:00
amirale qt
54a7838a50 Translated using Weblate (Greek)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/el/
2020-05-19 21:48:41 +00:00
amirale qt
cd006fc298 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/zh_Hans/
2020-05-19 21:48:39 +00:00
amirale qt
ff77289b8a Translated using Weblate (Polish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/pl/
2020-05-19 21:48:37 +00:00
amirale qt
4d7fe3beab Translated using Weblate (Dutch)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/nl/
2020-05-19 21:48:37 +00:00
amirale qt
9794f2d5b9 Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/es/
2020-05-19 21:48:36 +00:00
SilverViper
728620778e
prevent SSOwAuthRedirect=;; 2020-04-30 17:39:07 +02:00
SilverViper
e4b415a64e
Remove all ;; in Set-Cookie 2020-04-30 15:45:41 +02:00
Laurent Peuch
e0a66428ea [fix] invalid more cookies 2020-04-17 00:56:40 +02:00
Alexandre Aubin
01bb2abd74 Merge branch 'stretch-stable' into stretch-unstable 2020-04-15 01:57:56 +02:00
Alexandre Aubin
b7624e0e1d Update changelog for 3.7.1.1 2020-04-15 01:46:37 +02:00
Alexandre Aubin
4bc65fe8d4 Alex made a drunk copypasta that broke everything lul - var user not defined ... In fact we don't need this debug line 'cause it's already done in redirect() itself 2020-04-15 01:43:13 +02:00
Alexandre Aubin
09e0fa37aa Alex made a drunk copypasta that broke everything lul - var user not defined ... In fact we don't need this debug line 'cause it's already done in redirect() itself 2020-04-15 01:42:47 +02:00
kay0u
c72454c9d6 Update changelog for 3.8.0 release 2020-04-09 20:25:56 +00:00
Kayou
6ee3486783
Merge branch 'stretch-unstable' into permission_protection 2020-04-09 21:34:38 +02:00
Alexandre Aubin
2f991d84ca Merge branch 'stretch-stable' into stretch-unstable 2020-04-09 18:44:13 +02:00
Alexandre Aubin
352de0a0fd Update changelog for 3.7.1 2020-04-09 15:23:24 +02:00
Josué Tille
9bd1cbc74b Dont't set header but serve ynhpanel 2020-04-09 15:19:30 +02:00
Josué Tille
fb910facec Don't set header if user don't have access 2020-04-09 15:19:30 +02:00
Alexandre Aubin
286eb771a7
Merge pull request #158 from YunoHost/dont_set_header_unallowed_users
Don't set header if user don't have access
2020-04-01 02:36:58 +02:00
Kay0u
0fc89d0fc9
Rework access 2020-04-01 00:43:59 +02:00
Kay0u
d8c74604c0
portal with the new config file 2020-03-31 02:20:40 +02:00
Kay0u
0b9f50246c
closing the files when we're done reading them 2020-03-29 19:39:25 +02:00
Alexandre Aubin
0e2bfacabc
Merge pull request #159 from YunoHost/enh-config-reload
Avoid unnecessarily reloading the config file
2020-03-29 18:50:00 +02:00
Kay0u
8cc2bd4b28
Avoid unnecessarily reloading the config file 2020-03-29 18:02:49 +02:00
Josué Tille
ef3d6af9e0
Dont't set header but serve ynhpanel 2020-03-27 15:38:41 +01:00
Josué Tille
b1080c1e1a
Don't set header if user don't have access 2020-03-27 15:30:52 +01:00
kay0u
2298a177c2 Merge branch 'stretch-testing' into stretch-unstable 2020-03-26 22:15:14 +00:00
kay0u
9844703c0e Update changelog for 3.7.0.3 release 2020-03-26 22:01:16 +00:00
Alexandre Aubin
77afe5cf09 Check if the user has access was done right before, no need to redo it 2020-03-24 19:52:33 +01:00
Kayou
4f692c99d8
Typo in changelog 2020-03-15 17:27:30 +01:00
kay0u
ac4974d2d2 Update changelog for 3.7.0.2 release 2020-03-15 16:02:06 +00:00
Kayou
ca1ae6710d
Merge pull request #156 from kay0u/refactor-skipped/protected/unprotecter
Refactor skipped/protected/unprotecter
2020-03-15 13:02:32 +01:00
Alexandre Aubin
c37db1928a
Merge pull request #157 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2020-03-13 04:20:50 +01:00
Weblate
8a9b24a424 Added translation using Weblate (Nepali) 2020-03-11 09:29:00 +00:00
Kay0u
eb2872d5ed
Test if we should skip or unprotect the url 2020-03-05 00:24:06 +01:00
Kay0u
bf0dc73381
using permissions, not users directive 2020-03-04 11:34:24 +01:00
Kay0u
97620aaac7
Unused condition 2020-03-04 11:32:53 +01:00
Kay0u
af892991af
refactor legacy url protections 2020-02-13 10:06:32 +07:00
Kay0u
9628d51d2d
check permission after unprotected 2020-01-29 18:24:51 +07:00
Kay0u
f74619020d
Fix if no permission exist 2020-01-29 18:24:25 +07:00
Kay0u
02b4ecec8c
Fix legacy/new permissions 2020-01-20 22:59:25 +07:00
Bram
12412cc6c8
Merge pull request #151 from kay0u/fix-match
[FIX] string.match
2020-01-17 09:35:54 +01:00
Kay0u
19ae10200d
fix string.match 2020-01-17 14:56:32 +07:00
Bram
972d858959
Merge pull request #150 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2020-01-03 13:54:01 +01:00
amirale qt
527f392a9a Translated using Weblate (Bengali (Bangladesh))
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/bn_BD/
2020-01-02 13:08:32 +00:00
amirale qt
e16cc2a745 Translated using Weblate (Turkish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/tr/
2019-12-25 01:27:03 +00:00
amirale qt
77c6634da3 Translated using Weblate (Hindi)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/hi/
2019-12-25 01:17:07 +00:00
amirale qt
9d17c9001c Translated using Weblate (Basque)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eu/
2019-12-25 00:05:52 +00:00
ButterflyOfFire
d713d3bc47 Translated using Weblate (Arabic)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ar/
2019-12-25 00:05:34 +00:00
amirale qt
995f395250 Translated using Weblate (Polish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/pl/
2019-12-25 00:05:18 +00:00
amirale qt
c1c40f809d Translated using Weblate (Hungarian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/hu/
2019-12-24 23:55:18 +00:00
xaloc33
61fec4d1b8 Translated using Weblate (Catalan)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ca/
2019-12-24 23:39:02 +00:00
amirale qt
ff3f2bfdf2 Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/it/
2019-12-24 23:11:18 +00:00
amirale qt
9c98d7eb0d Translated using Weblate (Portuguese)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/pt/
2019-12-24 22:25:50 +00:00
amirale qt
bc3bb1f318 Translated using Weblate (Dutch)
Currently translated at 74.5% (35 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/nl/
2019-12-24 22:24:58 +00:00
elie gavoty
62aaa2e715 Translated using Weblate (German)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2019-12-24 21:03:28 +00:00
amirale qt
72d382d81b Translated using Weblate (Swedish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sv/
2019-12-24 21:02:55 +00:00
Filip Bengtsson
5cc6620292 Translated using Weblate (Swedish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/sv/
2019-12-24 21:02:55 +00:00
amirale qt
9282bebcdd Translated using Weblate (Russian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ru/
2019-12-24 19:37:24 +00:00
amirale qt
6648411e4b Translated using Weblate (Esperanto)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eo/
2019-12-24 17:57:41 +00:00
Quentí
f3ed6e5828 Translated using Weblate (Occitan)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/oc/
2019-12-24 16:41:35 +00:00
amirale qt
3ba5cac9a0 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2019-12-24 16:36:46 +00:00
Alexandre Aubin
c4f519ba9c Update changelog for 3.7.0.1 2019-12-03 00:07:40 +01:00
Alexandre Aubin
d85579de93
Merge pull request #149 from YunoHost/check-skipped-before-protected
Check skipped_urls before protected_urls
2019-12-02 20:47:36 +01:00
Alexandre Aubin
247847a203 Check skipped_urls before protected_urls 2019-12-02 18:13:19 +01:00
Alexandre Aubin
927edc1c5f Update changelog for 3.7.0 testing 2019-10-31 18:33:59 +01:00
Alexandre Aubin
bc9aacd038 We have a log.lua now... 2019-10-16 22:14:23 +02:00
Alexandre Aubin
4643b75e74
Merge pull request #147 from YunoHost/allowed-vs-protected
More extensive check between allowed rules vs. protected rules
2019-10-15 23:40:55 +02:00
Alexandre Aubin
5ba7050fd4
Merge pull request #145 from YunoHost/logging-reloaded
Logging reloaded
2019-10-15 23:40:26 +02:00
Alexandre Aubin
5a5fa2e940
Merge pull request #146 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-10-15 19:25:52 +02:00
Alexandre Aubin
ff700062a5 At least one rule should exist + should be the longest match 2019-10-09 18:45:50 +02:00
Alexandre Aubin
a13a2fee1e More extensive check between allowed rules vs. protected rules 2019-10-03 23:11:52 +02:00
Allan Nordhøy
f8b895ab00 Translated using Weblate (Norwegian Bokmål)
Currently translated at 46.8% (22 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/nb_NO/
2019-10-03 18:52:18 +00:00
Martin Döring
315bf5a978 Translated using Weblate (German)
Currently translated at 89.4% (42 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/de/
2019-10-03 18:52:18 +00:00
amirale qt
e6fad6341f Translated using Weblate (Esperanto)
Currently translated at 97.9% (46 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eo/
2019-10-03 18:52:18 +00:00
Alexandre Aubin
bdf678d725
Merge pull request #143 from comradekingu/patch-1
Language reworked
2019-10-03 20:52:08 +02:00
Alexandre Aubin
d71075dfed Make sure ssowat log file is created and exists when starting nginx/ssowat 2019-10-03 20:42:48 +02:00
Alexandre Aubin
1eb322df17 Many tweaks in log system + implement many log messages in low-level functions 2019-10-03 20:42:01 +02:00
Allan Nordhøy
67a06135c8
Spelling: Fill in 2019-09-28 20:00:57 +02:00
Allan Nordhøy
85ee4879dc
in use:
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-09-27 23:58:57 +02:00
Allan Nordhøy
29ae8abc3a
password
Co-Authored-By: decentral1se <lukewm@riseup.net>
2019-09-27 23:58:12 +02:00
Alexandre Aubin
1a6641b2e9
Merge pull request #144 from liberodark/patch-1
Update README.md
2019-09-27 12:12:12 +02:00
liberodark
ee67b6f728
Update README.md 2019-09-27 12:09:07 +02:00
Allan Nordhøy
b923d96752
Language reworked 2019-09-26 09:09:01 +02:00
Alexandre Aubin
474b922089 Be consistent : either we use log() everywhere or we don't ... But imho just logger.info() is fine 2019-09-24 17:33:19 +02:00
Alexandre Aubin
7cb61f1619 Merge branch 'logging' into logging-reloaded 2019-09-24 17:27:44 +02:00
Alexandre Aubin
07e8a292f9
Merge pull request #141 from moutonjr/pv-remove-lua-bug-cd
Fixed: bug serving files because of LUA exception
2019-08-18 14:18:48 +02:00
Alexandre Aubin
68c030a840
Merge pull request #142 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-08-13 12:34:55 +02:00
ppr
bc93eafd4a Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2019-08-13 10:15:18 +00:00
Bram
d40bfe438f
Merge pull request #140 from apreiml/fix
make sure we got enough random bytes
2019-07-30 00:40:58 +02:00
Geoff Montel
1161367d0e Fixed: bug serving files because of LUA exception
"Interrupted system call" during PWDIR change on "popen" function
Restored by removing FIND's wildcard which could yield fo emptiness
(example : `mydir/` is empty; making `cd mydir && find *` yielding
to non argumented FIND function.

Tested on Stretch with nginx (1.10.3-1+deb9u2) and lua5.1 (5.1.5-8.1+b2).

Note that this could lead to bugs, code refactor should enclose lua-filesystem (1.6.3-1),
but I'm a rookie in LUA.
2019-07-14 14:30:37 +02:00
Armin Preiml
1159322c35 make sure we got enough random bytes 2019-07-11 15:32:51 +02:00
Geoff Montel
3a3d0e95da Adding black form styling. 2019-07-09 22:54:01 +02:00
Geoff Montel
5428b7fd4b Unsplash theme: Adding doc + delete unnecessary JS file. 2019-07-09 18:49:57 +02:00
Geoff Montel
c4ec12116a Adding shadowing for white images.
Thanks to Psycojoker comment.
Tested Responsive + Chrome latest & Firefox
2019-07-09 18:35:20 +02:00
Geoff Montel
8abd9ce94d Adding new theme Unsplash forek from "Clouds"
Background change over each photos
Selection of "Nature" performed on Unsplash API
Kept white font for SSO main element
Remaining problems: photos color may lead to unreadable labels. Fix me!
2019-07-09 17:45:23 +02:00
Alexandre Aubin
0c55f38fda Update changelog for 3.6.4 release 2019-07-04 23:35:08 +02:00
Alexandre Aubin
360049f9a7
Merge pull request #138 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-06-22 14:50:57 +02:00
Weblate
5c8f34d835 Added translation using Weblate (Norwegian Bokmål) 2019-06-15 00:07:02 +00:00
Alexandre Aubin
5fdaf74059 Update changelog for 3.6.1 2019-06-04 13:32:27 +02:00
Alexandre Aubin
3a8a1bdaec
Merge pull request #137 from YunoHost/1354-prevent-duplicate-button-in-app-iframe
Prevent duplicate portal button when app uses iframes. Fix #1354
2019-05-28 16:31:34 +02:00
opi
d17f69f70a
Prevent duplicate portal button when app uses iframes 2019-05-23 11:06:25 +02:00
Alexandre Aubin
ad31e5c80f Add changelog for 3.6.0 2019-05-22 19:50:21 +02:00
Alexandre Aubin
8100c57da6
Merge pull request #136 from YunoHost/fix_sso_botton_in_subdomain
Allow access in portail in other domain than main domain
2019-05-22 17:43:56 +02:00
Alexandre Aubin
bbc5b4e633
Merge pull request #135 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-05-22 17:01:34 +02:00
Josué Tille
b0756e2494
Allow access in portail in other domain than main domain 2019-05-17 22:42:52 +02:00
advocatux
d3e2999527 Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/es/
2019-04-29 11:31:06 +00:00
Alexandre Aubin
6670ffef65 Update changelog for 3.5.2.1 2019-04-10 19:27:50 +02:00
Alexandre Aubin
a256762ae7 No idea what I'm doing, but this fixes the small blink issue introduced by 95ae060 2019-04-10 19:25:38 +02:00
Alexandre Aubin
295a870912 Update changelog for 3.5.2 2019-04-10 02:07:34 +02:00
Alexandre Aubin
520ac54d69
Merge pull request #134 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-04-09 15:16:58 +02:00
Weblate
bcfee96249 Added translation using Weblate (Bengali (Bangladesh)) 2019-04-07 21:16:25 +00:00
Sylke Vicious
37234b9279 Translated using Weblate (Italian)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/it/
2019-04-07 11:30:15 +00:00
ButterflyOfFire
2fcbbcb954 Translated using Weblate (Arabic)
Currently translated at 89.4% (42 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ar/
2019-04-07 11:30:14 +00:00
Alexandre Aubin
95ae0607d5 Avoid having to click two times on the tile to show the portal 2019-04-07 01:15:05 +02:00
Alexandre Aubin
d76133504a Avoid name conflict with app classes/effects 2019-04-07 01:10:44 +02:00
Alexandre Aubin
339a3a5d65 Update changelog for 3.5.1 2019-04-03 02:39:30 +02:00
Alexandre Aubin
9cbc50010b Uh forgot to remove the random theme as discussed in #122 2019-04-03 02:36:51 +02:00
Alexandre Aubin
67221d5c40
Merge pull request #130 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-04-02 17:53:59 +02:00
Jean-Baptiste Holcroft
1bd85ad506 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2019-04-01 00:50:07 +00:00
Quentí
28c0d001ce Translated using Weblate (Occitan)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/oc/
2019-04-01 00:50:07 +00:00
ppr
6f472dcb35 Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2019-04-01 00:50:07 +00:00
xaloc33
e9caa88504 Translated using Weblate (Catalan)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/ca/
2019-04-01 00:50:07 +00:00
Mélanie Chauvel
4cbd063dab Translated using Weblate (Esperanto)
Currently translated at 38.3% (18 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/eo/
2019-04-01 00:50:07 +00:00
Mélanie Chauvel
f815856a7f Translated using Weblate (French)
Currently translated at 100.0% (47 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2019-04-01 00:50:07 +00:00
Alexandre Aubin
a194168b84
Merge pull request #122 from YunoHost/theming-reloaded
Theming reloaded
2019-04-01 02:50:01 +02:00
Alexandre Aubin
5b5bd2ef6c
Merge pull request #131 from eauchat/theming-reloaded-smallfixes
Theming reloaded smallfixes
2019-03-25 18:43:17 +01:00
Alexandre Aubin
4c2a9da784
Merge pull request #132 from eauchat/theming-reloaded-redirections
Theming reloaded redirections improved
2019-03-23 14:53:22 +01:00
Alexandre Aubin
7396d099e6 Typo in last commit spotted by eauchat ;) 2019-03-20 03:31:01 +01:00
chateau
13257e4de0 allow to redirect sso pages the same way than apps urls (from login page) 2019-03-20 03:17:17 +01:00
chateau
1a12c37eca scroll .content, not body (otherwise if a custom background image is set the background is also scrolling) 2019-03-20 01:19:21 +01:00
chateau
4da84b0e30 Revert "corrected background scrolling for clouds theme"
This reverts commit 4b97eb7c66.
2019-03-20 00:37:25 +01:00
chateau
4b97eb7c66 corrected background scrolling for clouds theme 2019-03-20 00:35:57 +01:00
Alexandre Aubin
fc688418ce info.html -> portal.html 2019-03-19 23:29:46 +01:00
Alexandre Aubin
80f0733467 Harden border for light theme login page form fields 2019-03-19 23:25:16 +01:00
Alexandre Aubin
ce38f0aba0 Remove confusing 'overlay', it's more like the content container 2019-03-19 17:34:14 +01:00
Alexandre Aubin
32a9229ef4 Enable cache for 1 hour for static assets 2019-03-19 16:52:43 +01:00
Alexandre Aubin
23e78c2c39 This TODO is done 2019-03-19 15:08:09 +01:00
Alexandre Aubin
fc6ef6bb49 Fix dragging of the YunoHost button on the iframe 2019-03-19 15:04:09 +01:00
Alexandre Aubin
94789bbd6e Yo man why were there so many duplicate entries -.- 2019-03-19 02:32:26 +01:00
Alexandre Aubin
5123015613 Add draft light theme 2019-03-19 02:12:33 +01:00
Alexandre Aubin
b28d4ee5d7 Propagate previous changes to other themes 2019-03-19 01:12:21 +01:00
Alexandre Aubin
36fd40fa91 Add default theme stuff 2019-03-19 00:29:25 +01:00
Alexandre Aubin
0c377c3363 Rename css/js files for semantic + explain their purpose 2019-03-19 00:17:53 +01:00
Alexandre Aubin
8e4da5af99
Merge pull request #129 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-03-18 19:34:10 +01:00
ppr
749c5c3925 Translated using Weblate (French)
Currently translated at 97.9% (46 of 47 strings)

Translation: YunoHost/SSOwat
Translate-URL: https://translate.yunohost.org/projects/yunohost/ssowat/fr/
2019-03-18 18:24:32 +00:00
Alexandre Aubin
67e253211c This ynhpanel.json has never been used by anything ... 2019-03-18 18:24:49 +01:00
Alexandre Aubin
8ab98d3ed2 Don't load additional css and js using js itself ... instead, instead include those directly from data/templates/nginx/plain/yunohost_panel.conf.inc 2019-03-18 18:09:37 +01:00
Alexandre Aubin
15b71ac5a0
Merge pull request #128 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate
2019-03-17 14:26:59 +01:00
Weblate
016953f632 Added translation using Weblate (Swedish) 2019-03-17 13:21:19 +00:00
Weblate
3c4d70b9ca Added translation using Weblate (Hungarian) 2019-03-17 13:21:00 +00:00
Weblate
5ded298e71 Added translation using Weblate (Greek) 2019-03-17 13:20:16 +00:00
Weblate
1b63d693f8 Added translation using Weblate (Chinese (Simplified)) 2019-03-17 13:19:57 +00:00
Weblate
d47a216095 Added translation using Weblate (Breton) 2019-03-17 13:19:21 +00:00
Alexandre Aubin
9be3fccbc3 Merge branch 'theming-reloaded' of https://github.com/YunoHost/SSOwat into theming-reloaded 2019-03-14 22:36:30 +01:00
Alexandre Aubin
d731ec5bd7 Merge branch 'theming-reloaded-plus' into theming-reloaded 2019-03-14 22:36:04 +01:00
Alexandre Aubin
6a4bc62ef1 Fix path in random theme 2019-03-14 20:34:47 +01:00
Alexandre Aubin
888030bb99 Logo position in the corner when in the portal 2019-03-14 20:22:48 +01:00
Alexandre Aubin
7036dd4673 logo -> ynh-logo to reduce ambiguities 2019-03-14 20:16:57 +01:00
Alexandre Aubin
c5ffdfdfb5 Dude idk what you were trying to do but this broke the 'edit' page :/ 2019-03-14 19:59:57 +01:00
Alexandre Aubin
710c6ac6ab We cannot change body's CSS as this piece of CSS is loaded in all apps... 2019-03-14 19:30:54 +01:00
Alexandre Aubin
4e60f3b8a1 Add a cloud icon + use it as a replacement for yunohost logo in clouds theme 2019-03-14 19:30:48 +01:00
Alexandre Aubin
328c0b73f0 Misc fixes + note about stuff to fix 2019-03-14 17:41:31 +01:00
Alexandre Aubin
70e27e53a1 Fix logo size 2019-03-14 17:38:28 +01:00
Alexandre Aubin
a39f8fa33d
Merge pull request #124 from eauchat/theming-reloaded-plus
Make current theme's files accessibles under "/ynhtheme/"
2019-03-14 17:05:49 +01:00
Alexandre Aubin
b054b262b5 Update changelog for 3.5.0 testing 2019-03-13 17:04:23 +01:00
Alexandre Aubin
11eae3314d
Merge pull request #125 from yunohost-bot/stretch-unstable
Update translations
2019-03-13 15:02:09 +01:00
Anonymous (technical account)
39d4673d68 [i18n] Translated using Weblate (Russian)
Currently translated at 100.0% (41 of 41 strings)
2019-03-13 14:00:25 +00:00
Anonymous (technical account)
4b223b3d7b [i18n] Translated using Weblate (Russian)
Currently translated at 100.0% (41 of 41 strings)
2019-03-13 14:00:25 +00:00
Алексей
a361cf7910 [i18n] Translated using Weblate (Russian)
Currently translated at 100.0% (41 of 41 strings)
2019-03-13 14:00:25 +00:00
Алексей
cf5489c83d [i18n] Translated using Weblate (Russian)
Currently translated at 53.6% (22 of 41 strings)
2019-03-13 14:00:25 +00:00
chateau
3537e0840c modifed clouds theme to have good login page 2019-03-12 20:00:28 +01:00
chateau
acfcabd727 corrected some styles, previous changes didn't take into account logging page 2019-03-12 19:33:03 +01:00
chateau
5701322694 theme clouds :) 2019-03-12 19:06:11 +01:00
chateau
54d073975f theme random :) 2019-03-12 19:06:00 +01:00
chateau
d2d8fe6155 make ynh logo loaded with css, not as img tag, it's easier for customization 2019-03-12 19:05:05 +01:00
chateau
9845d99398 Make files in current theme's directory accessibles under "https://server.tld/ynhtheme/". 2019-03-09 11:21:12 +01:00
Alexandre Aubin
1eff5b7c23
Merge pull request #123 from eauchat/theming-reloaded-plus
Simplify tiles styling
2019-03-08 23:24:04 +01:00
chateau
afdc7cc73c move styling of tiles to custom.js 2019-02-26 10:52:07 +01:00
chateau
91cca157c8 simplify styling of tiles 2019-02-26 10:41:12 +01:00
Alexandre Aubin
32323b4980 Replace h1 with div for logo, should make customization easier 2019-02-23 21:01:32 +01:00
Alexandre Aubin
2f24e82f38 Add trick to access.lua to be able to inject custom/theme css and js when in apps as well 2019-02-23 04:20:01 +01:00
Alexandre Aubin
ac3dc39f9a Rename stylesheet.css to custom.css for themes, symetric to custom.js 2019-02-23 04:14:39 +01:00
Alexandre Aubin
3385732263 Fix handling of the logout button when inside the iframe 2019-02-22 23:56:01 +01:00
Alexandre Aubin
ad27933f54 Use addEvent helper to be consistent accross the JS file 2019-02-22 23:44:04 +01:00
Alexandre Aubin
d521d87d23 Add note about portalButton dragging 2019-02-22 23:22:09 +01:00
Alexandre Aubin
a19c198cd3 Import logo fix from lfuelling when in app overlay 2019-02-22 21:37:23 +01:00
Alexandre Aubin
b3bdb9e30b Fix iframe check 2019-02-22 21:30:13 +01:00
Alexandre Aubin
7bc43392ce Factorize app tile styling, might make it easier to customize it ? 2019-02-22 21:28:53 +01:00
Alexandre Aubin
46b4903456 Merge global.js into ynhpanel.js 2019-02-22 21:26:32 +01:00
Alexandre Aubin
85d59c5e77 Clarify the various cases and pave the way to merging with global.js 2019-02-22 21:07:12 +01:00
Alexandre Aubin
2646db9ea2 Remove the domReady madness, use DOMContentLoaded event like in global.js 2019-02-22 20:12:25 +01:00
Alexandre Aubin
7fa5b91297 Merge app tile stuff together 2019-02-22 20:11:23 +01:00
Alexandre Aubin
c62471703b Improve style and semantic 2019-02-22 18:44:08 +01:00
Alexandre Aubin
7734d248c5 Handle app-tiles click events in a more elegant way ;) 2019-02-22 17:35:03 +01:00
Alexandre Aubin
63846817c0 Moar weird stuff to fix probably 2019-02-21 19:29:51 +01:00
Alexandre Aubin
a80b4bdff1 We don't use any info from ynhpanel.json 2019-02-21 19:29:06 +01:00
Alexandre Aubin
c05e5ea7eb Those stuff looks like complete madness and should be rework I think :| 2019-02-21 19:26:11 +01:00
Alexandre Aubin
140eb042d9 We don't need this? 2019-02-21 19:23:44 +01:00
Alexandre Aubin
5478ea7bcf Import patch from lfuelling about overlay, dunno wat this do 2019-02-21 19:21:01 +01:00
Lukas Fülling
40e78b6b0a decrease fadeout duration 2019-02-21 19:15:09 +01:00
Lukas Fülling
356a53de52 fix overlay issues 2019-02-21 19:14:50 +01:00
Alexandre Aubin
ca0951e476 Move the default and vapor theme files to where appropriate 2019-02-21 18:28:23 +01:00
Alexandre Aubin
2bdc12b0a0 Let's keep it simple ... have a folder asserts/{theme}/ containing a stylesheet.css and global.js 2019-02-21 18:27:28 +01:00
Alexandre Aubin
a84fbb55c8 Definitely not a good idea to do this here because we aint sure to be logged in ... Actually this whole global.js is absolutely weird 2019-02-21 18:17:45 +01:00
Alexandre Aubin
e9b03188fd Come on we don't need a gitignore ... 2019-02-21 18:13:45 +01:00
Lukas Fülling
d33cd97556 Add theming support, add vapor theme 2019-02-21 18:12:24 +01:00
Alexandre Aubin
23af640c8c Dun' delete the logo ? D: 2019-02-21 17:26:43 +01:00
chateau
3d7e606f1a little more cleanup in ynhpanel.js 2019-02-21 16:47:37 +01:00
chateau
94e15d9fe6 Simplify ynhpanel.js and ynhpanel.css making the YNH inapp panel an iframe that loads the info.html page. 2019-02-21 16:47:11 +01:00
Alexandre Aubin
5bd4de4bfa
Merge pull request #115 from YunoHost/fix_string_helper
Fix string helper if string is empty
2019-02-21 15:25:19 +01:00
Alexandre Aubin
d83c34bbcf
Merge pull request #120 from lfuelling/stretch-unstable
add missing dependencies to README
2019-02-18 16:07:29 +01:00
Lukas Fülling
53a738eae6 add missing dependencies to README 2019-02-12 20:14:42 +01:00
Alexandre Aubin
cb6a827157 Update changelog for 3.4.2 2019-01-29 16:48:30 +01:00
Alexandre Aubin
f8ab0ba65f Added translation using Weblate (Basque) 2019-01-29 15:06:27 +00:00
Josué Tille
441f323094
Fix string helper if string is empty 2019-01-23 10:23:12 +01:00
Alexandre Aubin
e7a131063e Changelog typo 2019-01-17 22:53:00 +00:00
Alexandre Aubin
dc007e7c3d Update changelog for 3.4.1 2019-01-17 23:33:28 +01:00
Alexandre Aubin
b5ce673840
Merge pull request #114 from YunoHost/fix_password_issue
[fix] SSOwat crash after password change
2019-01-17 23:22:00 +01:00
Alexandre Aubin
a52ed73a11
Typo 2019-01-17 23:21:30 +01:00
Josué Tille
437f3c238a
Fix when the user stay connected 2019-01-17 22:54:25 +01:00
Josué Tille
32d04dbac9
Fix SSOwat crash after password change 2019-01-07 11:45:29 +01:00
Alexandre Aubin
aa972625fa Update changelog for 3.4.0 2018-12-20 21:28:07 +00:00
Alexandre Aubin
c272b4cffd
Merge pull request #102 from YunoHost/enh-pcre
[enh] Add PCRE regex support
2018-12-14 00:32:23 +01:00
Alexandre Aubin
7dc84973df
Improve comment 2018-12-14 00:31:54 +01:00
ljf (zamentur)
c3a9380361
[fix] PCRE choice if no %. in url regex 2018-12-13 23:23:10 +01:00
Alexandre Aubin
96d304124e Update changelog for 3.3.2 2018-12-10 20:33:55 +00:00
Laurent Peuch
253cde4b9a [fix] CVE-2018-11347 http header injection 2018-12-06 23:50:21 +01:00
Alexandre Aubin
61035e3c27 Update changelog for 3.3.1 2018-11-23 14:11:21 +00:00
Alexandre Aubin
b17439eb33
Merge pull request #112 from yunohost-bot/stretch-unstable
Translation update
2018-11-23 14:44:38 +01:00
Jean-Baptiste Holcroft
9a4df70932 [i18n] Translated using Weblate (French)
Currently translated at 100.0% (41 of 41 strings)
2018-11-23 13:37:33 +00:00
Alexandre Aubin
7be6e76cb8 SameSite=Strict breaks multisite 2018-11-19 16:06:12 +00:00
Alexandre Aubin
2699aa8db7 Clarify Set-Cookie syntax 2018-11-19 16:03:35 +00:00
Alexandre Aubin
5f21d3f630 Update changelog for 3.3.0 2018-11-08 17:09:08 +00:00
Alexandre Aubin
4d143f6d84
Merge pull request #111 from yunohost-bot/stretch-unstable
Translations update
2018-11-08 16:27:01 +01:00
Krzysztof Dmowski
4a01420239 [i18n] Translated using Weblate (Polish)
Currently translated at 65.8% (27 of 41 strings)
2018-11-08 15:25:10 +00:00
Alexandre Aubin
4ead78b127
Merge pull request #110 from yunohost-bot/stretch-unstable
Translations update
2018-11-05 19:11:12 +01:00
Sylke Vicious
08c2401bf5 [i18n] Translated using Weblate (Italian)
Currently translated at 100.0% (41 of 41 strings)
2018-11-05 18:07:10 +00:00
goofy-mdn
17ec2bdf9c [i18n] Translated using Weblate (French)
Currently translated at 97.5% (40 of 41 strings)
2018-11-05 18:07:10 +00:00
Xaloc
16e57f4ef0 [i18n] Translated using Weblate (Catalan)
Currently translated at 100.0% (41 of 41 strings)
2018-11-05 18:07:10 +00:00
Alexandre Aubin
2ff41d9920 Merge remote-tracking branch 'tYYGH/PR_choiceRewritePW+fixes' into stretch-unstable 2018-11-05 03:15:43 +01:00
Alexandre Aubin
b68ebc04c7
Merge pull request #103 from frju365/patch-1
[fix] Secure cookie setting
2018-11-04 16:20:59 +01:00
Alexandre Aubin
99c108f362
Merge pull request #104 from YunoHost/enh-pwd-validate
[enh] Validate password strength
2018-11-04 15:59:39 +01:00
Alexandre Aubin
cb96f848d3 This got removed 2018-10-31 18:55:07 +00:00
Alexandre Aubin
d305f6e919 Sync messages with yunohost's branch 2018-10-31 18:40:36 +00:00
Alexandre Aubin
3ad215124c
Merge pull request #109 from tituspijean/mod-redirect-logout
[mod] Redirect after logout if `r` URI argument exists
2018-10-27 18:01:19 +02:00
Alexandre Aubin
90998555f0 Add warning about password strength 2018-10-26 22:16:25 +00:00
tituspijean
11d0e0689a [mod] Redirect after logout if r URI argument exists 2018-09-15 09:25:48 +02:00
Alexandre Aubin
669feba0e4 Update changelog 2018-09-11 15:46:31 +00:00
Bram
ba2773b127
Merge pull request #107 from nicofrand/fixRefreshOnTouchmove
Fix refresh on touchmove
2018-09-11 08:03:33 +02:00
Alexandre Aubin
4dd22c87d8
Merge pull request #108 from yunohost-bot/stretch-unstable
Update translations
2018-09-07 16:47:15 +02:00
nicofrand
4b85679471 Prevent the browser to refresh the page on mobile when moving overlay 2018-09-07 11:44:38 +02:00
Bram
c6ec5beed5
Merge pull request #100 from Eynix/unstable
Replacing Hige by Lustache
2018-09-03 02:56:41 +02:00
Bram
e5103c5298
Merge pull request #106 from nicofrand/fixSSOMobileClick
Fix regression on mobile: overlay not clickable
2018-09-02 20:31:19 +02:00
nicofrand
8e4a7ba80e Fix regression on mobile: overlay not clickable 2018-09-01 10:35:55 +02:00
ljf
e4ee83cc8e [fix] Add a small comment 2018-08-29 03:00:13 +02:00
ljf
deeb30637e [fix] Remove nginx log 2018-08-29 02:58:17 +02:00
ljf
410ba2e4a7 [fix] Remove extra end line of the cmd run with popen 2018-08-29 02:55:02 +02:00
ljf (zamentur)
3e94b09d3b
Merge pull request #105 from YunoHost/fix-regex-todo
Fix regex todo
2018-08-29 01:27:32 +02:00
ljf
7627101eb5 [enh] Simplify code thanks to change on password.py 2018-08-29 01:26:19 +02:00
ljf
349d486cec [fix] Remove some nginx debug log 2018-08-29 01:08:36 +02:00
ljf
d83b522d50 [fix] Remove some nginx debug log 2018-08-29 00:56:24 +02:00
ljf
945b04cc67 [fix] Regex todo 2018-08-29 00:47:59 +02:00
ljf
95e1c1cd2f [fix] Secure password transmission 2018-08-29 00:07:48 +02:00
ljf
ab8b040174 [enh] Validate password as configured 2018-08-28 21:33:19 +02:00
frju365
07c3db2c46
[fix] CVE CSRF with cookie setting 2018-08-25 02:29:26 +02:00
Alexandre Aubin
6e1e1e10ff Update changelog for 3.1.0 2018-08-15 19:56:28 +00:00
Xaloc
a81e783aac [i18n] Translated using Weblate (Catalan)
Currently translated at 90.2% (37 of 41 strings)
2018-08-14 09:25:52 +00:00
Xaloc
7282dee0bb [i18n] Translated using Weblate (Catalan)
Currently translated at 90.2% (37 of 41 strings)
2018-08-07 07:09:33 +00:00
Xaloc
ddfe58eed6 [i18n] Translated using Weblate (Catalan)
Currently translated at 31.7% (13 of 41 strings)
2018-08-06 23:27:59 +00:00
Xaloc
4148bfb7fb Added translation using Weblate (Catalan) 2018-08-06 23:18:15 +00:00
ButterflyOfFire
7f3a4a3a44 [i18n] Translated using Weblate (Turkish)
Currently translated at 95.1% (39 of 41 strings)
2018-07-22 10:55:31 +00:00
ButterflyOfFire
1e4cb1868e [i18n] Translated using Weblate (Dutch)
Currently translated at 95.1% (39 of 41 strings)
2018-06-30 17:00:09 +00:00
ljf
b90153a5ca [enh] Add comment about lua pattern deprecated 2018-06-24 20:44:28 +02:00
ljf
9cbe43862b [enh] Add PCRE regex support 2018-06-24 16:04:26 +02:00
Alexandre Aubin
c354571337 Update changelog for 3.0.0 2018-06-17 01:57:57 +00:00
Alexandre Aubin
d9b9a497fd Merge branch 'unstable' into stretch-unstable
Conflicts:
	debian/changelog
2018-06-17 01:55:49 +00:00
Alexandre Aubin
d3b267107f Update changelog for 2.7.14 release 2018-06-17 01:54:06 +00:00
Alexandre Aubin
39af52562c
Merge pull request #101 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2018-06-17 01:13:36 +02:00
Eynix
d45f34eadd
bugfix scope
"local lustache" was causing a scope error in some setups.
2018-06-07 22:33:12 +02:00
Eynix
60411de493 Merge branch 'unstable' of https://github.com/Eynix/SSOwat into unstable 2018-06-07 13:38:23 +02:00
Eynix
f2ee9fede9 licence file added 2018-06-07 13:37:58 +02:00
htmk
13c1625fa5 [i18n] Translated using Weblate (Portuguese)
Currently translated at 100.0% (41 of 41 strings)
2018-06-07 11:21:24 +00:00
Quenti
22c1adc03c [i18n] Translated using Weblate (Occitan)
Currently translated at 100.0% (41 of 41 strings)
2018-06-07 11:21:24 +00:00
Nòu utilizaire
8a98e38110 [i18n] Translated using Weblate (Occitan)
Currently translated at 100.0% (41 of 41 strings)
2018-06-07 11:21:24 +00:00
Nòu utilizaire
dee85631ab [i18n] Translated using Weblate (Occitan)
Currently translated at 56.0% (23 of 41 strings)
2018-06-07 11:21:24 +00:00
Nòu utilizaire
a5ba75a6c4 Added translation using Weblate (Occitan) 2018-06-07 11:21:23 +00:00
Bram
daa535a41b
[doc] we moved away from redmine 2018-06-07 13:21:20 +02:00
Eynix
e0ac6f9e63
remove useless backup file 2018-06-07 12:03:01 +02:00
Eynix
0d9f43967e replace hige by lustache 2018-06-07 11:56:44 +02:00
Eynix
23eb2fc3e4 replace hige by lustache 2018-06-07 11:56:34 +02:00
Bram
09432a3c99
Merge pull request #99 from nicofrand/mobile-drag
Make overlay dragging work on mobile devices
2018-05-12 04:37:03 +02:00
nicofrand
a41b76c251 Make tile dragging work on mobile devices 2018-05-09 18:34:00 +02:00
Alexandre Aubin
fe267ba93d Update changelog for 2.7.12 release 2018-05-06 16:54:17 +00:00
Alexandre Aubin
86adca76fe Update changelog for Stretch beta 3.0.0~beta1 2018-05-03 04:01:44 +02:00
Alexandre Aubin
d27d731e4d Update changelog for 2.7.11 release 2018-05-01 23:30:58 +00:00
Alexandre Aubin
219b278673
Merge pull request #98 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2018-05-01 23:57:12 +02:00
bjarkan
99e7f29f67 [i18n] Translated using Weblate (Spanish)
Currently translated at 100.0% (41 of 41 strings)
2018-04-28 16:31:03 +00:00
Matthieu
710128b711 [i18n] Translated using Weblate (Dutch)
Currently translated at 95.1% (39 of 41 strings)
2018-04-16 16:46:07 +00:00
ButterflyOfFire
43cbf11f10 [i18n] Translated using Weblate (Arabic)
Currently translated at 100.0% (41 of 41 strings)
2018-04-16 16:46:07 +00:00
ButterflyOfFire
ffcf553182 [i18n] Translated using Weblate (Arabic)
Currently translated at 100.0% (41 of 41 strings)
2018-04-16 16:46:07 +00:00
irina11y
4a8ad06025 Use role=button, to have those links handled as buttons by screen readers (#97) 2018-04-16 18:45:59 +02:00
Laurent Peuch
30ff28d1de
Merge pull request #96 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2018-02-07 21:59:13 +01:00
ButterflyOfFire
cc1a279df9 [i18n] Translated using Weblate (Arabic)
Currently translated at 100.0% (41 of 41 strings)
2018-02-07 20:43:07 +00:00
ButterflyOfFire
426df8205c Added translation using Weblate (Arabic) 2018-02-07 20:33:05 +00:00
Alexandre Aubin
7493cce2d4 Update changelog for 2.7.7 release 2018-01-18 17:37:39 -05:00
Alexandre Aubin
72f1682b71 Update changelog for 2.7.6 release 2018-01-16 17:10:11 -05:00
Alexandre Aubin
8f669e9fe9
[fix] Microdecision: fix link for support in SSOwat portal 2017-12-26 16:16:48 +01:00
Alexandre Aubin
0ccfe6ee5a Update changelog for 2.7.5 release 2017-12-02 12:23:20 -05:00
Alexandre Aubin
3996f8000e Update changelog for 2.7.4 release 2017-11-28 18:47:31 -05:00
Laurent Peuch
c28cb0000e
Merge pull request #94 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2017-11-28 13:22:23 +01:00
Rafi59
8ff784ca4b [i18n] Translated using Weblate (French)
Currently translated at 100.0% (41 of 41 strings)
2017-11-18 21:58:11 +00:00
Alexandre Aubin
8c900e4a9a
[fix] Add whois as dependency (#95) 2017-11-18 22:58:06 +01:00
Alexandre Aubin
1694139358 Update changelog for 2.7.3 release 2017-10-12 17:04:48 -04:00
Alexandre Aubin
d38d5e3d29 [fix] Force back_url to use HTTPS (#93) 2017-10-12 22:06:30 +02:00
tYYGH
1bf64408c9 portal_path must end with / (#91) 2017-10-02 20:04:46 +02:00
Y
db9059a55c let the admin decide how passwords are handled 2017-09-16 19:22:47 +02:00
Y
6b6fd09f34 portal_path must end with / 2017-09-16 18:51:57 +02:00
Laurent Peuch
daa799111e Merge pull request #89 from tYYGH/unstable
skipped_urls is mandatory
2017-09-16 16:58:36 +02:00
Y
c24a5ecd20 skipped_urls is mandatory 2017-09-16 15:00:11 +02:00
Alexandre Aubin
41c8997255 Update changelog for 2.7.2 release 2017-08-22 21:18:02 -04:00
root
227ef2a6fc Update changelog for 2.7.1 release 2017-08-19 22:06:35 +00:00
Laurent Peuch
87dbee3e8d Merge pull request #88 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2017-08-19 21:20:58 +02:00
Weblate
0e47b1f0a1 Merge remote-tracking branch 'origin/unstable' into unstable 2017-08-19 21:09:10 +02:00
Laurent Peuch
9b7fee7a1b [fix] attempt to fix https://github.com/YunoHost/SSOwat/pull/86#issuecomment-323417926 2017-08-19 04:39:51 +02:00
Laurent Peuch
98b1b53fbf Merge pull request #87 from YunoHost/hash_algo
[fix] Auto-update user password hashes with new algo
2017-08-18 02:42:00 +02:00
Laurent Peuch
d440d06ae7 [fix] be paranoid and prevent shell injections here also while input is supposed to be safe 2017-08-18 02:35:08 +02:00
Laurent Peuch
c8c7fe7fc7 [fix] prevent shell injections 2017-08-18 02:34:46 +02:00
Laurent Peuch
37938fd0f4 Merge pull request #86 from MCMic/unstable
Fixed support for incomplete translations
2017-08-17 23:13:34 +02:00
Laurent Peuch
d16f3f81d0 [enh] auto rehash in sha-512 users passwords on login 2017-08-15 11:41:24 +02:00
Laurent Peuch
2ff2fb92f3 [enh] encode password using sha512 on user modification of password 2017-08-15 11:11:35 +02:00
MCMic
97df24e794 [i18n] Translated using Weblate (Esperanto)
Currently translated at 26.8% (11 of 41 strings)
2017-08-11 18:35:42 +02:00
Côme Chilliet
47f01b3f6f Fixed support for incomplete translations (fallback to default language for missing strings) 2017-08-10 16:31:00 +02:00
Alexandre Aubin
044aa1d8eb Update changelog for 2.7.0 release 2017-08-07 12:59:52 -04:00
YunoHost Bot
3ecdb97bf6 Update from Weblate. (#85)
* Added translation using Weblate (Russian)
* [i18n] Translated using Weblate (Russian)
Currently translated at 12.1% (5 of 41 strings)
2017-08-07 18:24:55 +02:00
Evgeniy Ozhiganov
a4445a862b [i18n] Translated using Weblate (Russian)
Currently translated at 12.1% (5 of 41 strings)
2017-08-07 18:20:56 +02:00
Ozhiganov
c7bc762ea3 Added translation using Weblate (Russian) 2017-07-21 05:20:01 +02:00
Laurent Peuch
50fcc831bf [mod] comment didn't matched reality 2017-05-27 19:19:48 +02:00
opi
aca5f054ab Update changelog for 2.6.8 release 2017-05-23 21:46:14 +02:00
Laurent Peuch
c1a388ccf0 Merge pull request #84 from YunoHost/caching_for_hash
[enh] uses caching for hash to avoid heavy recalculation and process spawning
2017-05-23 21:40:30 +02:00
Laurent Peuch
5157415ce3 [fix] remove tabs 2017-05-23 07:26:41 +02:00
Laurent Peuch
76677fab0d [enh] uses caching for hash to avoid heavy recalculation and process spawning 2017-05-22 23:01:18 +02:00
opi
37c0980155 Update changelog for 2.6.7 release 2017-05-18 09:14:33 +02:00
opi
d105b28ccf [fix] sidddy takes 3 d 2017-05-18 08:56:48 +02:00
opi
25ce273120 [love] Add siddy to contributors file.
Thanks for you security reviews !
2017-05-18 08:54:45 +02:00
sidddy
fc52f05459 Quick fix for CDA security issue 2017-05-18 08:45:20 +02:00
Laurent Peuch
98a6879ab4 [fix] don't include ip in token, this is useless and make infinite redirection\n\nIt has been confirmed by a security friend that this was nearly useless here since the token is marked as Secure and can only be exchanged on https so if someone managed to steal it the user have way more important problems. 2017-05-18 08:40:33 +02:00
Laurent Peuch
2456eda200 [fix] Use hmac_sha512 instead of md5 for cookie hashing. Don't store the key in token anymore (#80)
* [fix] uses hmac_sha512 for hasing the token and don't store the key in it anymore
* [mod] remove python script and talk directly to openssl
2017-05-18 08:34:36 +02:00
Laurent Peuch
96b077fe02 Merge pull request #79 from YunoHost/crypto_random
[fix] uses a cryptographically secure source of randomness
2017-05-17 21:37:55 +02:00
Laurent Peuch
c5bb6ef2ae [fix] uses a cryptographically secure source of randomness 2017-05-15 03:29:34 +02:00
Laurent Peuch
054b7d1752 [mod] remove things not related to logging 2017-05-13 15:08:56 +02:00
sidddy
ad39e3ded5 Added access log, ignore IP, check acl for basic auth 2017-05-13 15:06:18 +02:00
opi
46b6d1048e Update changelog for 2.6.6 release 2017-05-12 22:51:24 +02:00
opi
737ebba474 Merge branch 'acl_on_basic_http_auth' into stable 2017-05-12 22:49:12 +02:00
Laurent Peuch
c019f9d208 [fix] check users ACL on http basic auth 2017-05-12 22:45:19 +02:00
Alexandre Aubin
442147bbbe Update changelog for 2.6.5 release 2017-05-12 22:45:19 +02:00
Jeroen Keerl
2a648b8475 [i18n] Translated using Weblate (Dutch)
Currently translated at 95.1% (39 of 41 strings)
2017-05-12 22:45:19 +02:00
Fabian Gruber
4450ba8f95 [i18n] Translated using Weblate (German)
Currently translated at 100.0% (41 of 41 strings)
2017-05-12 22:45:19 +02:00
Alexandre Aubin
d0709ff1f3 Adding link to bugtracker 2017-05-12 22:45:19 +02:00
JimboJoe
5228bf4f0c [fix] Fix tile not displayed when app is installed on root (bug #285) (#71)
* Fix proposal for bug #285 (YunoHost tile is not displayed when the app is installed on root path)
* Fix access to administration page
2017-05-12 22:45:19 +02:00
Alexandre Aubin
3a04c42ae6 Update changelog for 2.6.5 release 2017-04-24 13:03:07 -04:00
opi
eba9c6ede2 Merge pull request #76 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2017-04-24 17:34:20 +02:00
Jeroen Keerl
d7ed67a586 [i18n] Translated using Weblate (Dutch)
Currently translated at 95.1% (39 of 41 strings)
2017-04-24 17:29:57 +02:00
Fabian Gruber
ad274017d9 [i18n] Translated using Weblate (German)
Currently translated at 100.0% (41 of 41 strings)
2017-04-03 01:35:23 +02:00
Alexandre Aubin
25eeff041d Adding link to bugtracker 2017-04-03 01:35:16 +02:00
JimboJoe
b1a1d55e66 [fix] Fix tile not displayed when app is installed on root (bug #285) (#71)
* Fix proposal for bug #285 (YunoHost tile is not displayed when the app is installed on root path)
* Fix access to administration page
2017-04-02 23:47:54 +02:00
opi
edb1ea079c Update changelog for 2.6.4 release 2017-03-14 15:39:44 +01:00
opi
f68c7f9e44 [fix] Remove help-link in portal as they don't link to nothing. Fix #68 2017-03-14 15:32:49 +01:00
opi
ee971b453d Update changelog for 2.6.3 release 2017-03-08 11:13:50 +01:00
opi
16923ffc95 Merge pull request #75 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2017-03-08 11:12:29 +01:00
opi
a6911d9037 [i18n] Translated using Weblate (French)
Currently translated at 100.0% (41 of 41 strings)
2017-03-08 11:11:29 +01:00
opi
9956a7c1c1 [fix] Validate domain & url before redirection on login. 2017-03-08 11:08:33 +01:00
opi
e6631df5b1 Update changelog for 2.6.2 release 2017-03-02 12:19:11 +01:00
opi
773d7a2830 [enh] Add Trollken to contributors list. 2017-03-02 12:17:40 +01:00
opi
2a8bf7c0a3 Merge pull request #74 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2017-03-02 12:14:25 +01:00
Trollken
514f8d3d41 [i18n] Translated using Weblate (Portuguese)
Currently translated at 100.0% (39 of 39 strings)
2017-02-28 15:39:01 +01:00
opi
fff95314ce [fix] Use local variables for cookie's expired_time. 2017-02-28 15:38:46 +01:00
opi
6bd8eb1a90 [fix] Delete cookies on logout. 2017-02-28 15:36:45 +01:00
opi
2eb38d3eaa [enh] Add 'Secure' flag in cookies. 2017-02-28 15:36:04 +01:00
opi
a2af42144b [fix] Use 'Expires' instead of 'Max-Age' for every cookie for consistency. 2017-02-28 15:23:40 +01:00
JimboJoe
fb99ee2177 Fix HTTP cookie caching
- Use "Expires" instead of "Max-Age" when using a cookie date (Max-Age is used with an interval of seconds in the future: https://en.wikipedia.org/wiki/HTTP_cookie#Expires_and_Max-Age)
- Fix cookie dates to be compliant with specifications

Fixes errors with various "picky" clients (for example, Lightroom/Piwigo plugin).
2017-02-28 15:19:28 +01:00
opi
1faf47e6b2 Merge pull request #67 from YunoHost/fix-633_caching_issue
[fix] Refresh ldap info before loading page that requires it, fixes #633
2017-02-28 11:17:44 +01:00
Julien Malik
fd3338de99 [fix] Refresh ldap info before loading page that requires it, fixes #633 2017-02-28 11:14:22 +01:00
opi
0823062e30 [fix] Escape dash in domain before matching. 2017-02-23 23:14:03 +01:00
opi
e7b39d4d29 [fix] Always redirect to portal when calling logout page. 2017-02-23 17:53:17 +01:00
opi
01e2b20e02 Update changelog for 2.6.1 release 2017-02-02 12:05:08 +01:00
opi
f3b64d3e50 Merge pull request #72 from yunohost-bot/weblate-yunohost-ssowat
Update from Weblate.
2017-02-02 11:56:11 +01:00
Weblate
a3a68ec8f8 Merge branch 'unstable' of github.com:yunohost-bot/SSOwat into unstable 2017-02-02 11:53:00 +01:00
Juanu
47c9f1715a [i18n] Translated using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)
2017-01-28 06:24:00 +01:00
Anmol
e539275f6d [i18n] Translated using Weblate (Hindi)
Currently translated at 5.1% (2 of 39 strings)
2017-01-28 06:24:00 +01:00
Moul
f659359d6d [enh] readme: add translation badge status. 2017-01-28 06:23:51 +01:00
Juanu
ee1ed686ca [i18n] Translated using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)
2016-12-22 16:29:22 +01:00
Anmol
3936d73921 [i18n] Translated using Weblate (Hindi)
Currently translated at 5.1% (2 of 39 strings)
2016-12-22 16:29:22 +01:00
opi
72b811a676 [enh][love] Create CONTRIBUTORS.md file. (#69)
* [enh][love] Create CONTRIBUTORS.md file.
2016-12-22 16:29:15 +01:00
Moul
70f413af6b [enh] add empty file for esperanto to enable it on weblate 2016-12-12 19:21:43 +01:00
opi
366dd6c443 Merge pull request #65 from dzamlo/unstable
Add the autofocus attribute to the username field
2016-09-08 17:13:56 +02:00
Loïc Damien
c9f16d0014 Add the autofocus attribute to the username field
With the `autofocus` attribute, the field has the focus when the page is loaded. This mean that you don't need to click in the field to start writing your username.
2016-08-31 13:51:06 +02:00
Laurent Peuch
eaaf1983a5 [enh] add empty file for hindie to enable it in weblate 2016-07-28 21:43:36 +02:00
jeromelebleu
3751a0308f Merge pull request #63 from yunohost-bot/unstable-weblate
Update from Weblate.
2016-07-14 17:46:03 +02:00
Jean-Baptiste
06c77ab799 [i18n] Translated using Weblate (French)
Currently translated at 100.0% (39 of 39 strings)
2016-06-07 23:00:11 +02:00
Juanu
09625b249b [i18n] Translated using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)
2016-06-05 14:00:10 +02:00
Juanu
833937f33d [i18n] Translated using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)
2016-05-26 10:18:21 +02:00
opi
7be93fc95c Merge pull request #61 from dromer/unstable
relative path for edit.html
2016-05-25 20:36:26 +02:00
Alexander Chalikiopoulos
4933ad9ce0 relative path for edit.html 2016-05-25 10:44:15 +02:00
Jérôme Lebleu
cdce27fc5d Update changelog for 2.6.0 release 2016-05-08 01:25:02 +02:00
opi
edccfe992f Update changelog for 2.6.0 release 2016-05-08 00:43:26 +02:00
Jérôme Lebleu
1d02ee215a [deb] Rename conf.json installed file to conf.json.example 2016-05-07 23:57:17 +02:00
opi
32ebe0d4cd Update changelog for 2.5.0 release 2016-04-30 14:03:03 +02:00
opi
b9c6fb976a Merge branch 'unstable' into testing 2016-04-30 13:58:19 +02:00
opi
908269bed7 Update changelog for 2.4.0 release 2016-04-30 13:52:46 +02:00
opi
bf24cf5e50 [enh] Use consistent coding convention for function prototype. 2016-04-30 12:40:59 +02:00
opi
af53f4d393 [fix] match protected URIs against URL arguments 2016-04-29 17:28:08 +02:00
Maniack Crudelis
3b2bc73df5 Regex non reconnues sur protected_regex
Les patterns sont interprétés correctement sur unprotected_regex, mais pas sur protected_regex.
L'ajout de ..hlp.uri_args_string() corrige ça et permet d'interpréter correctement les patterns
2016-04-29 17:28:08 +02:00
root
648b552297 adding credentials for non-anonymous bind 2016-04-29 14:31:37 +02:00
Jérôme Lebleu
1bceee6d64 Merge pull request #53 from yunohost-bot/unstable-weblate
[i18n] Update translations from Weblate
2016-03-01 18:42:04 +01:00
Felix Bartels
764ff02139 Translated using Weblate (German)
Currently translated at 100.0% (39 of 39 strings)
2016-03-01 18:39:40 +01:00
P
cad882b08f Translated using Weblate (Portuguese)
Currently translated at 100.0% (39 of 39 strings)
2015-12-26 19:39:56 +01:00
Jérôme Lebleu
a993c4b6a2 [i18n] Sort json translation files by keys 2015-12-17 21:53:09 +01:00
Jérôme Lebleu
9dec95e233 [i18n] Update translations from Transifex belatedly 2015-12-17 21:51:13 +01:00
opi
4f2ef58530 [fix] Use example.com domain according to RFC 2606 and RFC 6761. Mydomain.com is a commercial registrar. 2015-11-23 09:34:40 +01:00
kload
b8cacc4cf5 Update changelog for 2.3.0 release 2015-11-03 14:14:47 +00:00
opi
1e9087b644 Merge pull request #46 from Kloadut/fix-js-concat
[fix] JS concact string.
2015-10-07 09:55:03 +02:00
opi
63fc1a3edb [fix] Do not add hash when setAttribute an id. 2015-10-07 09:50:55 +02:00
Le Kload
c61521e880 [fix] Do not require yunohost-config-nginx anymore 2015-10-01 23:03:45 +02:00
opi
d88dce3d3c [fix] JS concact string. 2015-09-03 17:31:54 +02:00
opi
05c7f8f47c [fix] Use a more explicit id for overlay toggle button. 2015-08-31 17:24:26 +02:00
opi
c8b6d1b9ac [fix] Use 'ynh-' as CSS selector prefix (add dash). 2015-08-31 17:22:05 +02:00
opi
f9a9472179 [fix] .wrapper is a too much generic class. 2015-08-31 17:20:36 +02:00
opi
5e41010458 [fix] Remove trailing white spaces in CSS files. 2015-08-31 17:15:36 +02:00
opi
c9b267f2d7 [fix] Consistent custom CSS classes prefix: ynh 2015-08-31 17:14:18 +02:00
Le Kload
de4f560111 Merge pull request #45 from M5oul/patch-1
Add AGPL license
2015-07-15 15:31:32 +02:00
M5oul
0391ff7707 Add AGPL license 2015-07-15 15:29:45 +02:00
Jérôme Lebleu
df9e179ef1 Update changelog for 2.2.3 release 2015-07-01 15:39:37 +02:00
Le Kload
afcd4691a3 Merge pull request #40 from jeromelebleu/unstable
[fix] Construct a proper emails array (fix #39)
2015-07-01 09:54:07 +02:00
Jérôme Lebleu
a46be28b53 [fix] Construct a proper emails array (fix #39) 2015-06-30 21:03:20 +02:00
kload
cd85f6b740 [enh] Sort apps alphabeticaly + set app color regarding its name 2015-06-14 13:23:21 +02:00
kload
57f0a4c005 Update changelog for 2.2.2 release 2015-06-02 15:21:08 +00:00
kload
404fe510d2 [fix] Ensure that configuration is loaded properly when we need it
+ lowercase the username
+ do not fail when only oneemail alias is set
2015-06-02 17:05:06 +02:00
kload
d39f7d2b78 Update changelog for 2.2.1 release 2015-05-21 16:23:37 +02:00
kload
8ee3d6b93d [fix] Get rid of Cookie cache 2015-05-21 16:11:33 +02:00
kload
e15c15812c [fix] Finally caught this little nasty Cookie setter 2015-05-21 15:29:36 +02:00
kload
f895e02986 [fix] Do not declare cookies as global variables 2015-05-16 21:03:06 +02:00
kload
0ebddc079a [fix] Load libraries locally to avoid caching 2015-05-16 09:42:26 +02:00
kload
71e9ff1f68 Update changelog for 2.2.0 release 2015-05-08 20:43:02 +00:00
kload
84f32c4685 Update changelog for 2.1.5 release 2015-05-05 11:26:37 +02:00
kload
294b1d6058 [fix] Use 'cache' shared table to store CDA keys and avoid infinite redirections 2015-05-04 19:30:32 +02:00
kload
89c813abe7 Update changelog for 2.1.4 release 2015-04-30 12:04:02 +00:00
kload
8953860017 [fix] Efficiently generate random strings 2015-04-30 15:16:51 +02:00
julienmalik
f5bd2dcc2b [fix] escape minus character to avoid interpretation as range
Fixes #36
2015-03-31 11:29:45 +02:00
opi
bfd3cfdcab Merge pull request #35 from jeromelebleu/unstable
[enh][i18n] Update translations from Transifex
2015-02-21 09:38:28 +01:00
Jérôme Lebleu
a87fb6c06e [i18n] Update translations from Transifex 2015-02-21 01:52:59 +01:00
opi
cd41a7c35a Update changelog for 2.1.3 release 2015-02-18 14:44:15 +01:00
opi
e96bb3e8d8 Merge branch 'unstable' into testing 2015-02-18 14:37:05 +01:00
opi
b9b6d09769 [fix] Prevent adding the same cookie again and again. 2015-02-18 14:35:13 +01:00
Le Kload
06be1fa65a Merge pull request #34 from jeromelebleu/unstable
[fix] Allow special characters in email adresses (fix #33)
2015-02-16 23:48:20 +01:00
Jérôme Lebleu
1d44e53f7b [fix] Allow special characters in email adresses (fix #33) 2015-02-16 16:42:06 +01:00
Le Kload
5cc42fdcd2 Merge pull request #32 from jeromelebleu/unstable
Consider new gTLDs in email regex using Lrexlib
2015-02-15 23:27:34 +01:00
Jérôme Lebleu
cf78b8929d [enh] Consider new gTLDs in email regex using Lrexlib 2015-02-15 22:31:20 +01:00
kload
667484b326 merge 2015-02-15 13:10:17 +01:00
kload
32b730c11f [fix] Load modules as proper modules + typo 2015-02-15 13:09:15 +01:00
kload
a0163f9f39 [enh] Finish documenting the code 2015-02-15 13:09:15 +01:00
kload
2a9769f7d9 [fix] Load modules as proper modules + typo 2015-02-15 13:03:01 +01:00
kload
7a86897579 [enh] Finish documenting the code 2015-02-15 12:31:23 +01:00
94 changed files with 6388 additions and 2047 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
*.swp

59
CONTRIBUTORS.md Normal file
View file

@ -0,0 +1,59 @@
SSOwat contributors
===================
YunoHost is built and maintained by the YunoHost project community.
Everyone is encouraged to submit issues and changes, and to contribute in other ways -- see https://yunohost.org/contribute to find out how.
--
SSOwat was initially built by Kload, for YunoHost v2.
Design was created by Théodore 'Tozz' Faure and Thomas 'Courgette' Lebeau and implemented by Courgette himself.
Most of code was written by Kload and opi, with help of numerous contributors.
Translation is made by a bunch of lovely people over the world.
We would like to thank anyone who ever helped the YunoHost project, and especially the SSOwat project <3
SSOwat Contributors
-------------------
- Kload
- opi
- Jérôme Lebleu
- Maniack Crudelis
- Julien 'ju' Malik
- M5oul
- Alexander Chalikiopoulos
- Adrien 'Beudbeud' Beudin
- Hnk Reno
- Laurent 'Bram' Peuch
- Loïc 'dzamlo' Damien
- sidddy
SSOwat Translators
------------------
### French
- Jean-Baptiste Holcroft
### German
- Felix Bartels
### Hindi
- Anmol
### Portuguese
- Deleted User
- Trollken
### Spanish
- Juanu

661
LICENSE Normal file
View file

@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.

214
README.md
View file

@ -1,19 +1,34 @@
SSOwat
======
A simple LDAP SSO for nginx, written in Lua
A simple LDAP SSO for NGINX, written in Lua.
<a href="https://translate.yunohost.org/engage/yunohost/?utm_source=widget">
<img src="https://translate.yunohost.org/widgets/yunohost/-/287x66-white.png" alt="Translation status" />
</a>
Issues
------
- [Please report issues to the YunoHost bugtracker](https://github.com/YunoHost/issues).
Requirements
------------
- Nginx-extras from Debian wheezy-backports
- lua-json
- lua-ldap
- `nginx-extras` from Debian wheezy-backports
- `lua-json`
- `lua-ldap`
- `lua-filesystem`
- `lua-socket`
- `lua-rex-pcre`
**OR**
- Nginx "Openresty" flavored : http://openresty.org/
- lua-ldap
- "OpenResty" flavored NGINX: https://openresty.org/
- `lua-ldap`
- `lua-filesystem`
- `lua-socket`
- `lua-rex-pcre`
Installation
------------
@ -21,14 +36,14 @@ Installation
* Fetch the repository
```bash
git clone https://github.com/Kloadut/SSOwat /etc/ssowat
git clone https://github.com/YunoHost/SSOwat /etc/ssowat
```
Nginx configuration
NGINX configuration
-------------------
* Add SSOwat's Nginx configuration (`http{}` scope)
* Add SSOwat's NGINX configuration (`http{}` scope)
```bash
nano /etc/nginx/conf.d/ssowat.conf
@ -49,6 +64,7 @@ SSOwat configuration
--------------------
```
mv /etc/ssowat/conf.json.example /etc/ssowat/conf.json
nano /etc/ssowat/conf.json
```
@ -56,100 +72,180 @@ If you use YunoHost, you may want to edit the `/etc/ssowat/conf.json.persistent`
## Available parameters
These are the SSOwat's configuration parameters. Only the first one is required, but it is recommended to know the others to fully understand what you can do with SSOwat.
Only the `portal_domain` SSOwat configuration parameters is required, but it is recommended to know the others to fully understand what you can do with it.
#### portal_domain
---------------
Domain of the authentication portal. It has to be a domain, IP addresses will not work with SSOwat (**Required**)
### portal_domain
#### portal_path
Domain of the authentication portal. It has to be a domain, IP addresses will not work with SSOwat (**Required**).
URI of the authentication portal (**default**: `/ssowat`)
---------------
#### portal_port
### portal_path
Web port of the authentication portal (**default**: `443`)
URI of the authentication portal (**default**: `/ssowat/`). This path **must** end with “`/`”.
#### portal_scheme
---------------
Whether authentication should use secure connection or not (**default**: `https`)
### portal_port
#### domains
Web port of the authentication portal (**default**: `443` for `https`, `80` for `http`).
List of handle domains (**default**: similar to `portal_domain`)
---------------
#### ldap_host
### portal_scheme
LDAP server hostname (**default**: `localhost`)
Whether authentication should use secure connection or not (**default**: `https`).
#### ldap_group
---------------
LDAP group to search in (**default**: `ou=users,dc=yunohost,dc=org`)
### domains
#### ldap_identifier
List of handled domains (**default**: similar to `portal_domain`).
LDAP user identifier (**default**: `uid`)
---------------
#### ldap_attributes
### ldap_host
User's attributes to fetch from LDAP (**default**: `["uid", "givenname", "sn", "cn", "homedirectory", "mail", "maildrop"]`)
LDAP server hostname (**default**: `localhost`).
#### allow_mail_authentication
---------------
Whether users can authenticate with their mail address (**default**: `true`)
### ldap_group
#### login_arg
LDAP group to search in (**default**: `ou=users,dc=yunohost,dc=org`).
URI argument to use for cross-domain authentication (**default**: `sso_login`)
---------------
#### additional_headers
### ldap_identifier
Array of additionnal HTTP headers to set once user is authenticated (**default**: `{ "Remote-User": "uid" }`)
LDAP user identifier (**default**: `uid`).
#### session_timeout
---------------
The session expiracy time limit in seconds, since the last connection (**default**: `86400` / one day)
### ldap_attributes
#### session_max_timeout
User's attributes to fetch from LDAP (**default**: `["uid", "givenname", "sn", "cn", "homedirectory", "mail", "maildrop"]`).
The session expiracy time limit in seconds (**default**: `604800` / one week)
---------------
#### protected_urls
### ldap_enforce_crypt
List of priorily protected URLs and/or URIs (**by default, every URL is protected**)
Let SSOwat re-encrypt weakly-encrypted LDAP passwords into the safer sha-512 (crypt) (**default**: `true`).
#### protected_regex
---------------
List of regular expressions to be matched against URLs **and** URIs to protect them
### allow_mail_authentication
#### skipped_urls
Whether users can authenticate with their mail address (**default**: `true`).
List of URLs and/or URIs that will not be affected by SSOwat
---------------
#### skipped_regex
### login_arg
List of regular expressions to be matched against URLs **and** URIs to ignore them
URI argument to use for cross-domain authentication (**default**: `sso_login`).
#### unprotected_urls
---------------
List of URLs and/or URIs that will not be affected by SSOwat **unless user is authenticated**
### additional_headers
#### unprotected_regex
Array of additionnal HTTP headers to set once user is authenticated (**default**: `{ "Remote-User": "uid" }`).
List of regular expressions to be matched against URLs **and** URIs to ignore them **unless user is authenticated**
---------------
#### redirected_urls
### session_timeout
Array of URLs and/or URIs to redirect and their redirect URI/URL (**example**: `{ "/": "example.org/subpath" }`)
The session expiracy time limit in seconds, since the last connection (**default**: `86400` / one day).
#### redirected_regex
---------------
Array of regular expressions to be matched against URLS **and** URIs and their redirect URI/URL (**example**: `{ "example.org/megusta$": "example.org/subpath" }`)
### session_max_timeout
The session expiracy time limit in seconds (**default**: `604800` / one week).
---------------
### redirected_urls
Array of URLs and/or URIs to redirect and their redirect URI/URL (**example**: `{ "/": "example.org/subpath" }`).
---------------
### redirected_regex
Array of regular expressions to be matched against URLs **and** URIs and their redirect URI/URL (**example**: `{ "example.org/megusta$": "example.org/subpath" }`).
---------------
### default_language
Language code used by default in views (**default**: `en`).
---------------
### permissions
The list of permissions depicted as follows:
```json
"myapp.main": {
"auth_header": true,
"label": "MyApp",
"public": true,
"show_tile": true,
"uris": [
"example.tld/myapp"
],
"users": [
"JaneDoe",
"JohnDoe"
]
},
"myapp.admin": {
"auth_header": true,
"label": "MyApp (admin)",
"public": false,
"show_tile": false,
"uris": [
"example.tld/myapp/admin"
],
"users": [
"JaneDoe"
]
},
"myapp.api": {
"auth_header": false,
"label": "MyApp (api)",
"public": true,
"show_tile": false,
"uris": [
"re:domain%.tld/%.well%-known/.*"
],
"users": []
}
```
#### auth_header
Does the SSO add an authentication header that allows certain apps to connect automatically? (**True by default**)
#### label
A user-friendly name displayed in the portal and in the administration panel to manage permission. (**By convention it is of the form: Name of the app (specificity of this permission)**)
#### public
Can a person who is not connected to the SSO have access to this authorization?
#### show_tile
Display or not the tile in the user portal.
#### uris
A list of url attatched to this permission, a regex url start with `re:`.
#### users
2-level array containing usernames and their allowed URLs along with an App name (**example**: `{ "kload": { "kload.fr/myapp/": "My App" } }`)
#### default_language
Language code used by default in views (**default**: `en`)
A list of users which is allowed to access to this permission. If `public`.

View file

@ -7,29 +7,29 @@
--
-- Get the `cache` persistent shared table
cache = ngx.shared.cache
local cache = ngx.shared.cache
-- Generate a unique token if it has not been generated yet
srvkey = cache:get("srvkey")
if not srvkey then
math.randomseed(os.time())
srvkey = tostring(math.random(1111111, 9999999))
srvkey = random_string()
cache:add("srvkey", srvkey)
end
-- Initialize and get configuration
config = require "config"
conf = config.get_config()
-- Initialize the non-persistent cookie table
cookies = {}
-- Import helpers
hlp = require "helpers"
local hlp = require "helpers"
-- Initialize and get configuration
hlp.refresh_config()
local conf = hlp.get_config()
-- Load logging module
local logger = require("log")
-- Just a note for the client to know that he passed through the SSO
ngx.header["X-SSO-WAT"] = "You've just been SSOed"
local is_logged_in = hlp.refresh_logged_in()
--
-- 1. LOGIN
@ -44,12 +44,13 @@ if ngx.var.host ~= conf["portal_domain"] and ngx.var.request_method == "GET" the
if uri_args[conf.login_arg] then
cda_key = uri_args[conf.login_arg]
-- Use the `login` shared table where a username is associated with
-- Use the `cache` shared table where a username is associated with
-- a CDA key
if login[cda_key] then
hlp.set_auth_cookie(login[cda_key], ngx.var.host)
ngx.log(ngx.NOTICE, "Cross-domain authentication: "..login[cda_key].." connected on "..ngx.var.host)
login[cda_key] = nil
user = cache:get("CDA|"..cda_key)
if user then
hlp.set_auth_cookie(user, ngx.var.host)
logger.info("Cross-domain authentication: "..user.." connected on "..ngx.var.host)
cache:delete("CDA|"..cda_key)
end
uri_args[conf.login_arg] = nil
@ -64,9 +65,9 @@ end
-- example: https://mydomain.org/ssowat*
--
-- If the URL matches the portal URL, serve a portal file or proceed to a
-- portal operations
-- portal operation
--
if ngx.var.host == conf["portal_domain"]
if (ngx.var.host == conf["portal_domain"] or is_logged_in)
and hlp.string.starts(ngx.var.uri, string.sub(conf["portal_path"], 1, -2))
then
@ -83,19 +84,55 @@ then
return hlp.redirect(conf.portal_url)
end
-- Get request arguments
uri_args = ngx.req.get_uri_args()
-- Logout is also called via a `GET` method
-- TODO: change this ?
if uri_args.action and uri_args.action == 'logout' then
logger.debug("Logging out")
return hlp.logout()
elseif hlp.is_logged_in() and uri_args.r then
-- If the `r` URI argument is set, it means that we want to
-- be redirected (typically after a login phase)
elseif is_logged_in and uri_args.r then
-- Decode back url
back_url = ngx.decode_base64(uri_args.r)
if not string.match(back_url, "^http[s]?://"..ngx.var.host.."/")
-- If `back_url` contains line break, someone is probably trying to
-- pass some additional headers
if string.match(back_url, "(.*)\n") then
hlp.flash("fail", hlp.t("redirection_error_invalid_url"))
logger.error("Redirection url is invalid")
return hlp.redirect(conf.portal_url)
end
-- Get managed domains
local managed_domain = false
for _, domain in ipairs(conf["domains"]) do
local escaped_domain = domain:gsub("-", "%%-") -- escape dash for pattern matching
if string.match(back_url, "^http[s]?://"..escaped_domain.."/") then
logger.debug("Redirection to a managed domain found")
managed_domain = true
break
end
end
-- If redirection does not match one of the managed domains
-- redirect to portal home page
if not managed_domain then
hlp.flash("fail", hlp.t("redirection_error_unmanaged_domain"))
logger.error("Redirection to an external domain aborted")
return hlp.redirect(conf.portal_url)
end
-- In case the `back_url` is not on the same domain than the
-- current one, create a redirection with a CDA key
local ngx_host_escaped = ngx.var.host:gsub("-", "%%-") -- escape dash for pattern matching
if not string.match(back_url, "^http[s]?://"..ngx_host_escaped.."/")
and not string.match(back_url, ".*"..conf.login_arg.."=%d+$") then
cda_key = tostring(math.random(1111111, 9999999))
login[cda_key] = ngx.var.cookie_SSOwAuthUser
local cda_key = hlp.set_cda_key()
if string.match(back_url, ".*?.*") then
back_url = back_url.."&"
else
@ -103,43 +140,99 @@ then
end
back_url = back_url.."sso_login="..cda_key
end
return hlp.redirect(back_url)
elseif hlp.is_logged_in() -- Authenticated
or ngx.var.uri == conf["portal_path"] -- OR Want to serve portal login
or (string.starts(ngx.var.uri, conf["portal_path"].."assets")
and (not ngx.var.http_referer
or hlp.string.starts(ngx.var.http_referer, conf.portal_url))) -- OR Want to serve assets for portal login
then
-- Serve normal portal
return hlp.serve(ngx.var.uri)
-- In case we want to serve portal login or assets for portal, just
-- serve it
elseif is_logged_in
or ngx.var.uri == conf["portal_path"]
or (hlp.string.starts(ngx.var.uri, conf["portal_path"].."assets")
and (not ngx.var.http_referer
or hlp.string.starts(ngx.var.http_referer, conf.portal_url)))
then
-- If this is an asset, enable caching
if hlp.string.starts(ngx.var.uri, conf["portal_path"].."assets")
then
return hlp.serve(ngx.var.uri, "static_asset")
else
return hlp.serve(ngx.var.uri)
end
-- If all the previous cases have failed, redirect to portal
else
-- Redirect to portal
hlp.flash("info", t("please_login"))
return hlp.redirect(conf.portal_url)
hlp.flash("info", hlp.t("please_login"))
logger.debug("User should log in to be able to access "..ngx.var.uri)
-- Force the scheme to HTTPS. This is to avoid an issue with redirection loop
-- when trying to access http://main.domain.tld/ (SSOwat finds that user aint
-- logged in, therefore redirects to SSO, which redirects to the back_url, which
-- redirect to SSO, ..)
local back_url = "https://" .. ngx.var.host .. ngx.var.uri .. hlp.uri_args_string()
return hlp.redirect(conf.portal_url.."?r="..ngx.encode_base64(back_url))
end
-- `POST` method is basically use to achieve editing operations
elseif ngx.var.request_method == "POST" then
-- CSRF protection
-- CSRF protection, only proceed if we are editing from the same
-- domain
if hlp.string.starts(ngx.var.http_referer, conf.portal_url) then
if hlp.string.ends(ngx.var.uri, conf["portal_path"].."password.html")
or hlp.string.ends(ngx.var.uri, conf["portal_path"].."edit.html")
then
logger.debug("User attempts to edit its information")
return hlp.edit_user()
else
logger.debug("User attempts to log in")
return hlp.login()
end
else
-- Redirect to portal
hlp.flash("fail", t("please_login_from_portal"))
hlp.flash("fail", hlp.t("please_login_from_portal"))
logger.debug("Invalid POST request not coming from the portal url...")
return hlp.redirect(conf.portal_url)
end
end
end
-- Redirected urls
--
-- 2 ... continued : portal assets that are available on every domains
--
-- For example: `https://whatever.org/ynhpanel.js` will serve the
-- `/yunohost/sso/assets/js/ynhpanel.js` file.
--
if is_logged_in then
assets = {
["/ynh_portal.js"] = "js/ynh_portal.js",
["/ynh_userinfo.json"] = "ynh_userinfo.json",
["/ynh_overlay.css"] = "css/ynh_overlay.css"
}
theme_dir = "/usr/share/ssowat/portal/assets/themes/"..conf.theme
local pfile = io.popen('find "'..theme_dir..'" -not -path "*/\\.*" -type f -exec realpath --relative-to "'..theme_dir..'" {} \\;')
for filename in pfile:lines() do
assets["/ynhtheme/"..filename] = "themes/"..conf.theme.."/"..filename
end
pfile:close()
for shortcut, full in pairs(assets) do
if ngx.var.uri == shortcut then
logger.debug("Serving static asset "..full)
return hlp.serve("/yunohost/sso/assets/"..full, "static_asset")
end
end
end
--
-- 3. REDIRECTED URLS
--
-- If the URL matches one of the `redirected_urls` in the configuration file,
-- just redirect to the target URL/URI
--
function detect_redirection(redirect_url)
if hlp.string.starts(redirect_url, "http://")
@ -157,6 +250,7 @@ if conf["redirected_urls"] then
if url == ngx.var.host..ngx.var.uri..hlp.uri_args_string()
or url == ngx.var.scheme.."://"..ngx.var.host..ngx.var.uri..hlp.uri_args_string()
or url == ngx.var.uri..hlp.uri_args_string() then
logger.debug("Requested URI is in redirected_urls")
detect_redirection(redirect_url)
end
end
@ -164,131 +258,122 @@ end
if conf["redirected_regex"] then
for regex, redirect_url in pairs(conf["redirected_regex"]) do
if string.match(ngx.var.host..ngx.var.uri..hlp.uri_args_string(), regex)
or string.match(ngx.var.scheme.."://"..ngx.var.host..ngx.var.uri..hlp.uri_args_string(), regex)
or string.match(ngx.var.uri..hlp.uri_args_string(), regex) then
if hlp.match(ngx.var.host..ngx.var.uri..hlp.uri_args_string(), regex)
or hlp.match(ngx.var.scheme.."://"..ngx.var.host..ngx.var.uri..hlp.uri_args_string(), regex)
or hlp.match(ngx.var.uri..hlp.uri_args_string(), regex) then
logger.debug("Requested URI is in redirected_regex")
detect_redirection(redirect_url)
end
end
end
-- URL that must be protected
function is_protected()
if not conf["protected_urls"] then
conf["protected_urls"] = {}
end
if not conf["protected_regex"] then
conf["protected_regex"] = {}
end
for _, url in ipairs(conf["protected_urls"]) do
if hlp.string.starts(ngx.var.host..ngx.var.uri, url)
or hlp.string.starts(ngx.var.uri, url) then
return true
end
end
for _, regex in ipairs(conf["protected_regex"]) do
if string.match(ngx.var.host..ngx.var.uri, regex)
or string.match(ngx.var.uri, regex) then
return true
end
end
return false
end
-- Skipped urls
-- i.e. http://mydomain.org/no_protection/
if conf["skipped_urls"] then
for _, url in ipairs(conf["skipped_urls"]) do
if (hlp.string.starts(ngx.var.host..ngx.var.uri..hlp.uri_args_string(), url)
or hlp.string.starts(ngx.var.uri..hlp.uri_args_string(), url))
and not is_protected() then
return hlp.pass()
end
end
end
if conf["skipped_regex"] then
for _, regex in ipairs(conf["skipped_regex"]) do
if (string.match(ngx.var.host..ngx.var.uri..hlp.uri_args_string(), regex)
or string.match(ngx.var.uri..hlp.uri_args_string(), regex))
and not is_protected() then
return hlp.pass()
end
end
end
-- Unprotected urls
-- i.e. http://mydomain.org/no_protection+headers/
if conf["unprotected_urls"] then
for _, url in ipairs(conf["unprotected_urls"]) do
if (hlp.string.starts(ngx.var.host..ngx.var.uri..hlp.uri_args_string(), url)
or hlp.string.starts(ngx.var.uri..hlp.uri_args_string(), url))
and not is_protected() then
if hlp.is_logged_in() then
hlp.set_headers()
end
return hlp.pass()
end
end
end
if conf["unprotected_regex"] then
for _, regex in ipairs(conf["unprotected_regex"]) do
if (string.match(ngx.var.host..ngx.var.uri..hlp.uri_args_string(), regex)
or string.match(ngx.var.uri..hlp.uri_args_string(), regex))
and not is_protected() then
if hlp.is_logged_in() then
hlp.set_headers()
end
return hlp.pass()
end
end
end
-- Cookie validation
--
-- 4. IDENTIFY THE RELEVANT PERMISSION
--
-- In particular, the conf is filled with permissions such as:
--
-- "foobar": {
-- "auth_header": false,
-- "label": "Foobar permission",
-- "public": false,
-- "show_tile": true,
-- "uris": [
-- "yolo.test/foobar",
-- "re:^[^/]*/%.well%-known/foobar/.*$",
-- ],
-- "users": ["alice", "bob"]
-- }
--
--
-- And we find the best matching permission by trying to match the request uri
-- against all the uris rules/regexes from the conf and keep the longest matching one.
--
if hlp.is_logged_in() then
if string.match(ngx.var.uri, "^/ynhpanel.js$") then
hlp.serve("/yunohost/sso/assets/js/ynhpanel.js")
permission = nil
longest_url_match = ""
ngx_full_url = ngx.var.host..ngx.var.uri
for permission_name, permission_infos in pairs(conf["permissions"]) do
if next(permission_infos['uris']) ~= nil then
for _, url in pairs(permission_infos['uris']) do
if string.starts(url, "re:") then
url = string.sub(url, 4, string.len(url))
end
-- We want to match the beginning of the url
if not string.starts(url, "^") then
url = "^"..url
end
local m = hlp.match(ngx_full_url, url)
if m ~= nil and string.len(m) > string.len(longest_url_match) then
longest_url_match = m
permission = permission_infos
permission["id"] = permission_name
end
end
end
if string.match(ngx.var.uri, "^/ynhpanel.css$") then
hlp.serve("/yunohost/sso/assets/css/ynhpanel.css")
end
---
--- 5. CHECK CLIENT-PROVIDED AUTH HEADER (should almost never happen?)
---
if permission ~= nil then
perm_user_remote_user_var_in_nginx_conf = permission["use_remote_user_var_in_nginx_conf"]
if perm_user_remote_user_var_in_nginx_conf == nil or perm_user_remote_user_var_in_nginx_conf == true then
is_logged_in_with_basic_auth = hlp.validate_or_clear_basic_auth_header_provided_by_client()
-- NB: is_logged_in_with_basic_auth can be false, true or nil
if is_logged_in_with_basic_auth == false then
return ngx.exit(ngx.HTTP_UNAUTHORIZED)
elseif is_logged_in_with_basic_auth == true then
is_logged_in = true
end
end
if string.match(ngx.var.uri, "^/ynhpanel.json$") then
hlp.serve("/yunohost/sso/assets/js/ynhpanel.json")
end
--
--
-- 6. APPLY PERMISSION
--
--
-- 1st case : client has access
if hlp.has_access(permission) then
if is_logged_in then
-- If the user is logged in, refresh_cache
hlp.refresh_user_cache()
-- If Basic Authorization header are enable for this permission,
-- add it to the response
if permission["auth_header"] then
hlp.set_headers()
else
hlp.clear_headers()
end
else
hlp.clear_headers()
end
if not hlp.has_access() then
return hlp.redirect(conf.portal_url)
end
hlp.set_headers()
return hlp.pass()
end
-- 2nd case : no access ... redirect to portal / login form
else
-- Login with HTTP Auth if credentials are brought
--
if is_logged_in then
return hlp.redirect(conf.portal_url)
else
-- Only display this if HTTPS. For HTTP, we can't know if the user really is
-- logged in or not, because the cookie is available only in HTTP...
if ngx.var.scheme == "https" then
hlp.flash("info", hlp.t("please_login"))
end
local auth_header = ngx.req.get_headers()["Authorization"]
if auth_header then
_, _, b64_cred = string.find(auth_header, "^Basic%s+(.+)$")
_, _, user, password = string.find(ngx.decode_base64(b64_cred), "^(.+):(.+)$")
user = hlp.authenticate(user, password)
if user then
hlp.set_headers(user)
return hlp.pass()
local back_url = "https://" .. ngx.var.host .. ngx.var.uri .. hlp.uri_args_string()
return hlp.redirect(conf.portal_url.."?r="..ngx.encode_base64(back_url))
end
end
-- Else redirect to portal
--
hlp.flash("info", t("please_login"))
local back_url = ngx.var.scheme .. "://" .. ngx.var.host .. ngx.var.uri .. hlp.uri_args_string()
return hlp.redirect(conf.portal_url.."?r="..ngx.encode_base64(back_url))

View file

@ -1,30 +0,0 @@
{
"portal_scheme": "https",
"portal_domain": "mydomain.com",
"portal_path": "/ssowat/",
"domains": [
"mydomain.com",
"myotherdomain.com"
],
"skipped_urls": [
"mydomain.com/megusta",
"myotherdomain.com/somuchwin"
],
"unprotected_urls": ["mydomain.com/yunoprotect"],
"additional_headers": {
"Auth-User": "uid",
"Remote-User": "uid",
"Email": "mail",
"Name": "cn"
},
"users": {
"myuser": {
"mydomain.com/myapp": "My App",
"mydomain.com/myapp2": "My second App"
},
"myuser2": {
"myotherdomain.com/myapp": "My other domain App",
"mydomain.com/myapp2": "My second App"
}
}
}

69
conf.json.example Normal file
View file

@ -0,0 +1,69 @@
{
"additional_headers": {
"Auth-User": "uid",
"Email": "mail",
"Name": "cn",
"Remote-User": "uid"
},
"domains": [
"example.tld",
"example.org"
],
"permissions": {
"core_skipped": {
"auth_header": false,
"label": "Core permissions - skipped",
"public": true,
"show_tile": false,
"uris": [
"example.tld/yunohost/admin",
"example.tld/yunohost/api",
"re:^[^/]*/%.well%-known/ynh%-diagnosis/.*$",
"re:^[^/]*/%.well%-known/acme%-challenge/.*$",
"re:^[^/]*/%.well%-known/autoconfig/mail/config%-v1%.1%.xml.*$"
],
"users": []
},
"myapp.admin": {
"auth_header": true,
"label": "MyApp (admin)",
"public": false,
"show_tile": false,
"uris": [
"example.tld/myapp/admin"
],
"users": [
"JaneDoe"
]
},
"myapp.api": {
"auth_header": false,
"label": "MyApp (api)",
"public": true,
"show_tile": false,
"uris": [
"re:domain%.tld/%.well%-known/.*"
],
"users": []
},
"myapp.main": {
"auth_header": true,
"label": "MyApp",
"public": true,
"show_tile": true,
"uris": [
"example.tld/myapp"
],
"users": [
"JaneDoe",
"JohnDoe"
]
}
},
"portal_domain": "example.tld",
"portal_path": "/yunohost/sso/",
"redirected_regex": {
"example.tld/yunohost[\\/]?$": "https://example.tld/yunohost/sso/"
},
"redirected_urls": {}
}

View file

@ -4,35 +4,77 @@
-- This file loads the configuration from config files or default values.
--
module('config', package.seeall)
function get_config ()
local config_attributes = nil
local config_persistent_attributes = nil
-- Load the configuration file
local conf = {}
function compare_attributes(file_attributes1, file_attributes2)
if file_attributes1 == nil and file_attributes2 == nil then
return true
elseif file_attributes1 == nil and file_attributes2 ~= nil or file_attributes1 ~= nil and file_attributes2 == nil then
return false
end
return file_attributes1["modification"] == file_attributes2["modification"] and file_attributes1["size"] == file_attributes2["size"]
end
function update_language()
-- Set the prefered language from the `Accept-Language` header
conf.lang = ngx.req.get_headers()["Accept-Language"]
if conf.lang then
conf.lang = string.sub(conf.lang, 1, 2)
end
end
function get_config()
-- Get config files attributes (timestamp modification and size)
local new_config_attributes = lfs.attributes(conf_path, {"modification", "size"})
local new_config_persistent_attributes = lfs.attributes(conf_path..".persistent", {"modification", "size"})
if compare_attributes(new_config_attributes, config_attributes) and compare_attributes(new_config_persistent_attributes, config_persistent_attributes) then
update_language()
return conf
-- If the file is being written, its size may be 0 and reloading fails, return the last valid config
elseif new_config_attributes == nil or new_config_attributes["size"] == 0 then
update_language()
return conf
end
-- If the timestamp of the modification or the size is different, reload the configuration.
config_attributes = new_config_attributes
config_persistent_attributes = new_config_persistent_attributes
local conf_file = assert(io.open(conf_path, "r"), "Configuration file is missing")
local conf = json.decode(conf_file:read("*all"))
conf = json.decode(conf_file:read("*all"))
conf_file:close()
-- Load additional rules from the `.persistent` configuration file.
-- The `.persistent` file contains rules that will overwrite previous rules.
-- It typically enables you to set custom rules.
local persistent_conf_file = io.open(conf_path..".persistent", "r")
if persistent_conf_file ~= nil then
for k, v in pairs(json.decode(persistent_conf_file:read("*all"))) do
perm_conf = json.decode(persistent_conf_file:read("*all"))
persistent_conf_file:close()
for k, v in pairs(perm_conf) do
-- If the configuration key already exists and is a table, merge it
if conf[k] and type(v) == "table" then
for subk, subv in pairs(v) do
if type(subk) == "number" then
table.insert(conf[k], subv)
else
conf[k][subk] = subv
end
end
-- If the configuration key already exists and is a table, merge it
if conf[k] and type(v) == "table" then
for subk, subv in pairs(v) do
if type(subk) == "number" then
table.insert(conf[k], subv)
else
conf[k][subk] = subv
end
end
-- Else just take the persistent rule's value
else
conf[k] = v
end
conf[k] = v
end
end
end
@ -40,7 +82,7 @@ function get_config ()
-- Default configuration values
default_conf = {
portal_scheme = "https",
portal_path = "/ssowat",
portal_path = "/ssowat/",
local_portal_domain = "yunohost.local",
domains = { conf["portal_domain"], "yunohost.local" },
session_timeout = 60 * 60 * 24, -- one day
@ -49,9 +91,14 @@ function get_config ()
ldap_host = "localhost",
ldap_group = "ou=users,dc=yunohost,dc=org",
ldap_identifier = "uid",
ldap_enforce_crypt = true,
skipped_urls = {},
ldap_attributes = {"uid", "givenname", "sn", "cn", "homedirectory", "mail", "maildrop"},
allow_mail_authentication = true,
default_language = "en"
default_language = "en",
theme = "default",
logging = "fatal", -- Only log fatal messages by default (so apriori nothing)
permissions = {}
}
@ -77,15 +124,9 @@ function get_config ()
-- Always skip the portal to avoid redirection looping.
table.insert(conf["skipped_urls"], conf["portal_domain"]..conf["portal_path"])
table.insert(conf["permissions"]["core_skipped"]["uris"], conf["portal_domain"]..conf["portal_path"])
-- Set the prefered language from the `Accept-Language` header
conf.lang = ngx.req.get_headers()["Accept-Language"]
if conf.lang then
conf.lang = string.sub(lang, 1, 2)
end
update_language()
return conf
end

867
debian/changelog vendored
View file

@ -1,4 +1,869 @@
ssowat (2.1.1) testing; urgency=low
ssowat (11.2.1.1) stable; urgency=low
- [i18n] Translations updated for Catalan, French, German, Kabyle, Spanish, Swedish
Thanks to all contributors <3 ! (Alexandre Aubin, Bram, ButterflyOfFire, Carlos Solís, Christian Wehrli, Gregor, xaloc33)
-- OniriCorpe <oniricorpe@yunohost.org> Mon, 20 May 2024 00:26:37 +0200
ssowat (11.2) stable; urgency=low
- i18n: Translations updated for Chinese (Simplified), German, Indonesian, Japanese
Thanks to all contributors <3 ! (Christian Wehrli, motcha, Neko Nekowazarashi, Poesty Li)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 17 Jul 2023 16:34:25 +0200
ssowat (11.1.4) stable; urgency=low
- Releasing as stable
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 01 Feb 2023 20:28:06 +0100
ssowat (11.1.3) testing; urgency=low
- debian: have a proper postinst script that reload (not restart, omg) nginx... (beed8a5)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 30 Jan 2023 16:33:17 +0100
ssowat (11.1.2.5) testing; urgency=low
- Fix auth_header parsing when password contains semicolon ([#204](https://github.com/yunohost/ssowat/pull/204))
Thanks to all contributors <3 ! (ewilly)
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 19 Jan 2023 17:21:40 +0100
ssowat (11.1.2.4) testing; urgency=low
- security: rework previous fixes to use the new use_remote_user_var_in_nginx_conf in ssowat conf introduced in yunohost 11.1.2 (8faa805)
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 10 Jan 2023 00:03:31 +0100
ssowat (11.1.2.3) testing; urgency=low
- Stupid typo (4e92965)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 09 Jan 2023 20:51:17 +0100
ssowat (11.1.2.2) testing; urgency=low
- Iterate on previous security fixes: ignore Auth header on PROPFIND routes, and don't drop Auth header which are not Basic auth (92f1e05)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 09 Jan 2023 19:47:04 +0100
ssowat (11.1.2.1) testing; urgency=low
- security: clear custom ssowat headers when user is not logged in ([#209](https://github.com/yunohost/ssowat/pull/209))
- security: Also check client-provided auth headers to prevent impersonation (7a2d0ed)
Thanks to all contributors <3 ! (selfhoster1312)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 09 Jan 2023 18:32:46 +0100
ssowat (11.1.2) testing; urgency=low
- [fix] helpers.lua: openssl v3 support for hmac_sha512 ([#208](https://github.com/yunohost/ssowat/pull/208))
- [fix] password check, path to yunohost lib changed in 11.x (71f68b0)
- [i18n] Translations updated for Basque, German, Polish, Slovak, Spanish, Ukrainian
Thanks to all contributors <3 ! (Christian Wehrli, Cyril Romain, Grzegorz Cichocki, Jose Riha, quiwy, Tymofii-Lytvynenko, xabirequejo)
-- Alexandre Aubin <alex.aubin@mailoo.org> Fri, 06 Jan 2023 00:40:30 +0100
ssowat (11.1.0) testing; urgency=low
- User info self-edit would not update displayName (which is supposed to be the same as cn) resulting in inconsistencies (e2996f1)
- [i18n] Translations updated for Basque, Galician, Slovak, Turkish
Thanks to all contributors <3 ! (José M, Jose Riha, Sedat Albayrak, xabirequejo)
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 25 Oct 2022 22:47:20 +0200
ssowat (11.0.9) stable; urgency=low
- Bump version for stable release
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 07 Aug 2022 23:30:35 +0200
ssowat (11.0.8) testing; urgency=low
- [i18n] Translations updated for Polish, Slovak, Telugu
Thanks to all contributors <3 ! (Alice Kile, Jose Riha, Radek Raczkowski)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 07 Aug 2022 12:19:38 +0200
ssowat (11.0.7) testing; urgency=low
- [i18n] Translations updated for Spanish
Thanks to all contributors <3 ! (JimScope, Alexandre Aubin)
-- tituspijean <titus+yunohost@pijean.ovh> Tue, 17 May 2022 23:59:32 +0200
ssowat (11.0.6) testing; urgency=low
- [i18n] Translations updated for Finnish, French, Galician, German, Kabyle, Turkish
Thanks to all contributors <3 ! (3ole, Alexandre Aubin, Eylul Dogruel, José M, Kayou, Mico Hauataluoma, Selyan Slimane Amiri, Tagada)
-- Kay0u <pierre@kayou.io> Tue, 29 Mar 2022 14:26:27 +0200
ssowat (11.0.2) testing; urgency=low
- [mod] debian: Misc updates in control file for bullseye (136e4f2)
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 19 Jan 2022 21:24:38 +0100
ssowat (4.4.0) testing; urgency=low
- Bump version for 4.4.0
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 19 Jan 2022 21:20:37 +0100
ssowat (4.3.3.1) stable; urgency=low
- [i18n] Translations updated for Dutch, Finnish
Thanks to all contributors <3 ! (Boudewijn, Mico Hauataluoma)
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 19 Jan 2022 21:20:37 +0100
ssowat (4.3.3) stable; urgency=low
- [i18n] Translations updated for Dutch, German
Thanks to all contributors <3 ! (Boudewijn, Valentin von Guttenberg)
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 29 Dec 2021 01:11:41 +0100
ssowat (4.3.2.2) stable; urgency=low
- [fix] Another fix for the redirect url check (981960f)
Thanks to all contributors <3 ! (Kay0u)
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 18 Nov 2021 01:09:53 +0100
ssowat (4.3.2.1) stable; urgency=low
- [fix] unauthorized redirect url check not matching non-alphanumeric chars in domain name ([#197](https://github.com/YunoHost/ssowat/pull/197))
Thanks to all contributors <3 ! (Kayou)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 15 Nov 2021 19:54:43 +0100
ssowat (4.3.2) stable; urgency=low
- Bump version for stable release
-- Alexandre Aubin <alex.aubin@mailoo.org> Fri, 05 Nov 2021 02:39:22 +0100
ssowat (4.3.1.1) testing; urgency=low
- [i18n] Translations updated for Basque, Russian, Slovenian, Spanish
Thanks to all contributors <3 ! (Jurij Podgoršek, Page Asgardius, punkrockgirl, Semen Turchikhin)
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 03 Nov 2021 18:46:10 +0100
ssowat (4.3.1) testing; urgency=low
- [i18n] Translations updated for Indonesian
Thanks to all contributors <3 ! (liimee)
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 29 Sep 2021 22:39:28 +0200
ssowat (4.3.0) testing; urgency=low
- [enh] Improve logging when failing to authenticate ssowat cookies (b28788d)
- [fix] python -> python3 in password check (07378df)
- [enh] Add new theme "Clouds" ([#139](https://github.com/YunoHost/ssowat/pull/139))
- [fix] ynh_portal.css: fix font urls ([#193](https://github.com/YunoHost/ssowat/pull/193))
- [fix] Prevent attacker from crafting redirections to external domains ([#193](https://github.com/YunoHost/ssowat/pull/193))
- [i18n] Translations updated for Indonesian, Persian, Portuguese, Ukrainian
Thanks to all contributors <3 ! (Cyril Romain, Éric Gaspar, Geoff Montel, liimee, ljf, Parviz Homayun, Tymofii-Lytvynenko)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 19 Sep 2021 21:16:49 +0200
ssowat (4.2.4) stable; urgency=low
- [fix] Misc issues regarding dash filename, mime types, ynh_userinfo.json ([#189](https://github.com/yunohost/ssowat/pull/189))
- [fix] Broken Yunohost tile/overlay on iPhone ([#186](https://github.com/yunohost/ssowat/pull/186))
- [enh] Save overlay positions accross navigation ([#187](https://github.com/yunohost/ssowat/pull/187))
- [enh] security: Improve randomness of tmp filename ([#190](https://github.com/yunohost/ssowat/pull/190))
- [i18n] Translations updated for Esperanto, Finnish, Galician, German, Italian
Thanks to all contributors <3 ! (amirale qt, Christian Wehrli, Flavio Cristoforetti, José M, ljf, Luca, Mico Hauataluoma)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 08 Aug 2021 21:58:14 +0200
ssowat (4.2.3) stable; urgency=low
- [i18n] Translations updated for Galician
Thanks to all contributors <3 ! (José M)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 24 May 2021 17:39:12 +0200
ssowat (4.2.2) stable; urgency=low
- [i18n] Translations updated for Czech, Dutch, French, German, Occitan, Russian
Thanks to all contributors <3 ! (Christian Wehrli, Mathieu Massaviol, Miloš Kroulík, panomaki, ppr, Quentí, Tymur Valiiev)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sat, 08 May 2021 15:13:04 +0200
ssowat (4.2.1) testing; urgency=low
- Remove SSOwAuthRedirect ([#182](https://github.com/yunohost/ssowat/pull/182))
- Avoid a syscall for cookies ([#183](https://github.com/yunohost/ssowat/pull/183))
Thanks to all contributors <3 ! (Kay0u)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sat, 17 Apr 2021 03:44:14 +0200
ssowat (4.2.0) testing; urgency=low
- Bump version number for testing release
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 25 Mar 2021 01:00:00 +0100
ssowat (4.1.3) stable; urgency=low
- [fix] Regression where users are not redirected to the ynh portal ([#179](https://github.com/YunoHost/ssowat/pull/179))
Thanks to all contributors <3 ! (Kayou)
-- Kay0u <pierre@kayou.io> Wed, 20 Jan 2021 01:54:06 +0100
ssowat (4.1.2) stable; urgency=low
- [doc] Update the sso doc with the new permissions system ([#178](https://github.com/yunohost/ssowat/pull/178))
- Stable release
Thanks to all contributors <3 ! (Kay0u)
-- Alexandre Aubin <alex.aubin@mailoo.org> Fri, 08 Jan 2021 03:16:11 +0100
ssowat (4.1.1.1) testing; urgency=low
- [fix] Change SSOwat auth header to "Proxy-Authorization" to prevent conflict with the app auth header
Thanks to all contributors <3 ! (Kay0u)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 27 Dec 2020 14:06:30 +0100
ssowat (4.1.1) testing; urgency=low
- [fix] Skip Autorization Header that are not Basic ([#175](https://github.com/yunohost/ssowat/pull/175))
- [doc] Update example config (fec1e4c)
- [fix] Don't set header if auth_header is false ([#176](https://github.com/yunohost/ssowat/pull/176))
Thanks to all contributors <3 ! (Kay0u, Titoko)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sat, 19 Dec 2020 01:53:55 +0100
ssowat (4.1.0) testing; urgency=low
- [enh] Extends permission feature (SSOwat#161)
- Update translations for Czech, French (SSOwat#173, SSOwat#174)
Thanks to all contributors <3 ! (ericgaspar, miloskroulik, Aleks, Josué, Kay0u, miloskroulik)
-- Kay0u <pierre@kayou.io> Thu, 03 Dec 2020 16:19:03 +0100
ssowat (4.0.5) stable; urgency=low
- Fix a refression from 3.7 which removed the logging message used by fail2ban to identify failed logging attempts
-- Alexandre Aubin <alex.aubin@mailoo.org> Sat, 31 Oct 2020 13:57:02 +0100
ssowat (4.0.4.1) stable; urgency=low
- Fix a refression from last release, language not properly updated in conf
Thanks to all contributors <3 ! (Kay0u, ljf)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 07 Sep 2020 18:58:21 +0200
ssowat (4.0.4) stable; urgency=low
- Reload the conf only if files has been modified (#170)
Thanks to all contributors <3 ! (Kay0u)
-- Alexandre Aubin <alex.aubin@mailoo.org> Fri, 04 Sep 2020 14:43:34 +0200
ssowat (4.0.3) stable; urgency=low
- Bump version number for stable release
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 29 Jul 2020 17:00:00 +0200
ssowat (4.0.2~beta) testing; urgency=low
- Rebase on stretch-unstable and bump vrsion number for beta
-- Alexandre Aubin <alex.aubin@mailoo.org> Fri, 19 Jun 2020 15:29:05 +0200
ssowat (4.0.1~alpha) testing; urgency=low
- Bump version number for buster release
-- Alexandre Aubin <alex.aubin@mailoo.org> Fri, 05 Jun 2020 17:26:35 +0200
ssowat (3.8.0.3) stable; urgency=low
- [enh] Allow the user's password manager to automatically enter the password/username/new-password (1dae6e8)
- [fix] Closing the files when we're done reading them ([#160](https://github.com/YunoHost/SSOwat/pull/160))
- [fix] Clear cookies more properly ([#163](https://github.com/YunoHost/SSOwat/pull/163))
Thanks to all contributors <3 ! (Bram, E. Counasse, Kay0u, SilverViper)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 27 Jul 2020 17:50:44 +0200
ssowat (3.8.0.2) stable; urgency=low
- [mod] Update author/maintainer information (6a14e78)
- [enh] README reworked (#165) (70c81c6)
- [fix] theme loading (#167, #168)
Thanks to all contributors <3 ! (Allan Nordhøy, Kay0u)
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 18 Jun 2020 16:10:00 +0200
ssowat (3.8.0.1) stable; urgency=low
- [i18n] Improved translations for Chinese (Simplified), Dutch, Greek, Nepali, Polish, Spanish
Thanks to all contributors (amirale qt) <3 !
-- Kay0u <pierre@kayou.io> Wed, 20 May 2020 19:04:19 +0000
ssowat (3.8.0) testing; urgency=low
- Avoid unnecessarily reloading the config file (#159)
Thanks to all contributors <3 ! (Kay0u)
-- Kay0u <pierre@kayou.io> Thu, 09 Apr 2020 20:24:15 +0000
ssowat (3.7.1.1) stable; urgency=low
- [fix] Fix an error 500 when accessing SSO through http
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 15 Apr 2020 01:45:00 +0000
ssowat (3.7.1) stable; urgency=low
- [fix] Don't set auth headers if user don't have access (#158)
Thanks to all contributors <3 ! (Josue)
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 9 Apr 2020 15:23:00 +0000
ssowat (3.7.0.3) stable; urgency=low
Bumping version number for stable release
-- Kay0u <pierre@kayou.io> Thu, 26 Mar 2020 22:00:21 +0000
ssowat (3.7.0.2) testing; urgency=low
- [fix] Match undefined function (SSOwat#151)
- [fix] Cohabitation between the old and the new permission system (SSOwat#156)
- [i18n] Improved translations for French, Basque, Hindi, Turkish, Bengali (Bangladesh), Arabic, Hungarian, Polish, Catalan, Dutch, Portuguese, Italian, German, Swedish, Russian, Esperanto, Occitan, Nepali
Thanks to all contributors (amirale qt, Quenti, Filip Bengtsson, elie gavoty, xaloc33, ButterflyOfFire, Kay0u) <3 !
-- Kay0u <pierre@kayou.io> Sun, 15 Mar 2020 15:48:58 +0000
ssowat (3.7.0.1) testing; urgency=low
- [mod] Check skipped_urls before protected_urls (#149)
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 03 Dec 2019 12:07:00 +0000
ssowat (3.7.0) testing; urgency=low
- [enh] Rework handling of protected vs. user-specific rules for permission mechanism (SSOwat#147)
- [enh] Messages improvements, string cleaning, language rework... (SSOwat#143)
- [i18n] Improved translations for French, Esperanto, Germain, Norwegian Bokmål
- [enh] Add debug logs to SSOwat (SSOwat#145)
- [fix] Misc micro bugfixes or improvements (SSOwat#140, SSOwat#141)
- [enh] READMEs improvements (SSOwat/ee67b6f)
Thanks to all contributors <3 ! (accross all repo: Yunohost, Moulinette, SSOwat, Yunohost-admin) : advocatux, Aksel K., Aleks, Allan N., amirale qt, Armin P., Bram, ButterflyOfFire, Carles S. A., chema o. r., decentral1se, Emmanuel V., Etienne M., Filip B., Geoff M., htsr, Jibec, Josué, Julien J., Kayou, liberodark, ljf, lucaskev, Lukas D., madtibo, Martin D., Mélanie C., nr 458 h, pitfd, ppr, Quentí, sidddy, troll, tufek yamero, xaloc33, yalh76
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 31 Oct 2019 18:25:00 +0000
ssowat (3.6.4) stable; urgency=low
Bumping version number for stable release
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 04 Jul 2019 23:30:00 +0000
ssowat (3.6.1) testing; urgency=low
- [fix] Prevent duplicate portal button when app uses iframes (#137)
Thanks to all contributors <3 ! (opi)
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 04 Jun 2019 13:20:00 +0000
ssowat (3.6.0) testing; urgency=low
- [fix] Allow access to portal for other domains than main domain (#136)
- [i18n] Improve translation for Spanish
Thanks to all contributors (Josue, advocatux) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 22 May 2019 19:50:00 +0000
ssowat (3.5.2.1) stable; urgency=low
- [fix] Small issue where portal overlay caused a blink during app page loading
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 10 Apr 2019 19:27:00 +0000
ssowat (3.5.2) stable; urgency=low
- Release as stable !
- [fix] Avoid name conflict with app classes/effects
- [fix] Avoid having to click two times on the tile to show the portal
- [i18n] Improve translations for Arabic, Italian
Thanks to all contributors (Aleks, BoF, silkevicious) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 10 Apr 2019 02:07:00 +0000
ssowat (3.5.1) testing; urgency=low
- [enh] Rework portal to be able to have themes ! (#122)
- [i18n] Improve translations for Breton, Chinese, Greek, Hungarian, Swedish, French, Esperanto, Catalan, Occitan
Thanks to all contributors (Aleks, Jibec, Lukas F., Mélanie C., Quentí, chateau, ppr, Xaloc) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 03 Apr 2019 02:38:00 +0000
ssowat (3.5.0) testing; urgency=low
- Fix string helper if string is empty (#115)
- Add missing dependencies to README (53a738e)
- [i18n] Improve russian translations
Contributors: Josué Tille, Lukas Fülling, Алексей
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 13 Mar 2019 17:00:00 +0000
ssowat (3.4.2) stable; urgency=low
* Bumping version number to 3.4.2 for stable release
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 29 Jan 2019 16:45:00 +0000
ssowat (3.4.1) testing; urgency=low
* [fix] SSOwat crash after password change (#114)
Thanks to all the contributors (Josue) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 20 Dec 2018 22:27:00 +0000
ssowat (3.4.0) testing; urgency=low
* [enh] Add PCRE regex support (#102)
Thanks to all the contributors (ljf) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 20 Dec 2018 22:27:00 +0000
ssowat (3.3.2) stable; urgency=low
* [fix] CVE-2018-11347 http header injection (thanks to Bram for the fix !)
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 10 Dec 2018 21:33:00 +0000
ssowat (3.3.1) stable; urgency=low
* [fix] Use SameSite=Lax in cookies (follow-up of #103)
* [i18n] Improve French translations
Thanks to all contributors (Aleks, Jibec) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Fri, 23 Nov 2018 15:11:00 +0000
ssowat (3.3.0) testing; urgency=low
* Misc fixes / improvements (#91, #92)
* [enh] Improve cookie security (#103)
* [enh] Redirect after logout if `r` URI argument exists (#109)
* [enh] Add advices about password choices + password check (#104)
* [i18n] Improve Catalan, French, Italian, Polish translations
Thanks to all contributors (tYYGH, frju365, ljf, tituspijean, Aleks, xaloc33, goofy-mdn, silkevicious, Krzysztof Dmowski) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 08 Nov 2018 18:08:00 +0000
ssowat (3.2.0) stable; urgency=low
* Replace Hige with Lustache (#100)
* Fix overlay on mobile (#106)
* Prevent mobile browsers to refresh the page when moving the overlay (#107)
* Update Catalan, Turkish and Dutch translations
Thanks to all contributors (nicofrand, Xaloc, BoF, Eynix) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 11 Sep 2018 17:23:00 +0000
ssowat (3.1.0) stable; urgency=low
Bumping version number for 3.1
-- Alexandre Aubin <alex.aubin@mailoo.org> Wed, 15 Aug 2018 21:56:00 +0000
ssowat (3.0.0) stable; urgency=low
Merging with jessie's branches
Releasing as stable
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 17 Jun 2018 03:57:00 +0000
ssowat (3.0.0~beta1) testing; urgency=low
Beta release for Stretch
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 03 May 2018 03:04:45 +0000
ssowat (2.7.14) stable; urgency=low
* Make tile dragging work on mobile devices
* Improve Occitan and Portuguese translations
* Releasing as stable
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 17 Jun 2018 01:53:11 +0000
ssowat (2.7.12) stable; urgency=low
* Bumping version number for stable release
-- Alexandre Aubin <alex.aubin@mailoo.org> Sun, 06 May 2018 16:53:24 +0000
ssowat (2.7.11) testing; urgency=low
* [i18n] Improve translations for Arabic, Dutch, Spanish
* [a11y] Use role=button, to have those links handled as buttons by screen readers (#97)
Thanks to all contributors (irina11y, ButterflyOfFire, Matthieu, bjarkan) <3 !
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 01 May 2018 23:29:10 +0000
ssowat (2.7.7) stable; urgency=low
(Bumping version for stable release)
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 18 Jan 2018 17:37:08 -0500
ssowat (2.7.6) testing; urgency=low
* [fix] Link for support in SSOwat portal
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 16 Jan 2018 17:09:45 -0500
ssowat (2.7.5) stable; urgency=low
(Bumping version for stable release)
-- Alexandre Aubin <alex.aubin@mailoo.org> Sat, 02 Dec 2017 12:22:51 -0500
ssowat (2.7.4) testing; urgency=low
* [fix] Add whois as dependency (#95)
* [i18n] Improve french translation
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 28 Nov 2017 18:46:42 -0500
ssowat (2.7.3) testing; urgency=low
* [fix] Fix default conf and doc (portal_path must end with /) (#91)
* [fix] Fix the damn infinite redirection loop (#93)
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 12 Oct 2017 17:02:06 -0400
ssowat (2.7.2) stable; urgency=low
Releasing as stable
-- Alexandre Aubin <alex.aubin@mailoo.org> Tue, 22 Aug 2017 21:17:33 -0400
ssowat (2.7.1) testing; urgency=low
[ Security: move to sha-512 for password storing + auto hash upgrade ]
* [enh] encode password using sha512 on user modification of password (Laurent Peuch)
* [enh] auto rehash in sha-512 users passwords on login (Laurent Peuch)
* [fix] prevent shell injections (Laurent Peuch)
* [fix] be paranoid and prevent shell injections here also while input is supposed to be safe (Laurent Peuch)
* [fix] attempt to fix https://github.com/YunoHost/SSOwat/pull/86#issuecomment-323417926 (Laurent Peuch)
[ Translations (new translation and bugfix) ]
* Fixed support for incomplete translations (fallback to default language for missing strings) (Côme Chillie)
* [i18n] Translated using Weblate (Russian) (Evgeniy Ozhiganov)
* [i18n] Translated using Weblate (Esperanto) (MCMic)
Thanks to all contributors (Bram, Evgeniy Ozhiganov, Côme Chilli, MCMice) ! <3
-- Laurent Peuch <cortex@worlddomination.be> Sat, 19 Aug 2017 21:51:47 +0000
ssowat (2.7.0) testing; urgency=low
* [mod] comment didn't matched reality
* [i18n] Started russian translation (#85)
Thanks to all contributors (Bram, Ozhiganov) ! <3
[ Alexandre Aubin ]
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 07 Aug 2017 12:58:39 -0400
ssowat (2.6.8) testing; urgency=low
[ Laurent Peuch ]
* [enh] uses caching for hash to avoid heavy recalculation and process spawning
-- opi <opi@zeropi.net> Tue, 23 May 2017 21:45:42 +0200
ssowat (2.6.7) stable; urgency=low
[ Laurent Peuch ]
* [fix] uses a cryptographically secure source of randomness
* [fix] Use hmac_sha512 instead of md5 for cookie hashing. Don't store the key in token anymore (#80)
* [fix] don't include ip in token
[ sidddy ]
* Quick fix for CDA security issue
[ opi ]
* [love] Add siddy to contributors file.
-- opi <opi@zeropi.net> Thu, 18 May 2017 09:14:02 +0200
ssowat (2.6.6) stable; urgency=low
[ Laurent Peuch ]
* [fix] check users ACL on http basic auth
[ JimboJoe ]
* [fix] Fix tile not displayed when app is installed on root (bug #285) (#71)
[ Alexandre Aubin ]
* Adding link to bugtracker
[ Fabian Gruber ]
* [i18n] Translated using Weblate (German)
[ Jeroen Keerl ]
* [i18n] Translated using Weblate (Dutch)
-- opi <opi@zeropi.net> Fri, 12 May 2017 22:50:20 +0200
ssowat (2.6.5) testing; urgency=low
* [fix] Fix tile not displayed when app is installed on root (bug #285) (#71)
* Update translations for German and Dutch
Thanks to all contributors and translators (JimboJoe, Fabian Gruber, Jeroen Keerl) !
-- Alexandre Aubin <alex.aubin@mailoo.org> Mon, 24 Apr 2017 13:01:23 -0400
ssowat (2.6.4) stable; urgency=low
* [fix] Remove help-link in portal as they don't link to nothing. Fix #68
-- opi <opi@zeropi.net> Tue, 14 Mar 2017 15:39:40 +0100
ssowat (2.6.3) testing; urgency=low
* [fix] Validate domain & url before redirection on login.
* [i18n] Translated using Weblate (French)
-- opi <opi@zeropi.net> Wed, 08 Mar 2017 11:13:42 +0100
ssowat (2.6.2) testing; urgency=low
[ opi ]
* [fix] Always redirect to portal when calling logout page.
* [fix] Escape dash in domain before matching.
* [fix] Use 'Expires' instead of 'Max-Age' for every cookie for consistency.
* [enh] Add 'Secure' flag in cookies.
* [fix] Delete cookies on logout.
* [fix] Use local variables for cookie's expired_time.
* [enh] Add Trollken to contributors list.
[ Julien Malik ]
* [fix] Refresh ldap info before loading page that requires it, fixes #633
[ JimboJoe ]
* Fix HTTP cookie caching
[ Trollken ]
* [i18n] Translated using Weblate (Portuguese)
-- opi <opi@zeropi.net> Thu, 02 Mar 2017 12:18:47 +0100
ssowat (2.6.1) stable; urgency=low
[ Alexander Chalikiopoulos ]
* relative path for edit.html
[ Juanu ]
* [i18n] Translated using Weblate (Spanish)
[ Jean-Baptiste ]
* [i18n] Translated using Weblate (French)
[ Laurent Peuch ]
* [enh] add empty file for hindie to enable it in weblate
[ Loïc Damien ]
* Add the autofocus attribute to the username field
[ Moul ]
* [enh] add empty file for esperanto to enable it on weblate
* [enh] readme: add translation badge status.
[ opi ]
* [enh][love] Create CONTRIBUTORS.md file. (#69)
[ Anmol ]
* [i18n] Translated using Weblate (Hindi)
-- opi <opi@zeropi.net> Thu, 02 Feb 2017 12:04:30 +0100
ssowat (2.6.0) stable; urgency=low
* [deb] Rename conf.json installed file to conf.json.example
-- Jérôme Lebleu <jerome@yunohost.org> Sun, 08 May 2016 01:24:12 +0200
ssowat (2.5.0) testing; urgency=low
[ Documentation ]
* [fix] Use example.com domain according to RFC 2606 and RFC 6761. Mydomain.com is a commercial registrar.
[ Translation ]
* [i18n] Update translations from Transifex belatedly
* [i18n] Sort json translation files by keys
* Translated using Weblate (Portuguese)
* Translated using Weblate (German)
[ Fixes ]
* adding credentials for non-anonymous bind
* [fix] match protected URIs against URL arguments
* [enh] Use consistent coding convention for function prototype.
Thanks to every contributors and translators (Dromer, Felix Bartels, Jérôme Lebleu
Maniack Crudelis, opi, P)
-- opi <opi@zeropi.net> Sat, 30 Apr 2016 13:59:47 +0200
ssowat (2.4.0) stable; urgency=low
Release 2.3.0 testing version as stable.
-- opi <opi@zeropi.net> Sat, 30 Apr 2016 13:52:22 +0200
ssowat (2.3.0) testing; urgency=low
[ bugfixes ]
* CSS fixes
* JS fixes
* Dependency fix
[ other ]
* Add AGPL license
-- kload <kload@kload.fr> Tue, 03 Nov 2015 14:12:39 +0000
ssowat (2.2.3) stable; urgency=low
[ kload ]
* [enh] Sort apps alphabeticaly + set app color regarding its name
[ Jérôme Lebleu ]
* [fix] Construct a proper emails array (fix #39)
-- Jérôme Lebleu <jerome.lebleu@mailoo.org> Wed, 01 Jul 2015 15:38:14 +0200
ssowat (2.2.2) stable; urgency=low
* [fix] Ensure that configuration is loaded properly when we need it
-- kload <kload@kload.fr> Tue, 02 Jun 2015 15:21:05 +0000
ssowat (2.2.1) stable; urgency=low
* [fix] Load libraries locally to avoid caching
* [fix] Do not declare cookies as global variables
* [fix] Finally caught this little nasty Cookie setter
* [fix] Get rid of Cookie cache
-- kload <kload@kload.fr> Thu, 21 May 2015 16:23:13 +0200
ssowat (2.2.0) stable; urgency=low
* Bumping version to 2.2.0
-- kload <kload@kload.fr> Fri, 08 May 2015 20:42:41 +0000
ssowat (2.1.5) testing; urgency=low
* [fix] Use 'cache' shared table to store CDA keys and avoid infinite redirections
-- kload <kload@kload.fr> Tue, 05 May 2015 11:26:32 +0200
ssowat (2.1.4) testing; urgency=low
[ Jérôme Lebleu ]
* [i18n] Update translations from Transifex
[ julienmalik ]
* [fix] escape minus character to avoid interpretation as range
[ kload ]
* [fix] Efficiently generate random strings
-- kload <kload@kload.fr> Thu, 30 Apr 2015 12:03:57 +0000
ssowat (2.1.3) testing; urgency=low
[ kload ]
* Bump version to 2.1.1 to bootstrap new build workflow
* [enh] Finish documenting the code
* [fix] Load modules as proper modules + typo
* merge
[ Jérôme Lebleu ]
* [enh] Consider new gTLDs in email regex using Lrexlib
* [fix] Allow special characters in email adresses (fix #33)
[ opi ]
* [fix] Prevent adding the same cookie again and again.
-- opi <opi@no-log.org> Wed, 18 Feb 2015 14:43:15 +0100
ssowat (2.1.2) testing; urgency=low
* [enh] Finish documenting the code
* [fix] Load modules as proper modules + typo
-- kload <kload@kload.fr> Sun, 15 Feb 2015 13:08:34 +0100
ssowat (2.1.1) unstable; urgency=low
* Bump version to 2.1.1 to bootstrap new build workflow

1
debian/compat vendored
View file

@ -1 +0,0 @@
8

14
debian/control vendored
View file

@ -1,14 +1,14 @@
Source: ssowat
Section: net
Priority: extra
Maintainer: Adrien Beudin <beudbeud@yunohost.org>
Build-Depends: debhelper (>=8.0.0)
Maintainer: YunoHost Contributors <contrib@yunohost.org>
Build-Depends: debhelper (>=8.0.0), debhelper-compat (= 13)
Standards-Version: 3.9.1
Package: ssowat
Architecture: all
Depends: yunohost-config-nginx, lua-ldap, lua-json
Homepage: http://www.yunohost.org
Description: SSOWAT
Websso for yunohost
Depends: nginx-extras (>=1.6.2), lua-ldap, lua-json, lua-rex-pcre, lua-filesystem, lua-socket, whois
Homepage: https://yunohost.org
Description: user portal with single sign-on designed for Yunohost
A minimalist user portal with single sign-on, designed to be
interfaced with Yunohost.

6
debian/install vendored
View file

@ -2,6 +2,8 @@ init.lua /usr/share/ssowat
access.lua /usr/share/ssowat
helpers.lua /usr/share/ssowat
config.lua /usr/share/ssowat
hige.lua /usr/share/ssowat
lustache.lua /usr/share/ssowat
log.lua /usr/share/ssowat
lustache /usr/share/ssowat
portal /usr/share/ssowat
conf.json /etc/ssowat
conf.json.example /etc/ssowat

33
debian/postinst vendored
View file

@ -1,5 +1,34 @@
#!/bin/bash
yunohost app ssowatconf > /dev/null 2>&1
service nginx restart > /dev/null 2>&1
set -e
do_configure() {
systemctl reload nginx || true
}
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
do_configure
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

File diff suppressed because it is too large Load diff

151
hige.lua
View file

@ -1,151 +0,0 @@
module('hige', package.seeall)
local tags = { open = '{{', close = '}}' }
local r = {}
local function merge_environment(...)
local numargs, out = select('#', ...), {}
for i = 1, numargs do
local t = select(i, ...)
if type(t) == 'table' then
for k, v in pairs(t) do
if (type(v) == 'function') then
out[k] = setfenv(v, setmetatable(out, {
__index = getmetatable(getfenv()).__index
}))
else
out[k] = v
end
end
end
end
return out
end
local function escape(str)
return str:gsub('[&"<>]', function(c)
if c == '&' then return '&amp;'
elseif c == '"' then return '\"'
elseif c == '\\' then return '\\\\'
elseif c == '<' then return '&lt;'
elseif c == '>' then return '&gt;'
else return c end
end)
end
local function find(name, context)
local value = context[name]
if value == nil then
return ''
elseif type(value) == 'function' then
return merge_environment(context, value)[name]()
else
return value
end
end
local operators = {
-- comments
['!'] = function(state, outer, name, context)
return state.tag_open .. '!' .. outer .. state.tag_close
end,
-- the triple hige is unescaped
['{'] = function(state, outer, name, context)
return find(name, context)
end,
-- render partial
['<'] = function(state, outer, name, context)
return r.partial(state, name, context)
end,
-- set new delimiters
['='] = function(state, outer, name, context)
-- FIXME!
error('setting new delimiters in the template is currently broken')
--[[
return name:gsub('^(.-)%s+(.-)$', function(open, close)
state.tag_open, state.tag_close = open, close
return ''
end)
]]
end,
}
function r.partial(state, name, context)
local target_mt = setmetatable(context, { __index = state.lookup_env })
local target_name = setfenv(loadstring('return ' .. name), target_mt)()
local target_type = type(target_name)
if target_type == 'string' then
return r.render(state, target_name, context)
elseif target_type == 'table' then
local target_template = setfenv(loadstring('return '..name..'_template'), target_mt)()
return r.render(state, target_template, merge_environment(target_name, context))
else
error('unknown partial type "' .. tostring(name) .. '"')
end
end
function r.tags(state, template, context)
local tag_path = state.tag_open..'([=!<{]?)(%s*([^#/]-)%s*)[=}]?%s*'..state.tag_close
return template:gsub(tag_path, function(op, outer, name)
if operators[op] ~= nil then
return tostring(operators[op](state, outer, name, context))
else
return escape(tostring((function()
if name ~= '.' then
return find(name, context)
else
return context
end
end)()))
end
end)
end
function r.section(state, template, context)
for section_name in template:gmatch(state.tag_open..'#%s*([^#/]-)%s*'..state.tag_close) do
local found, value = context[section_name] ~= nil, find(section_name, context)
local section_path = state.tag_open..'#'..section_name..state.tag_close..'%s*(.*)'..state.tag_open..'/'..section_name..state.tag_close..'%s*'
template = template:gsub(section_path, function(inner)
if found == false then return '' end
if value == true then
return r.render(state, inner, context)
elseif type(value) == 'table' then
local output = {}
for _, row in pairs(value) do
local new_context
if type(row) == 'table' then
new_context = merge_environment(context, row)
else
new_context = row
end
table.insert(output, (r.render(state, inner, new_context)))
end
return table.concat(output)
else
return ''
end
end)
end
return template
end
function r.render(state, template, context)
return r.tags(state, r.section(state, template, context), context)
end
function render(template, context, env)
if template:find(tags.open) == nil then return template end
local state = {
lookup_env = env or _G,
tag_open = tags.open,
tag_close = tags.close,
}
return r.render(state, template, context or {})
end

View file

@ -8,6 +8,10 @@
-- another.
--
-- Path of the configuration
conf_path = "/etc/ssowat/conf.json"
log_file = "/var/log/nginx/ssowat.log"
-- Remove prepending '@' & trailing 'init.lua'
script_path = string.sub(debug.getinfo(1).source, 2, -9)
@ -15,18 +19,40 @@ script_path = string.sub(debug.getinfo(1).source, 2, -9)
package.path = package.path .. ";"..script_path.."?.lua"
-- Load libraries
json = require "json"
lualdap = require "lualdap"
math = require "math"
hige = require "hige"
lfs = require "lfs"
local json = require "json"
local lualdap = require "lualdap"
local math = require "math"
local lfs = require "lfs"
local socket = require "socket"
local config = require "config"
lustache = require "lustache"
-- Make sure the log file exists and we can write in it
io.popen("touch "..log_file)
io.popen("chown www-data "..log_file)
io.popen("chmod u+w "..log_file)
-- Persistent shared table
flashs = {}
login = {}
logout = {}
i18n = {}
-- convert a string to a hex
function tohex(str)
return (str:gsub('.', function (c)
return string.format('%02X', string.byte(c))
end))
end
-- Efficient function to get a random string
function random_string()
local length = 64
local random_bytes = io.open("/dev/urandom"):read(length);
if string.len(random_bytes) ~= length then
error("Not enough random bytes read")
end
return tohex(random_bytes);
end
-- Load translations in the "i18n" above table
local locale_dir = script_path.."portal/locales/"
for file in lfs.dir(locale_dir) do
@ -37,8 +63,5 @@ for file in lfs.dir(locale_dir) do
end
end
-- Path of the configuration
conf_path = "/etc/ssowat/conf.json"
-- You should see that in your Nginx error logs by default
ngx.log(ngx.INFO, "SSOwat ready")

84
log.lua Normal file
View file

@ -0,0 +1,84 @@
--
-- log.lua
--
-- Copyright (c) 2016 rxi
--
-- This library is free software; you can redistribute it and/or modify it
-- under the terms of the MIT license. See LICENSE for details.
--
local log = { _version = "0.1.0" }
local conf = config.get_config()
log.usecolor = true
log.level = conf.logging
local modes = {
{ name = "trace", color = "\27[34m", },
{ name = "debug", color = "\27[36m", },
{ name = "info", color = "\27[32m", },
{ name = "warn", color = "\27[33m", },
{ name = "error", color = "\27[31m", },
{ name = "fatal", color = "\27[35m", },
}
local levels = {}
for i, v in ipairs(modes) do
levels[v.name] = i
end
local round = function(x, increment)
increment = increment or 1
x = x / increment
return (x > 0 and math.floor(x + .5) or math.ceil(x - .5)) * increment
end
local _tostring = tostring
local tostring = function(...)
local t = {}
for i = 1, select('#', ...) do
local x = select(i, ...)
if type(x) == "number" then
x = round(x, .01)
end
t[#t + 1] = _tostring(x)
end
return table.concat(t, " ")
end
for i, x in ipairs(modes) do
local nameupper = x.name:upper()
log[x.name] = function(...)
-- Return early if we're below the log level
if i < levels[log.level] then
return
end
local msg = tostring(...)
local info = debug.getinfo(2, "Sl")
-- Output to console
print(string.format("%s[%-6s%s]%s %s",
log.usecolor and x.color or "",
nameupper,
os.date("%H:%M:%S"),
log.usecolor and "\27[0m" or "",
msg))
-- Output to log file
local fp = io.open(log_file, "a")
local str = string.format("[%-6s%s] %s\n",
nameupper, os.date(), msg)
fp:write(str)
fp:close()
end
end
return log

29
lustache.lua Normal file
View file

@ -0,0 +1,29 @@
-- lustache: Lua mustache template parsing.
-- Copyright 2013 Olivine Labs, LLC <projects@olivinelabs.com>
-- MIT Licensed.
module('lustache', package.seeall)
local string_gmatch = string.gmatch
function string.split(str, sep)
local out = {}
for m in string_gmatch(str, "[^"..sep.."]+") do out[#out+1] = m end
return out
end
local lustache = {
name = "lustache",
version = "1.3.1-0",
renderer = require("lustache.renderer"):new(),
}
return setmetatable(lustache, {
__index = function(self, idx)
if self.renderer[idx] then return self.renderer[idx] end
end,
__newindex = function(self, idx, val)
if idx == "partials" then self.renderer.partials = val end
if idx == "tags" then self.renderer.tags = val end
end
})

22
lustache/LICENSE Normal file
View file

@ -0,0 +1,22 @@
The MIT License
Copyright (c) 2012 Olivine Labs
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

66
lustache/context.lua Normal file
View file

@ -0,0 +1,66 @@
local string_find, string_split, tostring, type =
string.find, string.split, tostring, type
local context = {}
context.__index = context
function context:clear_cache()
self.cache = {}
end
function context:push(view)
return self:new(view, self)
end
function context:lookup(name)
local value = self.cache[name]
if not value then
if name == "." then
value = self.view
else
local context = self
while context do
if string_find(name, ".") > 0 then
local names = string_split(name, ".")
local i = 0
value = context.view
if(type(value)) == "number" then
value = tostring(value)
end
while value and i < #names do
i = i + 1
value = value[names[i]]
end
else
value = context.view[name]
end
if value then
break
end
context = context.parent
end
end
self.cache[name] = value
end
return value
end
function context:new(view, parent)
local out = {
view = view,
parent = parent,
cache = {},
}
return setmetatable(out, context)
end
return context

388
lustache/renderer.lua Normal file
View file

@ -0,0 +1,388 @@
local Scanner = require "lustache.scanner"
local Context = require "lustache.context"
local error, ipairs, loadstring, pairs, setmetatable, tostring, type =
error, ipairs, loadstring, pairs, setmetatable, tostring, type
local math_floor, math_max, string_find, string_gsub, string_split, string_sub, table_concat, table_insert, table_remove =
math.floor, math.max, string.find, string.gsub, string.split, string.sub, table.concat, table.insert, table.remove
local patterns = {
white = "%s*",
space = "%s+",
nonSpace = "%S",
eq = "%s*=",
curly = "%s*}",
tag = "[#\\^/>{&=!]"
}
local html_escape_characters = {
["&"] = "&amp;",
["<"] = "&lt;",
[">"] = "&gt;",
['"'] = "&quot;",
["'"] = "&#39;",
["/"] = "&#x2F;"
}
local function is_array(array)
if type(array) ~= "table" then return false end
local max, n = 0, 0
for k, _ in pairs(array) do
if not (type(k) == "number" and k > 0 and math_floor(k) == k) then
return false
end
max = math_max(max, k)
n = n + 1
end
return n == max
end
-- Low-level function that compiles the given `tokens` into a
-- function that accepts two arguments: a Context and a
-- Renderer.
local function compile_tokens(tokens, originalTemplate)
local subs = {}
local function subrender(i, tokens)
if not subs[i] then
local fn = compile_tokens(tokens, originalTemplate)
subs[i] = function(ctx, rnd) return fn(ctx, rnd) end
end
return subs[i]
end
local function render(ctx, rnd)
local buf = {}
local token, section
for i, token in ipairs(tokens) do
local t = token.type
buf[#buf+1] =
t == "#" and rnd:_section(
token, ctx, subrender(i, token.tokens), originalTemplate
) or
t == "^" and rnd:_inverted(
token.value, ctx, subrender(i, token.tokens)
) or
t == ">" and rnd:_partial(token.value, ctx, originalTemplate) or
(t == "{" or t == "&") and rnd:_name(token.value, ctx, false) or
t == "name" and rnd:_name(token.value, ctx, true) or
t == "text" and token.value or ""
end
return table_concat(buf)
end
return render
end
local function escape_tags(tags)
return {
string_gsub(tags[1], "%%", "%%%%").."%s*",
"%s*"..string_gsub(tags[2], "%%", "%%%%"),
}
end
local function nest_tokens(tokens)
local tree = {}
local collector = tree
local sections = {}
local token, section
for i,token in ipairs(tokens) do
if token.type == "#" or token.type == "^" then
token.tokens = {}
sections[#sections+1] = token
collector[#collector+1] = token
collector = token.tokens
elseif token.type == "/" then
if #sections == 0 then
error("Unopened section: "..token.value)
end
-- Make sure there are no open sections when we're done
section = table_remove(sections, #sections)
if not section.value == token.value then
error("Unclosed section: "..section.value)
end
section.closingTagIndex = token.startIndex
if #sections > 0 then
collector = sections[#sections].tokens
else
collector = tree
end
else
collector[#collector+1] = token
end
end
section = table_remove(sections, #sections)
if section then
error("Unclosed section: "..section.value)
end
return tree
end
-- Combines the values of consecutive text tokens in the given `tokens` array
-- to a single token.
local function squash_tokens(tokens)
local out, txt = {}, {}
local txtStartIndex, txtEndIndex
for _, v in ipairs(tokens) do
if v.type == "text" then
if #txt == 0 then
txtStartIndex = v.startIndex
end
txt[#txt+1] = v.value
txtEndIndex = v.endIndex
else
if #txt > 0 then
out[#out+1] = { type = "text", value = table_concat(txt), startIndex = txtStartIndex, endIndex = txtEndIndex }
txt = {}
end
out[#out+1] = v
end
end
if #txt > 0 then
out[#out+1] = { type = "text", value = table_concat(txt), startIndex = txtStartIndex, endIndex = txtEndIndex }
end
return out
end
local function make_context(view)
if not view then return view end
return getmetatable(view) == Context and view or Context:new(view)
end
local renderer = { }
function renderer:clear_cache()
self.cache = {}
self.partial_cache = {}
end
function renderer:compile(tokens, tags, originalTemplate)
tags = tags or self.tags
if type(tokens) == "string" then
tokens = self:parse(tokens, tags)
end
local fn = compile_tokens(tokens, originalTemplate)
return function(view)
return fn(make_context(view), self)
end
end
function renderer:render(template, view, partials)
if type(self) == "string" then
error("Call mustache:render, not mustache.render!")
end
if partials then
-- remember partial table
-- used for runtime lookup & compile later on
self.partials = partials
end
if not template then
return ""
end
local fn = self.cache[template]
if not fn then
fn = self:compile(template, self.tags, template)
self.cache[template] = fn
end
return fn(view)
end
function renderer:_section(token, context, callback, originalTemplate)
local value = context:lookup(token.value)
if type(value) == "table" then
if is_array(value) then
local buffer = ""
for i,v in ipairs(value) do
buffer = buffer .. callback(context:push(v), self)
end
return buffer
end
return callback(context:push(value), self)
elseif type(value) == "function" then
local section_text = string_sub(originalTemplate, token.endIndex+1, token.closingTagIndex - 1)
local scoped_render = function(template)
return self:render(template, context)
end
return value(section_text, scoped_render) or ""
else
if value then
return callback(context, self)
end
end
return ""
end
function renderer:_inverted(name, context, callback)
local value = context:lookup(name)
-- From the spec: inverted sections may render text once based on the
-- inverse value of the key. That is, they will be rendered if the key
-- doesn't exist, is false, or is an empty list.
if value == nil or value == false or (type(value) == "table" and is_array(value) and #value == 0) then
return callback(context, self)
end
return ""
end
function renderer:_partial(name, context, originalTemplate)
local fn = self.partial_cache[name]
-- check if partial cache exists
if (not fn and self.partials) then
local partial = self.partials[name]
if (not partial) then
return ""
end
-- compile partial and store result in cache
fn = self:compile(partial, nil, originalTemplate)
self.partial_cache[name] = fn
end
return fn and fn(context, self) or ""
end
function renderer:_name(name, context, escape)
local value = context:lookup(name)
if type(value) == "function" then
value = value(context.view)
end
local str = value == nil and "" or value
str = tostring(str)
if escape then
return string_gsub(str, '[&<>"\'/]', function(s) return html_escape_characters[s] end)
end
return str
end
-- Breaks up the given `template` string into a tree of token objects. If
-- `tags` is given here it must be an array with two string values: the
-- opening and closing tags used in the template (e.g. ["<%", "%>"]). Of
-- course, the default is to use mustaches (i.e. Mustache.tags).
function renderer:parse(template, tags)
tags = tags or self.tags
local tag_patterns = escape_tags(tags)
local scanner = Scanner:new(template)
local tokens = {} -- token buffer
local spaces = {} -- indices of whitespace tokens on the current line
local has_tag = false -- is there a {{tag} on the current line?
local non_space = false -- is there a non-space char on the current line?
-- Strips all whitespace tokens array for the current line if there was
-- a {{#tag}} on it and otherwise only space
local function strip_space()
if has_tag and not non_space then
while #spaces > 0 do
table_remove(tokens, table_remove(spaces))
end
else
spaces = {}
end
has_tag = false
non_space = false
end
local type, value, chr
while not scanner:eos() do
local start = scanner.pos
value = scanner:scan_until(tag_patterns[1])
if value then
for i = 1, #value do
chr = string_sub(value,i,i)
if string_find(chr, "%s+") then
spaces[#spaces+1] = #tokens + 1
else
non_space = true
end
tokens[#tokens+1] = { type = "text", value = chr, startIndex = start, endIndex = start }
start = start + 1
if chr == "\n" then
strip_space()
end
end
end
if not scanner:scan(tag_patterns[1]) then
break
end
has_tag = true
type = scanner:scan(patterns.tag) or "name"
scanner:scan(patterns.white)
if type == "=" then
value = scanner:scan_until(patterns.eq)
scanner:scan(patterns.eq)
scanner:scan_until(tag_patterns[2])
elseif type == "{" then
local close_pattern = "%s*}"..tags[2]
value = scanner:scan_until(close_pattern)
scanner:scan(patterns.curly)
scanner:scan_until(tag_patterns[2])
else
value = scanner:scan_until(tag_patterns[2])
end
if not scanner:scan(tag_patterns[2]) then
error("Unclosed tag at " .. scanner.pos)
end
tokens[#tokens+1] = { type = type, value = value, startIndex = start, endIndex = scanner.pos - 1 }
if type == "name" or type == "{" or type == "&" then
non_space = true --> what does this do?
end
if type == "=" then
tags = string_split(value, patterns.space)
tag_patterns = escape_tags(tags)
end
end
return nest_tokens(squash_tokens(tokens))
end
function renderer:new()
local out = {
cache = {},
partial_cache = {},
tags = {"{{", "}}"}
}
return setmetatable(out, { __index = self })
end
return renderer

57
lustache/scanner.lua Normal file
View file

@ -0,0 +1,57 @@
local string_find, string_match, string_sub =
string.find, string.match, string.sub
local scanner = {}
-- Returns `true` if the tail is empty (end of string).
function scanner:eos()
return self.tail == ""
end
-- Tries to match the given regular expression at the current position.
-- Returns the matched text if it can match, `null` otherwise.
function scanner:scan(pattern)
local match = string_match(self.tail, pattern)
if match and string_find(self.tail, pattern) == 1 then
self.tail = string_sub(self.tail, #match + 1)
self.pos = self.pos + #match
return match
end
end
-- Skips all text until the given regular expression can be matched. Returns
-- the skipped string, which is the entire tail of this scanner if no match
-- can be made.
function scanner:scan_until(pattern)
local match
local pos = string_find(self.tail, pattern)
if pos == nil then
match = self.tail
self.pos = self.pos + #self.tail
self.tail = ""
elseif pos == 1 then
match = nil
else
match = string_sub(self.tail, 1, pos - 1)
self.tail = string_sub(self.tail, pos)
self.pos = self.pos + #match
end
return match
end
function scanner:new(str)
local out = {
str = str,
tail = str,
pos = 1
}
return setmetatable(out, { __index = self } )
end
return scanner

View file

@ -0,0 +1,37 @@
VERSION="11.2.1"
RELEASE="stable"
REPO=$(basename $(git rev-parse --show-toplevel))
REPO_URL=$(git remote get-url origin)
ME=$(git config --get user.name)
EMAIL=$(git config --get user.email)
LAST_RELEASE=$(git tag --list 'debian/11.*' --sort="v:refname" | tail -n 1)
echo "$REPO ($VERSION) $RELEASE; urgency=low"
echo ""
git log $LAST_RELEASE.. -n 10000 --first-parent --pretty=tformat:' - %b%s (%h)' \
| sed -E "s&Merge .*#([0-9]+).*\$& \([#\1]\(http://github.com/YunoHost/$REPO/pull/\1\)\)&g" \
| sed -E "/Co-authored-by: .* <.*>/d" \
| grep -v "Translations update from Weblate" \
| tac
TRANSLATIONS=$(git log $LAST_RELEASE... -n 10000 --pretty=format:"%s" \
| grep "Translated using Weblate" \
| sed -E "s/Translated using Weblate \((.*)\)/\1/g" \
| sort | uniq | tr '\n' ', ' | sed -e 's/,$//g' -e 's/,/, /g')
[[ -z "$TRANSLATIONS" ]] || echo " - [i18n] Translations updated for $TRANSLATIONS"
echo ""
CONTRIBUTORS=$(git log -n10 --pretty=format:'%Cred%h%Creset %C(bold blue)(%an) %Creset%Cgreen(%cr)%Creset - %s %C(yellow)%d%Creset' --abbrev-commit $LAST_RELEASE... -n 10000 --pretty=format:"%an" \
| sort | uniq | grep -v "$ME" | grep -v 'yunohost-bot' | grep -vi 'weblate' \
| tr '\n' ', ' | sed -e 's/,$//g' -e 's/,/, /g')
[[ -z "$CONTRIBUTORS" ]] || echo " Thanks to all contributors <3 ! ($CONTRIBUTORS)"
echo ""
echo " -- $ME <$EMAIL> $(date -R)"
echo ""
# PR links can be converted to regular texts using : sed -E 's@\[(#[0-9]*)\]\([^ )]*\)@\1@g'
# Or readded with sed -E 's@#([0-9]*)@[YunoHost#\1](https://github.com/yunohost/yunohost/pull/\1)@g' | sed -E 's@\((\w+)\)@([YunoHost/\1](https://github.com/yunohost/yunohost/commit/\1))@g'

View file

@ -0,0 +1,182 @@
/*
===============================================================================
This file contains CSS rules loaded on all apps page (*if* the app nginx's
conf does include the appropriate snippet) for the small YunoHost button in
bottom-right corner + portal overlay.
The yunohost button corresponds to : #ynh-overlay-switch
The yunohost portal overlay / iframe corresponds to : #ynh-overlay
BE CAREFUL that you should *not* add too-general rules that apply to
non-yunohost elements (for instance all 'a' or 'p' elements...) as it will
likely break app's rendering
===============================================================================
*/
/* ******************************************************************
General
******************************************************************* */
html.ynh-panel-active {
/* Disable any scrolling on app */
overflow: hidden;
}
body {
overflow-y: auto;
}
#ynh-overlay-switch,
#ynh-overlay-switch *,
#ynh-overlay,
#ynh-overlay * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* ******************************************************************
Button
******************************************************************* */
#ynh-overlay-switch {
display: block;
position: fixed;
z-index: 10000000;
bottom: 20px;
right: 35px;
width: 100px;
height: 90px;
padding: 12px;
border: 12px solid #41444f;
border-radius: 5px;
background: #41444f;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluICAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIiBbCgk8IUVOVElUWSBuc19mbG93cyAiaHR0cDovL25zLmFkb2JlLmNvbS9GbG93cy8xLjAvIj4KXT4KPHN2ZyB2ZXJzaW9uPSIxLjEiCgkgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6YT0iaHR0cDovL25zLmFkb2JlLmNvbS9BZG9iZVNWR1ZpZXdlckV4dGVuc2lvbnMvMy4wLyIKCSB4PSIwcHgiIHk9IjBweCIgd2lkdGg9Ijk4cHgiIGhlaWdodD0iODVweCIgdmlld0JveD0iLTAuMjUgLTAuMjUgOTggODUiCgkgb3ZlcmZsb3c9InZpc2libGUiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTAuMjUgLTAuMjUgOTggODUiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8ZGVmcz4KPC9kZWZzPgo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNOTcsNTFjLTIuMDIsNC45OC04LjMzLDUuNjctMTQsN2MtMC42MDksNi4yOSwzLjA1LDEwLjk1LTEsMTZjLTYuNDEtMC4yNi03LjQ3MS01Ljg1OS03LTEzYy0xLDAtMiwwLTMsMAoJYy0yLjA5LDIuNzcsMC45LDQuNTIsMCw4Yy0xLjEyLDQuMzQtNy44OCw3LjkxLTExLDdjLTIuMTgtMC42NDEtNS45Ni02LjYzLTUtMTJjMi44Mi0yLjcxLDIuNzYsMy4xMiw2LDNjNS4wNS03Ljg0LTkuNjMtOC41NS04LTE3CgljMS4yNC02LjQyLDExLjY2LTkuNjYsMTUtMWMxLjU0LDQuMjEtNS4xNywwLjE2LTUsM2MtMC4yNzksMS42MiwwLjk1LDEuNzIsMSwzYzIuNTIsMC43NywxLjY4LTIuMTYsMy0zYzEuODU5LTEuMTcsMy4wOS0wLjc1LDYtMQoJYzIuNDUtMi41NSwxLjA4LTguOTIsNC0xMWMzLjg3LDAuNDYsNi4wOCwyLjU5LDYsN0M5MS4wMSw0Ni4xMDksOTQuMyw0Ni4wNSw5Nyw1MXoiLz4KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTg3LDEzYzAuNjA5LDMuMjEsMi4zMiw0Ljk4LDIsOGMtMC4zNCwzLjIxLTIuOSw4LjgzLTQsOWMtMS4xNywwLjE4LTEuMzQsMS43OC0yLDIKCWMtNC42NiwxLjU3LTEyLjM5MS0xLjQ4LTE0LTdjLTEuMTYtMy45NywxLjktMTMuMzcsNC0xN2MxLjMtMi4yNSwxLjIyMS0yLjk5LDUtNGMyLjQxLTAuNjUsMy42NS0yLjI1LDYsMAoJYzAuNDcxLDAuNDUsMS4zLDAuNDksMS44NSwwLjg5Yy0wLjE5OSwwLDIsMy4xNCwyLjE1LDQuMTFDODguMzIsMTEuMDcsODYuNzcsMTEuNzgsODcsMTN6IE03OSwyMmMxLjc3OS0xLjg5LDMuMjktNC4wNCwzLTgKCUM3Ny40OSwxMi4zMyw3NC42NywyMS4zLDc5LDIyeiIvPgo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNjcsMjFjLTAuMDcsNS44MSwyLjQ4LDEwLjcsMCwxNWMtNi43MywxLjA2LTcuMjQtNC4xLTExLTZjLTEuOTM5LDEuMzktMS40OSw1LjE4LTMsNwoJYy0zLjc4LDAuNDQtNC42OS0xLjk3LTctM2MyLjQ3LTcuODEsMS4yNi0xOC45OCwyLTI2YzguNTgtMC41OCw3LjY4LDguMzIsMTIsMTJjMC41Mi00LjM0LTAuMzU5LTE1LjUyLDMtMjAKCUM3MC4zMywzLjI5LDY3LjA5LDEyLjk5LDY3LDIxeiIvPgo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNTIsNTVjMS45Myw4LjQxLDAuMTIsMjIuNjg5LTEyLDIwYy0xLjU5LTAuMzUtOC40Mi01LjIyLTktN2MtMS42Mi01LDAuMzQtMTMuMzQsMy0xNgoJQzM5LjAzLDQ2Ljk3LDQ1LjQ4LDUwLjM1OSw1Miw1NXogTTM5LDY2YzQuNTUsMC45Niw2LjMtNC4yLDQtN0MzOS4zNyw1OS4wMywzOC42MSw2MS45MzksMzksNjZ6Ii8+CjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0zOSw4YzUuNTgsMC45LDYuNCw2LjgxLDUsMTVjLTEuNDMsOC4zOC0zLjAyLDE0LjU5LTksMTVjLTkuNTcsMC42NS0xMi4yNS0xNi42OS05LTI5CgljOC4zMiwxLjI3LDYuNTksMTAuMzYsNiwxN2MyLjcxLDAuODMsMi4yLTAuODUsMy0yQzM3LjA1LDIxLjA0LDM3LjgyLDEzLjYxLDM5LDh6Ii8+CjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yOCw2MmMwLjEsNS42Nyw0LjQsMTEuMzMsMiwxN2MtNC4zMi0xLjAxLTYuNTctNC4wOS05LTdjLTMuMTUtMC40OC0yLjI2LDMuMDctNiwyCgljLTAuNjcsNS4wNjEsMi4yOSw3LjU3LTEsMTBjLTQuNy0wLjYzLTYuNjYtNC04LThjLTIuNjEtMS4zOC01LjQ4LTIuNTItNi02YzAuMTQtMy41Myw0LjQ4LTIuODUsNy00YzAuNDctNS41My0xLjQxLTEzLjQxLDItMTYKCWM4LjMxLDAuNDksOC4yMSw3LjEzLDcsMTVjNC4zNiwwLjI5LDQuOTQtNC4zNSw1LTdjMC4wNi0yLjQzLTEuODItOC4yNiwyLTExYzMuMDYtMC43MywyLjk0LDEuNzMsNiwxCglDMzIuMzUsNTIuNywyNy45Miw1Ny40MzksMjgsNjJ6Ii8+CjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yNCwxMmMxLjA3LDcuMDctMy44Niw4LjE0LTYsMTJjMC4yMSw2Ljg4LTAuNDcsMTIuODYtMiwxOGMtNS44Ni0xLjMyLTguNy0xMC4zOC02LTE3CgljLTAuMzMtMy41Mi01LjI2LTQuMjItNy04Yy0wLjMtMC42Ni0wLjQ3LTQuNDMtMS03QzEuMDksNS42MywwLjU1LDQuMzEsMywxYzguMTYtMC40OSw3LjIxLDguMTMsOSwxNGM1LjA1LDAuMzksMy45MS01LjQyLDgtNgoJQzIwLjk4LDEwLjM1LDIyLjY3LDExLDI0LDEyeiIvPgo8L3N2Zz4K);
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
opacity: 0.7;
}
/*#ynh-overlay-switch.visible,*/
#ynh-overlay-switch:hover {
background-color: #41444f;
border-color: #41444f;
background-color: #111;
border-color: #111;
}
/* ******************************************************************
Overlay
******************************************************************* */
/* Background */
#ynh-overlay {
overflow-y: hidden;
position: fixed;
top:0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999999;
display: none;
border: none;
color:#fff;
background: #41444F;
transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-webkit-transition: all 0.2s ease;
}
/* ******************************************************************
Animation
******************************************************************* */
/*FadeIn*/
@-webkit-keyframes ynhFadeIn {
0% {
visibility: hidden;
opacity:0;
}
100% {
visibility: visible;
opacity: 1;
}
}
@keyframes ynhFadeIn {
0% {
visibility: hidden;
opacity: 0;
}
100% {
visibility: visible;
opacity: 1;
}
}
.ynh-fadeIn {
-webkit-animation-name: ynhFadeIn;
animation-name: ynhFadeIn;
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);
animation-timing-function: cubic-bezier(0.165, 0.840, 0.440, 1.000);
}
/*
.ynh-fadeIn.ynh-delay {
animation-delay: 0.5s;
-webkit-animation-delay: 0.5s;
}
*/
/*FadeOut*/
@-webkit-keyframes ynhFadeOut {
0% {
visibility: visible;
opacity: 1;
}
100% {
visibility: hidden;
opacity: 0;
}
}
@keyframes ynhFadeOut {
0% {
visibility: visible;
opacity: 1;
}
100% {
visibility: hidden;
opacity: 0;
}
}
.ynh-fadeOut {
-webkit-animation-name: ynhFadeOut;
animation-name: ynhFadeOut;
-webkit-animation-duration: 0.2s;
animation-duration: 0.2s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
/*
.ynh-fadeOut.ynh-delay {
animation-delay: 0.5s;
-webkit-animation-delay: 0.5s;
}
*/
/* ******************************************************************
Media Queries
******************************************************************* */
@media screen and (max-width: 500px) {
#ynh-overlay-switch {
width: 80px;
height: 75px;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,35 +0,0 @@
document.addEventListener('DOMContentLoaded', function() {
// Variables
var liMenu = document.querySelectorAll('#apps a')
, colors = ['bluebg','purplebg','redbg','orangebg','greenbg','darkbluebg','lightbluebg','yellowbg','lightpinkbg']
, addMailAlias = document.getElementById('add-mailalias')
, addMaildrop = document.getElementById('add-maildrop')
;
liMenu && [].forEach.call(liMenu, function(el, i) {
// Add color class.
el.classList.add(colors[i%colors.length]);
// Set first-letter data attribute.
el.querySelector('.first-letter').setAttribute('data-first-letter',el.textContent.substring(0, 2));
});
addMailAlias && addMailAlias.addEventListener('click', function(){
// Clone last input.
var inputAliasClone = document.querySelector('.mailalias-input').cloneNode(true);
// Empty value.
inputAliasClone.value = '';
// Append to form-group.
addMailAlias.parentNode.insertBefore(inputAliasClone, addMailAlias);
});
addMaildrop && addMaildrop.addEventListener('click', function(){
// Clone last input.
var inputDropClone = document.querySelector('.maildrop-input').cloneNode(true);
// Empty value.
inputDropClone.value = '';
// Append to form-group.
addMaildrop.parentNode.insertBefore(inputDropClone, addMaildrop);
});
});

View file

@ -0,0 +1,401 @@
/*
===============================================================================
This JS file is loaded :
- in the YunoHost user portal
- on every app page if the app nginx's conf does include the ynh snippet
===============================================================================
*/
/*
=====================
Utilities
=====================
*/
/* Console log fix */
if (typeof(console) === 'undefined') {
var console = {};
console.log = console.error = console.info = console.debug = console.warn = console.trace = console.dir = console.dirxml = console.group = console.groupEnd = console.time = console.timeEnd = console.assert = console.profile = function() {};
}
/* Cookies utilities */
function setCookie(cName, cValue, expDays) {
let date = new Date();
date.setTime(date.getTime() + (expDays * 24 * 60 * 60 * 1000));
const expires = "expires=" + date.toUTCString();
document.cookie = cName + "=" + cValue + "; " + expires + "; path=/";
}
function getCookie(cName) {
const name = cName + "=";
const cDecoded = decodeURIComponent(document.cookie); //to be careful
const cArr = cDecoded .split('; ');
let res;
cArr.forEach(val => {
if (val.indexOf(name) === 0) res = val.substring(name.length);
})
return res;
}
/* Array utilities
https://github.com/Darklg/JavaScriptUtilities/blob/master/assets/js/vanilla-js/libs/vanilla-arrays.js
-------------------------- */
Array.contains = function(needle, haystack) {
var i = 0,
length = haystack.length;
for (; i < length; i++) {
if (haystack[i] === needle) return true;
}
return false;
};
Array.each = function(arrayToParse, callback) {
var i = 0,
length = arrayToParse.length;
for (; i < length; i++) {
callback(arrayToParse[i]);
}
};
/* CSS classes utilities
https://github.com/Darklg/JavaScriptUtilities/blob/master/assets/js/vanilla-js/libs/vanilla-classes.js
-------------------------- */
Element.getClassNames = function(element) {
var classNames = [],
elementClassName = element.className;
if (elementClassName !== '') {
elementClassName = elementClassName.replace(/\s+/g, ' ');
classNames = elementClassName.split(' ');
}
return classNames;
};
Element.hasClass = function(element, className) {
if (element.classList) {
return element.classList.contains(className);
}
return Array.contains(className, Element.getClassNames(element));
};
Element.addClass = function(element, className) {
if (element.classList) {
element.classList.add(className);
return;
}
if (!Element.hasClass(element, className)) {
var elementClasses = Element.getClassNames(element);
elementClasses.push(className);
element.className = elementClasses.join(' ');
}
};
Element.removeClass = function(element, className) {
if (element.classList) {
element.classList.remove(className);
return;
}
var elementClasses = Element.getClassNames(element);
var newElementClasses = [];
var i = 0,
arLength = elementClasses.length;
for (; i < arLength; i++) {
if (elementClasses[i] !== className) {
newElementClasses.push(elementClasses[i]);
}
}
element.className = newElementClasses.join(' ');
};
Element.toggleClass = function(element, className) {
if (!Element.hasClass(element, className)) {
Element.addClass(element, className);
}
else {
Element.removeClass(element, className);
}
};
/* Add Event
https://github.com/Darklg/JavaScriptUtilities/blob/master/assets/js/vanilla-js/libs/vanilla-events.js
-------------------------- */
window.addEvent = function(el, eventName, callback, options) {
if (el == null) { return; }
if (el.addEventListener) {
if (!options || typeof(options) !== "object") {
options = {};
}
options.capture = false;
el.addEventListener(eventName, callback, options);
}
else if (el.attachEvent) {
el.attachEvent("on" + eventName, function(e) {
return callback.call(el, e);
});
}
};
window.eventPreventDefault = function(event) {
return (event.preventDefault) ? event.preventDefault() : event.returnValue = false;
};
/* Draggable
Sources :
http://jsfiddle.net/5t3Ju/
http://stackoverflow.com/questions/9334084/moveable-draggable-div
http://jsfiddle.net/tovic/Xcb8d/light/
-------------------------- */
function make_element_draggable(id) {
// Variables
this.elem = document.getElementById(id),
this.selected = null, // Selected element
this.dragged = false, // Dragging status
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
var _initDrag = function(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;
// We add listening event for the iframe itself ...
// otherwise dragging the tile on the iframe doesn't
// work properly.
// We do this at click time to have a better chance
// that the iframe's body is indeed loaded ...
// (a bit hackish but meh)
portalOverlay = document.getElementById("ynh-overlay").contentDocument.body;
window.addEvent(portalOverlay, 'mousemove', _onMove);
window.addEvent(portalOverlay, 'touchmove', _onMove, {passive: false});
};
var _shutDrag = function(e){
selected = null;
};
var _onMove = function(e){
// Get position
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) {
if (e.type === "touchmove"){
event.preventDefault();
}
dragged = true;
selected.style.left = (x_pos - x_elem) + 'px';
selected.style.top = (y_pos - y_elem) + 'px';
// Store positions in cookies
setCookie('ynh_overlay_top', selected.style.top, 30);
setCookie('ynh_overlay_left', selected.style.left, 30);
}
};
// Prevent native D'n'D behavior
window.addEvent(elem, 'dragstart', function(e){
window.eventPreventDefault(e);
});
// 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, {passive: false});
// Destroy the object when we are done
window.addEvent(window, 'mouseup', _shutDrag);
window.addEvent(window, 'touchend', _shutDrag);
window.addEvent(window, 'touchcancel', _shutDrag);
// Handle click event
window.addEvent(elem, 'click', function(e){
// Prevent default event
window.eventPreventDefault(e);
// Do not propagate to other click event if dragged out
if (dragged) {
e.stopImmediatePropagation();
}
// Reset dragging status
dragged = false;
});
};
/* ----------------------------------------------------------
Main
---------------------------------------------------------- */
window.addEvent(document, 'DOMContentLoaded', function() {
// 3 different cases :
// - this script is loaded from inside an app
// - this script is loaded inside the portal, inside an iframe/overlay activated by clicking the portal button inside an app
// - this script is loaded inside the "regular" portal when going to /yunohost/sso.
var in_app = ! document.body.classList.contains('ynh-user-portal');
var in_overlay_iframe = (window.location != window.parent.location);
if (in_app)
{
// Do not load inside an app iframe (Roundcube visualisation panel for example).
if (window.frameElement == null) {
init_portal_button_and_overlay();
}
}
else
{
init_portal();
if (in_overlay_iframe) { tweak_portal_when_in_iframe(); }
}
});
//
// This function is called when ynh_portal.js is included in an app
//
// It will create the small yunohost "portal button" usually in the bottom
// right corner and initialize the portal overlay, shown when clicking the
// portal button meant to make it easier to switch between apps.
//
function init_portal_button_and_overlay()
{
// Set and store meta viewport
var meta_viewport = document.querySelector('meta[name="viewport"]');
if (meta_viewport === null) {
meta_viewport = document.createElement('meta');
meta_viewport.setAttribute('name', "viewport");
meta_viewport.setAttribute('content', "");
document.getElementsByTagName('head')[0].insertBefore(meta_viewport, null);
}
meta_viewport = document.querySelector('meta[name="viewport"]');
meta_viewport_content = meta_viewport.getAttribute('content');
// Prepare and inject the portal overlay (what is activated when clicking on the portal button)
var portalOverlay = document.createElement('iframe');
portalOverlay.src = "/yunohost/sso/portal.html";
portalOverlay.setAttribute("id","ynh-overlay");
portalOverlay.setAttribute("style","display: none;"); // make sure the overlay is invisible already when loading it
// portalOverlay.setAttribute("class","ynh-fadeOut"); // set overlay as masked when loading it
document.body.insertBefore(portalOverlay, null);
// Inject portal button
var portalButton = document.createElement('a');
portalButton.setAttribute('id', 'ynh-overlay-switch');
portalButton.setAttribute('href', '/yunohost/sso/');
portalButton.setAttribute('class', 'disableAjax');
// Checks if cookies exist and apply positioning
if (getCookie('ynh_overlay_top') != null && getCookie('ynh_overlay_left') != null) {
portalButton.style.top = getCookie('ynh_overlay_top');
portalButton.style.left = getCookie('ynh_overlay_left');
}
document.body.insertBefore(portalButton, null);
// Make portal button draggable, for user convenience
make_element_draggable('ynh-overlay-switch');
// Bind portal button
window.addEvent(portalButton, 'click', function(e){
// Prevent default click
window.eventPreventDefault(e);
// Toggle overlay on YNHPortal button click
Element.toggleClass(document.querySelector('html'), 'ynh-panel-active');
Element.toggleClass(portalOverlay, 'ynh-active');
if (Element.hasClass(portalOverlay, 'ynh-active')) {
portalOverlay.setAttribute("style","display: block;");
meta_viewport.setAttribute('content', meta_viewport_content);
Element.addClass(portalOverlay, 'ynh-fadeIn');
Element.removeClass(portalOverlay, 'ynh-fadeOut');
} else {
portalOverlay.setAttribute("style","display: none;");
meta_viewport.setAttribute('content', "width=device-width");
Element.removeClass(portalOverlay, 'ynh-fadeIn');
Element.addClass(portalOverlay, 'ynh-fadeOut');
}
});
}
//
// This function is called to initialize elements like the app tile colors and other things ...
//
function init_portal()
{
window.addEvent(document.getElementById('add-mailalias'), "click", function() {
// Clone last input.
var inputAliasClone = document.querySelector('.mailalias-input').cloneNode(true);
// Empty value.
inputAliasClone.value = '';
// Append to form-group.
this.parentNode.insertBefore(inputAliasClone, this);
});
window.addEvent(document.getElementById('add-maildrop'), "click", function() {
// Clone last input.
var inputDropClone = document.querySelector('.maildrop-input').cloneNode(true);
// Empty value.
inputDropClone.value = '';
// Append to form-group.
this.parentNode.insertBefore(inputDropClone, this);
});
Array.each(document.getElementsByClassName("app-tile"), function(el) {
// Set first-letter data attribute.
el.querySelector('.first-letter').innerHTML = el.getAttribute("data-appname").substring(0, 2);
// handle app links so they work both in plain info page and in the info iframe called from ynh_portal.js
window.addEvent(el, 'click', function(event) {
// if asked to open in new tab
if (event.ctrlKey || event.shiftKey || event.metaKey
|| (event.button && event.button == 1)) {
return
}
// if asked in current tab
else {
event.preventDefault();
parent.location.href=this.href;
return false;
};
});
});
}
function tweak_portal_when_in_iframe()
{
// Set class to body to show we're in overlay
document.body.classList.add('in_app_overlay');
let userContainer = document.querySelector('a.user-container');
if (userContainer) {
userContainer.classList.replace('user-container-info', 'user-container-edit');
userContainer.setAttribute('href', userContainer
.getAttribute('href')
.replace('edit.html', ''));
window.addEvent(userContainer, 'click', function(e) {
e.preventDefault();
e.stopPropagation();
window.parent.location.href = userContainer.getAttribute('href');
});
}
let logoutButton = document.getElementById('ynh-logout');
if (logoutButton)
{
// We force to do the logout "globally", not just in the
// iframe, otherwise after login out the url might still be
// domain.tld/app which is weird ...
window.addEvent(logoutButton, 'click', function(e) {
e.preventDefault();
e.stopPropagation();
window.parent.location.href = logoutButton.getAttribute("href");
});
}
}

View file

@ -1,302 +0,0 @@
/* ----------------------------------------------------------
Utilities
---------------------------------------------------------- */
/* Console log fix
-------------------------- */
if (typeof(console) === 'undefined') {
var console = {};
console.log = console.error = console.info = console.debug = console.warn = console.trace = console.dir = console.dirxml = console.group = console.groupEnd = console.time = console.timeEnd = console.assert = console.profile = function() {};
}
/* Array utilities
https://github.com/Darklg/JavaScriptUtilities/blob/master/assets/js/vanilla-js/libs/vanilla-arrays.js
-------------------------- */
Array.contains = function(needle, haystack) {
var i = 0,
length = haystack.length;
for (; i < length; i++) {
if (haystack[i] === needle) return true;
}
return false;
};
Array.each = function(arrayToParse, callback) {
var i = 0,
length = arrayToParse.length;
for (; i < length; i++) {
callback(arrayToParse[i]);
}
};
/* CSS classes utilities
https://github.com/Darklg/JavaScriptUtilities/blob/master/assets/js/vanilla-js/libs/vanilla-classes.js
-------------------------- */
Element.getClassNames = function(element) {
var classNames = [],
elementClassName = element.className;
if (elementClassName !== '') {
elementClassName = elementClassName.replace(/\s+/g, ' ');
classNames = elementClassName.split(' ');
}
return classNames;
};
Element.hasClass = function(element, className) {
if (element.classList) {
return element.classList.contains(className);
}
return Array.contains(className, Element.getClassNames(element));
};
Element.addClass = function(element, className) {
if (element.classList) {
element.classList.add(className);
return;
}
if (!Element.hasClass(element, className)) {
var elementClasses = Element.getClassNames(element);
elementClasses.push(className);
element.className = elementClasses.join(' ');
}
};
Element.removeClass = function(element, className) {
if (element.classList) {
element.classList.remove(className);
return;
}
var elementClasses = Element.getClassNames(element);
var newElementClasses = [];
var i = 0,
arLength = elementClasses.length;
for (; i < arLength; i++) {
if (elementClasses[i] !== className) {
newElementClasses.push(elementClasses[i]);
}
}
element.className = newElementClasses.join(' ');
};
Element.toggleClass = function(element, className) {
if (!Element.hasClass(element, className)) {
Element.addClass(element, className);
}
else {
Element.removeClass(element, className);
}
};
/* Add Event
https://github.com/Darklg/JavaScriptUtilities/blob/master/assets/js/vanilla-js/libs/vanilla-events.js
-------------------------- */
window.addEvent = function(el, eventName, callback) {
if (el.addEventListener) {
el.addEventListener(eventName, callback, false);
}
else if (el.attachEvent) {
el.attachEvent("on" + eventName, function(e) {
return callback.call(el, e);
});
}
};
window.eventPreventDefault = function(event) {
return (event.preventDefault) ? event.preventDefault() : event.returnValue = false;
};
/* Draggable
Sources :
http://jsfiddle.net/5t3Ju/
http://stackoverflow.com/questions/9334084/moveable-draggable-div
http://jsfiddle.net/tovic/Xcb8d/light/
-------------------------- */
var dragg = function(id) {
// Variables
this.elem = document.getElementById(id),
this.selected = null, // Selected element
this.dragged = false, // Dragging status
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){
// Prevent firefox native D'n'D behavior
window.eventPreventDefault(e);
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){
// Get position
x_pos = document.all ? window.event.clientX : e.pageX;
y_pos = document.all ? window.event.clientY : e.pageY;
if (selected !== null) {
dragged = true;
selected.style.left = (x_pos - x_elem) + 'px';
selected.style.top = (y_pos - y_elem) + 'px';
}
});
// Destroy the object when we are done
window.addEvent(window, 'mouseup', function(e){
selected = null;
});
// Handle click event
window.addEvent(elem, 'click', function(e){
// Prevent default event
window.eventPreventDefault(e);
// Do not prapagate to other click event if dragged out
if (dragged) {
e.stopImmediatePropagation();
}
// Reset dragging status
dragged = false;
});
}
/* Smallest DOMReady
http://dustindiaz.com/smallest-domready-ever
-------------------------- */
function domReady(cb) {
/in/.test(document.readyState) // in = loadINg
? setTimeout('domReady('+cb+')', 9)
: cb();
}
/* ----------------------------------------------------------
Main
---------------------------------------------------------- */
domReady(function(){
// Don't do this in iframe
if (window.self !== window.top) {return false;}
// Set and store meta viewport
var meta_viewport = document.querySelector('meta[name="viewport"]');
if (meta_viewport === null) {
meta_viewport = document.createElement('meta');
meta_viewport.setAttribute('name', "viewport");
meta_viewport.setAttribute('content', "");
document.getElementsByTagName('head')[0].insertBefore(meta_viewport, null);
}
meta_viewport = document.querySelector('meta[name="viewport"]');
meta_viewport_content = meta_viewport.getAttribute('content');
// Add portal stylesheet
var portalStyle = document.createElement("link");
portalStyle.setAttribute("rel", "stylesheet");
portalStyle.setAttribute("type", "text/css");
portalStyle.setAttribute("href", '/ynhpanel.css');
document.getElementsByTagName("head")[0].insertBefore(portalStyle, null);
// Create portal link
var portal = document.createElement('a');
portal.setAttribute('id', 'ynhportal');
portal.setAttribute('href', '/yunohost/sso/');
portal.setAttribute('class', 'disableAjax');
document.body.insertBefore(portal, null);
// Portal link is draggable, for user convenience
dragg('ynhportal');
// Create overlay element
var overlay = document.createElement("div");
overlay.setAttribute("id","ynhoverlay");
overlay.setAttribute("style","display:none");
document.body.insertBefore(overlay, null);
//Color Application
var colors = ['bluebg','purplebg','redbg','orangebg','greenbg','darkbluebg','lightbluebg','yellowbg','lightpinkbg'];
// Get user's app
var r = new XMLHttpRequest();
r.open("GET", "/ynhpanel.json", true);
r.onreadystatechange = function () {
// Die if error
if (r.readyState != 4 || r.status != 200) return;
// Response is JSON
response = JSON.parse(r.responseText);
// Add overlay header
overlay.innerHTML += '<div id="yuno-user" class="wrapper info">' +
'<ul class="ul-reset user-menu"><li><a class="icon icon-connexion disableAjax" href="'+ response.portal_url +'?action=logout">'+response.t_logout+'</a></li></ul>'+
'<a class="user-container user-container-info disableAjax" href="'+ response.portal_url +'edit.html">' +
'<h2 class="user-username">'+ response.uid +'</h2>' +
'<small class="user-fullname">'+ response.givenName + ' ' + response.sn +'</small>' +
'<span class="user-mail">'+ response.mail +'</span>' +
'</a>'
'</div>';
// Add application links
var links = [];
Array.prototype.forEach.call(response.app, function(app, n){
links.push('<li><a class="'+colors[n%colors.length]+' disableAjax" href="//'+app.url+'"><span class="first-letter" data-first-letter="'+ app.name.substr(0,2) +'"></span><span class="name">'+app.name+'</span></a></li>');
});
overlay.innerHTML += '<div id="yuno-apps" class="wrapper apps"><ul class="listing-apps">'+ links.join("\n") +'</ul></div>';
// Add footer links
overlay.innerHTML += '<div id="yuno-footer" class="wrapper footer"><nav>' + "\n" +
'<a class="link-profile-edit" href="/yunohost/sso/edit.html">'+ response.t_footerlink_edit +'</a>' + "\n" +
'<a class="link-documentation" href="//yunohost.org/docs" target="_blank">'+ response.t_footerlink_documentation +'</a>' + "\n" +
'<a class="link-documentation" href="//yunohost.org/support" target="_blank">'+ response.t_footerlink_support +'</a>' + "\n" +
'<a class="link-admin" href="/yunohost/admin/" target="_blank">'+ response.t_footerlink_administration +'</a>' + "\n" +
'</nav></div>';
// Add overlay to DOM
var btn = document.getElementById('logo'),
yunoverlay = document.getElementById('ynhoverlay'),
user = document.getElementById('yuno-user'),
apps = document.getElementById('yuno-apps');
var pfx = ["webkit", "moz", "MS", "o", ""];
function PrefixedEvent(element, type, callback) {
for (var p = 0; p < pfx.length; p++) {
if (!pfx[p]) type = type.toLowerCase();
element.addEventListener(pfx[p]+type, callback, false);
}
}
// Bind YNH Button
window.addEvent(portal, 'click', function(e){
// Prevent default click
window.eventPreventDefault(e);
// Toggle overlay on YNHPortal button
//Element.toggleClass(overlay, 'visible');
Element.toggleClass(portal, 'visible');
Element.toggleClass(document.querySelector('html'), 'ynh-panel-active');
if(yunoverlay.classList.contains('yuno-active')) {
meta_viewport.setAttribute('content', meta_viewport_content);
yunoverlay.classList.add('yuno-fadeOut');
PrefixedEvent(yunoverlay, "AnimationEnd", function(){
if(yunoverlay.classList.contains('yuno-fadeOut')) {
yunoverlay.classList.remove('yuno-active');
}
});
}else {
meta_viewport.setAttribute('content', "width=device-width");
yunoverlay.classList.remove('yuno-fadeOut');
yunoverlay.classList.add('yuno-active');
}
});
};
r.send();
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -0,0 +1,17 @@
/*
===============================================================================
This file may contain extra CSS rules loaded on all apps page (*if* the app
nginx's conf does include the appropriate snippet) for the small YunoHost
button in bottom-right corner + portal overlay.
The yunohost button corresponds to : #ynh-overlay-switch
The yunohost portal overlay / iframe corresponds to : #ynh-overlay
BE CAREFUL that you should *not* add too-general rules that apply to
non-yunohost elements (for instance all 'a' or 'p' elements...) as it will
likely break app's rendering
===============================================================================
*/
#ynh-overlay-switch {
background-image: url("./cloud.png");
}

View file

@ -0,0 +1,43 @@
/*
===============================================================================
This file contain extra CSS rules to customize the YunoHost user portal and
can be used to customize app tiles, buttons, etc...
===============================================================================
*/
/* Make page texts black */
.user-container h2,
.user-container small,
.user-container .user-mail,
.user-container .user-mail,
.content .footer a,
a.app-tile,
#ynh-logout {
color: black !important;
}
.ynh-user-portal {
background-image: url("background.jpg");
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100%;
}
/* Apps colors */
.app-tile {
background-color: rgba(255, 255, 255, 0.5) !important;
}
.app-tile:hover:after,
.app-tile:focus:after,
.app-tile:hover:before,
.app-tile:focus:before {
background: rgba(255, 255, 255, 0.5) !important;
}
/* Use a custom logo image */
#ynh-logo {
z-index: 10;
background-image: url("./cloud.png");
}

View file

@ -0,0 +1,33 @@
/*
===============================================================================
This JS file may be used to customize the YunoHost user portal *and* also
will be loaded in all app pages if the app nginx's conf does include the
appropriate snippet.
You can monkeypatch init_portal (loading of the user portal) and
init_portal_button_and_overlay (loading of the button and overlay...) to do
custom stuff
===============================================================================
*/
/*
* Monkeypatch init_portal to customize the app tile style
*
init_portal_original = init_portal;
init_portal = function()
{
init_portal_original();
// Some stuff here
}
*/
/*
* Monkey patching example to do custom stuff when loading inside an app
*
init_portal_button_and_overlay_original = init_portal_button_and_overlay;
init_portal_button_and_overlay = function()
{
init_portal_button_and_overlay_original();
// Custom stuff to do when loading inside an app
}
*/

View file

@ -0,0 +1,14 @@
/*
===============================================================================
This file may contain extra CSS rules loaded on all apps page (*if* the app
nginx's conf does include the appropriate snippet) for the small YunoHost
button in bottom-right corner + portal overlay.
The yunohost button corresponds to : #ynh-overlay-switch
The yunohost portal overlay / iframe corresponds to : #ynh-overlay
BE CAREFUL that you should *not* add too-general rules that apply to
non-yunohost elements (for instance all 'a' or 'p' elements...) as it will
likely break app's rendering
===============================================================================
*/

View file

@ -0,0 +1,145 @@
/*
===============================================================================
This file contain extra CSS rules to customize the YunoHost user portal and
can be used to customize app tiles, buttons, etc...
===============================================================================
*/
.bluebg {
background: #3498DB!important;
}
.bluebg:hover:after,
.bluebg:focus:after,
.bluebg:hover:before,
.bluebg:focus:before {
background: #16527A!important;
}
.purplebg {
background: #9B59B6!important;
}
.purplebg:hover:after,
.purplebg:focus:after,
.purplebg:hover:before,
.purplebg:focus:before {
background: #532C64!important;
}
.redbg {
background: #E74C3C!important;
}
.redbg:hover:after,
.redbg:focus:after,
.redbg:hover:before,
.redbg:focus:before {
background: #921E12!important;
}
.orangebg {
background: #F39C12!important;
}
.orangebg:hover:after,
.orangebg:focus:after,
.orangebg:hover:before,
.orangebg:focus:before {
background: #7F5006!important;
}
.greenbg {
background: #2ECC71!important;
}
.greenbg:hover:after,
.greenbg:focus:after,
.greenbg:hover:before,
.greenbg:focus:before {
background: #176437!important;
}
.darkbluebg {
background: #34495E!important;
}
.darkbluebg:hover:after,
.darkbluebg:focus:after,
.darkbluebg:hover:before,
.darkbluebg:focus:before {
background: #07090C!important;
}
.lightbluebg {
background: #6A93D4!important;
}
.lightbluebg:hover:after,
.lightbluebg:focus:after,
.lightbluebg:hover:before,
.lightbluebg:focus:before {
background: #2B5394!important;
}
.yellowbg {
background: #F1C40F!important;
}
.yellowbg:hover:after,
.yellowbg:focus:after,
.yellowbg:hover:before,
.yellowbg:focus:before {
background: #796307!important;
}
.lightpinkbg {
background: #F76F87!important;
}
.lightpinkbg:hover:after,
.lightpinkbg:focus:after,
.lightpinkbg:hover:before,
.lightpinkbg:focus:before {
background: #DA0C31!important;
}
/* Following colors are not used yet */
.pinkbg {
background: #D66D92!important;
}
.pinkbg:hover:after,
.pinkbg:focus:after,
.pinkbg:hover:before,
.pinkbg:focus:before {
background: #992B52!important;
}
.turquoisebg {
background: #1ABC9C!important;
}
.turquoisebg:hover:after,
.turquoisebg:focus:after,
.turquoisebg:hover:before,
.turquoisebg:focus:before {
background: #0B4C3F!important;
}
.lightyellow {
background: #FFC973!important;
}
.lightyellow:hover:after,
.lightyellow:focus:after,
.lightyellow:hover:before,
.lightyellow:focus:before {
background: #F39500!important;
}
.lightgreen {
background: #B5F36D!important;
}
.lightgreen:hover:after,
.lightgreen:focus:after,
.lightgreen:hover:before,
.lightgreen:focus:before {
background: #77CF11!important;
}
.purpledarkbg {
background: #8E44AD!important;
}
.purpledarkbg:hover:after,
.purpledarkbg:focus:after,
.purpledarkbg:hover:before,
.purpledarkbg:focus:before {
background: #432051!important;
}

View file

@ -0,0 +1,40 @@
/*
===============================================================================
This JS file may be used to customize the YunoHost user portal *and* also
will be loaded in all app pages if the app nginx's conf does include the
appropriate snippet.
You can monkeypatch init_portal (loading of the user portal) and
init_portal_button_and_overlay (loading of the button and overlay...) to do
custom stuff
===============================================================================
*/
var app_tile_colors = ['redbg','purpledarkbg','darkbluebg','orangebg','greenbg', 'yellowbg','lightpinkbg','pinkbg','turquoisebg','lightbluebg', 'bluebg'];
function set_app_tile_style(el)
{
// Select a color value from the App label
randomColorNumber = parseInt(el.textContent, 36) % app_tile_colors.length;
// Add color class.
el.classList.add(app_tile_colors[randomColorNumber]);
}
// Monkeypatch init_portal to customize the app tile style
init_portal_original = init_portal;
init_portal = function()
{
init_portal_original();
Array.each(document.getElementsByClassName("app-tile"), set_app_tile_style);
}
/*
* Monkey patching example to do custom stuff when loading inside an app
*
init_portal_button_and_overlay_original = init_portal_button_and_overlay;
init_portal_button_and_overlay = function()
{
init_portal_button_and_overlay_original();
// Custom stuff to do when loading inside an app
}
*/

View file

@ -0,0 +1,26 @@
/*
===============================================================================
This file may contain extra CSS rules loaded on all apps page (*if* the app
nginx's conf does include the appropriate snippet) for the small YunoHost
button in bottom-right corner + portal overlay.
The yunohost button corresponds to : #ynh-overlay-switch
The yunohost portal overlay / iframe corresponds to : #ynh-overlay
BE CAREFUL that you should *not* add too-general rules that apply to
non-yunohost elements (for instance all 'a' or 'p' elements...) as it will
likely break app's rendering
===============================================================================
*/
#ynh-overlay-switch {
/* FIXME : idk if this is an issue or not to have /yunohost/sso hard-coded here */
background-image: url("/yunohost/sso/assets/img/logo-ynh.svg");
border-color: #eee;
background-color: #eee;
}
#ynh-overlay-switch:hover {
border-color: #ccc;
background-color: #ccc;
}

View file

@ -0,0 +1,179 @@
/*
===============================================================================
This file contain extra CSS rules to customize the YunoHost user portal and
can be used to customize app tiles, buttons, etc...
===============================================================================
*/
body {
background: #fff;
}
#ynh-logo {
background-image: url("../../img/logo-ynh.svg");
}
.login-form .form-group {
border: 1px solid #bbb;
}
.user-container,
.user-menu a,
.link-btn,
.footer a {
color: #555;
}
.user-menu a:hover,
.footer a:hover {
color: #000;
}
.form-text:disabled:hover {
background: #797b83;
}
.link-btn,
.link-btn:hover {
background: none;
}
.bluebg {
background: #3498DB!important;
}
.bluebg:hover:after,
.bluebg:focus:after,
.bluebg:hover:before,
.bluebg:focus:before {
background: #16527A!important;
}
.purplebg {
background: #9B59B6!important;
}
.purplebg:hover:after,
.purplebg:focus:after,
.purplebg:hover:before,
.purplebg:focus:before {
background: #532C64!important;
}
.redbg {
background: #E74C3C!important;
}
.redbg:hover:after,
.redbg:focus:after,
.redbg:hover:before,
.redbg:focus:before {
background: #921E12!important;
}
.orangebg {
background: #F39C12!important;
}
.orangebg:hover:after,
.orangebg:focus:after,
.orangebg:hover:before,
.orangebg:focus:before {
background: #7F5006!important;
}
.greenbg {
background: #2ECC71!important;
}
.greenbg:hover:after,
.greenbg:focus:after,
.greenbg:hover:before,
.greenbg:focus:before {
background: #176437!important;
}
.darkbluebg {
background: #34495E!important;
}
.darkbluebg:hover:after,
.darkbluebg:focus:after,
.darkbluebg:hover:before,
.darkbluebg:focus:before {
background: #07090C!important;
}
.lightbluebg {
background: #6A93D4!important;
}
.lightbluebg:hover:after,
.lightbluebg:focus:after,
.lightbluebg:hover:before,
.lightbluebg:focus:before {
background: #2B5394!important;
}
.yellowbg {
background: #F1C40F!important;
}
.yellowbg:hover:after,
.yellowbg:focus:after,
.yellowbg:hover:before,
.yellowbg:focus:before {
background: #796307!important;
}
.lightpinkbg {
background: #F76F87!important;
}
.lightpinkbg:hover:after,
.lightpinkbg:focus:after,
.lightpinkbg:hover:before,
.lightpinkbg:focus:before {
background: #DA0C31!important;
}
/* Following colors are not used yet */
.pinkbg {
background: #D66D92!important;
}
.pinkbg:hover:after,
.pinkbg:focus:after,
.pinkbg:hover:before,
.pinkbg:focus:before {
background: #992B52!important;
}
.turquoisebg {
background: #1ABC9C!important;
}
.turquoisebg:hover:after,
.turquoisebg:focus:after,
.turquoisebg:hover:before,
.turquoisebg:focus:before {
background: #0B4C3F!important;
}
.lightyellow {
background: #FFC973!important;
}
.lightyellow:hover:after,
.lightyellow:focus:after,
.lightyellow:hover:before,
.lightyellow:focus:before {
background: #F39500!important;
}
.lightgreen {
background: #B5F36D!important;
}
.lightgreen:hover:after,
.lightgreen:focus:after,
.lightgreen:hover:before,
.lightgreen:focus:before {
background: #77CF11!important;
}
.purpledarkbg {
background: #8E44AD!important;
}
.purpledarkbg:hover:after,
.purpledarkbg:focus:after,
.purpledarkbg:hover:before,
.purpledarkbg:focus:before {
background: #432051!important;
}

View file

@ -0,0 +1,40 @@
/*
===============================================================================
This JS file may be used to customize the YunoHost user portal *and* also
will be loaded in all app pages if the app nginx's conf does include the
appropriate snippet.
You can monkeypatch init_portal (loading of the user portal) and
init_portal_button_and_overlay (loading of the button and overlay...) to do
custom stuff
===============================================================================
*/
var app_tile_colors = ['redbg','purpledarkbg','darkbluebg','orangebg','greenbg', 'yellowbg','lightpinkbg','pinkbg','turquoisebg','lightbluebg', 'bluebg'];
function set_app_tile_style(el)
{
// Select a color value from the App label
randomColorNumber = parseInt(el.textContent, 36) % app_tile_colors.length;
// Add color class.
el.classList.add(app_tile_colors[randomColorNumber]);
}
// Monkeypatch init_portal to customize the app tile style
init_portal_original = init_portal;
init_portal = function()
{
init_portal_original();
Array.each(document.getElementsByClassName("app-tile"), set_app_tile_style);
}
/*
* Monkey patching example to do custom stuff when loading inside an app
*
init_portal_button_and_overlay_original = init_portal_button_and_overlay;
init_portal_button_and_overlay = function()
{
init_portal_button_and_overlay_original();
// Custom stuff to do when loading inside an app
}
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -0,0 +1,17 @@
/*
===============================================================================
This file may contain extra CSS rules loaded on all apps page (*if* the app
nginx's conf does include the appropriate snippet) for the small YunoHost
button in bottom-right corner + portal overlay.
The yunohost button corresponds to : #ynh-overlay-switch
The yunohost portal overlay / iframe corresponds to : #ynh-overlay
BE CAREFUL that you should *not* add too-general rules that apply to
non-yunohost elements (for instance all 'a' or 'p' elements...) as it will
likely break app's rendering
===============================================================================
*/
#ynh-overlay-switch {
background-image: url("./cloud.png");
}

View file

@ -0,0 +1,78 @@
/*
===============================================================================
This file contain extra CSS rules to customize the YunoHost user portal and
can be used to customize app tiles, buttons, etc...
===============================================================================
*/
/* Make page texts white */
.user-container h2,
.user-container small,
.user-container .user-mail,
.user-container .user-mail,
.content .footer a,
a.app-tile,
#ynh-logout {
color: white !important;
}
body {
color: white !important;
text-shadow: 3px 4px 4px rgba(0,0,0,.4), -1px -1px 6px rgba(0,0,0,0.2);
}
.ynh-user-portal {
background-image: url('https://source.unsplash.com/random/featured/?nature') !important;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100%;
}
/* Apps colors */
.app-tile {
background-color: rgba(255, 255, 255, 0.5) !important;
}
.app-tile:hover:after,
.app-tile:focus:after,
.app-tile:hover:before,
.app-tile:focus:before {
background: rgba(255, 255, 255, 0.5) !important;
}
/* Use a custom logo image */
#ynh-logo {
z-index: 10;
background-image: url("./cloud.png");
}
/* Round the form */
.login-form label:before {
border-top-left-radius: 5em ;
border-bottom-left-radius: 5em ;
}
.login-form * {
border-radius: 5em;
}
/* Make form black */
.login-form label::before {
background: #000;
color: #FFF;
}
.login-form .form-group * {
background: #000;
color: #FFF;
}
.icon {
background: #000;
}
.messages {
border-radius: .5em;
}

View file

@ -0,0 +1,14 @@
/*
===============================================================================
This file may contain extra CSS rules loaded on all apps page (*if* the app
nginx's conf does include the appropriate snippet) for the small YunoHost
button in bottom-right corner + portal overlay.
The yunohost button corresponds to : #ynh-overlay-switch
The yunohost portal overlay / iframe corresponds to : #ynh-overlay
BE CAREFUL that you should *not* add too-general rules that apply to
non-yunohost elements (for instance all 'a' or 'p' elements...) as it will
likely break app's rendering
===============================================================================
*/

View file

@ -0,0 +1,109 @@
/*
===============================================================================
This file contain extra CSS rules to customize the YunoHost user portal and
can be used to customize app tiles, buttons, etc...
===============================================================================
*/
/* ==========================================================================
Vaporwave theme
========================================================================== */
.ynh-user-portal {
min-height: 100vh;
background: rgb(205, 118, 255) !important;
background: -moz-linear-gradient(45deg, rgb(205, 118, 255) 0%, rgb(93, 150, 168) 100%) !important;
background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgb(205, 118, 255)), color-stop(100%, rgb(93, 150, 168))) !important;
background: -webkit-linear-gradient(45deg, rgb(205, 118, 255) 0%, rgb(93, 150, 168) 100%) !important;
background: -o-linear-gradient(45deg, rgb(205, 118, 255) 0%, rgb(93, 150, 168) 100%) !important;
background: -ms-linear-gradient(45deg, rgb(205, 118, 255) 0%, rgb(93, 150, 168) 100%) !important;
background: linear-gradient(45deg, rgb(205, 118, 255) 0%, rgb(93, 150, 168) 100%) !important;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#C82BFF', endColorstr='#0C76A8', GradientType=1) !important;
}
.messages.danger { background: #c0392b80; }
.messages.warning { background: #e67e2280; }
.messages.success { background: #27ae6080; }
.messages.info { background: #2980b980; }
a, small, span,
.ynh-wrapper.footer a,
.user-menu a,
.user-container.user-container-info span,
input.btn.classic-btn.large-btn {
color: #e0e0e0 !important;
}
.form-group input::placeholder,
.form-group input::-ms-input-placeholder,
.form-group input:-ms-input-placeholder {
color: #f4f4f4 !important;
}
form.login-form input {
color: #222 !important;
}
a:hover,
a:active,
a:focus,
.form-group input,
input.btn.classic-btn.large-btn:hover,
.ynh-wrapper.footer a:hover {
color: white !important;
}
.ynh-wrapper.footer a:before {
color: #cc45ee !important;
}
.ynh-wrapper.footer nav {
border-color: #cc45ee !important;
}
.listing-apps li a span,
.listing-apps li a:hover span,
.listing-apps li a:active span,
.listing-apps li a:focus span {
color: white !important;
}
.listing-apps li,
.listing-apps li a {
transition: all 0.3s ease-in-out, background 0ms; /* fix gray flicker on initial load */
border: none transparent !important;
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1),
-2px -2px 3px 0 rgba(0, 0, 0, 0.1) inset;
}
.listing-apps li:hover,
.listing-apps li a:hover {
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0),
-2px -2px 3px 0 rgba(0, 0, 0, 0) inset;
}
.btn.large-btn.classic-btn,
.btn.large-btn.validate-btn {
background: rgba(200, 200, 200, 0.4) !important;
}
.btn.large-btn.classic-btn:hover,
.btn.large-btn.validate-btn:hover {
background: rgba(255, 255, 255, 0.4) !important;
}
/* There are no colors, there is only vapor! */
.app-tile,
.form-group input,
.form-group label,
a.btn:hover,
.btn.large-btn {
background: rgba(200, 200, 200, 0.2) !important;
border: none;
}
.app-tile:hover:after,
.app-tile:focus:after,
.app-tile:hover:before,
.app-tile:focus:before {
background: rgba(200, 200, 200, 0.4) !important;
}

View file

@ -0,0 +1,33 @@
/*
===============================================================================
This JS file may be used to customize the YunoHost user portal *and* also
will be loaded in all app pages if the app nginx's conf does include the
appropriate snippet.
You can monkeypatch init_portal (loading of the user portal) and
init_portal_button_and_overlay (loading of the button and overlay...) to do
custom stuff
===============================================================================
*/
/*
* Monkeypatch init_portal to customize the app tile style
*
init_portal_original = init_portal;
init_portal = function()
{
init_portal_original();
// Some stuff here
}
*/
/*
* Monkey patching example to do custom stuff when loading inside an app
*
init_portal_button_and_overlay_original = init_portal_button_and_overlay;
init_portal_button_and_overlay = function()
{
init_portal_button_and_overlay_original();
// Custom stuff to do when loading inside an app
}
*/

View file

@ -1,16 +1,16 @@
<div class="wrapper user">
<div class="ynh-wrapper user">
<ul class="user-menu">
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
<li><a id="ynh-logout" class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
</ul>
<a class="user-container user-container-edit" href="info.html">
<a class="user-container user-container-edit" href="portal.html">
<h2 class="user-username">{{{uid}}}</h2>
<small class="user-fullname">{{givenName}} {{sn}}</small>
<span class="user-mail">{{mail}}</span>
</a>
</div>
<div class="wrapper edit">
<div class="ynh-wrapper edit">
<form class="form-edit" role="form" method="POST" action="edit.html">
<div class="form-section">
@ -28,7 +28,6 @@
<div class="form-section">
<div class="form-group" id="form-add-mail-alias">
<label for="mail" class="control-label">{{t_mail_addresses}}</label>
<a class="help-link" href="#">?</a>
<input type="email" name="mail" class="form-text" value="{{mail}}" placeholder="{{t_new_mail}}" required>
{{#mailalias}}
<input type="email" name="mailalias[]" class="form-text" value="{{.}}">
@ -39,7 +38,6 @@
<div class="form-group" id="form-add-mail-drop">
<label for="mailforward" class="control-label">{{t_mail_forward}}</label>
<a class="help-link" href="#">?</a>
{{#maildrop}}
<input type="email" name="maildrop[]" class="form-text" value="{{.}}">
{{/maildrop}}
@ -49,12 +47,12 @@
</div>
<div class="btn-group">
<a href="info.html" class="btn large-btn">{{t_cancel}}</a>
<a role="button" href="portal.html" class="btn large-btn">{{t_cancel}}</a>
<input type="submit" class="btn classic-btn large-btn" value="{{t_ok}}">
</div>
<div class="btn-group">
<a href="password.html" class="btn validate-btn large-btn">{{t_change_password}}</a>
<a role="button" href="password.html" class="btn validate-btn large-btn">{{t_change_password}}</a>
</div>
</form>

View file

@ -1,8 +1,8 @@
{{#connected}}
<div class="wrapper footer"><nav>
<a class="link-profile-edit" href="/yunohost/sso/edit.html">{{t_footerlink_edit}}</a>
<div class="ynh-wrapper footer"><nav>
<a class="link-profile-edit" href="edit.html">{{t_footerlink_edit}}</a>
<a class="link-documentation" href="//yunohost.org/docs" target="_blank">{{t_footerlink_documentation}}</a>
<a class="link-documentation" href="//yunohost.org/support" target="_blank">{{t_footerlink_support}}</a>
<a class="link-documentation" href="//yunohost.org/help" target="_blank">{{t_footerlink_support}}</a>
<a class="link-admin" href="/yunohost/admin/" target="_blank">{{t_footerlink_administration}}</a>
</nav></div>
{{/connected}}
@ -10,6 +10,9 @@
</div>
<!-- Scripts -->
<script src="assets/js/global.js"></script>
<script src="assets/js/ynh_portal.js"></script>
{{#theme}}
<script src="assets/themes/{{theme}}/custom_portal.js"></script>
{{/theme}}
</body>
</html>

View file

@ -12,7 +12,8 @@
<meta name="robots" content="noindex, nofollow">
<!-- Stylesheets -->
<link rel="stylesheet" href="assets/css/ynh-style.css">
<link rel="stylesheet" href="assets/css/ynh_portal.css">
<link rel="stylesheet" href="assets/themes/{{theme}}/custom_portal.css">
<!-- Icons -->
<link rel="shortcut icon" href="assets/icons/favicon.ico">
@ -32,13 +33,13 @@
<meta name="msapplication-TileColor" content="#41444f">
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
</head>
<body class="{{#connected}}logged{{/connected}}">
<body class="ynh-user-portal {{#connected}}logged{{/connected}}">
<h1 id="logo" class="logo">
<img src="assets/img/logo-ynh-white.svg"/><span class="element-invisible">Yunohost</span>
</h1>
<div id="ynh-logo" class="ynh-logo">
<span class="element-invisible">Yunohost</span>
</div>
<div class="overlay">
<div class="content">
{{#flash_win}}
<div class="wrapper messages success">{{.}}</div>
{{/flash_win}}
@ -50,4 +51,3 @@
{{#flash_info}}
<div class="wrapper messages info">{{.}}</div>
{{/flash_info}}

49
portal/locales/ar.json Normal file
View file

@ -0,0 +1,49 @@
{
"portal": "بوابة يونوهوست",
"information": "معلوماتك",
"username": "إسم المستخدم",
"password": "كلمة السر",
"fullname": "الإسم الكامل",
"mail_addresses": "عناوين البريد الإلكترونية",
"mail_forward": "عناوين توجيه البريد الإلكتروني",
"new_mail": "newmail@mydomain.org",
"new_forward": "newforward@myforeigndomain.org",
"add_mail": "إضافة عنوان بريد إلكتروني مستعار",
"add_forward": "إضافة عنوان آخر لتوجيه البريد",
"ok": "موافق",
"cancel": "إلغاء",
"change_password": "تعديل كلمة السر",
"edit": "تعديل",
"current_password": "كلمة السر الحالية",
"new_password": "كلمة السر الجديدة",
"confirm": "تأكيد",
"login": "لِج",
"logout": "الخروج",
"password_changed": "تم تغيير الكلمة السرية",
"password_changed_error": "لا يمكن تعديل الكلمة السرية",
"password_not_match": "كلمات السر غير متطابقة",
"wrong_current_password": "كلمة السر الحالية خاطئة",
"invalid_mail": "عنوان البريد الإلكتروني غير صالح",
"invalid_domain": "النطاق غير صالح في",
"invalid_mailforward": "عنوان بريد التحويل غير صالح",
"mail_already_used": "عنوان البريد الإلكتروني مُستعمل مِن قَبل",
"information_updated": "تم تحديث المعلومات",
"user_saving_fail": "لا يمكن حفظ معلومات المستخدم",
"missing_required_fields": "يُرجى ملئ الخانات المطلوبة",
"wrong_username_password": "إسم المستخدم أو كلمة السر خاطئة",
"logged_out": "تم تسجيل خروجك",
"please_login": "يرجى تسجيل الدخول قصد النفاذ إلى هذا المحتوى",
"please_login_from_portal": "يرجى تسجيل الدخول عبر البوابة",
"redirection_error_invalid_url": "خطأ في التحويل : عنوان الرابط غير صالح",
"redirection_error_unmanaged_domain": "خطأ في التحويل : لا يمكن إدارة النطاق",
"footerlink_edit": "تعديل ملفي الشخصي",
"footerlink_documentation": "الدليل",
"footerlink_support": "المساعدة",
"footerlink_administration": "الإدارة",
"password_too_simple_1": "يجب أن يكون طول الكلمة السرية على الأقل 8 حروف",
"good_practices_about_user_password": "اختر كلمة مرور مكونة مِن 8 أحرف على الأقل - مع العِلم أنّه مِن الممارسات الجيدة استخدام الأطول (أي عبارة مرور) و/أو إستخدام أنواع مختلفة من الأحرف (الحروف الكبيرة والصغيرة والأرقان والحروف الخاصة).",
"password_too_simple_4": "يجب أن يكون طول الكلمة السرية 12 حرفًا على الأقل وأن تحتوي على أرقام وحروف علوية ودنيا وحروف رمزية",
"password_too_simple_3": "يجب أن يكون طول كلمة المرور 8 حروف على الأقل وأن تحتوي على أرقام وحروف علوية ودنيا وحروف رمزية",
"password_too_simple_2": "يجب أن يكون طول كلمة المرور 8 حروف على الأقل وأن تحتوي على أرقام وحروف علوية ودنيا",
"password_listed": "إنّ الكلمة السرية هذه من بين أكثر الكلمات السرية إستخداما في العالم. الرجاء إختيار شيء فريد مِن نوعه."
}

49
portal/locales/bn_BD.json Normal file
View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "প্রশাসন",
"footerlink_support": "সমর্থন",
"footerlink_documentation": "নথিপত্র",
"footerlink_edit": "আমার প্রোফাইল সম্পাদনা করুন",
"redirection_error_unmanaged_domain": "পুনঃনির্দেশ ত্রুটি: নিয়ন্ত্রণহীন ডোমেন",
"redirection_error_invalid_url": "পুনঃনির্দেশ ত্রুটি: অবৈধ ইউআরএল",
"please_login_from_portal": "পোর্টাল থেকে লগ ইন করুন",
"please_login": "এই সামগ্রীতে অ্যাক্সেস করতে লগ ইন করুন",
"logged_out": "প্রস্থান",
"wrong_username_password": "ভুল ব্যবহারকারী নাম বা পাসওয়ার্ড",
"missing_required_fields": "প্রয়োজনীয় ক্ষেত্রগুলি পূরণ করুন",
"user_saving_fail": "নতুন ব্যবহারকারীর তথ্য সংরক্ষণ করা যায়নি",
"information_updated": "তথ্য আপডেট হয়েছে",
"mail_already_used": "ই-মেইল ঠিকানা ইতিমধ্যে ব্যবহৃত",
"invalid_mailforward": "অবৈধ ইমেল ফরোয়ার্ডিং ঠিকানা",
"invalid_domain": "এতে অবৈধ ডোমেন",
"invalid_mail": "অকার্যকর ইমেইল ঠিকানা",
"wrong_current_password": "বর্তমান পাসওয়ার্ডটি ভুল",
"good_practices_about_user_password": "কমপক্ষে 8 টি অক্ষরের ব্যবহারকারীর পাসওয়ার্ডটি চয়ন করুন - যদিও এটি দীর্ঘতর (যেমন একটি পাসফ্রেজ) এবং / অথবা বিভিন্ন ধরণের অক্ষর (বড় হাতের অক্ষর, ছোট হাতের অক্ষর এবং বিশেষ অক্ষর) ব্যবহার করা ভাল অনুশীলন।",
"password_too_simple_4": "পাসওয়ার্ডটিতে কমপক্ষে 12 টি অক্ষর দীর্ঘ হওয়া দরকার এবং এতে অঙ্ক, উপরের, নিম্ন এবং বিশেষ অক্ষরগুলি থাকে",
"password_too_simple_3": "পাসওয়ার্ডটিতে কমপক্ষে 8 টি অক্ষর দীর্ঘ হওয়া দরকার এবং এতে অঙ্ক, উপরের, নিম্ন এবং বিশেষ অক্ষরগুলি থাকে",
"password_too_simple_2": "পাসওয়ার্ডটিতে কমপক্ষে 8 টি অক্ষর দীর্ঘ হওয়া দরকার এবং এতে অঙ্ক, উপরের এবং নীচের অক্ষরগুলি থাকে",
"password_too_simple_1": "পাসওয়ার্ডটি কমপক্ষে 8 টি অক্ষরের দীর্ঘ হওয়া দরকার",
"password_listed": "এই পাসওয়ার্ডটি বিশ্বের সর্বাধিক ব্যবহৃত পাসওয়ার্ডগুলির মধ্যে রয়েছে। দয়া করে কিছুটা অনন্য কিছু চয়ন করুন।",
"password_not_match": "পাসওয়ার্ড মেলে না",
"password_changed_error": "পাসওয়ার্ড পরিবর্তন করা যায়নি",
"password_changed": "পাসওয়ার্ড পরিবর্তন",
"logout": "প্রস্থান",
"login": "প্রবেশ করুন",
"confirm": "নিশ্চিত করুন",
"new_password": "নতুন পাসওয়ার্ড",
"current_password": "বর্তমান পাসওয়ার্ড",
"edit": "সম্পাদন করা",
"change_password": "পাসওয়ার্ড পরিবর্তন করুন",
"cancel": "বাতিল",
"ok": "ঠিক আছে",
"add_forward": "একটি ইমেল ফরোয়ার্ডিং ঠিকানা যুক্ত করুন",
"add_mail": "একটি ইমেল ওরফে যুক্ত করুন",
"new_forward": "newforward@myforeigndomain.org",
"new_mail": "newmail@mydomain.org",
"mail_forward": "ই-মেইল ফরওয়ার্ডিং ঠিকানা",
"mail_addresses": "ইমেইল ঠিকানা",
"fullname": "পুরো নাম",
"password": "পাসওয়ার্ড",
"username": "ব্যবহারকারীর নাম",
"information": "আপনার তথ্য",
"portal": "ইউনোহোস্ট পোর্টাল"
}

49
portal/locales/ca.json Normal file
View file

@ -0,0 +1,49 @@
{
"portal": "Portal YunoHost",
"information": "La teva informació",
"username": "Nom d'usuari",
"password": "Contrasenya",
"fullname": "Nom complet",
"mail_addresses": "Adreces de correu electrònic",
"new_mail": "nou_correu@domini.org",
"add_mail": "Afegir un àlies de correu electrònic",
"ok": "OK",
"cancel": "Cancel·lar",
"change_password": "Canvia la contrasenya",
"edit": "Editar",
"current_password": "Contrasenya actual",
"new_password": "Nova contrasenya",
"confirm": "Confirmar",
"login": "Iniciar sessió",
"logout": "Tancar sessió",
"password_changed": "Contrasenya canviada",
"password_changed_error": "No s'ha pogut canviar la contrasenya",
"password_not_match": "Les contrasenyes no coincideixen",
"wrong_current_password": "La contrasenya actual és incorrecta",
"invalid_mail": "El correu electrònic no és vàlid",
"invalid_domain": "Domini invàlid a",
"mail_already_used": "El correu electrònic ja utilitzat",
"information_updated": "Informació actualitzada",
"user_saving_fail": "No s'han pogut enregistrar les noves dades de l'usuari",
"missing_required_fields": "Ompliu els camps obligatoris",
"wrong_username_password": "Contrasenya o nom d'usuari incorrectes",
"logged_out": "Sessió tancada",
"please_login": "Inicieu sessió per accedir a aquest contingut",
"please_login_from_portal": "Si us plau, inicieu sessió des del portal",
"redirection_error_invalid_url": "Error de redirecció: URL no vàlida",
"redirection_error_unmanaged_domain": "Error de redirecció: domini no gestionat",
"footerlink_edit": "Editar el meu perfil",
"footerlink_documentation": "Documentació",
"footerlink_support": "Ajuda",
"footerlink_administration": "Administració",
"mail_forward": "Correu electrònic de reenviament",
"new_forward": "noureenviament@dominiextern.org",
"add_forward": "Afegir un correu electrònic de reenviament",
"invalid_mailforward": "Correu electrònic de reenviament invàlid",
"password_listed": "Aquesta contrasenya és una de les més utilitzades en el món. Si us plau utilitzeu-ne una més única.",
"password_too_simple_1": "La contrasenya ha de tenir un mínim de 8 caràcters",
"password_too_simple_2": "La contrasenya ha de tenir un mínim de 8 caràcters i ha de contenir dígits, majúscules i minúscules",
"password_too_simple_3": "La contrasenya ha de tenir un mínim de 8 caràcters i tenir dígits, majúscules, minúscules i caràcters especials",
"password_too_simple_4": "La contrasenya ha de tenir un mínim de 12 caràcters i tenir dígits, majúscules, minúscules i caràcters especials",
"good_practices_about_user_password": "Tria una contrasenya d'un mínim de 8 caràcters - tot i que és de bona pràctica utilitzar contrasenyes més llargues (com per exemple una frase) i/o utilitzar diferents tipus de caràcters (majúscules, minúscules, dígits i caràcters especials)."
}

1
portal/locales/ckb.json Normal file
View file

@ -0,0 +1 @@
{}

49
portal/locales/cs.json Normal file
View file

@ -0,0 +1,49 @@
{
"add_mail": "Přidat e-mail alias",
"new_forward": "newforward@myforeigndomain.org",
"new_mail": "newmail@mydomain.org",
"mail_forward": "E-mail pro přeposílání",
"mail_addresses": "E-mailová adresa",
"fullname": "Jméno a příjmení",
"password": "Heslo",
"username": "Uživatelské jméno",
"information": "Vaše údaje",
"portal": "YunoHost Portál",
"footerlink_administration": "Administrace",
"footerlink_support": "Podpora",
"footerlink_documentation": "Dokumentace",
"footerlink_edit": "Upravit svůj profil",
"redirection_error_unmanaged_domain": "Chyba přesměrování: Doména není spravována",
"redirection_error_invalid_url": "Chyba přesměrování: Neplatné URL",
"please_login_from_portal": "Prosím přihlašte se z portálu",
"please_login": "Pro přístup k obsahu se prosím přihlašte",
"logged_out": "Jste odhlášen/a",
"wrong_username_password": "Chybné uživatelské jméno nebo heslo",
"missing_required_fields": "Vyplňte povinné údaje",
"user_saving_fail": "Nelze uložit uživatelské údaje",
"information_updated": "Údaje upraveny",
"mail_already_used": "Tato e-mailová adresa se už používá",
"invalid_mailforward": "Neplatná e-mailová adresa pro přeposílání",
"invalid_domain": "Neplatná doména v",
"invalid_mail": "Neplatná e-mailová adresa",
"wrong_current_password": "Současné heslo je chybné",
"good_practices_about_user_password": "Vyberte si heslo aspoň 8 znaků dlouhé - dobrou praxí je ale používat delší frázi a používat různé druhy znaků (velká a malá písmena, číslice a speciální znaky).",
"password_too_simple_4": "Heslo musí být aspoň 12 znaků dlouhé a obsahovat čísla, velká a malá písmena a speciální znaky",
"password_too_simple_3": "Heslo musí být aspoň 8 znaků dlouhé a obsahovat čísla, velká a malá písmena a speciální znaky",
"password_too_simple_2": "Heslo musí být aspoň 8 znaků dlouhé a obsahovat číslici, velká a malá písmena",
"password_too_simple_1": "Heslo musí být aspoň 8 znaků dlouhé",
"password_listed": "Toto heslo je jedním z nejpoužívanějších na světě. Zvolte si prosím něco jediněčnějšího.",
"password_not_match": "Hesla se neshodují",
"password_changed_error": "Heslo nebylo změněno",
"password_changed": "Heslo změněno",
"logout": "Odhlásit se",
"login": "Přihlásit se",
"confirm": "Potvrdit",
"new_password": "Nové heslo",
"current_password": "Současné heslo",
"edit": "Upravit",
"change_password": "Změnit heslo",
"cancel": "Storno",
"ok": "OK",
"add_forward": "Přidat e-mailovou adresu pro přeposílání"
}

1
portal/locales/da.json Normal file
View file

@ -0,0 +1 @@
{}

View file

@ -1,41 +1,49 @@
{
"portal": "YunoHost Portal",
"information": "Deine Informationen",
"username": "Benutzername",
"password": "Passwort",
"fullname": "Vollständiger Name",
"mail_addresses": "E-Mail Adressen",
"mail_forward": "E-Mail Weiterleitung",
"new_mail": "neuemail@meinedomain.org",
"new_forward": "neueweiterleitung@anderedomain.org",
"add_mail": "E-Mail alias hinzufügen",
"add_forward": "E-Mail Weiterleitung hinzufügen",
"ok": "OK",
"add_forward": "E-Mail-Weiterleitung hinzufügen",
"add_mail": "E-Mail-Alias hinzufügen",
"cancel": "Abbrechen",
"change_password": "Passwort ändern",
"edit": "Bearbeiten",
"current_password": "Derzeitiges Passwort",
"new_password": "Neues Passwort",
"confirm": "Bestätigen",
"current_password": "Aktuelles Passwort",
"edit": "Bearbeiten",
"footerlink_administration": "Verwaltung",
"footerlink_documentation": "Dokumentation",
"footerlink_edit": "Mein Profil bearbeiten",
"footerlink_support": "Support",
"fullname": "Vollständiger Name",
"information": "Ihre Informationen",
"information_updated": "Informationen aktualisiert",
"invalid_domain": "Ungültige Domäne angegeben",
"invalid_mail": "Ungültige E-Mail-Adresse",
"invalid_mailforward": "Ungültige E-Mail-Weiterleitung",
"logged_out": "Abgemeldet",
"login": "Anmelden",
"logout": "Abmelden",
"password_changed": "Passwort erfolgreich geändert",
"password_changed_error": "Beim ändern des Passworts ist ein Fehler aufgetreten",
"password_not_match": "Die neuen Passwörter stimmen nicht überein",
"wrong_current_password": "Derzeitiges Passwort ist falsch",
"invalid_mail": "Ungültige E-Mail Adresse",
"invalid_domain": "Ungültige Domain in",
"invalid_mailforward": "Ungültige E-Mail Weiterleitungsadresse",
"mail_already_used": "E-Mail Adresse wird bereits verwendet:",
"information_updated": "Informationen wurden aktualisiert",
"user_saving_fail": "Beim ändern der Benutzerinformationen ist ein Fehler aufgetreten",
"missing_required_fields": "Benötigte Felder fehlen",
"wrong_username_password": "Falscher Benutzername oder Passwort",
"logged_out": "Abgemeldet",
"please_login": "Bitte logge dich ein, um auf diesen Inhalt zu zugreifen",
"please_login_from_portal": "Bitte logge dich im Portal ein",
"footerlink_edit": "Mein Profil editieren",
"footerlink_documentation": "Dokumentation",
"footerlink_support": "Support",
"footerlink_administration": "Administration"
"mail_addresses": "E-Mail-Adressen",
"mail_already_used": "Diese E-Mail-Adresse wird bereits verwendet",
"mail_forward": "E-Mail-Weiterleitung",
"missing_required_fields": "Die notwendigen Felder müssen ausgefüllt werden",
"new_forward": "neueweiterleitung@anderedomain.org",
"new_mail": "neueadresse@meinedomain.org",
"new_password": "Neues Passwort",
"ok": "OK",
"password": "Passwort",
"password_changed": "Passwort geändert",
"password_changed_error": "Passwort konnte nicht geändert werden",
"password_not_match": "Die Passwörter stimmen nicht überein",
"please_login": "Bitte melden Sie sich an, um auf diese Inhalte zuzugreifen",
"please_login_from_portal": "Bitte melden Sie sich über das Portal an",
"portal": "YunoHost-Portal",
"user_saving_fail": "Neue Kontoinformationen konnten nicht gespeichert werden",
"username": "Benutzername",
"wrong_current_password": "Aktuelles Passwort ist falsch",
"wrong_username_password": "Falscher Anmeldename oder Passwort",
"redirection_error_invalid_url": "Weiterleitungsfehler: Ungültige URL",
"redirection_error_unmanaged_domain": "Weiterleitungsfehler: Nicht-verwaltete Domain",
"good_practices_about_user_password": "Wählen Sie ein Benutzerpasswort mit mindestens 8 Zeichen - es ist jedoch empfehlenswert, ein längeres Passwort (z.B. eine Passphrase) und/oder verschiedene Arten von Zeichen (Groß- und Kleinschreibung, Ziffern und Sonderzeichen) zu verwenden.",
"password_too_simple_3": "Das Passwort muss mindestens 8 Zeichen lang sein und Grossbuchstaben, Kleinbuchstaben, Zahlen und Sonderzeichen enthalten",
"password_too_simple_2": "Das Passwort muss mindestens 8 Zeichen lang sein und Gross- und Kleinbuchstaben sowie Zahlen enthalten",
"password_listed": "Dieses Passwort zählt zu den meistgenutzten Passwörtern der Welt. Bitte wähle ein anderes, einzigartigeres Passwort.",
"password_too_simple_4": "Das Passwort muss mindestens 12 Zeichen lang sein und Grossbuchstaben, Kleinbuchstaben, Zahlen und Sonderzeichen enthalten",
"password_too_simple_1": "Das Passwort muss mindestens 8 Zeichen lang sein"
}

49
portal/locales/el.json Normal file
View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "Διαχείριση",
"footerlink_support": "Υποστήριξη",
"footerlink_documentation": "Τεκμηρίωση",
"footerlink_edit": "Επεξεργασία του προφίλ μου",
"redirection_error_unmanaged_domain": "Σφάλμα ανακατεύθυνσης: Μη διαχειριζόμενος τομέας",
"redirection_error_invalid_url": "Σφάλμα ανακατεύθυνσης: Μη έγκυρο URL",
"please_login_from_portal": "Συνδεθείτε από την πύλη",
"please_login": "Συνδεθείτε για πρόσβαση σε αυτό το περιεχόμενο",
"logged_out": "Αποσυνδέθηκα",
"wrong_username_password": "Λάθος όνομα χρήστη ή κωδικός",
"missing_required_fields": "Συμπληρώστε τα απαιτούμενα πεδία",
"user_saving_fail": "Δεν ήταν δυνατή η αποθήκευση νέων πληροφοριών χρήστη",
"information_updated": "Οι πληροφορίες ενημερώθηκαν",
"mail_already_used": "Γίνεται ήδη χρήση της διεύθυνσης ηλεκτρονικού ταχυδρομείου",
"invalid_mailforward": "Μη έγκυρη διεύθυνση προώθησης e-mail",
"invalid_domain": "Μη έγκυρος τομέας στο",
"invalid_mail": "Μη έγκυρη διεύθυνση e-mail",
"wrong_current_password": "Ο τρέχων κωδικός πρόσβασης είναι λάθος",
"good_practices_about_user_password": "Διαλέξτε έναν κωδικό πρόσβασης χρήστη με τουλάχιστον 8 χαρακτήρες - αν και είναι καλή πρακτική να χρησιμοποιείτε μακρύτερους (δηλαδή μια φράση πρόσβασης) ή / και να χρησιμοποιείτε διάφορους τύπους χαρακτήρων (κεφαλαία, πεζά, ψηφία και ειδικούς χαρακτήρες).",
"password_too_simple_4": "Ο κωδικός πρόσβασης πρέπει να έχει μήκος τουλάχιστον 12 χαρακτήρων και περιέχει ψηφία, άνω, κάτω και ειδικούς χαρακτήρες",
"password_too_simple_3": "Ο κωδικός πρόσβασης πρέπει να έχει τουλάχιστον 8 χαρακτήρες και περιέχει ψηφία, άνω, κάτω και ειδικούς χαρακτήρες",
"password_too_simple_2": "Ο κωδικός πρόσβασης πρέπει να έχει τουλάχιστον 8 χαρακτήρες και περιέχει ψηφία, άνω και κάτω χαρακτήρες",
"password_too_simple_1": "Ο κωδικός πρόσβασης πρέπει να έχει τουλάχιστον 8 χαρακτήρες",
"password_listed": "Αυτός ο κωδικός πρόσβασης είναι από τους πιο χρησιμοποιούμενους κωδικούς πρόσβασης στον κόσμο. Επιλέξτε κάτι λίγο πιο μοναδικό.",
"password_not_match": "Οι κωδικοί πρόσβασης δεν ταιριάζουν",
"password_changed_error": "Δεν ήταν δυνατή η αλλαγή κωδικού πρόσβασης",
"password_changed": "Ο κωδικός άλλαξε",
"logout": "Αποσύνδεση",
"login": "Σύνδεση",
"confirm": "Επιβεβαιώνω",
"new_password": "Νέος Κωδικός",
"current_password": "Τρέχων κωδικός πρόσβασης",
"edit": "Επεξεργασία",
"change_password": "Αλλαξε κωδικό",
"cancel": "Ματαίωση",
"ok": "Εντάξει",
"add_forward": "Προσθέστε μια διεύθυνση προώθησης email",
"add_mail": "Προσθέστε ένα ψευδώνυμο email",
"new_forward": "νέοπροςταεμπρός@οξένοςτομέαςμου.org",
"new_mail": "νέοταχυδρομείο@οτομέαςμου.org",
"mail_forward": "Διεύθυνση προώθησης ηλεκτρονικού ταχυδρομείου",
"mail_addresses": "Διευθύνσεις ηλεκτρονικού ταχυδρομείου",
"fullname": "Πλήρες όνομα",
"password": "Κωδικός πρόσβασης",
"username": "Όνομα χρήστη",
"information": "Τα στοιχεία σας",
"portal": "Πύλη YunoHost"
}

View file

@ -1,15 +1,15 @@
{
"portal": "YunoHost Portal",
"information": "Your information",
"information": "Your info",
"username": "Username",
"password": "Password",
"fullname": "Fullname",
"mail_addresses": "Mail addresses",
"mail_forward": "Mail forward",
"fullname": "Full name",
"mail_addresses": "E-mail addresses",
"mail_forward": "E-mail forwarding address",
"new_mail": "newmail@mydomain.org",
"new_forward": "newforward@myforeigndomain.org",
"add_mail": "Add a mail alias",
"add_forward": "Add a mail forward",
"add_mail": "Add an e-mail alias",
"add_forward": "Add an e-mail forwarding address",
"ok": "OK",
"cancel": "Cancel",
"change_password": "Change password",
@ -17,23 +17,31 @@
"current_password": "Current password",
"new_password": "New password",
"confirm": "Confirm",
"login": "Login",
"logout": "Logout",
"password_changed": "Password successfully changed",
"password_changed_error": "An error occurred on password changing",
"password_not_match": "New passwords don't match",
"wrong_current_password": "Current password is wrong",
"invalid_mail": "Invalid mail address",
"login": "Log in",
"logout": "Log out",
"password_changed": "Password changed",
"password_changed_error": "Could not change password",
"password_not_match": "The passwords don't match",
"password_listed": "This password is among the most used passwords in the world. Please choose something a bit more unique.",
"password_too_simple_1": "The password needs to be at least 8 characters long",
"password_too_simple_2": "The password needs to be at least 8 characters long and contains digit, upper and lower characters",
"password_too_simple_3": "The password needs to be at least 8 characters long and contains digit, upper, lower and special characters",
"password_too_simple_4": "The password needs to be at least 12 characters long and contains digit, upper, lower and special characters",
"good_practices_about_user_password": "Pick a user password of at least 8 characters - though it is good practice to use longer ones (i.e. a passphrase) and/or use various kind of characters (uppercase, lowercase, digits and special characters).",
"wrong_current_password": "The current password is wrong",
"invalid_mail": "Invalid e-mail address",
"invalid_domain": "Invalid domain in",
"invalid_mailforward": "Invalid mail forward address",
"mail_already_used": "Mail address already used:",
"information_updated": "Information updated",
"user_saving_fail": "An error occurred on user's modification saving",
"missing_required_fields": "Required fields are missing",
"invalid_mailforward": "Invalid e-mail forwarding address",
"mail_already_used": "E-mail address already in use",
"information_updated": "Info updated",
"user_saving_fail": "Could not save new user info",
"missing_required_fields": "Fill in the required fields",
"wrong_username_password": "Wrong username or password",
"logged_out": "Logged out",
"please_login": "Please log in to access to this content",
"please_login_from_portal": "Please log in from the portal",
"redirection_error_invalid_url": "Redirection error: Invalid URL",
"redirection_error_unmanaged_domain": "Redirection error: Unmanaged domain",
"footerlink_edit": "Edit my profile",
"footerlink_documentation": "Documentation",
"footerlink_support": "Support",

49
portal/locales/eo.json Normal file
View file

@ -0,0 +1,49 @@
{
"password": "Pasvorto",
"username": "Uzantnomo",
"mail_addresses": "Retpoŝtadresoj",
"information": "Via informoj",
"new_password": "Nova pasvorto",
"current_password": "Nuna pasvorto",
"login": "Ensaluti",
"logout": "Elsaluti",
"change_password": "Ŝanĝi pasvorton",
"edit": "Redakti",
"cancel": "Nuligi",
"portal": "Yunohost portalo",
"fullname": "Plena nomo",
"new_mail": "nova-adreso@mia-domajno.org",
"confirm": "Konfirmu",
"password_changed": "Pasvorto ŝanĝita",
"password_changed_error": "Ne povis ŝanĝi pasvorton",
"password_not_match": "La pasvortoj ne kongruas",
"footerlink_administration": "Administrado",
"footerlink_support": "Subteno",
"footerlink_documentation": "Dokumentado",
"footerlink_edit": "Redakti mian profilon",
"redirection_error_unmanaged_domain": "Redirekta eraro: Ne administrita domajno",
"redirection_error_invalid_url": "Redirekta eraro: Nevalida URL",
"please_login_from_portal": "Bonvolu ensaluti de la portalo",
"please_login": "Bonvolu ensaluti por aliri ĉi tiun enhavon",
"logged_out": "Ensalutinta",
"wrong_username_password": "Malĝusta uzantnomo aŭ pasvorto",
"missing_required_fields": "Plenigu la postulatajn kampojn",
"user_saving_fail": "Ne povis konservi novajn uzantinformojn",
"information_updated": "Informoj ĝisdatigitaj",
"mail_already_used": "Retpoŝtadreso jam en uzo",
"invalid_mailforward": "Nevalida retpoŝtadreso",
"invalid_domain": "Nevalida domajno en",
"invalid_mail": "Nevalida retpoŝta adreso",
"wrong_current_password": "Aktuala pasvorto estas malĝusta",
"good_practices_about_user_password": "Elektu uzantan pasvorton de almenaŭ 8 signoj - kvankam ĝi estas bona praktiko uzi pli longajn (I.E. Pasfraso) kaj / aŭ uzas diversajn specojn de karakteroj (majusklaj, minusklaj, ciferoj kaj specialaj signoj).",
"password_too_simple_4": "La pasvorto devas havi almenaŭ 12 signojn kaj enhavas ciferojn, suprajn, pli malaltajn kaj specialajn signojn",
"password_too_simple_3": "La pasvorto devas havi almenaŭ 8 signojn kaj enhavas ciferojn, suprajn, pli malaltajn kaj specialajn signojn",
"password_too_simple_2": "La pasvorto devas havi almenaŭ 8 signojn kaj enhavas ciferojn, suprajn kaj pli malaltajn signojn",
"password_too_simple_1": "Pasvorto devas esti almenaŭ 8 signojn longa",
"password_listed": "Ĉi tiu pasvorto estas inter la plej uzataj pasvortoj en la mondo. Bonvolu elekti ion pli unikan.",
"ok": "bone",
"add_forward": "Aldonu poŝton antaŭen",
"add_mail": "Aldonu poŝton alias",
"new_forward": "newforward@myforeigndomain.org",
"mail_forward": "Poŝti antaŭen"
}

49
portal/locales/es.json Normal file
View file

@ -0,0 +1,49 @@
{
"add_forward": "Añadir una dirección de reenvío de correo electrónico",
"add_mail": "Añadir un alias de correo electrónico",
"cancel": "Cancelar",
"change_password": "Cambiar contraseña",
"confirm": "Confirmar",
"current_password": "Contraseña actual",
"edit": "Editar",
"footerlink_administration": "Administración",
"footerlink_documentation": "Documentación",
"footerlink_edit": "Editar mi perfil",
"footerlink_support": "Ayuda",
"fullname": "Nombre completo",
"information": "Su información",
"information_updated": "Información actualizada",
"invalid_domain": "Dominio no válido en",
"invalid_mail": "La dirección de correo electrónico no es válida",
"invalid_mailforward": "La dirección de reenvío de correo electrónico no es válida",
"logged_out": "Sesión cerrada",
"login": "Iniciar sesión",
"logout": "Cerrar sesión",
"mail_addresses": "Direcciones de correo electrónico",
"mail_already_used": "Dirección de correo electrónico ya está en uso",
"mail_forward": "Dirección de reenvío de correo electrónico",
"missing_required_fields": "Faltan campos obligatorios",
"new_forward": "nuevoreenvio@midominioexterior.org",
"new_mail": "nuevomail@midominio.org",
"new_password": "Nueva contraseña",
"ok": "OK",
"password": "Contraseña",
"password_changed": "Contraseña cambiada correctamente",
"password_changed_error": "Se produjo un error cambiando la contraseña",
"password_not_match": "Las nuevas contraseñas no coinciden",
"please_login": "Inicie sesión para acceder a este contenido",
"please_login_from_portal": "Por favor, inicie sesión desde el portal",
"portal": "Portal YunoHost",
"user_saving_fail": "Se produjo un error al guardar los cambios del usuario",
"username": "Nombre de usuario",
"wrong_current_password": "La contraseña actual es incorrecta",
"wrong_username_password": "Nombre de usuario o contraseña incorrectos",
"redirection_error_invalid_url": "Error de redirección: url inválido",
"redirection_error_unmanaged_domain": "Error de redirección: Dominio no gestionado",
"password_listed": "Esta contraseña se encuentra entre las contraseñas más utilizadas en el mundo. Por favor, elija algo un poco más único.",
"password_too_simple_1": "La contraseña debe tener al menos 8 caracteres de longitud",
"password_too_simple_2": "La contraseña debe tener al menos 8 caracteres de longitud y contiene dígitos, mayúsculas y minúsculas",
"password_too_simple_3": "La contraseña debe ser de al menos 8 caracteres de longitud e incluir un número y caracteres en mayúsculas, minúsculas y caracteres especiales",
"password_too_simple_4": "La contraseña debe ser de al menos 12 caracteres de longitud e incluir un número, mayúsculas, minúsculas y caracteres especiales",
"good_practices_about_user_password": "Está a punto de establecer una nueva contraseña de usuario. La contraseña debería de ser de al menos 8 caracteres, aunque es una buena práctica usar una contraseña más larga (es decir, una frase de paso) y/o usar varias clases de caracteres (mayúsculas, minúsculas, dígitos y caracteres especiales)."
}

49
portal/locales/eu.json Normal file
View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "Administrazioa",
"footerlink_support": "Laguntza",
"footerlink_documentation": "Dokumentazioa",
"footerlink_edit": "Editatu profila",
"redirection_error_unmanaged_domain": "Birzuzenketa errorea: kudeatu gabeko domeinua",
"redirection_error_invalid_url": "Birbideraketa errorea: URL okerra",
"please_login_from_portal": "Hasi saioa atarian",
"please_login": "Hasi saioa edukira sartzeko",
"logged_out": "Saioa amaituta",
"wrong_username_password": "Erabiltzaile-izen edo pasahitz okerra",
"missing_required_fields": "Bete beharreko eremuak",
"user_saving_fail": "Ezinezkoa izan da erabiltzailearen informazio berria gordetzea",
"information_updated": "Informazioa eguneratu da",
"mail_already_used": "Helbide elektroniko hori erabiltzen ari zara dagoeneko",
"invalid_mailforward": "Birbidalketarako helbide okerra",
"invalid_domain": "Domeinu okerra",
"invalid_mail": "Helbide elektronikoa ez da zuzena",
"wrong_current_password": "Oraingo pasahitza okerra da",
"good_practices_about_user_password": "Aukeratu gutxienez 8 karaktere dituen erabiltzaile-pasahitz bat — baina gomendioa pasahitz luzeagoak erabiltzea da (adibidez, esaldi bat) edota karaktere desberdinak erabiltzea (larriak, txikiak, zenbakiak eta karaktere bereziak).",
"password_too_simple_4": "Pasahitzak 12 karaktere izan behar ditu gutxienez eta zenbakiren bat, hizki larriren bat, txikiren bat eta karaktere bereziren bat izan behar ditu",
"password_too_simple_3": "Pasahitzak 8 karaktere izan behar ditu gutxienez eta zenbakiak, hizki larriak, hizki txikiak eta karaktere bereziak izan behar ditu",
"password_too_simple_2": "Pasahitzak 8 karaktere izan behar ditu gutxienez eta zenbakiak, hizki larriak eta hizki txikiak izan behar ditu",
"password_too_simple_1": "Pasahitzak 8 karaktere izan behar ditu gutxienez",
"password_listed": "Pasahitz hau munduko pasahitz erabilienen artean dago. Aukeratu bereziagoa den zerbait.",
"password_not_match": "Pasahitzak ez datoz bat",
"password_changed_error": "Ezin izan da pasahitza aldatu",
"password_changed": "Pasahitza aldatu da",
"logout": "Amaitu saioa",
"login": "Hasi saioa",
"confirm": "Berretsi",
"new_password": "Pasahitz berria",
"current_password": "Oraingo pasahitza",
"edit": "Editatu",
"change_password": "Aldatu pasahitza",
"cancel": "Utzi",
"ok": "Ados",
"add_forward": "Gehitu helbide elektronikoa birbidaltzeko e-maila",
"add_mail": "Gehitu e-mail ezizen bat",
"new_forward": "birbidalketaberria@nirekanpokodomeinua.eus",
"new_mail": "postaberria@niredomeinua.eus",
"mail_forward": "Birbidalketarako posta elektronikoa",
"mail_addresses": "Helbide elektronikoak",
"fullname": "Izen osoa",
"password": "Pasahitza",
"username": "Erabiltzaile-izena",
"information": "Zure informazioa",
"portal": "YunoHost ataria"
}

49
portal/locales/fa.json Normal file
View file

@ -0,0 +1,49 @@
{
"cancel": "لغو",
"logged_out": "خارج شده",
"password": "کلمه عبور",
"ok": "خوب",
"footerlink_administration": "مدیریت",
"footerlink_support": "پشتیبانی",
"footerlink_documentation": "مستندات",
"footerlink_edit": "ویرایش پروفایل من",
"redirection_error_unmanaged_domain": "خطای تغییر مسیر: دامنه مدیریت نشده",
"redirection_error_invalid_url": "خطای تغییر مسیر: نشانی اینترنتی نامعتبر است",
"please_login_from_portal": "لطفاً از درگاه پورتال وارد شوید",
"please_login": "لطفاً برای دسترسی به این محتوا وارد شوید",
"wrong_username_password": "نام کاربری یا رمز عبور اشتباه است",
"missing_required_fields": "فیلدهای مورد نیاز را پر کنید",
"user_saving_fail": "اطلاعات کاربر جدید ذخیره نشد",
"information_updated": "اطلاعات به روز شد",
"mail_already_used": "آدرس پست الکترونیکی قبلاً استفاده می شود",
"invalid_mailforward": "آدرس ارسال ایمیل نامعتبر است",
"invalid_domain": "دامنه نامعتبر در",
"invalid_mail": "آدرس ایمیل نامعتبر است",
"wrong_current_password": "رمز فعلی اشتباه است",
"good_practices_about_user_password": "گذرواژه کاربر متشکل ازانواع مختلف کاراکترها (بزرگ ، کوچک ، رقم و کاراکتر های خاص)را حداقل با 8 کاراکتر انتخاب کنید - هرچند استفاده از کلمات طولانی تر تمرین خوبی است (مانند عبارت عبور).",
"password_too_simple_4": "رمز عبور باید شامل اعداد ، حروف کوچک و بزرگ و کاراکترهای خاص باشد، و حداقل 12 کاراکتر طول داشته باشد",
"password_too_simple_3": "رمز عبور باید شامل اعداد ، حروف کوچک و بزرگ و کاراکترهای خاص باشد، و حداقل 8 کاراکتر طول داشته باشد",
"password_too_simple_2": "رمز عبور باید شامل اعداد و حروف کوچک و بزرگ، و حداقل 8 کاراکتر طول داشته باشد",
"password_too_simple_1": "رمز عبور باید حداقل 8 کاراکتر باشد",
"password_listed": "لطفاً گذرواژه کمی منحصر به فردتری انتخاب کنید. این رمز عبور جزو پر استفاده ترین رمزهای عبور جهان بشمار میرود.",
"password_not_match": "گذرواژه ها مطابقت ندارند",
"password_changed_error": "رمز عبور تغییر نکرد",
"password_changed": "رمز عبور تغییر کرد",
"logout": "خروج",
"login": "ورود به سیستم",
"confirm": "تائید کردن",
"new_password": "رمز عبور جدید",
"current_password": "رمز عبور فعلی",
"edit": "ویرایش",
"change_password": "تغییر رمز عبور",
"add_forward": "آدرس هدایت ایمیل را اضافه کنید",
"add_mail": "یک نام مستعار ایمیل اضافه کنید",
"new_forward": "newforward@myforeigndomain.org",
"new_mail": "newmail@mydomain.org",
"mail_forward": "آدرس ارسال به جلو ایمیل",
"mail_addresses": "آدرس ایمیل",
"fullname": "نام و نام خانوادگی",
"username": "نام کاربری",
"information": "اطلاعات شما",
"portal": "پورتال YunoHost"
}

49
portal/locales/fi.json Normal file
View file

@ -0,0 +1,49 @@
{
"cancel": "Peruuta",
"portal": "YunoHost-portaali",
"password": "Salasana",
"ok": "OK",
"information": "Sinun tiedot",
"username": "Käyttäjänimi",
"fullname": "Koko nimi",
"mail_addresses": "Sähköpostiosoitteet",
"mail_forward": "Sähköpostin välitysosoite",
"new_mail": "uusiosoite@minundomain.fi",
"new_forward": "uusivälitys@minunulkopuolinendomain.fi",
"add_mail": "Lisää sähköposti-alias",
"add_forward": "Lisää sähköpostin välitysosoite",
"change_password": "Vaihda salasana",
"edit": "Muokkaa",
"current_password": "Nykyinen salasana",
"new_password": "Uusi salasana",
"confirm": "Vahvista",
"login": "Kirjaudu sisään",
"logout": "Kirjaudu ulos",
"password_changed": "Salasana vaihdettu",
"password_changed_error": "Salasanaa ei voitu vaihtaa",
"password_not_match": "Salasanat eivät täsmänneet",
"password_listed": "Tämä salasana on yksi maailman käytetyimmistä salasanoista. Valitse jotain hieman ainutlaatuisempaa.",
"password_too_simple_1": "Salasanan pitää olla ainakin 8 merkin pituinen",
"password_too_simple_2": "Salasanan on oltava vähintään 8 merkkiä pitkä ja sen on sisällettävä numeroita, isoja ja pieniä merkkejä",
"wrong_current_password": "Nykyinen salasana on väärin",
"invalid_mail": "Virheellinen sähköpostiosoite",
"invalid_domain": "Virheellinen domain",
"invalid_mailforward": "Virheellinen välityssähköpostiosoite",
"mail_already_used": "Sähköpostiosoite on jo käytössä",
"information_updated": "Tiedot päivitetty",
"user_saving_fail": "Uuden käyttäjän tietoja ei voitu tallentaa",
"missing_required_fields": "Täytä pakolliset kentät",
"wrong_username_password": "Väärä käyttäjänimi tai salasana",
"logged_out": "Kirjauduttu ulos",
"please_login": "Kirjaudu sisään päästäksesi käsiksi tähän sisältöön",
"please_login_from_portal": "Kirjaudu sisään portaalista",
"redirection_error_invalid_url": "Uudelleenohjausvirhe: Virheellinen URL-osoite",
"redirection_error_unmanaged_domain": "Uudelleenohjausvirhe: Hallitsematon domain",
"footerlink_edit": "Muokkaa profiiliani",
"footerlink_documentation": "Dokumentaatio",
"footerlink_support": "Tuki",
"footerlink_administration": "Ylläpito",
"password_too_simple_3": "Salasanan on oltava vähintään 8 merkkiä pitkä ja sen on sisällettävä numeroita, isoja ja pieniä merkkejä",
"password_too_simple_4": "Salasanan on oltava vähintään 12 merkkiä pitkä ja sen on sisällettävä numeroita, isoja ja pieniä merkkejä",
"good_practices_about_user_password": "Valitse vähintään kahdeksan merkkiä pitkä salasana - on kuitenkin hyvä käyttää pidempiä salasanoja (esim. salasanalause) ja/tai erilaisia merkkejä (isoja ja pieniä kirjaimia, numeroita ja erikoismerkkejä)."
}

View file

@ -1,41 +1,49 @@
{
"portal": "Portail YunoHost",
"information": "Vos informations",
"username": "Nom d'utilisateur",
"password": "Mot de passe",
"fullname": "Nom complet",
"mail_addresses": "Adresses email",
"mail_forward": "Adresses de transfert",
"new_mail": "nouvelle_adresse@domaine.org",
"new_forward": "nouveau_transfert@domainedistant.org",
"add_mail": "Ajouter une adresse email",
"add_forward": "Ajouter une adresse de transfert",
"ok": "Valider",
"cancel": "Annuler",
"change_password": "Changer de mot de passe",
"edit": "Éditer",
"current_password": "Mot de passe actuel",
"new_password": "Nouveau mot de passe",
"confirm": "Confirmation",
"login": "Connexion",
"logout": "Déconnexion",
"password_changed": "Mot de passe modifié",
"password_changed_error": "Une erreur s'est produite lors du changement de mot de passe",
"password_not_match": "Les nouveaux mots de passe ne correspondent pas",
"wrong_current_password": "Le mot de passe actuel est incorrect",
"invalid_mail": "Adresse email invalide",
"invalid_domain": "Nom de domaine invalide dans",
"invalid_mailforward": "Adresse email de transfert invalide",
"mail_already_used": "Adresse déjà utilisée :",
"information_updated": "Informations mises à jour",
"user_saving_fail": "Une erreur s'est produite lors de la modification des informations",
"missing_required_fields": "Champs requis manquants",
"wrong_username_password": "Nom d'utilisateur ou mot de passe incorrect",
"logged_out": "Déconnecté",
"please_login": "Veuillez vous identifier pour accéder à cette page",
"please_login_from_portal": "Veuillez vous identifiez depuis le portail",
"footerlink_edit": "Éditer mon profil",
"footerlink_documentation": "Documentation",
"footerlink_support": "Support",
"footerlink_administration": "Administration"
"add_forward": "Ajouter une adresse de transfert",
"add_mail": "Ajouter un alias de courriel",
"cancel": "Annuler",
"change_password": "Changer de mot de passe",
"confirm": "Confirmation",
"current_password": "Mot de passe actuel",
"edit": "Éditer",
"footerlink_administration": "Administration",
"footerlink_documentation": "Documentation",
"footerlink_edit": "Éditer mon profil",
"footerlink_support": "Support",
"fullname": "Nom complet",
"information": "Vos infos",
"information_updated": "Info mises à jour",
"invalid_domain": "Nom de domaine invalide dans",
"invalid_mail": "Adresse de courriel invalide",
"invalid_mailforward": "Adresse courriel de transfert invalide",
"logged_out": "Déconnecté",
"login": "Connexion",
"logout": "Déconnexion",
"mail_addresses": "Adresses de courriel",
"mail_already_used": "Adresse de courriel déjà utilisée",
"mail_forward": "Adresses de transfert",
"missing_required_fields": "Remplir les champs obligatoires",
"new_forward": "nouveau_transfert@domainedistant.org",
"new_mail": "nouvelle_adresse@domaine.org",
"new_password": "Nouveau mot de passe",
"ok": "OK",
"password": "Mot de passe",
"password_changed": "Mot de passe modifié",
"password_changed_error": "Impossible de changer le mot de passe",
"password_not_match": "Les mots de passe ne correspondent pas",
"please_login": "Veuillez vous identifier pour accéder à cette page",
"please_login_from_portal": "Veuillez vous identifier depuis le portail",
"portal": "Portail YunoHost",
"user_saving_fail": "Impossible d'enregistrer les nouvelles informations de compte",
"username": "Nom du compte",
"wrong_current_password": "Le mot de passe actuel est incorrect",
"wrong_username_password": "Nom de compte ou mot de passe incorrect",
"redirection_error_invalid_url": "Erreur de redirection: URL invalide",
"redirection_error_unmanaged_domain": "Erreur de redirection: domaine non géré",
"password_listed": "Ce mot de passe est l'un des mots de passe les plus utilisés dans le monde. Veuillez choisir quelque chose d'un peu plus singulier.",
"password_too_simple_1": "Le mot de passe doit comporter au moins 8 caractères",
"password_too_simple_2": "Le mot de passe doit comporter au moins 8 caractères et contenir des chiffres, des majuscules et des minuscules",
"password_too_simple_3": "Le mot de passe doit comporter au moins 8 caractères et contenir des chiffres, des majuscules, des minuscules et des caractères spéciaux",
"password_too_simple_4": "Le mot de passe doit comporter au moins 12 caractères et contenir des chiffres, des majuscules, des minuscules et des caractères spéciaux",
"good_practices_about_user_password": "Choisissez un mot de passe dau moins 8 caractères, bien qu'il soit recommandé d'utiliser un mot de passe plus long (c'est-à-dire une phrase secrète) et/ou une combinaison de caractères (majuscules, minuscules, chiffres et caractères spéciaux)."
}

49
portal/locales/gl.json Normal file
View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "Administración",
"footerlink_support": "Axuda",
"footerlink_documentation": "Documentación",
"footerlink_edit": "Editar o meu perfil",
"redirection_error_unmanaged_domain": "Erro na redirección: Dominio non xestionado",
"redirection_error_invalid_url": "Erro na redirección: URL non válido",
"please_login_from_portal": "Conéctate desde o portal",
"please_login": "Conéctate para acceder a este contido",
"logged_out": "Sesión pechada",
"wrong_username_password": "Credenciais incorrectas",
"missing_required_fields": "Completa os campos requeridos",
"user_saving_fail": "Non se gardou a info da nova usuaria",
"information_updated": "Info actualizada",
"mail_already_used": "Xa está en uso o enderezo de email",
"invalid_mailforward": "Enderezo de reenvío de email non válido",
"invalid_domain": "Dominio non válido",
"invalid_mail": "Enderezo de email non válido",
"wrong_current_password": "O contrasinal actual é incorrecto",
"good_practices_about_user_password": "Elixe un contrasinal con 8 caracteres como mínimo - é recomendable que sexa longo (ex. unha frase) e utilizar varios tipos de caracteres (maiúsculas, minúsculas, díxitos e caracteres especiais).",
"password_too_simple_4": "O contrasinal debe ter 12 caracteres como mínimo e ter díxitos, maiúsculas e minúsculas e caracteres especiais",
"password_too_simple_3": "O contrasinal debe ter 8 caracteres como mínimo e ter díxitos, maiúsculas e minúsculas e caracteres especiais",
"password_too_simple_2": "O contrasinal debe ter 8 caracteres como mínimo e ter díxitos e caracteres en maiúsculas e minúsculas",
"password_too_simple_1": "O contrasinal ten que ter 8 caracteres como mínimo",
"password_listed": "Este contrasinal é un dos máis utilizados no mundo. Mellor elixe un que sexa máis orixinal.",
"password_not_match": "Os contrasinais non concordan",
"password_changed_error": "Non se cambiou o contrasinal",
"password_changed": "Contrasinal cambiado",
"logout": "Pechar sesión",
"login": "Acceder",
"confirm": "Confirmar",
"new_password": "Novo contrasinal",
"current_password": "Contrasinal actual",
"edit": "Editar",
"change_password": "Cambiar contrasinal",
"cancel": "Cancelar",
"ok": "Ok",
"add_forward": "Engadir un enderezo de reenvío de email",
"add_mail": "Engadir un alias de email",
"new_forward": "novoreenvio@omeudominioexterno.org",
"new_mail": "novomail@omeudominio.org",
"mail_forward": "Enderezo de reenvío de email",
"mail_addresses": "Enderezos de email",
"fullname": "Nome completo",
"password": "Contrasinal",
"username": "Identificador",
"information": "A túa info",
"portal": "Portal YunoHost"
}

1
portal/locales/he.json Normal file
View file

@ -0,0 +1 @@
{}

49
portal/locales/hi.json Normal file
View file

@ -0,0 +1,49 @@
{
"logged_out": "लॉग आउट",
"password": "पासवर्ड",
"footerlink_administration": "प्रशासन",
"footerlink_support": "समर्थन",
"footerlink_documentation": "प्रलेखन",
"footerlink_edit": "मेरे प्रोफ़ाइल संपादित करे",
"redirection_error_unmanaged_domain": "पुनर्निर्देशन त्रुटि: अप्रबंधित डोमेन",
"redirection_error_invalid_url": "पुनर्निर्देशन त्रुटि: अमान्य URL",
"please_login_from_portal": "कृपया पोर्टल से लॉग इन करें",
"please_login": "कृपया इस सामग्री तक पहुंचने के लिए लॉग इन करें",
"wrong_username_password": "उपयोगकर्ता का गलत नाम और पासवर्ड",
"missing_required_fields": "आवश्यक फ़ील्ड भरें",
"user_saving_fail": "नई उपयोगकर्ता जानकारी को सहेज नहीं सका",
"information_updated": "जानकारी अपडेट की गई",
"mail_already_used": "यह ईमेल अड्रेस पहले से ही उपयोग में है",
"invalid_mailforward": "अमान्य ई-मेल अग्रेषण पता",
"invalid_domain": "में अमान्य डोमेन",
"invalid_mail": "अमान्य ईमेल पता",
"wrong_current_password": "वर्तमान पासवर्ड गलत है",
"good_practices_about_user_password": "कम से कम 8 वर्णों का एक उपयोगकर्ता पासवर्ड चुनें - हालाँकि यह लंबे लोगों (यानी एक पासफ़्रेज़) और / या विभिन्न प्रकार के वर्ण (अपरकेस, लोअरकेस, अंक और विशेष वर्ण) का उपयोग करने के लिए अच्छा अभ्यास है।",
"password_too_simple_4": "पासवर्ड को कम से कम 12 वर्णों का होना चाहिए और इसमें अंक, ऊपरी, निचले और विशेष वर्ण शामिल होने चाहिए",
"password_too_simple_3": "पासवर्ड को कम से कम 8 वर्ण लंबा होना चाहिए और इसमें अंक, ऊपरी, निचले और विशेष वर्ण शामिल हैं",
"password_too_simple_2": "पासवर्ड को कम से कम 8 वर्ण लंबा होना चाहिए और इसमें अंक, ऊपरी और निचले वर्ण शामिल हैं",
"password_too_simple_1": "पासवर्ड को कम से कम 8 वर्ण लंबा होना चाहिए",
"password_listed": "यह पासवर्ड दुनिया में सबसे ज्यादा इस्तेमाल किए जाने वाले पासवर्ड में से है। कृपया कुछ और अनोखा चुनें।",
"password_not_match": "पासवर्ड मेल नहीं खाते",
"password_changed_error": "पासवर्ड नहीं बदल सका",
"password_changed": "पासवर्ड बदला गया",
"logout": "लोग आउट",
"login": "लॉग इन करें",
"confirm": "की पुष्टि करें",
"new_password": "नया पासवर्ड",
"current_password": "वर्तमान पासवर्ड",
"edit": "संपादित करें",
"change_password": "पासवर्ड बदलें",
"cancel": "रद्द करना",
"ok": "ठीक है",
"add_forward": "एक ई-मेल अग्रेषण पता जोड़ें",
"add_mail": "एक ईमेल उपनाम जोड़ें",
"new_forward": "newforward@myforeigndomain.org",
"new_mail": "newmail@mydomain.org",
"mail_forward": "ई-मेल अग्रेषण पता",
"mail_addresses": "ईमेल पता",
"fullname": "पूरा नाम",
"username": "उपयोगकर्ता नाम",
"information": "आपकी जानकारी",
"portal": "यूनोहास्ट पोर्टल"
}

49
portal/locales/hu.json Normal file
View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "Adminisztráció",
"footerlink_support": "Támogatás",
"footerlink_documentation": "Dokumentáció",
"footerlink_edit": "Profilom szerkesztése",
"redirection_error_unmanaged_domain": "Átirányítási hiba: Nem kezelt domain",
"redirection_error_invalid_url": "Átirányítási hiba: érvénytelen URL",
"please_login_from_portal": "Kérjük, jelentkezzen be a portálról",
"please_login": "Kérjük, jelentkezzen be, hogy hozzáférjen ehhez a tartalomhoz",
"logged_out": "Kilépett",
"wrong_username_password": "Rossz felhasználónév vagy jelszó",
"missing_required_fields": "Töltse ki a kötelező mezőket",
"user_saving_fail": "Nem sikerült menteni az új felhasználói információkat",
"information_updated": "Az információ frissítve",
"mail_already_used": "Az e-mail cím már használatban van",
"invalid_mailforward": "Érvénytelen e-mail továbbító cím",
"invalid_domain": "Érvénytelen domain itt",
"invalid_mail": "Érvénytelen e-mail cím",
"wrong_current_password": "A jelenlegi jelszó helytelen",
"good_practices_about_user_password": "Válasszon legalább 8 karakterből álló felhasználói jelszót - jó gyakorlat azonban hosszabb jelszó használata (azaz egy jelmondat) és/vagy különféle karakterek (nagybetűk, kisbetűk, számjegyek és speciális karakterek) használata.",
"password_too_simple_4": "A jelszónak legalább 12 karakter hosszúnak kell lennie, és tartalmaznia kell számjegy, felső, alsó és speciális karaktereket",
"password_too_simple_3": "A jelszónak legalább 8 karakter hosszúnak kell lennie, és tartalmaznia kell számjegy, felső, alsó és speciális karaktereket",
"password_too_simple_2": "A jelszónak legalább 8 karakter hosszúnak kell lennie, és számjegyű, felső és alsó karaktereket kell tartalmaznia",
"password_too_simple_1": "A jelszónak legalább 8 karakter hosszúnak kell lennie",
"password_listed": "Ez a jelszó a világ egyik leggyakrabban használt jelszava. Kérjük, válasszon egy kicsit egyediabbat.",
"password_not_match": "A jelszavak nem egyeznek",
"password_changed_error": "Nem sikerült megváltoztatni a jelszót",
"password_changed": "A jelszó megváltozott",
"logout": "Kijelentkezés",
"login": "Belépés",
"confirm": "megerősít",
"new_password": "Új jelszó",
"current_password": "Jelenlegi jelszó",
"edit": "Ezerkesztése",
"change_password": "Jelszó módosítása",
"cancel": "Megszünteti",
"ok": "Rendben",
"add_forward": "Adjon hozzá egy e-mail továbbító címet",
"add_mail": "Adjon hozzá egy e-mail álnevet",
"new_forward": "newforward@myforeigndomain.org",
"new_mail": "newmail@mydomain.org",
"mail_forward": "E-mail továbbítási cím",
"mail_addresses": "Email címek",
"fullname": "Teljes név",
"password": "Jelszó",
"username": "Felhasználónév",
"information": "Az Ön adata",
"portal": "YunoHost portál"
}

49
portal/locales/id.json Normal file
View file

@ -0,0 +1,49 @@
{
"cancel": "Batal",
"portal": "Portal YunoHost",
"information": "Info Anda",
"username": "Nama Pengguna",
"password": "Kata sandi",
"fullname": "Nama Lengkap",
"mail_addresses": "Alamat surel",
"mail_forward": "Alamat surel terusan",
"new_mail": "surelbaru@domainku.org",
"new_forward": "terusanbaru@domainlainku.org",
"add_mail": "Buat surel alias",
"add_forward": "Buat alamat surel terusan",
"ok": "Oke",
"change_password": "Ubah kata sandi",
"edit": "Sunting",
"current_password": "Kata sandi saat ini",
"new_password": "Kata sandi baru",
"confirm": "Konfirmasi",
"login": "Masuk",
"logout": "Keluar",
"password_changed": "Kata sandi diubah",
"password_changed_error": "Tidak dapat mengubah kata sandi",
"password_not_match": "Kata sandi tidak sama",
"password_listed": "Kata sandi ini merupakan salah satu kata sandi yang paling sering digunakan di dunia. Coba pilih sesuatu yang lebih unik.",
"password_too_simple_1": "Panjang kata sandi harus paling tidak 8 karakter",
"wrong_current_password": "Kata sandi saat ini salah",
"invalid_mail": "Alamat surel tidak valid",
"mail_already_used": "Alamat surel sudah digunakan",
"information_updated": "Info diperbarui",
"user_saving_fail": "Tidak dapat menyimpan info baru pengguna",
"wrong_username_password": "Nama pengguna atau kata sandi salah",
"logged_out": "Berhasil keluar",
"please_login": "Masuk untuk mengakses konten ini",
"please_login_from_portal": "Silakan masuk dari portal",
"redirection_error_invalid_url": "Kesalahan pengalihan: URL tidak valid",
"redirection_error_unmanaged_domain": "Kesalahan pengalihan: Domain tak dikelola",
"footerlink_edit": "Sunting profil saya",
"footerlink_documentation": "Dokumentasi",
"footerlink_support": "Dukungan",
"footerlink_administration": "Administrasi",
"password_too_simple_2": "Kata sandi harus sekurang-kurangnya 8 karakter dan memiliki angka, huruf kapital dan huruf kecil",
"password_too_simple_3": "Kata sandi harus sekurang-kurangnya 8 karakter dan memiliki angka, huruf kapital, huruf kecil, dan karakter spesial",
"password_too_simple_4": "Kata sandi harus sekurang-kurangnya 12 karakter dan memiliki angka, huruf kapital, huruf kecil, dan karakter spesial",
"good_practices_about_user_password": "Pilih kata sandi sekurang-kurangnya 8 karakter - meskipun memang adalah hal yang baik jika menggunakan yang lebih panjang (cth. parafrasa) dan/atau menggunakan berbagai macam karakter (kapital, huruf kecil, angka, dan karakter lainnya).",
"invalid_domain": "Domain tidak valid di",
"invalid_mailforward": "Alamat surel terusan tidak valid",
"missing_required_fields": "Isi bidang yang diperlukan"
}

49
portal/locales/it.json Normal file
View file

@ -0,0 +1,49 @@
{
"add_forward": "Aggiungi un indirizzo di inoltro e-mail",
"add_mail": "Aggiungi un alias email",
"cancel": "Annulla",
"change_password": "Cambia password",
"confirm": "Conferma",
"current_password": "Password attuale",
"edit": "Modifica",
"footerlink_administration": "Amministrazione",
"footerlink_documentation": "Documentazione",
"footerlink_edit": "Modifica il mio profilo",
"footerlink_support": "Supporto",
"fullname": "Nome e cognome",
"information": "Le tue informazioni",
"information_updated": "Informazioni aggiornate",
"invalid_domain": "Dominio non valido in",
"invalid_mail": "Indirizzo email non valido",
"invalid_mailforward": "Indirizzo di inoltro e-mail non valido",
"logged_out": "Disconnesso",
"login": "Accedi",
"logout": "Esci",
"mail_addresses": "Indirizzi email",
"mail_already_used": "Indirizzo email già in uso",
"mail_forward": "Indirizzo di inoltro e-mail",
"missing_required_fields": "Compila i campi richiesti",
"new_forward": "nuovoinoltro@miodominiodifferente.org",
"new_mail": "nuovaemail@miodominio.org",
"new_password": "Nuova password",
"ok": "OK",
"password": "Password",
"password_changed": "Password cambiata",
"password_changed_error": "Impossibile cambiare la password",
"password_not_match": "Le password non corrispondono",
"please_login": "Per favore, accedi per visualizzare il contenuto",
"please_login_from_portal": "Per favore, accedi dal portale",
"portal": "Portale YunoHost",
"user_saving_fail": "Impossibile salvare le informazioni sul nuovo utente",
"username": "Nome utente",
"wrong_current_password": "La password attuale è sbagliata",
"wrong_username_password": "Nome utente o password sbagliati",
"redirection_error_invalid_url": "Errore di reindirizzamento: URL non valido",
"redirection_error_unmanaged_domain": "Errore di redirezionamento: dominio non gestito",
"password_listed": "Questa password è tra le password più utilizzate al mondo. Scegli qualcosa di un po 'più unico.",
"password_too_simple_1": "La password deve contenere almeno 8 caratteri",
"password_too_simple_2": "La password deve contenere almeno 8 caratteri e contiene cifre, caratteri superiori e inferiori",
"password_too_simple_3": "La password deve contenere almeno 8 caratteri e contiene caratteri numerici, superiori, inferiori e speciali",
"password_too_simple_4": "La password deve contenere almeno 12 caratteri e contiene caratteri numerici, superiori, inferiori e speciali",
"good_practices_about_user_password": "Scegli una password utente di almeno 8 caratteri, anche se è buona norma utilizzare quelli più lunghi (ad esempio una passphrase) e / o utilizzare vari tipi di caratteri (lettere maiuscole, minuscole, cifre e caratteri speciali)."
}

49
portal/locales/ja.json Normal file
View file

@ -0,0 +1,49 @@
{
"portal": "YunoHost ポータル",
"information": "あなたの情報",
"username": "ユーザー名",
"password": "パスワード",
"fullname": "フルネーム",
"mail_addresses": "電子メールアドレス",
"mail_forward": "電子メール転送アドレス",
"new_mail": "newmail@mydomain.org",
"add_mail": "電子メール エイリアスを追加",
"add_forward": "電子メール転送アドレスを追加",
"ok": "OK",
"change_password": "パスワード変更",
"edit": "編集",
"new_password": "新しいパスワード",
"confirm": "確認",
"logout": "ログアウト",
"password_changed": "パスワードが変更されました",
"password_not_match": "パスワードが一致しません",
"password_too_simple_1": "パスワードは8文字以上である必要があります",
"password_too_simple_2": "パスワードは8文字以上で、数字/大文字/小文字の全てを含む必要があります",
"password_too_simple_3": "パスワードは8文字以上で、数字/大文字/小文字/特殊文字の全てを含む必要があります",
"password_too_simple_4": "パスワードは12文字以上で、数字/大文字/小文字/特殊文字の全てを含む必要があります",
"wrong_current_password": "現在のパスワードが間違っています",
"invalid_mail": "不正な電子メールアドレス",
"invalid_domain": "不正なドメイン",
"invalid_mailforward": "不正な電子メール転送アドレス",
"mail_already_used": "電子メールアドレスは既に使われています",
"information_updated": "情報が更新されました",
"user_saving_fail": "新しいユーザー情報を保存できませんでした",
"missing_required_fields": "必須フィールドに入力してください",
"wrong_username_password": "ユーザー名かパスワードが間違っています",
"logged_out": "ログアウトしました",
"please_login": "このコンテンツにアクセスするにはログインしてください",
"please_login_from_portal": "ポータルからログインしてください",
"redirection_error_invalid_url": "リダイレクションエラー: 不正なURL",
"redirection_error_unmanaged_domain": "リダイレクションエラー: 管理されていないドメイン",
"footerlink_edit": "プロフィールを編集する",
"footerlink_documentation": "ドキュメント",
"footerlink_support": "サポート",
"footerlink_administration": "管理",
"cancel": "キャンセル",
"new_forward": "newforward@myforeigndomain.org",
"current_password": "現在のパスワード",
"login": "ログイン",
"password_changed_error": "パスワードは変更できませんでした",
"password_listed": "このパスワードは世界で最も使われているパスワードのひとつです。もう少しユニークなものを選んでください。",
"good_practices_about_user_password": "ユーザーパスワードは最低でも8文字、より長いものパスフレーズなどにしたり、さまざまな種類の文字大文字、小文字、数字、特殊文字を使うことが望ましいです。"
}

18
portal/locales/kab.json Normal file
View file

@ -0,0 +1,18 @@
{
"username": "Isem n useqdac",
"password": "Awal n uɛeddi",
"fullname": "Isem inek ummid",
"ok": "Ih",
"cancel": "Sefsex",
"change_password": "Beddel awal n uffir",
"edit": "Édition",
"current_password": "Awal n uɛeddi amiran",
"new_password": "Awal uffir amaynut",
"confirm": "Sentem",
"login": "Qqen",
"logout": "Senser",
"logged_out": "Yeffeɣ",
"footerlink_documentation": "Tasemlit",
"footerlink_support": "Tallalt",
"footerlink_administration": "Tadbelt"
}

1
portal/locales/ko.json Normal file
View file

@ -0,0 +1 @@
{}

1
portal/locales/lt.json Normal file
View file

@ -0,0 +1 @@
{}

1
portal/locales/mk.json Normal file
View file

@ -0,0 +1 @@
{}

29
portal/locales/nb_NO.json Normal file
View file

@ -0,0 +1,29 @@
{
"footerlink_administration": "Administrasjon",
"footerlink_support": "Støtte",
"footerlink_documentation": "Dokumentasjon",
"footerlink_edit": "Rediger min profil",
"redirection_error_unmanaged_domain": "Videresendingsfeil: Uhåndtert domene",
"redirection_error_invalid_url": "Videresendingsfeil: Ugyldig nettadresse",
"please_login_from_portal": "Logg inn fra portalen",
"please_login": "Logg inn for å få tilgang til dette innholdet",
"logged_out": "Utlogget",
"wrong_username_password": "Feil brukernavn eller passord",
"information_updated": "Info oppdatert",
"invalid_domain": "Ugyldig domene i",
"wrong_current_password": "Nåværende passord er feil",
"password_changed": "Passord endret",
"logout": "Logg ut",
"login": "Logg inn",
"confirm": "Bekreft",
"new_password": "Nytt passord",
"current_password": "Nåværende passord",
"edit": "Rediger",
"change_password": "Endre passord",
"cancel": "Avbryt",
"ok": "OK",
"password": "Passord",
"username": "Brukernavn",
"information": "Din informasjon",
"portal": "YunoHost-portal"
}

49
portal/locales/ne.json Normal file
View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "प्रशासन",
"footerlink_support": "समर्थन",
"footerlink_documentation": "कागजात",
"footerlink_edit": "मेरो प्रोफाइल सम्पादन गर्नुहोस्",
"redirection_error_unmanaged_domain": "पुनर्निर्देशन त्रुटि: अव्यवस्थित डोमेन",
"redirection_error_invalid_url": "रिडिरेसन त्रुटि: अवैध URL",
"please_login_from_portal": "कृपया पोर्टलबाट लग ईन गर्नुहोस्",
"please_login": "यस सामग्री पहुँच गर्न कृपया लग इन गर्नुहोस्",
"logged_out": "लग आउट",
"wrong_username_password": "गलत प्रयोगकर्ता नाम वा पासवर्ड",
"missing_required_fields": "आवश्यक फिल्डहरू भर्नुहोस्",
"user_saving_fail": "नयाँ प्रयोगकर्ता जानकारी बचत गर्न सकेन",
"information_updated": "जानकारी अपडेट गरियो",
"mail_already_used": "इ-मेल ठेगाना पहिले नै प्रयोगमा छ",
"invalid_mailforward": "अवैध ईमेल फर्वार्डिंग ठेगाना",
"invalid_domain": "अमान्य डोमेन भित्र",
"invalid_mail": "अवैध ईमेल ठेगाना",
"wrong_current_password": "हालको पासवर्ड गलत छ",
"good_practices_about_user_password": "कम्तिमा characters क्यारेक्टरहरूको प्रयोगकर्ता पासवर्ड छान्नुहोस् - यद्यपि यो लामो अभ्यास (अर्थात पासफ्रेज) प्रयोग गर्न राम्रो अभ्यास हो र / वा विभिन्न प्रकारका वर्णहरू (अपरकेस, लोअरकेस, अंक र विशेष क्यारेक्टर) प्रयोग गर्नुहोस्।",
"password_too_simple_4": "पासवर्ड कम्तिमा १२ वर्ण लामो हुनु पर्छ र अंक, माथिल्लो, तल्लो र विशेष क्यारेक्टर समावेश गर्दछ",
"password_too_simple_3": "पासवर्ड कम्तिमा characters वर्ण लामो हुनु पर्छ र अंक, माथिल्लो, तल्लो र विशेष क्यारेक्टर समावेश गर्दछ",
"password_too_simple_2": "पासवर्ड कम्तिमा characters क्यारेक्टर लामो हुनुपर्दछ र अंक, माथिल्लो र तल्लो वर्णहरू समावेश गर्दछ",
"password_too_simple_1": "पासवर्ड कम्तिमा characters अक्षर लामो हुनु आवश्यक छ",
"password_listed": "यो पासवर्ड विश्व मा सबै भन्दा बढी प्रयोग भएको पासवर्ड बीच हो। कृपया केहि अलि बढी अनौंठो छनौट गर्नुहोस्।",
"password_not_match": "पासवर्ड मेल खाँदैन",
"password_changed_error": "पासवर्ड परिवर्तन गर्न सकेन",
"password_changed": "पासवर्ड परिवर्तन भयो",
"logout": "बाहिर निस्कनु",
"login": "लग - इन",
"confirm": "पुष्टि गर्नुहोस्",
"new_password": "नया पासवर्ड",
"current_password": "वर्तमान पासवर्ड",
"edit": "सम्पादन गर्नुहोस्",
"change_password": "पासवर्ड परिवर्तन गर्नुहोस्",
"cancel": "रद्द गर्नुहोस्",
"ok": "ठिक छ",
"add_forward": "एक ईमेल अग्रेषण ठेगाना जोड्नुहोस्",
"add_mail": "ईमेल उपनाम थप्नुहोस्",
"new_forward": "नयाँअगाडी@माईफोरिगेन्डोमाइन.org",
"new_mail": "नयाँमेल@माईडोमेन.org",
"mail_forward": "इ-मेल फर्वार्डिंग ठेगाना",
"mail_addresses": "इ-मेल ठेगानाहरू",
"fullname": "पुरा नाम",
"password": "पासवर्ड",
"username": "प्रयोगकर्ता नाम",
"information": "तपाईको जानकारी",
"portal": "YunoHost पोर्टल"
}

49
portal/locales/nl.json Normal file
View file

@ -0,0 +1,49 @@
{
"add_forward": "Voeg een e-mail doorstuuradres toe",
"add_mail": "Voeg een e-mailalias toe",
"cancel": "Annuleren",
"change_password": "Verander wachtwoord",
"confirm": "Bevestig",
"current_password": "Huidig wachtwoord",
"edit": "Bewerken",
"footerlink_administration": "Administratie",
"footerlink_documentation": "Documentatie",
"footerlink_edit": "Bewerk mijn profiel",
"footerlink_support": "Ondersteuning",
"fullname": "Voor- en achternaam",
"information": "Uw gegevens",
"information_updated": "Informatie bijgewerkt",
"invalid_domain": "Ongeldig domein in",
"invalid_mail": "Ongeldig e-mailadres",
"invalid_mailforward": "Ongeldig email-doorstuuradres",
"logged_out": "Uitgelogd",
"login": "Inloggen",
"logout": "Uitloggen",
"mail_addresses": "E-mailadressen",
"mail_already_used": "E-mailadres al in gebruik",
"mail_forward": "E-mail doorstuuradres",
"missing_required_fields": "De verplichte velden moeten ingevuld worden",
"new_forward": "nieuw_doorstuuradres@mijndomein.org",
"new_mail": "nieuwe_email@mijndomein.org",
"new_password": "Nieuw wachtwoord",
"ok": "OK",
"password": "Wachtwoord",
"password_changed": "Wachtwoord veranderd",
"password_changed_error": "Kon wachtwoord niet veranderen",
"password_not_match": "De wachtwoorden komen niet overeen",
"please_login": "Log in om toegang te krijgen tot deze inhoud",
"please_login_from_portal": "Log in vanaf het portaal",
"portal": "YunoHost Portaal",
"user_saving_fail": "De nieuwe gebruikersinformatie kon niet opgeslagen worden",
"username": "Gebruikersnaam",
"wrong_current_password": "Het huidige wachtwoord is fout",
"wrong_username_password": "Verkeerde gebruikersnaam of wachtwoord",
"password_too_simple_2": "Het wachtwoord moet minimaal 8 tekens lang zijn en moet cijfers, hoofdletters en kleine letters bevatten",
"password_too_simple_1": "Het wachtwoord moet minimaal 8 tekens lang zijn",
"password_listed": "Dit wachtwoord is een van de meest gebruikte wachtwoorden ter wereld. Kies alstublieft iets wat minder voor de hand ligt.",
"redirection_error_unmanaged_domain": "Omleidingsfout: onbeheerd domein",
"redirection_error_invalid_url": "Omleidingsfout: ongeldige URL",
"good_practices_about_user_password": "Kies een gebruikerswachtwoord van minimaal 8 tekens - hoewel het een goede gewoonte is om langere (bijvoorbeeld een wachtwoordzin) te gebruiken en/of verschillende soorten tekens te gebruiken (hoofdletters, kleine letters, cijfers en speciale tekens).",
"password_too_simple_4": "Het wachtwoord moet minimaal 12 tekens lang zijn en moet cijfers, hoofdletters, kleine letters en speciale tekens bevatten",
"password_too_simple_3": "Het wachtwoord moet minimaal 8 tekens lang zijn en moet cijfers, hoofdletters, kleine letters en speciale tekens bevatten"
}

49
portal/locales/oc.json Normal file
View file

@ -0,0 +1,49 @@
{
"portal": "Portal YunoHost",
"information": "Vòstras informacions",
"username": "Nom dutilizaire",
"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 un alias dadreça electronica",
"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 ses 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",
"information_updated": "Informacions actualizadas",
"user_saving_fail": "Enregistrament impossible de las nòvas informacions utilizaire",
"missing_required_fields": "Garnissètz los camps requesits",
"wrong_username_password": "Nom dutilizaire 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",
"password_listed": "Aqueste senhal es un dels mai utilizats al monde. Se vos plai utilizatz-ne un mai unic.",
"password_too_simple_1": "Lo senhal deu conténer almens 8 caractèrs",
"password_too_simple_2": "Lo senhal deu conténer almens 8 caractèrs e nombres, majusculas e minusculas",
"password_too_simple_3": "Lo senhal deu conténer almens 8 caractèrs e nombres, majusculas e minusculas e caractèrs especials",
"password_too_simple_4": "Lo senhal deu conténer almens 12 caractèrs, de nombre, majusculas, minusculas e caractèrs especials",
"good_practices_about_user_password": "Causissètz un senhal dalmens 8 caractèrs, es de bon far dutilizar un senhal mai long (es a dire una frasa de senhal) e/o utilizar mantun tipe de caractèrs (majusculas, minusculas, nombres e caractèrs especials)."
}

49
portal/locales/pl.json Normal file
View file

@ -0,0 +1,49 @@
{
"add_mail": "Dodaj alias e-mail",
"cancel": "Anuluj",
"change_password": "Zmień hasło",
"confirm": "Potwierdź",
"current_password": "Aktualne hasło",
"edit": "Edytuj",
"footerlink_administration": "Panel administracyjny",
"footerlink_documentation": "Dokumentacja",
"footerlink_edit": "Edytuj mój profil",
"footerlink_support": "Pomoc techniczna",
"fullname": "Pełne imię i nazwisko",
"information": "Twoje informacje",
"logged_out": "Wylogowano",
"login": "Zaloguj Się",
"logout": "Wyloguj",
"mail_addresses": "Adresy e-mail",
"mail_already_used": "Adres e mailowy jest już używany",
"new_forward": "newforward@myforeigndomain.org",
"new_mail": "nowymail@domena.org",
"new_password": "Nowe hasło",
"ok": "OK",
"password": "Hasło",
"password_changed": "Hasło zostało zmienione",
"please_login": "Proszę się zalogować by uzyskać dostęp do tej strony",
"portal": "Portal YunoHost",
"username": "Nazwa użytkownika",
"wrong_username_password": "Zła nazwa użytkownika lub hasło",
"redirection_error_unmanaged_domain": "Błąd przekierowania: domena niezarządzana",
"redirection_error_invalid_url": "Błąd przekierowania: nieprawidłowy adres URL",
"please_login_from_portal": "Zaloguj się z portalu",
"missing_required_fields": "Wypełnij wymagane pola",
"user_saving_fail": "Nie można zapisać nowych informacji o użytkowniku",
"information_updated": "Informacje zaktualizowane",
"invalid_mailforward": "Nieprawidłowy adres e-mail do przekazania",
"invalid_domain": "Nieprawidłowa domena w",
"invalid_mail": "Niepoprawny adres email",
"wrong_current_password": "Obecne hasło jest nieprawidłowe",
"good_practices_about_user_password": "Wybierz hasło użytkownika składające się z co najmniej 8 znaków — chociaż dobrą praktyką jest używanie dłuższych i / lub stosowanie różnego rodzaju znaków (wielkie i małe litery, cyfry i znaki specjalne).",
"password_too_simple_4": "Hasło musi mieć co najmniej 12 znaków i zawierać cyfrę, duże i małe litery oraz znaki specjalne",
"password_too_simple_3": "Hasło musi mieć co najmniej 8 znaków i zawierać cyfrę, duże i małe litery oraz znaki specjalne",
"password_too_simple_2": "Hasło musi mieć co najmniej 8 znaków i zawierać cyfrę, górny i dolny znak",
"password_too_simple_1": "Hasło musi mieć co najmniej 8 znaków",
"password_listed": "To hasło jest jednym z najczęściej używanych haseł na świecie. Wybierz coś bardziej wyjątkowego.",
"password_not_match": "Hasła się nie zgadzają",
"password_changed_error": "Nie można zmienić hasła",
"add_forward": "Dodaj adres e-mail do przekazywania",
"mail_forward": "Adres do przekazywania wiadomości e-mail"
}

49
portal/locales/pt.json Normal file
View file

@ -0,0 +1,49 @@
{
"add_forward": "Adicionar um endereço de encaminhamento de email",
"add_mail": "Adicionar um alias de email",
"cancel": "Cancelar",
"change_password": "Alterar senha",
"confirm": "Confirmar",
"current_password": "Senha atual",
"edit": "Editar",
"footerlink_administration": "Administração",
"footerlink_documentation": "Documentação",
"footerlink_edit": "Editar o meu perfil",
"footerlink_support": "Suporte",
"fullname": "Nome completo",
"information": "Suas informações",
"information_updated": "Informações atualizadas",
"invalid_domain": "Domínio inválido em",
"invalid_mail": "Endereço de email invalido",
"invalid_mailforward": "Endereço de encaminhamento de email inválido",
"logged_out": "Sessão terminada",
"login": "Entrar",
"logout": "Sair",
"mail_addresses": "Endereço de e-mail",
"mail_already_used": "Endereço de email já está em uso",
"mail_forward": "Endereço de encaminhamento de email",
"missing_required_fields": "Preencha os campos obrigatórios",
"new_forward": "novoreenvio@dominioexterno.org",
"new_mail": "novomail@meudominio.org",
"new_password": "Nova senha",
"ok": "Confirmar",
"password": "Senha",
"password_changed": "Senha alterada",
"password_changed_error": "Não foi possível alterar a senha",
"password_not_match": "As senhas não correspondem",
"please_login": "Por favor inicie sessão para aceder a este conteúdo",
"please_login_from_portal": "Por favor inicie sessão no portal",
"portal": "Portal YunoHost",
"user_saving_fail": "Não foi possível salvar as novas informações do usuário",
"username": "Nome de utilizador",
"wrong_current_password": "A senha atual está incorreta",
"wrong_username_password": "Nome de utilizador e senha errados",
"redirection_error_invalid_url": "Erro de redirecionamento: URL inválido",
"redirection_error_unmanaged_domain": "Erro de redirecionamento: Dominio não gerenciado",
"good_practices_about_user_password": "Escolha uma senha de usuário com pelo menos 8 caracteres - embora seja uma boa prática usar palavras mais longas (ou seja, uma senha) e/ou usar vários tipos de caracteres (maiúsculas, minúsculas, dígitos e caracteres especiais).",
"password_too_simple_4": "A senha precisa ter pelo menos 12 caracteres e conter dígitos, caracteres superior, inferior e caracteres especiais",
"password_too_simple_3": "A senha precisa ter pelo menos 8 caracteres e conter dígitos, caracteres superior, inferior e caracteres especiais",
"password_too_simple_2": "A senha precisa ter pelo menos 8 caracteres e conter dígitos, caracteres superior e inferior",
"password_too_simple_1": "A senha precisa ter pelo menos 8 caracteres",
"password_listed": "Essa senha está entre as senhas mais usadas no mundo. Por favor, escolha algo um pouco mais exclusivo."
}

View file

@ -0,0 +1 @@
{}

49
portal/locales/ru.json Normal file
View file

@ -0,0 +1,49 @@
{
"portal": "Портал YunoHost",
"information": "Ваша информация",
"username": "Имя пользователя",
"password": "Пароль",
"fullname": "Полное имя",
"mail_addresses": "Адрес электронной почты",
"ok": "ОК",
"cancel": "Отмена",
"change_password": "Сменить пароль",
"edit": "Редактировать",
"current_password": "Действующий пароль",
"new_password": "Новый пароль",
"confirm": "Подтвердить",
"login": "Авторизоваться",
"logout": "Выйти",
"password_changed": "Пароль изменён",
"password_changed_error": "Не удалось сменить пароль",
"invalid_mail": "Неверный адрес электронной почты",
"invalid_mailforward": "Неверный адрес пересылки электронной почты",
"mail_already_used": "Адрес электронной почты уже используется",
"information_updated": "Информация обновлена",
"user_saving_fail": "Не удалось сохранить информацию о новом пользователе",
"mail_forward": "Адрес пересылки электронной почты",
"new_mail": "newmail@mydomain.org",
"new_forward": "newforward@myforeigndomain.org",
"add_mail": "Добавьте псевдоним электронной почты",
"add_forward": "Добавить адрес пересылки электронной почты",
"password_not_match": "Пароли не совпадают",
"wrong_current_password": "Неверный текущий пароль",
"invalid_domain": "Неправильный домен",
"missing_required_fields": "Заполните обязательные поля",
"wrong_username_password": "Неправильное имя пользователя или пароль",
"logged_out": "Вы вышли из системы",
"please_login": "Пожалуйста, войдите",
"please_login_from_portal": "Пожалуйста, войдите в портал",
"redirection_error_invalid_url": "Ошибка перенаправления: неверный URL",
"redirection_error_unmanaged_domain": "Ошибка перенаправления: неуправляемый домен",
"footerlink_edit": "Редактировать профиль",
"footerlink_documentation": "Документация",
"footerlink_support": "Поддержка",
"footerlink_administration": "Администрирование",
"good_practices_about_user_password": "Выберите пароль пользователя длиной не менее 8 символов, хотя рекомендуется использовать более длинные (например, парольную фразу) и / или использовать символы различного типа (прописные, строчные буквы, цифры и специальные символы).",
"password_too_simple_4": "Пароль должен содержать не менее 12 символов и включать цифры, заглавные и строчные буквы и специальные символы",
"password_too_simple_3": "Пароль должен содержать не менее 8 символов и содержать цифры, заглавные и строчные буквы и специальные символы",
"password_too_simple_2": "Пароль должен содержать не менее 8 символов и включать цифры, заглавные и строчные буквы",
"password_too_simple_1": "Пароль должен быть не менее 8 символов",
"password_listed": "Этот пароль является одним из наиболее часто используемых паролей в мире. Пожалуйста, выберите что-то более уникальное."
}

49
portal/locales/sk.json Normal file
View file

@ -0,0 +1,49 @@
{
"information": "Vaše údaje",
"username": "Meno používateľa",
"password": "Heslo",
"fullname": "Meno a priezvisko",
"mail_forward": "E-mail pre preposielanie",
"new_mail": "novymail@mojadomena.org",
"new_forward": "novepreposielanie@mojadalsiadomena.org",
"add_mail": "Pridať e-mailovú prezývku/alias",
"add_forward": "Pridať e-mailovú adresu pre preposielanie",
"ok": "OK",
"cancel": "Zrušiť",
"change_password": "Zmeniť heslo",
"edit": "Upraviť",
"current_password": "Aktuálne heslo",
"new_password": "Nové heslo",
"confirm": "Potvrdiť",
"login": "Prihlásiť sa",
"logout": "Odhlásiť sa",
"password_changed": "Heslo bolo zmenené",
"password_changed_error": "Heslo nebolo zmenené",
"password_not_match": "Heslá sa nezhodujú",
"portal": "Portál YunoHost",
"mail_addresses": "E-mailová adresa",
"password_listed": "Toto heslo je jedným z najpoužívanejších na svete. Vyberte, prosím, niečo jedinečnejšie.",
"password_too_simple_1": "Heslo sa musí skladať z aspoň 8 znakov",
"password_too_simple_2": "Heslo musí obsahovať aspoň 8 znakov a musí sa v ňom nachádzať aspoň jedno číslo, veľké a malé písmeno",
"password_too_simple_3": "Heslo musí obsahovať aspoň 8 znakov a musí sa v ňom nachádzať aspoň jedno číslo, veľké, malé písmeno a špeciálny znak",
"wrong_current_password": "Aktuálne heslo je nesprávne",
"invalid_mail": "Neplatná e-mailová adresa",
"invalid_domain": "Neplatná doména v",
"invalid_mailforward": "Neplatná e-mailová adresa pre preposielanie",
"mail_already_used": "Táto e-mailová adresa sa už používa",
"information_updated": "Údaje boli upravené",
"user_saving_fail": "Nepodarilo sa uložiť údaje o používateľovi",
"missing_required_fields": "Vyplňte požadované údaje",
"wrong_username_password": "Chybné meno používateľa alebo heslo",
"logged_out": "Boli ste odhlásený",
"please_login": "Pre zobrazenie obsahu sa, prosím, prihláste",
"please_login_from_portal": "Prosím, prihláste sa z portálu",
"redirection_error_invalid_url": "Chyba presmerovania: Neplatná adresa URL",
"redirection_error_unmanaged_domain": "Chyba presmerovania: Neregistrovaná doména",
"footerlink_edit": "Upraviť môj profil",
"footerlink_documentation": "Dokumentácia",
"footerlink_support": "Podpora",
"footerlink_administration": "Správa",
"password_too_simple_4": "Heslo musí obsahovať aspoň 12 znakov a musí sa v ňom nachádzať aspoň jedno číslo, veľké, malé písmeno a špeciálny znak",
"good_practices_about_user_password": "Vyberte si heslo, ktoré má aspoň 8 znakov - dobrou praxou je však používať dlhšie názvy a kombinovať pri tom rôzne typy znakov (veľké a malé písmená, číslice a špeciálne znaky)."
}

3
portal/locales/sl.json Normal file
View file

@ -0,0 +1,3 @@
{
"cancel": "Prekliči"
}

49
portal/locales/sv.json Normal file
View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "Administration",
"footerlink_support": "Support",
"footerlink_documentation": "Dokumentation",
"footerlink_edit": "Redigera min profil",
"logged_out": "Utloggad",
"wrong_username_password": "Fel användarnamn eller lösenord",
"missing_required_fields": "Fyll i de obligatoriska fälten",
"user_saving_fail": "Kunde inte spara ny användarinformation",
"information_updated": "Informationen har uppdaterats",
"mail_already_used": "E-postadressen används redan",
"invalid_domain": "Ogiltig domän i",
"invalid_mail": "E-postadressen är ogiltig",
"wrong_current_password": "Det nuvarande lösenordet stämmer inte",
"password_too_simple_4": "Lösenordet måste bestå av minst tolv tecken och innehålla både siffror, små och stora bokstäver samt specialtecken",
"password_too_simple_3": "Lösenordet måste bestå av minst åtta tecken och innehålla både siffror, små och stora bokstäver samt specialtecken",
"password_too_simple_2": "Lösenordet måste bestå av minst åtta tecken och innehålla både siffror, små och stora bokstäver",
"password_too_simple_1": "Lösenordet måste bestå av minst åtta tecken",
"password_listed": "Det här lösenordet är ett av de mest använda i världen. Välj gärna någonting lite mer unikt.",
"password_not_match": "Lösenorden stämmer inte överens",
"password_changed_error": "Kunde inte ändra lösenordet",
"password_changed": "Lösenordet har ändrats",
"logout": "Logga ut",
"login": "Logga in",
"confirm": "Bekräfta",
"new_password": "Nytt lösenord",
"current_password": "Nuvarande lösenord",
"edit": "Redigera",
"change_password": "Byt lösenord",
"cancel": "Avbryt",
"ok": "Ok",
"add_forward": "Lägg till en e-postadress för vidarebefordran",
"add_mail": "Lägg till ett e-postalias",
"new_forward": "ny_vidarebefordring@min_fjarr-doman.org",
"new_mail": "ny_adress@min_doman.org",
"mail_forward": "E-postadress för vidarebefordring",
"mail_addresses": "E-postadresser",
"fullname": "Fullständigt namn",
"password": "Lösenord",
"username": "Användarnamn",
"information": "Din information",
"portal": "YunoHost-portal",
"redirection_error_unmanaged_domain": "Omdirigeringsfel: Okontrollerad domän",
"redirection_error_invalid_url": "Omdirigeringsfel: Ogiltig URL",
"please_login_from_portal": "Logga in från portalen",
"please_login": "Logga in för att få tillgång till det här innehållet",
"invalid_mailforward": "Ogiltig e-post vidarebefordringsadress",
"good_practices_about_user_password": "Välj ett användarlösenord på minst åtta tecken - även om det är bra att använda längre (dvs ett lösenord) och / eller använda olika typer av tecken (versaler gemener, siffror och specialtecken)."
}

3
portal/locales/te.json Normal file
View file

@ -0,0 +1,3 @@
{
"cancel": "రద్దు చేయండి"
}

49
portal/locales/tr.json Normal file
View file

@ -0,0 +1,49 @@
{
"add_forward": "Bir e-posta yönlendirme adresi ekleyin",
"add_mail": "Bir e-posta takma adı ekleyin",
"cancel": "İptal et",
"change_password": "Parolayı değiştir",
"confirm": "Onayla",
"current_password": "Mevcut parola",
"edit": "Düzenle",
"footerlink_administration": "Yönetim",
"footerlink_documentation": "Belgelendirme",
"footerlink_edit": "Profilimi düzenle",
"footerlink_support": "Destek",
"fullname": "Ad Soyad",
"information": "Bilginiz",
"information_updated": "Bilgi güncellendi",
"invalid_domain": "Geçersiz domain",
"invalid_mail": "Geçersiz e-posta adresi",
"invalid_mailforward": "Geçersiz e-posta iletme adresi",
"logged_out": ıkış yapıldı",
"login": "Oturum aç",
"logout": ıkış Yap",
"mail_addresses": "E-mail adresleri",
"mail_already_used": "E-posta adresi zaten kullanımda",
"mail_forward": "E-posta yönlendirme adresi",
"missing_required_fields": "Gerekli alanları doldurun",
"new_forward": "newforward@myforeigndomain.org",
"new_mail": "newmail@mydomain.org",
"new_password": "Yeni parola",
"ok": "Tamam",
"password": "Parola",
"password_changed": "şifre değişti",
"password_changed_error": "Şifre değiştirilemedi",
"password_not_match": "Şifreler uyuşmuyor",
"please_login": "Bu içeriğe erişmek için lütfen giriş yapınız",
"please_login_from_portal": "Lütfen portaldan giriş yapınız",
"portal": "YunoHost Portalı",
"user_saving_fail": "Yeni kullanıcı bilgisi kaydedilemedi",
"username": "Kullanıcı adı",
"wrong_current_password": "Geçerli şifre yanlış",
"wrong_username_password": "Yanlış kullanıcı adı veya parola",
"redirection_error_unmanaged_domain": "Yönlendirme hatası: Yönetilmeyen alan",
"redirection_error_invalid_url": "Yönlendirme hatası: Geçersiz URL",
"good_practices_about_user_password": "En az 8 karakterden oluşan bir kullanıcı şifresi seçin - daha uzun olanları (örneğin bir şifre) ve / veya çeşitli karakterleri (büyük harf, küçük harf, rakam ve özel karakterler) kullanmak daha iyidir.",
"password_too_simple_4": "Şifrenin en az 12 karakter uzunluğunda olması ve rakam, büyük ve küçük harfler, özel karakterler içermesi gerekir",
"password_too_simple_3": "Şifrenin en az 8 karakter uzunluğunda olması ve rakam, büyük ve küçük harfler, özel karakterler içermesi gerekir",
"password_too_simple_2": "Şifrenin en az 8 karakter uzunluğunda olması ve rakam, üst ve alt karakterler içermesi gerekir",
"password_too_simple_1": "Şifre en az 8 karakter uzunluğunda olmalı",
"password_listed": "Bu şifre dünyada en çok kullanılan şifreler arasındadır. Lütfen biraz daha benzersiz bir şey seçin."
}

49
portal/locales/uk.json Normal file
View file

@ -0,0 +1,49 @@
{
"cancel": "Скасувати",
"logged_out": "Ви вийшли з системи",
"footerlink_administration": "Адміністрування",
"footerlink_support": "Підтримка",
"footerlink_documentation": "Документація",
"footerlink_edit": "Редагувати мій профіль",
"redirection_error_unmanaged_domain": "Помилка перенаправлення: Некерований домен",
"redirection_error_invalid_url": "Помилка перенаправлення: Недійсна URL-адреса",
"please_login_from_portal": "Увійдіть у систему з порталу",
"please_login": "Увійдіть, щоб отримати доступ до цього вмісту",
"wrong_username_password": "Неправильне ім'я користувача або пароль",
"missing_required_fields": "Заповніть необхідні поля",
"user_saving_fail": "Не вдалося зберегти нові відомості користувача",
"information_updated": "Відомості оновлено",
"mail_already_used": "Адреса е-пошти вже використовується",
"invalid_mailforward": "Недійсна адреса переадресації е-пошти",
"invalid_domain": "Недійсний домен у",
"invalid_mail": "Недійсна адреса е-пошти",
"wrong_current_password": "Поточний пароль неправильний",
"good_practices_about_user_password": "Виберіть пароль користувача щонайменше 8 символів - хоча це хороша практика використовувати довші (тобто фрази-гасла) та/або використовувати різні символи (великі, малі, числа та спеціальні символи).",
"password_too_simple_4": "Пароль повинен бути щонайменше 12 символів довжиною і містити числа, верхній, нижній регістри та спеціальні символи",
"password_too_simple_3": "Пароль повинен бути щонайменше 8 символів довжиною і містити числа, верхній, нижній регістри та спеціальні символи",
"password_too_simple_2": "Пароль повинен бути щонайменше 8 символів довжиною і містити числа, верхній та нижній регістри",
"password_too_simple_1": "Пароль має складатися не менше ніж з 8 символів",
"password_listed": "Цей пароль є одним з найбільш використовуваних паролів у світі. Будь ласка, виберіть щось трохи більш неповторюване.",
"password_not_match": "Паролі не збігаються",
"password_changed_error": "Не вдалося змінити пароль",
"password_changed": "Пароль змінено",
"logout": "Вийти",
"login": "Увійти",
"confirm": "Підтвердити",
"new_password": "Новий пароль",
"current_password": "Поточний пароль",
"edit": "Редагувати",
"change_password": "Змінити пароль",
"add_forward": "Додайте адресу переадресації е-пошти",
"add_mail": "Додайте аліас е-пошти",
"new_forward": "novapereadresaciya@myforeigndomain.org",
"new_mail": "novaeposhta@mydomain.org",
"mail_forward": "Адреса переадресації е-пошти",
"mail_addresses": "Адреси е-пошти",
"fullname": "Повне ім'я",
"username": "Ім'я користувача",
"information": "Ваші відомості",
"portal": "Портал YunoHost",
"password": "Пароль",
"ok": "Гаразд"
}

View file

@ -0,0 +1,49 @@
{
"footerlink_administration": "管理",
"footerlink_support": "支持",
"footerlink_documentation": "文档",
"footerlink_edit": "编辑我的个人资料",
"redirection_error_unmanaged_domain": "重定向错误:非托管域",
"redirection_error_invalid_url": "重定向错误:无效的 URL",
"please_login_from_portal": "请从门户登录",
"please_login": "请登录以访问此内容",
"logged_out": "登出",
"wrong_username_password": "错误的用户名或密码",
"missing_required_fields": "填写必填项",
"user_saving_fail": "无法保存新的用户信息",
"information_updated": "信息已更新",
"mail_already_used": "电子邮件地址已被使用",
"invalid_mailforward": "无效的电子邮件转发地址",
"invalid_domain": "无效的域",
"invalid_mail": "无效的邮件地址",
"wrong_current_password": "当前密码错误",
"good_practices_about_user_password": "选择至少8个字符的用户密码-尽管使用较长的用户密码(即密码短语)和/或使用各种字符(大写,小写,数字和特殊字符)是一种很好的做法。",
"password_too_simple_4": "密码长度至少为12个字符并且包含数字大写小写和特殊字符",
"password_too_simple_3": "密码长度至少为8个字符并且包含数字大写小写和特殊字符",
"password_too_simple_2": "密码长度至少为8个字符并且包含数字大写和小写字符",
"password_too_simple_1": "密码长度至少为8个字符",
"password_listed": "该密码是世界上最常用的密码之一。 请选择一些更独特的东西。",
"password_not_match": "密码不匹配",
"password_changed_error": "无法更改密码",
"password_changed": "密码已更改",
"logout": "登出",
"login": "登录",
"confirm": "确认",
"new_password": "新密码",
"current_password": "当前密码",
"edit": "编辑",
"change_password": "更改密码",
"cancel": "取消",
"ok": "ОК",
"add_forward": "添加电子邮件转发地址",
"add_mail": "添加电子邮件别名",
"new_forward": "新转发@我的外部域.org",
"new_mail": "新邮件@我的域.org",
"mail_forward": "邮件转发地址",
"mail_addresses": "电子邮件地址",
"fullname": "全名",
"password": "密码",
"username": "用户名",
"information": "您的资料",
"portal": "YunoHost 门户"
}

View file

@ -1,12 +1,12 @@
<div class="wrapper login">
<div class="ynh-wrapper login">
<form class="login-form" name="input" action="" method="post">
<div class="form-group">
<label class="icon icon-user" for="user"><span class="element-invisible">{{t_username}}</span></label>
<input id="user" type="text" name="user" placeholder="{{t_username}}" class="form-text" required>
<input id="user" type="text" name="user" placeholder="{{t_username}}" class="form-text" autocomplete="username" autofocus required>
</div>
<div class="form-group">
<label class="icon icon-lock" for="password"><span class="element-invisible">{{t_password}}</span></label>
<input id="password" type="password" name="password" placeholder="{{t_password}}" class="form-text" required>
<input id="password" type="password" name="password" placeholder="{{t_password}}" class="form-text" autocomplete="current-password" required>
</div>
<input type="submit" value="{{t_login}}" class="btn classic-btn large-btn">
</form>

View file

@ -1,31 +1,36 @@
<div class="wrapper user">
<div class="ynh-wrapper user">
<ul class="user-menu">
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
<li><a id="ynh-logout" class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
</ul>
<a class="user-container user-container-password" href="info.html">
<a class="user-container user-container-password" href="portal.html">
<h2 class="user-username">{{{uid}}}</h2>
<small class="user-fullname">{{givenName}} {{sn}}</small>
<span class="user-mail">{{mail}}</span>
</a>
</div>
<div class="wrapper password">
<div class="ynh-wrapper password">
<div class="messages warning">
{{t_good_practices_about_user_password}}
</div>
<form class="form-password" role="form" method="POST" action="password.html">
<div class="form-section">
<div class="form-group">
<label for="currentpassword">{{t_current_password}}</label>
<input type="password" class="form-text" id="currentpassword" name="currentpassword" placeholder="•••••" required>
<input type="password" class="form-text" id="currentpassword" name="currentpassword" placeholder="•••••" autocomplete="current-password" required>
</div>
</div>
<div class="form-section">
<div class="form-group">
<label for="newpassword">{{t_new_password}}</label>
<input type="password" class="form-text" id="newpassword" name="newpassword" placeholder="•••••" required>
<input type="password" class="form-text" id="confirm" name="confirm" placeholder="{{t_confirm}}" required>
<input type="password" class="form-text" id="newpassword" name="newpassword" placeholder="•••••" autocomplete="new-password" required>
<input type="password" class="form-text" id="confirm" name="confirm" placeholder="{{t_confirm}}" autocomplete="new-password" required>
</div>
<div class="btn-group">
<a href="info.html" class="btn large-btn btn-default">{{t_cancel}}</a>
<a role="button" href="portal.html" class="btn large-btn btn-default">{{t_cancel}}</a>
<input type="submit" class="btn large-btn classic-btn" value="{{t_ok}}">
</div>
</div>

View file

@ -1,6 +1,6 @@
<div class="wrapper user">
<div class="ynh-wrapper user">
<ul class="user-menu">
<li><a class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
<li><a id="ynh-logout" class="icon icon-connexion" href="?action=logout">{{t_logout}}</a></li>
</ul>
<a class="user-container user-container-info" href="edit.html">
@ -14,7 +14,12 @@
<div id="apps" class="wrapper apps">
<ul class="listing-apps">
{{#app}}
<li><a href="https://{{url}}"><span class="first-letter"></span><span class="name">{{name}}</span></a></li>
<li>
<a class="app-tile" href="https://{{url}}" data-appname="{{name}}">
<span class="first-letter"></span>
<span class="name">{{name}}</span>
</a>
</li>
{{/app}}
</ul>
</div>