Commit graph

5774 commits

Author SHA1 Message Date
Kay0u
485c65a9a5
apt-daily is now disabled by the CI 2020-08-15 11:05:59 +02:00
Kay0u
ca0a42f2b4
git clone with depth during CI 2020-08-14 18:08:51 +02:00
Alexandre Aubin
9b396693cf
Merge pull request #982 from YunoHost/default-value-for-user-args
During app installs, set default answer for user-type args to main user
2020-08-14 17:31:43 +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
e4d637f490
Merge pull request #1033 from ericgaspar/patch-caps-php
Add capitalization to PHP
2020-08-14 17:24:05 +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
f3a4334a13 Upgrade nginx configuration according to Mozilla guidelines now that we're on Buster 2020-08-14 14:50:54 +02:00
Alexandre Aubin
7b1f02e01f Fix ref to variable in i18n string (c.f. issue 1647) 2020-08-14 13:27:07 +02:00
Alexandre Aubin
1697943afc Update changelog for 4.0.4 2020-08-12 18:15:32 +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
Kayou
e35d806ae1
Update lint.gitlab-ci.yml 2020-08-10 12:04:34 +02:00
Kayou
53bc87149a
Update lint.gitlab-ci.yml 2020-08-10 11:40:53 +02:00
ericgaspar
05ff84e5af
Update php 2020-08-04 18:36:19 +02:00
Alexandre Aubin
fed5c2c1e0 Stupid fr wording ~_~ 2020-07-29 18:49:39 +02:00
Alexandre Aubin
b4ced44ad4 Update changelog for 4.0.3 2020-07-29 17:10:41 +02:00
Alexandre Aubin
6a9a7b1cf6 Update changelog for 4.0.2~beta 2020-07-27 19:26:18 +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
1f2061c9ee Fix version number >.> 2020-07-27 19:26:18 +02:00
Alexandre Aubin
c5ae774e8d Funny jokes with char meanings in deb versions, apparently using a dash makes everything explode suddently >.> 2020-07-27 19:26:18 +02:00
Alexandre Aubin
5a6dca897b Update changelog for 4.0.0-alpha1 2020-07-27 19:26:18 +02:00
Josué Tille
f22f64103a Backup/restore also slapd.ldif
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-07-27 19:26:18 +02:00
Josué Tille
7c10ea6b93 Fix index config 2020-07-27 19:26:18 +02:00
Josué Tille
8af56c82ef slapd.conf is no more used, but ldap.conf need to be saved/restored 2020-07-27 19:26:18 +02:00
Alexandre Aubin
e28c618e67 Those single quotes were probably meant to be double quotes? 2020-07-27 19:26:18 +02:00
Alexandre Aubin
2bbff1d264 Factorize the actual slapd regeneration 2020-07-27 19:26:18 +02:00
Alexandre Aubin
a179e9107a Misc comment improvements? 2020-07-27 19:26:18 +02:00
Alexandre Aubin
4eb93d62e9 Improve comment about editing slapd.ldif 2020-07-27 19:26:18 +02:00
Josue-T
c0d3a361e3 Update data/hooks/conf_regen/06-slapd
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-07-27 19:26:18 +02:00
Josué Tille
e6a52f09bd [fix] Clean old files 2020-07-27 19:26:18 +02:00
Josué Tille
9bb8c0437d Rewrite slapd regen-conf for new config file 2020-07-27 19:26:18 +02:00
Josué Tille
d73a71fa61 Rewrite LDAP configuration in LDIF format 2020-07-27 19:26:18 +02:00
Josué Tille
7099750323 Change file type of LDAP schema from 'schema' to ldif 2020-07-27 19:26:18 +02:00
Alexandre Aubin
ca20eda9ca [firewall] Let's not disable nftables that makes the script crash if it's not installed and we don't really need to disable it anyway since it's already configured to conflict 2020-07-27 19:26:18 +02:00
Alexandre Aubin
5914740957 [firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall 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
70fab24247 [psql] Upgrade postgresql helper to use version 11 2020-07-27 19:23:53 +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
a90540ddeb [php] php-mcrypt doesn't exist anymore in buster 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
57ce323cab [conf] Update nslcd and nsswitch stuff using new Buster's default configs + get rid of nslcd service, only keep the regen-conf part 2020-07-27 19:23:07 +02:00