Kay0u
|
b6ced38314
|
Merge branch 'stretch-unstable' of https://github.com/YunoHost/yunohost into stretch-unstable
|
2020-05-22 21:05:23 +02:00 |
|
Kay0u
|
85f1802ec9
|
[fix] empty services.yml file
|
2020-05-22 21:05:19 +02:00 |
|
Alexandre Aubin
|
f0cc679828
|
Add an exception if packaging format is not recognized
|
2020-05-22 20:30:54 +02:00 |
|
Alexandre Aubin
|
e7a4b26af8
|
Also propagate to utils/network.py because we like to maintain duplicated code ;P
|
2020-05-21 18:01:14 +02:00 |
|
Kay0u
|
37f0273ff4
|
adding test coverage
|
2020-05-20 17:10:02 +02:00 |
|
Alexandre Aubin
|
d7891970c3
|
Clean unused code/imports
|
2020-05-19 19:56:04 +02:00 |
|
Alexandre Aubin
|
0dde1f6d4f
|
Fix exception assertion
|
2020-05-18 19:57:54 +02:00 |
|
Alexandre Aubin
|
f9e4c96ca3
|
Crash early about apps already installed when attempting to restore
|
2020-05-18 18:49:38 +02:00 |
|
Alexandre Aubin
|
f73c34bfc1
|
Tell systemctl to stfu when enabling/disabling services, just do it
|
2020-05-17 17:00:33 +02:00 |
|
Alexandre Aubin
|
7b4a9b57bc
|
Stewpeed typo :|
|
2020-05-17 04:22:15 +02:00 |
|
Alexandre Aubin
|
086db7a94b
|
Need to explicitly convert info from dbusthingy to str :/
|
2020-05-17 04:10:19 +02:00 |
|
Alexandre Aubin
|
f8e5ea4652
|
Fix tests, rely on _get_service_information_from_systemd to fetch service info during service add
|
2020-05-16 00:53:49 +02:00 |
|
Bram
|
6a75716fb5
|
Merge pull request #989 from YunoHost/test-for-args-parsing
Test for args parsing
|
2020-05-16 00:41:40 +02:00 |
|
Alexandre Aubin
|
dd608baec5
|
Small simplification?
|
2020-05-16 00:21:01 +02:00 |
|
Alexandre Aubin
|
1244241b3f
|
Have an independant function for building the service status
|
2020-05-16 00:21:01 +02:00 |
|
Alexandre Aubin
|
dd09758fb5
|
Report the service status as unknown if service type is oneshot and status exited
|
2020-05-16 00:21:01 +02:00 |
|
Alexandre Aubin
|
c9b2213817
|
Don't miserably crash if doveadm fails to run
|
2020-05-15 17:08:23 +02:00 |
|
Laurent Peuch
|
fd358fdfcc
|
[enh] start writting test for arguments parsing
|
2020-05-15 05:21:36 +02:00 |
|
Alexandre Aubin
|
413778d2bc
|
Check if app broke something important only if install succeeded (if install fails, this check only matters *after* we remove the app which is already done)
|
2020-05-15 04:23:58 +02:00 |
|
Alexandre Aubin
|
5850bf610f
|
Get rid of those damn warnings about file descriptors
|
2020-05-15 04:00:58 +02:00 |
|
Laurent Peuch
|
c600b3b53e
|
[mod] rename everything in _parse_args_in_yunohost_format because I'm too old and too tired for shitty variable name, also docstring
|
2020-05-15 03:23:12 +02:00 |
|
Laurent Peuch
|
757cef32b3
|
[mod] remove unused import
|
2020-05-14 21:30:00 +02:00 |
|
Alexandre Aubin
|
4cd4938eb4
|
Change logic of --email to avoid sending empty mail is some issues are found but ignored
|
2020-05-14 19:32:45 +02:00 |
|
Alexandre Aubin
|
9cbd368dca
|
Tweak apt/dpkg options to avoid the shitload of lines about progress bar stuff in logs
|
2020-05-14 04:46:18 +02:00 |
|
Alexandre Aubin
|
65c87d55df
|
Try to not have weird warnings if no diagnosis ran yet...
|
2020-05-14 03:56:32 +02:00 |
|
Alexandre Aubin
|
c6f184960c
|
We don't need to display hostname when fetching logs with journalctl
|
2020-05-13 16:59:59 +02:00 |
|
Alexandre Aubin
|
09d8500fda
|
Also run dpkg --audit to check if dpkg is in a broken state
|
2020-05-13 16:38:27 +02:00 |
|
Alexandre Aubin
|
4d734a27a0
|
Forcing unicode creates issue with non-ascii strings or whatever..
|
2020-05-13 16:18:23 +02:00 |
|
Alexandre Aubin
|
26fcfed7fb
|
Only mention packages that couldn't be upgraded during failed apt upgrades
|
2020-05-13 15:20:49 +02:00 |
|
Alexandre Aubin
|
2205515d35
|
Add a dummy description to avoid warning
|
2020-05-11 00:37:25 +02:00 |
|
Alexandre Aubin
|
b6631b4882
|
Add a test for service_log
|
2020-05-11 00:37:12 +02:00 |
|
Alexandre Aubin
|
afbeb145b6
|
Make sure we have a list for log_list
|
2020-05-11 00:36:46 +02:00 |
|
Alexandre Aubin
|
43facfd5b5
|
Again here, list.remove(foo) fails if foo ain't in list :[
|
2020-05-11 00:21:25 +02:00 |
|
Alexandre Aubin
|
8998334251
|
Merge pull request #985 from YunoHost/rely-on-diagnosis-for-letsencrypt-elligibility
Rely on diagnosis for letsencrypt elligibility
|
2020-05-09 18:09:57 +02:00 |
|
Alexandre Aubin
|
c8625858e2
|
Fetch xmpp-upload DNS record status from diagnosis directly
|
2020-05-09 18:01:16 +02:00 |
|
Alexandre Aubin
|
d8dfa1c5d5
|
We gotta trash the error stream because gzip complains about broken pipe when ran in python subprocess ~.~
|
2020-05-09 15:58:40 +02:00 |
|
Alexandre Aubin
|
aecbb14aa4
|
Add a --human-readable option to diagnosis_show() and a --email to diagnosis_run() to email issues found by cron job
|
2020-05-09 01:46:28 +02:00 |
|
Alexandre Aubin
|
33caf9cf33
|
Cleanup, we don't really need this anymore
|
2020-05-08 21:50:41 +02:00 |
|
Alexandre Aubin
|
713d4926c9
|
Fix the way we check the A record for xmpp
|
2020-05-08 21:50:23 +02:00 |
|
Alexandre Aubin
|
333347dbcd
|
Clarify the steps : first validate, then start logger, then run the actual install/renew
|
2020-05-08 21:48:41 +02:00 |
|
Alexandre Aubin
|
03de14df53
|
Tweak test if domain is ready for ACME challenge
|
2020-05-08 21:45:11 +02:00 |
|
Augustin Trancart
|
a8d52eb1d4
|
Avoid crashing when service name is not provided as log source
|
2020-05-08 18:05:49 +02:00 |
|
Alexandre Aubin
|
4100ebeb31
|
Merge pull request #979 from YunoHost/service_cleanup
[enh] service.py cleanup + add tests for services
|
2020-05-08 03:16:55 +02:00 |
|
Bram
|
10946c3bf8
|
Merge pull request #980 from YunoHost/check-for-fatal-code-errors
Check for fatal code errors
|
2020-05-08 00:08:20 +02:00 |
|
Alexandre Aubin
|
2f31cb6463
|
Make sure to handle symlinks when fetching logfiles
|
2020-05-07 22:37:57 +02:00 |
|
Alexandre Aubin
|
63ff02be50
|
Keep track of 'parent' operation in operation loggers
|
2020-05-07 22:23:38 +02:00 |
|
Alexandre Aubin
|
6434fad965
|
Merge pull request #975 from YunoHost/auto-restart-ldap
[fix] handle new auto restart of ldap in moulinette
|
2020-05-07 22:18:18 +02:00 |
|
Alexandre Aubin
|
d8be90165c
|
Propagate changes from moulinette/simplify-interface-init
|
2020-05-07 22:16:22 +02:00 |
|
Alexandre Aubin
|
96e115c609
|
Use 'init' helper from tests!
|
2020-05-07 22:16:22 +02:00 |
|
Alexandre Aubin
|
84e39a416a
|
Add an 'init' helper for scripts/tests to initialize everything needed...
|
2020-05-07 22:15:51 +02:00 |
|