Commit graph

2117 commits

Author SHA1 Message Date
ekhae
78a2d012bb UX improved about mail and domains 2020-08-31 19:33:09 +02:00
Alexandre Aubin
48ee808711
Merge branch '4.1' into do-not-compress-backups 2020-08-31 19:10:38 +02:00
Alexandre Aubin
acaa05c2ca Fix a small issue where there would be duplicated entries in backup_list 2020-08-31 19:09:28 +02:00
Alexandre Aubin
839a7b9a47 Add a global setting to still compress tar archives 2020-08-31 19:08:43 +02:00
Alexandre Aubin
659d23ceb3 Simplify the damn spaggethi 2020-08-31 18:36:57 +02:00
Alexandre Aubin
efc2e7ef1d Fuck it let's keep that code simple, we don't need to maintain the list of exception that a command is likely to return, this is supposed to be simple to read if code is well written 2020-08-31 17:51:41 +02:00
Alexandre Aubin
98e972a49a Get rid of unimplemented Borg stuff because that code is complicated enough already -_- 2020-08-31 17:32:03 +02:00
Alexandre Aubin
77ce657ae1 Ugly hack to have the name of the main logger, otherwise error/exception messages ain't displayed 2020-08-27 19:22:09 +02:00
Alexandre Aubin
5f242aea18 Fix code that was half broken because of undefined vars :| 2020-08-27 17:54:44 +02:00
Alexandre Aubin
4286523653 Merge branch 'dev' into 4.1 2020-08-27 16:52:47 +02:00
Alexandre Aubin
1ef1dbf564
Merge pull request #981 from YunoHost/default_questions_for_app_args
Default 'ask' questions for common app manifest args
2020-08-27 16:25:12 +02:00
Kayou
d491b3208b
Update acme_tiny to 4.1.0 (#1037) 2020-08-24 23:25:40 +02:00
Alexandre Aubin
6ec0e7b6af Fix stupid encoding issue when fetching service description 2020-08-24 15:41:41 +02:00
Josue-T
7c6748e928
Merge branch '4.1' into abort_if_up_to_date_manifest 2020-08-18 21:07:30 +02:00
Alexandre Aubin
8a5914c2e7
Merge branch '4.1' into default-value-for-user-args 2020-08-14 17:31:23 +02:00
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
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