Commit graph

3345 commits

Author SHA1 Message Date
Alexandre Aubin
814f5043e3
Merge pull request #922 from YunoHost/clean-usr-bin-yunohost
YunoHost "as a python lib" ? Clean usr/bin/yunohost and yunohost-api ... Move moulinette initialization and other stuff to src/yunohost/__init__.py
2020-08-14 15:43:27 +02:00
Alexandre Aubin
4b14402c5a Moaaar debug 2020-08-12 18:13:15 +02:00
Alexandre Aubin
4cb6f7fddc Improve debugging for xtables -> nftables migration 2020-08-12 17:21:32 +02:00
Alexandre Aubin
59bd7d6664 Improve robustness of postgresql 9.6 -> 11 migration (in particular dropcluster in case cluster 11 doesn't exists yet) 2020-08-12 17:12:21 +02:00
Alexandre Aubin
accc2da4e3 Improve debugging of postgresql 9.6 -> 11 migration 2020-08-12 17:11:58 +02:00
Alexandre Aubin
c2422d8c3e Let's create the home after we validate that admin actually does exists 2020-07-27 19:26:18 +02:00
Kay0u
509d417070 create admin home folder 2020-07-27 19:26:18 +02:00
Alexandre Aubin
bbb6a4ce91 [firewall] Add draft of migration for xtable->nftable 2020-07-27 19:26:18 +02:00
Alexandre Aubin
56a5b5aae2 [psql] Fix hardcoded fix for postgresql status check 2020-07-27 19:25:24 +02:00
Alexandre Aubin
50f1e9a681 [psql] Add migration for Postgresql cluster upgrade from 9.6 to 11 2020-07-27 19:25:24 +02:00
Alexandre Aubin
73356eed75 [php] Also patch php7.0 settings on the fly during restore 2020-07-27 19:23:53 +02:00
Alexandre Aubin
b6d1bb7901 [php] Also migrate app settings to fix inconsistencies (e.g. during remove of migrated apps) 2020-07-27 19:23:53 +02:00
Alexandre Aubin
b747c17369 [php] Also patch stuff in subfolers inside scripts/ (some apps have an experimental_helpers/ folder) 2020-07-27 19:23:53 +02:00
Alexandre Aubin
9dbf626b36 [php] More ugly hack for php helpers shipped by apps that assume php 7.0 by default 2020-07-27 19:23:53 +02:00
Alexandre Aubin
2c7b3a1fd1 [php] Add migration procedure for php7.0 -> php7.3 pool files 2020-07-27 19:23:53 +02:00
Alexandre Aubin
5930b6ddf2 [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-07-27 19:23:53 +02:00
Alexandre Aubin
fa5130a7fc [cleanup] Move migration 0011 code to legacy.py 2020-07-27 19:23:07 +02:00
Alexandre Aubin
60dd1fc848 [cleanup] Remove legacy migrations and code snippets which won't be needed anymore on buster 2020-07-27 19:22:21 +02:00
Étienne Mollier
0a9f4d59cb [fix] Ldap interface seems to expect lists everywhere now? 2020-07-27 19:20:36 +02:00
Alexandre Aubin
834b767000 [fix] Explicitly create home using mkhomedir_helper instead of obscure pam rule that doesn't work anymore 2020-07-27 19:20:36 +02:00
Alexandre Aubin
852dea07f3 Tweak custom disclaimer about the migration still being a bit touchy in preparation for stable release 2020-07-27 17:13:00 +02:00
Kayou
fca1df6805
[FIX] patch sources list for armbian (#1028)
* [FIX] patch sources list for armbian

* Update src/yunohost/data_migrations/0015_migrate_to_buster.py

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-07-27 15:30:15 +02:00
Alexandre Aubin
1a2f26dc34
[fix] Let's not redefine the value for the 'service' var ... 2020-07-24 00:52:46 +02:00
Laurent Peuch
bcd2364d74 [fix] re-put assert password is strong enough 2020-07-03 00:57:09 +02:00
Laurent Peuch
2eb5f6b6da [fix] re-put forbidding some chars in passwords 2020-07-03 00:49:14 +02:00
Laurent Peuch
49b9146065 [fix] reintroduce custom exceptions for input fields type 2020-07-03 00:33:44 +02:00
Kay0u
7bfe564aab fix get_files_diff if {orig,new}_file is None 2020-06-30 15:46:15 +02:00
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