Commit graph

2710 commits

Author SHA1 Message Date
Alexandre Aubin
ba5c55e50d
Merge branch 'stretch-unstable' into autopep8 2018-12-15 15:11:29 +01:00
Alexandre Aubin
9106ee29ee
Merge pull request #574 from irina11y/enh-moulinette-error
[enh] Simplify error management
2018-12-15 15:09:13 +01:00
Tristan Hill
a6f4f13031 Missing import 2018-12-15 07:52:07 +00:00
Bram
2c41a4539e
Update src/yunohost/app.py
Co-Authored-By: alexAubin <alex.aubin@mailoo.org>
2018-12-14 21:01:46 +01:00
Bram
65970e30fb
Update locales/en.json
Co-Authored-By: alexAubin <alex.aubin@mailoo.org>
2018-12-14 21:01:30 +01:00
Bram
ce1773d2ff
Update locales/en.json
Co-Authored-By: alexAubin <alex.aubin@mailoo.org>
2018-12-14 21:01:18 +01:00
Bram
44f6565129
Update locales/en.json
Co-Authored-By: alexAubin <alex.aubin@mailoo.org>
2018-12-14 21:00:45 +01:00
Alexandre Aubin
7e3a90232f __raw_msg__ -> raw_msg 2018-12-14 14:17:20 +00:00
Alexandre Aubin
46972788b2
Add comment about the motivation behind YunohostError 2018-12-14 15:05:56 +01:00
Alexandre Aubin
115b557b67 autopep8 + a few manual tweaks 2018-12-13 18:52:26 +00:00
Alexandre Aubin
fb010765bd Those are genuine MoulinetteError because base on moulinette helpers 2018-12-13 15:40:00 +00:00
Alexandre Aubin
f6b244f294 Raw message 2018-12-13 15:39:24 +00:00
Alexandre Aubin
2ece557e0c Raw messages 2018-12-13 15:16:07 +00:00
Alexandre Aubin
b93e96d33b Fix tests + allow to bypass m18n in YunohostError if a raw message is provided 2018-12-12 19:38:05 +00:00
Alexandre Aubin
712f742ef6 Woopsies typo 2018-12-12 19:10:17 +00:00
Alexandre Aubin
18c33db8b6 MoulinetteError -> YunohostError 2018-12-12 19:07:25 +00:00
Alexandre Aubin
caa2d0d91b MoulinetteError / OSError never accepted keyword arguments such as exc_info :/ ... 2018-12-12 19:01:28 +00:00
Alexandre Aubin
e97b07403f Fixes following rebase 2018-12-12 19:01:28 +00:00
Alexandre Aubin
2dd1d8ccfe Unused errno + remaining unecessary m18n.n 2018-12-12 19:01:28 +00:00
Alexandre Aubin
07ffe6f592 Fix misc typo and forgotten m18n.n 2018-12-12 19:01:28 +00:00
Alexandre Aubin
24cf090221 Fix YunohostError definition 2018-12-12 19:01:28 +00:00
Irina LAMBLA
4ba309a221 modif MoulinetteError to YunohostError 2018-12-12 19:01:28 +00:00
Irina LAMBLA
c4b77b2894 add YunohostError 2018-12-12 18:56:26 +00:00
Irina LAMBLA
410e757732 corrections 2018-12-12 18:56:26 +00:00
Irina LAMBLA
9eec09da81 - "m18n.n" 2018-12-12 18:56:26 +00:00
Irina LAMBLA
fab662f4ef The rest
The ones that sed didn't find. Modified by hand.
2018-12-12 18:56:26 +00:00
Irina LAMBLA
0468d6b900 sed 3 lines
deletion of line breaks to be able to use "sed" :
sed -i "N; s@MoulinetteError(.*m18n\.n(\n* *@MoulinetteError(m18n.n(@g"
2018-12-12 18:56:26 +00:00
Irina LAMBLA
4bc3427e3e moulinette MoulinetteError multilignes"
sed -i "N; s@MoulinetteError(.*m18n\.n(\n* *\(.*\)))@MoulinetteError(\1)@g" <fichiers>
2018-12-12 18:56:26 +00:00
Irina LAMBLA
f2e184d8b2 moulinette MoulinetteError oneline 2018-12-12 18:56:26 +00:00
Alexandre Aubin
0179bf2005 Fix misc stuff about utcfromtimestamp usage (tests were broken) 2018-12-12 18:33:12 +00:00
Alexandre Aubin
3749bc9790 Missing locale key for new setting about DSA hostkey 2018-12-12 18:31:47 +00:00
Alexandre Aubin
0d83d35c4d
Merge pull request #595 from YunoHost/fix_test
[fix] Repair tests
2018-12-12 16:53:47 +01:00
Alexandre Aubin
bf676c2fd8
Merge pull request #552 from kir0ul/enh-human-readable-date
[enh] Human readable date
2018-12-12 13:12:02 +01:00
Josué Tille
d7f25bec2a Remove hack for authenticator
It's solved in the moulinette with #185
2018-12-11 20:48:24 +01:00
Alexandre Aubin
777108d844 Ask confirmation before installing low-quality, experimental or third party apps 2018-12-11 18:39:15 +00:00
Alexandre Aubin
c975829387 [fix] Missing 'fi' as found by M. Martin 2018-12-11 15:54:50 +01:00
Alexandre Aubin
fe15e600fd Small UX improvement about link to log sharing in webadmin 2018-12-11 02:02:20 +00:00
Alexandre Aubin
4d4b14b82c
Change message about conf now being managed by service -> yunohost (#597) 2018-12-10 16:23:30 +01:00
Alexandre Aubin
d06d1cdee4 Explicit that we don't backup/restore apps 2018-12-10 03:33:40 +01:00
Alexandre Aubin
96a6e370a3 [tests] Fix some issues with maindomain changing sometimes 2018-12-10 02:53:27 +01:00
ljf
76be566607 [fix] Bad time convesion in a debug message 2018-12-10 01:19:14 +01:00
ljf
7732136b75 [enh] Remove unneeded code 2018-12-09 23:58:06 +01:00
ljf
cafd0dd884 [enh] Remove pytz 2018-12-09 23:55:51 +01:00
ljf
db1b00e706 [enh] Use UTC naive format and manage it in moulinette 2018-12-09 23:48:56 +01:00
Maniack Crudelis
08818757cc [enh] Do not fail on backup and restore if some missing files are not mandatory (#576) 2018-12-09 21:27:43 +01:00
Alexandre Aubin
fa5a226339
Add post_cert_update hook each time certificate is updated (#586) 2018-12-09 21:26:37 +01:00
ljf
e43bcf253c [fix] Avoid -1 remaining_days 2018-12-09 21:24:59 +01:00
Alexandre Aubin
cd7477a97d
Merge pull request #518 from YunoHost/fix-standardize-sshd-config
[fix] Standardize sshd config
2018-12-09 21:21:29 +01:00
Alexandre Aubin
a7dbdc3f48
Merge branch 'stretch-unstable' into fix-standardize-sshd-config 2018-12-09 21:20:50 +01:00
ljf
60843edc0f [enh] Use aware UTC date in backup settings and app 2018-12-09 21:08:36 +01:00