Commit graph

4018 commits

Author SHA1 Message Date
Alexandre Aubin
d435889776 Make sure to validate/upgrade that we don't have any active weak certificate used by nginx at the beginning of the buster migration, otherwise nginx will later miserably fail to start 2020-06-29 22:04:04 +02:00
Alexandre Aubin
b373eb6076
Fix parsing of unscd version... 2020-06-21 23:35:50 +02:00
1ff3c1cd07 Add default domain to API response 2020-06-21 14:15:46 +02:00
Alexandre Aubin
c473902776 Yes, we don't give a flying fuck that sudo-ldap is already provided 2020-06-19 19:02:18 +02:00
Alexandre Aubin
7a1e779684 Fix unscd downgrade + add debug infos to apt_install() 2020-06-19 18:46:53 +02:00
Alexandre Aubin
9933290836 Create backup archive dir during postinstall 2020-06-19 15:08:22 +02:00
Alexandre Aubin
35eec1eea3 Move the general regen_conf after we regen ssh, otherwise there's a non-relevant warning displayed because the regen-conf tells to rerun ssh specifically which is already done... 2020-06-18 15:08:51 +02:00
Alexandre Aubin
b970cba6c4 Following previous regenconf fixes, the regen-conf was now outputing a whole lot of 'forget-about-it' when e.g. running regen-conf for nginx because of files flagged as 'should-not-exists'... so this is a dirty workaround 2020-06-17 17:37:54 +02:00
Alexandre Aubin
3f1888a041 We expect .tar instead of .tar.gz now 2020-06-15 22:40:57 +02:00
Alexandre Aubin
1a537039c7 Backup to uncompressed tar by default 2020-06-15 22:23:26 +02:00
Alexandre Aubin
bbd354b869 Alway filter irrelevant log lines when sharing it 2020-06-15 19:22:39 +02:00
Alexandre Aubin
bb0e48c773 Tweak log filter logic to be able to apply it during --share as well 2020-06-15 19:22:01 +02:00
Alexandre Aubin
a9e91f26ee Add yunohost version to logs metadata 2020-06-15 19:01:57 +02:00
Alexandre Aubin
384c7bc608 Fix error / debug message when diagnosis ain't happy when renewing certs 2020-06-11 22:48:41 +02:00
Alexandre Aubin
6defbfdbac Fix small issue with unscd upgrade/downgrade ... new version ain't always 0.53.1, so find it using dirty scrapping 2020-06-10 16:09:05 +02:00
ljf (zamentur)
f46eb01c03
[fix] lower domain
Lower domain to avoid some edge cases issues
See: https://forum.yunohost.org/t/invalid-domain-causes-diagnosis-web-to-fail-fr-on-demand/11765
2020-06-06 16:07:18 +02:00
Alexandre Aubin
b57cfaac92 Add alpha stage disclaimer in the disclaimer 2020-06-06 03:33:38 +02:00
Alexandre Aubin
95fac921a6 Merge branch 'stretch-stable' into stretch-unstable 2020-06-06 02:11:11 +02:00
Alexandre Aubin
f27355d4b1 Properly handle stale hashes of files even when file got manually removed/modified 2020-06-06 02:02:54 +02:00
Alexandre Aubin
28a922de51 Get rid of old hashes of file that 'are expected to be removed' and are indeed 'already removed' 2020-06-06 02:02:17 +02:00
Josué Tille
6ffd0d8f5a Don't add unprotected_urls if it's already in skipped_urls 2020-06-06 02:00:38 +02:00
Alexandre Aubin
ea26182ad1 Fix regen-conf mechanism for SSH 2020-06-06 02:00:38 +02:00
Alexandre Aubin
5a003291bc
Merge branch 'stretch-unstable' into fix-regen-conf-for-ssh 2020-06-06 01:57:03 +02:00
Alexandre Aubin
30528565eb
Merge pull request #1009 from YunoHost/remove-stale-files-in-regen-conf
Clean stale file/hashes in regen-conf
2020-06-06 01:54:04 +02:00
Alexandre Aubin
e544bf3e85 Do not disable sury during migration 2020-06-05 02:50:51 +02:00
Alexandre Aubin
9f1211e9b8 Also remove stupid progress messages during this migration 2020-06-05 02:50:51 +02:00
Alexandre Aubin
a26411dbad Misc tweaks to avoid re-running steps already performed 2020-06-05 02:50:51 +02:00
Alexandre Aubin
a2b83c0f70 [wip] Draft of migration procedure for Stretch->Buster 2020-06-05 02:50:51 +02:00
Alexandre Aubin
803d624b7c
Merge pull request #1005 from YunoHost/fix_skipped_urls_management
Don't add unprotected_urls if it's already in skipped_urls
2020-06-04 18:51:42 +02:00
Alexandre Aubin
0a9875b607 Fix regen-conf mechanism for SSH 2020-06-03 20:17:49 +02:00
Alexandre Aubin
03432349d7 Add -o Acquire::Retries=3 to fix some stupid issues happening sometimes 2020-06-03 19:29:32 +02:00
Josué Tille
ff396d2729
Merge remote-tracking branch 'upstream/stretch-unstable' into permission_protection 2020-06-03 15:04:59 +02:00
Laurent Peuch
ecb52b4f11 [fix] allow optional app argument 2020-06-01 12:37:10 +02:00
Laurent Peuch
dc6a12f14b [mod] password argument can't have a default value 2020-06-01 12:08:35 +02:00
Laurent Peuch
40dc8397c1 [mod] stop skipping tests that now works 2020-06-01 12:08:35 +02:00
Laurent Peuch
05aa54ac0f [mod] refactor the whole argument parsing flow into a component oriented way 2020-06-01 11:50:06 +02:00
Alexandre Aubin
b9bf558b19 Properly handle stale hashes of files even when file got manually removed/modified 2020-05-28 22:07:12 +02:00
Alexandre Aubin
84239ac052 Get rid of old hashes of file that 'are expected to be removed' and are indeed 'already removed' 2020-05-28 21:37:15 +02:00
Alexandre Aubin
17eec25ed2 Buuuurn glances 2020-05-28 20:48:01 +02:00
Alexandre Aubin
48a299cafd
Merge pull request #1004 from YunoHost/test-for-args-parsing-2
Test for args parsing 2
2020-05-27 20:38:15 +02:00
Alexandre Aubin
77bd9ae33f Stop trying to fetch log categories that are not implemented yet T.T 2020-05-26 04:20:56 +02:00
Alexandre Aubin
64596bc166 Get rid of unicode warning 2020-05-26 03:17:51 +02:00
Alexandre Aubin
a23f02dbab Complain if apps savagely edit system configurations 2020-05-26 00:56:27 +02:00
Josué Tille
52c2127e35
Don't add unprotected_urls if it's already in skipped_urls 2020-05-25 10:45:40 +02:00
Laurent Peuch
0aebd575f7 [mod] add tests for display_text arguments parsing 2020-05-25 06:33:19 +02:00
Laurent Peuch
61e539f4ea [mod] add tests for apps arguments parsing 2020-05-25 06:10:57 +02:00
Alexandre Aubin
4c60012535 Fix encoding bullshit 2020-05-25 04:46:49 +02:00
Vincent Rubiolo
cf45806098 Typo fix for error or diagnostics messages
We are talking about expectations, not exceptions :-)
2020-05-24 16:41:49 +02:00
Laurent Peuch
a8f8ee5e6c [mod] add tests for user arguments parsing 2020-05-24 04:22:34 +02:00
Laurent Peuch
306f4e06ab [mod] add tests for domains 2020-05-24 01:40:48 +02:00